mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-08-22 05:49:04 -04:00
Implement & link ac_tokyoso_npc0
This commit is contained in:
@@ -3,11 +3,30 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "m_actor.h"
|
||||
#include "ac_npc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct tokyoso_npc0_actor_s TOKYOSO_NPC0_ACTOR;
|
||||
|
||||
typedef void (*aTKN0_THINK_PROC)(TOKYOSO_NPC0_ACTOR* actor, GAME_PLAY* play);
|
||||
typedef void (*aTKN0_TALK_PROC)(TOKYOSO_NPC0_ACTOR* actor, GAME_PLAY* play);
|
||||
|
||||
struct tokyoso_npc0_actor_s {
|
||||
NPC_ACTOR npc_class;
|
||||
aTKN0_THINK_PROC think_proc;
|
||||
aTKN0_TALK_PROC talk_proc;
|
||||
int base_msg;
|
||||
s16 timer;
|
||||
s16 think_idx;
|
||||
s16 next_think_idx;
|
||||
s16 move_think_idx;
|
||||
s16 talk_idx;
|
||||
u8 change_flag;
|
||||
};
|
||||
|
||||
extern ACTOR_PROFILE Tokyoso_Npc0_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -15,4 +34,3 @@ extern ACTOR_PROFILE Tokyoso_Npc0_Profile;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -174,6 +174,7 @@ typedef enum audio_sound_effects {
|
||||
NA_SE_EAT = 0x113,
|
||||
NA_SE_114 = 0x114,
|
||||
NA_SE_SEMI_ESCAPE = 0x115,
|
||||
NA_SE_116 = 0x116,
|
||||
|
||||
NA_SE_11A = 0x11A,
|
||||
NA_SE_11B = 0x11B,
|
||||
@@ -215,6 +216,8 @@ typedef enum audio_sound_effects {
|
||||
NA_SE_ARAIIKI_GIRL = 0x15A,
|
||||
|
||||
NA_SE_AMI_HIT_WATER = 0x15C,
|
||||
NA_SE_15D = 0x15D,
|
||||
NA_SE_15E = 0x15E,
|
||||
|
||||
NA_SE_ZASSOU_NUKU = 0x15F,
|
||||
NA_SE_HACHI_SASARERU,
|
||||
|
||||
Reference in New Issue
Block a user