Files
tp/include/d/actor/d_a_obj_Y_taihou.h
T
HuitziandGitHub 4ccca6b893 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
2025-03-30 20:11:50 -07:00

59 lines
1.7 KiB
C++

#ifndef D_A_OBJ_Y_TAIHOU_H
#define D_A_OBJ_Y_TAIHOU_H
#include "d/d_bg_s_movebg_actor.h"
#include "d/actor/d_a_obj_carry.h"
#include "d/d_event_lib.h"
/**
* @ingroup actors-objects
* @class daObjYtaihou_c
* @brief Snowpeak Ruins Cannon
*
* @details
*
*/
class daObjYtaihou_c : public dBgS_MoveBgActor, public request_of_phase_process_class, public dEvLib_callback_c {
public:
daObjYtaihou_c() : dEvLib_callback_c(this) { mIronBallId = -1; }
/* 80B9FDE8 */ int create1st();
/* 80B9FEB0 */ void setIronBall(daObjCarry_c*);
/* 80B9FF08 */ int getEvent(u8);
/* 80B9FF1C */ void loadAngle();
/* 80B9FFAC */ void saveAngle();
/* 80BA0060 */ void setNextAngle();
/* 80BA0084 */ void setMtx();
/* 80BA0208 */ void rotateCheck();
/* 80BA045C */ void shotCheck();
/* 80BA0964 */ virtual bool eventStart();
/* 80BA0974 */ int CreateHeap();
/* 80BA09E4 */ int Create();
/* 80BA0A94 */ int Execute(Mtx** i_mtx);
/* 80BA0B4C */ int Draw();
/* 80BA0C1C */ int Delete();
/* 80BA0FA4 */ ~daObjYtaihou_c() {}
void setAddAngle(s8 add_angle) { mAddAngle = add_angle; }
s32 getIronBallId() { return mIronBallId; }
void startBomb() { mStartBomb = 0xffff; }
private:
/* 0x5b8 */ Mtx mMtx;
/* 0x5e8 */ J3DModel* mpModel;
/* 0x5ec */ dCcD_Stts mStts;
/* 0x628 */ dCcD_Cyl mCyl;
/* 0x764 */ s32 mIronBallId;
/* 0x768 */ u32 mParticleKeys[2];
/* 0x770 */ s16 mStartBomb;
/* 0x772 */ s16 field_0x772;
/* 0x774 */ s8 field_0x774;
/* 0x775 */ u8 field_0x775;
/* 0x776 */ s8 mAddAngle;
/* 0x777 */ s8 mOldAddAngle;
};
STATIC_ASSERT(sizeof(daObjYtaihou_c) == 0x778);
#endif /* D_A_OBJ_Y_TAIHOU_H */