Implement & link ac_countdown_npc1

This commit is contained in:
Cuyler36
2025-06-09 17:04:24 -04:00
parent 4ee870e891
commit 623abef0c3
6 changed files with 650 additions and 4 deletions
+16 -1
View File
@@ -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