mirror of
https://github.com/zeldaret/tp
synced 2026-07-11 15:28:38 -04:00
some c_m3d (#97)
* decompiled some bgs_chk funcs * c_m3d_g * c_math progress * remove duplicate SComponent headers * move some variables and decompile a function * some inlined from debug * cM3d_2PlaneLinePosNearPos * fix fabsf and decompile cM3d_CrawVec * format * cleanup * more cleanup Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
@@ -3,32 +3,18 @@
|
||||
#include "SComponent/c_m3d_g_cir.h"
|
||||
|
||||
// __ct__8cM3dGCirFv
|
||||
// cM3dGCir::cM3dGCir(void)
|
||||
asm cM3dGCir::cM3dGCir(void) {
|
||||
nofralloc
|
||||
#include "SComponent/c_m3d_g_cir/asm/func_8026EEB4.s"
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
cM3dGCir::cM3dGCir(void) {}
|
||||
|
||||
// inlined here
|
||||
// __dt__8cM2dGCirFv
|
||||
// cM2dGCir::~cM2dGCir(void)
|
||||
asm void __dt__8cM2dGCirFv(void) {
|
||||
nofralloc
|
||||
#include "SComponent/c_m3d_g_cir/asm/func_8026EED0.s"
|
||||
}
|
||||
}
|
||||
|
||||
// __dt__8cM3dGCirFv
|
||||
// cM3dGCir::~cM3dGCir(void)
|
||||
asm cM3dGCir::~cM3dGCir(void) {
|
||||
nofralloc
|
||||
#include "SComponent/c_m3d_g_cir/asm/func_8026EF18.s"
|
||||
}
|
||||
cM3dGCir::~cM3dGCir(void) {}
|
||||
|
||||
// Set__8cM3dGCirFffff
|
||||
// cM3dGCir::Set(float, float, float, float)
|
||||
asm void cM3dGCir::Set(float, float, float, float) {
|
||||
nofralloc
|
||||
#include "SComponent/c_m3d_g_cir/asm/func_8026EF74.s"
|
||||
void cM3dGCir::Set(f32 pPosX, f32 pPosY, f32 pPosZ, f32 pRadius) {
|
||||
mPosX = pPosX;
|
||||
mPosY = pPosY;
|
||||
mRadius = pRadius;
|
||||
mPosZ = pPosZ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user