Implement & link ac_npc_post_man

This commit is contained in:
Cuyler36
2025-05-25 07:07:31 -04:00
parent 821e8818d1
commit ce0aa347ee
5 changed files with 711 additions and 3 deletions
+26 -2
View File
@@ -2,12 +2,37 @@
#define AC_NPC_POST_MAN_H
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#ifdef __cplusplus
extern "C" {
#endif
enum {
aPMAN_BIRTH_PLAYER_HOUSE,
aPMAN_BIRTH_POST_OFFICE,
aPMAN_BIRTH_NUM
};
typedef struct npc_post_man_actor_s NPC_POST_MAN;
typedef void (*aPMAN_PROC)(NPC_POST_MAN* actor, GAME_PLAY* play);
struct npc_post_man_actor_s {
NPC_ACTOR npc_class;
aPMAN_PROC act_proc;
u8 action;
u8 next_action;
u8 post_office_direct;
s8 delivery_idx;
s8 move_idx;
s8 now_idx;
u8 cull_flag;
u8 talk_permit;
u8 talk_type;
f32 ground_y;
};
extern ACTOR_PROFILE Npc_Post_Man_Profile;
#ifdef __cplusplus
@@ -15,4 +40,3 @@ extern ACTOR_PROFILE Npc_Post_Man_Profile;
#endif
#endif