get some more d TUs to compile

This commit is contained in:
LagoLunatic
2023-12-22 14:24:50 -05:00
parent 5bfb7b1823
commit e251cbabc2
13 changed files with 102 additions and 48 deletions
+7
View File
@@ -16,6 +16,13 @@ public:
void MoveDownLift();
BOOL _draw();
void checkEndDownLift();
void MoveUpLift();
static const f32 m_height;
static const f32 m_max_speed;
static const f32 m_min_speed;
public:
/* Place member variables here */
};
+51 -5
View File
@@ -2,18 +2,28 @@
#define D_CAM_PARAM_H
#include "dolphin/types.h"
#include "SSystem/SComponent/c_angle.h"
struct dCamera__Style;
class dCstick_c {
public:
/* 0x00 */ f32 m00;
/* 0x04 */ f32 m04;
/* 0x08 */ u32 m08;
/* 0x0C */ u8 m0C[0x10 - 0x0C];
/* 0x10 */ void* vtbl;
public:
dCstick_c();
virtual ~dCstick_c() {}
void Shift(u32);
};
class dCamBGChk_c {
public:
dCamBGChk_c();
public:
/* 0x00 */ f32 m00;
/* 0x04 */ f32 m04;
/* 0x08 */ f32 m08;
@@ -41,6 +51,7 @@ class dCamBGChk_c {
};
class dCamSetup_c {
public:
/* 0x000 */ f32 m000;
/* 0x004 */ f32 m004;
/* 0x008 */ u16 m008;
@@ -92,17 +103,52 @@ class dCamSetup_c {
/* 0x0C0 */ f32 m0C0;
/* 0x0C4 */ f32 m0C4;
/* 0x0C8 */ u32 m0C8;
/* 0x0CC */ void* vtbl;
public:
dCamSetup_c();
virtual ~dCamSetup_c();
void CheckLatitudeRange(s16*);
void FanBank();
public:
/* 0x0D0 */ dCstick_c mCstick;
/* 0x0E4 */ dCamBGChk_c mBGChk;
};
class dCamParam_c {
void Flag(s32, u16);
void Val(s32, int);
public:
/* 0x0 */ dCamera__Style* mpStyle;
/* 0x4 */ int mStyleIdx;
/* 0x8 */ void* vtbl;
public:
dCamParam_c(s32);
virtual ~dCamParam_c();
void Flag(s32, u16);
void Val(s32, int);
void Change(s32);
void SearchStyle(u32);
void ratiof(f32, f32, f32, f32);
void DefaultRadius(f32*);
void RadiusRatio(f32);
void CenterHeight(f32);
void Fovy(f32);
void LockonLongitude(f32);
void LockonLatitude(f32);
void LockonFovy(f32);
void LockonCenterHeight(f32);
};
class dCamMath {
public:
void rationalBezierRatio(f32, f32);
void customRBRatio(f32, f32);
void zoomFovy(f32, f32);
void xyzRotateX(cXyz&, cSAngle);
void xyzRotateY(cXyz&, cSAngle);
void xyzHorizontalDistance(cXyz&, cXyz&);
void xyzProjPosOnYZ(cSAngle, cXyz&, cXyz&);
};
#endif /* D_CAM_PARAM_H */
+9
View File
@@ -26,6 +26,15 @@ public:
virtual void setup(f32, u8, int);
};
class dMagma_ballBoss_c : public dMagma_ball_c {
public:
dMagma_ballBoss_c();
virtual ~dMagma_ballBoss_c();
virtual void calc(f32, u8, int);
virtual void update();
virtual void setup(f32, u8, int);
};
class dMagma_floor_c {
public:
~dMagma_floor_c();
+5 -1
View File
@@ -3,9 +3,13 @@
// Translation Unit: d_a_leaflift_static.cpp
//
#include "d/actor/d_a_leaflift_static.h"
#include "d/actor/d_a_leaflift.h"
#include "dolphin/types.h"
const f32 daLlift_c::m_height = 560.0f;
const f32 daLlift_c::m_max_speed = 10.0f;
const f32 daLlift_c::m_min_speed = 5.0f;
/* 800690E4-80069100 .text checkEndDownLift__9daLlift_cFv */
void daLlift_c::checkEndDownLift() {
/* Nonmatching */
+1
View File
@@ -3,3 +3,4 @@
// Translation Unit: d_att_dist.cpp
//
#include "d/d_attention.h"
+3 -3
View File
@@ -3,11 +3,11 @@
// Translation Unit: d_boss_magma.cpp
//
#include "d_boss_magma.h"
#include "d/d_magma.h"
#include "dolphin/types.h"
/* 80076B00-80076CDC .text calc__17dMagma_ballBoss_cFfUci */
void dMagma_ballBoss_c::calc(float, unsigned char, int) {
void dMagma_ballBoss_c::calc(f32, u8, int) {
/* Nonmatching */
}
@@ -22,7 +22,7 @@ void b_a_sub(void*, void*) {
}
/* 80076D9C-80076FEC .text setup__17dMagma_ballBoss_cFfUci */
void dMagma_ballBoss_c::setup(float, unsigned char, int) {
void dMagma_ballBoss_c::setup(f32, u8, int) {
/* Nonmatching */
}
+18 -25
View File
@@ -3,21 +3,20 @@
// Translation Unit: d_cam_param.cpp
//
#include "d_cam_param.h"
#include "dolphin/types.h"
#include "d/d_cam_param.h"
/* 800AF384-800AF4F4 .text rationalBezierRatio__8dCamMathFff */
void dCamMath::rationalBezierRatio(float, float) {
void dCamMath::rationalBezierRatio(f32, f32) {
/* Nonmatching */
}
/* 800AF4F4-800AF544 .text customRBRatio__8dCamMathFff */
void dCamMath::customRBRatio(float, float) {
void dCamMath::customRBRatio(f32, f32) {
/* Nonmatching */
}
/* 800AF544-800AF5A0 .text zoomFovy__8dCamMathFff */
void dCamMath::zoomFovy(float, float) {
void dCamMath::zoomFovy(f32, f32) {
/* Nonmatching */
}
@@ -47,7 +46,7 @@ dCstick_c::dCstick_c() {
}
/* 800AF838-800AF840 .text Shift__9dCstick_cFUl */
void dCstick_c::Shift(unsigned long) {
void dCstick_c::Shift(u32) {
/* Nonmatching */
}
@@ -57,7 +56,7 @@ dCamBGChk_c::dCamBGChk_c() {
}
/* 800AF8F4-800AF930 .text __ct__11dCamParam_cFl */
dCamParam_c::dCamParam_c(long) {
dCamParam_c::dCamParam_c(s32) {
/* Nonmatching */
}
@@ -67,57 +66,57 @@ dCamParam_c::~dCamParam_c() {
}
/* 800AF978-800AF9BC .text Change__11dCamParam_cFl */
void dCamParam_c::Change(long) {
void dCamParam_c::Change(s32) {
/* Nonmatching */
}
/* 800AF9BC-800AFA04 .text SearchStyle__11dCamParam_cFUl */
void dCamParam_c::SearchStyle(unsigned long) {
void dCamParam_c::SearchStyle(u32) {
/* Nonmatching */
}
/* 800AFA04-800AFAA4 .text ratiof__11dCamParam_cFffff */
void dCamParam_c::ratiof(float, float, float, float) {
void dCamParam_c::ratiof(f32, f32, f32, f32) {
/* Nonmatching */
}
/* 800AFAA4-800AFB00 .text DefaultRadius__11dCamParam_cFPf */
void dCamParam_c::DefaultRadius(float*) {
void dCamParam_c::DefaultRadius(f32*) {
/* Nonmatching */
}
/* 800AFB00-800AFB88 .text RadiusRatio__11dCamParam_cFf */
void dCamParam_c::RadiusRatio(float) {
void dCamParam_c::RadiusRatio(f32) {
/* Nonmatching */
}
/* 800AFB88-800AFBB8 .text CenterHeight__11dCamParam_cFf */
void dCamParam_c::CenterHeight(float) {
void dCamParam_c::CenterHeight(f32) {
/* Nonmatching */
}
/* 800AFBB8-800AFBE8 .text Fovy__11dCamParam_cFf */
void dCamParam_c::Fovy(float) {
void dCamParam_c::Fovy(f32) {
/* Nonmatching */
}
/* 800AFBE8-800AFC74 .text LockonLongitude__11dCamParam_cFf */
void dCamParam_c::LockonLongitude(float) {
void dCamParam_c::LockonLongitude(f32) {
/* Nonmatching */
}
/* 800AFC74-800AFD00 .text LockonLatitude__11dCamParam_cFf */
void dCamParam_c::LockonLatitude(float) {
void dCamParam_c::LockonLatitude(f32) {
/* Nonmatching */
}
/* 800AFD00-800AFD20 .text LockonFovy__11dCamParam_cFf */
void dCamParam_c::LockonFovy(float) {
void dCamParam_c::LockonFovy(f32) {
/* Nonmatching */
}
/* 800AFD20-800AFD40 .text LockonCenterHeight__11dCamParam_cFf */
void dCamParam_c::LockonCenterHeight(float) {
void dCamParam_c::LockonCenterHeight(f32) {
/* Nonmatching */
}
@@ -132,7 +131,7 @@ dCamSetup_c::~dCamSetup_c() {
}
/* 800AFF40-800AFFB0 .text CheckLatitudeRange__11dCamSetup_cFPs */
void dCamSetup_c::CheckLatitudeRange(short*) {
void dCamSetup_c::CheckLatitudeRange(s16*) {
/* Nonmatching */
}
@@ -140,9 +139,3 @@ void dCamSetup_c::CheckLatitudeRange(short*) {
void dCamSetup_c::FanBank() {
/* Nonmatching */
}
/* 800B0004-800B004C .text __dt__9dCstick_cFv */
dCstick_c::~dCstick_c() {
/* Nonmatching */
}
+1 -2
View File
@@ -3,6 +3,5 @@
// Translation Unit: d_cam_style.cpp
//
#include "d_cam_style.h"
#include "dolphin/types.h"
#include "d/d_cam_param.h"
+1 -2
View File
@@ -3,6 +3,5 @@
// Translation Unit: d_cam_type.cpp
//
#include "d_cam_type.h"
#include "dolphin/types.h"
#include "d/d_camera.h"
+1 -2
View File
@@ -3,6 +3,5 @@
// Translation Unit: d_cam_type2.cpp
//
#include "d_cam_type2.h"
#include "dolphin/types.h"
#include "d/d_camera.h"
+1 -1
View File
@@ -13,7 +13,7 @@
class camera_process_class;
/* 80161790-801618B8 .text __ct__9dCamera_cFP12camera_class */
dCamera_c::dCamera_c(camera_class*) {
dCamera_c::dCamera_c(camera_class*) : mCamParam(0) {
/* Nonmatching */
}
+3 -5
View File
@@ -324,11 +324,9 @@ dDemo_manager_c::~dDemo_manager_c() {
}
/* 8006AEFC-8006AF5C .text __dt__14dMesg_tControlFv */
/*
dMesg_tControl::~dMesg_tControl() {
/* Nonmatching */
}
*/
// dMesg_tControl::~dMesg_tControl() {
// /* Nonmatching */
// }
/* 8006AF5C-8006AFBC .text __dt__14dDemo_system_cFv */
dDemo_system_c::~dDemo_system_c() {}
+1 -2
View File
@@ -3,5 +3,4 @@
// Translation Unit: d_vib_pattern.cpp
//
#include "d_vib_pattern.h"
#include "dolphin/types.h"
#include "d/d_vibration.h"