mirror of
https://github.com/zeldaret/tp
synced 2026-06-21 08:31:53 -04:00
d_event_debug equivalent & modifications to dEvLib_callback_c (#2359)
* WIP d_event_debug * Implemented most functions close to matching * Removed erroneous comment in d_com_inf_game.h * Implemented getEventP in dEvDtBase_c * Retyped dEvLib_callback_c function returns from BOOL to bool * Implemented getHeader, getEventList, and setDbgData in dEvent_manager_c * Moved relevant dEvDb_* classes from d_event.h to d_event_debug.h and changed to structs * Extended JORFile mFilename character array from 8 to 256 characters * Implemented combo boxes and update slider functionalities in JORMContext * Named field_0xC of JORProperyEvent as id, based on use of field in d_event_debug.cpp * Corrected debug event tables and created missing table * Debug tables explicitly pasted in d_event_debug.cpp to circumvent ShiftJIS not properly encoding tables via #include directive * Change return types for implemented virtual functions of actors that inherit from dEvLib_callback_c * Add const modifier to several d_com_inf_game functions called in d_event_debug, and change respective fields in dEvDb_bit & reg_c to be const * d_event_debug Equivalent * Changed configure.py entry to equivalent instead of matching * Preliminary documentation * Remove debug tables from d_event.cpp
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
||||
/* 80B9D548 */ void move();
|
||||
/* 80B9D72C */ void init_modeWait();
|
||||
/* 80B9D738 */ void modeWait();
|
||||
/* 80B9D998 */ BOOL eventStart();
|
||||
/* 80B9D998 */ bool eventStart();
|
||||
/* 80B9D9BC */ void init_modeDropInit();
|
||||
/* 80B9DA00 */ void modeDropInit();
|
||||
/* 80B9DA44 */ void init_modeDrop();
|
||||
|
||||
@@ -25,7 +25,7 @@ public:
|
||||
/* 80BA0084 */ void setMtx();
|
||||
/* 80BA0208 */ void rotateCheck();
|
||||
/* 80BA045C */ void shotCheck();
|
||||
/* 80BA0964 */ virtual BOOL eventStart();
|
||||
/* 80BA0964 */ virtual bool eventStart();
|
||||
/* 80BA0974 */ int CreateHeap();
|
||||
/* 80BA09E4 */ int Create();
|
||||
/* 80BA0A94 */ int Execute(Mtx** i_mtx);
|
||||
|
||||
@@ -44,7 +44,7 @@ public:
|
||||
/* 80BA1B58 */ void modeWait();
|
||||
/* 80BA1BCC */ void init_modeWaitEvent();
|
||||
/* 80BA1BD8 */ void modeWaitEvent();
|
||||
/* 80BA1C90 */ BOOL eventStart();
|
||||
/* 80BA1C90 */ bool eventStart();
|
||||
/* 80BA1CB4 */ void init_modeClose();
|
||||
/* 80BA1D48 */ void modeClose();
|
||||
/* 80BA1DCC */ void init_modeCloseEvent();
|
||||
|
||||
@@ -29,7 +29,7 @@ public:
|
||||
/* 80C4DBBC */ int Execute(Mtx**);
|
||||
/* 80C4E1B0 */ int Draw();
|
||||
/* 80C4E254 */ int Delete();
|
||||
/* 80C4E298 */ BOOL eventStart();
|
||||
/* 80C4E298 */ bool eventStart();
|
||||
|
||||
int getSwNo() {
|
||||
return fopAcM_GetParamBit(this, 0, 8);
|
||||
|
||||
@@ -25,7 +25,7 @@ public:
|
||||
/* 80C4F048 */ int Execute(Mtx**);
|
||||
/* 80C4F344 */ int Draw();
|
||||
/* 80C4F3E8 */ int Delete();
|
||||
/* 80C4F498 */ BOOL eventStart();
|
||||
/* 80C4F498 */ bool eventStart();
|
||||
|
||||
private:
|
||||
/* 0x5B8 */ Mtx mNewBgMtx;
|
||||
|
||||
@@ -38,7 +38,7 @@ public:
|
||||
/* 80C59AA0 */ virtual int Delete();
|
||||
|
||||
/* 80C59D80 */ virtual ~daLv3Water_c();
|
||||
/* 80C59AE0 */ virtual BOOL eventStart();
|
||||
/* 80C59AE0 */ virtual bool eventStart();
|
||||
|
||||
int getParam() { return fpcM_GetParam(this) >> 0xC & 0x0FFF; }
|
||||
int getParamSw() { return fpcM_GetParam(this) & 0xFF; }
|
||||
|
||||
@@ -31,7 +31,7 @@ public:
|
||||
/* 80C5ACE4 */ void mode_proc_levelCtrl();
|
||||
/* 80C5ADA4 */ int Draw();
|
||||
/* 80C5AEFC */ int Delete();
|
||||
/* 80C5AF3C */ BOOL eventStart();
|
||||
/* 80C5AF3C */ bool eventStart();
|
||||
|
||||
private:
|
||||
/* 0x5B8 */ request_of_phase_process_class mPhase;
|
||||
|
||||
@@ -40,7 +40,7 @@ public:
|
||||
int getEventID() { return fopAcM_GetParamBit(this, 0x18, 8); }
|
||||
|
||||
/* 80C5D184 */ virtual ~dalv4CandleDemoTag_c();
|
||||
/* 80C5CF78 */ virtual BOOL eventStart();
|
||||
/* 80C5CF78 */ virtual bool eventStart();
|
||||
|
||||
private:
|
||||
/* 0x584 */ u8 mMode;
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
/* 80CFC6AC */ void modeOffWait();
|
||||
/* 80CFCA34 */ void init_modeOnWait();
|
||||
/* 80CFCA40 */ void modeOnWait();
|
||||
/* 80CFCCE0 */ BOOL eventStart();
|
||||
/* 80CFCCE0 */ bool eventStart();
|
||||
/* 80CFD034 */ virtual ~daObjSwHang_c() {}
|
||||
|
||||
daObjSwHang_c() : dEvLib_callback_c(this) {}
|
||||
|
||||
@@ -29,7 +29,7 @@ public:
|
||||
/* 80D02C54 */ void move();
|
||||
/* 80D02E70 */ void init_modeWait();
|
||||
/* 80D02E7C */ void modeWait();
|
||||
/* 80D02F88 */ BOOL eventStart();
|
||||
/* 80D02F88 */ bool eventStart();
|
||||
/* 80D02FB8 */ void init_modeDropInit();
|
||||
/* 80D03070 */ void modeDropInit();
|
||||
/* 80D030A8 */ static void* searchWaterPillar(void*, void*);
|
||||
|
||||
@@ -107,7 +107,7 @@ public:
|
||||
/* 80D23904 */ int draw();
|
||||
/* 80D23A0C */ int _delete();
|
||||
|
||||
/* 80D22DDC */ virtual BOOL eventStart();
|
||||
/* 80D22DDC */ virtual bool eventStart();
|
||||
/* 80D23B24 */ virtual ~daObjVolcBall_c() {}
|
||||
|
||||
u8 getSwBit() { return fopAcM_GetParamBit(this, 0, 8); }
|
||||
|
||||
@@ -34,7 +34,7 @@ public:
|
||||
/* 80D2D278 */ void effectSet2();
|
||||
/* 80D2D3FC */ void actionSwWaitInit();
|
||||
/* 80D2D408 */ void actionSwWait();
|
||||
/* 80D2D488 */ virtual BOOL eventStart();
|
||||
/* 80D2D488 */ virtual bool eventStart();
|
||||
/* 80D2D4AC */ void actionWaitInit();
|
||||
/* 80D2D588 */ void actionWait();
|
||||
/* 80D2D5C0 */ void actionUpFirstInit();
|
||||
|
||||
Reference in New Issue
Block a user