Implement & link ac_tamaire_npc1

This commit is contained in:
Cuyler36
2025-06-15 06:38:45 -04:00
parent 259d26256b
commit 67d33ff70d
5 changed files with 630 additions and 2 deletions
+23 -1
View File
@@ -3,11 +3,34 @@
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct tamaire_npc1_actor_s TAMAIRE_NPC1_ACTOR;
typedef void (*aTMN1_THINK_PROC)(TAMAIRE_NPC1_ACTOR* actor, GAME_PLAY* play);
typedef void (*aTMN1_TALK_PROC)(TAMAIRE_NPC1_ACTOR* actor, GAME_PLAY* play);
struct tamaire_npc1_actor_s {
NPC_ACTOR npc_class;
aTMN1_THINK_PROC think_proc;
aTMN1_TALK_PROC talk_proc;
int base_msg;
s16 timer;
s16 move_pos[2];
s16 yasiro_pos[2];
u8 think_idx;
u8 next_think_idx;
u8 move_think_idx;
u8 talk_idx;
u8 change_flag;
u8 left;
u8 right;
};
extern ACTOR_PROFILE Tamaire_Npc1_Profile;
#ifdef __cplusplus
@@ -15,4 +38,3 @@ extern ACTOR_PROFILE Tamaire_Npc1_Profile;
#endif
#endif