Bool values naming

This commit is contained in:
Adrien Bonnin
2024-09-10 19:37:16 +02:00
parent b77274c9ea
commit 6307691657
26 changed files with 37 additions and 37 deletions

View File

@@ -35,7 +35,7 @@ void _chchimpystump_80386CA0(Actor *this){
void chchimpystump_update(Actor *this){
if(!this->initialized){
actor_collisionOff(this);
this->initialized = 1;
this->initialized = TRUE;
this->unk28 = this->position_y;
this->position_y -= 134.0f;
this->marker->propPtr->unk8_3 = 1;

View File

@@ -222,7 +222,7 @@ void func_803876D0(Actor *this){
if(!this->initialized){
((ActorLocal_Conga *)&this->local)->unkC = 1;
this->unk16C_0 = 1;
this->initialized = 1;
this->initialized = TRUE;
this->velocity_x = 0.0f;
this->unk28 = 0.0f;
node_prop = func_80304C38(0x150, this);

View File

@@ -73,8 +73,8 @@ void chhut_update(Actor *this){
return;
if(!this->initialized){
this->marker->collidable = 0;
this->initialized = 1;
this->marker->collidable = FALSE;
this->initialized = TRUE;
}
switch(this->state){
case HUT_STATE_INTACT:

View File

@@ -71,7 +71,7 @@ void func_803890A0(ActorMarker *marker, s32 arg1){
position[2] = actorPtr->position_z;
for(i = 0; i < 4; i++){
jujuPtr = func_8032813C(ACTOR_59_JUJU, actorPtr->position, actorPtr->yaw);
jujuPtr->marker->collidable = 0;
jujuPtr->marker->collidable = FALSE;
actorPtr = marker_getActor(marker);
func_80388DE8(actorPtr, i, jujuPtr);

View File

@@ -120,7 +120,7 @@ void func_80388E20(Actor *this){
jujuCtlPtr = (ActorLocal_JujuHitbox *)&this->local;
if(!this->initialized){
this->initialized = 1;
this->initialized = TRUE;
this->unk138_24 = 0;
jujuCtlPtr->unk18 = 0.5f;
}

View File

@@ -73,7 +73,7 @@ void MM_func_80387FF4(Actor * this){
break;
case ORANGE_LANDED_STATE:
if(this->unk60 < 324.0){
this->marker->collidable = 0;
this->marker->collidable = FALSE;
}
this->unk60 -= 4.0;
if(this->unk60 < 4.0){

View File

@@ -104,7 +104,7 @@ void func_80386768(Actor * this){
if(!this->initialized){
this->marker->propPtr->unk8_3 = 1;
actor_collisionOff(this);
this->initialized = 1;
this->initialized = TRUE;
}//L803867B0
if(!this->unk16C_4){