Files
tp/include/d/d_lib/d_lib.h
T
lepelog 0555115de8 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
2020-12-31 15:12:29 -05:00

81 lines
1.8 KiB
C++

#include "JSystem/JKernel/JKRAramArchive/JKRAramArchive.h"
#include "SComponent/c_xyz.h"
#include "global.h"
struct STControl_vtable {
void* addr_1;
void* addr_2;
void* addr_3;
void* addr_4;
};
struct STControl {
STControl(s16 param_1, s16 param_2, s16 param_3, s16 param_4, f32 param_5, f32 param_6,
s16 param_7, s16 param_8);
void setWaitParm(s16 param_1, s16 param_2, s16 param_3, s16 param_4, f32 param_5, f32 param_6,
s16 param_7, s16 param_8);
STControl* init(void);
void Xinit(void);
void Yinit(void);
double getValueStick();
s16 getAngleStick();
u32 checkTrigger();
bool checkLeftTrigger();
bool checkRightTrigger();
bool checkUpTrigger();
bool checkDownTrigger();
STControl_vtable* __vt;
f32 field_0x4;
f32 field_0x8;
u8 field_0xc;
u8 field_0xd;
s16 field_0xe;
s16 field_0x10;
s16 field_0x12;
s16 field_0x14;
s16 field_0x16;
s16 field_0x18;
s16 field_0x1a;
s16 field_0x1c;
s16 field_0x1e;
s16 field_0x20;
s16 field_0x22;
s16 field_0x24;
s16 field_0x26;
s16 field_0x28;
s16 field_0x2a;
s16 field_0x2c;
};
struct CSTControl {
double getValueStick();
s16 getAngleStick();
};
struct m_cpadInfo {
u8 p1[0x8];
f32 stickValue;
s16 stickAngle;
u8 p2[0x8];
f32 CstickValue;
s16 CstickAngle;
u8 p3[0xE2];
};
u32 dLib_getEventSwitchNo(int param_1);
struct fopAc_ac_c;
bool dLib_checkActorInRectangle(fopAc_ac_c* param_1, fopAc_ac_c* param_2, cXyz const* param_3,
cXyz const* param_4);
u32 dLib_getExpandSizeFromAramArchive(JKRAramArchive* param_1, char const* param_2);
class dLib_time_c {
public:
s64 getTime(void);
static void stopTime(void);
static void startTime(void);
};