Implement & link ac_ev_artist

This commit is contained in:
Cuyler36
2025-03-22 03:28:40 -04:00
parent 45adf16d83
commit 5aa42a45e7
5 changed files with 385 additions and 4 deletions
+15 -1
View File
@@ -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
View File
@@ -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 {