Implement & link ac_ev_broker2

This commit is contained in:
Cuyler36
2025-03-24 00:20:16 -04:00
parent 2677f54213
commit 0d96b07102
4 changed files with 731 additions and 2 deletions
+22 -1
View File
@@ -3,11 +3,33 @@
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#ifdef __cplusplus
extern "C" {
#endif
#define aEBR2_PRICE_MULT 4
typedef struct ev_broker2_actor_s EV_BROKER2_ACTOR;
typedef void (*aEBR2_PROC)(EV_BROKER2_ACTOR* broker2, GAME_PLAY* play);
struct ev_broker2_actor_s {
NPC_ACTOR npc_class;
int action;
aEBR2_PROC action_proc;
s16 talk_angle;
u8 cur_zone;
u8 next_zone;
u8 player_zone;
u8 state;
s16 player_angle;
s8 item_idx;
u8 explain_flag;
u8 sell_flag;
};
extern ACTOR_PROFILE Ev_Broker2_Profile;
#ifdef __cplusplus
@@ -15,4 +37,3 @@ extern ACTOR_PROFILE Ev_Broker2_Profile;
#endif
#endif