mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-07 12:03:27 -04:00
Merge pull request #490 from ianling/ian/ac_npc_shasho
Implement and link ac_npc_shasho.c
This commit is contained in:
+16
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user