mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-20 05:37:03 -04:00
Switch return type of _execute/_draw/_delete to be bool by default instead of BOOL
It's not completely consistent, but it seems like the majority used `bool`, and only a handful used `BOOL`. So I switched all of them to `bool` except for 13 TUs that stopped matching when changed like this.
This commit is contained in:
@@ -126,7 +126,7 @@ s32 daObjDragonhead_c::_create() {
|
||||
return ret;
|
||||
}
|
||||
|
||||
BOOL daObjDragonhead_c::_delete() {
|
||||
bool daObjDragonhead_c::_delete() {
|
||||
if (heap != NULL && field_0x40c == 1)
|
||||
dComIfG_Bgsp()->Release(mpBgW);
|
||||
|
||||
@@ -135,7 +135,7 @@ BOOL daObjDragonhead_c::_delete() {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL daObjDragonhead_c::_execute() {
|
||||
bool daObjDragonhead_c::_execute() {
|
||||
dComIfG_Ccsp()->Set(&mSph);
|
||||
if (!mSwitchOn) {
|
||||
mDoAud_seStart(JA_SE_OBJ_ICEBERG_BREATH, &mSphCenter, 0, dComIfGp_getReverb(fopAcM_GetRoomNo(this)));
|
||||
@@ -181,7 +181,7 @@ BOOL daObjDragonhead_c::_execute() {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL daObjDragonhead_c::_draw() {
|
||||
bool daObjDragonhead_c::_draw() {
|
||||
g_env_light.settingTevStruct(TEV_TYPE_BG0, ¤t.pos, &tevStr);
|
||||
g_env_light.setLightTevColorType(mpModel, &tevStr);
|
||||
dComIfGd_setListBG();
|
||||
|
||||
Reference in New Issue
Block a user