mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-06 09:52:38 -04:00
Begin moving existing actor class defs to headers
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// Translation Unit: d_a_swattack.cpp
|
||||
//
|
||||
|
||||
#include "d/actor/d_a_swattack.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
@@ -10,27 +11,6 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_procname.h"
|
||||
|
||||
class daSwAt_c : public fopAc_ac_c {
|
||||
public:
|
||||
s32 _create();
|
||||
bool _execute();
|
||||
bool _draw();
|
||||
bool _delete();
|
||||
void CreateInit();
|
||||
|
||||
public:
|
||||
/* 0x290 */ u32 field_0x290[3];
|
||||
/* 0x29C */ dCcD_Stts mStts;
|
||||
/* 0x2D8 */ dCcD_Cyl mCyl;
|
||||
/* 0x408 */ u8 mAtType;
|
||||
/* 0x40C */ u32 mSwitchNo;
|
||||
};
|
||||
|
||||
namespace daSwAt_prm {
|
||||
inline u8 getAtType(daSwAt_c* ac) { return (fopAcM_GetParam(ac) >> 0) & 0xFF; }
|
||||
inline u8 getSwitchNo(daSwAt_c* ac) { return (fopAcM_GetParam(ac) >> 8) & 0xFF; }
|
||||
};
|
||||
|
||||
static dCcD_SrcCyl l_cyl_src = {
|
||||
// dCcD_SrcGObjInf
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user