mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-11 05:04:42 -04:00
Implement & link ac_ev_yomise
This commit is contained in:
+25
-1
@@ -3,11 +3,36 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "m_actor.h"
|
||||
#include "ac_npc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define aEYMS_GOODS_COUNT 8
|
||||
|
||||
typedef struct {
|
||||
mActor_name_t goods[aEYMS_GOODS_COUNT];
|
||||
s16 cnt;
|
||||
s16 kind;
|
||||
} aEv_yomise_save_c;
|
||||
|
||||
typedef struct ev_yomise_actor_s EV_YOMISE_ACTOR;
|
||||
|
||||
typedef void (*aEYMS_TALK_PROC)(EV_YOMISE_ACTOR* yomise, GAME_PLAY* play);
|
||||
|
||||
struct ev_yomise_actor_s {
|
||||
NPC_ACTOR npc_class;
|
||||
aEYMS_TALK_PROC talk_proc;
|
||||
int talk_action;
|
||||
int next_talk_action;
|
||||
mActor_name_t item;
|
||||
s16 cur_choice_start;
|
||||
s16 next_choice_start;
|
||||
u32 price;
|
||||
s16 dst_pos[2];
|
||||
};
|
||||
|
||||
extern ACTOR_PROFILE Ev_Yomise_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -15,4 +40,3 @@ extern ACTOR_PROFILE Ev_Yomise_Profile;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user