Planeshift
Classes | Defines

npc.h File Reference

#include <csutil/hash.h>
#include "util/psutil.h"
#include "util/gameevent.h"
#include "util/remotedebug.h"
#include "tribe.h"
#include "gem.h"
#include "stat.h"

Go to the source code of this file.

Classes

class  HateList
 This object represents the entities which have attacked or hurt the NPC and prioritizes them. More...
struct  HateListEntry
struct  NPC::Locate
 Structure to hold located positions. More...
class  NPC
 This object represents each NPC managed by this superclient. More...
class  psNPCTick
 The event that makes the NPC brain go TICK. More...

Defines

#define NPC_BRAIN_TICK   200
#define NPCDebug(npc, debug,...)   { if (npc->IsDebugging()) { npc->Printf(debug, __VA_ARGS__); }}