Implement & link ac_npc_majin4

This commit is contained in:
Cuyler36
2025-06-11 17:47:02 -04:00
parent 0054e475f2
commit 1b8ad8370c
7 changed files with 455 additions and 11 deletions
+17 -1
View File
@@ -3,11 +3,28 @@
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct npc_majin4_actor_s NPC_MAJIN4_ACTOR;
typedef void (*aMJN4_THINK_PROC)(NPC_MAJIN4_ACTOR* actor, GAME_PLAY* play);
typedef void (*aMJN4_TALK_PROC)(NPC_MAJIN4_ACTOR* actor, GAME_PLAY* play);
struct npc_majin4_actor_s {
NPC_ACTOR npc_class;
int think_idx;
int next_think_idx;
aMJN4_THINK_PROC think_proc;
int talk_idx;
aMJN4_TALK_PROC talk_proc;
int reset_timer;
int se_clear_timer;
};
extern ACTOR_PROFILE Npc_Majin4_Profile;
#ifdef __cplusplus
@@ -15,4 +32,3 @@ extern ACTOR_PROFILE Npc_Majin4_Profile;
#endif
#endif
+1
View File
@@ -282,6 +282,7 @@ typedef enum audio_sound_effects {
NA_SE_43D = 0x43D,
NA_SE_43E = 0x43E,
NA_SE_43F = 0x43F,
NA_SE_ROD_STROKE_SMALL = 0x445,