10 #define NPCp(n) ((NPC *)n)
11 #define Structurep(n) ((Structures *)n)
12 #define Mobp(n) ((Mob *)n)
14 #define PLAYER_INV_SIZE 30 // The size of the player's inventory
15 #define NPC_INV_SIZE 3 // Size of an NPC's inventory
84 void spawn(
float,
float);
88 virtual void wander(
int){}
89 virtual void interact(){}
106 std::vector<int (*)(NPC *)>aiFunc;
111 void addAIFunc(
int (*func)(
NPC *),
bool preload);
124 unsigned int spawn(_TYPE,
float,
float);
130 void (*hey)(
Mob *callee);
133 Mob(
int,
unsigned int);
144 bool questObject =
false;
146 Object(ITEM_ID
id,
bool qo,
const char *pd);
Definition: entities.h:139
Definition: entities.h:127
Definition: entities.h:116
Definition: entities.h:37
Definition: entities.h:104
Definition: inventory.h:64
Definition: entities.h:94