Implement & link ac_npc_police

This commit is contained in:
Cuyler36
2025-02-08 16:48:32 -05:00
parent 61a64fdf51
commit a1b6ff8feb
4 changed files with 527 additions and 2 deletions
+15 -1
View File
@@ -3,11 +3,26 @@
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct npc_police_actor_s NPC_POLICE_ACTOR;
typedef void (*aPOL_TALK_PROC)(NPC_POLICE_ACTOR* actor, GAME_PLAY* play);
typedef void (*aPOL_SETUP_ACTION_PROC)(NPC_POLICE_ACTOR* actor, GAME_PLAY* play, int action);
struct npc_police_actor_s {
NPC_ACTOR npc_class;
int _994;
int talk_act;
aPOL_TALK_PROC talk_proc;
aPOL_SETUP_ACTION_PROC setup_action_proc;
int exit_greeting;
};
extern ACTOR_PROFILE Npc_Police_Profile;
#ifdef __cplusplus
@@ -15,4 +30,3 @@ extern ACTOR_PROFILE Npc_Police_Profile;
#endif
#endif