|
| static unsigned int | npc_add (NPC_t *npc) |
| | Adds an NPC to the spaceport bar. More...
|
| |
| static int | npc_rm (NPC_t *npc) |
| | Removes an npc from the spaceport bar. More...
|
| |
| static NPC_t * | npc_arrayGet (unsigned int id) |
| | Gets an NPC by ID. More...
|
| |
| static void | npc_free (NPC_t *npc) |
| | Frees a single npc. More...
|
| |
| static Mission * | npc_getMisn (const NPC_t *npc) |
| |
| static unsigned int | npc_add_giver (Mission *misn) |
| | Adds a mission giver NPC to the mission computer. More...
|
| |
| unsigned int | npc_add_mission (unsigned int mid, const char *func, const char *name, int priority, glTexture *portrait, const char *desc, glTexture *background) |
| | Adds a mission NPC to the mission computer. More...
|
| |
| unsigned int | npc_add_event (unsigned int evt, const char *func, const char *name, int priority, glTexture *portrait, const char *desc, glTexture *background) |
| | Adds a event NPC to the mission computer. More...
|
| |
| int | npc_rm_event (unsigned int id, unsigned int evt) |
| | removes an event NPC. More...
|
| |
| int | npc_rm_mission (unsigned int id, unsigned int mid) |
| | removes a mission NPC. More...
|
| |
| int | npc_rm_parentEvent (unsigned int id) |
| | Removes all the npc belonging to an event. More...
|
| |
| int | npc_rm_parentMission (unsigned int mid) |
| | Removes all the npc belonging to a mission. More...
|
| |
| static int | npc_compare (const void *arg1, const void *arg2) |
| | NPC compare function. More...
|
| |
| void | npc_sort (void) |
| | Sorts the NPCs. More...
|
| |
| void | npc_generateMissions (void) |
| | Generates the bar missions. More...
|
| |
| void | npc_patchMission (Mission *misn) |
| | Patches a new mission bar npc into the bar system. More...
|
| |
| void | npc_clear (void) |
| | Cleans up the spaceport bar NPC. More...
|
| |
| int | npc_getArraySize (void) |
| | Get the size of the npc array. More...
|
| |
| const char * | npc_getName (int i) |
| | Get the name of an NPC. More...
|
| |
| glTexture * | npc_getBackground (int i) |
| | Get the background of an NPC. More...
|
| |
| glTexture * | npc_getTexture (int i) |
| | Get the texture of an NPC. More...
|
| |
| const char * | npc_getDesc (int i) |
| | Gets the NPC description. More...
|
| |
| int | npc_isImportant (int i) |
| | Checks to see if the NPC is important or not. More...
|
| |
| static int | npc_approach_giver (NPC_t *npc) |
| | Approaches a mission giver guy. More...
|
| |
| int | npc_approach (int i) |
| | Approaches the NPC. More...
|
| |
Handles NPC stuff.
Definition in file npc.c.