link enginner and majin

This commit is contained in:
Prakxo
2024-01-05 15:20:07 +01:00
parent f2637656ee
commit ca63c36bb4
8 changed files with 346 additions and 2 deletions
+7
View File
@@ -3,11 +3,18 @@
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct actor_ev_majin_actor_s{
NPC_ACTOR npc_class;
int unk994;
aNPC_SUB_PROC think_proc;
}EV_NPCMAJIN_ACTOR;
extern ACTOR_PROFILE Ev_Majin_Profile;
#ifdef __cplusplus
+8 -1
View File
@@ -136,7 +136,9 @@ typedef struct npc_info_s {
/* TODO: draw data */
typedef struct npc_draw_info_s {
/* 0x000 */ u8 _000[0x20 - 0];
/* 0x000 */ int _00;
/* 0x004 */ int _04;
/* 0x008 */ u8 _000[0x20 - 8];
/* 0x020 */ f32 _20;
/* 0x024 */ f32 _24;
/* 0x024 */ u8 _028[0x534 - 0x028];
@@ -421,6 +423,11 @@ typedef struct npc_control_actor_s {
u8 _8F4[0x9D8 - 0x8F4]; // TODO
} NPC_CONTROL_ACTOR;
typedef struct npc_destruct_table_proc{
aNPC_SUB_PROC unk0;
aNPC_SUB_PROC unk4;
}NPC_DT_PROCS;
extern ACTOR_PROFILE Npc_Profile;
#ifdef __cplusplus
+5
View File
@@ -3,11 +3,16 @@
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct actor_npc_engineer_s{
NPC_ACTOR npc_class;
}NPCENGINEER_ACTOR;
extern ACTOR_PROFILE Npc_Engineer_Profile;
#ifdef __cplusplus
+3 -1
View File
@@ -31,6 +31,7 @@ enum {
};
typedef void (*eEC_NAME2EFFECTMAKE_PROC)(int, xyz_t, int, short, GAME*, u16, s16, s16);
typedef void (*eEC_NAME2EFFECTKILL_PROC)(int,u16);
typedef void (*eEC_REGISTEFFECTLIGHT_PROC)(f32*, s16,s16,s16);
@@ -38,7 +39,8 @@ typedef int (*eEC_EFFECTLIGHTSTATUS_PROC)(rgba_t*, int*); // returns eEC_LIGHT_C
typedef struct effect_control_clip_s {
/* 0x00 */ eEC_NAME2EFFECTMAKE_PROC effect_make_proc;
/* 0x04 */ u8 _04[0x30 - 0x04];
/* 0x04 */ eEC_NAME2EFFECTKILL_PROC effect_kill_proc;
/* 0x08 */ u8 _08[0x30 - 0x08];
/* 0x30 */ eEC_REGISTEFFECTLIGHT_PROC regist_effect_light;
/* 0x34 */ void* _34;
/* 0x38 */ void* _38;