mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-11 14:38:38 -04:00
d_a_shutter2 100% (#692)
* d_a_shutter_2 100% - Code should be consistent with `d_a_shutter` - A couple of variables still remain unnamed * fixed issue in configure.py, git related * forgot to set to matching * weak function ordering in fine, removed param * merged decleration and instantiation of minVel, maxVel * PR changes _create() still has me stumped. You would think that the return after that if statement would be `return cPhs_COMPLEATE_e;` but it just, doesn't exist? Adding any sort of return statement causes it not to match. Potential bug forgotten by the devs maybe?
This commit is contained in:
@@ -1,22 +1,54 @@
|
||||
#ifndef D_A_SHUTTER2_H
|
||||
#define D_A_SHUTTER2_H
|
||||
|
||||
#include "f_op/f_op_actor.h"
|
||||
#include "d/d_bg_s_movebg_actor.h"
|
||||
|
||||
class daShutter2_c : public fopAc_ac_c {
|
||||
class daShutter2_c : public dBgS_MoveBgActor {
|
||||
public:
|
||||
BOOL Delete();
|
||||
void CreateHeap();
|
||||
s32 Create();
|
||||
int CreateHeap();
|
||||
int Create();
|
||||
s32 _create();
|
||||
void set_mtx();
|
||||
void Execute(float(**)[3][4]);
|
||||
int Execute(Mtx**);
|
||||
void shutter_move();
|
||||
void demo();
|
||||
BOOL Draw();
|
||||
|
||||
/* 0x00 */ static const float m_max_speed[1];
|
||||
/* 0x04 */ static const float m_min_speed[1];
|
||||
/* 0x08 */ static const float m_move_len[1];
|
||||
/* 0x0C */ static const float m_width[1];
|
||||
/* 0x10 */ static const float m_height[1];
|
||||
/* 0x14 */ static const s16 m_bdlidx[1];
|
||||
/* 0x16 */ static const s16 m_dzbidx[1];
|
||||
/* 0x18 */ static const s32 m_heapsize[1];
|
||||
/* 0x1C */ static const Vec m_cull_min[1];
|
||||
/* 0x28 */ static const Vec m_cull_max[1];
|
||||
|
||||
static char* m_arcname[1];
|
||||
static char* m_open_ev_name[1];
|
||||
static char* m_close_ev_name[1];
|
||||
static char* m_staff_name[1];
|
||||
|
||||
public:
|
||||
/* Place member variables here */
|
||||
/* 0x2C8 */ request_of_phase_process_class mPhs;
|
||||
/* 0x2D0 */ J3DModel* mpModel;
|
||||
/* 0x2D4 */ Mtx mMtx;
|
||||
/* 0x304 */ s32 mActionIndex;
|
||||
/* 0x308 */ s32 mSwitchNo;
|
||||
/* 0x30C */ s32 m30C;
|
||||
/* 0x310 */ s32 mStaffId;
|
||||
/* 0x314 */ s16 mOpenEventIdx;
|
||||
/* 0x316 */ s16 mCloseEventIdx;
|
||||
/* 0x318 */ u8 m318;
|
||||
/* 0x319 */ u8 mType;
|
||||
/* 0x31A */ u8 mbIsSwitch;
|
||||
/* 0x31B */ u8 mbIsNearEnemy;
|
||||
};
|
||||
|
||||
namespace daShutter2_prm {
|
||||
inline u8 getSwitchNo(daShutter2_c* item) { return (fopAcM_GetParam(item) >> 0) & 0xFF; }
|
||||
}
|
||||
|
||||
#endif /* D_A_SHUTTER2_H */
|
||||
|
||||
Reference in New Issue
Block a user