Implement & link ac_ev_soncho.c

This commit is contained in:
Cuyler36
2023-11-02 01:20:31 -04:00
parent 6b901133d9
commit b945bca1cf
5 changed files with 283 additions and 1 deletions
+15
View File
@@ -3,11 +3,26 @@
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#ifdef __cplusplus
extern "C" {
#endif
enum {
aESC_TALK_OWARI,
aESC_TALK_SELECT,
aESC_TALK_SECAND,
aESC_TALK_NUM
};
typedef struct npc_event_soncho_s {
NPC_ACTOR npc_class;
u8 talk_state;
u8 first_talk;
} EVENT_SONCHO_ACTOR;
extern ACTOR_PROFILE Ev_Soncho_Profile;
#ifdef __cplusplus
+7 -1
View File
@@ -13,6 +13,8 @@
extern "C" {
#endif
#define aNPC_SPNPC_BIT_EV_SONCHO 5
typedef struct ac_npc_clip_s aNPC_Clip_c;
typedef struct npc_draw_data_s {
@@ -105,7 +107,11 @@ struct npc_actor_s {
NpcActorInfo_c npc_info;
u8 _194[0x718 - 0x194];
int texture_bank_idx; // TEMP: this is part of draw struct
u8 _71C[0x974 - 0x71C];
u8 _71C[0x751 - 0x71C];
u8 _751;
u8 _752[0x8F4 - 0x752];
int _8F4;
u8 _8F8[0x974 - 0x8F8];
s16 talk_base_anim_id;
s16 _976;
s16 melody_inst;