13 const char *name,
int priority,
16unsigned int npc_add_event(
unsigned int evt,
const char *func,
17 const char *name,
int priority,
glTexture *portrait,
18 const char *desc,
glTexture *background );
const char * npc_getDesc(int i)
Gets the NPC description.
void npc_patchMission(Mission *misn)
Patches a new mission bar npc into the bar system.
void npc_generateMissions(void)
Generates the bar missions.
glTexture * npc_getTexture(int i)
Get the texture of an NPC.
int npc_approach(int i)
Approaches the NPC.
int npc_rm_parentMission(unsigned int mid)
Removes all the npc belonging to a mission.
void npc_clear(void)
Cleans up the spaceport bar NPC.
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.
int npc_getArraySize(void)
Get the size of the npc array.
int npc_rm_parentEvent(unsigned int id)
Removes all the npc belonging to an event.
glTexture * npc_getBackground(int i)
Get the background of an NPC.
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.
int npc_isImportant(int i)
Checks to see if the NPC is important or not.
int npc_rm_mission(unsigned int id, unsigned int mid)
removes a mission NPC.
int npc_rm_event(unsigned int id, unsigned int evt)
removes an event NPC.
const char * npc_getName(int i)
Get the name of an NPC.
void npc_sort(void)
Sorts the NPCs.
Represents an active mission.
Abstraction for rendering sprite sheets.