mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-08-22 05:49:04 -04:00
Implement & link ac_countdown_npc1
This commit is contained in:
@@ -3,11 +3,27 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "m_actor.h"
|
||||
#include "ac_npc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct countdown_npc1_actor_s COUNTDOWN_NPC1_ACTOR;
|
||||
|
||||
typedef void (*aCD1_ACT_PROC)(COUNTDOWN_NPC1_ACTOR* actor);
|
||||
|
||||
struct countdown_npc1_actor_s {
|
||||
NPC_ACTOR npc_class;
|
||||
int action;
|
||||
int next_action;
|
||||
aCD1_ACT_PROC act_proc;
|
||||
int term;
|
||||
int fire_delay;
|
||||
int event_idx;
|
||||
s16 base_angle;
|
||||
};
|
||||
|
||||
extern ACTOR_PROFILE Countdown_Npc1_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -15,4 +31,3 @@ extern ACTOR_PROFILE Countdown_Npc1_Profile;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user