Merge branch 'master' of git://github.com/BTAxis/naev into testmission
[naev.git] / src / npc.h
blob4ffd2183603a591043be135c75e0943c177445af
1 /*
2 * See Licensing and Copyright notice in naev.h
3 */
7 #ifndef NPC_H
8 # define NPC_H
11 #include "opengl.h"
12 #include "mission.h"
16 * Adding.
18 unsigned int npc_add_mission( Mission *misn, const char *func, const char *name,
19 int priority, const char *portrait, const char *desc );
20 unsigned int npc_add_event( unsigned int evt, const char *func, const char *name,
21 int priority, const char *portrait, const char *desc );
24 * Removing.
26 int npc_rm_event( unsigned int id, unsigned int evt );
27 int npc_rm_mission( unsigned int id, Mission *misn );
28 int npc_rm_parentEvent( unsigned int id );
29 int npc_rm_parentMission( Mission *misn );
32 * Control.
34 void npc_generate (void);
35 void npc_clear (void);
36 void npc_freeAll (void);
39 * Land image array stuff.
41 int npc_getArraySize (void);
42 int npc_getNameArray( char **names, int n );
43 int npc_getTextureArray( glTexture **tex, int n );
44 const char *npc_getName( int i );
45 glTexture *npc_getTexture( int i );
46 const char *npc_getDesc( int i );
47 int npc_approach( int i );
50 #endif /* NPC_H */