mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-01 01:08:51 -04:00
Implement & link ac_ev_designer
This commit is contained in:
@@ -3,11 +3,41 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "m_actor.h"
|
||||
#include "ac_npc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct ev_designer_save_data_s {
|
||||
int button_count;
|
||||
int result;
|
||||
} aEv_designer_c;
|
||||
|
||||
typedef struct ev_designer_actor_s EV_DESIGNER_ACTOR;
|
||||
|
||||
typedef void (*aEDSN_TALK_PROC)(EV_DESIGNER_ACTOR* designer, GAME* game);
|
||||
typedef void (*aEDSN_THINK_PROC)(EV_DESIGNER_ACTOR* designer, GAME_PLAY* play);
|
||||
|
||||
struct ev_designer_actor_s {
|
||||
NPC_ACTOR npc_class;
|
||||
u8 think_idx;
|
||||
u8 next_think_idx;
|
||||
u8 talk_idx;
|
||||
u8 melody_save;
|
||||
aEDSN_THINK_PROC think_proc;
|
||||
aEDSN_TALK_PROC talk_proc;
|
||||
mActor_name_t present;
|
||||
u8 wear_flag;
|
||||
u8 complete_flag;
|
||||
s16 wash_time;
|
||||
u8 camera_flag;
|
||||
u8 pl_talk_lock;
|
||||
f32 clean_speed;
|
||||
aEv_designer_c* tmp_save_p;
|
||||
ACTOR* s_car_p;
|
||||
};
|
||||
|
||||
extern ACTOR_PROFILE Ev_Designer_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -15,4 +45,3 @@ extern ACTOR_PROFILE Ev_Designer_Profile;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -986,6 +986,11 @@ typedef struct {
|
||||
int anim_idx;
|
||||
} aNPC_anim_info_c;
|
||||
|
||||
#define aNPC_DEMO_GIVE_ITEM(item, mode, present) \
|
||||
mDemo_Set_OrderValue(mDemo_ORDER_NPC1, 0, (item)); \
|
||||
mDemo_Set_OrderValue(mDemo_ORDER_NPC1, 1, (mode)); \
|
||||
mDemo_Set_OrderValue(mDemo_ORDER_NPC1, 2, (present))
|
||||
|
||||
extern ACTOR_PROFILE Npc_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user