A few f_pc files (#26)

* f_pc_base, one non matching

* some of f_pc_manager

* f_pc_node OK

* f_pc_pause partly

* started node_req

* more progress

* most of node req

* delete unused asm

* node req header and param names

* param renaming

* header for manager

* review comment struct names

* fpcM_Management OK

* int -> s32

* merge master

* most of f_pc_create_iter

* f_pc_stdcreate_req OK

* f_pc_fstcreate OK

* f_pc_leaf OK

* f_pc_draw OK

* f_pc_deletor partly

* fix parameter type in f_pc_pause

* review

* review, use cPh enum and fix process_profile_definition struct

* convert f_pc files to C

* matched more functions

* fix global.h

* fix variable types

* format

* mpre Phs enum

* fix merge errors

* fix gamepad stopPatternedRumble

* format

* delete leftover files from merge

* move asm to correct folder

* revert f_pc from C to CPP

* remove C hacks and format

* format

* OK
This commit is contained in:
lepelog
2020-12-31 15:12:29 -05:00
committed by GitHub
parent 992cf48c7f
commit 0555115de8
94 changed files with 1840 additions and 2646 deletions
+10 -4
View File
@@ -11,6 +11,10 @@ public:
private:
};
class dDlst_peekZ_c {
u8 unk[4];
}; // actual size unknown!!!
class dDlst_list_c {
public:
static u32 mWipeColor;
@@ -18,8 +22,10 @@ public:
static u32 mWipeRate;
static u32 mWipeSpeed;
private:
u8 unk[0x161A0];
};
// private:
/* 0x00000 */ u8 unk[0x16180];
/* 0x16180 */ dDlst_peekZ_c dlstPeekZ;
/* 0x16184 */ u8 unk_0x16194[0x1C];
}; // Size: 0x161A0
#endif D_DRAWLIST_H_
#endif D_DRAWLIST_H_
+3 -8
View File
@@ -1,4 +1,5 @@
#include "JSystem/JKernel/JKRAramArchive/JKRAramArchive.h"
#include "SComponent/c_xyz.h"
#include "global.h"
struct STControl_vtable {
@@ -67,12 +68,6 @@ u32 dLib_getEventSwitchNo(int param_1);
struct fopAc_ac_c;
struct cXyz {
f32 x;
f32 y;
f32 z;
};
bool dLib_checkActorInRectangle(fopAc_ac_c* param_1, fopAc_ac_c* param_2, cXyz const* param_3,
cXyz const* param_4);
@@ -81,6 +76,6 @@ u32 dLib_getExpandSizeFromAramArchive(JKRAramArchive* param_1, char const* param
class dLib_time_c {
public:
s64 getTime(void);
void stopTime(void);
void startTime(void);
static void stopTime(void);
static void startTime(void);
};
+1 -6
View File
@@ -1,6 +1,7 @@
#ifndef __D_SAVE_H_
#define __D_SAVE_H_
#include "SComponent/c_xyz.h"
#include "dolphin/types.h"
#include "global.h"
@@ -375,12 +376,6 @@ private:
u8 padding[3];
};
// move to SComponent later
class cXyz {
public:
float x, y, z;
};
class dSv_horse_place_c {
public:
void init(void);