Implement & link ac_tokyoso_npc0

This commit is contained in:
Cuyler36
2025-06-16 02:39:13 -04:00
parent ce4f8c6e12
commit ce656447b1
6 changed files with 510 additions and 2 deletions
+19 -1
View File
@@ -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
+3
View File
@@ -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,