mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 13:24:12 -04:00
Add cPhs_State typedef and use it everywhere
This commit is contained in:
@@ -42,7 +42,7 @@ int daShutter2_c::CreateHeap() {
|
||||
}
|
||||
|
||||
/* 00000194-00000350 .text Create__12daShutter2_cFv */
|
||||
int daShutter2_c::Create() {
|
||||
BOOL daShutter2_c::Create() {
|
||||
fopAcM_SetMtx(this, mpModel->getBaseTRMtx());
|
||||
Vec cullMin = m_cull_min[mType];
|
||||
Vec cullMax = m_cull_max[mType];
|
||||
@@ -69,10 +69,10 @@ int daShutter2_c::Create() {
|
||||
}
|
||||
|
||||
/* 00000350-0000041C .text _create__12daShutter2_cFv */
|
||||
s32 daShutter2_c::_create() {
|
||||
cPhs_State daShutter2_c::_create() {
|
||||
fopAcM_SetupActor(this, daShutter2_c);
|
||||
mType = 0;
|
||||
int phase_state = dComIfG_resLoad(&mPhs, m_arcname[mType]);
|
||||
cPhs_State phase_state = dComIfG_resLoad(&mPhs, m_arcname[mType]);
|
||||
if (phase_state == cPhs_COMPLEATE_e) {
|
||||
phase_state = MoveBGCreate(m_arcname[mType], m_dzbidx[mType], NULL, m_heapsize[mType]);
|
||||
if (phase_state == cPhs_ERROR_e) {
|
||||
@@ -218,7 +218,7 @@ BOOL daShutter2_c::Draw() {
|
||||
}
|
||||
|
||||
/* 00000950-00000970 .text daShutter2_Create__FPv */
|
||||
static s32 daShutter2_Create(void* i_this) {
|
||||
static cPhs_State daShutter2_Create(void* i_this) {
|
||||
return ((daShutter2_c*)i_this)->_create();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user