some f_op

This commit is contained in:
lepelog
2021-04-09 01:22:16 +02:00
parent 922aa90df7
commit 442764cf68
104 changed files with 1182 additions and 1895 deletions
@@ -3,4 +3,6 @@
#include "dolphin/types.h"
struct JAUSection;
#endif /* JAUAUDIOARCLOADER_H */
+203
View File
@@ -2,5 +2,208 @@
#define C_REQUEST_H
#include "dolphin/types.h"
#include "f_pc/f_pc_base.h"
struct request_base_class {
u8 field_0x0;
u8 field_0x1;
u8 field_0x2;
u8 field_0x3;
u16 field_0x4;
u8 field_0x6;
u8 field_0x7;
u32 field_0x8;
s8 field_0xc;
u8 field_0xd;
u8 field_0xe;
u8 field_0xf;
int* field_0x10;
// u8 field_0x11;
// u8 field_0x12;
// u8 field_0x13;
u8 field_0x14;
u8 field_0x15;
u8 field_0x16;
u8 field_0x17;
u8 field_0x18;
u8 field_0x19;
u8 field_0x1a;
u8 field_0x1b;
u8 field_0x1c;
u8 field_0x1d;
u8 field_0x1e;
u8 field_0x1f;
u32* field_0x20;
u8 field_0x24;
u8 field_0x25;
u8 field_0x26;
u8 field_0x27;
u8 field_0x28;
u8 field_0x29;
u8 field_0x2a;
u8 field_0x2b;
u8 field_0x2c;
u8 field_0x2d;
u8 field_0x2e;
u8 field_0x2f;
u8 field_0x30;
u8 field_0x31;
u8 field_0x32;
u8 field_0x33;
u8 field_0x34;
u8 field_0x35;
u8 field_0x36;
u8 field_0x37;
u8 field_0x38;
u8 field_0x39;
u8 field_0x3a;
u8 field_0x3b;
u8 field_0x3c;
u8 field_0x3d;
u8 field_0x3e;
u8 field_0x3f;
u8 field_0x40;
u8 field_0x41;
u8 field_0x42;
u8 field_0x43;
u8 field_0x44;
u8 field_0x45;
u8 field_0x46;
u8 field_0x47;
u8 field_0x48;
u8 field_0x49;
u8 field_0x4a;
u8 field_0x4b;
u8 field_0x4c;
u8 field_0x4d;
u8 field_0x4e;
u8 field_0x4f;
u8 field_0x50;
u8 field_0x51;
u8 field_0x52;
u8 field_0x53;
u8 field_0x54;
u8 field_0x55;
u8 field_0x56;
u8 field_0x57;
u8 field_0x58;
u8 field_0x59;
u8 field_0x5a;
u8 field_0x5b;
u8 field_0x5c;
u8 field_0x5d;
u8 field_0x5e;
u8 field_0x5f;
u8 field_0x60;
u8 field_0x61;
u8 field_0x62;
u8 field_0x63;
u8 field_0x64;
u8 field_0x65;
u8 field_0x66;
u8 field_0x67;
u8 field_0x68;
u8 field_0x69;
u8 field_0x6a;
u8 field_0x6b;
u8 field_0x6c;
u8 field_0x6d;
u8 field_0x6e;
u8 field_0x6f;
u8 field_0x70;
u8 field_0x71;
u8 field_0x72;
u8 field_0x73;
u8 field_0x74;
u8 field_0x75;
u8 field_0x76;
u8 field_0x77;
u8 field_0x78;
u8 field_0x79;
u8 field_0x7a;
u8 field_0x7b;
u8 field_0x7c;
u8 field_0x7d;
u8 field_0x7e;
u8 field_0x7f;
u8 field_0x80;
u8 field_0x81;
u8 field_0x82;
u8 field_0x83;
u8 field_0x84;
u8 field_0x85;
u8 field_0x86;
u8 field_0x87;
u8 field_0x88;
u8 field_0x89;
u8 field_0x8a;
u8 field_0x8b;
u8 field_0x8c;
u8 field_0x8d;
u8 field_0x8e;
u8 field_0x8f;
u8 field_0x90;
u8 field_0x91;
u8 field_0x92;
u8 field_0x93;
u8 field_0x94;
u8 field_0x95;
u8 field_0x96;
u8 field_0x97;
u8 field_0x98;
u8 field_0x99;
u8 field_0x9a;
u8 field_0x9b;
u8 field_0x9c;
u8 field_0x9d;
u8 field_0x9e;
u8 field_0x9f;
u8 field_0xa0;
u8 field_0xa1;
u8 field_0xa2;
u8 field_0xa3;
u8 field_0xa4;
u8 field_0xa5;
u8 field_0xa6;
u8 field_0xa7;
u8 field_0xa8;
u8 field_0xa9;
u8 field_0xaa;
u8 field_0xab;
u8 field_0xac;
u8 field_0xad;
u8 field_0xae;
u8 field_0xaf;
u8 field_0xb0;
u8 field_0xb1;
u8 field_0xb2;
u8 field_0xb3;
u8 field_0xb4;
u8 field_0xb5;
u8 field_0xb6;
u8 field_0xb7;
u8 field_0xb8;
u8 field_0xb9;
u8 field_0xba;
u8 field_0xbb;
u8 field_0xbc;
u8 field_0xbd;
u8 field_0xbe;
u8 field_0xbf;
u32 field_0xc0;
// u8 field_0xc1;
// u8 field_0xc2;
// u8 field_0xc3;
request_base_class* field_0xc4;
// u8 field_0xc5;
// u8 field_0xc6;
// u8 field_0xc7;
u32* field_0xc8;
};
int cReq_Is_Done(request_base_class*);
int cReq_Done(request_base_class*);
int cReq_Command(request_base_class*, u8);
int cReq_Create(request_base_class*, u8);
#endif /* C_REQUEST_H */
+10
View File
@@ -2,5 +2,15 @@
#define Z2AUDIOARCLOADER_H
#include "dolphin/types.h"
#include "JSystem/JAudio2/JAUAudioArcLoader.h"
class Z2AudioArcLoader {
Z2AudioArcLoader(JAUSection*);
~Z2AudioArcLoader();
void readCommandMore(u32);
void readBFCA(const void*);
void readBSTN(const void*, u32);
};
#endif /* Z2AUDIOARCLOADER_H */
+26
View File
@@ -3,4 +3,30 @@
#include "dolphin/types.h"
namespace Z2Calc {
enum CurveSign {
CURVE_SIGN_0 = 0,
CURVE_SIGN_1 = 1,
};
struct FNoise1f {
void setParam(float, float, float);
float tau(float);
float calcNoise1f();
float unk0;
float unk4;
float unk8;
float unk12;
};
float linearTransform(float, float, float, float, float, bool);
float getParamByExp(float, float, float, float, float, float, Z2Calc::CurveSign);
float getRandom(float, float, float);
float getRandom_0_1(void);
extern f32 cEqualCSlope;
extern f32 cEqualPSlope;
} // namespace Z2Calc
#endif /* Z2CALC_H */
+41 -4
View File
@@ -1,6 +1,43 @@
#ifndef F_OP_F_OP_ACTOR_H
#define F_OP_F_OP_ACTOR_H
#ifndef F_OP_ACTOR_H_
#define F_OP_ACTOR_H_
#include "dolphin/types.h"
#include "SSystem/SComponent/c_sxyz.h"
#include "SSystem/SComponent/c_xyz.h"
#include "f_pc/f_pc_base.h"
#endif /* F_OP_F_OP_ACTOR_H */
struct JKRSolidHeap;
class fopAc_ac_c : public base_process_class {
public:
/* 0x0B8 */ u8 unk_0x0B8[0xF0 - 0xB8];
/* 0x0F0 */ JKRSolidHeap* unk_0x0F0;
/* 0x0F4 */ u8 unk_0x0F4[0x496 - 0xF4];
/* 0x496 */ u8 unk_0x496;
/* 0x497 */ u8 unk_0x497[0x499 - 0x497];
/* 0x499 */ s8 unk_0x499;
/* 0x497 */ u8 unk_0x49A[0x4D0 - 0x49A];
/* 0x4D0 */ cXyz mPosition;
/* 0x4DC */ csXyz mAngle;
/* 0x4E2 */ s8 mRoomNo;
/* 0x4E3 */ u8 unk_0x4E3[0x4E6 - 0x4E3];
/* 0x4E6 */ s16 unk_0x4E6;
/* 0x4E8 */ u8 unk_0x4E8[0x4F8 - 0x4E8];
/* 0x4F8 */ cXyz mSpeed;
/* 0x504 */ u8 unk_0x504[4];
/* 0x508 */ cXyz mCullMin;
/* 0x514 */ cXyz mCullMax;
/* 0x520 */ u8 unk_0x520[0xC];
/* 0x52C */ f32 mSpeedF;
/* 0x530 */ f32 mGravity;
/* 0x534 */ f32 mMaxFallSpeed;
/* 80018B64 */ fopAc_ac_c();
/* 80018C8C */ ~fopAc_ac_c();
static u8 stopStatus[4];
const cXyz& getPosition() const { return mPosition; }
const csXyz& getAngle() const { return mAngle; }
}; // Size: unknown
#endif
+9 -3
View File
@@ -1,6 +1,12 @@
#ifndef F_OP_F_OP_ACTOR_ITER_H
#define F_OP_F_OP_ACTOR_ITER_H
#ifndef F_OP_ACTOR_ITER_H_
#define F_OP_ACTOR_ITER_H_
#include "dolphin/types.h"
#endif /* F_OP_F_OP_ACTOR_ITER_H */
typedef int (*fopAcIt_ExecutorFunc)(void*, void*);
typedef void* (*fopAcIt_JudgeFunc)(void*, void*);
int fopAcIt_Executor(fopAcIt_ExecutorFunc, void*);
void* fopAcIt_Judge(fopAcIt_JudgeFunc, void*);
#endif
+274 -3
View File
@@ -1,6 +1,277 @@
#ifndef F_OP_F_OP_ACTOR_MNG_H
#define F_OP_F_OP_ACTOR_MNG_H
#ifndef F_OP_ACTOR_MNG_H_
#define F_OP_ACTOR_MNG_H_
#include "JSystem/J3DGraphAnimator/J3DModelData.h"
#include "SSystem/SComponent/c_m3d_g_pla.h"
#include "SSystem/SComponent/c_sxyz.h"
#include "SSystem/SComponent/c_xyz.h"
#include "f_op/f_op_actor.h"
#include "f_pc/f_pc_executor.h"
#include "f_pc/f_pc_fstcreate_req.h"
#include "f_pc/f_pc_manager.h"
#include "f_pc/f_pc_searcher.h"
#include "f_pc/f_pc_stdcreate_req.h"
#include "dolphin/types.h"
#endif /* F_OP_F_OP_ACTOR_MNG_H */
struct fopAcM_prm_class {
/* 0x00 */ u32 unk_0x00;
/* 0x04 */ cXyz unk_0x04;
/* 0x10 */ csXyz unk_0x10;
/* 0x16 */ u16 unk_0x16;
/* 0x18 */ u8 unk_0x18;
/* 0x19 */ u8 unk_0x19;
/* 0x1A */ u8 unk_0x1A;
/* 0x1B */ u8 unk_0x1B;
/* 0x1C */ s32 unk_0x1C;
/* 0x20 */ s8 unk_0x20;
/* 0x21 */ s8 unk_0x21;
/* 0x22 */ u8 unk_0x22;
/* 0x23 */ u8 unk_0x23;
};
class fopAcM_lc_c {
public:
static bool lineCheck(const cXyz*, const cXyz*, const fopAc_ac_c*);
};
class fopAcM_rc_c {
public:
static bool roofCheck(const cXyz*);
};
class fopAcM_gc_c {
public:
static bool gndCheck(const cXyz*);
};
class fopAcM_wt_c {
public:
static bool waterCheck(const cXyz*);
};
struct dKy_tevstr_c;
struct cBgS_PolyInfo;
typedef int (*heapCallbackFunc)(fopAc_ac_c*);
typedef int (*createFunc)(void*);
struct DOUBLE_POS {
double x, y, z;
};
inline s32 fopAcM_GetRoomNo(const fopAc_ac_c* pActor) {
return pActor->mRoomNo;
}
void* fopAcM_FastCreate(s16 pProcTypeID, FastCreateReqFunc param_2, void* param_3, void* pData);
void fopAcM_setStageLayer(void*);
int fopAcM_setRoomLayer(void*, int);
s32 fopAcM_SearchByID(unsigned int id, fopAc_ac_c** actor);
s32 fopAcM_SearchByName(s16 procName, fopAc_ac_c** actor);
fopAcM_prm_class* fopAcM_CreateAppend(void);
fopAcM_prm_class* createAppend(u16, u32, const cXyz*, int, const csXyz*, const cXyz*, s8,
unsigned int);
void fopAcM_Log(const fopAc_ac_c*, const char*);
void fopAcM_delete(fopAc_ac_c*);
s32 fopAcM_delete(unsigned int);
s32 fopAcM_create(s16, u16, u32, const cXyz*, int, const csXyz*, const cXyz*, s8, createFunc);
s32 fopAcM_create(s16, u32, const cXyz*, int, const csXyz*, const cXyz*, s8);
void* fopAcM_fastCreate(s16, u32, const cXyz*, int, const csXyz*, const cXyz*, s8, createFunc,
void*);
void* fopAcM_fastCreate(const char*, u32, const cXyz*, int, const csXyz*, const cXyz*, createFunc,
void*);
s32 fopAcM_createChild(s16, unsigned int, u32, const cXyz*, int, const csXyz*, const cXyz*, s8,
createFunc);
s32 fopAcM_createChildFromOffset(s16, unsigned int, u32, const cXyz*, int, const csXyz*,
const cXyz*, s8, createFunc);
void fopAcM_DeleteHeap(fopAc_ac_c*);
s32 fopAcM_callCallback(fopAc_ac_c*, heapCallbackFunc, JKRHeap*);
bool fopAcM_entrySolidHeap_(fopAc_ac_c*, heapCallbackFunc, u32);
bool fopAcM_entrySolidHeap(fopAc_ac_c*, heapCallbackFunc, u32);
void fopAcM_SetMin(fopAc_ac_c*, f32, f32, f32);
void fopAcM_SetMax(fopAc_ac_c*, f32, f32, f32);
void fopAcM_setCullSizeBox(fopAc_ac_c*, f32, f32, f32, f32, f32, f32);
void fopAcM_setCullSizeSphere(fopAc_ac_c*, f32, f32, f32, f32);
void fopAcM_setCullSizeBox2(fopAc_ac_c*, J3DModelData*);
bool fopAcM_addAngleY(fopAc_ac_c*, s16, s16);
inline csXyz& fopAcM_GetAngle_p(fopAc_ac_c* pActor) {
return pActor->mAngle;
}
void fopAcM_calcSpeed(fopAc_ac_c*);
void fopAcM_posMove(fopAc_ac_c*, const cXyz*);
void fopAcM_posMoveF(fopAc_ac_c*, const cXyz*);
s16 fopAcM_searchActorAngleY(const fopAc_ac_c*, const fopAc_ac_c*);
s16 fopAcM_searchActorAngleX(const fopAc_ac_c*, const fopAc_ac_c*);
s32 fopAcM_seenActorAngleY(const fopAc_ac_c*, const fopAc_ac_c*);
f32 fopAcM_searchActorDistance(const fopAc_ac_c*, const fopAc_ac_c*);
f32 fopAcM_searchActorDistance2(const fopAc_ac_c*, const fopAc_ac_c*);
f32 fopAcM_searchActorDistanceXZ(const fopAc_ac_c*, const fopAc_ac_c*);
f32 fopAcM_searchActorDistanceXZ2(const fopAc_ac_c*, const fopAc_ac_c*);
s32 fopAcM_rollPlayerCrash(const fopAc_ac_c*, f32, u32, f32, f32, int, f32);
s32 fopAcM_checkCullingBox(f32[3][4], f32, f32, f32, f32, f32, f32);
s32 fopAcM_cullingCheck(const fopAc_ac_c*);
s32 event_second_actor(u16);
s32 fopAcM_orderTalkEvent(fopAc_ac_c*, fopAc_ac_c*, u16, u16);
s32 fopAcM_orderTalkItemBtnEvent(u16, fopAc_ac_c*, fopAc_ac_c*, u16, u16);
s32 fopAcM_orderSpeakEvent(fopAc_ac_c*, u16, u16);
s32 fopAcM_orderDoorEvent(fopAc_ac_c*, fopAc_ac_c*, u16, u16);
s32 fopAcM_orderCatchEvent(fopAc_ac_c*, fopAc_ac_c*, u16, u16);
s32 fopAcM_orderOtherEvent(fopAc_ac_c*, const char*, u16, u16, u16);
s32 fopAcM_orderOtherEvent(fopAc_ac_c*, fopAc_ac_c*, const char*, u16, u16, u16);
s32 fopAcM_orderChangeEventId(fopAc_ac_c*, s16, u16, u16);
s32 fopAcM_orderOtherEventId(fopAc_ac_c*, s16, u8, u16, u16, u16);
s32 fopAcM_orderMapToolEvent(fopAc_ac_c*, u8, s16, u16, u16, u16);
s32 fopAcM_orderMapToolAutoNextEvent(fopAc_ac_c*, u8, s16, u16, u16, u16);
s32 fopAcM_orderPotentialEvent(fopAc_ac_c*, u16, u16, u16);
s32 fopAcM_orderItemEvent(fopAc_ac_c*, u16, u16);
s32 fopAcM_orderTreasureEvent(fopAc_ac_c*, fopAc_ac_c*, u16, u16);
s32 fopAcM_getTalkEventPartner(const fopAc_ac_c*);
s32 fopAcM_getItemEventPartner(const fopAc_ac_c*);
s32 fopAcM_getEventPartner(const fopAc_ac_c*);
s32 fopAcM_createItemForPresentDemo(const cXyz*, int, u8, int, int, const csXyz*, const cXyz*);
s32 fopAcM_createItemForTrBoxDemo(const cXyz*, int, int, int, const csXyz*, const cXyz*);
s32 fopAcM_getItemNoFromTableNo(u8);
s32 fopAcM_createItemFromEnemyID(u8, const cXyz*, int, int, const csXyz*, const cXyz*, f32*, f32*);
s32 fopAcM_createItemFromTable(const cXyz*, int, int, int, const csXyz*, int, const cXyz*, f32*,
f32*, bool);
s32 fopAcM_createDemoItem(const cXyz*, int, int, const csXyz*, int, const cXyz*, u8);
s32 fopAcM_createItemForBoss(const cXyz*, int, int, const csXyz*, const cXyz*, f32, f32, int);
s32 fopAcM_createItemForMidBoss(const cXyz*, int, int, const csXyz*, const cXyz*, int, int);
void* fopAcM_createItemForDirectGet(const cXyz*, int, int, const csXyz*, const cXyz*, f32, f32);
void* fopAcM_createItemForSimpleDemo(const cXyz*, int, int, const csXyz*, const cXyz*, f32, f32);
s32 fopAcM_createItem(const cXyz*, int, int, int, const csXyz*, const cXyz*, int);
void* fopAcM_fastCreateItem2(const cXyz*, int, int, int, int, const csXyz*, const cXyz*);
void* fopAcM_fastCreateItem(const cXyz*, int, int, const csXyz*, const cXyz*, f32*, f32*, int, int,
createFunc);
s32 fopAcM_createBokkuri(u16, const cXyz*, int, int, int, const cXyz*, int, int);
s32 fopAcM_createWarpHole(const cXyz*, const csXyz*, int, u8, u8, u8);
s32 fopAcM_myRoomSearchEnemy(s8);
s32 fopAcM_createDisappear(const fopAc_ac_c*, const cXyz*, u8, u8, u8);
s32 fopAcM_setCarryNow(fopAc_ac_c*, int);
s32 fopAcM_cancelCarryNow(fopAc_ac_c*);
f32 fopAcM_otoCheck(const fopAc_ac_c*, f32);
s32 fopAcM_otherBgCheck(const fopAc_ac_c*, const fopAc_ac_c*);
s32 fopAcM_wayBgCheck(const fopAc_ac_c*, f32, f32);
s32 fopAcM_plAngleCheck(const fopAc_ac_c*, s16);
s32 fopAcM_effSmokeSet1(u32*, u32*, const cXyz*, const csXyz*, f32, const dKy_tevstr_c*, int);
s32 fopAcM_effHamonSet(u32*, const cXyz*, f32, f32);
s32 fopAcM_riverStream(cXyz*, s16*, f32*, f32);
s32 fopAcM_carryOffRevise(fopAc_ac_c*);
void vectle_calc(const DOUBLE_POS*, cXyz*);
void get_vectle_calc(const cXyz*, const cXyz*, cXyz*);
void fopAcM_setEffectMtx(const fopAc_ac_c*, const J3DModelData*);
const char* fopAcM_getProcNameString(const fopAc_ac_c*);
s32 fopAcM_findObjectCB(const fopAc_ac_c*, void*);
s32 fopAcM_searchFromName(const char*, u32, u32);
s32 fopAcM_findObject4EventCB(fopAc_ac_c*, void*);
s32 fopAcM_searchFromName4Event(const char*, s16);
s32 fopAcM_getWaterY(const cXyz*, f32*);
void fpoAcM_relativePos(const fopAc_ac_c*, const cXyz*, cXyz*);
s32 fopAcM_getWaterStream(const cXyz*, const cBgS_PolyInfo&, cXyz*, int*, int);
s16 fopAcM_getPolygonAngle(const cBgS_PolyInfo&, s16);
extern "C" {
void fopAcM_initManager__Fv(void);
void fopAcM_CreateAppend__Fv(void);
void fopAcM_DeleteHeap__FP10fopAc_ac_c(void);
void fopAcM_FastCreate__FsPFPv_iPvPv(void);
void fopAcM_Log__FPC10fopAc_ac_cPCc(void);
void fopAcM_SearchByID__FUiPP10fopAc_ac_c(void);
void fopAcM_calcSpeed__FP10fopAc_ac_c(void);
void fopAcM_callCallback__FP10fopAc_ac_cPFP10fopAc_ac_c_iP7JKRHeap(void);
void fopAcM_cancelCarryNow__FP10fopAc_ac_c(void);
void fopAcM_create__FsUsUlPC4cXyziPC5csXyzPC4cXyzScPFPv_i(void);
void fopAcM_createChild__FsUiUlPC4cXyziPC5csXyzPC4cXyzScPFPv_i(void);
void fopAcM_createDemoItem__FPC4cXyziiPC5csXyziPC4cXyzUc(void);
void fopAcM_createItem__FPC4cXyziiiPC5csXyzPC4cXyzi(void);
void fopAcM_createItemForDirectGet__FPC4cXyziiPC5csXyzPC4cXyzff(void);
void fopAcM_createItemForPresentDemo__FPC4cXyziUciiPC5csXyzPC4cXyz(void);
void fopAcM_createItemForSimpleDemo__FPC4cXyziiPC5csXyzPC4cXyzff(void);
void fopAcM_createItemForTrBoxDemo__FPC4cXyziiiPC5csXyzPC4cXyz(void);
void fopAcM_createItemFromTable__FPC4cXyziiiPC5csXyziPC4cXyzPfPfb(void);
void fopAcM_create__FsUlPC4cXyziPC5csXyzPC4cXyzSc(void);
void fopAcM_cullingCheck__FPC10fopAc_ac_c(void);
void fopAcM_delete__FP10fopAc_ac_c(void);
void fopAcM_delete__FUi(void);
void fopAcM_effHamonSet__FPUlPC4cXyzff(void);
void fopAcM_entrySolidHeap__FP10fopAc_ac_cPFP10fopAc_ac_c_iUl(void);
void fopAcM_entrySolidHeap___FP10fopAc_ac_cPFP10fopAc_ac_c_iUl(void);
void fopAcM_fastCreate__FsUlPC4cXyziPC5csXyzPC4cXyzScPFPv_iPv(void);
void fopAcM_fastCreateItem__FPC4cXyziiPC5csXyzPC4cXyzPfPfiiPFPv_i(void);
void fopAcM_fastCreateItem2__FPC4cXyziiiiPC5csXyzPC4cXyz(void);
void fopAcM_fastCreate__FPCcUlPC4cXyziPC5csXyzPC4cXyzPFPv_iPv(void);
void fopAcM_findObject4EventCB__FP10fopAc_ac_cPv(void);
void fopAcM_findObjectCB__FPC10fopAc_ac_cPv(void);
void gndCheck__11fopAcM_gc_cFPC4cXyz(void);
void fopAcM_getEventPartner__FPC10fopAc_ac_c(void);
void fopAcM_getItemEventPartner__FPC10fopAc_ac_c(void);
void fopAcM_getItemNoFromTableNo__FUc(void);
void fopAcM_getPolygonAngle__FRC13cBgS_PolyInfos(void);
void fopAcM_getPolygonAngle__FPC8cM3dGPlas(void);
void fopAcM_getProcNameString__FPC10fopAc_ac_c(void);
void fopAcM_getTalkEventPartner__FPC10fopAc_ac_c(void);
void fopAcM_getWaterStream__FPC4cXyzRC13cBgS_PolyInfoP4cXyzPii(void);
void fopAcM_getWaterY__FPC4cXyzPf(void);
void lineCheck__11fopAcM_lc_cFPC4cXyzPC4cXyzPC10fopAc_ac_c(void);
void fopAcM_orderCatchEvent__FP10fopAc_ac_cP10fopAc_ac_cUsUs(void);
void fopAcM_orderChangeEventId__FP10fopAc_ac_csUsUs(void);
void fopAcM_orderDoorEvent__FP10fopAc_ac_cP10fopAc_ac_cUsUs(void);
void fopAcM_orderItemEvent__FP10fopAc_ac_cUsUs(void);
void fopAcM_orderMapToolAutoNextEvent__FP10fopAc_ac_cUcsUsUsUs(void);
void fopAcM_orderMapToolEvent__FP10fopAc_ac_cUcsUsUsUs(void);
void fopAcM_orderOtherEvent__FP10fopAc_ac_cPCcUsUsUs(void);
void fopAcM_orderOtherEventId__FP10fopAc_ac_csUcUsUsUs(void);
void fopAcM_orderOtherEvent__FP10fopAc_ac_cP10fopAc_ac_cPCcUsUsUs(void);
void fopAcM_orderSpeakEvent__FP10fopAc_ac_cUsUs(void);
void fopAcM_orderTalkEvent__FP10fopAc_ac_cP10fopAc_ac_cUsUs(void);
void fopAcM_orderTalkItemBtnEvent__FUsP10fopAc_ac_cP10fopAc_ac_cUsUs(void);
void fopAcM_orderTreasureEvent__FP10fopAc_ac_cP10fopAc_ac_cUsUs(void);
void fopAcM_posMove__FP10fopAc_ac_cPC4cXyz(void);
void fopAcM_posMoveF__FP10fopAc_ac_cPC4cXyz(void);
void fopAcM_searchActorAngleY__FPC10fopAc_ac_cPC10fopAc_ac_c(void);
void fopAcM_searchActorDistance__FPC10fopAc_ac_cPC10fopAc_ac_c(void);
void fopAcM_searchActorDistanceXZ__FPC10fopAc_ac_cPC10fopAc_ac_c(void);
void fopAcM_searchActorDistanceXZ2__FPC10fopAc_ac_cPC10fopAc_ac_c(void);
void fopAcM_searchFromName__FPCcUlUl(void);
void fopAcM_searchFromName4Event__FPCcs(void);
void fopAcM_seenActorAngleY__FPC10fopAc_ac_cPC10fopAc_ac_c(void);
void fopAcM_setCarryNow__FP10fopAc_ac_ci(void);
void fopAcM_setCullSizeBox__FP10fopAc_ac_cffffff(void);
void fopAcM_setEffectMtx__FPC10fopAc_ac_cPC12J3DModelData(void);
void fopAcM_setRoomLayer__FPvi(void);
void fopAcM_setStageLayer__FPv(void);
void waterCheck__11fopAcM_wt_cFPC4cXyz(void);
void fopScnM_SearchByID(void);
void fpoAcM_relativePos__FPC10fopAc_ac_cPC4cXyzP4cXyz(void);
void fopAcM_SearchByName__FsPP10fopAc_ac_c(void);
void fopAcM_createChildFromOffset__FsUiUlPC4cXyziPC5csXyzPC4cXyzScPFPv_i(void);
void fopAcM_SetMin__FP10fopAc_ac_cfff(void);
void fopAcM_SetMax__FP10fopAc_ac_cfff(void);
void fopAcM_setCullSizeSphere__FP10fopAc_ac_cffff(void);
void fopAcM_setCullSizeBox2__FP10fopAc_ac_cP12J3DModelData(void);
void fopAcM_addAngleY__FP10fopAc_ac_css(void);
void fopAcM_searchActorAngleX__FPC10fopAc_ac_cPC10fopAc_ac_c(void);
void fopAcM_searchActorDistance2__FPC10fopAc_ac_cPC10fopAc_ac_c(void);
void fopAcM_rollPlayerCrash__FPC10fopAc_ac_cfUlffif(void);
void fopAcM_checkCullingBox__FPA4_fffffff(void);
void fopAcM_orderPotentialEvent__FP10fopAc_ac_cUsUsUs(void);
void fopAcM_createItemFromEnemyID__FUcPC4cXyziiPC5csXyzPC4cXyzPfPf(void);
void fopAcM_createItemForBoss__FPC4cXyziiPC5csXyzPC4cXyzffi(void);
void fopAcM_createItemForMidBoss__FPC4cXyziiPC5csXyzPC4cXyzii(void);
void fopAcM_createBokkuri__FUsPC4cXyziiiPC4cXyzii(void);
void fopAcM_createWarpHole__FPC4cXyzPC5csXyziUcUcUc(void);
void fopAcM_myRoomSearchEnemy__FSc(void);
void fopAcM_createDisappear__FPC10fopAc_ac_cPC4cXyzUcUcUc(void);
void fopAcM_otoCheck__FPC10fopAc_ac_cf(void);
void fopAcM_otherBgCheck__FPC10fopAc_ac_cPC10fopAc_ac_c(void);
void fopAcM_wayBgCheck__FPC10fopAc_ac_cff(void);
void fopAcM_plAngleCheck__FPC10fopAc_ac_cs(void);
void fopAcM_effSmokeSet1__FPUlPUlPC4cXyzPC5csXyzfPC12dKy_tevstr_ci(void);
void fopAcM_riverStream__FP4cXyzPsPff(void);
void fopAcM_carryOffRevise__FP10fopAc_ac_c(void);
void fopAcM_searchFromName4Event__FPCcs(void);
void fopAcM_GetName__FPv(void); // mostly inlined
void fopAcM_GetID__FPCv(void); // mostly inlined
void fopAcM_GetParam__FPCv(void); // mostly inlined
}
#endif
+7 -3
View File
@@ -1,6 +1,10 @@
#ifndef F_OP_F_OP_ACTOR_TAG_H
#define F_OP_F_OP_ACTOR_TAG_H
#ifndef F_OP_ACTOR_TAG_H_
#define F_OP_ACTOR_TAG_H_
#include "SSystem/SComponent/c_tag.h"
#include "dolphin/types.h"
#endif /* F_OP_F_OP_ACTOR_TAG_H */
// f_op_actor_tag::g_fopAcTg_Queue
extern node_list_class g_fopAcTg_Queue;
#endif
+7 -5
View File
@@ -1,6 +1,8 @@
#ifndef F_OP_F_OP_CAMERA_H
#define F_OP_F_OP_CAMERA_H
#ifndef F_F_OP_CAMERA_H_
#define F_F_OP_CAMERA_H_
#include "dolphin/types.h"
#endif /* F_OP_F_OP_CAMERA_H */
#include "f_op/f_op_camera_mng.h"
static s32 fopCam_Draw(camera_class* param_1);
static void fopCam_Execute(camera_class* pCamera);
int fopCam_IsDelete(camera_class* pCamera);
#endif
+18 -3
View File
@@ -1,6 +1,21 @@
#ifndef F_OP_F_OP_CAMERA_MNG_H
#define F_OP_F_OP_CAMERA_MNG_H
#ifndef F_F_OP_CAMERA_MNG_H_
#define F_F_OP_CAMERA_MNG_H_
#include "dolphin/types.h"
#include "f_op/f_op_draw_tag.h"
#include "f_pc/f_pc_leaf.h"
#endif /* F_OP_F_OP_CAMERA_MNG_H */
class camera_class {
public:
/* 0x000 */ u8 field_0x00[0xB0];
/* 0x0B0 */ u32 parameter;
/* 0x0B4 */ u8 field_0xB4[0x15C];
/* 0x210 */ create_tag_class pCreateTag;
/* 0x224 */ leafdraw_method_class* pMthd;
};
void fopCamM_Management(void);
u32 fopCamM_GetParam(camera_class* pCamera);
void fopCamM_Init(void);
#endif
+8 -4
View File
@@ -1,6 +1,10 @@
#ifndef F_OP_F_OP_DRAW_ITER_H
#define F_OP_F_OP_DRAW_ITER_H
#ifndef F_F_OP_DRAW_ITER_H_
#define F_F_OP_DRAW_ITER_H_
#include "dolphin/types.h"
#include "SSystem/SComponent/c_tag.h"
#endif /* F_OP_F_OP_DRAW_ITER_H */
static create_tag_class* fopDwIt_GetTag(void);
create_tag_class* fopDwIt_Begin(void);
create_tag_class* fopDwIt_Next(create_tag_class* pCreateTag);
#endif
+6 -4
View File
@@ -1,6 +1,8 @@
#ifndef F_OP_F_OP_DRAW_TAG_H
#define F_OP_F_OP_DRAW_TAG_H
#ifndef F_F_OP_DRAW_TAG
#define F_F_OP_DRAW_TAG
#include "dolphin/types.h"
#include "SSystem/SComponent/c_tag.h"
#endif /* F_OP_F_OP_DRAW_TAG_H */
void fopDwTg_DrawQTo(create_tag_class* pTag);
#endif
+11 -3
View File
@@ -1,6 +1,14 @@
#ifndef F_OP_F_OP_KANKYO_MNG_H
#define F_OP_F_OP_KANKYO_MNG_H
#ifndef F_F_OP_KANKYO_MNG_H_
#define F_F_OP_KANKYO_MNG_H_
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
#endif /* F_OP_F_OP_KANKYO_MNG_H */
typedef int (*fopKyMCreateFunc)(void*);
void* fopKyM_CreateAppend(void);
f32* createAppend(int param_1, cXyz* param_2, cXyz* param_3);
void fopKyM_Delete(void* param_1);
void fopKyM_Create(s16 param_1, fopKyMCreateFunc param_2, void* param_3);
#endif
+6 -3
View File
@@ -1,6 +1,9 @@
#ifndef F_OP_F_OP_MSG_MNG_H
#define F_OP_F_OP_MSG_MNG_H
#ifndef F_F_OP_MSG_MNG_H_
#define F_F_OP_MSG_MNG_H_
#include "dolphin/types.h"
#include "f_op/f_op_actor.h"
#endif /* F_OP_F_OP_MSG_MNG_H */
typedef int (*fopMsgCreateFunc)(void*);
#endif
+5 -3
View File
@@ -1,6 +1,8 @@
#ifndef F_OP_F_OP_OVERLAP_H
#define F_OP_F_OP_OVERLAP_H
#ifndef F_F_OP_OVERLAP_H_
#define F_F_OP_OVERLAP_H_
#include "dolphin/types.h"
#endif /* F_OP_F_OP_OVERLAP_H */
static void fopOvlp_Draw(void* param_1);
#endif
+23 -3
View File
@@ -1,6 +1,26 @@
#ifndef F_OP_F_OP_OVERLAP_MNG_H
#define F_OP_F_OP_OVERLAP_MNG_H
#ifndef F_F_OP_OVERLAP_MNG_H_
#define F_F_OP_OVERLAP_MNG_H_
#include "SSystem/SComponent/c_request.h"
#include "dolphin/types.h"
#endif /* F_OP_F_OP_OVERLAP_MNG_H */
class overlap_task_class {
public:
/* 0x00 */ u8 field_0x00[0xC4];
/* 0xC4 */ u8 field_0xc4;
};
int fopOvlpM_SceneIsStop(void);
int fopOvlpM_SceneIsStart(void);
void fopOvlpM_Management(void);
int fopOvlpM_IsOutReq(overlap_task_class* pTaskClass);
void fopOvlpM_Done(overlap_task_class* pTaskClass);
void fopOvlpM_ToldAboutID(unsigned int param_1);
int fopOvlpM_IsPeek(void);
int fopOvlpM_IsDone(void);
int fopOvlpM_IsDoingReq(void);
int fopOvlpM_ClearOfReq(void);
request_base_class* fopOvlpM_Request(s16 param_1, u16 param_2);
int fopOvlpM_Cancel(void);
#endif
+30 -3
View File
@@ -1,6 +1,33 @@
#ifndef F_OP_F_OP_OVERLAP_REQ_H
#define F_OP_F_OP_OVERLAP_REQ_H
#ifndef F_F_OP_OVERLAP_REQ_H_
#define F_F_OP_OVERLAP_REQ_H_
#include "SSystem/SComponent/c_phase.h"
#include "SSystem/SComponent/c_request.h"
#include "dolphin/types.h"
#include "f_pc/f_pc_layer.h"
#endif /* F_OP_F_OP_OVERLAP_REQ_H */
class overlap_request_class {
public:
s8 field_0x0;
u8 field_0x1;
s16 field_0x2;
u16 field_0x4;
u16 mPeektime;
u32 field_0x8;
u32 field_0xc;
s16 field_0x10;
u8 field_0x12;
u8 field_0x13;
int field_0x14;
request_of_phase_process_class field_0x18;
u8* field_0x20;
layer_class* pCurrentLayer;
};
int fopOvlpReq_OverlapClr(overlap_request_class* param_1);
request_base_class* fopOvlpReq_Request(overlap_request_class*, s16, u16);
int fopOvlpReq_Handler(overlap_request_class*);
int fopOvlpReq_Cancel(overlap_request_class*);
static int fopOvlpReq_phase_Done(overlap_request_class* param_1);
int fopOvlpReq_Is_PeektimeLimit(overlap_request_class*);
#endif
+16 -3
View File
@@ -1,6 +1,19 @@
#ifndef F_OP_F_OP_SCENE_H
#define F_OP_F_OP_SCENE_H
#ifndef F_F_OP_SCENE_H_
#define F_F_OP_SCENE_H_
#include "dolphin/types.h"
#include "f_op/f_op_scene_tag.h"
#include "f_pc/f_pc_node.h"
#endif /* F_OP_F_OP_SCENE_H */
class scene_class {
public:
/* 0x000 */ u8 field_0x00;
/* 0x004 */ u32 field_0x04;
/* 0x008 */ u8 field_0x08[0x24];
/* 0x02C */ int* field_0x2C;
/* 0x030 */ u8 field_0x30[0x17C];
/* 0x1AC */ process_method_class* mpProcessMtd;
/* 0x1B0 */ scene_tag_class* field_0x1b0;
};
#endif
+7 -3
View File
@@ -1,6 +1,10 @@
#ifndef F_OP_F_OP_SCENE_ITER_H
#define F_OP_F_OP_SCENE_ITER_H
#ifndef F_F_OP_SCENE_ITER_H_
#define F_F_OP_SCENE_ITER_H_
#include "dolphin/types.h"
#include "f_pc/f_pc_base.h"
#endif /* F_OP_F_OP_SCENE_ITER_H */
typedef void* (*fop_ScnItFunc)(void* pProc, void* pUserData);
void* fopScnIt_Judge(fop_ScnItFunc pFunc1, void* pUserData);
#endif
+12 -4
View File
@@ -1,6 +1,14 @@
#ifndef F_OP_F_OP_SCENE_MNG_H
#define F_OP_F_OP_SCENE_MNG_H
#ifndef F_F_OP_SCENE_MNG_H_
#define F_F_OP_SCENE_MNG_H_
#include "dolphin/types.h"
#include "f_op/f_op_scene_pause.h"
#endif /* F_OP_F_OP_SCENE_MNG_H */
void* fopScnM_SearchByID(unsigned int id);
int fopScnM_ChangeReq(scene_class*, s16, s16, u16);
unsigned int fopScnM_DeleteReq(scene_class*);
int fopScnM_CreateReq(s16, s16, u16, u32);
u32 fopScnM_ReRequest(s16, u32);
void fopScnM_Management(void);
void fopScnM_Init(void);
#endif
+7 -3
View File
@@ -1,6 +1,10 @@
#ifndef F_OP_F_OP_SCENE_PAUSE_H
#define F_OP_F_OP_SCENE_PAUSE_H
#ifndef F_F_OP_SCENE_PAUSE_H_
#define F_F_OP_SCENE_PAUSE_H_
#include "dolphin/types.h"
#include "f_op/f_op_scene.h"
#endif /* F_OP_F_OP_SCENE_PAUSE_H */
int fopScnPause_Enable(scene_class* pScene);
int fopScnPause_Disable(scene_class* pScene);
#endif
+24 -3
View File
@@ -1,6 +1,27 @@
#ifndef F_OP_F_OP_SCENE_REQ_H
#define F_OP_F_OP_SCENE_REQ_H
#ifndef F_F_OP_SCENE_REQ_H_
#define F_F_OP_SCENE_REQ_H_
#include "SSystem/SComponent/c_phase.h"
#include "dolphin/types.h"
#include "f_op/f_op_scene_pause.h"
#include "f_pc/f_pc_node_req.h"
#endif /* F_OP_F_OP_SCENE_REQ_H */
extern "C" {
void fopScnRq_Handler__Fv(void);
void fopScnRq_ReRequest(void);
}
class scene_request_class {
public:
node_create_request mCrtReq;
u32 mFadeRequest;
request_of_phase_process_class mReqPhsProcCls;
u8 field_0x70[4];
};
scene_request_class* fopScnRq_phase_ClearOverlap(scene_request_class* param_1);
s32 fopScnRq_Request(int, scene_class*, s16, void*, s16, u16);
s32 fopScnRq_ReRequest(unsigned int, s16, void*);
void fopScnRq_Handler(void);
#endif
+12 -3
View File
@@ -1,6 +1,15 @@
#ifndef F_OP_F_OP_SCENE_TAG_H
#define F_OP_F_OP_SCENE_TAG_H
#ifndef F_F_OP_SCENE_TAG_H_
#define F_F_OP_SCENE_TAG_H_
#include "dolphin/types.h"
#include "f_pc/f_pc_node.h"
#endif /* F_OP_F_OP_SCENE_TAG_H */
class scene_tag_class;
void fopScnTg_QueueTo(scene_tag_class* pSceneTag);
void fopScnTg_ToQueue(scene_tag_class* pSceneTag);
void fopScnTg_Init(scene_tag_class* pSceneTag, void* pData);
extern node_list_class g_fopScnTg_SceneList;
#endif
+12 -3
View File
@@ -1,6 +1,15 @@
#ifndef F_OP_F_OP_VIEW_H
#define F_OP_F_OP_VIEW_H
#ifndef F_F_OP_VIEW_H_
#define F_F_OP_VIEW_H_
#include "dolphin/types.h"
#include "f_pc/f_pc_leaf.h"
#endif /* F_OP_F_OP_VIEW_H */
class view_class {
public:
/* 0x00 */ u8 field_0x00[0x10];
/* 0x10 */ leafdraw_class* pLeafdraw;
/* 0x14 */ u8 field_0x14[0xac];
/* 0xC0 */ process_method_class* pmProcessMtd;
};
#endif