mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-21 22:54:39 -04:00
Implement & link ac_taisou_npc0
This commit is contained in:
+14
-16
@@ -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
@@ -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;
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ typedef int BOOL;
|
||||
|
||||
#define ATTRIBUTE_ALIGN(num) __attribute__((aligned(num)))
|
||||
|
||||
#define INT_MIN -2147483648
|
||||
#define INT_MAX 2147483647
|
||||
|
||||
#ifndef NULL
|
||||
|
||||
Reference in New Issue
Block a user