diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-03-17 22:26:56 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-03-17 22:26:56 -0400 |
| commit | 822b13e57a978cb940abfdb2286588ad3c338b4d (patch) | |
| tree | 7cb41bc9704d93c8659f4f0e596dcd503da6064f /src/d/actor/d_a_obj_movebox.cpp | |
| parent | 455ff4a5717c39b8d2fae08528eace46b7dc6d38 (diff) | |
Add `cPhs_State` typedef and use it everywhere
Diffstat (limited to 'src/d/actor/d_a_obj_movebox.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_movebox.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/d/actor/d_a_obj_movebox.cpp b/src/d/actor/d_a_obj_movebox.cpp index 0da9612f..92587883 100644 --- a/src/d/actor/d_a_obj_movebox.cpp +++ b/src/d/actor/d_a_obj_movebox.cpp @@ -69,10 +69,10 @@ namespace daObjMovebox { {-0.75f, -0.25f, 0.0f, 0.0f}, }; - s32 Act_c::Mthd_Create() { + cPhs_State Act_c::Mthd_Create() { fopAcM_SetupActor(this, Act_c); - s32 phase_state; + cPhs_State phase_state; mType = prm_get_type(); phase_state = cPhs_ERROR_e; prmX_init(); @@ -1211,14 +1211,14 @@ namespace daObjMovebox { } /* 00001A10-00001B00 .text CreateHeap__Q212daObjMovebox5Act_cFv */ - int Act_c::CreateHeap() { + BOOL Act_c::CreateHeap() { BOOL success = TRUE; if (i_attr()->mModelFileIndex >= 0) { J3DModelData* modelData = (J3DModelData*)dComIfG_getObjectRes(M_arcname[mType], i_attr()->mModelFileIndex); JUT_ASSERT(1722, modelData != NULL); mpModel = mDoExt_J3DModel__create(modelData, 0x80000, 0x11000022); - success = (mpModel != 0); + success = (mpModel != NULL); } else { mpModel = NULL; } @@ -1305,7 +1305,7 @@ namespace daObjMovebox { } /* 00001DD4-00002214 .text Create__Q212daObjMovebox5Act_cFv */ - int Act_c::Create() { + BOOL Act_c::Create() { m604 = 0; m608 = 0.0f; m60C = 0.0f; @@ -1892,7 +1892,7 @@ namespace daObjMovebox { namespace { /* 000042A0-000044E0 .text Mthd_Create__Q212daObjMovebox29@unnamed@d_a_obj_movebox_cpp@FPv */ - s32 Mthd_Create(void* i_this) { + cPhs_State Mthd_Create(void* i_this) { return static_cast<Act_c*>(i_this)->Mthd_Create(); } |
