Ghost work

This commit is contained in:
Cuyler36
2024-01-16 04:17:43 -05:00
parent cdeb0c85cd
commit a2e27360fe
6 changed files with 31 additions and 1 deletions
+16
View File
@@ -3,11 +3,27 @@
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ev_ghost_s EV_GHOST_ACTOR;
struct ev_ghost_s {
/* 0x000 */ NPC_ACTOR npc_class;
/* 0x994 */ void* think_proc;
/* 0x998 */ int msg_no;
/* 0x99C */ mActor_name_t give_item;
/* 0x99E */ s16 bye_bye_angle;
/* 0x9A0 */ u8 bye_bye_timer;
/* 0x9A1 */ u8 bye_bye_scale_timer;
/* 0x9A2 */ u8 bye_bye_transparency_delay_timer;
/* 0x9A3 */ u8 think_act;
/* 0x9A4 */
};
extern ACTOR_PROFILE Ev_Ghost_Profile;
#ifdef __cplusplus
+7
View File
@@ -364,12 +364,19 @@ typedef struct ghost_spirit_block_data_s {
} mEv_gst_hitodama_block_c;
#define mEv_GHOST_FLAG_ACTIVE 0x4000 // TODO: do these live in the ghost actor itself?
#define mEv_GHOST_FLAG_HITODAMA_EXIST 0x8000
typedef struct ghost_common_s {
mEv_gst_hitodama_block_c hitodama_block_data;
u16 flags;
u8 _0C[0x2C - 0x0C];
} mEv_gst_common_c;
typedef struct ghost_event_s {
u16 violent_person_str_no;
u16 flags;
lbRTC_ymd_c renew_time;
} mEv_gst_c;
#define mEv_DESGINER_NUM 3
typedef struct kabu_peddler_event_s {