mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-21 14:53:33 -04:00
Implement & link ac_present_demo
This commit is contained in:
@@ -8,6 +8,32 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum {
|
||||
aPRD_TYPE_BIRTHDAY,
|
||||
aPRD_TYPE_GOLDEN_ROD,
|
||||
aPRD_TYPE_GOLDEN_NET,
|
||||
aPRD_TYPE_SONCHO_VACATION0_CONTRIBUTED,
|
||||
aPRD_TYPE_SONCHO_VACATION1_CONTRIBUTED,
|
||||
aPRD_TYPE_SONCHO_VACATION0_STARTED,
|
||||
aPRD_TYPE_SONCHO_VACATION1_STARTED,
|
||||
|
||||
aPRD_TYPE_NUM
|
||||
};
|
||||
|
||||
typedef struct present_demo_actor_s PRESENT_DEMO_ACTOR;
|
||||
|
||||
typedef void (*aPRD_ACTION_PROC)(PRESENT_DEMO_ACTOR* present_demo, GAME* game);
|
||||
|
||||
struct present_demo_actor_s {
|
||||
ACTOR actor_class;
|
||||
int action;
|
||||
aPRD_ACTION_PROC action_proc;
|
||||
ACTOR* world_actor;
|
||||
int _180;
|
||||
int type;
|
||||
mActor_name_t present;
|
||||
};
|
||||
|
||||
extern ACTOR_PROFILE Present_Demo_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -15,4 +41,3 @@ extern ACTOR_PROFILE Present_Demo_Profile;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
+11
-1
@@ -18,6 +18,16 @@ extern "C" {
|
||||
#define mSC_TROPHY_GOLDEN_SCOOP 30 // assumed
|
||||
#define mSC_TROPHY_GOLDEN_ROD 31
|
||||
|
||||
enum {
|
||||
mSC_LIGHTHOUSE_EVENT_NONE,
|
||||
mSC_LIGHTHOUSE_EVENT_JAN_CONTRIBUTED,
|
||||
mSC_LIGHTHOUSE_EVENT_JAN_STARTED,
|
||||
mSC_LIGHTHOUSE_EVENT_FEB_CONTRIBUTED,
|
||||
mSC_LIGHTHOUSE_EVENT_FEB_STARTED,
|
||||
|
||||
mSC_LIGHTHOUSE_EVENT_NUM
|
||||
};
|
||||
|
||||
enum {
|
||||
mSC_EVENT_NEW_YEARS_DAY,
|
||||
mSC_EVENT_FOUNDERS_DAY,
|
||||
@@ -125,7 +135,7 @@ extern int mSC_LightHouse_get_period(lbRTC_time_c* time);
|
||||
extern int mSC_LightHouse_day(const lbRTC_time_c* time);
|
||||
extern int mSC_LightHouse_Event_Check(int player_no);
|
||||
extern void mSC_LightHouse_Event_Clear(int player_no);
|
||||
extern mActor_name_t mSC_LightHouse_Event_Present_Item();
|
||||
extern mActor_name_t mSC_LightHouse_Event_Present_Item(u32 player_no);
|
||||
extern int mSC_LightHouse_Event_Start();
|
||||
extern int mSC_LightHouse_Talk_After_Check();
|
||||
extern void mSC_LightHouse_Quest_Start();
|
||||
|
||||
Reference in New Issue
Block a user