mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 06:34:18 -04:00
Merge pull request #183 from Cuyler36/ac_npc_curator_struct
Add ac_npc_curator struct
This commit is contained in:
@@ -100,6 +100,10 @@ typedef struct npc_info_s {
|
||||
mActor_name_t npc_name;
|
||||
} NpcActorInfo_c;
|
||||
|
||||
/* Used for think, schedule, action, & talk */
|
||||
typedef void (*aNPC_PROC)(NPC_ACTOR* npc_actorx, GAME_PLAY* play, int schedule_idx);
|
||||
typedef void (*aNPC_SUB_PROC)(NPC_ACTOR* npc_actorx, GAME_PLAY* play);
|
||||
|
||||
struct npc_actor_s {
|
||||
ACTOR actor_class;
|
||||
int _174;
|
||||
|
||||
@@ -3,11 +3,27 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "m_actor.h"
|
||||
#include "ac_npc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct npc_curator_actor_s NPC_CURATOR_ACTOR;
|
||||
|
||||
struct npc_curator_actor_s {
|
||||
NPC_ACTOR npc_class;
|
||||
int action;
|
||||
aNPC_SUB_PROC action_proc;
|
||||
int sleep_wait_timer;
|
||||
int talk_act_idx;
|
||||
aNPC_SUB_PROC talk_proc;
|
||||
aNPC_PROC setupTalkAction_proc;
|
||||
int msg_no;
|
||||
int _9B0; // might be unused 'awake' state
|
||||
mActor_name_t donated_item;
|
||||
};
|
||||
|
||||
extern ACTOR_PROFILE Npc_Curator_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user