Implement & link ac_taisou_npc0

This commit is contained in:
Cuyler36
2025-06-15 02:11:03 -04:00
parent c1503d0031
commit ce3abb3b57
9 changed files with 687 additions and 28 deletions
+14 -16
View File
@@ -4,27 +4,26 @@
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#include "audio.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct taisou_npc0_actor_s {
NPC_ACTOR npc_actor_class;
s8 ratio_idx;
u8 anim_initialized;
u8 gymnastic_state;
u8 delay_cnt;
s8 radio_counter;
f32 end_ratio;
int _9A0;
int anime_dir;
f32 current_ratio;
int frame;
mActor_name_t held_item;
u8 talk_proc;
u8 talk_state;
u8 soncho_event;
NPC_ACTOR npc_class;
s8 action;
u8 anim_initialized;
u8 gymnastic_state;
u8 delay_cnt;
Radio_c radio;
int anime_dir;
f32 current_ratio;
int frame;
mActor_name_t held_item;
u8 talk_proc;
u8 talk_state;
u8 soncho_event;
} TAISOU_NPC0_ACTOR;
extern ACTOR_PROFILE Taisou_Npc0_Profile;
@@ -34,4 +33,3 @@ extern ACTOR_PROFILE Taisou_Npc0_Profile;
#endif
#endif
+2 -2
View File
@@ -26,8 +26,8 @@ typedef struct audio_staffroll_info_s {
} StaffRollInfo_c;
typedef struct radio_s {
/* 0x000 */ s8 unk0;
/* 0x004 */ f32 unk4;
/* 0x000 */ s8 measure;
/* 0x004 */ f32 measure_progress;
/* 0x008 */ u16 tempo;
} Radio_c;
+1
View File
@@ -32,6 +32,7 @@ typedef int BOOL;
#define ATTRIBUTE_ALIGN(num) __attribute__((aligned(num)))
#define INT_MIN -2147483648
#define INT_MAX 2147483647
#ifndef NULL