19 lines
434 B
C
19 lines
434 B
C
#ifndef NPC_H
|
|
#define NPC_H
|
|
#include "tile.h"
|
|
#define BEHAVE_AGGRESSIVE 0
|
|
#define BEHAVE_PEACEFUL 1
|
|
#define BEHAVE_ALLY 2
|
|
#define BEHAVE_NEUTRAL 3
|
|
#define BEHAVE_WANDER 3
|
|
|
|
#define NUPI_SCRAPPER 0
|
|
|
|
void npcThink(struct Tile *npc);
|
|
|
|
void npcMoveToTarget(struct Tile *npc, struct NpcTile *npc_data);
|
|
void npcMoveRandom(struct Tile *npc); // TODO: allow passing rand arg
|
|
struct Tile *npcFindTile(struct Tile *npc, int tile_type);
|
|
|
|
#endif
|