Merge pull request #490 from ianling/ian/ac_npc_shasho

Implement and link ac_npc_shasho.c
This commit is contained in:
Cuyler36
2025-06-11 18:16:26 -04:00
committed by GitHub
4 changed files with 344 additions and 2 deletions
+16 -1
View File
@@ -3,11 +3,27 @@
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct npc_shasho_s NPC_SHASHO_ACTOR;
typedef void (*aNSS_PROC)(ACTOR*, GAME*);
typedef void (*aNSS_INIT_PROC)(NPC_SHASHO_ACTOR*, GAME_PLAY*);
typedef void (*aNSS_MOVE_PROC)(NPC_SHASHO_ACTOR*, GAME*);
/* sizeof(npc_shasho_s) == 0x9a4 */
struct npc_shasho_s {
/* 0x000 */ NPC_ACTOR npc_class;
/* 0x994 */ int action;
/* 0x998 */ int unk_move_action;
/* 0x99C */ aNSS_PROC talk_action;
/* 0x9A0 */ ACTOR* train_door_actor;
};
extern ACTOR_PROFILE Npc_Shasho_Profile;
#ifdef __cplusplus
@@ -15,4 +31,3 @@ extern ACTOR_PROFILE Npc_Shasho_Profile;
#endif
#endif