Begin moving existing actor class defs to headers

This commit is contained in:
LagoLunatic
2023-11-24 13:53:54 -05:00
parent 6c9b6c3c00
commit e69d6ae3f6
26 changed files with 327 additions and 437 deletions
+1 -21
View File
@@ -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
{