mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-08-08 18:13:05 -04:00
Implement & link ac_ev_artist
This commit is contained in:
+15
-1
@@ -3,11 +3,26 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "m_actor.h"
|
||||
#include "ac_npc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct ev_artist_actor_s EV_ARTIST_ACTOR;
|
||||
|
||||
typedef void (*aEART_SETUP_ACT_PROC)(EV_ARTIST_ACTOR* artist, GAME_PLAY* play, int action);
|
||||
typedef void (*aEART_TALK_PROC)(EV_ARTIST_ACTOR* artist, GAME_PLAY* play);
|
||||
|
||||
struct ev_artist_actor_s {
|
||||
NPC_ACTOR npc_class;
|
||||
int action;
|
||||
aEART_TALK_PROC talk_proc;
|
||||
aEART_SETUP_ACT_PROC setupAction_proc;
|
||||
mActor_name_t present;
|
||||
mActor_name_t received_item;
|
||||
};
|
||||
|
||||
extern ACTOR_PROFILE Ev_Artist_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -15,4 +30,3 @@ extern ACTOR_PROFILE Ev_Artist_Profile;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
+4
-2
@@ -461,10 +461,12 @@ typedef struct broker_event_s {
|
||||
mActor_name_t items[mEv_BROKER_ITEM_NUM];
|
||||
} mEv_broker_c;
|
||||
|
||||
#define mEv_ARTIST_ENTRY_SAVE_NUM 2
|
||||
|
||||
typedef struct artist_event_s {
|
||||
PersonalID_c pids[2];
|
||||
PersonalID_c pids[mEv_ARTIST_ENTRY_SAVE_NUM];
|
||||
int used;
|
||||
mActor_name_t walls[2];
|
||||
mActor_name_t walls[mEv_ARTIST_ENTRY_SAVE_NUM];
|
||||
} mEv_artist_c;
|
||||
|
||||
typedef struct arabian_event_s {
|
||||
|
||||
Reference in New Issue
Block a user