feat: added npc poi for custom npcs

This commit is contained in:
2025-10-05 18:28:58 +01:00
parent e20e537e97
commit b8f47b8f61
5 changed files with 11 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
#include "npc_look.h"
#include "../core/types.h"
#define NPC_SPEED 0.1f
#define NPC_SPEED 1.0f
typedef enum NPC_ACTION NPC_ACTION;
enum NPC_ACTION {
@@ -23,6 +23,10 @@ struct NPC {
Str8 name;
NPC_LOOK look;
bool customPOI;
U32 customPOICount;
U32 npcPOI[16];
//// Actions
NPC_ACTION mode;
// How long they've been waiting