mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-08-22 05:49:04 -04:00
Implement & link ac_npc_majin4
This commit is contained in:
+17
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user