summaryrefslogtreecommitdiff
path: root/src/d/d_throwstone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_throwstone.cpp')
-rw-r--r--src/d/d_throwstone.cpp18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/d/d_throwstone.cpp b/src/d/d_throwstone.cpp
index eb12db2e..13fd1a69 100644
--- a/src/d/d_throwstone.cpp
+++ b/src/d/d_throwstone.cpp
@@ -3,6 +3,7 @@
// Translation Unit: d_throwstone.cpp
//
+#include "d/d_throwstone.h"
#include "f_op/f_op_actor.h"
#include "f_op/f_op_actor_mng.h"
#include "d/d_com_inf_game.h"
@@ -11,21 +12,6 @@
#include "m_Do/m_Do_mtx.h"
#include "JSystem/JKernel/JKRHeap.h"
-class daThrowstone_c : fopAc_ac_c {
-public:
- s32 CreateHeap();
- inline s32 _create();
- inline BOOL _delete();
- inline BOOL _execute();
- inline bool _draw();
- static const char M_arcname[5];
-
-public:
- /* 0x290 */ request_of_phase_process_class mPhs;
- /* 0x298 */ J3DModel * mpModel;
- /* 0x29C */ Mtx mMtx;
-};
-
const char daThrowstone_c::M_arcname[] = "Aisi";
/* 8023B544-8023B564 .text CheckCreateHeap__FP10fopAc_ac_c */
@@ -35,7 +21,7 @@ static BOOL CheckCreateHeap(fopAc_ac_c* i_actor) {
}
/* 8023B564-8023B5DC .text CreateHeap__14daThrowstone_cFv */
-s32 daThrowstone_c::CreateHeap() {
+BOOL daThrowstone_c::CreateHeap() {
J3DModelData* pModelData = (J3DModelData*)dComIfG_getObjectRes(M_arcname, 0x03);
if (pModelData == NULL)
return FALSE;