mirror of
https://github.com/zeldaret/tp
synced 2026-06-03 10:31:57 -04:00
Misc matches (#2845)
* Misc debug matches * Fix d_map weak function order * Remove old nonmatching comments * d_menu_dmap and JASAudioThread OK, fix weak func order and rodata alignment * More misc matches
This commit is contained in:
@@ -90,8 +90,8 @@ public:
|
||||
/* 802FF320 */ virtual void prepend(JUTTexture* param_0, f32 param_1) {
|
||||
insert(param_0, 0, param_1);
|
||||
}
|
||||
/* 801BDD70 */ virtual bool insert(ResTIMG const*, u8, f32) {
|
||||
// NONMATCHING
|
||||
/* 801BDD70 */ virtual bool insert(ResTIMG const* param_0, u8 param_1, f32 param_2) {
|
||||
return insert(param_0, NULL, param_1, param_2);
|
||||
}
|
||||
/* 802FD168 */ virtual bool insert(ResTIMG const*, JUTPalette*, u8, f32);
|
||||
/* 80020368 */ virtual bool insert(char const* param_0, u8 param_1, f32 param_2) {
|
||||
|
||||
@@ -93,11 +93,7 @@ struct TAdaptor_sound : public JStudio::TAdaptor_sound {
|
||||
|
||||
void set_bPermit_onExit_notEnd_(bool param_1) { field_0x11c = param_1; }
|
||||
|
||||
#ifndef NONMATCHING
|
||||
static TVVOSetValue_ saoVVOSetValue_[6];
|
||||
#else
|
||||
static u8 saoVVOSetValue_[72];
|
||||
#endif
|
||||
|
||||
/* 0x114 */ TCreateObject* pCreateObject_;
|
||||
/* 0x118 */ JAISoundHandle opJAISoundHandle_;
|
||||
|
||||
@@ -30,9 +30,12 @@
|
||||
#define JUT_LOG(LINE, ...) \
|
||||
JUTAssertion::setLogMessage_f(JUTAssertion::getSDevice(), __FILE__, LINE, __VA_ARGS__)
|
||||
|
||||
#define JUT_CONFIRM(LINE, COND) \
|
||||
#define JUT_SET_CONFIRM(LINE, COND) \
|
||||
JUTAssertion::setConfirmMessage(JUTAssertion::getSDevice(), __FILE__, LINE, COND, #COND)
|
||||
|
||||
#define JUT_CONFIRM(LINE, COND) \
|
||||
JUT_SET_CONFIRM(LINE, COND)
|
||||
|
||||
#else
|
||||
#define JUT_ASSERT(...) (void)0;
|
||||
#define JUT_ASSERT_MSG(...) (void)0;
|
||||
|
||||
@@ -50,18 +50,11 @@ public:
|
||||
dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[354]);
|
||||
}
|
||||
|
||||
void setAction(Mode_e i_action) {
|
||||
mMode = i_action;
|
||||
mAction = ActionTable[mMode];
|
||||
inline void setAction(Mode_e i_action);
|
||||
inline void callInit();
|
||||
inline void callExecute();
|
||||
|
||||
callInit();
|
||||
}
|
||||
|
||||
void callInit() { (this->*mAction[0])(); }
|
||||
|
||||
void callExecute() { (this->*mAction[1])(); }
|
||||
|
||||
static actionFunc ActionTable[][2];
|
||||
static const actionFunc ActionTable[][2];
|
||||
|
||||
private:
|
||||
/* 0x568 */ J3DModel* mpModel;
|
||||
|
||||
@@ -32,12 +32,7 @@ class dDlst_base_c {
|
||||
public:
|
||||
dDlst_base_c() {}
|
||||
|
||||
// hack, remove later
|
||||
#ifdef NO_INLINE_DLSTBASE_DRAW
|
||||
virtual void draw();
|
||||
#else
|
||||
virtual void draw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
class dDlst_snapShot_c : public dDlst_base_c {
|
||||
|
||||
@@ -25,7 +25,6 @@ struct dMenu_DmapMapCtrl_c;
|
||||
class renderingDmap_c : public renderingPlusDoor_c {
|
||||
public:
|
||||
/* 801C0380 */ virtual ~renderingDmap_c() {}
|
||||
/* 801C051C */ renderingDmap_c() {}
|
||||
|
||||
/* 801C0C48 */ virtual const GXColor* getColor(int);
|
||||
/* 801C0C10 */ virtual int getLineWidth(int);
|
||||
|
||||
@@ -204,7 +204,6 @@ public:
|
||||
|
||||
class dMenu_DmapMapCtrl_c : public dMenu_StageMapCtrl_c {
|
||||
public:
|
||||
/* 801BD144 */ virtual ~dMenu_DmapMapCtrl_c() {}
|
||||
/* 801C2028 */ virtual bool isEnableZoomMove() const;
|
||||
/* 801C1B14 */ virtual void calcZoomCenter(f32*, f32*);
|
||||
/* 801C2598 */ virtual void getInitWholeMapScale(f32*, f32, f32, f32, f32);
|
||||
|
||||
@@ -182,7 +182,7 @@ public:
|
||||
u16 getSelectNum() { return query005(NULL, NULL, 0); }
|
||||
int getChoiceNo() { return (s16)mChoiceNo; }
|
||||
void setMsg(u32 msg) { mMsg = msg; }
|
||||
bool checkEndFlow() { return field_0x26 == 1; }
|
||||
bool checkEndFlow() { return (u32)field_0x26 == 1; }
|
||||
|
||||
static queryFunc mQueryList[53];
|
||||
static eventFunc mEventList[43];
|
||||
|
||||
+1
-2
@@ -4,7 +4,6 @@
|
||||
#include "SSystem/SComponent/c_lib.h"
|
||||
#include "d/d_kankyo.h"
|
||||
#include "d/d_kankyo_data.h"
|
||||
#include "d/d_map_path_dmap.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -217,7 +216,7 @@ struct stage_tgsc_class {
|
||||
// MPAT
|
||||
struct map_path_class {
|
||||
/* 0x0 */ int num;
|
||||
/* 0x4 */ dDrawPath_c::room_class* m_entries;
|
||||
/* 0x4 */ void* m_entries;
|
||||
};
|
||||
|
||||
// RTBL
|
||||
|
||||
Reference in New Issue
Block a user