documentations:

- added comments
- documented marker struct functions
This commit is contained in:
mariob92
2024-09-08 00:55:04 +02:00
parent f1dea250de
commit b5c7accc37
31 changed files with 90 additions and 83 deletions

View File

@@ -48,7 +48,7 @@ void func_80388C20(Actor *this){
if(!this->unk16C_4){
actor_collisionOff(this);
this->marker->propPtr->unk8_3 = 1;
this->marker->unk30 = func_80388BE8;
this->marker->actorFreeFunc = func_80388BE8;
this->unk16C_4 = 1;
if(this->modelCacheIndex == 0x17B){
local->sfxsource_index = func_8030D90C();

View File

@@ -96,7 +96,7 @@ void chPropellorSwitch_update(Actor *this){
ActorLocal_RBB_3CB0 *local = (ActorLocal_RBB_3CB0 *)&this->local;
if(!this->unk16C_4){
this->marker->propPtr->unk8_3 = 1;
this->marker->unk30 = chPropellorSwitch_free;
this->marker->actorFreeFunc = chPropellorSwitch_free;
this->unk16C_4 = 1;
local->unk0 = &D_80390720[((this->unk78_13 == 2) ? 0:1)];
if(local->unk0->unk6 == 0)

View File

@@ -132,7 +132,7 @@ void func_8038AEB8(Actor *this){
if(!this->unk16C_4){
this->unk16C_4 = 1;
this->marker->propPtr->unk8_3 = 1;
this->marker->unk30 = func_8038AD7C;
this->marker->actorFreeFunc = func_8038AD7C;
marker_setCollisionScripts(this->marker, NULL, func_8038AD3C, NULL);
local->unk4 = RBB_func_8038ABC0(this);
mapSpecificFlags_set(local->unk4->unk10, FALSE);

View File

@@ -200,7 +200,7 @@ void func_80387890(Actor *this){
void func_803878B0(Actor *this){
if(!this->unk16C_4){
this->unk16C_4 = 1;
this->marker->unk30 = func_80387890;
this->marker->actorFreeFunc = func_80387890;
marker_setCollisionScripts(this->marker, 0, func_80387850, 0);
func_8032AA58(this, 1.1f);
func_8038756C(this, 1);