Implement & link ac_reset_demo

This commit is contained in:
Cuyler36
2025-01-26 00:47:07 -05:00
parent 81bbadf75d
commit adf42b6491
4 changed files with 189 additions and 3 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ typedef struct npc_overlay_s {
int used;
} aNPC_overlay_c;
typedef int (*aNPC_SETUP_ACTOR_PROC)(GAME_PLAY*, mActor_name_t, s8, int, s16, int, int, int, int);
typedef int (*aNPC_SETUP_ACTOR_PROC)(GAME_PLAY* play, mActor_name_t name, s8 idx, int mvlist_no, s16 arg, int bx, int bz, int ux, int uz);
typedef void (*aNPC_GET_OVERLAY_AREA_PROC)(ACTOR_DLFTBL*, u8*, size_t, mActor_name_t);
typedef void (*aNPC_DMA_DRAW_DATA_PROC)(aNPC_draw_data_c*, mActor_name_t);
typedef void (*aNPC_FREE_OVERLAY_AREA_PROC)(ACTOR_DLFTBL*);
+15 -1
View File
@@ -8,6 +8,21 @@
extern "C" {
#endif
typedef struct reset_demo_actor_s RESET_DEMO_ACTOR;
typedef void (*aRSD_ACT_PROC)(RESET_DEMO_ACTOR* reset_demo, GAME_PLAY* play);
struct reset_demo_actor_s {
/* 0x000 */ ACTOR actor_class;
/* 0x174 */ int action;
/* 0x178 */ aRSD_ACT_PROC act_proc;
/* 0x17C */ u16 request_light;
/* 0x17E */ mActor_name_t reset_name;
/* 0x180 */ ACTOR* reset_actor;
/* 0x184 */ Lights light;
/* 0x194 */ Light_list* light_list;
};
extern ACTOR_PROFILE Reset_Demo_Profile;
#ifdef __cplusplus
@@ -15,4 +30,3 @@ extern ACTOR_PROFILE Reset_Demo_Profile;
#endif
#endif