From 4f09691b43937cd7774f50bd4da6609d65637df1 Mon Sep 17 00:00:00 2001 From: Mityno Date: Fri, 27 Nov 2026 12:16:10 +0100 Subject: [PATCH 01/12] feat: Start decompiling ActorUnkSTTG --- config/eur/arm9/overlays/ov000/symbols.txt | 2 +- config/eur/arm9/overlays/ov094/relocs.txt | 4 +- config/eur/arm9/overlays/ov094/symbols.txt | 28 ++-- config/eur1/arm9/overlays/ov000/symbols.txt | 2 +- config/eur1/arm9/overlays/ov094/symbols.txt | 20 +-- config/jp/arm9/overlays/ov000/symbols.txt | 2 +- config/jp/arm9/overlays/ov094/symbols.txt | 20 +-- config/usa/arm9/overlays/ov000/symbols.txt | 2 +- config/usa/arm9/overlays/ov094/symbols.txt | 20 +-- include/Actor/ActorProfile.hpp | 3 +- include/Actor/ActorUnkSTTG.hpp | 86 ++++++++--- include/Physics/Sphere.hpp | 3 + include/math.hpp | 3 + src/094_Land2/Actor/ActorUnkSTTG.cpp | 157 +++++++++++++++++--- 14 files changed, 261 insertions(+), 91 deletions(-) diff --git a/config/eur/arm9/overlays/ov000/symbols.txt b/config/eur/arm9/overlays/ov000/symbols.txt index 9bc206155..743d4fc1c 100644 --- a/config/eur/arm9/overlays/ov000/symbols.txt +++ b/config/eur/arm9/overlays/ov000/symbols.txt @@ -78,7 +78,7 @@ func_ov000_02057908 kind:function(arm,size=0x34) addr:0x02057908 func_ov000_0205793c kind:function(arm,size=0xa4) addr:0x0205793c _ZN19func_ov000_020579e0D1Ev kind:function(arm,size=0x14) addr:0x020579e0 _ZN19func_ov000_020579f4D0Ev kind:function(arm,size=0x1c) addr:0x020579f4 -func_ov000_02057a10 kind:function(thumb,size=0x14) addr:0x02057a10 +_ZN26ModelRender_ov000_020b1a1cC2EP10G3d_Model_ kind:function(thumb,size=0x14) addr:0x02057a10 _ZN26ModelRender_ov000_020b1a1cC1EP10G3d_Model_ kind:function(thumb,size=0x14) addr:0x02057a24 func_ov000_02057a38 kind:function(arm,size=0x18) addr:0x02057a38 func_ov000_02057a50 kind:function(thumb,size=0x1c) addr:0x02057a50 diff --git a/config/eur/arm9/overlays/ov094/relocs.txt b/config/eur/arm9/overlays/ov094/relocs.txt index d85496e02..28089a383 100644 --- a/config/eur/arm9/overlays/ov094/relocs.txt +++ b/config/eur/arm9/overlays/ov094/relocs.txt @@ -591,8 +591,8 @@ from:0x0216a3d0 kind:arm_call to:0x02097b84 module:overlay(0) from:0x0216a448 kind:arm_call to:0x0209862c module:overlay(0) from:0x0216a464 kind:arm_call to:0x02028c4c module:main from:0x0216a490 kind:load to:0x02177694 add:0x8 module:overlay(94) -from:0x0216a494 kind:load to:0x02177670 module:overlay(94) -from:0x0216a498 kind:load to:0x02177600 module:overlay(94) +from:0x0216a494 kind:load to:0x02177668 module:overlay(94) add:0x8 +from:0x0216a498 kind:load to:0x021775f8 module:overlay(94) add:0x8 from:0x0216a49c kind:load to:0x027e07d4 module:dtcm from:0x0216a4a8 kind:arm_call_thumb to:0x02057bd4 module:overlay(0) from:0x0216a4c0 kind:arm_call_thumb to:0x02057bd4 module:overlay(0) diff --git a/config/eur/arm9/overlays/ov094/symbols.txt b/config/eur/arm9/overlays/ov094/symbols.txt index 2188a7d9c..dcf030a19 100644 --- a/config/eur/arm9/overlays/ov094/symbols.txt +++ b/config/eur/arm9/overlays/ov094/symbols.txt @@ -145,27 +145,27 @@ _ZN19ActorProfileUnkSTTG10GetProfileEv kind:function(arm,size=0xc) addr:0x0216a3 _ZN19ActorProfileUnkSTTG6CreateEv kind:function(arm,size=0x24) addr:0x0216a32c _ZN19ActorProfileUnkSTTGC1Ev kind:function(arm,size=0x4c) addr:0x0216a350 _ZN12ActorUnkSTTGC1Ev kind:function(arm,size=0x104) addr:0x0216a39c -_ZN12ActorUnkSTTG19func_ov094_0216a4a0Ev kind:function(arm,size=0x14) addr:0x0216a4a0 +_ZN24UnkStruct_ov094_02177670D1Ev kind:function(arm,size=0x14) addr:0x0216a4a0 _ZN12ActorUnkSTTGD1Ev kind:function(arm,size=0x20) addr:0x0216a4b4 _ZN12ActorUnkSTTGD0Ev kind:function(arm,size=0x28) addr:0x0216a4d4 -_ZN12ActorUnkSTTG19func_ov094_0216a4fcEv kind:function(arm,size=0xd8) addr:0x0216a4fc +_ZN12ActorUnkSTTG4InitEi kind:function(arm,size=0xd8) addr:0x0216a4fc _ZN12ActorUnkSTTG19func_ov094_0216a5d4Ev kind:function(arm,size=0x2c) addr:0x0216a5d4 -_ZN12ActorUnkSTTG19func_ov094_0216a600Ev kind:function(arm,size=0x14c) addr:0x0216a600 +_ZN12ActorUnkSTTG5SetupEv kind:function(arm,size=0x14c) addr:0x0216a600 _ZN12ActorUnkSTTG19func_ov094_0216a74cEv kind:function(arm,size=0x14) addr:0x0216a74c -_ZN12ActorUnkSTTG19func_ov094_0216a760Ev kind:function(arm,size=0x8) addr:0x0216a760 -_ZN12ActorUnkSTTG19func_ov094_0216a768Ev kind:function(arm,size=0x20) addr:0x0216a768 -_ZN12ActorUnkSTTG19func_ov094_0216a788Ev kind:function(arm,size=0xc4) addr:0x0216a788 +_ZN12ActorUnkSTTG19func_ov094_0216a760Es kind:function(arm,size=0x8) addr:0x0216a760 +_ZN12ActorUnkSTTG8vfunc_24Ev kind:function(arm,size=0x20) addr:0x0216a768 +_ZN12ActorUnkSTTG6UpdateEv kind:function(arm,size=0xc4) addr:0x0216a788 _ZN12ActorUnkSTTG19func_ov094_0216a84cEv kind:function(arm,size=0x24) addr:0x0216a84c _ZN12ActorUnkSTTG19func_ov094_0216a870Ev kind:function(arm,size=0xb8) addr:0x0216a870 _ZN12ActorUnkSTTG19func_ov094_0216a928Ev kind:function(arm,size=0x150) addr:0x0216a928 _ZN12ActorUnkSTTG19func_ov094_0216aa78Ev kind:function(arm,size=0x6c) addr:0x0216aa78 -_ZN12ActorUnkSTTG19func_ov094_0216aae4Ev kind:function(arm,size=0x50) addr:0x0216aae4 +_ZN12ActorUnkSTTG8vfunc_2CEi kind:function(arm,size=0x50) addr:0x0216aae4 _ZN12ActorUnkSTTG19func_ov094_0216ab34Ev kind:function(arm,size=0x274) addr:0x0216ab34 _ZN12ActorUnkSTTG19func_ov094_0216ada8Ev kind:function(arm,size=0x118) addr:0x0216ada8 -_ZN12ActorUnkSTTG19func_ov094_0216aec0Ev kind:function(arm,size=0x28) addr:0x0216aec0 +_ZN12ActorUnkSTTG19func_ov094_0216aec0EP7VecFx32PS_ kind:function(arm,size=0x28) addr:0x0216aec0 _ZN12ActorUnkSTTG19func_ov094_0216aee8Ev kind:function(arm,size=0x268) addr:0x0216aee8 -_ZN12ActorUnkSTTG19func_ov094_0216b150Ev kind:function(arm,size=0x38) addr:0x0216b150 -_ZN12ActorUnkSTTG19func_ov094_0216b188Ev kind:function(arm,size=0x1c) addr:0x0216b188 +_ZN12ActorUnkSTTG19func_ov094_0216b150EP7VecFx32PS_ kind:function(arm,size=0x38) addr:0x0216b150 +_ZN24UnkStruct_ov094_02177670D0Ev kind:function(arm,size=0x1c) addr:0x0216b188 _ZN12ActorUnkSTTG19func_ov094_0216b1a4Ev kind:function(arm,size=0x1c) addr:0x0216b1a4 _ZN19ActorProfileUnkSTTGD1Ev kind:function(arm,size=0x14) addr:0x0216b1c0 func_ov094_0216b1d4 kind:function(arm,size=0xb0) addr:0x0216b1d4 @@ -635,12 +635,12 @@ data_ov094_021773a8 kind:data(any) addr:0x021773a8 _ZTV19data_ov094_021773c0 kind:data(any) addr:0x021773c0 _ZTV19data_ov094_021774dc kind:data(any) addr:0x021774dc _ZTV19data_ov094_02177564 kind:data(any) addr:0x02177564 ambiguous -data_ov094_02177600 kind:data(any) addr:0x02177600 +_ZTV24UnkStruct_ov094_02177600 kind:data(any) addr:0x021775f8 data_ov094_02177610 kind:data(any) addr:0x02177610 data_ov094_02177624 kind:data(any) addr:0x02177624 -_ZTV19data_ov094_02177644 kind:data(any) addr:0x02177644 -data_ov094_02177670 kind:data(any) addr:0x02177670 -_ZTV19data_ov094_02177694 kind:data(any) addr:0x02177694 +_ZTV19ActorProfileUnkSTTG kind:data(any) addr:0x02177644 +_ZTV24UnkStruct_ov094_02177670 kind:data(any) addr:0x02177668 +_ZTV12ActorUnkSTTG kind:data(any) addr:0x02177694 data_ov094_021776f8 kind:data(any) addr:0x021776f8 data_ov094_02177704 kind:data(any) addr:0x02177704 data_ov094_0217770c kind:data(any) addr:0x0217770c diff --git a/config/eur1/arm9/overlays/ov000/symbols.txt b/config/eur1/arm9/overlays/ov000/symbols.txt index e08c3235f..14b122118 100644 --- a/config/eur1/arm9/overlays/ov000/symbols.txt +++ b/config/eur1/arm9/overlays/ov000/symbols.txt @@ -78,7 +78,7 @@ func_ov000_02057908 kind:function(arm,size=0x34) addr:0x02057908 func_ov000_0205793c kind:function(arm,size=0xa4) addr:0x0205793c _ZN19func_ov000_020579e0D1Ev kind:function(arm,size=0x14) addr:0x020579e0 _ZN19func_ov000_020579f4D0Ev kind:function(arm,size=0x1c) addr:0x020579f4 -func_ov000_02057a10 kind:function(thumb,size=0x14) addr:0x02057a10 +_ZN26ModelRender_ov000_020b1a1cC2EP10G3d_Model_ kind:function(thumb,size=0x14) addr:0x02057a10 _ZN26ModelRender_ov000_020b1a1cC1EP10G3d_Model_ kind:function(thumb,size=0x14) addr:0x02057a24 func_ov000_02057a38 kind:function(arm,size=0x18) addr:0x02057a38 func_ov000_02057a50 kind:function(thumb,size=0x1c) addr:0x02057a50 diff --git a/config/eur1/arm9/overlays/ov094/symbols.txt b/config/eur1/arm9/overlays/ov094/symbols.txt index ea5db82ce..8cdaf3928 100644 --- a/config/eur1/arm9/overlays/ov094/symbols.txt +++ b/config/eur1/arm9/overlays/ov094/symbols.txt @@ -145,27 +145,27 @@ _ZN19ActorProfileUnkSTTG10GetProfileEv kind:function(arm,size=0xc) addr:0x0216a4 _ZN19ActorProfileUnkSTTG6CreateEv kind:function(arm,size=0x24) addr:0x0216a4ac _ZN19ActorProfileUnkSTTGC1Ev kind:function(arm,size=0x4c) addr:0x0216a4d0 _ZN12ActorUnkSTTGC1Ev kind:function(arm,size=0x104) addr:0x0216a51c -_ZN12ActorUnkSTTG19func_ov094_0216a4a0Ev kind:function(arm,size=0x14) addr:0x0216a620 +_ZN24UnkStruct_ov094_02177670D1Ev kind:function(arm,size=0x14) addr:0x0216a620 _ZN12ActorUnkSTTGD1Ev kind:function(arm,size=0x20) addr:0x0216a634 _ZN12ActorUnkSTTGD0Ev kind:function(arm,size=0x28) addr:0x0216a654 -_ZN12ActorUnkSTTG19func_ov094_0216a4fcEv kind:function(arm,size=0xd8) addr:0x0216a67c +_ZN12ActorUnkSTTG4InitEi kind:function(arm,size=0xd8) addr:0x0216a67c _ZN12ActorUnkSTTG19func_ov094_0216a5d4Ev kind:function(arm,size=0x2c) addr:0x0216a754 -_ZN12ActorUnkSTTG19func_ov094_0216a600Ev kind:function(arm,size=0x14c) addr:0x0216a780 +_ZN12ActorUnkSTTG5SetupEv kind:function(arm,size=0x14c) addr:0x0216a780 _ZN12ActorUnkSTTG19func_ov094_0216a74cEv kind:function(arm,size=0x14) addr:0x0216a8cc -_ZN12ActorUnkSTTG19func_ov094_0216a760Ev kind:function(arm,size=0x8) addr:0x0216a8e0 -_ZN12ActorUnkSTTG19func_ov094_0216a768Ev kind:function(arm,size=0x20) addr:0x0216a8e8 -_ZN12ActorUnkSTTG19func_ov094_0216a788Ev kind:function(arm,size=0xc4) addr:0x0216a908 +_ZN12ActorUnkSTTG19func_ov094_0216a760Es kind:function(arm,size=0x8) addr:0x0216a8e0 +_ZN12ActorUnkSTTG8vfunc_24Ev kind:function(arm,size=0x20) addr:0x0216a8e8 +_ZN12ActorUnkSTTG6UpdateEv kind:function(arm,size=0xc4) addr:0x0216a908 _ZN12ActorUnkSTTG19func_ov094_0216a84cEv kind:function(arm,size=0x24) addr:0x0216a9cc _ZN12ActorUnkSTTG19func_ov094_0216a870Ev kind:function(arm,size=0xb8) addr:0x0216a9f0 _ZN12ActorUnkSTTG19func_ov094_0216a928Ev kind:function(arm,size=0x150) addr:0x0216aaa8 _ZN12ActorUnkSTTG19func_ov094_0216aa78Ev kind:function(arm,size=0x6c) addr:0x0216abf8 -_ZN12ActorUnkSTTG19func_ov094_0216aae4Ev kind:function(arm,size=0x50) addr:0x0216ac64 +_ZN12ActorUnkSTTG8vfunc_2CEi kind:function(arm,size=0x50) addr:0x0216ac64 _ZN12ActorUnkSTTG19func_ov094_0216ab34Ev kind:function(arm,size=0x274) addr:0x0216acb4 _ZN12ActorUnkSTTG19func_ov094_0216ada8Ev kind:function(arm,size=0x118) addr:0x0216af28 -_ZN12ActorUnkSTTG19func_ov094_0216aec0Ev kind:function(arm,size=0x28) addr:0x0216b040 +_ZN12ActorUnkSTTG19func_ov094_0216aec0EP7VecFx32PS_ kind:function(arm,size=0x28) addr:0x0216b040 _ZN12ActorUnkSTTG19func_ov094_0216aee8Ev kind:function(arm,size=0x268) addr:0x0216b068 -_ZN12ActorUnkSTTG19func_ov094_0216b150Ev kind:function(arm,size=0x38) addr:0x0216b2d0 -_ZN12ActorUnkSTTG19func_ov094_0216b188Ev kind:function(arm,size=0x1c) addr:0x0216b308 +_ZN12ActorUnkSTTG19func_ov094_0216b150EP7VecFx32PS_ kind:function(arm,size=0x38) addr:0x0216b2d0 +_ZN24UnkStruct_ov094_02177670D0Ev kind:function(arm,size=0x1c) addr:0x0216b308 _ZN12ActorUnkSTTG19func_ov094_0216b1a4Ev kind:function(arm,size=0x1c) addr:0x0216b324 _ZN19ActorProfileUnkSTTGD1Ev kind:function(arm,size=0x14) addr:0x0216b340 func_ov094_0216b1d4 kind:function(arm,size=0xb0) addr:0x0216b354 diff --git a/config/jp/arm9/overlays/ov000/symbols.txt b/config/jp/arm9/overlays/ov000/symbols.txt index 0c3f7182c..0497f97c8 100644 --- a/config/jp/arm9/overlays/ov000/symbols.txt +++ b/config/jp/arm9/overlays/ov000/symbols.txt @@ -78,7 +78,7 @@ func_ov000_02057908 kind:function(arm,size=0x34) addr:0x02058e88 func_ov000_0205793c kind:function(arm,size=0xa4) addr:0x02058ebc _ZN19func_ov000_020579e0D1Ev kind:function(arm,size=0x14) addr:0x02058f60 _ZN19func_ov000_020579f4D0Ev kind:function(arm,size=0x1c) addr:0x02058f74 -func_ov000_02057a10 kind:function(thumb,size=0x14) addr:0x02058f90 +_ZN26ModelRender_ov000_020b1a1cC2EP10G3d_Model_ kind:function(thumb,size=0x14) addr:0x02058f90 _ZN26ModelRender_ov000_020b1a1cC1EP10G3d_Model_ kind:function(thumb,size=0x14) addr:0x02058fa4 func_ov000_02057a38 kind:function(arm,size=0x18) addr:0x02058fb8 func_ov000_02057a50 kind:function(thumb,size=0x1c) addr:0x02058fd0 diff --git a/config/jp/arm9/overlays/ov094/symbols.txt b/config/jp/arm9/overlays/ov094/symbols.txt index 5dfca7969..693235639 100644 --- a/config/jp/arm9/overlays/ov094/symbols.txt +++ b/config/jp/arm9/overlays/ov094/symbols.txt @@ -146,27 +146,27 @@ _ZN19ActorProfileUnkSTTG10GetProfileEv kind:function(arm,size=0xc) addr:0x0216c5 _ZN19ActorProfileUnkSTTG6CreateEv kind:function(arm,size=0x24) addr:0x0216c5a4 _ZN19ActorProfileUnkSTTGC1Ev kind:function(arm,size=0x4c) addr:0x0216c5c8 _ZN12ActorUnkSTTGC1Ev kind:function(arm,size=0x104) addr:0x0216c614 -_ZN12ActorUnkSTTG19func_ov094_0216a4a0Ev kind:function(arm,size=0x14) addr:0x0216c718 +_ZN24UnkStruct_ov094_02177670D1Ev kind:function(arm,size=0x14) addr:0x0216c718 _ZN12ActorUnkSTTGD1Ev kind:function(arm,size=0x20) addr:0x0216c72c _ZN12ActorUnkSTTGD0Ev kind:function(arm,size=0x28) addr:0x0216c74c -_ZN12ActorUnkSTTG19func_ov094_0216a4fcEv kind:function(arm,size=0xd8) addr:0x0216c774 +_ZN12ActorUnkSTTG4InitEi kind:function(arm,size=0xd8) addr:0x0216c774 _ZN12ActorUnkSTTG19func_ov094_0216a5d4Ev kind:function(arm,size=0x2c) addr:0x0216c84c -_ZN12ActorUnkSTTG19func_ov094_0216a600Ev kind:function(arm,size=0x14c) addr:0x0216c878 +_ZN12ActorUnkSTTG5SetupEv kind:function(arm,size=0x14c) addr:0x0216c878 _ZN12ActorUnkSTTG19func_ov094_0216a74cEv kind:function(arm,size=0x14) addr:0x0216c9c4 -_ZN12ActorUnkSTTG19func_ov094_0216a760Ev kind:function(arm,size=0x8) addr:0x0216c9d8 -_ZN12ActorUnkSTTG19func_ov094_0216a768Ev kind:function(arm,size=0x20) addr:0x0216c9e0 -_ZN12ActorUnkSTTG19func_ov094_0216a788Ev kind:function(arm,size=0xc4) addr:0x0216ca00 +_ZN12ActorUnkSTTG19func_ov094_0216a760Es kind:function(arm,size=0x8) addr:0x0216c9d8 +_ZN12ActorUnkSTTG8vfunc_24Ev kind:function(arm,size=0x20) addr:0x0216c9e0 +_ZN12ActorUnkSTTG6UpdateEv kind:function(arm,size=0xc4) addr:0x0216ca00 _ZN12ActorUnkSTTG19func_ov094_0216a84cEv kind:function(arm,size=0x24) addr:0x0216cac4 _ZN12ActorUnkSTTG19func_ov094_0216a870Ev kind:function(arm,size=0xb8) addr:0x0216cae8 _ZN12ActorUnkSTTG19func_ov094_0216a928Ev kind:function(arm,size=0x150) addr:0x0216cba0 _ZN12ActorUnkSTTG19func_ov094_0216aa78Ev kind:function(arm,size=0x6c) addr:0x0216ccf0 -_ZN12ActorUnkSTTG19func_ov094_0216aae4Ev kind:function(arm,size=0x50) addr:0x0216cd5c +_ZN12ActorUnkSTTG8vfunc_2CEi kind:function(arm,size=0x50) addr:0x0216cd5c _ZN12ActorUnkSTTG19func_ov094_0216ab34Ev kind:function(arm,size=0x274) addr:0x0216cdac _ZN12ActorUnkSTTG19func_ov094_0216ada8Ev kind:function(arm,size=0x118) addr:0x0216d020 -_ZN12ActorUnkSTTG19func_ov094_0216aec0Ev kind:function(arm,size=0x28) addr:0x0216d138 +_ZN12ActorUnkSTTG19func_ov094_0216aec0EP7VecFx32PS_ kind:function(arm,size=0x28) addr:0x0216d138 _ZN12ActorUnkSTTG19func_ov094_0216aee8Ev kind:function(arm,size=0x268) addr:0x0216d160 -_ZN12ActorUnkSTTG19func_ov094_0216b150Ev kind:function(arm,size=0x38) addr:0x0216d3c8 -_ZN12ActorUnkSTTG19func_ov094_0216b188Ev kind:function(arm,size=0x1c) addr:0x0216d400 +_ZN12ActorUnkSTTG19func_ov094_0216b150EP7VecFx32PS_ kind:function(arm,size=0x38) addr:0x0216d3c8 +_ZN24UnkStruct_ov094_02177670D0Ev kind:function(arm,size=0x1c) addr:0x0216d400 _ZN12ActorUnkSTTG19func_ov094_0216b1a4Ev kind:function(arm,size=0x1c) addr:0x0216d41c _ZN19ActorProfileUnkSTTGD1Ev kind:function(arm,size=0x14) addr:0x0216d438 func_ov094_0216b1d4 kind:function(arm,size=0xb0) addr:0x0216d44c diff --git a/config/usa/arm9/overlays/ov000/symbols.txt b/config/usa/arm9/overlays/ov000/symbols.txt index d4b29bd4e..b41260906 100644 --- a/config/usa/arm9/overlays/ov000/symbols.txt +++ b/config/usa/arm9/overlays/ov000/symbols.txt @@ -78,7 +78,7 @@ func_ov000_02057908 kind:function(arm,size=0x34) addr:0x020578e8 func_ov000_0205793c kind:function(arm,size=0xa4) addr:0x0205791c _ZN19func_ov000_020579e0D1Ev kind:function(arm,size=0x14) addr:0x020579c0 _ZN19func_ov000_020579f4D0Ev kind:function(arm,size=0x1c) addr:0x020579d4 -func_ov000_02057a10 kind:function(thumb,size=0x14) addr:0x020579f0 +_ZN26ModelRender_ov000_020b1a1cC2EP10G3d_Model_ kind:function(thumb,size=0x14) addr:0x020579f0 _ZN26ModelRender_ov000_020b1a1cC1EP10G3d_Model_ kind:function(thumb,size=0x14) addr:0x02057a04 func_ov000_02057a38 kind:function(arm,size=0x18) addr:0x02057a18 func_ov000_02057a50 kind:function(thumb,size=0x1c) addr:0x02057a30 diff --git a/config/usa/arm9/overlays/ov094/symbols.txt b/config/usa/arm9/overlays/ov094/symbols.txt index fed4819ca..573c69824 100644 --- a/config/usa/arm9/overlays/ov094/symbols.txt +++ b/config/usa/arm9/overlays/ov094/symbols.txt @@ -145,27 +145,27 @@ _ZN19ActorProfileUnkSTTG10GetProfileEv kind:function(arm,size=0xc) addr:0x0216a3 _ZN19ActorProfileUnkSTTG6CreateEv kind:function(arm,size=0x24) addr:0x0216a30c _ZN19ActorProfileUnkSTTGC1Ev kind:function(arm,size=0x4c) addr:0x0216a330 _ZN12ActorUnkSTTGC1Ev kind:function(arm,size=0x104) addr:0x0216a37c -_ZN12ActorUnkSTTG19func_ov094_0216a4a0Ev kind:function(arm,size=0x14) addr:0x0216a480 +_ZN24UnkStruct_ov094_02177670D1Ev kind:function(arm,size=0x14) addr:0x0216a480 _ZN12ActorUnkSTTGD1Ev kind:function(arm,size=0x20) addr:0x0216a494 _ZN12ActorUnkSTTGD0Ev kind:function(arm,size=0x28) addr:0x0216a4b4 -_ZN12ActorUnkSTTG19func_ov094_0216a4fcEv kind:function(arm,size=0xd8) addr:0x0216a4dc +_ZN12ActorUnkSTTG4InitEi kind:function(arm,size=0xd8) addr:0x0216a4dc _ZN12ActorUnkSTTG19func_ov094_0216a5d4Ev kind:function(arm,size=0x2c) addr:0x0216a5b4 -_ZN12ActorUnkSTTG19func_ov094_0216a600Ev kind:function(arm,size=0x14c) addr:0x0216a5e0 +_ZN12ActorUnkSTTG5SetupEv kind:function(arm,size=0x14c) addr:0x0216a5e0 _ZN12ActorUnkSTTG19func_ov094_0216a74cEv kind:function(arm,size=0x14) addr:0x0216a72c -_ZN12ActorUnkSTTG19func_ov094_0216a760Ev kind:function(arm,size=0x8) addr:0x0216a740 -_ZN12ActorUnkSTTG19func_ov094_0216a768Ev kind:function(arm,size=0x20) addr:0x0216a748 -_ZN12ActorUnkSTTG19func_ov094_0216a788Ev kind:function(arm,size=0xc4) addr:0x0216a768 +_ZN12ActorUnkSTTG19func_ov094_0216a760Es kind:function(arm,size=0x8) addr:0x0216a740 +_ZN12ActorUnkSTTG8vfunc_24Ev kind:function(arm,size=0x20) addr:0x0216a748 +_ZN12ActorUnkSTTG6UpdateEv kind:function(arm,size=0xc4) addr:0x0216a768 _ZN12ActorUnkSTTG19func_ov094_0216a84cEv kind:function(arm,size=0x24) addr:0x0216a82c _ZN12ActorUnkSTTG19func_ov094_0216a870Ev kind:function(arm,size=0xb8) addr:0x0216a850 _ZN12ActorUnkSTTG19func_ov094_0216a928Ev kind:function(arm,size=0x150) addr:0x0216a908 _ZN12ActorUnkSTTG19func_ov094_0216aa78Ev kind:function(arm,size=0x6c) addr:0x0216aa58 -_ZN12ActorUnkSTTG19func_ov094_0216aae4Ev kind:function(arm,size=0x50) addr:0x0216aac4 +_ZN12ActorUnkSTTG8vfunc_2CEi kind:function(arm,size=0x50) addr:0x0216aac4 _ZN12ActorUnkSTTG19func_ov094_0216ab34Ev kind:function(arm,size=0x274) addr:0x0216ab14 _ZN12ActorUnkSTTG19func_ov094_0216ada8Ev kind:function(arm,size=0x118) addr:0x0216ad88 -_ZN12ActorUnkSTTG19func_ov094_0216aec0Ev kind:function(arm,size=0x28) addr:0x0216aea0 +_ZN12ActorUnkSTTG19func_ov094_0216aec0EP7VecFx32PS_ kind:function(arm,size=0x28) addr:0x0216aea0 _ZN12ActorUnkSTTG19func_ov094_0216aee8Ev kind:function(arm,size=0x268) addr:0x0216aec8 -_ZN12ActorUnkSTTG19func_ov094_0216b150Ev kind:function(arm,size=0x38) addr:0x0216b130 -_ZN12ActorUnkSTTG19func_ov094_0216b188Ev kind:function(arm,size=0x1c) addr:0x0216b168 +_ZN12ActorUnkSTTG19func_ov094_0216b150EP7VecFx32PS_ kind:function(arm,size=0x38) addr:0x0216b130 +_ZN24UnkStruct_ov094_02177670D0Ev kind:function(arm,size=0x1c) addr:0x0216b168 _ZN12ActorUnkSTTG19func_ov094_0216b1a4Ev kind:function(arm,size=0x1c) addr:0x0216b184 _ZN19ActorProfileUnkSTTGD1Ev kind:function(arm,size=0x14) addr:0x0216b1a0 func_ov094_0216b1d4 kind:function(arm,size=0xb0) addr:0x0216b1b4 diff --git a/include/Actor/ActorProfile.hpp b/include/Actor/ActorProfile.hpp index b6e140d62..9d81b91cb 100644 --- a/include/Actor/ActorProfile.hpp +++ b/include/Actor/ActorProfile.hpp @@ -15,8 +15,7 @@ class ActorProfile { /* 04 */ Sphere mUnk_04; /* 14 */ unk8 mUnk_14; /* 15 */ bool mUnk_15; - /* 16 */ unk8 mUnk_16[1]; //! TODO: at least one element - /* 17 */ unk8 mUnk_17; + /* 16 */ unk8 mUnk_16[2]; //! TODO: at least two element /* 18 */ unk8 mUnk_18; /* 19 */ unk8 mUnk_19; /* 1A */ unk16 mUnk_1A; diff --git a/include/Actor/ActorUnkSTTG.hpp b/include/Actor/ActorUnkSTTG.hpp index b31fe2e7f..1309c9ad6 100644 --- a/include/Actor/ActorUnkSTTG.hpp +++ b/include/Actor/ActorUnkSTTG.hpp @@ -1,10 +1,14 @@ -//! TODO: This file was generated automatically and might contain errors - #pragma once #include "Actor/Actor.hpp" #include "Actor/ActorProfile.hpp" +#include "Actor/ActorSpinut.hpp" +#include "Physics/Sphere.hpp" +#include "Render/ModelRender.hpp" #include "global.h" +#include "math.hpp" +#include "nitro/fx.h" +#include "nns/g3d/g3d.h" #include "types.h" class ActorUnkSTTG_C4 : public Actor_C4 { @@ -17,43 +21,91 @@ class ActorUnkSTTG_C4 : public Actor_C4 { /* 0C */ virtual void vfunc_0C(unk32 param1) override; }; +class UnkStruct_ov094_02177670 : public ModelRender_ov000_020b1a1c { +public: + /* 00 (vtable) */ + /* 60 */ + + UnkStruct_ov094_02177670(G3d_Model *pModel) : + ModelRender_ov000_020b1a1c(pModel) {}; +}; + +class UnkStruct_ov094_02177600 : public Actor_9C { +public: + /* 00 (vtable) */ + /* 20 */ + + UnkStruct_ov094_02177600() : + Actor_9C() {}; +}; + +struct UnkStruct_func_ov094_0216a5d4_0 { + /* 00 */ PAD(0x0, 0x4); + /* 04 */ VecFx32 *vec; +}; + +struct UnkStruct_func_ov094_0216a5d4_1 { + /* 00 */ PAD(0x0, 0x8); + /* 08 */ VecFx16 vec; +}; + class ActorUnkSTTG : public Actor { public: - /* 00 (base) */ - /* 94 */ + /* 000 (base) */ + /* 094 */ UnkStruct_ov094_02177670 mUnk_94; + /* 0F4 */ void *mUnk_F4; + /* 0F8 */ unk16 mUnk_F8; + /* 0FA */ unk16 mUnk_FA; + /* 0FC */ unk32 mUnk_FC; + /* 100 */ unk32 mUnk_100; + /* 104 */ unk32 mUnk_104; + /* 108 */ unk32 mUnk_108; + /* 10C */ UnkStruct_ov094_02177600 mUnk_10C; + /* 12C */ void *mUnk_12C; + /* 130 */ MtxFx33 mUnk_130; + /* 154 */ Sphere mUnk_154; + /* 164 */ VecFx32Cpp mUnk_164; + /* 170 */ VecFx32Cpp mUnk_170; + /* 17C */ fx32 mUnk_17C; + /* 180 */ unk32 mUnk_180; + /* 184 */ unk32 mUnk_184; + /* 188 */ unk16 mUnk_188; + /* 18A */ unk16 mUnk_18A; + /* 18C */ unk16 mUnk_18C; + /* 18E */ unk16 mUnk_18E; + /* 190 */ unk16 mUnk_190; + /* 192 */ unk8 mUnk_192; ActorUnkSTTG(); - /* 4C */ virtual ~ActorUnkSTTG() override; + /* 18 */ virtual bool Init(unk32 param1) override; + /* 1C */ virtual void Setup() override; + /* 20 */ virtual void Update() override; + /* 24 */ virtual void vfunc_24() override; + /* 2C */ virtual void vfunc_2C(unk32 param1) override; - void func_ov094_0216a4a0(void); void func_ov094_0216a4fc(void); - void func_ov094_0216a5d4(void); - void func_ov094_0216a600(void); + static unk32 func_ov094_0216a5d4(UnkStruct_func_ov094_0216a5d4_0 *param1, UnkStruct_func_ov094_0216a5d4_1 *param2); void func_ov094_0216a74c(void); - void func_ov094_0216a760(void); - void func_ov094_0216a768(void); - void func_ov094_0216a788(void); + void func_ov094_0216a760(ActorState state); void func_ov094_0216a84c(void); void func_ov094_0216a870(void); void func_ov094_0216a928(void); void func_ov094_0216aa78(void); - void func_ov094_0216aae4(void); - void func_ov094_0216ab34(void); + unk32 func_ov094_0216ab34(void); void func_ov094_0216ada8(void); - void func_ov094_0216aec0(void); + static void func_ov094_0216aec0(VecFx32 *vec, ActorUnkSTTG *actor); void func_ov094_0216aee8(void); - void func_ov094_0216b150(void); - void func_ov094_0216b188(void); + static void func_ov094_0216b150(VecFx32 *vec, ActorUnkSTTG *actor); void func_ov094_0216b1a4(void); }; class ActorProfileUnkSTTG : public ActorProfile_Derived1 { public: /* 00 (base) */ + /* D8 */ ActorProfileUnkSTTG(); - ~ActorProfileUnkSTTG(); /* 0C */ virtual Actor *Create(); diff --git a/include/Physics/Sphere.hpp b/include/Physics/Sphere.hpp index a253a9535..ffd9b71d8 100644 --- a/include/Physics/Sphere.hpp +++ b/include/Physics/Sphere.hpp @@ -15,6 +15,9 @@ struct Sphere { Sphere(fx32 x, fx32 y, fx32 z, fx32 size) { this->Init(x, y, z, size); } + Sphere(VecFx32 *pos, fx32 size) { + this->Init(pos, size); + } void Init(fx32 size) { center.x = 0; diff --git a/include/math.hpp b/include/math.hpp index de3e79a83..98e03d836 100644 --- a/include/math.hpp +++ b/include/math.hpp @@ -59,6 +59,9 @@ struct VecFx32Cpp { VecFx32Cpp(VecFx32 vec) { this->vec = vec; } + VecFx32Cpp(VecFx32 *vec) { + VecFx32_Copy(vec, &this->vec); + } void Set(fx32 X, fx32 Y, fx32 Z) { VecFx32_Init(X, Y, Z, &this->vec); diff --git a/src/094_Land2/Actor/ActorUnkSTTG.cpp b/src/094_Land2/Actor/ActorUnkSTTG.cpp index b5627de1e..b17bdcb3c 100644 --- a/src/094_Land2/Actor/ActorUnkSTTG.cpp +++ b/src/094_Land2/Actor/ActorUnkSTTG.cpp @@ -1,7 +1,14 @@ -//! TODO: This file was generated automatically and might contain errors - #include "Actor/ActorUnkSTTG.hpp" -#include "System/SysNew.hpp" +#include "Actor/Actor.hpp" +#include "CommonFuncs.hpp" +#include "flags.h" +#include "nitro/fx.h" +#include "nitro/fx/consts.h" +#include "nitro/math.h" +#include "nitro/mi.h" +#include "nitro/types.h" +#include "nns/g3d/g3d.h" +#include "profile.hpp" DECL_PROFILE(ActorProfileUnkSTTG); @@ -10,30 +17,136 @@ Actor *ActorProfileUnkSTTG::Create() { } ActorProfileUnkSTTG::ActorProfileUnkSTTG() : - ActorProfile_Derived1(ActorId_STTG) {} + ActorProfile_Derived1(ActorId_STTG) { + for (unk8 i = 0; i < 2; i++) { + mUnk_16[i] = 2; + } +} + +extern VecFx32 data_027e07d4; + +ActorUnkSTTG::ActorUnkSTTG() : + mUnk_94(NULL), + mUnk_F4(NULL), + mUnk_10C(), + mUnk_12C(this), + mUnk_154(&data_027e07d4, 0), + mUnk_164(data_027e07d4), + mUnk_170(data_027e07d4), + mUnk_17C(0), + mUnk_180(0), + mUnk_184(0), + mUnk_188(0), + mUnk_18A(0), + mUnk_18C(0), + mUnk_18E(0), + mUnk_190(0), + mUnk_192(0) { + this->func_ov000_0209862c(4); + SET_FLAG(mFlags, ActorFlag_9); + MI_CpuFill32(0, &mUnk_130, 0x24); + mUnk_F8 = 0; + mUnk_FA = 0; + mUnk_100 = 0; + mUnk_108 = 0; + mUnk_FC = 0x800; + mUnk_104 = 0x1000; +} + +extern const char data_ov094_02175f84[16 * 3]; // = {"target_high", "target_low", "target_goron"} + +// non-matching (regalloc) +bool ActorUnkSTTG::Init(unk32 param1) { +#pragma unused(param1) + mUnk_34 = &mUnk_154; + mUnk_10C.mUnk_04 = 0x40; + + mUnk_94.vfunc_08( + G3d_GetUnkPtr(GET_PROFILE(ActorProfileUnkSTTG)->vfunc_04()->mUnk_50, &data_ov094_02175f84[mUnk_5C.mParams[0] * 16])); + mUnk_94.func_ov000_02057c38(4, 2); + + mUnk_F4 = this; + mUnk_48 = 0; + mUnk_180 = mUnk_5C.mParams[1] << 10; + mUnk_17C = -FX_F32_TO_FX32(1.1f); + UNSET_FLAG(mFlags, 1); -ActorUnkSTTG::ActorUnkSTTG() {} + this->func_ov000_0209862c(0); + this->func_ov094_0216a760(0); + return true; +} + +unk32 ActorUnkSTTG::func_ov094_0216a5d4(UnkStruct_func_ov094_0216a5d4_0 *param1, UnkStruct_func_ov094_0216a5d4_1 *param2) { + fx16 y = param2->vec.y; + if (y > 0) { + VecFx32 *vec = param1->vec; + vec->x = param2->vec.x; + vec->y = y; + vec->z = param2->vec.z; + } + return 1; +} -void ActorUnkSTTG::func_ov094_0216a4a0(void) {} -void ActorUnkSTTG::func_ov094_0216a4fc(void) {} -void ActorUnkSTTG::func_ov094_0216a5d4(void) {} -void ActorUnkSTTG::func_ov094_0216a600(void) {} +void ActorUnkSTTG::Setup(void) {} void ActorUnkSTTG::func_ov094_0216a74c(void) {} -void ActorUnkSTTG::func_ov094_0216a760(void) {} -void ActorUnkSTTG::func_ov094_0216a768(void) {} -void ActorUnkSTTG::func_ov094_0216a788(void) {} -void ActorUnkSTTG::func_ov094_0216a84c(void) {} + +void ActorUnkSTTG::func_ov094_0216a760(ActorState state) { + mState = state; +} + +void ActorUnkSTTG::vfunc_24(void) { + if (mState != 0) { + return; + } + this->Update(); +} + +void ActorUnkSTTG::Update(void) {} + +void ActorUnkSTTG::func_ov094_0216a84c(void) { + if (this->func_ov094_0216ab34() != 0) { + this->func_ov094_0216a760(1); + } +} + void ActorUnkSTTG::func_ov094_0216a870(void) {} void ActorUnkSTTG::func_ov094_0216a928(void) {} -void ActorUnkSTTG::func_ov094_0216aa78(void) {} -void ActorUnkSTTG::func_ov094_0216aae4(void) {} -void ActorUnkSTTG::func_ov094_0216ab34(void) {} + +void ActorUnkSTTG::func_ov094_0216aa78(void) { + func_01ff916c(&mUnk_17C, -FX_F32_TO_FX32(1.1f), 0x400); + + VecFx32_Init(0, mUnk_17C + 0x99A, 0, &mUnk_154.center); + MTX_MultVec33(&mUnk_154.center, &mUnk_130, &mUnk_154.center); + + this->func_ov094_0216aee8(); + + if (mUnk_17C <= -FX_F32_TO_FX32(1.1f)) { + UNSET_FLAG(mFlags, 0); + } +} + +void ActorUnkSTTG::vfunc_2C(unk32 param1) { +#pragma unused(param1) + VecFx32 vec1, vec2; + VecFx32_Init(FX32_ONE, FX32_ONE, FX32_ONE, &vec1); + this->func_ov094_0216b150(&vec2, this); + mUnk_94.vfunc_10(&vec1, &mUnk_130, &vec2); +} + +unk32 ActorUnkSTTG::func_ov094_0216ab34(void) {} void ActorUnkSTTG::func_ov094_0216ada8(void) {} -void ActorUnkSTTG::func_ov094_0216aec0(void) {} + +void ActorUnkSTTG::func_ov094_0216aec0(VecFx32 *vec, ActorUnkSTTG *actor) { + VecFx32_Init(0, 0, FX32_ONE, vec); + MTX_MultVec33(vec, &actor->mUnk_130, vec); +} + void ActorUnkSTTG::func_ov094_0216aee8(void) {} -void ActorUnkSTTG::func_ov094_0216b150(void) {} -void ActorUnkSTTG::func_ov094_0216b188(void) {} -void ActorUnkSTTG::func_ov094_0216b1a4(void) {} -ActorUnkSTTG::~ActorUnkSTTG() {} -ActorProfileUnkSTTG::~ActorProfileUnkSTTG() {} +void ActorUnkSTTG::func_ov094_0216b150(VecFx32 *vec, ActorUnkSTTG *actor) { + VecFx32_Init(actor->mUnk_130._10, actor->mUnk_130._11, actor->mUnk_130._12, vec); + func_01ff93c0(vec, actor->mUnk_17C); + VEC_Add(vec, &actor->mPos, vec); +} + +void ActorUnkSTTG::func_ov094_0216b1a4(void) {} From 88eac95181ea0294263c0997cc9ad21c637d4481 Mon Sep 17 00:00:00 2001 From: Mityno Date: Fri, 27 Nov 2026 12:19:17 +0100 Subject: [PATCH 02/12] feat: Some jp symbols --- config/jp/arm9/overlays/ov094/relocs.txt | 4 ++-- config/jp/arm9/overlays/ov094/symbols.txt | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/jp/arm9/overlays/ov094/relocs.txt b/config/jp/arm9/overlays/ov094/relocs.txt index 111ef5aff..0a5a8cc49 100644 --- a/config/jp/arm9/overlays/ov094/relocs.txt +++ b/config/jp/arm9/overlays/ov094/relocs.txt @@ -592,8 +592,8 @@ from:0x0216c648 kind:arm_call to:0x0209932c module:overlay(0) from:0x0216c6c0 kind:arm_call to:0x02099dd4 module:overlay(0) from:0x0216c6dc kind:arm_call to:0x0202a17c module:main from:0x0216c708 kind:load to:0x02179954 add:0x8 module:overlay(94) -from:0x0216c70c kind:load to:0x02179930 module:overlay(94) -from:0x0216c710 kind:load to:0x021798c0 module:overlay(94) +from:0x0216c70c kind:load to:0x02179928 module:overlay(94) add:0x8 +from:0x0216c710 kind:load to:0x021798b8 module:overlay(94) add:0x8 from:0x0216c714 kind:load to:0x027e07d4 module:dtcm from:0x0216c720 kind:arm_call_thumb to:0x02059154 module:overlay(0) from:0x0216c738 kind:arm_call_thumb to:0x02059154 module:overlay(0) diff --git a/config/jp/arm9/overlays/ov094/symbols.txt b/config/jp/arm9/overlays/ov094/symbols.txt index 693235639..74688e854 100644 --- a/config/jp/arm9/overlays/ov094/symbols.txt +++ b/config/jp/arm9/overlays/ov094/symbols.txt @@ -637,12 +637,12 @@ data_ov094_02179620 kind:data(any) addr:0x02179620 data_ov094_02179668 kind:data(any) addr:0x02179668 _ZTV19data_ov094_02179680 kind:data(any) addr:0x02179680 _ZTV19data_ov094_0217979c kind:data(any) addr:0x0217979c -data_ov094_021798c0 kind:data(any) addr:0x021798c0 +_ZTV24UnkStruct_ov094_02177600 kind:data(any) addr:0x021798b8 data_ov094_021798d0 kind:data(any) addr:0x021798d0 data_ov094_021798e4 kind:data(any) addr:0x021798e4 -_ZTV19data_ov094_02179904 kind:data(any) addr:0x02179904 -data_ov094_02179930 kind:data(any) addr:0x02179930 -_ZTV19data_ov094_02179954 kind:data(any) addr:0x02179954 +_ZTV19ActorProfileUnkSTTG kind:data(any) addr:0x02179904 +_ZTV24UnkStruct_ov094_02177670 kind:data(any) addr:0x02179928 +_ZTV12ActorUnkSTTG kind:data(any) addr:0x02179954 data_ov094_021799b8 kind:data(any) addr:0x021799b8 data_ov094_021799c4 kind:data(any) addr:0x021799c4 data_ov094_021799cc kind:data(any) addr:0x021799cc From a1e3de209333f722be5f3ad27f2e393ddfd2f61b Mon Sep 17 00:00:00 2001 From: Mityno Date: Mon, 30 Nov 2026 20:50:12 +0100 Subject: [PATCH 03/12] feat: Decompile funcs and some data --- config/eur/arm9/overlays/ov030/symbols.txt | 2 +- config/eur/arm9/overlays/ov094/relocs.txt | 2 +- config/eur/arm9/overlays/ov094/symbols.txt | 8 +- config/eur1/arm9/overlays/ov030/symbols.txt | 2 +- config/eur1/arm9/overlays/ov094/symbols.txt | 6 +- config/jp/arm9/overlays/ov030/symbols.txt | 2 +- config/jp/arm9/overlays/ov094/symbols.txt | 6 +- config/usa/arm9/overlays/ov030/symbols.txt | 2 +- config/usa/arm9/overlays/ov094/symbols.txt | 6 +- include/Actor/ActorUnkSGMG.hpp | 3 +- include/Actor/ActorUnkSTTG.hpp | 43 +++++----- include/Unknown/UnkStruct_027e0d28.hpp | 7 ++ src/030_TrainFlame/Actor/ActorUnkSGMG.cpp | 2 +- src/094_Land2/Actor/ActorUnkSTTG.cpp | 88 +++++++++++++++++---- 14 files changed, 120 insertions(+), 59 deletions(-) create mode 100644 include/Unknown/UnkStruct_027e0d28.hpp diff --git a/config/eur/arm9/overlays/ov030/symbols.txt b/config/eur/arm9/overlays/ov030/symbols.txt index 9d80a8929..bb6800ba4 100644 --- a/config/eur/arm9/overlays/ov030/symbols.txt +++ b/config/eur/arm9/overlays/ov030/symbols.txt @@ -310,7 +310,7 @@ _ZN12ActorUnkSGMGD1Ev kind:function(arm,size=0x1c) addr:0x0214d890 _ZN12ActorUnkSGMGD0Ev kind:function(arm,size=0x24) addr:0x0214d8ac _ZN12ActorUnkSGMG19func_ov030_0214d8d0Ev kind:function(arm,size=0x10) addr:0x0214d8d0 _ZN12ActorUnkSGMG19func_ov030_0214d8e0Ev kind:function(arm,size=0x2d4) addr:0x0214d8e0 -_ZN12ActorUnkSGMG19func_ov030_0214dbb4Ev kind:function(arm,size=0x7c) addr:0x0214dbb4 +_ZN12ActorUnkSGMG19func_ov030_0214dbb4EP18UnkStruct_027e0d28P7VecFx32Ps kind:function(arm,size=0x7c) addr:0x0214dbb4 _ZN12ActorUnkSGMG19func_ov030_0214dc30Ev kind:function(arm,size=0x50) addr:0x0214dc30 _ZN12ActorUnkSGMG19func_ov030_0214dc80Ev kind:function(arm,size=0x10) addr:0x0214dc80 _ZN12ActorUnkSGMG19func_ov030_0214dc90Ev kind:function(arm,size=0x14) addr:0x0214dc90 diff --git a/config/eur/arm9/overlays/ov094/relocs.txt b/config/eur/arm9/overlays/ov094/relocs.txt index 28089a383..4fe418692 100644 --- a/config/eur/arm9/overlays/ov094/relocs.txt +++ b/config/eur/arm9/overlays/ov094/relocs.txt @@ -614,7 +614,7 @@ from:0x0216a720 kind:arm_call to:0x0216ada8 module:overlay(94) from:0x0216a72c kind:arm_call to:0x0216a760 module:overlay(94) from:0x0216a734 kind:arm_call to:0x0207bffc module:overlay(0) from:0x0216a740 kind:load to:0x027e0cd8 module:dtcm -from:0x0216a744 kind:load to:0x02177610 module:overlay(94) +from:0x0216a744 kind:load to:0x02177608 module:overlay(94) add:0x8 from:0x0216a754 kind:arm_call to:0x0207bffc module:overlay(0) from:0x0216a838 kind:arm_call to:0x0216ada8 module:overlay(94) from:0x0216a840 kind:load to:0x02177624 module:overlay(94) diff --git a/config/eur/arm9/overlays/ov094/symbols.txt b/config/eur/arm9/overlays/ov094/symbols.txt index dcf030a19..fa98b77f2 100644 --- a/config/eur/arm9/overlays/ov094/symbols.txt +++ b/config/eur/arm9/overlays/ov094/symbols.txt @@ -149,9 +149,9 @@ _ZN24UnkStruct_ov094_02177670D1Ev kind:function(arm,size=0x14) addr:0x0216a4a0 _ZN12ActorUnkSTTGD1Ev kind:function(arm,size=0x20) addr:0x0216a4b4 _ZN12ActorUnkSTTGD0Ev kind:function(arm,size=0x28) addr:0x0216a4d4 _ZN12ActorUnkSTTG4InitEi kind:function(arm,size=0xd8) addr:0x0216a4fc -_ZN12ActorUnkSTTG19func_ov094_0216a5d4Ev kind:function(arm,size=0x2c) addr:0x0216a5d4 +_ZN24UnkStruct_ov094_021776108vfunc_08EPK24UnkStruct_ov031_020f3310i kind:function(arm,size=0x2c) addr:0x0216a5d4 _ZN12ActorUnkSTTG5SetupEv kind:function(arm,size=0x14c) addr:0x0216a600 -_ZN12ActorUnkSTTG19func_ov094_0216a74cEv kind:function(arm,size=0x14) addr:0x0216a74c +_ZN24UnkStruct_ov094_02177610D1Ev kind:function(arm,size=0x14) addr:0x0216a74c _ZN12ActorUnkSTTG19func_ov094_0216a760Es kind:function(arm,size=0x8) addr:0x0216a760 _ZN12ActorUnkSTTG8vfunc_24Ev kind:function(arm,size=0x20) addr:0x0216a768 _ZN12ActorUnkSTTG6UpdateEv kind:function(arm,size=0xc4) addr:0x0216a788 @@ -166,7 +166,7 @@ _ZN12ActorUnkSTTG19func_ov094_0216aec0EP7VecFx32PS_ kind:function(arm,size=0x28) _ZN12ActorUnkSTTG19func_ov094_0216aee8Ev kind:function(arm,size=0x268) addr:0x0216aee8 _ZN12ActorUnkSTTG19func_ov094_0216b150EP7VecFx32PS_ kind:function(arm,size=0x38) addr:0x0216b150 _ZN24UnkStruct_ov094_02177670D0Ev kind:function(arm,size=0x1c) addr:0x0216b188 -_ZN12ActorUnkSTTG19func_ov094_0216b1a4Ev kind:function(arm,size=0x1c) addr:0x0216b1a4 +_ZN24UnkStruct_ov094_02177610D0Ev kind:function(arm,size=0x1c) addr:0x0216b1a4 _ZN19ActorProfileUnkSTTGD1Ev kind:function(arm,size=0x14) addr:0x0216b1c0 func_ov094_0216b1d4 kind:function(arm,size=0xb0) addr:0x0216b1d4 _ZN19ActorProfileUnkPCTG10GetProfileEv kind:function(arm,size=0xc) addr:0x0216b284 @@ -636,7 +636,7 @@ _ZTV19data_ov094_021773c0 kind:data(any) addr:0x021773c0 _ZTV19data_ov094_021774dc kind:data(any) addr:0x021774dc _ZTV19data_ov094_02177564 kind:data(any) addr:0x02177564 ambiguous _ZTV24UnkStruct_ov094_02177600 kind:data(any) addr:0x021775f8 -data_ov094_02177610 kind:data(any) addr:0x02177610 +_ZTV24UnkStruct_ov094_02177610 kind:data(any) addr:0x02177608 data_ov094_02177624 kind:data(any) addr:0x02177624 _ZTV19ActorProfileUnkSTTG kind:data(any) addr:0x02177644 _ZTV24UnkStruct_ov094_02177670 kind:data(any) addr:0x02177668 diff --git a/config/eur1/arm9/overlays/ov030/symbols.txt b/config/eur1/arm9/overlays/ov030/symbols.txt index 602947331..4a795ce6c 100644 --- a/config/eur1/arm9/overlays/ov030/symbols.txt +++ b/config/eur1/arm9/overlays/ov030/symbols.txt @@ -310,7 +310,7 @@ _ZN12ActorUnkSGMGD1Ev kind:function(arm,size=0x1c) addr:0x0214d9b0 _ZN12ActorUnkSGMGD0Ev kind:function(arm,size=0x24) addr:0x0214d9cc _ZN12ActorUnkSGMG19func_ov030_0214d8d0Ev kind:function(arm,size=0x10) addr:0x0214d9f0 _ZN12ActorUnkSGMG19func_ov030_0214d8e0Ev kind:function(arm,size=0x2d4) addr:0x0214da00 -_ZN12ActorUnkSGMG19func_ov030_0214dbb4Ev kind:function(arm,size=0x7c) addr:0x0214dcd4 +_ZN12ActorUnkSGMG19func_ov030_0214dbb4EP18UnkStruct_027e0d28P7VecFx32Ps kind:function(arm,size=0x7c) addr:0x0214dcd4 _ZN12ActorUnkSGMG19func_ov030_0214dc30Ev kind:function(arm,size=0x50) addr:0x0214dd50 _ZN12ActorUnkSGMG19func_ov030_0214dc80Ev kind:function(arm,size=0x10) addr:0x0214dda0 _ZN12ActorUnkSGMG19func_ov030_0214dc90Ev kind:function(arm,size=0x14) addr:0x0214ddb0 diff --git a/config/eur1/arm9/overlays/ov094/symbols.txt b/config/eur1/arm9/overlays/ov094/symbols.txt index 8cdaf3928..2c1231189 100644 --- a/config/eur1/arm9/overlays/ov094/symbols.txt +++ b/config/eur1/arm9/overlays/ov094/symbols.txt @@ -149,9 +149,9 @@ _ZN24UnkStruct_ov094_02177670D1Ev kind:function(arm,size=0x14) addr:0x0216a620 _ZN12ActorUnkSTTGD1Ev kind:function(arm,size=0x20) addr:0x0216a634 _ZN12ActorUnkSTTGD0Ev kind:function(arm,size=0x28) addr:0x0216a654 _ZN12ActorUnkSTTG4InitEi kind:function(arm,size=0xd8) addr:0x0216a67c -_ZN12ActorUnkSTTG19func_ov094_0216a5d4Ev kind:function(arm,size=0x2c) addr:0x0216a754 +_ZN24UnkStruct_ov094_021776108vfunc_08EPK24UnkStruct_ov031_020f3310i kind:function(arm,size=0x2c) addr:0x0216a754 _ZN12ActorUnkSTTG5SetupEv kind:function(arm,size=0x14c) addr:0x0216a780 -_ZN12ActorUnkSTTG19func_ov094_0216a74cEv kind:function(arm,size=0x14) addr:0x0216a8cc +_ZN24UnkStruct_ov094_02177610D1Ev kind:function(arm,size=0x14) addr:0x0216a8cc _ZN12ActorUnkSTTG19func_ov094_0216a760Es kind:function(arm,size=0x8) addr:0x0216a8e0 _ZN12ActorUnkSTTG8vfunc_24Ev kind:function(arm,size=0x20) addr:0x0216a8e8 _ZN12ActorUnkSTTG6UpdateEv kind:function(arm,size=0xc4) addr:0x0216a908 @@ -166,7 +166,7 @@ _ZN12ActorUnkSTTG19func_ov094_0216aec0EP7VecFx32PS_ kind:function(arm,size=0x28) _ZN12ActorUnkSTTG19func_ov094_0216aee8Ev kind:function(arm,size=0x268) addr:0x0216b068 _ZN12ActorUnkSTTG19func_ov094_0216b150EP7VecFx32PS_ kind:function(arm,size=0x38) addr:0x0216b2d0 _ZN24UnkStruct_ov094_02177670D0Ev kind:function(arm,size=0x1c) addr:0x0216b308 -_ZN12ActorUnkSTTG19func_ov094_0216b1a4Ev kind:function(arm,size=0x1c) addr:0x0216b324 +_ZN24UnkStruct_ov094_02177610D0Ev kind:function(arm,size=0x1c) addr:0x0216b324 _ZN19ActorProfileUnkSTTGD1Ev kind:function(arm,size=0x14) addr:0x0216b340 func_ov094_0216b1d4 kind:function(arm,size=0xb0) addr:0x0216b354 _ZN19ActorProfileUnkPCTG10GetProfileEv kind:function(arm,size=0xc) addr:0x0216b404 diff --git a/config/jp/arm9/overlays/ov030/symbols.txt b/config/jp/arm9/overlays/ov030/symbols.txt index 5504241cd..df73a419f 100644 --- a/config/jp/arm9/overlays/ov030/symbols.txt +++ b/config/jp/arm9/overlays/ov030/symbols.txt @@ -310,7 +310,7 @@ _ZN12ActorUnkSGMGD1Ev kind:function(arm,size=0x1c) addr:0x0214fc38 _ZN12ActorUnkSGMGD0Ev kind:function(arm,size=0x24) addr:0x0214fc54 _ZN12ActorUnkSGMG19func_ov030_0214d8d0Ev kind:function(arm,size=0x10) addr:0x0214fc78 _ZN12ActorUnkSGMG19func_ov030_0214d8e0Ev kind:function(arm,size=0x2d4) addr:0x0214fc88 -_ZN12ActorUnkSGMG19func_ov030_0214dbb4Ev kind:function(arm,size=0x7c) addr:0x0214ff5c +_ZN12ActorUnkSGMG19func_ov030_0214dbb4EP18UnkStruct_027e0d28P7VecFx32Ps kind:function(arm,size=0x7c) addr:0x0214ff5c _ZN12ActorUnkSGMG19func_ov030_0214dc30Ev kind:function(arm,size=0x50) addr:0x0214ffd8 _ZN12ActorUnkSGMG19func_ov030_0214dc80Ev kind:function(arm,size=0x10) addr:0x02150028 _ZN12ActorUnkSGMG19func_ov030_0214dc90Ev kind:function(arm,size=0x14) addr:0x02150038 diff --git a/config/jp/arm9/overlays/ov094/symbols.txt b/config/jp/arm9/overlays/ov094/symbols.txt index 74688e854..e2d39595b 100644 --- a/config/jp/arm9/overlays/ov094/symbols.txt +++ b/config/jp/arm9/overlays/ov094/symbols.txt @@ -150,9 +150,9 @@ _ZN24UnkStruct_ov094_02177670D1Ev kind:function(arm,size=0x14) addr:0x0216c718 _ZN12ActorUnkSTTGD1Ev kind:function(arm,size=0x20) addr:0x0216c72c _ZN12ActorUnkSTTGD0Ev kind:function(arm,size=0x28) addr:0x0216c74c _ZN12ActorUnkSTTG4InitEi kind:function(arm,size=0xd8) addr:0x0216c774 -_ZN12ActorUnkSTTG19func_ov094_0216a5d4Ev kind:function(arm,size=0x2c) addr:0x0216c84c +_ZN24UnkStruct_ov094_021776108vfunc_08EPK24UnkStruct_ov031_020f3310i kind:function(arm,size=0x2c) addr:0x0216c84c _ZN12ActorUnkSTTG5SetupEv kind:function(arm,size=0x14c) addr:0x0216c878 -_ZN12ActorUnkSTTG19func_ov094_0216a74cEv kind:function(arm,size=0x14) addr:0x0216c9c4 +_ZN24UnkStruct_ov094_02177610D1Ev kind:function(arm,size=0x14) addr:0x0216c9c4 _ZN12ActorUnkSTTG19func_ov094_0216a760Es kind:function(arm,size=0x8) addr:0x0216c9d8 _ZN12ActorUnkSTTG8vfunc_24Ev kind:function(arm,size=0x20) addr:0x0216c9e0 _ZN12ActorUnkSTTG6UpdateEv kind:function(arm,size=0xc4) addr:0x0216ca00 @@ -167,7 +167,7 @@ _ZN12ActorUnkSTTG19func_ov094_0216aec0EP7VecFx32PS_ kind:function(arm,size=0x28) _ZN12ActorUnkSTTG19func_ov094_0216aee8Ev kind:function(arm,size=0x268) addr:0x0216d160 _ZN12ActorUnkSTTG19func_ov094_0216b150EP7VecFx32PS_ kind:function(arm,size=0x38) addr:0x0216d3c8 _ZN24UnkStruct_ov094_02177670D0Ev kind:function(arm,size=0x1c) addr:0x0216d400 -_ZN12ActorUnkSTTG19func_ov094_0216b1a4Ev kind:function(arm,size=0x1c) addr:0x0216d41c +_ZN24UnkStruct_ov094_02177610D0Ev kind:function(arm,size=0x1c) addr:0x0216d41c _ZN19ActorProfileUnkSTTGD1Ev kind:function(arm,size=0x14) addr:0x0216d438 func_ov094_0216b1d4 kind:function(arm,size=0xb0) addr:0x0216d44c _ZN19ActorProfileUnkPCTG10GetProfileEv kind:function(arm,size=0xc) addr:0x0216d4fc diff --git a/config/usa/arm9/overlays/ov030/symbols.txt b/config/usa/arm9/overlays/ov030/symbols.txt index 0a305473a..767712366 100644 --- a/config/usa/arm9/overlays/ov030/symbols.txt +++ b/config/usa/arm9/overlays/ov030/symbols.txt @@ -310,7 +310,7 @@ _ZN12ActorUnkSGMGD1Ev kind:function(arm,size=0x1c) addr:0x0214d870 _ZN12ActorUnkSGMGD0Ev kind:function(arm,size=0x24) addr:0x0214d88c _ZN12ActorUnkSGMG19func_ov030_0214d8d0Ev kind:function(arm,size=0x10) addr:0x0214d8b0 _ZN12ActorUnkSGMG19func_ov030_0214d8e0Ev kind:function(arm,size=0x2d4) addr:0x0214d8c0 -_ZN12ActorUnkSGMG19func_ov030_0214dbb4Ev kind:function(arm,size=0x7c) addr:0x0214db94 +_ZN12ActorUnkSGMG19func_ov030_0214dbb4EP18UnkStruct_027e0d28P7VecFx32Ps kind:function(arm,size=0x7c) addr:0x0214db94 _ZN12ActorUnkSGMG19func_ov030_0214dc30Ev kind:function(arm,size=0x50) addr:0x0214dc10 _ZN12ActorUnkSGMG19func_ov030_0214dc80Ev kind:function(arm,size=0x10) addr:0x0214dc60 _ZN12ActorUnkSGMG19func_ov030_0214dc90Ev kind:function(arm,size=0x14) addr:0x0214dc70 diff --git a/config/usa/arm9/overlays/ov094/symbols.txt b/config/usa/arm9/overlays/ov094/symbols.txt index 573c69824..12dee9974 100644 --- a/config/usa/arm9/overlays/ov094/symbols.txt +++ b/config/usa/arm9/overlays/ov094/symbols.txt @@ -149,9 +149,9 @@ _ZN24UnkStruct_ov094_02177670D1Ev kind:function(arm,size=0x14) addr:0x0216a480 _ZN12ActorUnkSTTGD1Ev kind:function(arm,size=0x20) addr:0x0216a494 _ZN12ActorUnkSTTGD0Ev kind:function(arm,size=0x28) addr:0x0216a4b4 _ZN12ActorUnkSTTG4InitEi kind:function(arm,size=0xd8) addr:0x0216a4dc -_ZN12ActorUnkSTTG19func_ov094_0216a5d4Ev kind:function(arm,size=0x2c) addr:0x0216a5b4 +_ZN24UnkStruct_ov094_021776108vfunc_08EPK24UnkStruct_ov031_020f3310i kind:function(arm,size=0x2c) addr:0x0216a5b4 _ZN12ActorUnkSTTG5SetupEv kind:function(arm,size=0x14c) addr:0x0216a5e0 -_ZN12ActorUnkSTTG19func_ov094_0216a74cEv kind:function(arm,size=0x14) addr:0x0216a72c +_ZN24UnkStruct_ov094_02177610D1Ev kind:function(arm,size=0x14) addr:0x0216a72c _ZN12ActorUnkSTTG19func_ov094_0216a760Es kind:function(arm,size=0x8) addr:0x0216a740 _ZN12ActorUnkSTTG8vfunc_24Ev kind:function(arm,size=0x20) addr:0x0216a748 _ZN12ActorUnkSTTG6UpdateEv kind:function(arm,size=0xc4) addr:0x0216a768 @@ -166,7 +166,7 @@ _ZN12ActorUnkSTTG19func_ov094_0216aec0EP7VecFx32PS_ kind:function(arm,size=0x28) _ZN12ActorUnkSTTG19func_ov094_0216aee8Ev kind:function(arm,size=0x268) addr:0x0216aec8 _ZN12ActorUnkSTTG19func_ov094_0216b150EP7VecFx32PS_ kind:function(arm,size=0x38) addr:0x0216b130 _ZN24UnkStruct_ov094_02177670D0Ev kind:function(arm,size=0x1c) addr:0x0216b168 -_ZN12ActorUnkSTTG19func_ov094_0216b1a4Ev kind:function(arm,size=0x1c) addr:0x0216b184 +_ZN24UnkStruct_ov094_02177610D0Ev kind:function(arm,size=0x1c) addr:0x0216b184 _ZN19ActorProfileUnkSTTGD1Ev kind:function(arm,size=0x14) addr:0x0216b1a0 func_ov094_0216b1d4 kind:function(arm,size=0xb0) addr:0x0216b1b4 _ZN19ActorProfileUnkPCTG10GetProfileEv kind:function(arm,size=0xc) addr:0x0216b264 diff --git a/include/Actor/ActorUnkSGMG.hpp b/include/Actor/ActorUnkSGMG.hpp index 2086e7d7f..d4f1e8f8b 100644 --- a/include/Actor/ActorUnkSGMG.hpp +++ b/include/Actor/ActorUnkSGMG.hpp @@ -4,6 +4,7 @@ #include "Actor/Actor.hpp" #include "Actor/ActorProfile.hpp" +#include "Unknown/UnkStruct_027e0d28.hpp" #include "global.h" #include "types.h" @@ -28,7 +29,7 @@ class ActorUnkSGMG : public Actor { void func_ov030_0214d8d0(void); void func_ov030_0214d8e0(void); - void func_ov030_0214dbb4(void); + static unk32 func_ov030_0214dbb4(UnkStruct_027e0d28 *, VecFx32 *, unk16 *); void func_ov030_0214dc30(void); void func_ov030_0214dc80(void); void func_ov030_0214dc90(void); diff --git a/include/Actor/ActorUnkSTTG.hpp b/include/Actor/ActorUnkSTTG.hpp index 1309c9ad6..3a30a94de 100644 --- a/include/Actor/ActorUnkSTTG.hpp +++ b/include/Actor/ActorUnkSTTG.hpp @@ -5,22 +5,13 @@ #include "Actor/ActorSpinut.hpp" #include "Physics/Sphere.hpp" #include "Render/ModelRender.hpp" +#include "Unknown/UnkStruct_027e0ce0.hpp" #include "global.h" #include "math.hpp" #include "nitro/fx.h" #include "nns/g3d/g3d.h" #include "types.h" -class ActorUnkSTTG_C4 : public Actor_C4 { -public: - ActorUnkSTTG_C4(Actor *param1); - - /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; - /* 04 */ virtual bool vfunc_04() override; - /* 08 */ virtual void vfunc_08() override; - /* 0C */ virtual void vfunc_0C(unk32 param1) override; -}; - class UnkStruct_ov094_02177670 : public ModelRender_ov000_020b1a1c { public: /* 00 (vtable) */ @@ -30,6 +21,18 @@ class UnkStruct_ov094_02177670 : public ModelRender_ov000_020b1a1c { ModelRender_ov000_020b1a1c(pModel) {}; }; +class UnkStruct_ov094_02177610 : public UnkStruct_ov031_Items_00_Base { +public: + /* 00 (vtable) */ + /* 04 */ VecFx32 *mUnk_04; + + UnkStruct_ov094_02177610(VecFx32 *param1) : + mUnk_04(param1) {} + + // /* 00 */ virtual ~UnkStruct_ov094_02177610(); + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2); +}; + class UnkStruct_ov094_02177600 : public Actor_9C { public: /* 00 (vtable) */ @@ -39,14 +42,12 @@ class UnkStruct_ov094_02177600 : public Actor_9C { Actor_9C() {}; }; -struct UnkStruct_func_ov094_0216a5d4_0 { - /* 00 */ PAD(0x0, 0x4); - /* 04 */ VecFx32 *vec; -}; - -struct UnkStruct_func_ov094_0216a5d4_1 { - /* 00 */ PAD(0x0, 0x8); - /* 08 */ VecFx16 vec; +enum ActorUnkSTTGState_ { + ActorUnkSTTGState_0, + ActorUnkSTTGState_1, + ActorUnkSTTGState_2, + ActorUnkSTTGState_3, + ActorUnkSTTGState_Max, }; class ActorUnkSTTG : public Actor { @@ -71,8 +72,7 @@ class ActorUnkSTTG : public Actor { /* 184 */ unk32 mUnk_184; /* 188 */ unk16 mUnk_188; /* 18A */ unk16 mUnk_18A; - /* 18C */ unk16 mUnk_18C; - /* 18E */ unk16 mUnk_18E; + /* 18C */ Timer mUnk_18C; /* 190 */ unk16 mUnk_190; /* 192 */ unk8 mUnk_192; @@ -85,8 +85,6 @@ class ActorUnkSTTG : public Actor { /* 2C */ virtual void vfunc_2C(unk32 param1) override; void func_ov094_0216a4fc(void); - static unk32 func_ov094_0216a5d4(UnkStruct_func_ov094_0216a5d4_0 *param1, UnkStruct_func_ov094_0216a5d4_1 *param2); - void func_ov094_0216a74c(void); void func_ov094_0216a760(ActorState state); void func_ov094_0216a84c(void); void func_ov094_0216a870(void); @@ -97,7 +95,6 @@ class ActorUnkSTTG : public Actor { static void func_ov094_0216aec0(VecFx32 *vec, ActorUnkSTTG *actor); void func_ov094_0216aee8(void); static void func_ov094_0216b150(VecFx32 *vec, ActorUnkSTTG *actor); - void func_ov094_0216b1a4(void); }; class ActorProfileUnkSTTG : public ActorProfile_Derived1 { diff --git a/include/Unknown/UnkStruct_027e0d28.hpp b/include/Unknown/UnkStruct_027e0d28.hpp new file mode 100644 index 000000000..9c9f5037c --- /dev/null +++ b/include/Unknown/UnkStruct_027e0d28.hpp @@ -0,0 +1,7 @@ +#pragma once + +struct UnkStruct_027e0d28 { + /* 00 */ +}; + +extern UnkStruct_027e0d28 *data_027e0d28; diff --git a/src/030_TrainFlame/Actor/ActorUnkSGMG.cpp b/src/030_TrainFlame/Actor/ActorUnkSGMG.cpp index c54f8cc87..60b9791a4 100644 --- a/src/030_TrainFlame/Actor/ActorUnkSGMG.cpp +++ b/src/030_TrainFlame/Actor/ActorUnkSGMG.cpp @@ -16,7 +16,7 @@ ActorUnkSGMG::ActorUnkSGMG() {} void ActorUnkSGMG::func_ov030_0214d8d0(void) {} void ActorUnkSGMG::func_ov030_0214d8e0(void) {} -void ActorUnkSGMG::func_ov030_0214dbb4(void) {} +unk32 ActorUnkSGMG::func_ov030_0214dbb4(UnkStruct_027e0d28 *, VecFx32 *, unk16 *) {} void ActorUnkSGMG::func_ov030_0214dc30(void) {} void ActorUnkSGMG::func_ov030_0214dc80(void) {} void ActorUnkSGMG::func_ov030_0214dc90(void) {} diff --git a/src/094_Land2/Actor/ActorUnkSTTG.cpp b/src/094_Land2/Actor/ActorUnkSTTG.cpp index b17bdcb3c..3490fed36 100644 --- a/src/094_Land2/Actor/ActorUnkSTTG.cpp +++ b/src/094_Land2/Actor/ActorUnkSTTG.cpp @@ -1,17 +1,29 @@ #include "Actor/ActorUnkSTTG.hpp" #include "Actor/Actor.hpp" +#include "Actor/ActorUnkSGMG.hpp" #include "CommonFuncs.hpp" +#include "Course/CourseManager.hpp" +#include "Unknown/UnkStruct_027e09a8.hpp" +#include "Unknown/UnkStruct_027e0cec.hpp" +#include "Unknown/UnkStruct_027e0d28.hpp" #include "flags.h" #include "nitro/fx.h" #include "nitro/fx/consts.h" #include "nitro/math.h" #include "nitro/mi.h" -#include "nitro/types.h" #include "nns/g3d/g3d.h" #include "profile.hpp" +#include "types.h" DECL_PROFILE(ActorProfileUnkSTTG); +static PTMF data_ov094_02177624[ActorUnkSTTGState_Max] = { + &ActorUnkSTTG::func_ov094_0216a84c, // ActorUnkSTTGState_0 + &ActorUnkSTTG::func_ov094_0216a870, // ActorUnkSTTGState_1 + &ActorUnkSTTG::func_ov094_0216a928, // ActorUnkSTTGState_2 + &ActorUnkSTTG::func_ov094_0216aa78, // ActorUnkSTTGState_3 +}; + Actor *ActorProfileUnkSTTG::Create() { return new(HeapIndex_2) ActorUnkSTTG(); } @@ -38,8 +50,7 @@ ActorUnkSTTG::ActorUnkSTTG() : mUnk_184(0), mUnk_188(0), mUnk_18A(0), - mUnk_18C(0), - mUnk_18E(0), + mUnk_18C(0, 0), mUnk_190(0), mUnk_192(0) { this->func_ov000_0209862c(4); @@ -76,19 +87,39 @@ bool ActorUnkSTTG::Init(unk32 param1) { return true; } -unk32 ActorUnkSTTG::func_ov094_0216a5d4(UnkStruct_func_ov094_0216a5d4_0 *param1, UnkStruct_func_ov094_0216a5d4_1 *param2) { - fx16 y = param2->vec.y; - if (y > 0) { - VecFx32 *vec = param1->vec; - vec->x = param2->vec.x; - vec->y = y; - vec->z = param2->vec.z; +bool UnkStruct_ov094_02177610::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +#pragma unused(param2) + if (param1->mUnk_08.y > 0) { + VecFx16_Copy2VecFx32(¶m1->mUnk_08, mUnk_04); } return 1; } -void ActorUnkSTTG::Setup(void) {} -void ActorUnkSTTG::func_ov094_0216a74c(void) {} +void ActorUnkSTTG::Setup(void) { + mPos.y += FX_F32_TO_FX32(5.0f); + mPos.y = gpCourseManager->mpMapMgr->vfunc_28(&mPos, 0, 0); + + while (this->func_ov094_0216ab34() == 0) { + } + + mPos.y += FX_F32_TO_FX32(5.0f); + mPos.y = gpCourseManager->mpMapMgr->vfunc_28(&mPos, 0, 0); + + UnkStruct_ov094_02177610 stackVar1(&mUnk_164.vec); + UnkStruct_ov031_020e5d18_00 stackVar2; + stackVar2.mUnk_00 = 0; + VecFx32 vec = mPos; + stackVar2.func_01ffe6c4(mRef, &mPos, &mPos, 3, &vec, &stackVar1); + + Sphere sphere(0, 0x19A, 0, 0x333); + if ((this->func_ov000_0207e294(&stackVar2.mUnk_00, &sphere) & 3) == 0) { + UNSET_FLAG(mFlags, 0); + return; + } + + this->func_ov094_0216ada8(); + this->func_ov094_0216a760(1); +} void ActorUnkSTTG::func_ov094_0216a760(ActorState state) { mState = state; @@ -101,7 +132,15 @@ void ActorUnkSTTG::vfunc_24(void) { this->Update(); } -void ActorUnkSTTG::Update(void) {} +void ActorUnkSTTG::Update(void) { + CALL_PTMF(data_ov094_02177624[mState]); + + if (!mUnk_18C.HasReachedMaxU()) { + mUnk_18C.Update(); + mUnk_190 = FX_MUL(mUnk_18C.GetRemainingTime() * 2000 / 0x12, SIN((s16) mUnk_18C.GetValue())); + this->func_ov094_0216ada8(); + } +} void ActorUnkSTTG::func_ov094_0216a84c(void) { if (this->func_ov094_0216ab34() != 0) { @@ -109,7 +148,26 @@ void ActorUnkSTTG::func_ov094_0216a84c(void) { } } -void ActorUnkSTTG::func_ov094_0216a870(void) {} +void ActorUnkSTTG::func_ov094_0216a870(void) { + if (ActorUnkSGMG::func_ov030_0214dbb4(data_027e0d28, &mUnk_170.vec, &mUnk_F8)) { + SET_FLAG(mFlags, 1); + this->func_ov000_0209862c(4); + + VecFx16 vec; + fx16 z = mUnk_164.vec.z; + fx16 y = mUnk_164.vec.y; + fx16 x = mUnk_164.vec.x; + vec.x = x; + vec.y = y; + vec.z = z; + data_027e0cec->func_ov000_0209ff24(0x76, &mPos, &vec, 2); + + data_027e09a8->func_ov000_02071b30(0x9C79, &mPos, 0); + + this->func_ov094_0216a760(2); + } +} + void ActorUnkSTTG::func_ov094_0216a928(void) {} void ActorUnkSTTG::func_ov094_0216aa78(void) { @@ -148,5 +206,3 @@ void ActorUnkSTTG::func_ov094_0216b150(VecFx32 *vec, ActorUnkSTTG *actor) { func_01ff93c0(vec, actor->mUnk_17C); VEC_Add(vec, &actor->mPos, vec); } - -void ActorUnkSTTG::func_ov094_0216b1a4(void) {} From 36c609ef2de76cea7c4c0b73e29e10c126fe6520 Mon Sep 17 00:00:00 2001 From: Mityno <84503460+Mityno@users.noreply.github.com> Date: Fri, 27 Nov 2026 15:02:35 +0000 Subject: [PATCH 04/12] Update tips.md (#203) * feat: Update tips.md Remove comment about `Actor.mAngle`'s type Add some ninja targets that are useful * fix: Fix broken link and decomp-dev truncating threshold * review: Update versions Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com> * review: Add ninja_delink_ --------- Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com> --- docs/tips.md | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/docs/tips.md b/docs/tips.md index 544691dc3..0b2a4753b 100644 --- a/docs/tips.md +++ b/docs/tips.md @@ -55,14 +55,12 @@ Some macros and inlines exists to operate on them, two major ones are `FX_F32_TO There is a `DEG_TO_ANG(n)` macro that converts an angle from degrees to an internal hexadecimal representation. There are two macros `SIN(n)` and `COS(n)` that compute the expected trigonometric values by doing a table lookup[^sincos]. Note that both macros access the same table, but the kind of operation performed can usually be determined by looking at the lookup pattern: + - for `SIN`, `FX_SinCosTable_` is accessed at roughly `2 * n`; - for `COS`, `FX_SinCosTable_` is accessed at roughly `2 * n + 1`. The `+1` allows for the differentiation. [^sincos]: You can usually spot these operations by seing a lookup to the table in ghidra. -`Actor.mAngle` sometime is unexpectedly saved onto the stack when used in function calls. It's default type is `fx16`, but this type usually doesn't lead to the stack save. The member's type is actually an union, also including `mAngleStruct` of type `UnkAngleStruct`, using this type usually solves the stack save pattern. - - ## Random Random operations are handled by the `gRandom` class. The most common operation is `gRandom.Next32(u32 factor)`, with `factor=0` being a very common value. \ @@ -124,17 +122,29 @@ From there, you can get the address of the symbol. Use it to search Ghidra inste The default `ninja` commands run many checks and ensures that compilation gives the same output as the original file. During development, you may want to run checks with re-compiling the whole project. The following section give details about targets that may help you with that. +Some targets can be executed for specific versions of the game, this is denoted using `` below. You can replace this tag with any valid version (`eur`, `eur1`, `jp`, `usa`). - [`objdiff`](#objdiff) +- [`delink`](#delink) - [`report_`](#report_version) - [`rom_`](#rom_version) - [`check_`](#check_version) - [`sha1_`](#sha1_version) - [Github CI/CD's rules](#github-cicds-rules) +- [``](#version) +- [Report Summary](#report-summary) + +> [!NOTE] +> It is recommended to get familiar with all of these targets. But the most important and useful ones for everyday tasks are `objdiff`, `delink` and ``. ### `objdiff` -`ninja objdiff` re-generated `objdiff.json` and will warn you about illegal name access, a wrong renaming or broken addresses. +`ninja objdiff` re-generates `objdiff.json` and will warn you about illegal name access, a wrong renaming or broken addresses. + +### `delink` + +`ninja delink` delinks and updates symbols for all supported versions. This usually is enough to reload already existing symbols in `objdiff`, although it doesn't update its configuration like `ninja objdiff` does to show newly delinked files. +A version-specific variation of the command exists: `ninja delink_`. ### `report_` @@ -154,9 +164,29 @@ During development, you may want to run checks with re-compiling the whole proje ### Github CI/CD's rules -For each supported version (as of now, EUR and JP), the CI/CD runs the following command: `ninja arm9_ report_ check_`. \ +For each supported version (as of now: `eur`, `eur1`, `jp` and `usa`), the CI/CD runs the following command: `ninja arm9_ report_ check_`, available in short with `ninja `. \ You may run that command locally before pushing to your branch to see if CI/CD should pass or not. (Note that differences in the command result may still be observed because of non-committed changes or changes to the local configuration.) +### `` + +`ninja eur` runs the same command as Github's CI/CD described above. It is very useful to check that your code compiles and links normally, as will be done in Github's PR. + +### Report Summary + +As explained in [CONTRIBUTING.md](../CONTRIBUTING.md), you can generate a report of changes locally instead of waiting for the decomp-dev bot to update its comment in your PR. \ +If your PR accumulates many changes, the bot will also truncate results after 30 entries per category. +The report generated with `ninja` will not, enabling more precise comparison of the changes made. + +Here are the steps to generate a report highlighting the changes: + +1. Run `ninja baseline_` from the upstream/main branch. +1. Checkout your branch and run `ninja changes_`. This will show all regressions and broken matches. +1. Alternatively, you can run `ninja changes_all_`. This will show all changes, also including improvements and new matches. + +> [!TIP] +> When syncing versions, running `diff -y <(ninja changes_all_eur) <(ninja change_all_)` will show you differences between the changes for both versions (`-y` shows outputs side by side in two columns). +> This way, you can see what is still missing or doesn't have the same match percentage in the version you're syncing. + # Github ## CI/CD From 0c28ce1b369fc1b8e5353de3d477403fa6acb594 Mon Sep 17 00:00:00 2001 From: Yanis <35189056+Yanis002@users.noreply.github.com> Date: Sun, 29 Nov 2026 16:55:47 +0100 Subject: [PATCH 05/12] Decompile overlay 31 (`Land`) (Part 7) (#206) * fix ActorUnkSWBM ctor * PlayerActors_031 OK * UnkStruct_027e0ce0_40_Base_78_031 OK * PlayerLinkActor_A0_14_031 OK * fix build issues * document a bit link states * the link state rabbit hole --- config/eur/arm9/itcm/symbols.txt | 2 +- config/eur/arm9/overlays/ov000/delinks.txt | 3 + config/eur/arm9/overlays/ov000/symbols.txt | 50 +- config/eur/arm9/overlays/ov031/delinks.txt | 11 +- config/eur/arm9/overlays/ov031/relocs.txt | 12 +- config/eur/arm9/overlays/ov031/symbols.txt | 43 +- config/eur/arm9/overlays/ov093/symbols.txt | 4 +- config/eur1/arm9/itcm/symbols.txt | 2 +- config/eur1/arm9/overlays/ov000/symbols.txt | 50 +- config/eur1/arm9/overlays/ov031/symbols.txt | 36 +- config/eur1/arm9/overlays/ov093/symbols.txt | 4 +- config/jp/arm9/itcm/symbols.txt | 2 +- config/jp/arm9/overlays/ov000/symbols.txt | 46 +- config/jp/arm9/overlays/ov031/symbols.txt | 36 +- config/jp/arm9/overlays/ov093/symbols.txt | 4 +- config/usa/arm9/itcm/symbols.txt | 2 +- config/usa/arm9/overlays/ov000/symbols.txt | 46 +- config/usa/arm9/overlays/ov031/symbols.txt | 36 +- config/usa/arm9/overlays/ov093/symbols.txt | 4 +- include/Actor/ActorItemTornado.hpp | 2 +- include/Actor/ActorUnkCLLT.hpp | 1 + include/CommonFuncs.hpp | 1 + .../LinkStateBase.hpp} | 35 +- .../LinkStateDamage.hpp} | 51 +- include/Player/PlayerActorBase.hpp | 2 +- include/Player/PlayerGet.hpp | 10 +- include/Player/PlayerLink.hpp | 79 +- include/Player/PlayerSceneChange.hpp | 6 +- include/Player/PlayerZelda.hpp | 32 +- include/Render/ModelRender.hpp | 2 +- include/Unknown/UnkStruct_027e0208.hpp | 4 +- include/Unknown/UnkStruct_027e09bc.hpp | 2 +- include/Unknown/UnkStruct_027e0ce0.hpp | 7 +- include/Unknown/UnkStruct_027e0d8c.hpp | 8 +- include/Unknown/UnkStruct_ov000_020b2cec.hpp | 185 ++- include/Unknown/UnkStruct_ov031_Items.hpp | 2 +- libs/nitro/include/nitro/fx.h | 6 +- libs/nns/include/nns/g3d/g3d.h | 6 + .../Player/PlayerLinkActor_A0_000.cpp | 123 +- src/000_Second/Player/data_ov000_020ad02c.cpp | 1435 +++++++++++++++++ .../UnkStruct_027e0ce0_40_017.cpp | 2 +- src/031_Land/Actor/ActorItemTornado.cpp | 2 +- src/031_Land/Actor/ActorUnkSWBM.cpp | 2 +- .../LinkStateDamage_031.cpp} | 28 +- .../LinkStateGrabbed_031.cpp} | 0 .../LinkStateHit_031.cpp} | 0 src/031_Land/Player/PlayerActors_031.cpp | 57 + .../Player/PlayerLinkActor_A0_14_031.cpp | 71 + .../UnkStruct_027e0ce0_40_Base_78_031.cpp | 235 +++ .../UnkStruct_ov031_Items_01_Derived1.cpp | 4 +- .../UnkStruct_027e0ce0_40_102.cpp | 8 +- src/110_PlayerGet/PlayerGet.cpp | 2 +- .../PlayerSceneChange.cpp | 4 +- .../PlayerSceneChange2.cpp | 2 +- tools/configure.py | 7 +- 55 files changed, 2452 insertions(+), 364 deletions(-) rename include/{Unknown/UnkStruct_ov000_0208f820.hpp => Player/LinkStateBase.hpp} (80%) rename include/{Unknown/UnkStruct_ov000_02090850.hpp => Player/LinkStateDamage.hpp} (65%) create mode 100644 src/000_Second/Player/data_ov000_020ad02c.cpp rename src/031_Land/{UnkStruct_ov000_02090850_031.cpp => Player/LinkStateDamage_031.cpp} (80%) rename src/031_Land/{code_020dd384_031.cpp => Player/LinkStateGrabbed_031.cpp} (100%) rename src/031_Land/{code_020de224_031.cpp => Player/LinkStateHit_031.cpp} (100%) diff --git a/config/eur/arm9/itcm/symbols.txt b/config/eur/arm9/itcm/symbols.txt index f3ff54676..c07f23c6b 100644 --- a/config/eur/arm9/itcm/symbols.txt +++ b/config/eur/arm9/itcm/symbols.txt @@ -190,7 +190,7 @@ func_01ffef34 kind:function(arm,size=0x128) addr:0x01ffef34 func_01fff05c kind:function(arm,size=0x58) addr:0x01fff05c func_01fff0b4 kind:function(arm,size=0x94) addr:0x01fff0b4 _ZN18UnkStruct_027e0ce013func_01fff148E11PlayerType_ kind:function(arm,size=0x20) addr:0x01fff148 -func_01fff168 kind:function(arm,size=0x14) addr:0x01fff168 +_ZN18UnkStruct_027e0ce013func_01fff168E11PlayerType_ kind:function(arm,size=0x14) addr:0x01fff168 func_01fff17c kind:function(arm,size=0x28) addr:0x01fff17c _ZN18UnkStruct_027e0ce013func_01fff1a4Ev kind:function(arm,size=0x3c) addr:0x01fff1a4 _ZN18UnkStruct_027e0ce013func_01fff1e0Ev kind:function(arm,size=0x74) addr:0x01fff1e0 diff --git a/config/eur/arm9/overlays/ov000/delinks.txt b/config/eur/arm9/overlays/ov000/delinks.txt index 5e0d73602..137577bc5 100644 --- a/config/eur/arm9/overlays/ov000/delinks.txt +++ b/config/eur/arm9/overlays/ov000/delinks.txt @@ -145,3 +145,6 @@ src/000_Second/Player/PlayerLinkActor_A0_000.cpp: src/000_Second/Player/data_ov000_020b2e60.cpp: complete .data start:0x020b2e60 end:0x020b2f58 + +src/000_Second/Player/data_ov000_020ad02c.cpp: + .rodata start:0x020ad02c end:0x020adc5c diff --git a/config/eur/arm9/overlays/ov000/symbols.txt b/config/eur/arm9/overlays/ov000/symbols.txt index 743d4fc1c..aa2134e3e 100644 --- a/config/eur/arm9/overlays/ov000/symbols.txt +++ b/config/eur/arm9/overlays/ov000/symbols.txt @@ -158,7 +158,7 @@ _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058a24Ev kind:function(arm, _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058a58Eii kind:function(arm,size=0x2c) addr:0x02058a58 _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058a84EiPKc kind:function(arm,size=0x2c) addr:0x02058a84 _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058ab0Ev kind:function(arm,size=0xe8) addr:0x02058ab0 -_ZN24PlayerLinkActor_A0_14_04C1Ei kind:function(thumb,size=0x1c) addr:0x02058b98 +_ZN24PlayerLinkActor_A0_14_04C1EP10G3d_Model_ kind:function(thumb,size=0x1c) addr:0x02058b98 _ZN24PlayerLinkActor_A0_14_048vfunc_08EP9G3d_Model kind:function(arm,size=0x34) addr:0x02058bb4 _ZN24PlayerLinkActor_A0_14_048vfunc_0CEv kind:function(arm,size=0x14) addr:0x02058be8 _ZN24PlayerLinkActor_A0_14_04D1Ev kind:function(arm,size=0x14) addr:0x02058bfc @@ -1827,22 +1827,22 @@ func_ov000_02088da8 kind:function(arm,size=0x2c) addr:0x02088da8 func_ov000_02088dd4 kind:function(arm,size=0x24) addr:0x02088dd4 func_ov000_02088df8 kind:function(arm,size=0x34) addr:0x02088df8 func_ov000_02088e2c kind:function(arm,size=0x34) addr:0x02088e2c -_ZN27UnkStruct_ov000_02090850_60C1EP15PlayerLinkActorP27UnkStruct_ov000_0208f820_2c kind:function(arm,size=0x40) addr:0x02088e60 +_ZN18LinkStateDamage_60C1EP15PlayerLinkActorP16LinkStateBase_2C kind:function(arm,size=0x40) addr:0x02088e60 func_ov000_02088ea0 kind:function(arm,size=0x14) addr:0x02088ea0 func_ov000_02088eb4 kind:function(arm,size=0x7c) addr:0x02088eb4 func_ov000_02088f30 kind:function(arm,size=0x384) addr:0x02088f30 -_ZN27UnkStruct_ov000_02090850_84C1EP15PlayerLinkActorP22UnkStruct_PlayerGet_50P22UnkStruct_PlayerGet_50 kind:function(arm,size=0x6c) addr:0x020892b4 +_ZN18LinkStateDamage_84C1EP15PlayerLinkActorP22UnkStruct_PlayerGet_50P22UnkStruct_PlayerGet_50 kind:function(arm,size=0x6c) addr:0x020892b4 func_ov000_02089320 kind:function(arm,size=0x14) addr:0x02089320 func_ov000_02089334 kind:function(arm,size=0x14) addr:0x02089334 -_ZN28UnkStruct_ov000_02090850_184C1EP15PlayerLinkActorP27UnkStruct_ov000_0208f820_2c kind:function(arm,size=0x40) addr:0x02089348 +_ZN19LinkStateDamage_184C1EP15PlayerLinkActorP16LinkStateBase_2C kind:function(arm,size=0x40) addr:0x02089348 func_ov000_02089388 kind:function(arm,size=0x60) addr:0x02089388 func_ov000_020893e8 kind:function(arm,size=0x94) addr:0x020893e8 func_ov000_0208947c kind:function(arm,size=0x40) addr:0x0208947c func_ov000_020894bc kind:function(arm,size=0x1ac) addr:0x020894bc func_ov000_02089668 kind:function(arm,size=0x84) addr:0x02089668 -_ZN27UnkStruct_ov000_02090850_ACC1EP15PlayerLinkActorP27UnkStruct_ov000_0208f820_2c kind:function(arm,size=0x100) addr:0x020896ec +_ZN18LinkStateDamage_ACC1EP15PlayerLinkActorP16LinkStateBase_2C kind:function(arm,size=0x100) addr:0x020896ec func_ov000_020897ec kind:function(arm,size=0x3c) addr:0x020897ec -_ZN27UnkStruct_ov000_02090850_AC8vfunc_00Eii kind:function(arm,size=0x20) addr:0x02089828 +_ZN18LinkStateDamage_AC8vfunc_00Eii kind:function(arm,size=0x20) addr:0x02089828 _ZN19func_ov000_02089848D1Ev kind:function(arm,size=0x2c) addr:0x02089848 _ZN19func_ov000_02089874D0Ev kind:function(arm,size=0x34) addr:0x02089874 _ZN19func_ov000_020898a8D2Ev kind:function(arm,size=0x2c) addr:0x020898a8 @@ -1969,7 +1969,7 @@ func_ov000_0208c444 kind:function(arm,size=0x178) addr:0x0208c444 func_ov000_0208c5bc kind:function(arm,size=0xe4) addr:0x0208c5bc _ZN19func_ov000_0208c6a0D1Ev kind:function(arm,size=0x14) addr:0x0208c6a0 _ZN19func_ov000_0208c6b4D0Ev kind:function(arm,size=0x1c) addr:0x0208c6b4 -func_ov000_0208c6d0 kind:function(thumb,size=0x2) addr:0x0208c6d0 +_ZN26PlayerLinkActor_A0_14_BaseD2Ev kind:function(thumb,size=0x2) addr:0x0208c6d0 func_ov000_0208c6d4 kind:function(arm,size=0x50) addr:0x0208c6d4 func_ov000_0208c724 kind:function(arm,size=0x68) addr:0x0208c724 _ZN21PlayerActorBase_70_1CC1EP18PlayerActorBase_70 kind:function(thumb,size=0x24) addr:0x0208c78c @@ -2075,10 +2075,10 @@ func_ov000_0208f00c kind:function(arm,size=0x430) addr:0x0208f00c func_ov000_0208f43c kind:function(arm,size=0x120) addr:0x0208f43c func_ov000_0208f55c kind:function(arm,size=0x124) addr:0x0208f55c func_ov000_0208f680 kind:function(arm,size=0x1a0) addr:0x0208f680 -_ZN24UnkStruct_ov000_0208f820C2EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x8c) addr:0x0208f820 -func_ov000_0208f8ac kind:function(arm,size=0x4) addr:0x0208f8ac -_ZN19func_ov000_0208f8b0D0Ev kind:function(arm,size=0x14) addr:0x0208f8b0 -_ZN24UnkStruct_ov000_0208f820D2Ev kind:function(arm,size=0x4) addr:0x0208f8c4 +_ZN13LinkStateBaseC2EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x8c) addr:0x0208f820 +_ZN13LinkStateBaseD1Ev kind:function(arm,size=0x4) addr:0x0208f8ac +_ZN13LinkStateBaseD0Ev kind:function(arm,size=0x14) addr:0x0208f8b0 +_ZN13LinkStateBaseD2Ev kind:function(arm,size=0x4) addr:0x0208f8c4 func_ov000_0208f8c8 kind:function(arm,size=0x8c) addr:0x0208f8c8 func_ov000_0208f954 kind:function(arm,size=0x40) addr:0x0208f954 func_ov000_0208f994 kind:function(arm,size=0x11c) addr:0x0208f994 @@ -2089,26 +2089,26 @@ func_ov000_0208fef4 kind:function(arm,size=0x44) addr:0x0208fef4 func_ov000_0208ff38 kind:function(arm,size=0x154) addr:0x0208ff38 func_ov000_0209008c kind:function(arm,size=0xc8) addr:0x0209008c func_ov000_02090154 kind:function(arm,size=0x48) addr:0x02090154 -_ZN24UnkStruct_ov000_0208f8208vfunc_00Ev kind:function(arm,size=0x8) addr:0x0209019c +_ZN13LinkStateBase8vfunc_00Ev kind:function(arm,size=0x8) addr:0x0209019c func_ov000_020901a4 kind:function(arm,size=0x50) addr:0x020901a4 func_ov000_020901f4 kind:function(arm,size=0x55c) addr:0x020901f4 func_ov000_02090750 kind:function(arm,size=0x3c) addr:0x02090750 func_ov000_0209078c kind:function(arm,size=0x30) addr:0x0209078c -_ZN24UnkStruct_ov000_0208f8208vfunc_14Ev kind:function(arm,size=0x4) addr:0x020907bc -_ZN24UnkStruct_ov000_0208f8208vfunc_18Eiii kind:function(arm,size=0x4) addr:0x020907c0 -_ZN24UnkStruct_ov000_0208f8208vfunc_1CEP7VecFx32 kind:function(arm,size=0x54) addr:0x020907c4 +_ZN13LinkStateBase8vfunc_14Ev kind:function(arm,size=0x4) addr:0x020907bc +_ZN13LinkStateBase8vfunc_18Eiii kind:function(arm,size=0x4) addr:0x020907c0 +_ZN13LinkStateBase8vfunc_1CEP7VecFx32 kind:function(arm,size=0x54) addr:0x020907c4 func_ov000_02090818 kind:function(arm,size=0x38) addr:0x02090818 -_ZN24UnkStruct_ov000_02090850C1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x90) addr:0x02090850 -_ZN24UnkStruct_ov000_02090850D1Ev kind:function(arm,size=0x104) addr:0x020908e0 -_ZN24UnkStruct_ov000_02090850D0Ev kind:function(arm,size=0x10c) addr:0x020909e4 +_ZN15LinkStateDamageC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x90) addr:0x02090850 +_ZN15LinkStateDamageD1Ev kind:function(arm,size=0x104) addr:0x020908e0 +_ZN15LinkStateDamageD0Ev kind:function(arm,size=0x10c) addr:0x020909e4 func_ov000_02090af0 kind:function(arm,size=0x44) addr:0x02090af0 func_ov000_02090b34 kind:function(arm,size=0x50) addr:0x02090b34 func_ov000_02090b84 kind:function(arm,size=0x2c) addr:0x02090b84 -_ZN24UnkStruct_ov000_020908508vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x02090bb0 -_ZN24UnkStruct_ov000_020908508vfunc_10Eii kind:function(arm,size=0x524) addr:0x02090fe8 -_ZN24UnkStruct_ov000_020908508vfunc_14Ev kind:function(arm,size=0x68) addr:0x0209150c -_ZN24UnkStruct_ov000_020908508vfunc_18Eiii kind:function(arm,size=0x20) addr:0x02091574 -_ZN24UnkStruct_ov000_020908508vfunc_1CEP7VecFx32 kind:function(arm,size=0xb4) addr:0x02091594 +_ZN15LinkStateDamage8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x02090bb0 +_ZN15LinkStateDamage8vfunc_10Eii kind:function(arm,size=0x524) addr:0x02090fe8 +_ZN15LinkStateDamage8vfunc_14Ev kind:function(arm,size=0x68) addr:0x0209150c +_ZN15LinkStateDamage8vfunc_18Eiii kind:function(arm,size=0x20) addr:0x02091574 +_ZN15LinkStateDamage8vfunc_1CEP7VecFx32 kind:function(arm,size=0xb4) addr:0x02091594 func_ov000_02091648 kind:function(arm,size=0x34) addr:0x02091648 func_ov000_0209167c kind:function(arm,size=0x40) addr:0x0209167c _ZN19func_ov000_020916bcD0Ev kind:function(arm,size=0x48) addr:0x020916bc @@ -3608,8 +3608,8 @@ data_ov000_020b2c4c kind:data(any) addr:0x020b2c4c data_ov000_020b2c54 kind:data(any) addr:0x020b2c54 data_ov000_020b2c5c kind:data(any) addr:0x020b2c5c data_ov000_020b2c64 kind:data(any) addr:0x020b2c64 -_ZTV19data_ov000_020b2c74 kind:data(any) addr:0x020b2c74 -_ZTV24UnkStruct_ov000_02090850 kind:data(any) addr:0x020b2c9c +_ZTV13LinkStateBase kind:data(any) addr:0x020b2c74 +_ZTV15LinkStateDamage kind:data(any) addr:0x020b2c9c _ZTV19data_ov000_020b2cc4 kind:data(any) addr:0x020b2cc4 data_ov000_020b2cec kind:data(any) addr:0x020b2cec data_ov000_020b2e60 kind:data(any) addr:0x020b2e60 diff --git a/config/eur/arm9/overlays/ov031/delinks.txt b/config/eur/arm9/overlays/ov031/delinks.txt index 4f9f95ce5..f015674cc 100644 --- a/config/eur/arm9/overlays/ov031/delinks.txt +++ b/config/eur/arm9/overlays/ov031/delinks.txt @@ -67,7 +67,7 @@ src/031_Land/UnkStruct_ov031_02112b40_031.cpp: .text start:0x020da584 end:0x020dac20 .data start:0x02112b38 end:0x02112b54 -src/031_Land/UnkStruct_ov000_02090850_031.cpp: +src/031_Land/Player/LinkStateDamage_031.cpp: complete .text start:0x020dac20 end:0x020db0fc .rodata start:0x021106ec end:0x021106fc @@ -124,21 +124,26 @@ src/031_Land/UnkStruct_027e0ce0_40_Base_7C_04_031.cpp: .rodata start:0x02110724 end:0x02110770 src/031_Land/Player/PlayerActors_031.cpp: + complete .text start:0x020dccbc end:0x020dcd90 src/031_Land/UnkStruct_027e0ce0_40_Base_78_031.cpp: + complete .text start:0x020dcd90 end:0x020dd0e0 src/031_Land/Player/PlayerLinkActor_A0_14_031.cpp: + complete .text start:0x020dd0e0 end:0x020dd384 + .data start:0x02112b70 end:0x02112b84 + .rodata start:0x02110770 end:0x02110798 -src/031_Land/code_020dd384_031.cpp: +src/031_Land/Player/LinkStateGrabbed_031.cpp: .text start:0x020dd384 end:0x020dda80 src/031_Land/Player/PlayerLinkActor_A0_031.cpp: .text start:0x020dda80 end:0x020de224 -src/031_Land/code_020de224_031.cpp: +src/031_Land/Player/LinkStateHit_031.cpp: .text start:0x020de224 end:0x020e0284 src/031_Land/code_020e0284_031.cpp: diff --git a/config/eur/arm9/overlays/ov031/relocs.txt b/config/eur/arm9/overlays/ov031/relocs.txt index df71f8909..f3b9f3a2c 100644 --- a/config/eur/arm9/overlays/ov031/relocs.txt +++ b/config/eur/arm9/overlays/ov031/relocs.txt @@ -488,13 +488,13 @@ from:0x020dd0dc kind:load to:0x027e0ce4 module:dtcm from:0x020dd0fc kind:arm_call_thumb to:0x02058b98 module:overlay(0) from:0x020dd108 kind:arm_call to:0x020d93f0 module:overlay(31) from:0x020dd114 kind:arm_call to:0x020dd124 module:overlay(31) -from:0x020dd120 kind:load to:0x02112b78 module:overlay(31) +from:0x020dd120 kind:load to:0x02112b70 module:overlay(31) add:0x8 from:0x020dd13c kind:arm_call to:0x020a86a4 module:overlay(0) from:0x020dd158 kind:arm_call_thumb to:0x0208ed30 module:overlay(0) from:0x020dd17c kind:arm_call_thumb to:0x0208ed30 module:overlay(0) from:0x020dd198 kind:load to:0x027e0ce0 module:dtcm from:0x020dd19c kind:load to:0x02110770 add:4 module:overlay(31) -from:0x020dd1a0 kind:load to:0x02110788 module:overlay(31) +from:0x020dd1a0 kind:load to:0x02110770 add:0x18 module:overlay(31) from:0x020dd230 kind:arm_call to:0x01ffb6e4 module:itcm from:0x020dd254 kind:arm_call to:0x0207e58c module:overlay(0) from:0x020dd268 kind:load to:0x0203e964 module:main @@ -630,18 +630,18 @@ from:0x020de374 kind:arm_call to:0x02011ff4 module:main from:0x020de384 kind:load to:0x02112bac add:0x8 module:overlay(31) from:0x020de448 kind:load to:0x021107a8 module:overlay(31) from:0x020de44c kind:load to:0x021107a6 module:overlay(31) -from:0x020de450 kind:load to:0x0211079c module:overlay(31) +from:0x020de450 kind:load to:0x02110798 add:4 module:overlay(31) from:0x020de454 kind:load to:0x0203e964 module:main from:0x020de564 kind:arm_call to:0x020de388 module:overlay(31) from:0x020de63c kind:arm_call to:0x020de388 module:overlay(31) from:0x020de654 kind:load to:0x021107a8 module:overlay(31) -from:0x020de658 kind:load to:0x0211079c module:overlay(31) +from:0x020de658 kind:load to:0x02110798 add:4 module:overlay(31) from:0x020de65c kind:load to:0x0203e964 module:main from:0x020de71c kind:arm_call to:0x020de458 module:overlay(31) from:0x020de7d4 kind:arm_call to:0x020de458 module:overlay(31) from:0x020de7f8 kind:load to:0x027e07d4 module:dtcm from:0x020de7fc kind:load to:0x021107a8 module:overlay(31) -from:0x020de800 kind:load to:0x0211079c module:overlay(31) +from:0x020de800 kind:load to:0x02110798 add:4 module:overlay(31) from:0x020de804 kind:load to:0x0203e964 module:main from:0x020de808 kind:load to:0x0211079e module:overlay(31) from:0x020de858 kind:arm_call to:0x01ffb714 module:itcm @@ -732,7 +732,7 @@ from:0x020dfcc4 kind:arm_call to:0x0207df88 module:overlay(0) from:0x020dfcd4 kind:arm_call to:0x020da5ec module:overlay(31) from:0x020dfcf0 kind:load to:0x021107ac module:overlay(31) from:0x020dfcf8 kind:load to:0x027e09a8 module:dtcm -from:0x020dfcfc kind:load to:0x0211079c module:overlay(31) +from:0x020dfcfc kind:load to:0x02110798 add:4 module:overlay(31) from:0x020dfd04 kind:load to:0x02158850 module:overlay(82) from:0x020dfd40 kind:load to:0x0203e964 module:main from:0x020dfd44 kind:load to:0x02112b38 add:0x8 module:overlay(31) diff --git a/config/eur/arm9/overlays/ov031/symbols.txt b/config/eur/arm9/overlays/ov031/symbols.txt index bdbe285e9..b4ca870a6 100644 --- a/config/eur/arm9/overlays/ov031/symbols.txt +++ b/config/eur/arm9/overlays/ov031/symbols.txt @@ -126,16 +126,16 @@ _ZN24UnkStruct_ov031_02112b408vfunc_0CE9RefStructP24UnkStruct_ov031_020e54d4PK7V _ZN24UnkStruct_ov031_02112b4019func_ov031_020daaecEPK27UnkStruct_ov031_020e5d18_00P6Sphere kind:function(arm,size=0x104) addr:0x020daaec _ZN24UnkStruct_ov031_02112b40D1Ev kind:function(arm,size=0x14) addr:0x020dabf0 _ZN24UnkStruct_ov031_02112b40D0Ev kind:function(arm,size=0x1c) addr:0x020dac04 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dac20Ev kind:function(arm,size=0x20) addr:0x020dac20 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dac40Ev kind:function(arm,size=0x40) addr:0x020dac40 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dac80Ev kind:function(arm,size=0x5c) addr:0x020dac80 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dacdcEb kind:function(arm,size=0xa4) addr:0x020dacdc -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dad80Ev kind:function(arm,size=0x18) addr:0x020dad80 -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dad98Ev kind:function(arm,size=0xa4) addr:0x020dad98 -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dae3cEv kind:function(arm,size=0x50) addr:0x020dae3c -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dae8cEi kind:function(arm,size=0x15c) addr:0x020dae8c -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dafe8Eb kind:function(arm,size=0x40) addr:0x020dafe8 -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020db028Ev kind:function(arm,size=0xd4) addr:0x020db028 +_ZN18LinkStateDamage_8419func_ov031_020dac20Ev kind:function(arm,size=0x20) addr:0x020dac20 +_ZN18LinkStateDamage_8419func_ov031_020dac40Ev kind:function(arm,size=0x40) addr:0x020dac40 +_ZN18LinkStateDamage_8419func_ov031_020dac80Ev kind:function(arm,size=0x5c) addr:0x020dac80 +_ZN18LinkStateDamage_8419func_ov031_020dacdcEb kind:function(arm,size=0xa4) addr:0x020dacdc +_ZN18LinkStateDamage_AC19func_ov031_020dad80Ev kind:function(arm,size=0x18) addr:0x020dad80 +_ZN18LinkStateDamage_AC19func_ov031_020dad98Ev kind:function(arm,size=0xa4) addr:0x020dad98 +_ZN18LinkStateDamage_AC19func_ov031_020dae3cEv kind:function(arm,size=0x50) addr:0x020dae3c +_ZN18LinkStateDamage_AC19func_ov031_020dae8cEi kind:function(arm,size=0x15c) addr:0x020dae8c +_ZN18LinkStateDamage_AC19func_ov031_020dafe8Eb kind:function(arm,size=0x40) addr:0x020dafe8 +_ZN18LinkStateDamage_AC19func_ov031_020db028Ev kind:function(arm,size=0xd4) addr:0x020db028 _ZN19PlayerLinkActor_13419func_ov031_020db0fcEv kind:function(arm,size=0x24) addr:0x020db0fc _ZN19PlayerLinkActor_13419func_ov031_020db120EP7VecFx32 kind:function(arm,size=0x40) addr:0x020db120 _ZN19PlayerLinkActor_13419func_ov031_020db160Eb kind:function(arm,size=0x30) addr:0x020db160 @@ -217,19 +217,19 @@ _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcad0Ei kind:function( _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcb0cE9RefStruct kind:function(arm,size=0x54) addr:0x020dcb0c _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcb60E9RefStruct kind:function(arm,size=0xbc) addr:0x020dcb60 _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcc1cEi kind:function(arm,size=0xa0) addr:0x020dcc1c -func_ov031_020dccbc kind:function(thumb,size=0x32) addr:0x020dccbc +_ZN15PlayerLinkActor19func_ov031_020dccbcEv kind:function(thumb,size=0x32) addr:0x020dccbc _ZN15PlayerLinkActor19func_ov031_020dccf0Ev kind:function(thumb,size=0x30) addr:0x020dccf0 -func_ov031_020dcd20 kind:function(arm,size=0x3c) addr:0x020dcd20 -func_ov031_020dcd5c kind:function(thumb,size=0x12) addr:0x020dcd5c -func_ov031_020dcd70 kind:function(thumb,size=0x1e) addr:0x020dcd70 +_ZN15PlayerLinkActor19func_ov031_020dcd20Ev kind:function(arm,size=0x3c) addr:0x020dcd20 +_ZN19PlayerZeldaActor_CCC1Ev kind:function(thumb,size=0x12) addr:0x020dcd5c +_ZN19PlayerZeldaActor_CC19func_ov031_020dcd70EPK7VecFx32S2_ kind:function(thumb,size=0x1e) addr:0x020dcd70 _ZN29UnkStruct_027e0ce0_40_Base_78C1Ev kind:function(thumb,size=0x6) addr:0x020dcd90 _ZN29UnkStruct_027e0ce0_40_Base_78D1Ev kind:function(thumb,size=0x2) addr:0x020dcd98 -func_ov031_020dcd9c kind:function(arm,size=0x108) addr:0x020dcd9c -func_ov031_020dcea4 kind:function(arm,size=0x110) addr:0x020dcea4 -_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcfb4EPv kind:function(arm,size=0x12c) addr:0x020dcfb4 +_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcd9cEPK7VecFx32PS0_ kind:function(arm,size=0x108) addr:0x020dcd9c +_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcea4EP14UnkAngleStructPS_S0_ kind:function(arm,size=0x110) addr:0x020dcea4 +_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcfb4EP7VecFx32 kind:function(arm,size=0x12c) addr:0x020dcfb4 _ZN21PlayerLinkActor_A0_14C1Ev kind:function(arm,size=0x44) addr:0x020dd0e0 _ZN21PlayerLinkActor_A0_1419func_ov031_020dd124Ev kind:function(arm,size=0x80) addr:0x020dd124 -_ZN21PlayerLinkActor_A0_1419func_ov031_020dd1a4Ev kind:function(arm,size=0xd0) addr:0x020dd1a4 +_ZN21PlayerLinkActor_A0_1419func_ov031_020dd1a4EbP7VecFx3214UnkAngleStruct kind:function(arm,size=0xd0) addr:0x020dd1a4 _ZN21PlayerLinkActor_A0_148vfunc_08Ev kind:function(arm,size=0xb8) addr:0x020dd274 _ZN21PlayerLinkActor_A0_14D1Ev kind:function(arm,size=0x28) addr:0x020dd32c _ZN21PlayerLinkActor_A0_14D0Ev kind:function(arm,size=0x30) addr:0x020dd354 @@ -1970,9 +1970,8 @@ data_ov031_0211071c kind:data(any) addr:0x0211071c ambiguous data_ov031_02110720 kind:data(any) addr:0x02110720 ambiguous data_ov031_02110724 kind:data(any) addr:0x02110724 local data_ov031_02110734 kind:data(any) addr:0x02110734 local -data_ov031_02110770 kind:data(any) addr:0x02110770 -data_ov031_02110788 kind:data(any) addr:0x02110788 -data_ov031_0211079c kind:data(any) addr:0x0211079c +data_ov031_02110770 kind:data(any) addr:0x02110770 local +data_ov031_02110798 kind:data(any) addr:0x02110798 data_ov031_0211079e kind:data(any) addr:0x0211079e data_ov031_021107a0 kind:data(any) addr:0x021107a0 data_ov031_021107a2 kind:data(any) addr:0x021107a2 @@ -2236,7 +2235,7 @@ _ZTV24UnkStruct_ov031_02112b40 kind:data(any) addr:0x02112b38 data_ov031_02112b54 kind:data(any) addr:0x02112b54 _ZTV25UnkStruct_027e0ce0_40_108 kind:data(any) addr:0x02112b58 _ZTV30UnkStruct_ItemManager_20_04_08 kind:data(any) addr:0x02112b64 -data_ov031_02112b78 kind:data(any) addr:0x02112b78 +_ZTV21PlayerLinkActor_A0_14 kind:data(any) addr:0x02112b70 _ZTV19data_ov031_02112b84 kind:data(any) addr:0x02112b84 _ZTV19data_ov031_02112bac kind:data(any) addr:0x02112bac data_ov031_02112bdc kind:data(any) addr:0x02112bdc diff --git a/config/eur/arm9/overlays/ov093/symbols.txt b/config/eur/arm9/overlays/ov093/symbols.txt index 68fd16970..ad03fbb46 100644 --- a/config/eur/arm9/overlays/ov093/symbols.txt +++ b/config/eur/arm9/overlays/ov093/symbols.txt @@ -162,7 +162,7 @@ _ZN19func_ov093_0216ccbcD0Ev kind:function(arm,size=0x1c) addr:0x0216ccbc func_ov093_0216ccd8 kind:function(thumb,size=0x14) addr:0x0216ccd8 func_ov093_0216ccec kind:function(arm,size=0x94) addr:0x0216ccec func_ov093_0216cd80 kind:function(arm,size=0xa4) addr:0x0216cd80 -_ZN15PlayerLinkActor19func_ov093_0216ce24EPi kind:function(arm,size=0x3c) addr:0x0216ce24 +_ZN15PlayerLinkActor19func_ov093_0216ce24EPK7VecFx32 kind:function(arm,size=0x3c) addr:0x0216ce24 _ZN16PlayerZeldaActorC1EPvP21UnkStruct_027e0ce0_40P25UnkStruct_027e0ce0_40_150Pj kind:function(thumb,size=0x1bc) addr:0x0216ce60 _ZN16PlayerZeldaActorD1Ev kind:function(thumb,size=0xb6) addr:0x0216d01c _ZN15PlayerActorBase19func_ov093_0216d0d4Ev kind:function(thumb,size=0x8c) addr:0x0216d0d4 @@ -218,7 +218,7 @@ func_ov093_0216f66c kind:function(thumb,size=0x10) addr:0x0216f66c func_ov093_0216f67c kind:function(thumb,size=0x10) addr:0x0216f67c func_ov093_0216f68c kind:function(thumb,size=0x7c) addr:0x0216f68c func_ov093_0216f708 kind:function(thumb,size=0x12) addr:0x0216f708 -_ZN15PlayerActorBase19func_ov093_0216f71cEPi kind:function(thumb,size=0x50) addr:0x0216f71c +_ZN15PlayerActorBase19func_ov093_0216f71cEPK7VecFx32 kind:function(thumb,size=0x50) addr:0x0216f71c func_ov093_0216f76c kind:function(thumb,size=0xc) addr:0x0216f76c func_ov093_0216f778 kind:function(arm,size=0x78) addr:0x0216f778 func_ov093_0216f7f0 kind:function(arm,size=0x7c) addr:0x0216f7f0 diff --git a/config/eur1/arm9/itcm/symbols.txt b/config/eur1/arm9/itcm/symbols.txt index f3ff54676..c07f23c6b 100644 --- a/config/eur1/arm9/itcm/symbols.txt +++ b/config/eur1/arm9/itcm/symbols.txt @@ -190,7 +190,7 @@ func_01ffef34 kind:function(arm,size=0x128) addr:0x01ffef34 func_01fff05c kind:function(arm,size=0x58) addr:0x01fff05c func_01fff0b4 kind:function(arm,size=0x94) addr:0x01fff0b4 _ZN18UnkStruct_027e0ce013func_01fff148E11PlayerType_ kind:function(arm,size=0x20) addr:0x01fff148 -func_01fff168 kind:function(arm,size=0x14) addr:0x01fff168 +_ZN18UnkStruct_027e0ce013func_01fff168E11PlayerType_ kind:function(arm,size=0x14) addr:0x01fff168 func_01fff17c kind:function(arm,size=0x28) addr:0x01fff17c _ZN18UnkStruct_027e0ce013func_01fff1a4Ev kind:function(arm,size=0x3c) addr:0x01fff1a4 _ZN18UnkStruct_027e0ce013func_01fff1e0Ev kind:function(arm,size=0x74) addr:0x01fff1e0 diff --git a/config/eur1/arm9/overlays/ov000/symbols.txt b/config/eur1/arm9/overlays/ov000/symbols.txt index 14b122118..b508b29c7 100644 --- a/config/eur1/arm9/overlays/ov000/symbols.txt +++ b/config/eur1/arm9/overlays/ov000/symbols.txt @@ -158,7 +158,7 @@ _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058a24Ev kind:function(arm, _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058a58Eii kind:function(arm,size=0x2c) addr:0x02058a58 _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058a84EiPKc kind:function(arm,size=0x2c) addr:0x02058a84 _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058ab0Ev kind:function(arm,size=0xe8) addr:0x02058ab0 -_ZN24PlayerLinkActor_A0_14_04C1Ei kind:function(thumb,size=0x1c) addr:0x02058b98 +_ZN24PlayerLinkActor_A0_14_04C1EP10G3d_Model_ kind:function(thumb,size=0x1c) addr:0x02058b98 _ZN24PlayerLinkActor_A0_14_048vfunc_08EP9G3d_Model kind:function(arm,size=0x34) addr:0x02058bb4 _ZN24PlayerLinkActor_A0_14_048vfunc_0CEv kind:function(arm,size=0x14) addr:0x02058be8 _ZN24PlayerLinkActor_A0_14_04D1Ev kind:function(arm,size=0x14) addr:0x02058bfc @@ -1827,22 +1827,22 @@ func_ov000_02088da8 kind:function(arm,size=0x2c) addr:0x02088df4 func_ov000_02088dd4 kind:function(arm,size=0x24) addr:0x02088e20 func_ov000_02088df8 kind:function(arm,size=0x34) addr:0x02088e44 func_ov000_02088e2c kind:function(arm,size=0x34) addr:0x02088e78 -_ZN27UnkStruct_ov000_02090850_60C1EP15PlayerLinkActorP27UnkStruct_ov000_0208f820_2c kind:function(arm,size=0x40) addr:0x02088eac +_ZN18LinkStateDamage_60C1EP15PlayerLinkActorP16LinkStateBase_2C kind:function(arm,size=0x40) addr:0x02088eac func_ov000_02088ea0 kind:function(arm,size=0x14) addr:0x02088eec func_ov000_02088eb4 kind:function(arm,size=0x7c) addr:0x02088f00 func_ov000_02088f30 kind:function(arm,size=0x384) addr:0x02088f7c -_ZN27UnkStruct_ov000_02090850_84C1EP15PlayerLinkActorP22UnkStruct_PlayerGet_50P22UnkStruct_PlayerGet_50 kind:function(arm,size=0x6c) addr:0x02089300 +_ZN18LinkStateDamage_84C1EP15PlayerLinkActorP22UnkStruct_PlayerGet_50P22UnkStruct_PlayerGet_50 kind:function(arm,size=0x6c) addr:0x02089300 func_ov000_02089320 kind:function(arm,size=0x14) addr:0x0208936c func_ov000_02089334 kind:function(arm,size=0x14) addr:0x02089380 -_ZN28UnkStruct_ov000_02090850_184C1EP15PlayerLinkActorP27UnkStruct_ov000_0208f820_2c kind:function(arm,size=0x40) addr:0x02089394 +_ZN19LinkStateDamage_184C1EP15PlayerLinkActorP16LinkStateBase_2C kind:function(arm,size=0x40) addr:0x02089394 func_ov000_02089388 kind:function(arm,size=0x60) addr:0x020893d4 func_ov000_020893e8 kind:function(arm,size=0x94) addr:0x02089434 func_ov000_0208947c kind:function(arm,size=0x40) addr:0x020894c8 func_ov000_020894bc kind:function(arm,size=0x1ac) addr:0x02089508 func_ov000_02089668 kind:function(arm,size=0x84) addr:0x020896b4 -_ZN27UnkStruct_ov000_02090850_ACC1EP15PlayerLinkActorP27UnkStruct_ov000_0208f820_2c kind:function(arm,size=0x100) addr:0x02089738 +_ZN18LinkStateDamage_ACC1EP15PlayerLinkActorP16LinkStateBase_2C kind:function(arm,size=0x100) addr:0x02089738 func_ov000_020897ec kind:function(arm,size=0x3c) addr:0x02089838 -_ZN27UnkStruct_ov000_02090850_AC8vfunc_00Eii kind:function(arm,size=0x20) addr:0x02089874 +_ZN18LinkStateDamage_AC8vfunc_00Eii kind:function(arm,size=0x20) addr:0x02089874 _ZN19func_ov000_02089848D1Ev kind:function(arm,size=0x2c) addr:0x02089894 _ZN19func_ov000_02089874D0Ev kind:function(arm,size=0x34) addr:0x020898c0 _ZN19func_ov000_020898a8D2Ev kind:function(arm,size=0x2c) addr:0x020898f4 @@ -1969,7 +1969,7 @@ func_ov000_0208c444 kind:function(arm,size=0x178) addr:0x0208c494 func_ov000_0208c5bc kind:function(arm,size=0xe4) addr:0x0208c60c _ZN19func_ov000_0208c6a0D1Ev kind:function(arm,size=0x14) addr:0x0208c6f0 _ZN19func_ov000_0208c6b4D0Ev kind:function(arm,size=0x1c) addr:0x0208c704 -func_ov000_0208c6d0 kind:function(thumb,size=0x2) addr:0x0208c720 +_ZN26PlayerLinkActor_A0_14_BaseD2Ev kind:function(thumb,size=0x2) addr:0x0208c720 func_ov000_0208c6d4 kind:function(arm,size=0x50) addr:0x0208c724 func_ov000_0208c724 kind:function(arm,size=0x68) addr:0x0208c774 _ZN21PlayerActorBase_70_1CC1EP18PlayerActorBase_70 kind:function(thumb,size=0x24) addr:0x0208c7dc @@ -2075,10 +2075,10 @@ func_ov000_0208f00c kind:function(arm,size=0x430) addr:0x0208f060 func_ov000_0208f43c kind:function(arm,size=0x120) addr:0x0208f490 func_ov000_0208f55c kind:function(arm,size=0x124) addr:0x0208f5b0 func_ov000_0208f680 kind:function(arm,size=0x1a0) addr:0x0208f6d4 -_ZN24UnkStruct_ov000_0208f820C2EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x8c) addr:0x0208f874 -func_ov000_0208f8ac kind:function(arm,size=0x4) addr:0x0208f900 -_ZN19func_ov000_0208f8b0D0Ev kind:function(arm,size=0x14) addr:0x0208f904 -_ZN24UnkStruct_ov000_0208f820D2Ev kind:function(arm,size=0x4) addr:0x0208f918 +_ZN13LinkStateBaseC2EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x8c) addr:0x0208f874 +_ZN13LinkStateBaseD1Ev kind:function(arm,size=0x4) addr:0x0208f900 +_ZN13LinkStateBaseD0Ev kind:function(arm,size=0x14) addr:0x0208f904 +_ZN13LinkStateBaseD2Ev kind:function(arm,size=0x4) addr:0x0208f918 func_ov000_0208f8c8 kind:function(arm,size=0x8c) addr:0x0208f91c func_ov000_0208f954 kind:function(arm,size=0x40) addr:0x0208f9a8 func_ov000_0208f994 kind:function(arm,size=0x11c) addr:0x0208f9e8 @@ -2089,26 +2089,26 @@ func_ov000_0208fef4 kind:function(arm,size=0x44) addr:0x0208ff48 func_ov000_0208ff38 kind:function(arm,size=0x154) addr:0x0208ff8c func_ov000_0209008c kind:function(arm,size=0xc8) addr:0x020900e0 func_ov000_02090154 kind:function(arm,size=0x48) addr:0x020901a8 -_ZN24UnkStruct_ov000_0208f8208vfunc_00Ev kind:function(arm,size=0x8) addr:0x020901f0 +_ZN13LinkStateBase8vfunc_00Ev kind:function(arm,size=0x8) addr:0x020901f0 func_ov000_020901a4 kind:function(arm,size=0x50) addr:0x020901f8 func_ov000_020901f4 kind:function(arm,size=0x55c) addr:0x02090248 func_ov000_02090750 kind:function(arm,size=0x3c) addr:0x020907a4 func_ov000_0209078c kind:function(arm,size=0x30) addr:0x020907e0 -_ZN24UnkStruct_ov000_0208f8208vfunc_14Ev kind:function(arm,size=0x4) addr:0x02090810 -_ZN24UnkStruct_ov000_0208f8208vfunc_18Eiii kind:function(arm,size=0x4) addr:0x02090814 -_ZN24UnkStruct_ov000_0208f8208vfunc_1CEP7VecFx32 kind:function(arm,size=0x54) addr:0x02090818 +_ZN13LinkStateBase8vfunc_14Ev kind:function(arm,size=0x4) addr:0x02090810 +_ZN13LinkStateBase8vfunc_18Eiii kind:function(arm,size=0x4) addr:0x02090814 +_ZN13LinkStateBase8vfunc_1CEP7VecFx32 kind:function(arm,size=0x54) addr:0x02090818 func_ov000_02090818 kind:function(arm,size=0x38) addr:0x0209086c -_ZN24UnkStruct_ov000_02090850C1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x90) addr:0x020908a4 -_ZN24UnkStruct_ov000_02090850D1Ev kind:function(arm,size=0x104) addr:0x02090934 -_ZN24UnkStruct_ov000_02090850D0Ev kind:function(arm,size=0x10c) addr:0x02090a38 +_ZN15LinkStateDamageC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x90) addr:0x020908a4 +_ZN15LinkStateDamageD1Ev kind:function(arm,size=0x104) addr:0x02090934 +_ZN15LinkStateDamageD0Ev kind:function(arm,size=0x10c) addr:0x02090a38 func_ov000_02090af0 kind:function(arm,size=0x44) addr:0x02090b44 func_ov000_02090b34 kind:function(arm,size=0x50) addr:0x02090b88 func_ov000_02090b84 kind:function(arm,size=0x2c) addr:0x02090bd8 -_ZN24UnkStruct_ov000_020908508vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x02090c04 -_ZN24UnkStruct_ov000_020908508vfunc_10Eii kind:function(arm,size=0x524) addr:0x0209103c -_ZN24UnkStruct_ov000_020908508vfunc_14Ev kind:function(arm,size=0x68) addr:0x02091560 -_ZN24UnkStruct_ov000_020908508vfunc_18Eiii kind:function(arm,size=0x20) addr:0x020915c8 -_ZN24UnkStruct_ov000_020908508vfunc_1CEP7VecFx32 kind:function(arm,size=0xb4) addr:0x020915e8 +_ZN15LinkStateDamage8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x02090c04 +_ZN15LinkStateDamage8vfunc_10Eii kind:function(arm,size=0x524) addr:0x0209103c +_ZN15LinkStateDamage8vfunc_14Ev kind:function(arm,size=0x68) addr:0x02091560 +_ZN15LinkStateDamage8vfunc_18Eiii kind:function(arm,size=0x20) addr:0x020915c8 +_ZN15LinkStateDamage8vfunc_1CEP7VecFx32 kind:function(arm,size=0xb4) addr:0x020915e8 func_ov000_02091648 kind:function(arm,size=0x34) addr:0x0209169c func_ov000_0209167c kind:function(arm,size=0x40) addr:0x020916d0 _ZN19func_ov000_020916bcD0Ev kind:function(arm,size=0x48) addr:0x02091710 @@ -3608,8 +3608,8 @@ data_ov000_020b2c8c kind:data(any) addr:0x020b2c8c data_ov000_020b2c94 kind:data(any) addr:0x020b2c94 data_ov000_020b2c9c kind:data(any) addr:0x020b2c9c data_ov000_020b2ca4 kind:data(any) addr:0x020b2ca4 -_ZTV19data_ov000_020b2c74 kind:data(any) addr:0x020b2cbc -_ZTV24UnkStruct_ov000_02090850 kind:data(any) addr:0x020b2ce4 +_ZTV13LinkStateBase kind:data(any) addr:0x020b2cbc +_ZTV15LinkStateDamage kind:data(any) addr:0x020b2ce4 data_ov000_020b2d0c kind:data(any) addr:0x020b2d0c data_ov000_020b2cec kind:data(any) addr:0x020b2d2c data_ov000_020b2e60 kind:data(any) addr:0x020b2ea0 diff --git a/config/eur1/arm9/overlays/ov031/symbols.txt b/config/eur1/arm9/overlays/ov031/symbols.txt index 27a37e95c..297231271 100644 --- a/config/eur1/arm9/overlays/ov031/symbols.txt +++ b/config/eur1/arm9/overlays/ov031/symbols.txt @@ -126,16 +126,16 @@ _ZN24UnkStruct_ov031_02112b408vfunc_0CE9RefStructP24UnkStruct_ov031_020e54d4PK7V _ZN24UnkStruct_ov031_02112b4019func_ov031_020daaecEPK27UnkStruct_ov031_020e5d18_00P6Sphere kind:function(arm,size=0x104) addr:0x020dac0c _ZN24UnkStruct_ov031_02112b40D1Ev kind:function(arm,size=0x14) addr:0x020dad10 _ZN24UnkStruct_ov031_02112b40D0Ev kind:function(arm,size=0x1c) addr:0x020dad24 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dac20Ev kind:function(arm,size=0x20) addr:0x020dad40 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dac40Ev kind:function(arm,size=0x40) addr:0x020dad60 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dac80Ev kind:function(arm,size=0x5c) addr:0x020dada0 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dacdcEb kind:function(arm,size=0xa4) addr:0x020dadfc -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dad80Ev kind:function(arm,size=0x18) addr:0x020daea0 -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dad98Ev kind:function(arm,size=0xa4) addr:0x020daeb8 -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dae3cEv kind:function(arm,size=0x50) addr:0x020daf5c -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dae8cEi kind:function(arm,size=0x15c) addr:0x020dafac -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dafe8Eb kind:function(arm,size=0x40) addr:0x020db108 -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020db028Ev kind:function(arm,size=0xd4) addr:0x020db148 +_ZN18LinkStateDamage_8419func_ov031_020dac20Ev kind:function(arm,size=0x20) addr:0x020dad40 +_ZN18LinkStateDamage_8419func_ov031_020dac40Ev kind:function(arm,size=0x40) addr:0x020dad60 +_ZN18LinkStateDamage_8419func_ov031_020dac80Ev kind:function(arm,size=0x5c) addr:0x020dada0 +_ZN18LinkStateDamage_8419func_ov031_020dacdcEb kind:function(arm,size=0xa4) addr:0x020dadfc +_ZN18LinkStateDamage_AC19func_ov031_020dad80Ev kind:function(arm,size=0x18) addr:0x020daea0 +_ZN18LinkStateDamage_AC19func_ov031_020dad98Ev kind:function(arm,size=0xa4) addr:0x020daeb8 +_ZN18LinkStateDamage_AC19func_ov031_020dae3cEv kind:function(arm,size=0x50) addr:0x020daf5c +_ZN18LinkStateDamage_AC19func_ov031_020dae8cEi kind:function(arm,size=0x15c) addr:0x020dafac +_ZN18LinkStateDamage_AC19func_ov031_020dafe8Eb kind:function(arm,size=0x40) addr:0x020db108 +_ZN18LinkStateDamage_AC19func_ov031_020db028Ev kind:function(arm,size=0xd4) addr:0x020db148 _ZN19PlayerLinkActor_13419func_ov031_020db0fcEv kind:function(arm,size=0x24) addr:0x020db21c _ZN19PlayerLinkActor_13419func_ov031_020db120EP7VecFx32 kind:function(arm,size=0x40) addr:0x020db240 _ZN19PlayerLinkActor_13419func_ov031_020db160Eb kind:function(arm,size=0x30) addr:0x020db280 @@ -217,19 +217,19 @@ _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcad0Ei kind:function( _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcb0cE9RefStruct kind:function(arm,size=0x54) addr:0x020dcc2c _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcb60E9RefStruct kind:function(arm,size=0xbc) addr:0x020dcc80 _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcc1cEi kind:function(arm,size=0xa0) addr:0x020dcd3c -func_ov031_020dccbc kind:function(thumb,size=0x32) addr:0x020dcddc +_ZN15PlayerLinkActor19func_ov031_020dccbcEv kind:function(thumb,size=0x32) addr:0x020dcddc _ZN15PlayerLinkActor19func_ov031_020dccf0Ev kind:function(thumb,size=0x30) addr:0x020dce10 -func_ov031_020dcd20 kind:function(arm,size=0x3c) addr:0x020dce40 -func_ov031_020dcd5c kind:function(thumb,size=0x12) addr:0x020dce7c -func_ov031_020dcd70 kind:function(thumb,size=0x1e) addr:0x020dce90 +_ZN15PlayerLinkActor19func_ov031_020dcd20Ev kind:function(arm,size=0x3c) addr:0x020dce40 +_ZN19PlayerZeldaActor_CCC1Ev kind:function(thumb,size=0x12) addr:0x020dce7c +_ZN19PlayerZeldaActor_CC19func_ov031_020dcd70EPK7VecFx32S2_ kind:function(thumb,size=0x1e) addr:0x020dce90 _ZN29UnkStruct_027e0ce0_40_Base_78C1Ev kind:function(thumb,size=0x6) addr:0x020dceb0 _ZN29UnkStruct_027e0ce0_40_Base_78D1Ev kind:function(thumb,size=0x2) addr:0x020dceb8 -func_ov031_020dcd9c kind:function(arm,size=0x108) addr:0x020dcebc -func_ov031_020dcea4 kind:function(arm,size=0x110) addr:0x020dcfc4 -_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcfb4EPv kind:function(arm,size=0x12c) addr:0x020dd0d4 +_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcd9cEPK7VecFx32PS0_ kind:function(arm,size=0x108) addr:0x020dcebc +_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcea4EP14UnkAngleStructPS_S0_ kind:function(arm,size=0x110) addr:0x020dcfc4 +_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcfb4EP7VecFx32 kind:function(arm,size=0x12c) addr:0x020dd0d4 _ZN21PlayerLinkActor_A0_14C1Ev kind:function(arm,size=0x44) addr:0x020dd200 func_ov031_020dd124 kind:function(arm,size=0x80) addr:0x020dd244 -func_ov031_020dd1a4 kind:function(arm,size=0xd0) addr:0x020dd2c4 +_ZN21PlayerLinkActor_A0_1419func_ov031_020dd1a4EbP7VecFx3214UnkAngleStruct kind:function(arm,size=0xd0) addr:0x020dd2c4 _ZN21PlayerLinkActor_A0_148vfunc_08Ev kind:function(arm,size=0xb8) addr:0x020dd394 _ZN21PlayerLinkActor_A0_14D1Ev kind:function(arm,size=0x28) addr:0x020dd44c _ZN21PlayerLinkActor_A0_14D0Ev kind:function(arm,size=0x30) addr:0x020dd474 diff --git a/config/eur1/arm9/overlays/ov093/symbols.txt b/config/eur1/arm9/overlays/ov093/symbols.txt index 902bd654b..d5e07e9c7 100644 --- a/config/eur1/arm9/overlays/ov093/symbols.txt +++ b/config/eur1/arm9/overlays/ov093/symbols.txt @@ -162,7 +162,7 @@ _ZN19func_ov093_0216ccbcD0Ev kind:function(arm,size=0x1c) addr:0x0216ce3c func_ov093_0216ccd8 kind:function(thumb,size=0x14) addr:0x0216ce58 func_ov093_0216ccec kind:function(arm,size=0x94) addr:0x0216ce6c func_ov093_0216cd80 kind:function(arm,size=0xa4) addr:0x0216cf00 -_ZN15PlayerLinkActor19func_ov093_0216ce24EPi kind:function(arm,size=0x3c) addr:0x0216cfa4 +_ZN15PlayerLinkActor19func_ov093_0216ce24EPK7VecFx32 kind:function(arm,size=0x3c) addr:0x0216cfa4 _ZN16PlayerZeldaActorC1EPvP21UnkStruct_027e0ce0_40P25UnkStruct_027e0ce0_40_150Pj kind:function(thumb,size=0x1bc) addr:0x0216cfe0 _ZN16PlayerZeldaActorD1Ev kind:function(thumb,size=0xb6) addr:0x0216d19c _ZN15PlayerActorBase19func_ov093_0216d0d4Ev kind:function(thumb,size=0x8c) addr:0x0216d254 @@ -218,7 +218,7 @@ func_ov093_0216f66c kind:function(thumb,size=0x10) addr:0x0216f7ec func_ov093_0216f67c kind:function(thumb,size=0x10) addr:0x0216f7fc func_ov093_0216f68c kind:function(thumb,size=0x7c) addr:0x0216f80c func_ov093_0216f708 kind:function(thumb,size=0x12) addr:0x0216f888 -_ZN15PlayerActorBase19func_ov093_0216f71cEPi kind:function(thumb,size=0x50) addr:0x0216f89c +_ZN15PlayerActorBase19func_ov093_0216f71cEPK7VecFx32 kind:function(thumb,size=0x50) addr:0x0216f89c func_ov093_0216f76c kind:function(thumb,size=0xc) addr:0x0216f8ec func_ov093_0216f778 kind:function(arm,size=0x78) addr:0x0216f8f8 func_ov093_0216f7f0 kind:function(arm,size=0x7c) addr:0x0216f970 diff --git a/config/jp/arm9/itcm/symbols.txt b/config/jp/arm9/itcm/symbols.txt index f3ff54676..c07f23c6b 100644 --- a/config/jp/arm9/itcm/symbols.txt +++ b/config/jp/arm9/itcm/symbols.txt @@ -190,7 +190,7 @@ func_01ffef34 kind:function(arm,size=0x128) addr:0x01ffef34 func_01fff05c kind:function(arm,size=0x58) addr:0x01fff05c func_01fff0b4 kind:function(arm,size=0x94) addr:0x01fff0b4 _ZN18UnkStruct_027e0ce013func_01fff148E11PlayerType_ kind:function(arm,size=0x20) addr:0x01fff148 -func_01fff168 kind:function(arm,size=0x14) addr:0x01fff168 +_ZN18UnkStruct_027e0ce013func_01fff168E11PlayerType_ kind:function(arm,size=0x14) addr:0x01fff168 func_01fff17c kind:function(arm,size=0x28) addr:0x01fff17c _ZN18UnkStruct_027e0ce013func_01fff1a4Ev kind:function(arm,size=0x3c) addr:0x01fff1a4 _ZN18UnkStruct_027e0ce013func_01fff1e0Ev kind:function(arm,size=0x74) addr:0x01fff1e0 diff --git a/config/jp/arm9/overlays/ov000/symbols.txt b/config/jp/arm9/overlays/ov000/symbols.txt index 0497f97c8..ca7e10483 100644 --- a/config/jp/arm9/overlays/ov000/symbols.txt +++ b/config/jp/arm9/overlays/ov000/symbols.txt @@ -158,7 +158,7 @@ _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058a24Ev kind:function(arm, _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058a58Eii kind:function(arm,size=0x2c) addr:0x02059fd8 _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058a84EiPKc kind:function(arm,size=0x2c) addr:0x0205a004 _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058ab0Ev kind:function(arm,size=0xe8) addr:0x0205a030 -_ZN24PlayerLinkActor_A0_14_04C1Ei kind:function(thumb,size=0x1c) addr:0x0205a118 +_ZN24PlayerLinkActor_A0_14_04C1EP10G3d_Model_ kind:function(thumb,size=0x1c) addr:0x0205a118 _ZN24PlayerLinkActor_A0_14_048vfunc_08EP9G3d_Model kind:function(arm,size=0x34) addr:0x0205a134 _ZN24PlayerLinkActor_A0_14_048vfunc_0CEv kind:function(arm,size=0x14) addr:0x0205a168 _ZN24PlayerLinkActor_A0_14_04D1Ev kind:function(arm,size=0x14) addr:0x0205a17c @@ -1828,22 +1828,22 @@ func_ov000_02088da8 kind:function(arm,size=0x2c) addr:0x0208a47c func_ov000_02088dd4 kind:function(arm,size=0x24) addr:0x0208a4a8 func_ov000_02088df8 kind:function(arm,size=0x34) addr:0x0208a4cc func_ov000_02088e2c kind:function(arm,size=0x34) addr:0x0208a500 -_ZN27UnkStruct_ov000_02090850_60C1EP15PlayerLinkActorP27UnkStruct_ov000_0208f820_2c kind:function(arm,size=0x40) addr:0x0208a534 +_ZN18LinkStateDamage_60C1EP15PlayerLinkActorP16LinkStateBase_2C kind:function(arm,size=0x40) addr:0x0208a534 func_ov000_02088ea0 kind:function(arm,size=0x14) addr:0x0208a574 func_ov000_02088eb4 kind:function(arm,size=0x7c) addr:0x0208a588 func_ov000_02088f30 kind:function(arm,size=0x384) addr:0x0208a604 -_ZN27UnkStruct_ov000_02090850_84C1EP15PlayerLinkActorP22UnkStruct_PlayerGet_50P22UnkStruct_PlayerGet_50 kind:function(arm,size=0x6c) addr:0x0208a988 +_ZN18LinkStateDamage_84C1EP15PlayerLinkActorP22UnkStruct_PlayerGet_50P22UnkStruct_PlayerGet_50 kind:function(arm,size=0x6c) addr:0x0208a988 func_ov000_02089320 kind:function(arm,size=0x14) addr:0x0208a9f4 func_ov000_02089334 kind:function(arm,size=0x14) addr:0x0208aa08 -_ZN28UnkStruct_ov000_02090850_184C1EP15PlayerLinkActorP27UnkStruct_ov000_0208f820_2c kind:function(arm,size=0x40) addr:0x0208aa1c +_ZN19LinkStateDamage_184C1EP15PlayerLinkActorP16LinkStateBase_2C kind:function(arm,size=0x40) addr:0x0208aa1c func_ov000_02089388 kind:function(arm,size=0x60) addr:0x0208aa5c func_ov000_020893e8 kind:function(arm,size=0x94) addr:0x0208aabc func_ov000_0208947c kind:function(arm,size=0x40) addr:0x0208ab50 func_ov000_020894bc kind:function(arm,size=0x1ac) addr:0x0208ab90 func_ov000_02089668 kind:function(arm,size=0x84) addr:0x0208ad3c -_ZN27UnkStruct_ov000_02090850_ACC1EP15PlayerLinkActorP27UnkStruct_ov000_0208f820_2c kind:function(arm,size=0x100) addr:0x0208adc0 +_ZN18LinkStateDamage_ACC1EP15PlayerLinkActorP16LinkStateBase_2C kind:function(arm,size=0x100) addr:0x0208adc0 func_ov000_020897ec kind:function(arm,size=0x3c) addr:0x0208aec0 -_ZN27UnkStruct_ov000_02090850_AC8vfunc_00Eii kind:function(arm,size=0x20) addr:0x0208aefc +_ZN18LinkStateDamage_AC8vfunc_00Eii kind:function(arm,size=0x20) addr:0x0208aefc _ZN19func_ov000_02089848D1Ev kind:function(arm,size=0x2c) addr:0x0208af1c _ZN19func_ov000_02089874D0Ev kind:function(arm,size=0x34) addr:0x0208af48 _ZN19func_ov000_020898a8D2Ev kind:function(arm,size=0x2c) addr:0x0208af7c @@ -1970,7 +1970,7 @@ func_ov000_0208c444 kind:function(arm,size=0x178) addr:0x0208db1c func_ov000_0208c5bc kind:function(arm,size=0xe4) addr:0x0208dc94 _ZN19func_ov000_0208c6a0D1Ev kind:function(arm,size=0x14) addr:0x0208dd78 _ZN19func_ov000_0208c6b4D0Ev kind:function(arm,size=0x1c) addr:0x0208dd8c -func_ov000_0208c6d0 kind:function(thumb,size=0x2) addr:0x0208dda8 +_ZN26PlayerLinkActor_A0_14_BaseD2Ev kind:function(thumb,size=0x2) addr:0x0208dda8 func_ov000_0208c6d4 kind:function(arm,size=0x50) addr:0x0208ddac func_ov000_0208c724 kind:function(arm,size=0x68) addr:0x0208ddfc _ZN21PlayerActorBase_70_1CC1EP18PlayerActorBase_70 kind:function(thumb,size=0x24) addr:0x0208de64 @@ -2076,10 +2076,10 @@ func_ov000_0208f00c kind:function(arm,size=0x430) addr:0x020906e8 func_ov000_0208f43c kind:function(arm,size=0x120) addr:0x02090b18 func_ov000_0208f55c kind:function(arm,size=0x124) addr:0x02090c38 func_ov000_0208f680 kind:function(arm,size=0x1a0) addr:0x02090d5c -_ZN24UnkStruct_ov000_0208f820C2EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x8c) addr:0x02090efc -func_ov000_0208f8ac kind:function(arm,size=0x4) addr:0x02090f88 -_ZN19func_ov000_0208f8b0D0Ev kind:function(arm,size=0x14) addr:0x02090f8c -_ZN24UnkStruct_ov000_0208f820D2Ev kind:function(arm,size=0x4) addr:0x02090fa0 +_ZN13LinkStateBaseC2EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x8c) addr:0x02090efc +_ZN13LinkStateBaseD1Ev kind:function(arm,size=0x4) addr:0x02090f88 +_ZN13LinkStateBaseD0Ev kind:function(arm,size=0x14) addr:0x02090f8c +_ZN13LinkStateBaseD2Ev kind:function(arm,size=0x4) addr:0x02090fa0 func_ov000_0208f8c8 kind:function(arm,size=0x8c) addr:0x02090fa4 func_ov000_0208f954 kind:function(arm,size=0x40) addr:0x02091030 func_ov000_0208f994 kind:function(arm,size=0x11c) addr:0x02091070 @@ -2090,26 +2090,26 @@ func_ov000_0208fef4 kind:function(arm,size=0x44) addr:0x020915d0 func_ov000_0208ff38 kind:function(arm,size=0x154) addr:0x02091614 func_ov000_0209008c kind:function(arm,size=0xc8) addr:0x02091768 func_ov000_02090154 kind:function(arm,size=0x48) addr:0x02091830 -_ZN24UnkStruct_ov000_0208f8208vfunc_00Ev kind:function(arm,size=0x8) addr:0x02091878 +_ZN13LinkStateBase8vfunc_00Ev kind:function(arm,size=0x8) addr:0x02091878 func_ov000_020901a4 kind:function(arm,size=0x50) addr:0x02091880 func_ov000_020901f4 kind:function(arm,size=0x55c) addr:0x020918d0 func_ov000_02090750 kind:function(arm,size=0x3c) addr:0x02091e2c func_ov000_0209078c kind:function(arm,size=0x30) addr:0x02091e68 -_ZN24UnkStruct_ov000_0208f8208vfunc_14Ev kind:function(arm,size=0x4) addr:0x02091e98 -_ZN24UnkStruct_ov000_0208f8208vfunc_18Eiii kind:function(arm,size=0x4) addr:0x02091e9c -_ZN24UnkStruct_ov000_0208f8208vfunc_1CEP7VecFx32 kind:function(arm,size=0x54) addr:0x02091ea0 +_ZN13LinkStateBase8vfunc_14Ev kind:function(arm,size=0x4) addr:0x02091e98 +_ZN13LinkStateBase8vfunc_18Eiii kind:function(arm,size=0x4) addr:0x02091e9c +_ZN13LinkStateBase8vfunc_1CEP7VecFx32 kind:function(arm,size=0x54) addr:0x02091ea0 func_ov000_02090818 kind:function(arm,size=0x38) addr:0x02091ef4 -_ZN24UnkStruct_ov000_02090850C1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x90) addr:0x02091f2c -_ZN24UnkStruct_ov000_02090850D1Ev kind:function(arm,size=0x104) addr:0x02091fbc -_ZN24UnkStruct_ov000_02090850D0Ev kind:function(arm,size=0x10c) addr:0x020920c0 +_ZN15LinkStateDamageC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x90) addr:0x02091f2c +_ZN15LinkStateDamageD1Ev kind:function(arm,size=0x104) addr:0x02091fbc +_ZN15LinkStateDamageD0Ev kind:function(arm,size=0x10c) addr:0x020920c0 func_ov000_02090af0 kind:function(arm,size=0x44) addr:0x020921cc func_ov000_02090b34 kind:function(arm,size=0x50) addr:0x02092210 func_ov000_02090b84 kind:function(arm,size=0x2c) addr:0x02092260 -_ZN24UnkStruct_ov000_020908508vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x0209228c -_ZN24UnkStruct_ov000_020908508vfunc_10Eii kind:function(arm,size=0x524) addr:0x020926c4 -_ZN24UnkStruct_ov000_020908508vfunc_14Ev kind:function(arm,size=0x68) addr:0x02092be8 -_ZN24UnkStruct_ov000_020908508vfunc_18Eiii kind:function(arm,size=0x20) addr:0x02092c50 -_ZN24UnkStruct_ov000_020908508vfunc_1CEP7VecFx32 kind:function(arm,size=0xb4) addr:0x02092c70 +_ZN15LinkStateDamage8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x0209228c +_ZN15LinkStateDamage8vfunc_10Eii kind:function(arm,size=0x524) addr:0x020926c4 +_ZN15LinkStateDamage8vfunc_14Ev kind:function(arm,size=0x68) addr:0x02092be8 +_ZN15LinkStateDamage8vfunc_18Eiii kind:function(arm,size=0x20) addr:0x02092c50 +_ZN15LinkStateDamage8vfunc_1CEP7VecFx32 kind:function(arm,size=0xb4) addr:0x02092c70 func_ov000_02091648 kind:function(arm,size=0x34) addr:0x02092d24 func_ov000_0209167c kind:function(arm,size=0x40) addr:0x02092d58 _ZN19func_ov000_020916bcD0Ev kind:function(arm,size=0x48) addr:0x02092d98 diff --git a/config/jp/arm9/overlays/ov031/symbols.txt b/config/jp/arm9/overlays/ov031/symbols.txt index 62f907c2a..ebb3acd2b 100644 --- a/config/jp/arm9/overlays/ov031/symbols.txt +++ b/config/jp/arm9/overlays/ov031/symbols.txt @@ -126,16 +126,16 @@ _ZN24UnkStruct_ov031_02112b408vfunc_0CE9RefStructP24UnkStruct_ov031_020e54d4PK7V _ZN24UnkStruct_ov031_02112b4019func_ov031_020daaecEPK27UnkStruct_ov031_020e5d18_00P6Sphere kind:function(arm,size=0x104) addr:0x020dc48c _ZN24UnkStruct_ov031_02112b40D1Ev kind:function(arm,size=0x14) addr:0x020dc590 _ZN24UnkStruct_ov031_02112b40D0Ev kind:function(arm,size=0x1c) addr:0x020dc5a4 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dac20Ev kind:function(arm,size=0x20) addr:0x020dc5c0 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dac40Ev kind:function(arm,size=0x40) addr:0x020dc5e0 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dac80Ev kind:function(arm,size=0x5c) addr:0x020dc620 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dacdcEb kind:function(arm,size=0xa4) addr:0x020dc67c -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dad80Ev kind:function(arm,size=0x18) addr:0x020dc720 -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dad98Ev kind:function(arm,size=0xa4) addr:0x020dc738 -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dae3cEv kind:function(arm,size=0x50) addr:0x020dc7dc -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dae8cEi kind:function(arm,size=0x15c) addr:0x020dc82c -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dafe8Eb kind:function(arm,size=0x40) addr:0x020dc988 -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020db028Ev kind:function(arm,size=0xd4) addr:0x020dc9c8 +_ZN18LinkStateDamage_8419func_ov031_020dac20Ev kind:function(arm,size=0x20) addr:0x020dc5c0 +_ZN18LinkStateDamage_8419func_ov031_020dac40Ev kind:function(arm,size=0x40) addr:0x020dc5e0 +_ZN18LinkStateDamage_8419func_ov031_020dac80Ev kind:function(arm,size=0x5c) addr:0x020dc620 +_ZN18LinkStateDamage_8419func_ov031_020dacdcEb kind:function(arm,size=0xa4) addr:0x020dc67c +_ZN18LinkStateDamage_AC19func_ov031_020dad80Ev kind:function(arm,size=0x18) addr:0x020dc720 +_ZN18LinkStateDamage_AC19func_ov031_020dad98Ev kind:function(arm,size=0xa4) addr:0x020dc738 +_ZN18LinkStateDamage_AC19func_ov031_020dae3cEv kind:function(arm,size=0x50) addr:0x020dc7dc +_ZN18LinkStateDamage_AC19func_ov031_020dae8cEi kind:function(arm,size=0x15c) addr:0x020dc82c +_ZN18LinkStateDamage_AC19func_ov031_020dafe8Eb kind:function(arm,size=0x40) addr:0x020dc988 +_ZN18LinkStateDamage_AC19func_ov031_020db028Ev kind:function(arm,size=0xd4) addr:0x020dc9c8 _ZN19PlayerLinkActor_13419func_ov031_020db0fcEv kind:function(arm,size=0x24) addr:0x020dca9c _ZN19PlayerLinkActor_13419func_ov031_020db120EP7VecFx32 kind:function(arm,size=0x40) addr:0x020dcac0 _ZN19PlayerLinkActor_13419func_ov031_020db160Eb kind:function(arm,size=0x30) addr:0x020dcb00 @@ -217,19 +217,19 @@ _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcad0Ei kind:function( _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcb0cE9RefStruct kind:function(arm,size=0x54) addr:0x020de4ac _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcb60E9RefStruct kind:function(arm,size=0xbc) addr:0x020de500 _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcc1cEi kind:function(arm,size=0xa0) addr:0x020de5bc -func_ov031_020dccbc kind:function(thumb,size=0x32) addr:0x020de65c +_ZN15PlayerLinkActor19func_ov031_020dccbcEv kind:function(thumb,size=0x32) addr:0x020de65c _ZN15PlayerLinkActor19func_ov031_020dccf0Ev kind:function(thumb,size=0x30) addr:0x020de690 -func_ov031_020dcd20 kind:function(arm,size=0x3c) addr:0x020de6c0 -func_ov031_020dcd5c kind:function(thumb,size=0x12) addr:0x020de6fc -func_ov031_020dcd70 kind:function(thumb,size=0x1e) addr:0x020de710 +_ZN15PlayerLinkActor19func_ov031_020dcd20Ev kind:function(arm,size=0x3c) addr:0x020de6c0 +_ZN19PlayerZeldaActor_CCC1Ev kind:function(thumb,size=0x12) addr:0x020de6fc +_ZN19PlayerZeldaActor_CC19func_ov031_020dcd70EPK7VecFx32S2_ kind:function(thumb,size=0x1e) addr:0x020de710 _ZN29UnkStruct_027e0ce0_40_Base_78C1Ev kind:function(thumb,size=0x6) addr:0x020de730 _ZN29UnkStruct_027e0ce0_40_Base_78D1Ev kind:function(thumb,size=0x2) addr:0x020de738 -func_ov031_020dcd9c kind:function(arm,size=0x108) addr:0x020de73c -func_ov031_020dcea4 kind:function(arm,size=0x110) addr:0x020de844 -_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcfb4EPv kind:function(arm,size=0x12c) addr:0x020de954 +_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcd9cEPK7VecFx32PS0_ kind:function(arm,size=0x108) addr:0x020de73c +_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcea4EP14UnkAngleStructPS_S0_ kind:function(arm,size=0x110) addr:0x020de844 +_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcfb4EP7VecFx32 kind:function(arm,size=0x12c) addr:0x020de954 _ZN21PlayerLinkActor_A0_14C1Ev kind:function(arm,size=0x44) addr:0x020dea80 func_ov031_020dd124 kind:function(arm,size=0x80) addr:0x020deac4 -func_ov031_020dd1a4 kind:function(arm,size=0xd0) addr:0x020deb44 +_ZN21PlayerLinkActor_A0_1419func_ov031_020dd1a4EbP7VecFx3214UnkAngleStruct kind:function(arm,size=0xd0) addr:0x020deb44 _ZN21PlayerLinkActor_A0_148vfunc_08Ev kind:function(arm,size=0xb8) addr:0x020dec14 _ZN21PlayerLinkActor_A0_14D1Ev kind:function(arm,size=0x28) addr:0x020deccc _ZN21PlayerLinkActor_A0_14D0Ev kind:function(arm,size=0x30) addr:0x020decf4 diff --git a/config/jp/arm9/overlays/ov093/symbols.txt b/config/jp/arm9/overlays/ov093/symbols.txt index e641b4774..99d8ab6f5 100644 --- a/config/jp/arm9/overlays/ov093/symbols.txt +++ b/config/jp/arm9/overlays/ov093/symbols.txt @@ -163,7 +163,7 @@ _ZN19func_ov093_0216ef48D0Ev kind:function(arm,size=0x1c) addr:0x0216ef48 func_ov093_0216ef64 kind:function(thumb,size=0x14) addr:0x0216ef64 func_ov093_0216ef78 kind:function(arm,size=0x94) addr:0x0216ef78 func_ov093_0216f00c kind:function(arm,size=0xa4) addr:0x0216f00c -_ZN15PlayerLinkActor19func_ov093_0216ce24EPi kind:function(arm,size=0x3c) addr:0x0216f0b0 +_ZN15PlayerLinkActor19func_ov093_0216ce24EPK7VecFx32 kind:function(arm,size=0x3c) addr:0x0216f0b0 _ZN16PlayerZeldaActorC1EPvP21UnkStruct_027e0ce0_40P25UnkStruct_027e0ce0_40_150Pj kind:function(thumb,size=0x1bc) addr:0x0216f0ec _ZN16PlayerZeldaActorD1Ev kind:function(thumb,size=0xb6) addr:0x0216f2a8 _ZN15PlayerActorBase19func_ov093_0216d0d4Ev kind:function(thumb,size=0x8c) addr:0x0216f360 @@ -219,7 +219,7 @@ func_ov093_0216f66c kind:function(thumb,size=0x10) addr:0x021718ec func_ov093_0216f67c kind:function(thumb,size=0x10) addr:0x021718fc func_ov093_0216f68c kind:function(thumb,size=0x7c) addr:0x0217190c func_ov093_0216f708 kind:function(thumb,size=0x12) addr:0x02171988 -_ZN15PlayerActorBase19func_ov093_0216f71cEPi kind:function(thumb,size=0x50) addr:0x0217199c +_ZN15PlayerActorBase19func_ov093_0216f71cEPK7VecFx32 kind:function(thumb,size=0x50) addr:0x0217199c func_ov093_0216f76c kind:function(thumb,size=0xc) addr:0x021719ec func_ov093_0216f778 kind:function(arm,size=0x78) addr:0x021719f8 func_ov093_0216f7f0 kind:function(arm,size=0x7c) addr:0x02171a70 diff --git a/config/usa/arm9/itcm/symbols.txt b/config/usa/arm9/itcm/symbols.txt index f3ff54676..c07f23c6b 100644 --- a/config/usa/arm9/itcm/symbols.txt +++ b/config/usa/arm9/itcm/symbols.txt @@ -190,7 +190,7 @@ func_01ffef34 kind:function(arm,size=0x128) addr:0x01ffef34 func_01fff05c kind:function(arm,size=0x58) addr:0x01fff05c func_01fff0b4 kind:function(arm,size=0x94) addr:0x01fff0b4 _ZN18UnkStruct_027e0ce013func_01fff148E11PlayerType_ kind:function(arm,size=0x20) addr:0x01fff148 -func_01fff168 kind:function(arm,size=0x14) addr:0x01fff168 +_ZN18UnkStruct_027e0ce013func_01fff168E11PlayerType_ kind:function(arm,size=0x14) addr:0x01fff168 func_01fff17c kind:function(arm,size=0x28) addr:0x01fff17c _ZN18UnkStruct_027e0ce013func_01fff1a4Ev kind:function(arm,size=0x3c) addr:0x01fff1a4 _ZN18UnkStruct_027e0ce013func_01fff1e0Ev kind:function(arm,size=0x74) addr:0x01fff1e0 diff --git a/config/usa/arm9/overlays/ov000/symbols.txt b/config/usa/arm9/overlays/ov000/symbols.txt index b41260906..77d6c401d 100644 --- a/config/usa/arm9/overlays/ov000/symbols.txt +++ b/config/usa/arm9/overlays/ov000/symbols.txt @@ -158,7 +158,7 @@ _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058a24Ev kind:function(arm, _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058a58Eii kind:function(arm,size=0x2c) addr:0x02058a38 _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058a84EiPKc kind:function(arm,size=0x2c) addr:0x02058a64 _ZN33MapObjectProfile_Derived2_20_Base19func_ov000_02058ab0Ev kind:function(arm,size=0xe8) addr:0x02058a90 -_ZN24PlayerLinkActor_A0_14_04C1Ei kind:function(thumb,size=0x1c) addr:0x02058b78 +_ZN24PlayerLinkActor_A0_14_04C1EP10G3d_Model_ kind:function(thumb,size=0x1c) addr:0x02058b78 _ZN24PlayerLinkActor_A0_14_048vfunc_08EP9G3d_Model kind:function(arm,size=0x34) addr:0x02058b94 _ZN24PlayerLinkActor_A0_14_048vfunc_0CEv kind:function(arm,size=0x14) addr:0x02058bc8 _ZN24PlayerLinkActor_A0_14_04D1Ev kind:function(arm,size=0x14) addr:0x02058bdc @@ -1827,22 +1827,22 @@ func_ov000_02088da8 kind:function(arm,size=0x2c) addr:0x02088d88 func_ov000_02088dd4 kind:function(arm,size=0x24) addr:0x02088db4 func_ov000_02088df8 kind:function(arm,size=0x34) addr:0x02088dd8 func_ov000_02088e2c kind:function(arm,size=0x34) addr:0x02088e0c -_ZN27UnkStruct_ov000_02090850_60C1EP15PlayerLinkActorP27UnkStruct_ov000_0208f820_2c kind:function(arm,size=0x40) addr:0x02088e40 +_ZN18LinkStateDamage_60C1EP15PlayerLinkActorP16LinkStateBase_2C kind:function(arm,size=0x40) addr:0x02088e40 func_ov000_02088ea0 kind:function(arm,size=0x14) addr:0x02088e80 func_ov000_02088eb4 kind:function(arm,size=0x7c) addr:0x02088e94 func_ov000_02088f30 kind:function(arm,size=0x384) addr:0x02088f10 -_ZN27UnkStruct_ov000_02090850_84C1EP15PlayerLinkActorP22UnkStruct_PlayerGet_50P22UnkStruct_PlayerGet_50 kind:function(arm,size=0x6c) addr:0x02089294 +_ZN18LinkStateDamage_84C1EP15PlayerLinkActorP22UnkStruct_PlayerGet_50P22UnkStruct_PlayerGet_50 kind:function(arm,size=0x6c) addr:0x02089294 func_ov000_02089320 kind:function(arm,size=0x14) addr:0x02089300 func_ov000_02089334 kind:function(arm,size=0x14) addr:0x02089314 -_ZN28UnkStruct_ov000_02090850_184C1EP15PlayerLinkActorP27UnkStruct_ov000_0208f820_2c kind:function(arm,size=0x40) addr:0x02089328 +_ZN19LinkStateDamage_184C1EP15PlayerLinkActorP16LinkStateBase_2C kind:function(arm,size=0x40) addr:0x02089328 func_ov000_02089388 kind:function(arm,size=0x60) addr:0x02089368 func_ov000_020893e8 kind:function(arm,size=0x94) addr:0x020893c8 func_ov000_0208947c kind:function(arm,size=0x40) addr:0x0208945c func_ov000_020894bc kind:function(arm,size=0x1ac) addr:0x0208949c func_ov000_02089668 kind:function(arm,size=0x84) addr:0x02089648 -_ZN27UnkStruct_ov000_02090850_ACC1EP15PlayerLinkActorP27UnkStruct_ov000_0208f820_2c kind:function(arm,size=0x100) addr:0x020896cc +_ZN18LinkStateDamage_ACC1EP15PlayerLinkActorP16LinkStateBase_2C kind:function(arm,size=0x100) addr:0x020896cc func_ov000_020897ec kind:function(arm,size=0x3c) addr:0x020897cc -_ZN27UnkStruct_ov000_02090850_AC8vfunc_00Eii kind:function(arm,size=0x20) addr:0x02089808 +_ZN18LinkStateDamage_AC8vfunc_00Eii kind:function(arm,size=0x20) addr:0x02089808 _ZN19func_ov000_02089848D1Ev kind:function(arm,size=0x2c) addr:0x02089828 _ZN19func_ov000_02089874D0Ev kind:function(arm,size=0x34) addr:0x02089854 _ZN19func_ov000_020898a8D2Ev kind:function(arm,size=0x2c) addr:0x02089888 @@ -1969,7 +1969,7 @@ func_ov000_0208c444 kind:function(arm,size=0x178) addr:0x0208c424 func_ov000_0208c5bc kind:function(arm,size=0xe4) addr:0x0208c59c _ZN19func_ov000_0208c6a0D1Ev kind:function(arm,size=0x14) addr:0x0208c680 _ZN19func_ov000_0208c6b4D0Ev kind:function(arm,size=0x1c) addr:0x0208c694 -func_ov000_0208c6d0 kind:function(thumb,size=0x2) addr:0x0208c6b0 +_ZN26PlayerLinkActor_A0_14_BaseD2Ev kind:function(thumb,size=0x2) addr:0x0208c6b0 func_ov000_0208c6d4 kind:function(arm,size=0x50) addr:0x0208c6b4 func_ov000_0208c724 kind:function(arm,size=0x68) addr:0x0208c704 _ZN21PlayerActorBase_70_1CC1EP18PlayerActorBase_70 kind:function(thumb,size=0x24) addr:0x0208c76c @@ -2075,10 +2075,10 @@ func_ov000_0208f00c kind:function(arm,size=0x430) addr:0x0208efec func_ov000_0208f43c kind:function(arm,size=0x120) addr:0x0208f41c func_ov000_0208f55c kind:function(arm,size=0x124) addr:0x0208f53c func_ov000_0208f680 kind:function(arm,size=0x1a0) addr:0x0208f660 -_ZN24UnkStruct_ov000_0208f820C2EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x8c) addr:0x0208f800 -func_ov000_0208f8ac kind:function(arm,size=0x4) addr:0x0208f88c -_ZN19func_ov000_0208f8b0D0Ev kind:function(arm,size=0x14) addr:0x0208f890 -_ZN24UnkStruct_ov000_0208f820D2Ev kind:function(arm,size=0x4) addr:0x0208f8a4 +_ZN13LinkStateBaseC2EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x8c) addr:0x0208f800 +_ZN13LinkStateBaseD1Ev kind:function(arm,size=0x4) addr:0x0208f88c +_ZN13LinkStateBaseD0Ev kind:function(arm,size=0x14) addr:0x0208f890 +_ZN13LinkStateBaseD2Ev kind:function(arm,size=0x4) addr:0x0208f8a4 func_ov000_0208f8c8 kind:function(arm,size=0x8c) addr:0x0208f8a8 func_ov000_0208f954 kind:function(arm,size=0x40) addr:0x0208f934 func_ov000_0208f994 kind:function(arm,size=0x11c) addr:0x0208f974 @@ -2089,26 +2089,26 @@ func_ov000_0208fef4 kind:function(arm,size=0x44) addr:0x0208fed4 func_ov000_0208ff38 kind:function(arm,size=0x154) addr:0x0208ff18 func_ov000_0209008c kind:function(arm,size=0xc8) addr:0x0209006c func_ov000_02090154 kind:function(arm,size=0x48) addr:0x02090134 -_ZN24UnkStruct_ov000_0208f8208vfunc_00Ev kind:function(arm,size=0x8) addr:0x0209017c +_ZN13LinkStateBase8vfunc_00Ev kind:function(arm,size=0x8) addr:0x0209017c func_ov000_020901a4 kind:function(arm,size=0x50) addr:0x02090184 func_ov000_020901f4 kind:function(arm,size=0x55c) addr:0x020901d4 func_ov000_02090750 kind:function(arm,size=0x3c) addr:0x02090730 func_ov000_0209078c kind:function(arm,size=0x30) addr:0x0209076c -_ZN24UnkStruct_ov000_0208f8208vfunc_14Ev kind:function(arm,size=0x4) addr:0x0209079c -_ZN24UnkStruct_ov000_0208f8208vfunc_18Eiii kind:function(arm,size=0x4) addr:0x020907a0 -_ZN24UnkStruct_ov000_0208f8208vfunc_1CEP7VecFx32 kind:function(arm,size=0x54) addr:0x020907a4 +_ZN13LinkStateBase8vfunc_14Ev kind:function(arm,size=0x4) addr:0x0209079c +_ZN13LinkStateBase8vfunc_18Eiii kind:function(arm,size=0x4) addr:0x020907a0 +_ZN13LinkStateBase8vfunc_1CEP7VecFx32 kind:function(arm,size=0x54) addr:0x020907a4 func_ov000_02090818 kind:function(arm,size=0x38) addr:0x020907f8 -_ZN24UnkStruct_ov000_02090850C1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x90) addr:0x02090830 -_ZN24UnkStruct_ov000_02090850D1Ev kind:function(arm,size=0x104) addr:0x020908c0 -_ZN24UnkStruct_ov000_02090850D0Ev kind:function(arm,size=0x10c) addr:0x020909c4 +_ZN15LinkStateDamageC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x90) addr:0x02090830 +_ZN15LinkStateDamageD1Ev kind:function(arm,size=0x104) addr:0x020908c0 +_ZN15LinkStateDamageD0Ev kind:function(arm,size=0x10c) addr:0x020909c4 func_ov000_02090af0 kind:function(arm,size=0x44) addr:0x02090ad0 func_ov000_02090b34 kind:function(arm,size=0x50) addr:0x02090b14 func_ov000_02090b84 kind:function(arm,size=0x2c) addr:0x02090b64 -_ZN24UnkStruct_ov000_020908508vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x02090b90 -_ZN24UnkStruct_ov000_020908508vfunc_10Eii kind:function(arm,size=0x524) addr:0x02090fc8 -_ZN24UnkStruct_ov000_020908508vfunc_14Ev kind:function(arm,size=0x68) addr:0x020914ec -_ZN24UnkStruct_ov000_020908508vfunc_18Eiii kind:function(arm,size=0x20) addr:0x02091554 -_ZN24UnkStruct_ov000_020908508vfunc_1CEP7VecFx32 kind:function(arm,size=0xb4) addr:0x02091574 +_ZN15LinkStateDamage8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x02090b90 +_ZN15LinkStateDamage8vfunc_10Eii kind:function(arm,size=0x524) addr:0x02090fc8 +_ZN15LinkStateDamage8vfunc_14Ev kind:function(arm,size=0x68) addr:0x020914ec +_ZN15LinkStateDamage8vfunc_18Eiii kind:function(arm,size=0x20) addr:0x02091554 +_ZN15LinkStateDamage8vfunc_1CEP7VecFx32 kind:function(arm,size=0xb4) addr:0x02091574 func_ov000_02091648 kind:function(arm,size=0x34) addr:0x02091628 func_ov000_0209167c kind:function(arm,size=0x40) addr:0x0209165c _ZN19func_ov000_020916bcD0Ev kind:function(arm,size=0x48) addr:0x0209169c diff --git a/config/usa/arm9/overlays/ov031/symbols.txt b/config/usa/arm9/overlays/ov031/symbols.txt index 347b9ccac..0b87800ac 100644 --- a/config/usa/arm9/overlays/ov031/symbols.txt +++ b/config/usa/arm9/overlays/ov031/symbols.txt @@ -126,16 +126,16 @@ _ZN24UnkStruct_ov031_02112b408vfunc_0CE9RefStructP24UnkStruct_ov031_020e54d4PK7V _ZN24UnkStruct_ov031_02112b4019func_ov031_020daaecEPK27UnkStruct_ov031_020e5d18_00P6Sphere kind:function(arm,size=0x104) addr:0x020daacc _ZN24UnkStruct_ov031_02112b40D1Ev kind:function(arm,size=0x14) addr:0x020dabd0 _ZN24UnkStruct_ov031_02112b40D0Ev kind:function(arm,size=0x1c) addr:0x020dabe4 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dac20Ev kind:function(arm,size=0x20) addr:0x020dac00 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dac40Ev kind:function(arm,size=0x40) addr:0x020dac20 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dac80Ev kind:function(arm,size=0x5c) addr:0x020dac60 -_ZN27UnkStruct_ov000_02090850_8419func_ov031_020dacdcEb kind:function(arm,size=0xa4) addr:0x020dacbc -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dad80Ev kind:function(arm,size=0x18) addr:0x020dad60 -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dad98Ev kind:function(arm,size=0xa4) addr:0x020dad78 -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dae3cEv kind:function(arm,size=0x50) addr:0x020dae1c -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dae8cEi kind:function(arm,size=0x15c) addr:0x020dae6c -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020dafe8Eb kind:function(arm,size=0x40) addr:0x020dafc8 -_ZN27UnkStruct_ov000_02090850_AC19func_ov031_020db028Ev kind:function(arm,size=0xd4) addr:0x020db008 +_ZN18LinkStateDamage_8419func_ov031_020dac20Ev kind:function(arm,size=0x20) addr:0x020dac00 +_ZN18LinkStateDamage_8419func_ov031_020dac40Ev kind:function(arm,size=0x40) addr:0x020dac20 +_ZN18LinkStateDamage_8419func_ov031_020dac80Ev kind:function(arm,size=0x5c) addr:0x020dac60 +_ZN18LinkStateDamage_8419func_ov031_020dacdcEb kind:function(arm,size=0xa4) addr:0x020dacbc +_ZN18LinkStateDamage_AC19func_ov031_020dad80Ev kind:function(arm,size=0x18) addr:0x020dad60 +_ZN18LinkStateDamage_AC19func_ov031_020dad98Ev kind:function(arm,size=0xa4) addr:0x020dad78 +_ZN18LinkStateDamage_AC19func_ov031_020dae3cEv kind:function(arm,size=0x50) addr:0x020dae1c +_ZN18LinkStateDamage_AC19func_ov031_020dae8cEi kind:function(arm,size=0x15c) addr:0x020dae6c +_ZN18LinkStateDamage_AC19func_ov031_020dafe8Eb kind:function(arm,size=0x40) addr:0x020dafc8 +_ZN18LinkStateDamage_AC19func_ov031_020db028Ev kind:function(arm,size=0xd4) addr:0x020db008 _ZN19PlayerLinkActor_13419func_ov031_020db0fcEv kind:function(arm,size=0x24) addr:0x020db0dc _ZN19PlayerLinkActor_13419func_ov031_020db120EP7VecFx32 kind:function(arm,size=0x40) addr:0x020db100 _ZN19PlayerLinkActor_13419func_ov031_020db160Eb kind:function(arm,size=0x30) addr:0x020db140 @@ -217,19 +217,19 @@ _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcad0Ei kind:function( _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcb0cE9RefStruct kind:function(arm,size=0x54) addr:0x020dcaec _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcb60E9RefStruct kind:function(arm,size=0xbc) addr:0x020dcb40 _ZN37UnkStruct_027e0ce0_40_Base_7C_04_Base19func_ov031_020dcc1cEi kind:function(arm,size=0xa0) addr:0x020dcbfc -func_ov031_020dccbc kind:function(thumb,size=0x32) addr:0x020dcc9c +_ZN15PlayerLinkActor19func_ov031_020dccbcEv kind:function(thumb,size=0x32) addr:0x020dcc9c _ZN15PlayerLinkActor19func_ov031_020dccf0Ev kind:function(thumb,size=0x30) addr:0x020dccd0 -func_ov031_020dcd20 kind:function(arm,size=0x3c) addr:0x020dcd00 -func_ov031_020dcd5c kind:function(thumb,size=0x12) addr:0x020dcd3c -func_ov031_020dcd70 kind:function(thumb,size=0x1e) addr:0x020dcd50 +_ZN15PlayerLinkActor19func_ov031_020dcd20Ev kind:function(arm,size=0x3c) addr:0x020dcd00 +_ZN19PlayerZeldaActor_CCC1Ev kind:function(thumb,size=0x12) addr:0x020dcd3c +_ZN19PlayerZeldaActor_CC19func_ov031_020dcd70EPK7VecFx32S2_ kind:function(thumb,size=0x1e) addr:0x020dcd50 _ZN29UnkStruct_027e0ce0_40_Base_78C1Ev kind:function(thumb,size=0x6) addr:0x020dcd70 _ZN29UnkStruct_027e0ce0_40_Base_78D1Ev kind:function(thumb,size=0x2) addr:0x020dcd78 -func_ov031_020dcd9c kind:function(arm,size=0x108) addr:0x020dcd7c -func_ov031_020dcea4 kind:function(arm,size=0x110) addr:0x020dce84 -_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcfb4EPv kind:function(arm,size=0x12c) addr:0x020dcf94 +_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcd9cEPK7VecFx32PS0_ kind:function(arm,size=0x108) addr:0x020dcd7c +_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcea4EP14UnkAngleStructPS_S0_ kind:function(arm,size=0x110) addr:0x020dce84 +_ZN29UnkStruct_027e0ce0_40_Base_7819func_ov031_020dcfb4EP7VecFx32 kind:function(arm,size=0x12c) addr:0x020dcf94 _ZN21PlayerLinkActor_A0_14C1Ev kind:function(arm,size=0x44) addr:0x020dd0c0 func_ov031_020dd124 kind:function(arm,size=0x80) addr:0x020dd104 -func_ov031_020dd1a4 kind:function(arm,size=0xd0) addr:0x020dd184 +_ZN21PlayerLinkActor_A0_1419func_ov031_020dd1a4EbP7VecFx3214UnkAngleStruct kind:function(arm,size=0xd0) addr:0x020dd184 _ZN21PlayerLinkActor_A0_148vfunc_08Ev kind:function(arm,size=0xb8) addr:0x020dd254 _ZN21PlayerLinkActor_A0_14D1Ev kind:function(arm,size=0x28) addr:0x020dd30c _ZN21PlayerLinkActor_A0_14D0Ev kind:function(arm,size=0x30) addr:0x020dd334 diff --git a/config/usa/arm9/overlays/ov093/symbols.txt b/config/usa/arm9/overlays/ov093/symbols.txt index f8cbf2b97..069f4c613 100644 --- a/config/usa/arm9/overlays/ov093/symbols.txt +++ b/config/usa/arm9/overlays/ov093/symbols.txt @@ -162,7 +162,7 @@ _ZN19func_ov093_0216ccbcD0Ev kind:function(arm,size=0x1c) addr:0x0216cc9c func_ov093_0216ccd8 kind:function(thumb,size=0x14) addr:0x0216ccb8 func_ov093_0216ccec kind:function(arm,size=0x94) addr:0x0216cccc func_ov093_0216cd80 kind:function(arm,size=0xa4) addr:0x0216cd60 -_ZN15PlayerLinkActor19func_ov093_0216ce24EPi kind:function(arm,size=0x3c) addr:0x0216ce04 +_ZN15PlayerLinkActor19func_ov093_0216ce24EPK7VecFx32 kind:function(arm,size=0x3c) addr:0x0216ce04 _ZN16PlayerZeldaActorC1EPvP21UnkStruct_027e0ce0_40P25UnkStruct_027e0ce0_40_150Pj kind:function(thumb,size=0x1bc) addr:0x0216ce40 _ZN16PlayerZeldaActorD1Ev kind:function(thumb,size=0xb6) addr:0x0216cffc _ZN15PlayerActorBase19func_ov093_0216d0d4Ev kind:function(thumb,size=0x8c) addr:0x0216d0b4 @@ -218,7 +218,7 @@ func_ov093_0216f66c kind:function(thumb,size=0x10) addr:0x0216f64c func_ov093_0216f67c kind:function(thumb,size=0x10) addr:0x0216f65c func_ov093_0216f68c kind:function(thumb,size=0x7c) addr:0x0216f66c func_ov093_0216f708 kind:function(thumb,size=0x12) addr:0x0216f6e8 -_ZN15PlayerActorBase19func_ov093_0216f71cEPi kind:function(thumb,size=0x50) addr:0x0216f6fc +_ZN15PlayerActorBase19func_ov093_0216f71cEPK7VecFx32 kind:function(thumb,size=0x50) addr:0x0216f6fc func_ov093_0216f76c kind:function(thumb,size=0xc) addr:0x0216f74c func_ov093_0216f778 kind:function(arm,size=0x78) addr:0x0216f758 func_ov093_0216f7f0 kind:function(arm,size=0x7c) addr:0x0216f7d0 diff --git a/include/Actor/ActorItemTornado.hpp b/include/Actor/ActorItemTornado.hpp index 23d2ddf77..9a059fa52 100644 --- a/include/Actor/ActorItemTornado.hpp +++ b/include/Actor/ActorItemTornado.hpp @@ -37,7 +37,7 @@ class ActorItemTornado_17C : public UnkStruct_PlayerGet_74 { /* 00 */ virtual void vfunc_00(unk32 param1, unk32 param2) override; - ActorItemTornado_17C(UnkStruct_ov000_0208f820 *param1) : + ActorItemTornado_17C(LinkStateBase *param1) : UnkStruct_PlayerGet_74(param1) {} }; diff --git a/include/Actor/ActorUnkCLLT.hpp b/include/Actor/ActorUnkCLLT.hpp index a71c31212..6029c3ce0 100644 --- a/include/Actor/ActorUnkCLLT.hpp +++ b/include/Actor/ActorUnkCLLT.hpp @@ -3,6 +3,7 @@ #include "Actor/Actor.hpp" #include "Actor/ActorProfile.hpp" #include "ActorUnkTLKT.hpp" +#include "Unknown/UnkSystem1.hpp" #include "global.h" enum ActorUnkCLLTState_ { diff --git a/include/CommonFuncs.hpp b/include/CommonFuncs.hpp index 981bbf8aa..be34fc904 100644 --- a/include/CommonFuncs.hpp +++ b/include/CommonFuncs.hpp @@ -298,6 +298,7 @@ void func_ov000_0205a944(u8 bgType, bool isTopScreen, bool); void *func_ov000_0208ea70(s32 /* PlayerCharacter */, unk32, bool); // returns pointer to .NSBTX bool func_ov000_0205cbc4(RefStruct param1, VecFx32 *param2); bool func_ov000_0205cf84(RefStruct param1, s16 *param2); +void func_ov000_0205accc(); // overlay 2 AdventureModeManager_160_14 *func_ov002_020b6520(void *, void *, int); diff --git a/include/Unknown/UnkStruct_ov000_0208f820.hpp b/include/Player/LinkStateBase.hpp similarity index 80% rename from include/Unknown/UnkStruct_ov000_0208f820.hpp rename to include/Player/LinkStateBase.hpp index e8dc79446..a42e0da4a 100644 --- a/include/Unknown/UnkStruct_ov000_0208f820.hpp +++ b/include/Player/LinkStateBase.hpp @@ -1,19 +1,17 @@ #pragma once -#include "global.h" -#include "types.h" - -#include "Item/ItemManager.hpp" #include "Player/PlayerActorBase.hpp" #include "RefStruct.hpp" +#include "Unknown/UnkStruct_027e09a4.hpp" #include "math.hpp" +#include "types.h" class PlayerLinkActor_A0; class UnkStruct_027e0ce0_40; class PlayerLinkActor; struct PlayerLinkActor_A0_84; -class UnkStruct_ov000_0208f820_14 { +class LinkStateBase_14 { public: /* 00 */ unk8 mUnk_00[0x6C]; /* 6C */ unk32 mUnk_6C; @@ -39,7 +37,7 @@ class UnkStruct_PlayerGet_64_2 { void func_ov000_0208a100(); }; -class UnkStruct_ov000_0208f820_2c { +class LinkStateBase_2C { public: /* 00 */ unk32 mUnk_00; /* 04 */ unk32 mUnk_04; @@ -73,7 +71,7 @@ class UnkStruct_PlayerGet_vfunc_0C_param1 { /* 1C */ ItemId mUnk_1C; }; -class UnkStruct_ov000_0208f820_04 { +class LinkStateBase_04 { public: /* 00 */ RefStruct mUnk_00; /* 04 */ RefStruct mUnk_04; @@ -81,26 +79,26 @@ class UnkStruct_ov000_0208f820_04 { /* 0C */ ItemId mItemId; /* 10 */ - UnkStruct_ov000_0208f820_04(unk32 param1, unk32 param2, unk32 param3, ItemId itemId) { + LinkStateBase_04(unk32 param1, unk32 param2, unk32 param3, ItemId itemId) { this->mUnk_00.data = param1; this->mUnk_04.data = param2; this->mUnk_08 = param3; this->mItemId = itemId; } - UnkStruct_ov000_0208f820_04() {}; + LinkStateBase_04() {}; }; -class UnkStruct_ov000_0208f820_44 { +class LinkStateBase_44 { public: void *mUnk_00; }; -class UnkStruct_ov000_0208f820 { +class LinkStateBase { public: /* 00 (vtable) */ - /* 04 */ UnkStruct_ov000_0208f820_04 mUnk_04; - /* 14 */ UnkStruct_ov000_0208f820_14 *mUnk_14; + /* 04 */ LinkStateBase_04 mUnk_04; + /* 14 */ LinkStateBase_14 *mUnk_14; /* 18 */ unk8 mUnk_18; /* 19 */ unk8 mUnk_19; /* 1A */ unk8 mUnk_1A; @@ -109,20 +107,21 @@ class UnkStruct_ov000_0208f820 { /* 20 */ unk32 mUnk_20; /* 24 */ UnkStruct_027e0ce0_40 *mUnk_24; /* 28 */ PlayerLinkActor *mpLink; - /* 2C */ UnkStruct_ov000_0208f820_2c *mUnk_2C; + /* 2C */ LinkStateBase_2C *mUnk_2C; /* 30 */ PlayerLinkActor_A0 *mUnk_30; /* 34 */ VecFx32 *mUnk_34; /* 38 */ VecFx32 *mUnk_38; /* 3C */ VecFx32 *mUnk_3C; /* 40 */ UnkAngleStruct *mUnk_40; - /* 44 */ UnkStruct_ov000_0208f820_44 *mUnk_44; + /* 44 */ LinkStateBase_44 *mUnk_44; /* 48 */ PlayerActorBase_70 *mUnk_48; /* 4C */ UnkStruct_PlayerGet_50 *mUnk_4C; /* 50 */ UnkStruct_PlayerGet_50 *mUnk_50; /* 54 */ - /* 00 */ virtual void vfunc_00(); - /* 04 */ virtual ~UnkStruct_ov000_0208f820(); + // data_ov000_020b2c7c + /* 00 */ virtual unk32 vfunc_00(); + /* 04 */ virtual ~LinkStateBase(); /* 0C */ virtual void vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) = 0; /* 10 */ virtual void vfunc_10(unk32 param1, unk32 param2) = 0; /* 14 */ virtual void vfunc_14(); @@ -130,7 +129,7 @@ class UnkStruct_ov000_0208f820 { /* 1C */ virtual bool vfunc_1C(VecFx32 *param1); /* 20 */ - UnkStruct_ov000_0208f820(PlayerLinkActor_A0_84 *param1); + LinkStateBase(PlayerLinkActor_A0_84 *param1); bool func_ov000_020914b0(unk32 param1, VecFx32 *param2, unk32 param3); bool func_ov000_02091e68(unk32 param1); diff --git a/include/Unknown/UnkStruct_ov000_02090850.hpp b/include/Player/LinkStateDamage.hpp similarity index 65% rename from include/Unknown/UnkStruct_ov000_02090850.hpp rename to include/Player/LinkStateDamage.hpp index d7849fcad..ce0321a94 100644 --- a/include/Unknown/UnkStruct_ov000_02090850.hpp +++ b/include/Player/LinkStateDamage.hpp @@ -1,15 +1,15 @@ #pragma once -#include "Unknown/UnkStruct_ov000_0208f820.hpp" +#include "Player/LinkStateBase.hpp" struct PlayerLinkActor_A0_84; struct PlayerLinkActor_70; -class UnkStruct_ov000_02090850_60 { +class LinkStateDamage_60 { public: /* 00 */ PAD(0x00, 0x24); /* 00 */ PlayerLinkActor *mpLink; - /* 04 */ UnkStruct_ov000_0208f820_2c *mUnk_04; + /* 04 */ LinkStateBase_2C *mUnk_04; /* 08 */ PlayerLinkActor_70 *mUnk_08; /* 08 */ PlayerLinkActor *mpLink2; /* 0C */ VecFx32 *mUnk_10; @@ -21,30 +21,30 @@ class UnkStruct_ov000_02090850_60 { /* 20 */ unk32 mUnk_20; /* 24 */ - UnkStruct_ov000_02090850_60(PlayerLinkActor *pLink, UnkStruct_ov000_0208f820_2c *param2); + LinkStateDamage_60(PlayerLinkActor *pLink, LinkStateBase_2C *param2); }; -class UnkStruct_ov000_02090850_84_10 : public UnkSystem7 { +class LinkStateDamage_84_10 : public UnkSystem7 { public: /* 00 (base) */ /* 04 */ unk32 mUnk_04; /* 08 */ unk32 mUnk_08; /* 0C */ - UnkStruct_ov000_02090850_84_10(); - ~UnkStruct_ov000_02090850_84_10(); + LinkStateDamage_84_10(); + ~LinkStateDamage_84_10(); }; -class UnkStruct_ov000_02090850_84 { +class LinkStateDamage_84 { public: /* 00 */ PlayerLinkActor *mpLink; /* 04 */ UnkStruct_PlayerGet_50 *mUnk_04; /* 08 */ UnkStruct_PlayerGet_50 *mUnk_08; /* 0C */ unk32 mUnk_0C; - /* 10 */ UnkStruct_ov000_02090850_84_10 mUnk_10[2]; + /* 10 */ LinkStateDamage_84_10 mUnk_10[2]; /* 28 */ - UnkStruct_ov000_02090850_84(PlayerLinkActor *pLink, UnkStruct_PlayerGet_50 *param2, UnkStruct_PlayerGet_50 *param3); + LinkStateDamage_84(PlayerLinkActor *pLink, UnkStruct_PlayerGet_50 *param2, UnkStruct_PlayerGet_50 *param3); // overlay 31 void func_ov031_020dac20(); @@ -53,18 +53,18 @@ class UnkStruct_ov000_02090850_84 { void func_ov031_020dacdc(bool param1); }; -struct UnkStruct_ov000_02090850_AC_14 { +struct LinkStateDamage_AC_14 { /* 00 */ PlayerLinkActor *mpLink; - /* 04 */ UnkStruct_ov000_0208f820_2c *mUnk_04; + /* 04 */ LinkStateBase_2C *mUnk_04; /* 08 */ PlayerActorBase_70 *mUnk_08; /* 0C */ }; -class UnkStruct_ov000_02090850_AC : public UnkStruct_PlayerGet_74_base { +class LinkStateDamage_AC : public UnkStruct_PlayerGet_74_base { public: /* 00 (base) */ /* 14 */ PlayerLinkActor *mpLink; - /* 18 */ UnkStruct_ov000_0208f820_2c *mUnk_18; + /* 18 */ LinkStateBase_2C *mUnk_18; /* 1C */ PlayerActorBase_70 *mUnk_1C; /* 20 */ PlayerLinkActor *mpLink2; /* 24 */ u32 mUnk_24; @@ -78,7 +78,7 @@ class UnkStruct_ov000_02090850_AC : public UnkStruct_PlayerGet_74_base { /* D4 */ unk32 mUnk_D4; /* D8 */ - UnkStruct_ov000_02090850_AC(PlayerLinkActor *pLink, UnkStruct_ov000_0208f820_2c *param2); + LinkStateDamage_AC(PlayerLinkActor *pLink, LinkStateBase_2C *param2); // data_ov000_020b2b10 /* 00 */ virtual void vfunc_00(unk32 param1, unk32 param2) override; @@ -92,10 +92,10 @@ class UnkStruct_ov000_02090850_AC : public UnkStruct_PlayerGet_74_base { void func_ov031_020db028(); }; -class UnkStruct_ov000_02090850_184 { +class LinkStateDamage_184 { public: /* 00 */ PlayerLinkActor *mUnk_00; - /* 04 */ UnkStruct_ov000_0208f820_2c *mUnk_04; + /* 04 */ LinkStateBase_2C *mUnk_04; /* 08 */ PlayerLinkActor *mUnk_08; /* 0C */ VecFx32 *mUnk_0C; /* 10 */ unk32 mUnk_10; @@ -105,11 +105,11 @@ class UnkStruct_ov000_02090850_184 { /* 18 */ unk32 mUnk_18; /* 20 */ - UnkStruct_ov000_02090850_184(PlayerLinkActor *pLink, UnkStruct_ov000_0208f820_2c *param2); + LinkStateDamage_184(PlayerLinkActor *pLink, LinkStateBase_2C *param2); }; // related to the player receiving damages -class UnkStruct_ov000_02090850 : public UnkStruct_ov000_0208f820 { +class LinkStateDamage : public LinkStateBase { public: /* 000 (base) */ /* 054 */ unk8 mUnk_54; @@ -121,16 +121,17 @@ class UnkStruct_ov000_02090850 : public UnkStruct_ov000_0208f820 { /* 05A */ unk8 mUnk_5A; /* 05B */ unk8 mUnk_5B; /* 05C */ unk8 mUnk_5C; - /* 060 */ UnkStruct_ov000_02090850_60 mUnk_60; - /* 084 */ UnkStruct_ov000_02090850_84 mUnk_84; - /* 0AC */ UnkStruct_ov000_02090850_AC mUnk_AC; - /* 184 */ UnkStruct_ov000_02090850_184 mUnk_184; + /* 060 */ LinkStateDamage_60 mUnk_60; + /* 084 */ LinkStateDamage_84 mUnk_84; + /* 0AC */ LinkStateDamage_AC mUnk_AC; + /* 184 */ LinkStateDamage_184 mUnk_184; /* 1A4 */ PAD(0x1A4, 0x1E0); /* 1E0 */ - UnkStruct_ov000_02090850(PlayerLinkActor_A0_84 *param1); + LinkStateDamage(PlayerLinkActor_A0_84 *param1); - /* 04 */ virtual ~UnkStruct_ov000_02090850() override; + // data_ov000_020b2ca4 + /* 04 */ virtual ~LinkStateDamage() override; /* 0C */ virtual void vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; /* 10 */ virtual void vfunc_10(unk32 param1, unk32 param2) override; /* 14 */ virtual void vfunc_14() override; diff --git a/include/Player/PlayerActorBase.hpp b/include/Player/PlayerActorBase.hpp index 7a138e900..52bd645bb 100644 --- a/include/Player/PlayerActorBase.hpp +++ b/include/Player/PlayerActorBase.hpp @@ -611,7 +611,7 @@ class PlayerActorBase { void func_ov093_0216d160(); void func_ov093_0216d1cc(unk32 param1, const UnkStruct_ov001_020c40f4 *param2, bool param3, bool param4); void func_ov093_0216d5b8(bool param1); - void func_ov093_0216f71c(unk32 *param1); + void func_ov093_0216f71c(const VecFx32 *param1); void func_ov093_0216de30(unk32 param1, unk32 param2); void func_ov093_0216dec8(void *param1); void func_ov093_0216e1a4(void *param1); diff --git a/include/Player/PlayerGet.hpp b/include/Player/PlayerGet.hpp index 7e6d89ac0..af1a3e774 100644 --- a/include/Player/PlayerGet.hpp +++ b/include/Player/PlayerGet.hpp @@ -4,9 +4,9 @@ #include "types.h" #include "versions.h" +#include "Player/LinkStateBase.hpp" #include "Render/ModelRender.hpp" #include "Unknown/Common.hpp" -#include "Unknown/UnkStruct_ov000_0208f820.hpp" #include "math.hpp" enum GIModel_ { @@ -103,11 +103,11 @@ class UnkStruct_ov110_021861ec { class UnkStruct_PlayerGet_74 : public UnkStruct_PlayerGet_74_base { public: /* 00 (base) */ - /* 14 */ UnkStruct_ov000_0208f820 *mUnk_14; + /* 14 */ LinkStateBase *mUnk_14; /* 00 */ virtual void vfunc_00(unk32 param1, unk32 param2) override; - UnkStruct_PlayerGet_74(UnkStruct_ov000_0208f820 *param1) { + UnkStruct_PlayerGet_74(LinkStateBase *param1) { this->mUnk_14 = param1; } }; @@ -117,10 +117,10 @@ class UnkStruct_PlayerGet_fc { /* 00 */ UnkStruct_PlayerGet_ec *mUnk_00; }; -class PlayerGet : public UnkStruct_ov000_0208f820 { +class PlayerGet : public LinkStateBase { public: /* 000 (base) */ - /* 054 */ UnkStruct_ov000_0208f820_04 mUnk_54; + /* 054 */ LinkStateBase_04 mUnk_54; /* 064 */ UnkStruct_PlayerGet_64_2 mUnk_64; /* 068 */ unk32 mUnk_68; /* 06C */ unk32 mUnk_6C; // scale diff --git a/include/Player/PlayerLink.hpp b/include/Player/PlayerLink.hpp index 1ea9fef19..63fdc0148 100644 --- a/include/Player/PlayerLink.hpp +++ b/include/Player/PlayerLink.hpp @@ -10,7 +10,7 @@ class PlayerActorBase; class UnkStruct_027e0ce0_40_150; class PlayerLinkActor_A0_38; class ItemManager; -class UnkStruct_ov000_0208f820; +class LinkStateBase; union UnkStruct_027e0478; class PlayerLinkActor_A0_04 { @@ -32,7 +32,12 @@ class PlayerLinkActor_A0_10 { void func_ov031_020e076c(); }; -class PlayerLinkActor_A0_14 { +class PlayerLinkActor_A0_14_Base { +public: + ~PlayerLinkActor_A0_14_Base(); +}; + +class PlayerLinkActor_A0_14 : public PlayerLinkActor_A0_14_Base { public: /* 00 (vtable) */ /* 04 */ PlayerLinkActor_A0_14_04 mUnk_04; @@ -48,6 +53,7 @@ class PlayerLinkActor_A0_14 { // overlay 31 void func_ov031_020dd124(); + void func_ov031_020dd1a4(bool param1, VecFx32 *param2, UnkAngleStruct param3); }; class PlayerLinkActor_A0_18 { @@ -213,7 +219,7 @@ class PlayerLinkActor_A0 { /* 79 */ PAD(0x79, 0x7D); /* 7D */ bool mUnk_7D; /* 7E */ bool mUnk_7E; - /* 80 */ UnkStruct_ov000_0208f820 *mUnk_80; // see `UnkStruct_ov000_020b2cec` + /* 80 */ LinkStateBase *mUnk_80; // see `UnkStruct_ov000_020b2cec` /* 84 */ PlayerLinkActor_A0_84 mUnk_84; /* 94 */ @@ -252,37 +258,37 @@ class PlayerLinkActor_A0 { void func_ov000_02093fe8(); // data_ov000_020b2cec - void func_ov000_02094014(void); - void func_ov000_02094034(void); - void func_ov000_02094054(void); - void func_ov000_02094084(void); - void func_ov000_020940a4(void); - void func_ov000_020940c4(void); - void func_ov000_020940e4(void); - void func_ov000_02094104(void); - void func_ov000_02094124(void); - void func_ov000_02094154(void); - void func_ov000_02094174(void); - void func_ov000_02094194(void); - void func_ov000_020941b4(void); - void func_ov000_020941d4(void); - void func_ov000_020941f4(void); - void func_ov000_02094214(void); - void func_ov000_02094234(void); - void func_ov000_02094254(void); - void func_ov000_02094274(void); - void func_ov000_02094294(void); - void func_ov000_020942b4(void); - void func_ov000_020942e4(void); - void func_ov000_02094304(void); - void func_ov000_02094324(void); - void func_ov000_02094344(void); - void func_ov000_02094364(void); - void func_ov000_02094384(void); - void func_ov000_020943a4(void); - void func_ov000_020943c4(void); - void func_ov000_020943e4(void); - void func_ov000_02094404(void); + void func_ov000_02094014(void); // LinkStateType_30 + void func_ov000_02094034(void); // LinkStateType_ItemPanFlute + void func_ov000_02094054(void); // LinkStateType_ItemBomb + void func_ov000_02094084(void); // LinkStateType_ItemSandrod + void func_ov000_020940a4(void); // LinkStateType_ItemBow + void func_ov000_020940c4(void); // LinkStateType_ItemWhip + void func_ov000_020940e4(void); // LinkStateType_ItemBoomerang + void func_ov000_02094104(void); // LinkStateType_ItemTornado + void func_ov000_02094124(void); // LinkStateType_22 + void func_ov000_02094154(void); // LinkStateType_21 + void func_ov000_02094174(void); // LinkStateType_20 + void func_ov000_02094194(void); // LinkStateType_19 + void func_ov000_020941b4(void); // LinkStateType_Stamp + void func_ov000_020941d4(void); // LinkStateType_MapDraw + void func_ov000_020941f4(void); // LinkStateType_16 + void func_ov000_02094214(void); // LinkStateType_15 + void func_ov000_02094234(void); // LinkStateType_14 + void func_ov000_02094254(void); // LinkStateType_13 + void func_ov000_02094274(void); // LinkStateType_12 + void func_ov000_02094294(void); // LinkStateType_PlayerGet + void func_ov000_020942b4(void); // LinkStateType_10 + void func_ov000_020942e4(void); // LinkStateType_9 + void func_ov000_02094304(void); // LinkStateType_8 + void func_ov000_02094324(void); // LinkStateType_7 + void func_ov000_02094344(void); // LinkStateType_6 + void func_ov000_02094364(void); // LinkStateType_5 + void func_ov000_02094384(void); // LinkStateType_ActorCarry + void func_ov000_020943a4(void); // LinkStateType_3 + void func_ov000_020943c4(void); // LinkStateType_Roll + void func_ov000_020943e4(void); // LinkStateType_Stun + void func_ov000_02094404(void); // LinkStateType_Default // overlay 1 void func_ov001_020bd2e0(); @@ -404,8 +410,9 @@ class PlayerLinkActor : public PlayerActorBase { void func_ov021_020ebda0(unk32 param1); // overlay 31 + void func_ov031_020dccbc(); void func_ov031_020dccf0(); - void func_ov031_020dccf0(unk32 param1); + void func_ov031_020dcd20(); // overlay 34 void func_ov034_021223f0(bool param1); @@ -415,5 +422,5 @@ class PlayerLinkActor : public PlayerActorBase { void func_ov058_021529c4(); // overlay 93 - void func_ov093_0216ce24(unk32 *param1); + void func_ov093_0216ce24(const VecFx32 *param1); }; diff --git a/include/Player/PlayerSceneChange.hpp b/include/Player/PlayerSceneChange.hpp index 6b07fedcd..3a433f5c6 100644 --- a/include/Player/PlayerSceneChange.hpp +++ b/include/Player/PlayerSceneChange.hpp @@ -4,14 +4,14 @@ #include "types.h" #include "versions.h" +#include "Player/LinkStateBase.hpp" #include "RefStruct.hpp" #include "Unknown/UnkStruct_027e09a4.hpp" -#include "Unknown/UnkStruct_ov000_0208f820.hpp" #include "math.hpp" class PlayerActorBase_70; -class PlayerSceneChange : public UnkStruct_ov000_0208f820 { +class PlayerSceneChange : public LinkStateBase { public: /* 00 (base) */ /* 54 */ EntranceInfo mUnk_54; @@ -41,7 +41,7 @@ class PlayerSceneChange : public UnkStruct_ov000_0208f820 { /* 1C */ virtual bool vfunc_1C(VecFx32 *param1) override; }; -class PlayerSceneChange2 : public UnkStruct_ov000_0208f820 { +class PlayerSceneChange2 : public LinkStateBase { public: /* 00 (base) */ /* 54 */ VecFx32 mUnk_54; diff --git a/include/Player/PlayerZelda.hpp b/include/Player/PlayerZelda.hpp index dff038158..e8827ae9f 100644 --- a/include/Player/PlayerZelda.hpp +++ b/include/Player/PlayerZelda.hpp @@ -6,19 +6,37 @@ class UnkStruct_027e0ce0_40; class UnkStruct_027e0ce0_40_150; +// related to MapObjectUnkRPFL (warping floor in ToS) +class PlayerZeldaActor_CC { +public: + /* 00 */ bool mUnk_00; // seems to trigger the warp when set to true + /* 04 */ VecFx32 mPosLink; + /* 10 */ VecFx32 mPosZelda; + /* 1C */ + + PlayerZeldaActor_CC(); + + // overlay 31 + void func_ov031_020dcd70(const VecFx32 *pPosLink, const VecFx32 *pPosZelda); +}; + +class PlayerZeldaActor_E8 { +public: + /* 00 */ unk32 pad; + /* 04 */ + + PlayerZeldaActor_E8(); +}; + class PlayerZeldaActor : public PlayerActorBase { public: /* 000 (base) */ /* 094 */ unk32 mUnk_94; /* 098 */ PlayerActorBase *mpPlayer; /* 09C */ PAD(0x9C, 0xCC); - /* 0CC */ bool mUnk_0CC; - /* 0CD */ PAD(0xCD, 0xD0); - /* 0D0 */ unk32 mUnk_0D0; - /* 0D4 */ unk32 mUnk_0D4; - /* 0D8 */ unk32 mUnk_0D8; - /* 0DC */ unk32 mUnk_0DC; - /* 0E0 */ PAD(0xE0, 0x154); + /* 0CC */ PlayerZeldaActor_CC mUnk_CC; + /* 0E8 */ PlayerZeldaActor_E8 mUnk_E8; + /* 0EC */ PAD(0xEC, 0x154); /* 154 */ PlayerZeldaActor(void *param1, UnkStruct_027e0ce0_40 *param2, UnkStruct_027e0ce0_40_150 *param3, ItemFlag *pEquippedItem); diff --git a/include/Render/ModelRender.hpp b/include/Render/ModelRender.hpp index 6e117e297..d06a6e22d 100644 --- a/include/Render/ModelRender.hpp +++ b/include/Render/ModelRender.hpp @@ -301,7 +301,7 @@ class PlayerLinkActor_A0_14_04 : public ModelRenderBase { PlayerLinkActor_A0_14_04(G3d_Model *pModel); // data_ov000_020b1b2c - /* 00 */ virtual ~PlayerLinkActor_A0_14_04() override; //! TODO: implicit? + /* 00 */ WEAK virtual ~PlayerLinkActor_A0_14_04() override {} /* 08 */ virtual void vfunc_08(G3d_Model *pModel) override; /* 0C */ virtual void vfunc_0C() override; /* 10 */ virtual void vfunc_10(VecFx32 *param1, MtxFx33 *param2, VecFx32 *param3) override; diff --git a/include/Unknown/UnkStruct_027e0208.hpp b/include/Unknown/UnkStruct_027e0208.hpp index f7cc3eb0b..174b983c9 100644 --- a/include/Unknown/UnkStruct_027e0208.hpp +++ b/include/Unknown/UnkStruct_027e0208.hpp @@ -7,7 +7,9 @@ class UnkStruct_027e0208 { public: /* 000 */ unk32 mUnk_000; - /* 004 */ PAD(0x04, 0x94); + /* 004 */ PAD(0x04, 0x4C); + /* 04C */ unk32 mUnk_04C; + /* 050 */ PAD(0x50, 0x94); /* 094 */ unk32 mUnk_094; /* 098 */ PAD(0x98, 0xE0); /* 0E0 */ unk32 mUnk_0E0; diff --git a/include/Unknown/UnkStruct_027e09bc.hpp b/include/Unknown/UnkStruct_027e09bc.hpp index 8cfa01aed..ed34f0a58 100644 --- a/include/Unknown/UnkStruct_027e09bc.hpp +++ b/include/Unknown/UnkStruct_027e09bc.hpp @@ -23,7 +23,7 @@ struct UnkStruct_027e09bc_0C_268 { /* 00 */ u32 unk_00; /* 04 */ u16 unk_04; /* 06 */ bool unk_06; - /* 07 */ u8 unk_07; + /* 07 */ bool unk_07; /* 08 */ VecFx32 unk_08; /* 14 */ }; diff --git a/include/Unknown/UnkStruct_027e0ce0.hpp b/include/Unknown/UnkStruct_027e0ce0.hpp index e7a387c24..53a149f54 100644 --- a/include/Unknown/UnkStruct_027e0ce0.hpp +++ b/include/Unknown/UnkStruct_027e0ce0.hpp @@ -5,6 +5,7 @@ #include "Unknown/UnkStruct_027e0d00.hpp" #include "flags.h" #include "global.h" +#include "math.hpp" #include "nitro/fx.h" #include "types.h" @@ -547,7 +548,10 @@ class UnkStruct_027e0ce0_40_Base_78 { ~UnkStruct_027e0ce0_40_Base_78(); // overlay 31 - u8 func_ov031_020dcfb4(void *param1); + bool func_ov031_020dcfb4(VecFx32 *param1); + void func_ov031_020dcd9c(const VecFx32 *param1, VecFx32 *param2); + + static void func_ov031_020dcea4(UnkAngleStruct *pAngle, UnkStruct_027e0ce0_40_Base_78 *thisx, UnkAngleStruct angle); }; class UnkStruct_027e0ce0_40_Base_7C_04_Base_64 { @@ -967,6 +971,7 @@ class UnkStruct_027e0ce0 : public AutoInstance, public UnkSt // itcm VecFx32 *func_01fff148(PlayerType playerType); + VecFx32 *func_01fff168(PlayerType playerType); bool func_01fff1a4(); bool func_01fff1e0(); diff --git a/include/Unknown/UnkStruct_027e0d8c.hpp b/include/Unknown/UnkStruct_027e0d8c.hpp index 3c49ed7b9..b9f87dc79 100644 --- a/include/Unknown/UnkStruct_027e0d8c.hpp +++ b/include/Unknown/UnkStruct_027e0d8c.hpp @@ -4,9 +4,15 @@ #include "global.h" #include "types.h" +class PlayerActorBase; + class UnkStruct_027e0d8c { public: - /* 00 */ unk32 mUnk_00; + /* 00 */ PlayerActorBase *mpZelda; + /* 04 */ void *mUnk_04; // pointer to `PlayerZeldaActor::mUnk_0BC`? + /* 08 */ void *mUnk_08; // pointer to `PlayerZeldaActor::mUnk_0B8` + /* 0C */ unk32 mUnk_0C; // pointer? + /* 10 */ UnkStruct_027e0d8c(); ~UnkStruct_027e0d8c(); diff --git a/include/Unknown/UnkStruct_ov000_020b2cec.hpp b/include/Unknown/UnkStruct_ov000_020b2cec.hpp index 9cc2d46d8..939e12894 100644 --- a/include/Unknown/UnkStruct_ov000_020b2cec.hpp +++ b/include/Unknown/UnkStruct_ov000_020b2cec.hpp @@ -1,14 +1,197 @@ #pragma once +#include "Player/PlayerLink.hpp" #include "System/OverlayManager.hpp" #include "types.h" class PlayerLinkActor_A0; +typedef enum LinkStateType_ { + /* 00 */ LinkStateType_Default = 0x00, // idle/default state? (020b2f6c) + /* 01 */ LinkStateType_Stun = 0x01, // related to being stunned? (020b2f94) + /* 02 */ LinkStateType_Roll = 0x02, // related to rolls? (020b2fbc) + /* 03 */ LinkStateType_3 = 0x03, // related to battle mode (02107fc4) + /* 04 */ LinkStateType_ActorCarry = 0x04, // related to the player grabbing/throwing an actor? (020b2ccc) + /* 05 */ LinkStateType_Damage = 0x05, // related to the player receiving/shielding damages (020b2ca4) + /* 06 */ LinkStateType_Hit = 0x06, // related to the player dealing damages? (02112bb4) + /* 07 */ LinkStateType_7 = 0x07, // related to the Snapper grabbing Link with its whip (02158e58) + /* 08 */ LinkStateType_Grabbed = 0x08, // related to the player being grabbed, excluding the Snapper (02112b8c) + /* 09 */ LinkStateType_9 = 0x09, // PlayerPhantom (02180e14), jumping off of Zelda? + /* 10 */ LinkStateType_10 = 0x0A, // related to calling zelda (02178824) + /* 11 */ LinkStateType_PlayerGet = 0x0B, // PlayerGet (02186204) + /* 12 */ LinkStateType_12 = 0x0C, // PlayerSceneChange (02186508) + /* 13 */ LinkStateType_13 = 0x0D, // PlayerSceneChange2 (02186530) + /* 14 */ LinkStateType_14 = 0x0E, // PlayerDemo 1 (02185608) + /* 15 */ LinkStateType_15 = 0x0F, // PlayerDown 1 (02185e58), game over (and revive) + /* 16 */ LinkStateType_16 = 0x10, // PlayerDown 2 (02185e80), drinking a potion? + /* 17 */ LinkStateType_MapDraw = 0x11, // PlayerPanFlute (02185f5c), minimap + /* 18 */ LinkStateType_Stamp = 0x12, // PlayerPanFlute (02185fec), stamps + /* 19 */ LinkStateType_19 = 0x13, // PlayerDemo 4 (02185680), talking to NPCs? + /* 20 */ LinkStateType_20 = 0x14, // PlayerDemo 3 (02185658), talking to non NPCs? + /* 21 */ LinkStateType_21 = 0x15, // related to push blocks (02137a04) + /* 22 */ LinkStateType_22 = 0x16, // PlayerDemo 2 (02185630) + /* 23 */ LinkStateType_ItemTornado = 0x17, // PlayerTornado (021861a4) + /* 24 */ LinkStateType_ItemBoomerang = 0x18, // PlayerBoomerang (02185148) + /* 25 */ LinkStateType_ItemWhip = 0x19, // PlayerWhip (0218a268) + /* 26 */ LinkStateType_ItemBow = 0x1A, // PlayerBow (02185b68) + /* 27 */ LinkStateType_ItemSandrod = 0x1B, // PlayerSandrod (0218667c) + /* 28 */ LinkStateType_ItemBomb = 0x1C, // PlayerBomb (02184d88) + /* 29 */ LinkStateType_ItemPanFlute = 0x1D, // PlayerPanFlute (02185f84), pan flute + /* 30 */ LinkStateType_30 = 0x1E, // PlayerPanFlute (02185fac), song of recovery + /* 31 */ LinkStateType_Max +} LinkStateType; + +typedef enum LinkState_ { + /* 0 */ LinkState_Idle = 0x00, + /* 1 */ LinkState_Walk = 0x01, + /* 2 */ LinkState_Jump = 0x02, + /* 3 */ LinkState_Fall = 0x03, + /* 4 */ LinkState_ShortStun = 0x04, + /* 5 */ LinkState_LongStun = 0x05, + /* 6 */ LinkState_DoRoll = 0x06, + /* 7 */ LinkState_7 = 0x07, + /* 8 */ LinkState_ActorCarryInit = 0x08, + /* 9 */ LinkState_9 = 0x09, + /* 10 */ LinkState_ActorLift = 0x0A, + /* 11 */ LinkState_ActorThrow = 0x0B, + /* 12 */ LinkState_12 = 0x0C, + /* 13 */ LinkState_ActorDrop = 0x0D, + /* 14 */ LinkState_14 = 0x0E, + /* 15 */ LinkState_15 = 0x0F, + /* 16 */ LinkState_16 = 0x10, + /* 17 */ LinkState_17 = 0x11, + /* 18 */ LinkState_18 = 0x12, + /* 19 */ LinkState_19 = 0x13, + /* 20 */ LinkState_20 = 0x14, + /* 21 */ LinkState_21 = 0x15, + /* 22 */ LinkState_22 = 0x16, + /* 23 */ LinkState_23 = 0x17, + /* 24 */ LinkState_24 = 0x18, + /* 25 */ LinkState_25 = 0x19, + /* 26 */ LinkState_26 = 0x1A, + /* 27 */ LinkState_27 = 0x1B, + /* 28 */ LinkState_28 = 0x1C, + /* 29 */ LinkState_29 = 0x1D, + /* 30 */ LinkState_30 = 0x1E, + /* 31 */ LinkState_31 = 0x1F, + /* 32 */ LinkState_32 = 0x20, + /* 33 */ LinkState_33 = 0x21, + /* 34 */ LinkState_34 = 0x22, + /* 35 */ LinkState_35 = 0x23, + /* 36 */ LinkState_36 = 0x24, + /* 37 */ LinkState_37 = 0x25, + /* 38 */ LinkState_38 = 0x26, + /* 39 */ LinkState_39 = 0x27, + /* 40 */ LinkState_40 = 0x28, + /* 41 */ LinkState_41 = 0x29, + /* 42 */ LinkState_42 = 0x2A, + /* 43 */ LinkState_43 = 0x2B, + /* 44 */ LinkState_44 = 0x2C, + /* 45 */ LinkState_45 = 0x2D, + /* 46 */ LinkState_46 = 0x2E, + /* 47 */ LinkState_47 = 0x2F, + /* 48 */ LinkState_48 = 0x30, + /* 49 */ LinkState_49 = 0x31, + /* 50 */ LinkState_50 = 0x32, + /* 51 */ LinkState_51 = 0x33, + /* 52 */ LinkState_52 = 0x34, + /* 53 */ LinkState_53 = 0x35, + /* 54 */ LinkState_54 = 0x36, + /* 55 */ LinkState_55 = 0x37, + /* 56 */ LinkState_56 = 0x38, + /* 57 */ LinkState_PlayerGetInit = 0x39, + /* 58 */ LinkState_PlayerGetAnim = 0x3A, + /* 59 */ LinkState_PlayerGetShowItem = 0x3B, + /* 60 */ LinkState_60 = 0x3C, + /* 61 */ LinkState_61 = 0x3D, + /* 62 */ LinkState_62 = 0x3E, + /* 63 */ LinkState_63 = 0x3F, + /* 64 */ LinkState_64 = 0x40, + /* 65 */ LinkState_65 = 0x41, + /* 66 */ LinkState_66 = 0x42, + /* 67 */ LinkState_67 = 0x43, + /* 68 */ LinkState_68 = 0x44, + /* 69 */ LinkState_69 = 0x45, + /* 70 */ LinkState_70 = 0x46, + /* 71 */ LinkState_71 = 0x47, + /* 72 */ LinkState_72 = 0x48, + /* 73 */ LinkState_73 = 0x49, + /* 74 */ LinkState_74 = 0x4A, + /* 75 */ LinkState_75 = 0x4B, + /* 76 */ LinkState_76 = 0x4C, + /* 77 */ LinkState_77 = 0x4D, + /* 78 */ LinkState_78 = 0x4E, + /* 79 */ LinkState_79 = 0x4F, + /* 80 */ LinkState_80 = 0x50, + /* 81 */ LinkState_81 = 0x51, + /* 82 */ LinkState_82 = 0x52, + /* 83 */ LinkState_MapDrawIdle = 0x53, + /* 84 */ LinkState_MapDrawPainting = 0x54, + /* 85 */ LinkState_StampIdle = 0x55, + /* 86 */ LinkState_StampApply = 0x56, + /* 87 */ LinkState_87 = 0x57, + /* 88 */ LinkState_88 = 0x58, + /* 89 */ LinkState_89 = 0x59, + /* 90 */ LinkState_90 = 0x5A, + /* 91 */ LinkState_91 = 0x5B, + /* 92 */ LinkState_92 = 0x5C, + /* 93 */ LinkState_93 = 0x5D, + /* 94 */ LinkState_94 = 0x5E, + /* 95 */ LinkState_95 = 0x5F, + /* 96 */ LinkState_96 = 0x60, + /* 97 */ LinkState_97 = 0x61, + /* 98 */ LinkState_ItemTornadoAim = 0x62, + /* 99 */ LinkState_ItemTornadoSpawn = 0x63, + /* 100 */ LinkState_100 = 0x64, + /* 101 */ LinkState_ItemBoomerangAim = 0x65, + /* 102 */ LinkState_ItemBoomerangThrow = 0x66, + /* 103 */ LinkState_103 = 0x67, + /* 104 */ LinkState_104 = 0x68, + /* 105 */ LinkState_105 = 0x69, + /* 106 */ LinkState_106 = 0x6A, + /* 107 */ LinkState_107 = 0x6B, + /* 108 */ LinkState_108 = 0x6C, + /* 109 */ LinkState_109 = 0x6D, + /* 110 */ LinkState_110 = 0x6E, + /* 111 */ LinkState_111 = 0x6F, + /* 112 */ LinkState_112 = 0x70, + /* 113 */ LinkState_113 = 0x71, + /* 114 */ LinkState_114 = 0x72, + /* 115 */ LinkState_115 = 0x73, + /* 116 */ LinkState_116 = 0x74, + /* 117 */ LinkState_117 = 0x75, + /* 118 */ LinkState_ItemBowAim = 0x76, + /* 119 */ LinkState_ItemBowShoot = 0x77, + /* 120 */ LinkState_ItemSandrodIdle = 0x78, + /* 121 */ LinkState_ItemSandrodAim = 0x79, + /* 122 */ LinkState_ItemSandrodStop = 0x7A, + /* 123 */ LinkState_ItemBombPullOut = 0x7B, + /* 124 */ LinkState_ItemPanFluteIdle = 0x7C, + /* 125 */ LinkState_ItemPanFluteHold = 0x7D, + /* 126 */ LinkState_ItemPanFlutePlay = 0x7E, + /* 127 */ LinkState_127 = 0x7F, + /* 128 */ LinkState_128 = 0x80, + /* 129 */ LinkState_129 = 0x81, + /* 130 */ LinkState_Max, +} LinkState; + +struct UnkStruct_ov000_020ad02c { + /* 00 */ LinkStateType stateType; + /* 04 */ s16 unk_04; + /* 06 */ s8 unk_06; + /* 07 */ u8 unk_07; + /* 08 */ u32 unk_08; + /* 0C */ u32 unk_0C; + /* 10 */ u32 unk_10; + /* 14 */ u32 unk_14; + /* 18 */ +}; + struct UnkStruct_ov000_020b2cec { /* 00 */ OverlayIndex ovlToLoad; /* 04 */ PTMF::PTMFCallback callback; /* 0C */ }; -extern UnkStruct_ov000_020b2cec data_ov000_020b2cec[]; +extern const UnkStruct_ov000_020ad02c data_ov000_020ad02c[LinkState_Max]; +extern UnkStruct_ov000_020b2cec data_ov000_020b2cec[LinkStateType_Max]; diff --git a/include/Unknown/UnkStruct_ov031_Items.hpp b/include/Unknown/UnkStruct_ov031_Items.hpp index 7e478bfc1..94db153de 100644 --- a/include/Unknown/UnkStruct_ov031_Items.hpp +++ b/include/Unknown/UnkStruct_ov031_Items.hpp @@ -126,7 +126,7 @@ class UnkStruct_ov031_Items_01_Derived1 : public UnkStruct_ov031_Items_01 { public: /* 00 (base) */ /* 2C */ PlayerType mPlayerType; - /* 30 */ unk16 mUnk_30; + /* 30 */ UnkAngleStruct mUnk_30; /* 34 */ UnkStruct_ov031_Items_01_Derived1(PlayerType playerType); diff --git a/libs/nitro/include/nitro/fx.h b/libs/nitro/include/nitro/fx.h index 5f005f32b..5f30a1394 100644 --- a/libs/nitro/include/nitro/fx.h +++ b/libs/nitro/include/nitro/fx.h @@ -155,13 +155,11 @@ inline fx32 FX_Mul32x64cInline(fx32 v32, fx64c v64c) { extern const fx16 FX_SinCosTable_[]; -// static fx16 FX_SinIdx(fx32 idx); -inline fx16 FX_SinIdx(fx32 n) { +static inline fx16 FX_SinIdx(fx32 n) { return FX_SinCosTable_[2 * ((n) >> 4)]; } -// static fx16 FX_CosIdx(fx32 idx); -inline fx16 FX_CosIdx(fx32 n) { +static inline fx16 FX_CosIdx(fx32 n) { return FX_SinCosTable_[2 * ((n) >> 4) + 1]; } diff --git a/libs/nns/include/nns/g3d/g3d.h b/libs/nns/include/nns/g3d/g3d.h index fe1857058..bd2ed29d7 100644 --- a/libs/nns/include/nns/g3d/g3d.h +++ b/libs/nns/include/nns/g3d/g3d.h @@ -65,6 +65,12 @@ typedef struct G3d_AnimTag { /* 14 */ u32 unknown; } G3d_AnimTag; // size = 0x18 +//! TODO: confirm if it really belongs to there +typedef struct G3d_UnkTag1 { + /* 00 */ s32 index; + /* 04 */ char name[16]; +} G3d_UnkTag1; // size = 0x14 + typedef struct G3d_Model_14_ { /* 00 */ u8 unk_14; /* 01 */ u8 scalingHandler; // Determines which of the G3d_gScaleHandlers to use for this model diff --git a/src/000_Second/Player/PlayerLinkActor_A0_000.cpp b/src/000_Second/Player/PlayerLinkActor_A0_000.cpp index 8ec50434b..3356c6b04 100644 --- a/src/000_Second/Player/PlayerLinkActor_A0_000.cpp +++ b/src/000_Second/Player/PlayerLinkActor_A0_000.cpp @@ -1,8 +1,8 @@ +#include "Player/LinkStateDamage.hpp" #include "Player/PlayerGet.hpp" #include "Player/PlayerLink.hpp" #include "Player/PlayerSceneChange.hpp" #include "Unknown/UnkStruct_027e0ce0.hpp" -#include "Unknown/UnkStruct_ov000_02090850.hpp" #include "Unknown/UnkStruct_ov000_020b2cec.hpp" extern PTMF::PTMFCallback data_ov000_020b2e60; @@ -37,82 +37,137 @@ extern PTMF::PTMFCallback data_ov000_020b2f40; extern PTMF::PTMFCallback data_ov000_020b2f48; extern PTMF::PTMFCallback data_ov000_020b2f50; -UnkStruct_ov000_020b2cec data_ov000_020b2cec[] = { - {OverlayIndex_None, data_ov000_020b2e60}, // PlayerLinkActor_A0::func_ov000_02094404 - {OverlayIndex_None, data_ov000_020b2e68}, // PlayerLinkActor_A0::func_ov000_020943e4 - {OverlayIndex_None, data_ov000_020b2e70}, // PlayerLinkActor_A0::func_ov000_020943c4 - {OverlayIndex_None, data_ov000_020b2e78}, // PlayerLinkActor_A0::func_ov000_020943a4 - {OverlayIndex_None, data_ov000_020b2e80}, // PlayerLinkActor_A0::func_ov000_02094384 - {OverlayIndex_None, data_ov000_020b2e88}, // PlayerLinkActor_A0::func_ov000_02094364, related to player damage - {OverlayIndex_None, data_ov000_020b2e90}, // PlayerLinkActor_A0::func_ov000_02094344 - {OverlayIndex_None, data_ov000_020b2e98}, // PlayerLinkActor_A0::func_ov000_02094324 - {OverlayIndex_None, data_ov000_020b2ea0}, // PlayerLinkActor_A0::func_ov000_02094304 - {OverlayIndex_None, data_ov000_020b2ea8}, // PlayerLinkActor_A0::func_ov000_020942e4 - {OverlayIndex_None, data_ov000_020b2eb0}, // PlayerLinkActor_A0::func_ov000_020942b4 - {OverlayIndex_PlayerGet, data_ov000_020b2eb8}, // PlayerLinkActor_A0::func_ov000_02094294 - {OverlayIndex_PlayerSceneChange, data_ov000_020b2ec0}, // PlayerLinkActor_A0::func_ov000_02094274 - {OverlayIndex_PlayerSceneChange, data_ov000_020b2ec8}, // PlayerLinkActor_A0::func_ov000_02094254 - {OverlayIndex_PlayerDemo, data_ov000_020b2ed0}, // PlayerLinkActor_A0::func_ov000_02094234 - {OverlayIndex_PlayerDown, data_ov000_020b2ed8}, // PlayerLinkActor_A0::func_ov000_02094214 - {OverlayIndex_PlayerDown, data_ov000_020b2ee0}, // PlayerLinkActor_A0::func_ov000_020941f4 - {OverlayIndex_PlayerPanFlute, data_ov000_020b2ee8}, // PlayerLinkActor_A0::func_ov000_020941d4 - {OverlayIndex_PlayerPanFlute, data_ov000_020b2ef0}, // PlayerLinkActor_A0::func_ov000_020941b4 - {OverlayIndex_PlayerDemo, data_ov000_020b2ef8}, // PlayerLinkActor_A0::func_ov000_02094194 - {OverlayIndex_PlayerDemo, data_ov000_020b2f00}, // PlayerLinkActor_A0::func_ov000_02094174 - {OverlayIndex_None, data_ov000_020b2f08}, // PlayerLinkActor_A0::func_ov000_02094154 - {OverlayIndex_PlayerDemo, data_ov000_020b2f10}, // PlayerLinkActor_A0::func_ov000_02094124 - {OverlayIndex_PlayerTornado, data_ov000_020b2f18}, // PlayerLinkActor_A0::func_ov000_02094104 - {OverlayIndex_PlayerBoomerang, data_ov000_020b2f20}, // PlayerLinkActor_A0::func_ov000_020940e4 - {OverlayIndex_PlayerWhip, data_ov000_020b2f28}, // PlayerLinkActor_A0::func_ov000_020940c4 - {OverlayIndex_PlayerBow, data_ov000_020b2f30}, // PlayerLinkActor_A0::func_ov000_020940a4 - {OverlayIndex_PlayerSandrock, data_ov000_020b2f38}, // PlayerLinkActor_A0::func_ov000_02094084 - {OverlayIndex_PlayerBomb, data_ov000_020b2f40}, // PlayerLinkActor_A0::func_ov000_02094054 - {OverlayIndex_PlayerPanFlute, data_ov000_020b2f48}, // PlayerLinkActor_A0::func_ov000_02094034 - {OverlayIndex_PlayerPanFlute, data_ov000_020b2f50}, // PlayerLinkActor_A0::func_ov000_02094014 +UnkStruct_ov000_020b2cec data_ov000_020b2cec[LinkStateType_Max] = { + {OverlayIndex_None, data_ov000_020b2e60}, // LinkStateType_Default + {OverlayIndex_None, data_ov000_020b2e68}, // LinkStateType_Stun + {OverlayIndex_None, data_ov000_020b2e70}, // LinkStateType_Roll + {OverlayIndex_None, data_ov000_020b2e78}, // LinkStateType_3 + {OverlayIndex_None, data_ov000_020b2e80}, // LinkStateType_ActorCarry + {OverlayIndex_None, data_ov000_020b2e88}, // LinkStateType_5 + {OverlayIndex_None, data_ov000_020b2e90}, // LinkStateType_6 + {OverlayIndex_None, data_ov000_020b2e98}, // LinkStateType_7 + {OverlayIndex_None, data_ov000_020b2ea0}, // LinkStateType_8 + {OverlayIndex_None, data_ov000_020b2ea8}, // LinkStateType_9 + {OverlayIndex_None, data_ov000_020b2eb0}, // LinkStateType_10 + {OverlayIndex_PlayerGet, data_ov000_020b2eb8}, // LinkStateType_PlayerGet + {OverlayIndex_PlayerSceneChange, data_ov000_020b2ec0}, // LinkStateType_12 + {OverlayIndex_PlayerSceneChange, data_ov000_020b2ec8}, // LinkStateType_13 + {OverlayIndex_PlayerDemo, data_ov000_020b2ed0}, // LinkStateType_14 + {OverlayIndex_PlayerDown, data_ov000_020b2ed8}, // LinkStateType_15 + {OverlayIndex_PlayerDown, data_ov000_020b2ee0}, // LinkStateType_16 + {OverlayIndex_PlayerPanFlute, data_ov000_020b2ee8}, // LinkStateType_MapDraw + {OverlayIndex_PlayerPanFlute, data_ov000_020b2ef0}, // LinkStateType_Stamp + {OverlayIndex_PlayerDemo, data_ov000_020b2ef8}, // LinkStateType_19 + {OverlayIndex_PlayerDemo, data_ov000_020b2f00}, // LinkStateType_20 + {OverlayIndex_None, data_ov000_020b2f08}, // LinkStateType_21 + {OverlayIndex_PlayerDemo, data_ov000_020b2f10}, // LinkStateType_22 + {OverlayIndex_PlayerTornado, data_ov000_020b2f18}, // LinkStateType_ItemTornado + {OverlayIndex_PlayerBoomerang, data_ov000_020b2f20}, // LinkStateType_ItemBoomerang + {OverlayIndex_PlayerWhip, data_ov000_020b2f28}, // LinkStateType_ItemWhip + {OverlayIndex_PlayerBow, data_ov000_020b2f30}, // LinkStateType_ItemBow + {OverlayIndex_PlayerSandrock, data_ov000_020b2f38}, // LinkStateType_ItemSandrod + {OverlayIndex_PlayerBomb, data_ov000_020b2f40}, // LinkStateType_ItemBomb + {OverlayIndex_PlayerPanFlute, data_ov000_020b2f48}, // LinkStateType_ItemPanFlute + {OverlayIndex_PlayerPanFlute, data_ov000_020b2f50}, // LinkStateType_30 }; +// LinkStateType_30 void PlayerLinkActor_A0::func_ov000_02094014() {} + +// LinkStateType_ItemPanFlute void PlayerLinkActor_A0::func_ov000_02094034() {} + +// LinkStateType_ItemBomb void PlayerLinkActor_A0::func_ov000_02094054() {} + +// LinkStateType_ItemSandrod void PlayerLinkActor_A0::func_ov000_02094084() {} + +// LinkStateType_ItemBow void PlayerLinkActor_A0::func_ov000_020940a4() {} + +// LinkStateType_ItemWhip void PlayerLinkActor_A0::func_ov000_020940c4() {} + +// LinkStateType_ItemBoomerang void PlayerLinkActor_A0::func_ov000_020940e4() {} + +// LinkStateType_ItemTornado void PlayerLinkActor_A0::func_ov000_02094104() {} + +// LinkStateType_22 void PlayerLinkActor_A0::func_ov000_02094124() {} + +// LinkStateType_21 void PlayerLinkActor_A0::func_ov000_02094154() {} + +// LinkStateType_20 void PlayerLinkActor_A0::func_ov000_02094174() {} + +// LinkStateType_19 void PlayerLinkActor_A0::func_ov000_02094194() {} + +// LinkStateType_Stamp void PlayerLinkActor_A0::func_ov000_020941b4() {} + +// LinkStateType_MapDraw void PlayerLinkActor_A0::func_ov000_020941d4() {} + +// LinkStateType_16 void PlayerLinkActor_A0::func_ov000_020941f4() {} + +// LinkStateType_15 void PlayerLinkActor_A0::func_ov000_02094214() {} + +// LinkStateType_14 void PlayerLinkActor_A0::func_ov000_02094234() {} +// LinkStateType_13 void PlayerLinkActor_A0::func_ov000_02094254() { new(this->mUnk_80) PlayerSceneChange2(&this->mUnk_84); } +// LinkStateType_12 void PlayerLinkActor_A0::func_ov000_02094274() { new(this->mUnk_80) PlayerSceneChange(&this->mUnk_84); } +// LinkStateType_PlayerGet void PlayerLinkActor_A0::func_ov000_02094294() { new(this->mUnk_80) PlayerGet(&this->mUnk_84); } +// LinkStateType_10 void PlayerLinkActor_A0::func_ov000_020942b4() {} + +// LinkStateType_9 void PlayerLinkActor_A0::func_ov000_020942e4() {} + +// LinkStateType_8 void PlayerLinkActor_A0::func_ov000_02094304() {} + +// LinkStateType_7 void PlayerLinkActor_A0::func_ov000_02094324() {} + +// LinkStateType_6 void PlayerLinkActor_A0::func_ov000_02094344() {} +// LinkStateType_5 void PlayerLinkActor_A0::func_ov000_02094364() { - new(this->mUnk_80) UnkStruct_ov000_02090850(&this->mUnk_84); + new(this->mUnk_80) LinkStateDamage(&this->mUnk_84); } +// LinkStateType_ActorCarry void PlayerLinkActor_A0::func_ov000_02094384() {} + +// LinkStateType_3 void PlayerLinkActor_A0::func_ov000_020943a4() {} + +// LinkStateType_Roll void PlayerLinkActor_A0::func_ov000_020943c4() {} + +// LinkStateType_Stun void PlayerLinkActor_A0::func_ov000_020943e4() {} + +// LinkStateType_Default void PlayerLinkActor_A0::func_ov000_02094404() {} diff --git a/src/000_Second/Player/data_ov000_020ad02c.cpp b/src/000_Second/Player/data_ov000_020ad02c.cpp new file mode 100644 index 000000000..d769755e1 --- /dev/null +++ b/src/000_Second/Player/data_ov000_020ad02c.cpp @@ -0,0 +1,1435 @@ +#include "Unknown/UnkStruct_ov000_020b2cec.hpp" + +const UnkStruct_ov000_020ad02c data_ov000_020ad02c[LinkState_Max] = + { + [LinkState_Idle] = + { + .stateType = LinkStateType_Default, + .unk_04 = 0x00, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000002, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x0007B0AC, + }, + [LinkState_Walk] = + { + .stateType = LinkStateType_Default, + .unk_04 = 0x01, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x0006B1AC, + }, + [LinkState_Jump] = + { + .stateType = LinkStateType_Default, + .unk_04 = 0x0E, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000D44, + }, + [LinkState_Fall] = + { + .stateType = LinkStateType_Default, + .unk_04 = 0x0F, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x0007BDAC, + }, + [LinkState_ShortStun] = + { + .stateType = LinkStateType_Stun, + .unk_04 = 0x30, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00010CC4, + }, + [LinkState_LongStun] = + { + .stateType = LinkStateType_Stun, + .unk_04 = 0x31, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00010CC4, + }, + [LinkState_DoRoll] = + { + .stateType = LinkStateType_Roll, + .unk_04 = 0x32, + .unk_06 = 0x01, + .unk_07 = 0x02, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CE0, + }, + [LinkState_7] = + { + .stateType = LinkStateType_3, + .unk_04 = 0x33, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00000CC0, + }, + [LinkState_ActorCarryInit] = + { + .stateType = LinkStateType_ActorCarry, + .unk_04 = 0x20, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00042CC6, + }, + [LinkState_9] = + { + .stateType = LinkStateType_ActorCarry, + .unk_04 = 0x21, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00042CC6, + }, + [LinkState_ActorLift] = + { + .stateType = LinkStateType_ActorCarry, + .unk_04 = 0x22, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00042CC6, + }, + [LinkState_ActorThrow] = + { + .stateType = LinkStateType_ActorCarry, + .unk_04 = 0x24, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CC6, + }, + [LinkState_12] = + { + .stateType = LinkStateType_ActorCarry, + .unk_04 = 0x24, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC6, + }, + [LinkState_ActorDrop] = + { + .stateType = LinkStateType_ActorCarry, + .unk_04 = 0x25, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CC6, + }, + [LinkState_14] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x10, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000C45, + }, + [LinkState_15] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x11, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000C45, + }, + [LinkState_16] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x12, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000C45, + }, + [LinkState_17] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x13, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000C45, + }, + [LinkState_18] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x14, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00000C41, + }, + [LinkState_19] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x15, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00000C41, + }, + [LinkState_20] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x18, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00000C41, + }, + [LinkState_21] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x19, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00000C41, + }, + [LinkState_22] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00000C41, + }, + [LinkState_23] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x14, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000C41, + }, + [LinkState_24] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x15, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000C41, + }, + [LinkState_25] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x10, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000845, + }, + [LinkState_26] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x65, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00000C41, + }, + [LinkState_27] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00010841, + }, + [LinkState_28] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x1E, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CEC, + }, + [LinkState_29] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x34, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00000CE4, + }, + [LinkState_30] = + { + .stateType = LinkStateType_Damage, + .unk_04 = 0x31, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00000C41, + }, + [LinkState_31] = + { + .stateType = LinkStateType_Hit, + .unk_04 = 0x03, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CE4, + }, + [LinkState_32] = + { + .stateType = LinkStateType_Hit, + .unk_04 = 0x04, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CE4, + }, + [LinkState_33] = + { + .stateType = LinkStateType_Hit, + .unk_04 = 0x05, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CE4, + }, + [LinkState_34] = + { + .stateType = LinkStateType_Hit, + .unk_04 = 0x06, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CE4, + }, + [LinkState_35] = + { + .stateType = LinkStateType_Hit, + .unk_04 = 0x07, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000C64, + }, + [LinkState_36] = + { + .stateType = LinkStateType_Hit, + .unk_04 = 0x0A, + .unk_06 = 0x00, + .unk_07 = 0x02, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CE4, + }, + [LinkState_37] = + { + .stateType = LinkStateType_Hit, + .unk_04 = 0x0B, + .unk_06 = 0x00, + .unk_07 = 0x02, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CE4, + }, + [LinkState_38] = + { + .stateType = LinkStateType_Hit, + .unk_04 = 0x0A, + .unk_06 = 0x00, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CE4, + }, + [LinkState_39] = + { + .stateType = LinkStateType_Hit, + .unk_04 = 0x0B, + .unk_06 = 0x00, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CE4, + }, + [LinkState_40] = + { + .stateType = LinkStateType_Hit, + .unk_04 = 0x0C, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CE4, + }, + [LinkState_41] = + { + .stateType = LinkStateType_Hit, + .unk_04 = 0x0D, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CE4, + }, + [LinkState_42] = + { + .stateType = LinkStateType_7, + .unk_04 = 0x1F, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000040, + }, + [LinkState_43] = + { + .stateType = LinkStateType_7, + .unk_04 = 0x1F, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000040, + }, + [LinkState_44] = + { + .stateType = LinkStateType_7, + .unk_04 = 0x14, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000040, + }, + [LinkState_45] = + { + .stateType = LinkStateType_7, + .unk_04 = 0x15, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000040, + }, + [LinkState_46] = + { + .stateType = LinkStateType_7, + .unk_04 = 0x14, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000C40, + }, + [LinkState_47] = + { + .stateType = LinkStateType_Grabbed, + .unk_04 = 0x62, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00010CC4, + }, + [LinkState_48] = + { + .stateType = LinkStateType_Grabbed, + .unk_04 = 0x00, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00000C41, + }, + [LinkState_49] = + { + .stateType = LinkStateType_Grabbed, + .unk_04 = 0x63, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00001C41, + }, + [LinkState_50] = + { + .stateType = LinkStateType_Grabbed, + .unk_04 = 0x63, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00000C41, + }, + [LinkState_51] = + { + .stateType = LinkStateType_Grabbed, + .unk_04 = 0x64, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC1, + }, + [LinkState_52] = + { + .stateType = LinkStateType_9, + .unk_04 = 0x00, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000C44, + }, + [LinkState_53] = + { + .stateType = LinkStateType_9, + .unk_04 = 0x0E, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000D44, + }, + [LinkState_54] = + { + .stateType = LinkStateType_9, + .unk_04 = 0x2F, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00042D44, + }, + [LinkState_55] = + { + .stateType = LinkStateType_9, + .unk_04 = 0x10, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000C44, + }, + [LinkState_56] = + { + .stateType = LinkStateType_10, + .unk_04 = 0x59, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CC6, + }, + [LinkState_PlayerGetInit] = + { + .stateType = LinkStateType_PlayerGet, + .unk_04 = 0x54, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000DC3, + }, + [LinkState_PlayerGetAnim] = + { + .stateType = LinkStateType_PlayerGet, + .unk_04 = 0x55, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC3, + }, + [LinkState_PlayerGetShowItem] = + { + .stateType = LinkStateType_PlayerGet, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC3, + }, + [LinkState_60] = + { + .stateType = LinkStateType_12, + .unk_04 = 0x01, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00004DC1, + }, + [LinkState_61] = + { + .stateType = LinkStateType_12, + .unk_04 = 0x00, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00004C41, + }, + [LinkState_62] = + { + .stateType = LinkStateType_12, + .unk_04 = 0x5D, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00004C41, + }, + [LinkState_63] = + { + .stateType = LinkStateType_12, + .unk_04 = 0x01, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00004DC1, + }, + [LinkState_64] = + { + .stateType = LinkStateType_13, + .unk_04 = 0x67, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000C43, + }, + [LinkState_65] = + { + .stateType = LinkStateType_13, + .unk_04 = 0x68, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000C43, + }, + [LinkState_66] = + { + .stateType = LinkStateType_13, + .unk_04 = 0x69, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000C43, + }, + [LinkState_67] = + { + .stateType = LinkStateType_13, + .unk_04 = 0x6A, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000C43, + }, + [LinkState_68] = + { + .stateType = LinkStateType_13, + .unk_04 = 0x6B, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00004C43, + }, + [LinkState_69] = + { + .stateType = LinkStateType_13, + .unk_04 = 0x00, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00004C43, + }, + [LinkState_70] = + { + .stateType = LinkStateType_14, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CC0, + }, + [LinkState_71] = + { + .stateType = LinkStateType_14, + .unk_04 = 0x01, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x000045C1, + }, + [LinkState_72] = + { + .stateType = LinkStateType_14, + .unk_04 = 0x01, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x000045C1, + }, + [LinkState_73] = + { + .stateType = LinkStateType_14, + .unk_04 = 0x56, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC1, + }, + [LinkState_74] = + { + .stateType = LinkStateType_14, + .unk_04 = 0x5A, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000C43, + }, + [LinkState_75] = + { + .stateType = LinkStateType_15, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00010CC1, + }, + [LinkState_76] = + { + .stateType = LinkStateType_15, + .unk_04 = 0x5F, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00010CC1, + }, + [LinkState_77] = + { + .stateType = LinkStateType_15, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00010CC1, + }, + [LinkState_78] = + { + .stateType = LinkStateType_15, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC1, + }, + [LinkState_79] = + { + .stateType = LinkStateType_15, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00010CC1, + }, + [LinkState_80] = + { + .stateType = LinkStateType_15, + .unk_04 = 0x60, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00010CC1, + }, + [LinkState_81] = + { + .stateType = LinkStateType_15, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00010CC1, + }, + [LinkState_82] = + { + .stateType = LinkStateType_16, + .unk_04 = 0x61, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC3, + }, + [LinkState_MapDrawIdle] = + { + .stateType = LinkStateType_MapDraw, + .unk_04 = 0x50, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00012CC3, + }, + [LinkState_MapDrawPainting] = + { + .stateType = LinkStateType_MapDraw, + .unk_04 = 0x51, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00012CC3, + }, + [LinkState_StampIdle] = + { + .stateType = LinkStateType_Stamp, + .unk_04 = 0x52, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC3, + }, + [LinkState_StampApply] = + { + .stateType = LinkStateType_Stamp, + .unk_04 = 0x53, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC3, + }, + [LinkState_87] = + { + .stateType = LinkStateType_19, + .unk_04 = 0x00, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000002, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x000020E1, + }, + [LinkState_88] = + { + .stateType = LinkStateType_20, + .unk_04 = 0x00, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000002, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00002CC1, + }, + [LinkState_89] = + { + .stateType = LinkStateType_21, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000002, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00043CE6, + }, + [LinkState_90] = + { + .stateType = LinkStateType_21, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00080CE2, + }, + [LinkState_91] = + { + .stateType = LinkStateType_21, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00080CE2, + }, + [LinkState_92] = + { + .stateType = LinkStateType_21, + .unk_04 = 0x26, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000002, + .unk_0C = 0x00000002, + .unk_10 = 0x00000002, + .unk_14 = 0x00043CE6, + }, + [LinkState_93] = + { + .stateType = LinkStateType_21, + .unk_04 = 0x27, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC3, + }, + [LinkState_94] = + { + .stateType = LinkStateType_21, + .unk_04 = 0x28, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CE2, + }, + [LinkState_95] = + { + .stateType = LinkStateType_22, + .unk_04 = 0x5B, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC3, + }, + [LinkState_96] = + { + .stateType = LinkStateType_22, + .unk_04 = 0x5C, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000001, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CE2, + }, + [LinkState_97] = + { + .stateType = LinkStateType_22, + .unk_04 = 0x5C, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000001, + .unk_10 = 0x00000001, + .unk_14 = 0x00000CC3, + }, + [LinkState_ItemTornadoAim] = + { + .stateType = LinkStateType_ItemTornado, + .unk_04 = 0x35, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000ED6, + }, + [LinkState_ItemTornadoSpawn] = + { + .stateType = LinkStateType_ItemTornado, + .unk_04 = 0x36, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_100] = + { + .stateType = LinkStateType_ItemTornado, + .unk_04 = 0x37, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_ItemBoomerangAim] = + { + .stateType = LinkStateType_ItemBoomerang, + .unk_04 = 0x38, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CF6, + }, + [LinkState_ItemBoomerangThrow] = + { + .stateType = LinkStateType_ItemBoomerang, + .unk_04 = 0x39, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_103] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x3A, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CF6, + }, + [LinkState_104] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x3B, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_105] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x3C, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_106] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x3D, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_107] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x3E, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_108] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_109] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x3F, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CF6, + }, + [LinkState_110] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x3F, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_111] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x3B, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_112] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x40, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000C52, + }, + [LinkState_113] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x41, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00100C52, + }, + [LinkState_114] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x41, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00100C52, + }, + [LinkState_115] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x43, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00100C52, + }, + [LinkState_116] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x43, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00100C52, + }, + [LinkState_117] = + { + .stateType = LinkStateType_ItemWhip, + .unk_04 = 0x0F, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00100C52, + }, + [LinkState_ItemBowAim] = + { + .stateType = LinkStateType_ItemBow, + .unk_04 = 0x44, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_ItemBowShoot] = + { + .stateType = LinkStateType_ItemBow, + .unk_04 = 0x45, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_ItemSandrodIdle] = + { + .stateType = LinkStateType_ItemSandrod, + .unk_04 = 0x46, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_ItemSandrodAim] = + { + .stateType = LinkStateType_ItemSandrod, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_ItemSandrodStop] = + { + .stateType = LinkStateType_ItemSandrod, + .unk_04 = 0x48, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_ItemBombPullOut] = + { + .stateType = LinkStateType_ItemBomb, + .unk_04 = 0x22, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CD6, + }, + [LinkState_ItemPanFluteIdle] = + { + .stateType = LinkStateType_ItemPanFlute, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x000004C3, + }, + [LinkState_ItemPanFluteHold] = + { + .stateType = LinkStateType_ItemPanFlute, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x000004C3, + }, + [LinkState_ItemPanFlutePlay] = + { + .stateType = LinkStateType_ItemPanFlute, + .unk_04 = 0xFFFE, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x000004C3, + }, + [LinkState_127] = + { + .stateType = LinkStateType_30, + .unk_04 = 0x4F, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC3, + }, + [LinkState_128] = + { + .stateType = LinkStateType_30, + .unk_04 = 0x00, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC3, + }, + [LinkState_129] = + { + .stateType = LinkStateType_30, + .unk_04 = 0x00, + .unk_06 = 0xFF, + .unk_07 = 0x00, + .unk_08 = 0x00000000, + .unk_0C = 0x00000000, + .unk_10 = 0x00000000, + .unk_14 = 0x00000CC3, + }, +}; diff --git a/src/017_CourseExec/UnkStruct_027e0ce0_40_017.cpp b/src/017_CourseExec/UnkStruct_027e0ce0_40_017.cpp index 82b765766..470e57d95 100644 --- a/src/017_CourseExec/UnkStruct_027e0ce0_40_017.cpp +++ b/src/017_CourseExec/UnkStruct_027e0ce0_40_017.cpp @@ -150,7 +150,7 @@ bool UnkStruct_027e0ce0_40::func_ov017_020bc95c(bool param1) { sp8.unk_00 = 0; sp8.unk_04 = 0; sp8.unk_06 = false; - sp8.unk_07 = 0; + sp8.unk_07 = false; sp8.unk_08.x = 0; sp8.unk_08.y = 0; sp8.unk_08.z = 0; diff --git a/src/031_Land/Actor/ActorItemTornado.cpp b/src/031_Land/Actor/ActorItemTornado.cpp index d177ad0cc..487d5d7fa 100644 --- a/src/031_Land/Actor/ActorItemTornado.cpp +++ b/src/031_Land/Actor/ActorItemTornado.cpp @@ -78,7 +78,7 @@ ActorItemTornado::ActorItemTornado() : mUnk_F4(data_027e0ce0->mUnk_1C->func_ov000_0208ee94(0x00, 0x01, data_ov031_02110a88, 0x00), this->mUnk_94.mpModel), mUnk_134(data_027e0ce0->mUnk_1C->func_ov000_0208ee94(0x00, 0x01, data_ov031_02110a88, 0x02), this->mUnk_94.mpModel), mUnk_174(this), - mUnk_17C((UnkStruct_ov000_0208f820 *) this), //! TODO: conflicting type + mUnk_17C((LinkStateBase *) this), //! TODO: conflicting type mUnk_1C0(0, 0, 0), mUnk_1CC(0x00), mUnk_1CE(false), diff --git a/src/031_Land/Actor/ActorUnkSWBM.cpp b/src/031_Land/Actor/ActorUnkSWBM.cpp index f77622997..78595828d 100644 --- a/src/031_Land/Actor/ActorUnkSWBM.cpp +++ b/src/031_Land/Actor/ActorUnkSWBM.cpp @@ -109,7 +109,7 @@ ActorUnkSWBM::ActorUnkSWBM() : mUnk_0E0(0xE), mUnk_108(0x0), mUnk_10A(0x0) { - MI_CpuFill32(0x0, this->mUnk_0E4, ARRAY_LEN(this->mUnk_0E4) * sizeof *this->mUnk_0E4); + MI_CpuFill32(0, this->mUnk_0E4, sizeof(this->mUnk_0E4)); this->mState = ActorUnkSWBMState_0; this->mTimer.Reset(); } diff --git a/src/031_Land/UnkStruct_ov000_02090850_031.cpp b/src/031_Land/Player/LinkStateDamage_031.cpp similarity index 80% rename from src/031_Land/UnkStruct_ov000_02090850_031.cpp rename to src/031_Land/Player/LinkStateDamage_031.cpp index 2fd027927..95635917d 100644 --- a/src/031_Land/UnkStruct_ov000_02090850_031.cpp +++ b/src/031_Land/Player/LinkStateDamage_031.cpp @@ -1,10 +1,10 @@ #include "CommonFuncs.hpp" +#include "Player/LinkStateDamage.hpp" #include "Player/PlayerLink.hpp" #include "Unknown/UnkStruct_027e0958.hpp" #include "Unknown/UnkStruct_027e09a8.hpp" #include "Unknown/UnkStruct_027e0ce0.hpp" #include "Unknown/UnkStruct_027e0cec.hpp" -#include "Unknown/UnkStruct_ov000_02090850.hpp" #include "Unknown/UnkStruct_ov000_020b4ec4.hpp" #include "Unknown/UnkStruct_ov000_020b4f70.hpp" #include "Unknown/UnkStruct_ov000_020b5214.hpp" @@ -16,7 +16,7 @@ extern VecFx32 data_027e07d4; static const char data_ov031_021106ec[16] = "link_ice1"; -void UnkStruct_ov000_02090850_84::func_ov031_020dac20() { +void LinkStateDamage_84::func_ov031_020dac20() { this->mUnk_10[0].mUnk_04 = 0x890; this->mUnk_10[0].mUnk_08 = 0x001; @@ -24,13 +24,13 @@ void UnkStruct_ov000_02090850_84::func_ov031_020dac20() { this->mUnk_10[1].mUnk_08 = 0x001; } -void UnkStruct_ov000_02090850_84::func_ov031_020dac40() { +void LinkStateDamage_84::func_ov031_020dac40() { this->mUnk_0C = 6; data_027e09a8->func_ov000_020717cc(0x8C0D, &this->mpLink->mPos.vec); data_ov000_020b4f70->func_ov000_02066364(); } -bool UnkStruct_ov000_02090850_84::func_ov031_020dac80() { +bool LinkStateDamage_84::func_ov031_020dac80() { if (this->mUnk_08->func_01ff8fa8()) { this->mUnk_0C--; @@ -45,31 +45,31 @@ bool UnkStruct_ov000_02090850_84::func_ov031_020dac80() { return true; } -void UnkStruct_ov000_02090850_84::func_ov031_020dacdc(bool param1) { +void LinkStateDamage_84::func_ov031_020dacdc(bool param1) { if (param1) { VecFx32 sp0; this->mpLink->func_ov000_0208cc20(&sp0); UnkStruct_027e0cec *temp_r0 = data_027e0cec; - for (UnkStruct_ov000_02090850_84_10 *ptr = this->mUnk_10; ptr != &this->mUnk_10[ARRAY_LEN(this->mUnk_10)]; ptr++) { + for (LinkStateDamage_84_10 *ptr = this->mUnk_10; ptr != &this->mUnk_10[ARRAY_LEN(this->mUnk_10)]; ptr++) { temp_r0->func_ov000_020a0140(ptr, &sp0); } } else { UnkStruct_027e0cec *temp_r0 = data_027e0cec; - for (UnkStruct_ov000_02090850_84_10 *ptr = this->mUnk_10; ptr != &this->mUnk_10[ARRAY_LEN(this->mUnk_10)]; ptr++) { + for (LinkStateDamage_84_10 *ptr = this->mUnk_10; ptr != &this->mUnk_10[ARRAY_LEN(this->mUnk_10)]; ptr++) { temp_r0->func_ov000_020a0110(ptr); } } } -void UnkStruct_ov000_02090850_AC::func_ov031_020dad80() { +void LinkStateDamage_AC::func_ov031_020dad80() { this->mUnk_D0 = 0x896; this->mUnk_D4 = 0x01; } -void UnkStruct_ov000_02090850_AC::func_ov031_020dad98() { +void LinkStateDamage_AC::func_ov031_020dad98() { PlayerActorBase_70 *temp_r2 = this->mUnk_1C; VecFx32_Copy(&data_027e07d4, &temp_r2->mUnk_118.vec); @@ -78,7 +78,7 @@ void UnkStruct_ov000_02090850_AC::func_ov031_020dad98() { data_027e09a8->func_ov000_02071700(0x8C82, &this->mpLink2->mPos.vec); } -void UnkStruct_ov000_02090850_AC::func_ov031_020dae3c() { +void LinkStateDamage_AC::func_ov031_020dae3c() { this->mUnk_24 = 0x00; this->mUnk_28 = 0x0F; this->mUnk_8C.mUnk_04.func_02015054(0x01, this->mUnk_8C.mUnk_04.mUnk_10); @@ -86,13 +86,13 @@ void UnkStruct_ov000_02090850_AC::func_ov031_020dae3c() { data_027e09a8->func_ov000_02071700(0x8C81, &this->mpLink2->mPos.vec); } -bool UnkStruct_ov000_02090850_AC::func_ov031_020dae8c(unk32 param1) { +bool LinkStateDamage_AC::func_ov031_020dae8c(unk32 param1) { VecFx32 sp0; s32 temp_ip; s32 temp_r0; s32 temp_r4; PlayerActorBase_70 *temp_r1; - UnkStruct_ov000_0208f820_2c *temp_r2; + LinkStateBase_2C *temp_r2; void *temp_r3; this->mUnk_24++; @@ -129,7 +129,7 @@ bool UnkStruct_ov000_02090850_AC::func_ov031_020dae8c(unk32 param1) { return true; } -void UnkStruct_ov000_02090850_AC::func_ov031_020dafe8(bool param1) { +void LinkStateDamage_AC::func_ov031_020dafe8(bool param1) { if (param1) { data_027e0cec->func_ov000_020a0140(&this->mUnk_CC, &this->mpLink2->mPos.vec); } else { @@ -137,7 +137,7 @@ void UnkStruct_ov000_02090850_AC::func_ov031_020dafe8(bool param1) { } } -void UnkStruct_ov000_02090850_AC::func_ov031_020db028() { +void LinkStateDamage_AC::func_ov031_020db028() { VecFx32 sp0; VecFx32_Copy(&this->mUnk_1C->mUnk_0E4.mUnk_00, &sp0); diff --git a/src/031_Land/code_020dd384_031.cpp b/src/031_Land/Player/LinkStateGrabbed_031.cpp similarity index 100% rename from src/031_Land/code_020dd384_031.cpp rename to src/031_Land/Player/LinkStateGrabbed_031.cpp diff --git a/src/031_Land/code_020de224_031.cpp b/src/031_Land/Player/LinkStateHit_031.cpp similarity index 100% rename from src/031_Land/code_020de224_031.cpp rename to src/031_Land/Player/LinkStateHit_031.cpp diff --git a/src/031_Land/Player/PlayerActors_031.cpp b/src/031_Land/Player/PlayerActors_031.cpp index e69de29bb..1d25943c9 100644 --- a/src/031_Land/Player/PlayerActors_031.cpp +++ b/src/031_Land/Player/PlayerActors_031.cpp @@ -0,0 +1,57 @@ +#include "Item/ItemManager.hpp" +#include "Player/PlayerLink.hpp" +#include "Player/PlayerZelda.hpp" +#include "global.h" +#include "nitro/math.h" + +THUMB_BEGIN +void PlayerLinkActor::func_ov031_020dccbc() { + if (this->mUnk_54 != NULL && !this->mUnk_54->GetInventory()->HasRecruitUniform()) { + this->mUnk_138.func_ov000_0206082c(0x5D, 0x04); + } else { + this->mUnk_138.func_ov000_0206082c(0x5D, 0x03); + } +} + +void PlayerLinkActor::func_ov031_020dccf0() { + this->func_ov031_020dccbc(); + + //! TODO: unrolled loop? + PlayerLinkActor_1B0 *ptr = &this->mUnk_1B0[0]; + PlayerLinkActor_1B0 *ptr2; + + ptr2 = ptr + 0; + ptr2->mUnk_04 = 0xD04F + 0; + ptr2->mUnk_08 = 0x01; + + ptr2 = ptr + 1; + ptr2->mUnk_04 = 0xD04F + 1; + ptr2->mUnk_08 = 0x01; + + ptr2 = ptr + 2; + ptr2->mUnk_04 = 0xD04F + 2; + ptr2->mUnk_08 = 0x01; +} +THUMB_END + +void PlayerLinkActor::func_ov031_020dcd20() { + if (this->mUnk_134 != NULL) { + VecFx32 sp0; + this->func_ov000_0208cc20(&sp0); + this->mUnk_134->func_ov031_020db120(&sp0); + } +} + +THUMB_BEGIN +PlayerZeldaActor_CC::PlayerZeldaActor_CC() { + this->mUnk_00 = false; + VecFx32_Reset(&this->mPosLink); + VecFx32_Reset(&this->mPosZelda); +} + +void PlayerZeldaActor_CC::func_ov031_020dcd70(const VecFx32 *pPosLink, const VecFx32 *pPosZelda) { + this->mUnk_00 = true; + VecFx32_Copy(pPosLink, &this->mPosLink); + VecFx32_Copy(pPosZelda, &this->mPosZelda); +} +THUMB_END diff --git a/src/031_Land/Player/PlayerLinkActor_A0_14_031.cpp b/src/031_Land/Player/PlayerLinkActor_A0_14_031.cpp index e69de29bb..a700c67de 100644 --- a/src/031_Land/Player/PlayerLinkActor_A0_14_031.cpp +++ b/src/031_Land/Player/PlayerLinkActor_A0_14_031.cpp @@ -0,0 +1,71 @@ +#include "Player/PlayerLink.hpp" +#include "RefStruct.hpp" +#include "Unknown/UnkStruct_027e0208.hpp" +#include "Unknown/UnkStruct_027e09c0.hpp" +#include "Unknown/UnkStruct_027e0ce0.hpp" +#include "math.hpp" +#include "nitro/fx.h" +#include "nitro/math.h" +#include "nns/g3d/g3d.h" +#include "nns/g3d/sbc.h" + +extern unk32 data_ov000_020aa394; + +static const G3d_UnkTag1 data_ov031_02110770[] = { + {0x01, "shB"}, + {0x00, "shA"}, +}; + +PlayerLinkActor_A0_14::PlayerLinkActor_A0_14() : + mUnk_04(NULL), + mUnk_14(PlayerType_Link), + mUnk_48(false) { + this->func_ov031_020dd124(); +} + +void PlayerLinkActor_A0_14::func_ov031_020dd124() { + UnkStruct_027e0ce0_1C *temp_r4 = data_027e0ce0->mUnk_1C; + + if (data_027e0ce0->mUnk_2C->GetInventory()->func_ov000_020a86a4() == 0x01) { + this->mUnk_04.vfunc_08(temp_r4->func_ov000_0208ed30(0x00, 0x01, data_ov031_02110770[0].name)); + } else { + this->mUnk_04.vfunc_08(temp_r4->func_ov000_0208ed30(0x00, 0x01, data_ov031_02110770[1].name)); + } +} + +void PlayerLinkActor_A0_14::func_ov031_020dd1a4(bool param1, VecFx32 *param2, UnkAngleStruct param3) { + this->mUnk_14.mUnk_30 = param3.angle_s; + + if (param1) { + this->mUnk_14.mUnk_0C.center.x = ROUND_FX32(SIN(param3.angle_s) * 0x19A); + this->mUnk_14.mUnk_0C.center.y = FX_F32_TO_FX32(0.4f); + this->mUnk_14.mUnk_0C.center.z = ROUND_FX32(COS(param3.angle_s) * 0x19A); + + VEC_Add(&this->mUnk_14.mUnk_0C.center, param2, &this->mUnk_14.mUnk_0C.center); + this->mUnk_14.mUnk_0C.radius = FX_F32_TO_FX32(0.4f); + + data_027e09c0->func_ov000_0207e58c(this->mUnk_14.mUnk_04.Copy(), 0x0E, 0x00, &this->mUnk_14); + } +} + +void PlayerLinkActor_A0_14::vfunc_08() { + if (this->mUnk_48) { + s32 sp4 = 0x1C; + PushGeometryCommand(0x14, &sp4, 0x01); + func_ov000_0205accc(); + } else { + s32 sp0 = 0x1A; + PushGeometryCommand(0x14, &sp0, 0x01); + func_ov000_0205accc(); + + MtxFx33 sp8; + MTX_RotZ33_(&sp8, SIN(DEG_TO_ANG(270)), COS(DEG_TO_ANG(270))); + PushGeometryCommand(0x1A, &sp8, 0x09); + PushGeometryCommand(0x1C, &data_ov000_020aa394, 0x03); + } + + this->mUnk_04.vfunc_0C(); + PushGeometryCommand(0x17, &data_027e0208.mUnk_04C, 0x0C); +} + +PlayerLinkActor_A0_14::~PlayerLinkActor_A0_14() {} diff --git a/src/031_Land/UnkStruct_027e0ce0_40_Base_78_031.cpp b/src/031_Land/UnkStruct_027e0ce0_40_Base_78_031.cpp index e69de29bb..91da3b496 100644 --- a/src/031_Land/UnkStruct_027e0ce0_40_Base_78_031.cpp +++ b/src/031_Land/UnkStruct_027e0ce0_40_Base_78_031.cpp @@ -0,0 +1,235 @@ +#include "Actor/ActorManager.hpp" +#include "CommonFuncs.hpp" +#include "RefStruct.hpp" +#include "Unknown/UnkStruct_027e0ce0.hpp" +#include "global.h" +#include "nitro/math.h" + +THUMB_BEGIN + +UnkStruct_027e0ce0_40_Base_78::UnkStruct_027e0ce0_40_Base_78() { + this->mRef.Reset(); +} + +UnkStruct_027e0ce0_40_Base_78::~UnkStruct_027e0ce0_40_Base_78() {} + +THUMB_END + +//! TODO: make it work with inlines +void UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcd9c(const VecFx32 *param1, VecFx32 *param2) { + u16 var_r1; + s32 temp_r1; + u16 var_r2; + bool var_r2_2; + bool var_ip; + bool var_ip_2; + bool var_lr; + u16 temp_r3; + Actor *temp_r0; + + STACK_PAD(4); + + temp_r3 = this->mRef.acRef.type_index; + var_lr = true; + var_ip = false; + + if ((temp_r3 != 0x100) && (temp_r3 != 0x101)) { + var_lr = false; + } + + if (var_lr) { + if (temp_r3 == 0x101) { + var_r2 = 0; + } else { + var_r2 = this->mRef.acRef.unk_id; + } + + if (var_r2 == 1) { + var_ip = true; + } + } + + if (var_ip) { + param2->x = param1->x; + param2->y = param1->y; + param2->z = param1->z; + param2->y += 0x429; + return; + } + + var_r2_2 = false; + + if (!this->mRef.IsEmpty()) { + var_ip_2 = false; + + if (((s32) temp_r3 == 0x100) || (temp_r3 == 0x101)) { + if (temp_r3 == 0x101) { + var_r1 = 0; + } else { + var_r1 = this->mRef.acRef.unk_id; + } + + if (var_r1 == 1) { + var_ip_2 = true; + } + } + + if (!var_ip_2) { + var_r2_2 = true; + } + } + + if (!var_r2_2) { + return; + } + + temp_r0 = gpActorManager->func_01fff3b4(this->mRef); + param2->x = temp_r0->mPos.x; + param2->y = temp_r0->mPos.y; + param2->z = temp_r0->mPos.z; + param2->y += 0x333; +} + +//! TODO: make it work with inlines +void UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcea4(UnkAngleStruct *pAngle, UnkStruct_027e0ce0_40_Base_78 *thisx, + UnkAngleStruct angle) { + bool var_r2; + bool var_r2_2; + bool var_r3; + bool var_r3_2; + u16 temp_ip; + u16 var_r0; + u16 var_r0_2; + + STACK_PAD(4); + + temp_ip = thisx->mRef.acRef.type_index; + var_r3 = true; + var_r2 = false; + + if ((temp_ip != 0x100) && (temp_ip != 0x101)) { + var_r3 = false; + } + + if (var_r3) { + if (temp_ip == 0x101) { + var_r0 = 0; + } else { + var_r0 = thisx->mRef.acRef.unk_id; + } + + if (var_r0 == 1) { + var_r2 = true; + } + } + + if (var_r2) { + func_01fff17c(&pAngle->angle_s, data_027e0ce0, 1); + return; + } + + var_r2_2 = false; + + if (!thisx->mRef.IsEmpty()) { + var_r3_2 = false; + + if (((s32) temp_ip == 0x100) || (temp_ip == 0x101)) { + if (temp_ip == 0x101) { + var_r0_2 = 0; + } else { + var_r0_2 = thisx->mRef.acRef.unk_id; + } + + if (var_r0_2 == 1) { + var_r3_2 = true; + } + } + + if (!var_r3_2) { + var_r2_2 = true; + } + } + + if (!var_r2_2) { + *pAngle = angle.angle_s; + } else { + *pAngle = gpActorManager->func_01fff3b4(thisx->mRef)->mAngle.angle_s; + } +} + +//! TODO: make it work with inlines +bool UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcfb4(VecFx32 *param1) { + u16 var_r1; + s32 temp_r1; + u16 var_r2; + bool var_r2_2; + bool var_ip; + bool var_ip_2; + bool var_lr; + u16 temp_r3; + Actor *temp_r0; + + STACK_PAD(4); + + temp_r3 = this->mRef.acRef.type_index; + var_lr = true; + var_ip = false; + + VecFx32_Reset(param1); + + if ((temp_r3 != 0x100) && (temp_r3 != 0x101)) { + var_lr = false; + } + + if (var_lr) { + if (temp_r3 == 0x101) { + var_r2 = 0; + } else { + var_r2 = this->mRef.acRef.unk_id; + } + + if (var_r2 == 1) { + var_ip = true; + } + } + + if (var_ip) { + VecFx32 *pVec = data_027e0ce0->func_01fff168(PlayerType_Zelda); + param1->x = pVec->x; + param1->y = pVec->y; + param1->z = pVec->z; + return true; + } + + var_r2_2 = false; + + if (!this->mRef.IsEmpty()) { + var_ip_2 = false; + + if (((s32) temp_r3 == 0x100) || (temp_r3 == 0x101)) { + if (temp_r3 == 0x101) { + var_r1 = 0; + } else { + var_r1 = this->mRef.acRef.unk_id; + } + + if (var_r1 == 1) { + var_ip_2 = true; + } + } + + if (!var_ip_2) { + var_r2_2 = true; + } + } + + if (!var_r2_2) { + return false; + } + + temp_r0 = gpActorManager->func_01fff3b4(this->mRef); + param1->x = temp_r0->mVel.x; + param1->y = temp_r0->mVel.y; + param1->z = temp_r0->mVel.z; + return true; +} diff --git a/src/031_Land/UnkStruct_ov031_Items_01_Derived1.cpp b/src/031_Land/UnkStruct_ov031_Items_01_Derived1.cpp index 43b30ca60..57307dc6f 100644 --- a/src/031_Land/UnkStruct_ov031_Items_01_Derived1.cpp +++ b/src/031_Land/UnkStruct_ov031_Items_01_Derived1.cpp @@ -13,8 +13,8 @@ bool UnkStruct_ov031_Items_01_Derived1::vfunc_0C(Actor *param1, VecFx32 *vector) bool result = this->UnkStruct_ov031_Items_01::vfunc_0C(param1, vector); if (result) { - fx16 sin = SIN(this->mUnk_30); - fx16 cos = COS(this->mUnk_30); + fx16 sin = SIN(this->mUnk_30.angle_s); + fx16 cos = COS(this->mUnk_30.angle_s); vector->x = sin; vector->y = 0; vector->z = cos; diff --git a/src/102_CourseExecLand/UnkStruct_027e0ce0_40_102.cpp b/src/102_CourseExecLand/UnkStruct_027e0ce0_40_102.cpp index 96b08cf2e..f057e6bd2 100644 --- a/src/102_CourseExecLand/UnkStruct_027e0ce0_40_102.cpp +++ b/src/102_CourseExecLand/UnkStruct_027e0ce0_40_102.cpp @@ -162,11 +162,11 @@ void UnkStruct_027e0ce0_40::func_ov102_0218303c(bool param1, ItemManager *pItemM this->mpZelda->func_ov093_0216d5b8(param1); PlayerZeldaActor *ptr = this->mpZelda; - if (ptr->mUnk_0CC) { + if (ptr->mUnk_CC.mUnk_00) { this->func_ov093_02168220(); - this->mPlayer.func_ov093_0216ce24(&ptr->mUnk_0D0); - this->mpZelda->func_ov093_0216f71c(&ptr->mUnk_0DC); - ptr->mUnk_0CC = false; + this->mPlayer.func_ov093_0216ce24(&ptr->mUnk_CC.mPosLink); + this->mpZelda->func_ov093_0216f71c(&ptr->mUnk_CC.mPosZelda); + ptr->mUnk_CC.mUnk_00 = false; } } diff --git a/src/110_PlayerGet/PlayerGet.cpp b/src/110_PlayerGet/PlayerGet.cpp index af6bee14b..445f36872 100644 --- a/src/110_PlayerGet/PlayerGet.cpp +++ b/src/110_PlayerGet/PlayerGet.cpp @@ -419,7 +419,7 @@ void UnkStruct_PlayerGet_74::vfunc_00(unk32 param1, unk32 param2) { } PlayerGet::PlayerGet(PlayerLinkActor_A0_84 *param1) : - UnkStruct_ov000_0208f820(param1), + LinkStateBase(param1), mUnk_54(0, 0, -1, ItemId_None), mUnk_64(mUnk_44, -1), mUnk_6C(0x1000), diff --git a/src/112_PlayerSceneChange/PlayerSceneChange.cpp b/src/112_PlayerSceneChange/PlayerSceneChange.cpp index a97b9cbe2..fbb2e436a 100644 --- a/src/112_PlayerSceneChange/PlayerSceneChange.cpp +++ b/src/112_PlayerSceneChange/PlayerSceneChange.cpp @@ -15,7 +15,7 @@ #define COS2(table, n) ((table)[2 * ((n) >> 4) + 1]) PlayerSceneChange::PlayerSceneChange(PlayerLinkActor_A0_84 *param1) : - UnkStruct_ov000_0208f820(param1), + LinkStateBase(param1), mUnk_54(false) { this->mEntryTransitionType = this->mUnk_2C->mEntryTransitionType; this->mUnk_6C = -1; @@ -748,5 +748,5 @@ bool PlayerSceneChange::vfunc_1C(VecFx32 *param1) { } } - return this->UnkStruct_ov000_0208f820::vfunc_1C(param1); + return this->LinkStateBase::vfunc_1C(param1); } diff --git a/src/112_PlayerSceneChange/PlayerSceneChange2.cpp b/src/112_PlayerSceneChange/PlayerSceneChange2.cpp index 1c6d798db..7895fd08b 100644 --- a/src/112_PlayerSceneChange/PlayerSceneChange2.cpp +++ b/src/112_PlayerSceneChange/PlayerSceneChange2.cpp @@ -3,7 +3,7 @@ #include "Unknown/UnkStruct_027e0ce0.hpp" PlayerSceneChange2::PlayerSceneChange2(PlayerLinkActor_A0_84 *param1) : - UnkStruct_ov000_0208f820(param1) { + LinkStateBase(param1) { this->mUnk_54 = *this->mUnk_34; this->mUnk_60 = *this->mUnk_34; } diff --git a/tools/configure.py b/tools/configure.py index 41d51d02c..eedf7c83a 100755 --- a/tools/configure.py +++ b/tools/configure.py @@ -257,6 +257,7 @@ def GameLib(lib_name: str, objects: List[Object], extra_cflags=list()) -> Dict[s Object("000_Second/data_020aa88c.cpp"), Object("000_Second/Player/PlayerLinkActor_A0_000.cpp"), Object("000_Second/Player/data_ov000_020b2e60.cpp"), + Object("000_Second/Player/data_ov000_020ad02c.cpp"), ] ), GameLib( @@ -583,7 +584,7 @@ def GameLib(lib_name: str, objects: List[Object], extra_cflags=list()) -> Dict[s Object("031_Land/UnkStruct_ItemManager_20_04_32C_031.cpp"), Object("031_Land/code_020d9c64_031.cpp"), Object("031_Land/UnkStruct_ov031_02112b40_031.cpp"), - Object("031_Land/UnkStruct_ov000_02090850_031.cpp"), + Object("031_Land/Player/LinkStateDamage_031.cpp"), Object("031_Land/code_020db0fc_031.cpp"), Object("031_Land/UnkStruct_ItemManager_20_10_031.cpp"), Object("031_Land/UnkStruct_ItemManager_20_04_031.cpp"), @@ -598,9 +599,9 @@ def GameLib(lib_name: str, objects: List[Object], extra_cflags=list()) -> Dict[s Object("031_Land/Player/PlayerActors_031.cpp"), Object("031_Land/UnkStruct_027e0ce0_40_Base_78_031.cpp"), Object("031_Land/Player/PlayerLinkActor_A0_14_031.cpp"), - Object("031_Land/code_020dd384_031.cpp"), + Object("031_Land/Player/LinkStateGrabbed_031.cpp"), Object("031_Land/Player/PlayerLinkActor_A0_031.cpp"), - Object("031_Land/code_020de224_031.cpp"), + Object("031_Land/Player/LinkStateHit_031.cpp"), Object("031_Land/code_020e0284_031.cpp"), Object("031_Land/Player/PlayerLinkActor_A0_10_031.cpp"), Object("031_Land/UnkStruct_ItemManager_20_00_20_031.cpp"), From 0643849f55ec87253d70516a523b7acbb4bdc49f Mon Sep 17 00:00:00 2001 From: Yanis <35189056+Yanis002@users.noreply.github.com> Date: Mon, 30 Nov 2026 18:31:38 +0100 Subject: [PATCH 06/12] Fix configuration issues (#208) --- tools/configure.py | 3 ++- tools/delink.py | 8 +++++++- tools/project.py | 34 ++++++++++++++++++++++------------ 3 files changed, 31 insertions(+), 14 deletions(-) diff --git a/tools/configure.py b/tools/configure.py index eedf7c83a..a70421766 100755 --- a/tools/configure.py +++ b/tools/configure.py @@ -18,6 +18,7 @@ parser.add_argument("--dsd", type=Path, required=False, help="Path to pre-installed dsd CLI") parser.add_argument("--version", "-v", help='Game version', required=False) parser.add_argument("--noclangd", "-c", help='Do not create clangd config', required=False, action="store_true") +parser.add_argument("--no-auto-delink", "-a", help='Do not automatically delink', required=False, action="store_true") args = parser.parse_args() config = ProjectConfig("st", args.compiler, "dsi/1.2p1", args.wine, args.dsd, Path(__file__).resolve()) @@ -1713,7 +1714,7 @@ def main(): config.relocs_files[version] = config.get_config_files(version, "relocs.txt") config.symbols_files[version] = config.get_config_files(version, "symbols.txt") - if config.check_can_run_dsd(): + if config.check_can_run_dsd(args): out = subprocess.run([ str(config.dsd_path), "--force-color", diff --git a/tools/delink.py b/tools/delink.py index 94f480903..2d040746b 100755 --- a/tools/delink.py +++ b/tools/delink.py @@ -21,7 +21,9 @@ def version_exists(version: str) -> bool: - return glob.glob(str(Path("extract") / f"baserom_st_{version}.nds")) != [] + # check if config.yaml is here to ensure this won't block the extraction + # previously we were looking for the baserom but that is already handled by configure.py + return glob.glob(str(Path("extract") / version / "config.yaml")) != [] def main(): @@ -71,6 +73,10 @@ def main(): saved_timestamp_map: dict[str, dict[str, float]] = json.loads(TIMESTAMP_FILE.read_text()) for version, saved_map in saved_timestamp_map.items(): + if version not in versions: + # ignore unavailable versions + continue + do_delink = False for saved_path_str, saved_timestamp in saved_map.items(): diff --git a/tools/project.py b/tools/project.py index a907b320d..cbbd8d49d 100644 --- a/tools/project.py +++ b/tools/project.py @@ -385,7 +385,10 @@ def objects(self) -> Dict[str, Object]: out[obj.name] = obj.resolve(self, lib) return out - def check_can_run_dsd(self) -> bool: + def check_can_run_dsd(self, args) -> bool: + if not self.dsd_path.exists(): + return False + try: output = subprocess.run([str(self.dsd_path), "--version"], capture_output=True, text=True, check=True) version = output.stdout.strip().split(" ")[-1] @@ -393,11 +396,13 @@ def check_can_run_dsd(self) -> bool: version = "v" + version # If it's not the correct version, Ninja will download it and then rerun this script - return version == self.dsd_version - except subprocess.CalledProcessError: - return False - except FileNotFoundError: + return version == self.dsd_version or args.dsd is not None + except subprocess.CalledProcessError as e: + print("Error while calling the process, assuming dsd can't be ran.") + print(e.with_traceback(None)) return False + except Exception: + raise def add_download_tool_builds(cfg: ProjectConfig, n: ninja_syntax.Writer, args: Any): @@ -490,6 +495,7 @@ def add_configure_build(cfg: ProjectConfig, n: ninja_syntax.Writer): *dsd_cfg, ] ) + n.newline() def add_extract_build(cfg: ProjectConfig, version: str, n: ninja_syntax.Writer, args: Any): @@ -513,7 +519,7 @@ def add_delink_and_lcf_builds(cfg: ProjectConfig, version: str, n: ninja_syntax. n.comment("Delink ELF binaries when any delinks.txt file is modified") n.build( inputs=cfg.dsd_configs(version) + [rom_config], - implicit=str(cfg.dsd_path), + implicit=[str(cfg.dsd_path), str(cfg.baserom_config(version))], rule="delink", outputs=delink_files, variables={ @@ -533,7 +539,7 @@ def add_delink_and_lcf_builds(cfg: ProjectConfig, version: str, n: ninja_syntax. objects_file = cfg.arm9_objects_file(version) n.build( inputs=cfg.delinks_files[version] + [str(rom_config)], - implicit=str(cfg.dsd_path), + implicit=[str(cfg.dsd_path), str(cfg.baserom_config(version))], rule="lcf", outputs=[lcf_file, objects_file], variables={ @@ -1127,9 +1133,9 @@ def process_project(cfg: ProjectConfig, args: Any): create_objdiff_fixup_config(cfg, objects) - rust_log = "RUST_LOG=ds_rom::rom::rom=warn" - if cfg.platform is not None and cfg.platform.system == "windows": - rust_log = f"set {rust_log} &&" + rust_log = "" + if cfg.platform is not None and cfg.platform.system != "windows": + rust_log = "RUST_LOG=ds_rom::rom::rom=warn" with cfg.build_ninja_path.open("w") as file: n = ninja_syntax.Writer(file) @@ -1265,10 +1271,14 @@ def process_project(cfg: ProjectConfig, args: Any): ) n.newline() + auto_delink_args = "" + if not args.no_auto_delink: + auto_delink_args = f" && {cfg.python_path} {cfg.delinkpy_path} {cfg.dsd_path}" + configure_cmdline = subprocess.list2cmdline(sys.argv[1:]) n.rule( name="configure", - command=f"{cfg.python_path} tools/configure.py {configure_cmdline} && {cfg.python_path} {cfg.delinkpy_path} {cfg.dsd_path}", + command=f"{cfg.python_path} tools/configure.py {configure_cmdline}{auto_delink_args}", generator=True ) n.newline() @@ -1294,7 +1304,7 @@ def process_project(cfg: ProjectConfig, args: Any): add_download_tool_builds(cfg, n, args) add_configure_build(cfg, n) - if cfg.check_can_run_dsd(): + if cfg.check_can_run_dsd(args): defaults = [] cmds_map: dict[str, list] = { "delink": list(), From 33b98b4e13748fd7fd037f3d72bc107d1fad8518 Mon Sep 17 00:00:00 2001 From: Yanis <35189056+Yanis002@users.noreply.github.com> Date: Thu, 3 Dec 2026 02:47:59 +0100 Subject: [PATCH 07/12] Decompile overlay 31 (`Land`) (Part 8) (#207) * LinkStateGrabbed_031 OK * docs * PlayerLinkActor_A0_031 33% (I hate rabbit holes) * PlayerLinkActor_A0_031 OK * LinkStateHit_031 44% * LinkStateHit_031 98% * LinkStateHit_031 99% * LinkStateHit_031 small progress and LinkStateHit_BC_031 OK * LinkStateHit_031 OK * fix regression --- config/eur/arm9/overlays/ov000/symbols.txt | 60 +- config/eur/arm9/overlays/ov031/delinks.txt | 14 +- config/eur/arm9/overlays/ov031/relocs.txt | 34 +- config/eur/arm9/overlays/ov031/symbols.txt | 108 +- config/eur/arm9/overlays/ov044/symbols.txt | 4 +- config/eur/arm9/overlays/ov045/symbols.txt | 5 +- config/eur/arm9/overlays/ov053/symbols.txt | 2 +- config/eur/arm9/overlays/ov082/symbols.txt | 4 +- config/eur/arm9/overlays/ov093/symbols.txt | 2 +- config/eur/arm9/overlays/ov108/symbols.txt | 2 +- config/eur/arm9/overlays/ov110/symbols.txt | 6 +- config/eur/arm9/overlays/ov112/symbols.txt | 8 +- config/eur1/arm9/overlays/ov000/symbols.txt | 60 +- config/eur1/arm9/overlays/ov031/relocs.txt | 2 +- config/eur1/arm9/overlays/ov031/symbols.txt | 88 +- config/eur1/arm9/overlays/ov044/symbols.txt | 4 +- config/eur1/arm9/overlays/ov045/symbols.txt | 5 +- config/eur1/arm9/overlays/ov053/symbols.txt | 2 +- config/eur1/arm9/overlays/ov082/symbols.txt | 4 +- config/eur1/arm9/overlays/ov093/symbols.txt | 2 +- config/eur1/arm9/overlays/ov108/symbols.txt | 2 +- config/eur1/arm9/overlays/ov110/symbols.txt | 6 +- config/eur1/arm9/overlays/ov112/symbols.txt | 8 +- config/jp/arm9/overlays/ov000/symbols.txt | 60 +- config/jp/arm9/overlays/ov031/relocs.txt | 2 +- config/jp/arm9/overlays/ov031/symbols.txt | 86 +- config/jp/arm9/overlays/ov044/symbols.txt | 4 +- config/jp/arm9/overlays/ov045/symbols.txt | 5 +- config/jp/arm9/overlays/ov053/symbols.txt | 2 +- config/jp/arm9/overlays/ov082/symbols.txt | 4 +- config/jp/arm9/overlays/ov093/symbols.txt | 2 +- config/jp/arm9/overlays/ov110/symbols.txt | 6 +- config/jp/arm9/overlays/ov112/symbols.txt | 8 +- config/usa/arm9/overlays/ov000/symbols.txt | 60 +- config/usa/arm9/overlays/ov031/relocs.txt | 2 +- config/usa/arm9/overlays/ov031/symbols.txt | 88 +- config/usa/arm9/overlays/ov044/symbols.txt | 4 +- config/usa/arm9/overlays/ov045/symbols.txt | 5 +- config/usa/arm9/overlays/ov053/symbols.txt | 2 +- config/usa/arm9/overlays/ov082/symbols.txt | 4 +- config/usa/arm9/overlays/ov093/symbols.txt | 2 +- config/usa/arm9/overlays/ov108/symbols.txt | 2 +- config/usa/arm9/overlays/ov110/symbols.txt | 6 +- config/usa/arm9/overlays/ov112/symbols.txt | 8 +- include/CommonFuncs.hpp | 9 +- include/Player/LinkStateActorPush.hpp | 15 + include/Player/LinkStateBase.hpp | 150 ++- include/Player/LinkStateDamage.hpp | 8 +- include/Player/LinkStateGrabbed.hpp | 45 + include/Player/LinkStateHit.hpp | 72 ++ include/Player/LinkStateItemPanFlute.hpp | 13 + include/Player/LinkStatePlayerDemo.hpp | 9 + include/Player/LinkStateStamp.hpp | 10 + include/Player/PlayerActorBase.hpp | 23 +- include/Player/PlayerGet.hpp | 24 +- include/Player/PlayerLink.hpp | 58 +- include/Player/PlayerSceneChange.hpp | 8 +- include/Player/PlayerZelda.hpp | 4 +- include/Unknown/Common.hpp | 4 +- include/Unknown/UnkStruct_027e09a8.hpp | 4 +- include/Unknown/UnkStruct_027e09c0.hpp | 2 +- include/Unknown/UnkStruct_027e0ce0.hpp | 16 +- include/Unknown/UnkStruct_027e0d34.hpp | 13 +- include/Unknown/UnkStruct_ov000_020b2cec.hpp | 381 +++--- include/math.hpp | 4 + src/000_Second/Player/data_ov000_020ad02c.cpp | 32 +- src/001_SceneInit/UnkStruct_027e0ce0_001.cpp | 12 +- .../UnkStruct_027e0ce0_1C_001.cpp | 22 +- .../Player/PlayerLinkActor_017.cpp | 27 +- src/031_Land/MapObject/MapObjectUnkSKDI.cpp | 5 +- src/031_Land/Player/LinkStateDamage_031.cpp | 8 +- src/031_Land/Player/LinkStateGrabbed_031.cpp | 269 ++++ src/031_Land/Player/LinkStateHit_031.cpp | 1109 +++++++++++++++++ src/031_Land/Player/LinkStateHit_BC_031.cpp | 130 ++ .../Player/PlayerLinkActor_A0_031.cpp | 279 +++++ src/031_Land/UnkStruct_027e0ce0_40_031.cpp | 2 +- src/031_Land/UnkStruct_027e0d34.cpp | 44 +- src/031_Land/code_020e0284_031.cpp | 0 .../UnkStruct_027e0ce0_40_101.cpp | 8 +- src/110_PlayerGet/PlayerGet.cpp | 85 +- .../PlayerSceneChange.cpp | 46 +- .../PlayerSceneChange2.cpp | 26 +- tools/configure.py | 2 +- ...stable_relocs_fixer.py => relocs_fixer.py} | 19 +- 84 files changed, 2977 insertions(+), 814 deletions(-) create mode 100644 include/Player/LinkStateActorPush.hpp create mode 100644 include/Player/LinkStateGrabbed.hpp create mode 100644 include/Player/LinkStateHit.hpp create mode 100644 include/Player/LinkStateItemPanFlute.hpp create mode 100644 include/Player/LinkStatePlayerDemo.hpp create mode 100644 include/Player/LinkStateStamp.hpp create mode 100644 src/031_Land/Player/LinkStateHit_BC_031.cpp delete mode 100644 src/031_Land/code_020e0284_031.cpp rename tools/{sincostable_relocs_fixer.py => relocs_fixer.py} (72%) diff --git a/config/eur/arm9/overlays/ov000/symbols.txt b/config/eur/arm9/overlays/ov000/symbols.txt index aa2134e3e..5979db4c8 100644 --- a/config/eur/arm9/overlays/ov000/symbols.txt +++ b/config/eur/arm9/overlays/ov000/symbols.txt @@ -1052,7 +1052,7 @@ func_ov000_02071688 kind:function(arm,size=0x54) addr:0x02071688 _ZN18UnkStruct_027e09a819func_ov000_020716dcEi kind:function(arm,size=0x24) addr:0x020716dc _ZN18UnkStruct_027e09a819func_ov000_02071700EiP7VecFx32 kind:function(arm,size=0x48) addr:0x02071700 func_ov000_02071748 kind:function(arm,size=0x2c) addr:0x02071748 -func_ov000_02071774 kind:function(arm,size=0x58) addr:0x02071774 +_ZN18UnkStruct_027e09a819func_ov000_02071774EP9RefStructiP7VecFx32 kind:function(arm,size=0x58) addr:0x02071774 _ZN18UnkStruct_027e09a819func_ov000_020717ccEiP7VecFx32 kind:function(arm,size=0x48) addr:0x020717cc func_ov000_02071814 kind:function(arm,size=0x58) addr:0x02071814 func_ov000_0207186c kind:function(arm,size=0x68) addr:0x0207186c @@ -1063,7 +1063,7 @@ func_ov000_020719b0 kind:function(arm,size=0xc4) addr:0x020719b0 func_ov000_02071a74 kind:function(arm,size=0xbc) addr:0x02071a74 _ZN18UnkStruct_027e09a819func_ov000_02071b30EiP7VecFx32i kind:function(arm,size=0xa4) addr:0x02071b30 _ZN18UnkStruct_027e09a819func_ov000_02071bd4EiP7VecFx32i kind:function(arm,size=0x90) addr:0x02071bd4 -func_ov000_02071c64 kind:function(arm,size=0x2c) addr:0x02071c64 +_ZN18UnkStruct_027e09a819func_ov000_02071c64Eis kind:function(arm,size=0x2c) addr:0x02071c64 _ZN18UnkStruct_027e09a819func_ov000_02071c90EiP7VecFx32i kind:function(arm,size=0xa4) addr:0x02071c90 _ZN18UnkStruct_027e09a819func_ov000_02071d34EP9RefStructiP7VecFx32i kind:function(arm,size=0xb0) addr:0x02071d34 func_ov000_02071de4 kind:function(arm,size=0xa0) addr:0x02071de4 @@ -1474,7 +1474,7 @@ func_ov000_0207e3ac kind:function(arm,size=0xac) addr:0x0207e3ac _ZN18UnkStruct_027e09c019func_ov000_0207e458EiiP7VecFx32iS1_9RefStruct kind:function(arm,size=0x84) addr:0x0207e458 func_ov000_0207e4dc kind:function(arm,size=0x84) addr:0x0207e4dc func_ov000_0207e560 kind:function(arm,size=0x2c) addr:0x0207e560 -_ZN18UnkStruct_027e09c019func_ov000_0207e58cE9RefStructihP24UnkStruct_ov031_Items_01 kind:function(arm,size=0xa4) addr:0x0207e58c +_ZN18UnkStruct_027e09c019func_ov000_0207e58cE9RefStructijP24UnkStruct_ov031_Items_01 kind:function(arm,size=0xa4) addr:0x0207e58c func_ov000_0207e630 kind:function(arm,size=0x38) addr:0x0207e630 func_ov000_0207e668 kind:function(arm,size=0x50) addr:0x0207e668 func_ov000_0207e6b8 kind:function(arm,size=0x14) addr:0x0207e6b8 @@ -1663,8 +1663,8 @@ _ZN13SkyboxManager13DestroySkyboxEv kind:function(arm,size=0x68) addr:0x0208261c func_ov000_02082684 kind:function(arm,size=0x34) addr:0x02082684 func_ov000_020826b8 kind:function(arm,size=0x90) addr:0x020826b8 _ZN21PlayerLinkActor_A0_3419func_ov000_02082748Ev kind:function(arm,size=0x14) addr:0x02082748 -func_ov000_0208275c kind:function(arm,size=0xa8) addr:0x0208275c -func_ov000_02082804 kind:function(arm,size=0xc8) addr:0x02082804 +_ZN21PlayerLinkActor_A0_3419func_ov000_0208275cE9RefStruct kind:function(arm,size=0xa8) addr:0x0208275c +_ZN21PlayerLinkActor_A0_3419func_ov000_02082804Ev kind:function(arm,size=0xc8) addr:0x02082804 func_ov000_020828cc kind:function(arm,size=0xfc) addr:0x020828cc _ZN18UnkStruct_027e0cdc6CreateEP21UnkStruct_027e0ce0_30 kind:function(thumb,size=0x1a) addr:0x020829c8 func_ov000_020829e4 kind:function(thumb,size=0x14) addr:0x020829e4 @@ -1677,7 +1677,7 @@ _ZN18UnkStruct_027e0cdc19func_ov000_02082a48Ei kind:function(arm,size=0x10) addr func_ov000_02082a58 kind:function(arm,size=0x48) addr:0x02082a58 func_ov000_02082aa0 kind:function(arm,size=0x10) addr:0x02082aa0 func_ov000_02082ab0 kind:function(thumb,size=0x2c) addr:0x02082ab0 -func_ov000_02082adc kind:function(arm,size=0x70) addr:0x02082adc +_ZN18PlayerActorBase_7019func_ov000_02082adcEiiii kind:function(arm,size=0x70) addr:0x02082adc func_ov000_02082b4c kind:function(arm,size=0x68) addr:0x02082b4c func_ov000_02082bb4 kind:function(arm,size=0x1c) addr:0x02082bb4 func_ov000_02082bd0 kind:function(arm,size=0x1c) addr:0x02082bd0 @@ -1729,7 +1729,7 @@ func_ov000_02084684 kind:function(arm,size=0x5c) addr:0x02084684 func_ov000_020846e0 kind:function(arm,size=0x38) addr:0x020846e0 func_ov000_02084718 kind:function(arm,size=0x44) addr:0x02084718 func_ov000_0208475c kind:function(arm,size=0x194) addr:0x0208475c -func_ov000_020848f0 kind:function(arm,size=0x54) addr:0x020848f0 +_ZN16LinkStateBase_2C19func_ov000_020848f0E9RefStruct kind:function(arm,size=0x54) addr:0x020848f0 func_ov000_02084944 kind:function(arm,size=0x68) addr:0x02084944 func_ov000_020849ac kind:function(arm,size=0x24) addr:0x020849ac _ZN18PlayerLinkActor_9C19func_ov000_020849d0EP7VecFx32S1_ kind:function(arm,size=0xf8) addr:0x020849d0 @@ -1803,26 +1803,26 @@ func_ov000_02087f78 kind:function(arm,size=0x50) addr:0x02087f78 func_ov000_02087fc8 kind:function(arm,size=0x98) addr:0x02087fc8 _ZN21UnkStruct_027e0ce0_4019func_ov000_02088060Eb kind:function(arm,size=0x10c) addr:0x02088060 func_ov000_0208816c kind:function(arm,size=0xfc) addr:0x0208816c -_ZN21PlayerLinkActor_A0_0419func_ov000_02088268Ev kind:function(arm,size=0x60) addr:0x02088268 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088268Ev kind:function(arm,size=0x60) addr:0x02088268 func_ov000_020882c8 kind:function(arm,size=0x64) addr:0x020882c8 func_ov000_0208832c kind:function(arm,size=0x20) addr:0x0208832c func_ov000_0208834c kind:function(arm,size=0xdc) addr:0x0208834c func_ov000_02088428 kind:function(arm,size=0x68) addr:0x02088428 func_ov000_02088490 kind:function(arm,size=0x94) addr:0x02088490 -func_ov000_02088524 kind:function(arm,size=0xe4) addr:0x02088524 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088524EijPv kind:function(arm,size=0xe4) addr:0x02088524 func_ov000_02088608 kind:function(arm,size=0xf8) addr:0x02088608 -func_ov000_02088700 kind:function(arm,size=0xb8) addr:0x02088700 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088700EP24UnkStruct_ov000_0208a38c kind:function(arm,size=0xb8) addr:0x02088700 func_ov000_020887b8 kind:function(arm,size=0x30) addr:0x020887b8 func_ov000_020887e8 kind:function(arm,size=0x38) addr:0x020887e8 func_ov000_02088820 kind:function(arm,size=0x14) addr:0x02088820 func_ov000_02088834 kind:function(arm,size=0x20) addr:0x02088834 -func_ov000_02088854 kind:function(arm,size=0x34) addr:0x02088854 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088854Ev kind:function(arm,size=0x34) addr:0x02088854 func_ov000_02088888 kind:function(arm,size=0x40) addr:0x02088888 func_ov000_020888c8 kind:function(arm,size=0x48) addr:0x020888c8 func_ov000_02088910 kind:function(arm,size=0x198) addr:0x02088910 func_ov000_02088aa8 kind:function(arm,size=0x10c) addr:0x02088aa8 func_ov000_02088bb4 kind:function(arm,size=0x15c) addr:0x02088bb4 -func_ov000_02088d10 kind:function(arm,size=0x98) addr:0x02088d10 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088d10EP7VecFx32 kind:function(arm,size=0x98) addr:0x02088d10 func_ov000_02088da8 kind:function(arm,size=0x2c) addr:0x02088da8 func_ov000_02088dd4 kind:function(arm,size=0x24) addr:0x02088dd4 func_ov000_02088df8 kind:function(arm,size=0x34) addr:0x02088df8 @@ -1878,14 +1878,14 @@ _ZN18UnkStruct_027e0ce019func_ov000_0208a218EP13InvImportData kind:function(thum func_ov000_0208a250 kind:function(thumb,size=0x74) addr:0x0208a250 _ZN18UnkStruct_027e0ce019func_ov000_0208a2c4Eii kind:function(arm,size=0x54) addr:0x0208a2c4 _ZN18UnkStruct_027e0ce019func_ov000_0208a318Eiii kind:function(arm,size=0x74) addr:0x0208a318 -func_ov000_0208a38c kind:function(arm,size=0x30) addr:0x0208a38c +_ZN24UnkStruct_ov000_0208a38cC1EPK7VecFx32 kind:function(arm,size=0x30) addr:0x0208a38c func_ov000_0208a3bc kind:function(arm,size=0x328) addr:0x0208a3bc func_ov000_0208a6e4 kind:function(arm,size=0x48) addr:0x0208a6e4 _ZN37UnkStruct_027e0ce0_40_Base_94_50_BaseC2EiiP7RefElemi kind:function(thumb,size=0xe) addr:0x0208a72c func_ov000_0208a73c kind:function(arm,size=0x68) addr:0x0208a73c func_ov000_0208a7a4 kind:function(arm,size=0x28) addr:0x0208a7a4 func_ov000_0208a7cc kind:function(arm,size=0x60) addr:0x0208a7cc -func_ov000_0208a82c kind:function(arm,size=0x198) addr:0x0208a82c +_ZN29UnkStruct_027e0ce0_40_Base_9419func_ov000_0208a82cEiiP7VecFx32 kind:function(arm,size=0x198) addr:0x0208a82c func_ov000_0208a9c4 kind:function(arm,size=0x8c) addr:0x0208a9c4 func_ov000_0208aa50 kind:function(arm,size=0x7c) addr:0x0208aa50 func_ov000_0208aacc kind:function(arm,size=0x50) addr:0x0208aacc @@ -1996,7 +1996,7 @@ func_ov000_0208cda0 kind:function(arm,size=0x68) addr:0x0208cda0 func_ov000_0208ce08 kind:function(arm,size=0x50) addr:0x0208ce08 func_ov000_0208ce58 kind:function(arm,size=0x70) addr:0x0208ce58 func_ov000_0208cec8 kind:function(arm,size=0x58) addr:0x0208cec8 -func_ov000_0208cf20 kind:function(arm,size=0x20c) addr:0x0208cf20 +_ZN15PlayerActorBase19func_ov000_0208cf20Eii kind:function(arm,size=0x20c) addr:0x0208cf20 func_ov000_0208d12c kind:function(arm,size=0x50) addr:0x0208d12c func_ov000_0208d17c kind:function(arm,size=0x60) addr:0x0208d17c func_ov000_0208d1dc kind:function(arm,size=0x58) addr:0x0208d1dc @@ -2028,7 +2028,7 @@ _ZN15PlayerActorBase19func_ov000_0208dc98Ev kind:function(arm,size=0x58) addr:0x _ZN15PlayerActorBase19func_ov000_0208dcf0Ev kind:function(arm,size=0x60) addr:0x0208dcf0 func_ov000_0208dd50 kind:function(arm,size=0x10) addr:0x0208dd50 func_ov000_0208dd60 kind:function(arm,size=0x10) addr:0x0208dd60 -_ZN15PlayerActorBase19func_ov000_0208dd70EiiP6SpherePvi kind:function(arm,size=0x70c) addr:0x0208dd70 +_ZN15PlayerActorBase19func_ov000_0208dd70EiiP6SpherePK7VecFx32i kind:function(arm,size=0x70c) addr:0x0208dd70 func_ov000_0208e47c kind:function(arm,size=0xbc) addr:0x0208e47c _ZN15PlayerActorBase19func_ov000_0208e538Ev kind:function(arm,size=0x10) addr:0x0208e538 _ZN15PlayerActorBase19func_ov000_0208e548EP7VecFx32ii kind:function(arm,size=0x10) addr:0x0208e548 @@ -2041,7 +2041,7 @@ func_ov000_0208e628 kind:function(arm,size=0x4c) addr:0x0208e628 func_ov000_0208e674 kind:function(arm,size=0x54) addr:0x0208e674 func_ov000_0208e6c8 kind:function(arm,size=0x3c) addr:0x0208e6c8 _ZN21PlayerLinkActor_A0_2C19func_ov000_0208e704Ev kind:function(arm,size=0x18) addr:0x0208e704 -func_ov000_0208e71c kind:function(arm,size=0x2c) addr:0x0208e71c +_ZN21PlayerLinkActor_A0_2C19func_ov000_0208e71cEii kind:function(arm,size=0x2c) addr:0x0208e71c func_ov000_0208e748 kind:function(arm,size=0x40) addr:0x0208e748 _ZN24UnkStruct_027e0ce0_1C_08C1Eiii kind:function(thumb,size=0x68) addr:0x0208e788 _ZN19func_ov000_0208e7f0D1Ev kind:function(arm,size=0x14) addr:0x0208e7f0 @@ -2084,18 +2084,18 @@ func_ov000_0208f954 kind:function(arm,size=0x40) addr:0x0208f954 func_ov000_0208f994 kind:function(arm,size=0x11c) addr:0x0208f994 func_ov000_0208fab0 kind:function(arm,size=0x324) addr:0x0208fab0 func_ov000_0208fdd4 kind:function(arm,size=0xc8) addr:0x0208fdd4 -func_ov000_0208fe9c kind:function(arm,size=0x58) addr:0x0208fe9c +_ZN13LinkStateBase19func_ov000_0208fe9cEb kind:function(arm,size=0x58) addr:0x0208fe9c func_ov000_0208fef4 kind:function(arm,size=0x44) addr:0x0208fef4 -func_ov000_0208ff38 kind:function(arm,size=0x154) addr:0x0208ff38 +_ZN13LinkStateBase19func_ov000_0208ff38EiP14UnkAngleStructPv kind:function(arm,size=0x154) addr:0x0208ff38 func_ov000_0209008c kind:function(arm,size=0xc8) addr:0x0209008c func_ov000_02090154 kind:function(arm,size=0x48) addr:0x02090154 _ZN13LinkStateBase8vfunc_00Ev kind:function(arm,size=0x8) addr:0x0209019c func_ov000_020901a4 kind:function(arm,size=0x50) addr:0x020901a4 -func_ov000_020901f4 kind:function(arm,size=0x55c) addr:0x020901f4 +_ZN13LinkStateBase19func_ov000_020901f4EPvi kind:function(arm,size=0x55c) addr:0x020901f4 func_ov000_02090750 kind:function(arm,size=0x3c) addr:0x02090750 -func_ov000_0209078c kind:function(arm,size=0x30) addr:0x0209078c +_ZN13LinkStateBase19func_ov000_0209078cEi kind:function(arm,size=0x30) addr:0x0209078c _ZN13LinkStateBase8vfunc_14Ev kind:function(arm,size=0x4) addr:0x020907bc -_ZN13LinkStateBase8vfunc_18Eiii kind:function(arm,size=0x4) addr:0x020907c0 +_ZN13LinkStateBase8vfunc_18Ei10LinkState_i kind:function(arm,size=0x4) addr:0x020907c0 _ZN13LinkStateBase8vfunc_1CEP7VecFx32 kind:function(arm,size=0x54) addr:0x020907c4 func_ov000_02090818 kind:function(arm,size=0x38) addr:0x02090818 _ZN15LinkStateDamageC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x90) addr:0x02090850 @@ -2104,10 +2104,10 @@ _ZN15LinkStateDamageD0Ev kind:function(arm,size=0x10c) addr:0x020909e4 func_ov000_02090af0 kind:function(arm,size=0x44) addr:0x02090af0 func_ov000_02090b34 kind:function(arm,size=0x50) addr:0x02090b34 func_ov000_02090b84 kind:function(arm,size=0x2c) addr:0x02090b84 -_ZN15LinkStateDamage8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x02090bb0 -_ZN15LinkStateDamage8vfunc_10Eii kind:function(arm,size=0x524) addr:0x02090fe8 +_ZN15LinkStateDamage8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x02090bb0 +_ZN15LinkStateDamage8vfunc_10E10LinkState_i kind:function(arm,size=0x524) addr:0x02090fe8 _ZN15LinkStateDamage8vfunc_14Ev kind:function(arm,size=0x68) addr:0x0209150c -_ZN15LinkStateDamage8vfunc_18Eiii kind:function(arm,size=0x20) addr:0x02091574 +_ZN15LinkStateDamage8vfunc_18Ei10LinkState_i kind:function(arm,size=0x20) addr:0x02091574 _ZN15LinkStateDamage8vfunc_1CEP7VecFx32 kind:function(arm,size=0xb4) addr:0x02091594 func_ov000_02091648 kind:function(arm,size=0x34) addr:0x02091648 func_ov000_0209167c kind:function(arm,size=0x40) addr:0x0209167c @@ -2117,18 +2117,18 @@ func_ov000_020917e8 kind:function(arm,size=0x4c4) addr:0x020917e8 _ZN18PlayerLinkActor_A0C1EP11ItemManagerP21UnkStruct_027e0ce0_40P15PlayerActorBaseP18PlayerLinkActor_9C kind:function(thumb,size=0x1f4) addr:0x02091cac _ZN18PlayerLinkActor_A019func_ov000_02091ea0Ev kind:function(arm,size=0x18) addr:0x02091ea0 func_ov000_02091eb8 kind:function(arm,size=0x50) addr:0x02091eb8 -_ZN18PlayerLinkActor_A019func_ov000_02091f08Ei kind:function(arm,size=0x28) addr:0x02091f08 +_ZN18PlayerLinkActor_A019func_ov000_02091f08E14LinkStateType_ kind:function(arm,size=0x28) addr:0x02091f08 func_ov000_02091f30 kind:function(arm,size=0x164) addr:0x02091f30 func_ov000_02092094 kind:function(arm,size=0x1c) addr:0x02092094 func_ov000_020920b0 kind:function(arm,size=0x34) addr:0x020920b0 func_ov000_020920e4 kind:function(arm,size=0xc4) addr:0x020920e4 func_ov000_020921a8 kind:function(arm,size=0x3c) addr:0x020921a8 -_ZN18PlayerLinkActor_A019func_ov000_020921e4Ei kind:function(arm,size=0x464) addr:0x020921e4 +_ZN18PlayerLinkActor_A019func_ov000_020921e4E10LinkState_ kind:function(arm,size=0x464) addr:0x020921e4 _ZN18PlayerLinkActor_A019func_ov000_02092648Ei kind:function(arm,size=0x7f0) addr:0x02092648 _ZN18PlayerLinkActor_A019func_ov000_02092e38Ev kind:function(arm,size=0x70) addr:0x02092e38 _ZN18PlayerLinkActor_A019func_ov000_02092ea8Eii kind:function(arm,size=0x24) addr:0x02092ea8 _ZN18PlayerLinkActor_A019func_ov000_02092eccEPvb kind:function(arm,size=0x19c) addr:0x02092ecc -func_ov000_02093068 kind:function(arm,size=0x28) addr:0x02093068 +_ZN18PlayerLinkActor_A019func_ov000_02093068Ev kind:function(arm,size=0x28) addr:0x02093068 func_ov000_02093090 kind:function(arm,size=0x28) addr:0x02093090 _ZN18PlayerLinkActor_A019func_ov000_020930b8Eb kind:function(arm,size=0x3c) addr:0x020930b8 func_ov000_020930f4 kind:function(arm,size=0x78) addr:0x020930f4 @@ -2158,13 +2158,13 @@ func_ov000_02093ab0 kind:function(arm,size=0x28) addr:0x02093ab0 _ZN18PlayerLinkActor_A019func_ov000_02093ad8Ev kind:function(arm,size=0x2c) addr:0x02093ad8 func_ov000_02093b04 kind:function(arm,size=0x68) addr:0x02093b04 func_ov000_02093b6c kind:function(arm,size=0x18) addr:0x02093b6c -func_ov000_02093b84 kind:function(arm,size=0xc) addr:0x02093b84 +_ZN18PlayerLinkActor_A019func_ov000_02093b84Ev kind:function(arm,size=0xc) addr:0x02093b84 func_ov000_02093b90 kind:function(arm,size=0x38) addr:0x02093b90 _ZN18PlayerLinkActor_A019func_ov000_02093bc8Ei kind:function(arm,size=0x144) addr:0x02093bc8 _ZN18PlayerLinkActor_A019func_ov000_02093d0cEv kind:function(arm,size=0x34) addr:0x02093d0c func_ov000_02093d40 kind:function(arm,size=0x60) addr:0x02093d40 _ZN18PlayerLinkActor_A019func_ov000_02093da0Eb kind:function(arm,size=0x1b8) addr:0x02093da0 -func_ov000_02093f58 kind:function(arm,size=0x1c) addr:0x02093f58 +_ZN18PlayerLinkActor_A019func_ov000_02093f58Ev kind:function(arm,size=0x1c) addr:0x02093f58 _ZN18PlayerLinkActor_A019func_ov000_02093f74E9RefStruct kind:function(arm,size=0x5c) addr:0x02093f74 _ZN18PlayerLinkActor_A019func_ov000_02093fd0Ev kind:function(arm,size=0x18) addr:0x02093fd0 _ZN18PlayerLinkActor_A019func_ov000_02093fe8Ev kind:function(arm,size=0x2c) addr:0x02093fe8 diff --git a/config/eur/arm9/overlays/ov031/delinks.txt b/config/eur/arm9/overlays/ov031/delinks.txt index f015674cc..950f1a14f 100644 --- a/config/eur/arm9/overlays/ov031/delinks.txt +++ b/config/eur/arm9/overlays/ov031/delinks.txt @@ -138,16 +138,24 @@ src/031_Land/Player/PlayerLinkActor_A0_14_031.cpp: .rodata start:0x02110770 end:0x02110798 src/031_Land/Player/LinkStateGrabbed_031.cpp: + complete .text start:0x020dd384 end:0x020dda80 + .data start:0x02112b84 end:0x02112bac src/031_Land/Player/PlayerLinkActor_A0_031.cpp: + complete .text start:0x020dda80 end:0x020de224 src/031_Land/Player/LinkStateHit_031.cpp: - .text start:0x020de224 end:0x020e0284 + complete + .text start:0x020de224 end:0x020e0278 + .data start:0x02112bac end:0x02112bd4 + .rodata start:0x02110798 end:0x02110874 -src/031_Land/code_020e0284_031.cpp: - .text start:0x020e0284 end:0x020e0624 +src/031_Land/Player/LinkStateHit_BC_031.cpp: + complete + .text start:0x020e0278 end:0x020e0624 + .rodata start:0x02110874 end:0x021108AC src/031_Land/Player/PlayerLinkActor_A0_10_031.cpp: .text start:0x020e0624 end:0x020e096c diff --git a/config/eur/arm9/overlays/ov031/relocs.txt b/config/eur/arm9/overlays/ov031/relocs.txt index f3b9f3a2c..386abc96a 100644 --- a/config/eur/arm9/overlays/ov031/relocs.txt +++ b/config/eur/arm9/overlays/ov031/relocs.txt @@ -535,10 +535,10 @@ from:0x020dd690 kind:arm_call to:0x0208cf20 module:overlay(0) from:0x020dd700 kind:arm_call to:0x020717cc module:overlay(0) from:0x020dd71c kind:arm_call to:0x020dd4c8 module:overlay(31) from:0x020dd748 kind:arm_call to:0x02087ee8 module:overlay(0) -from:0x020dd758 kind:arm_call to:0x021293c8 module:overlay(46) +from:0x020dd758 kind:arm_call to:0x021293c8 module:overlay(45) from:0x020dd774 kind:arm_call to:0x020dd4c8 module:overlay(31) from:0x020dd79c kind:arm_call to:0x02087ee8 module:overlay(0) -from:0x020dd7e0 kind:arm_call to:0x02123510 module:overlays(40,44) +from:0x020dd7e0 kind:arm_call to:0x02123510 module:overlay(44) from:0x020dd7ec kind:load to:0x027e09a8 module:dtcm from:0x020dd7f4 kind:load to:0x020ace80 module:overlay(0) from:0x020dd834 kind:arm_call to:0x0209078c module:overlay(0) @@ -628,29 +628,29 @@ from:0x020de364 kind:arm_call to:0x0207b6c0 module:overlay(0) from:0x020de36c kind:arm_call to:0x0208f8c4 module:overlay(0) from:0x020de374 kind:arm_call to:0x02011ff4 module:main from:0x020de384 kind:load to:0x02112bac add:0x8 module:overlay(31) -from:0x020de448 kind:load to:0x021107a8 module:overlay(31) -from:0x020de44c kind:load to:0x021107a6 module:overlay(31) +from:0x020de448 kind:load to:0x02110798 add:0x10 module:overlay(31) +from:0x020de44c kind:load to:0x02110798 add:0xe module:overlay(31) from:0x020de450 kind:load to:0x02110798 add:4 module:overlay(31) from:0x020de454 kind:load to:0x0203e964 module:main from:0x020de564 kind:arm_call to:0x020de388 module:overlay(31) from:0x020de63c kind:arm_call to:0x020de388 module:overlay(31) -from:0x020de654 kind:load to:0x021107a8 module:overlay(31) +from:0x020de654 kind:load to:0x02110798 add:0x10 module:overlay(31) from:0x020de658 kind:load to:0x02110798 add:4 module:overlay(31) from:0x020de65c kind:load to:0x0203e964 module:main from:0x020de71c kind:arm_call to:0x020de458 module:overlay(31) from:0x020de7d4 kind:arm_call to:0x020de458 module:overlay(31) from:0x020de7f8 kind:load to:0x027e07d4 module:dtcm -from:0x020de7fc kind:load to:0x021107a8 module:overlay(31) +from:0x020de7fc kind:load to:0x02110798 add:0x10 module:overlay(31) from:0x020de800 kind:load to:0x02110798 add:4 module:overlay(31) from:0x020de804 kind:load to:0x0203e964 module:main -from:0x020de808 kind:load to:0x0211079e module:overlay(31) +from:0x020de808 kind:load to:0x02110798 add:0x6 module:overlay(31) from:0x020de858 kind:arm_call to:0x01ffb714 module:itcm from:0x020de898 kind:arm_call to:0x01ffbbe0 module:itcm from:0x020de8a8 kind:arm_call to:0x01ffbbe0 module:itcm from:0x020de8dc kind:arm_call to:0x020de80c module:overlay(31) -from:0x020de938 kind:load to:0x021107a0 module:overlay(31) -from:0x020de93c kind:load to:0x021107a2 module:overlay(31) -from:0x020de940 kind:load to:0x021107a4 module:overlay(31) +from:0x020de938 kind:load to:0x02110798 add:0x8 module:overlay(31) +from:0x020de93c kind:load to:0x02110798 add:0xa module:overlay(31) +from:0x020de940 kind:load to:0x02110798 add:0xc module:overlay(31) from:0x020de96c kind:arm_call to:0x020704c8 module:overlay(0) from:0x020de9fc kind:arm_call to:0x020704c8 module:overlay(0) from:0x020dea54 kind:arm_call to:0x0205d65c module:overlay(0) @@ -730,16 +730,16 @@ from:0x020dfc8c kind:arm_call to:0x020da5ec module:overlay(31) from:0x020dfcac kind:arm_call to:0x01ffe6c4 module:itcm from:0x020dfcc4 kind:arm_call to:0x0207df88 module:overlay(0) from:0x020dfcd4 kind:arm_call to:0x020da5ec module:overlay(31) -from:0x020dfcf0 kind:load to:0x021107ac module:overlay(31) +from:0x020dfcf0 kind:load to:0x02110798 add:0x14 module:overlay(31) from:0x020dfcf8 kind:load to:0x027e09a8 module:dtcm from:0x020dfcfc kind:load to:0x02110798 add:4 module:overlay(31) from:0x020dfd04 kind:load to:0x02158850 module:overlay(82) from:0x020dfd40 kind:load to:0x0203e964 module:main from:0x020dfd44 kind:load to:0x02112b38 add:0x8 module:overlay(31) -from:0x020dfd4c kind:load to:0x0211079e module:overlay(31) -from:0x020dfd50 kind:load to:0x021107a0 module:overlay(31) +from:0x020dfd4c kind:load to:0x02110798 add:0x6 module:overlay(31) +from:0x020dfd50 kind:load to:0x02110798 add:0x8 module:overlay(31) from:0x020dfd58 kind:load to:0x027e09a4 module:dtcm -from:0x020dfd64 kind:load to:0x021107a5 module:overlay(31) +from:0x020dfd64 kind:load to:0x02110798 add:0xd module:overlay(31) from:0x020dfd68 kind:load to:0x027e09c0 module:dtcm from:0x020dfd6c kind:load to:0x027e0ce0 module:dtcm from:0x020dfd70 kind:load to:0x020b539c module:overlay(0) @@ -790,7 +790,7 @@ from:0x020e0620 kind:load to:0x027e0cec module:dtcm from:0x020e064c kind:thumb_call_arm to:0x02011f3c module:main from:0x020e0654 kind:thumb_call to:0x02180920 module:overlay(95) from:0x020e065c kind:thumb_call to:0x020e076c module:overlay(31) -from:0x020e0664 kind:load to:0x02112bdc module:overlay(31) +from:0x020e0664 kind:load to:0x02112bd4 module:overlay(31) add:0x8 from:0x020e0668 kind:load to:0x020b1960 add:0x8 module:overlay(0) from:0x020e066c kind:load to:0x02043e50 module:main from:0x020e0684 kind:thumb_call to:0x02179ba8 module:overlay(95) @@ -801,7 +801,7 @@ from:0x020e06b0 kind:thumb_call to:0x02057b8c module:overlay(0) from:0x020e06b6 kind:thumb_call_arm to:0x02011ff4 module:main from:0x020e06be kind:thumb_call to:0x02057ed4 module:overlay(0) from:0x020e06c4 kind:thumb_call to:0x0208c6d0 module:overlay(0) -from:0x020e06cc kind:load to:0x02112bdc module:overlay(31) +from:0x020e06cc kind:load to:0x02112bd4 module:overlay(31) add:0x8 from:0x020e06d0 kind:load to:0x020e0748 module:overlay(31) from:0x020e06d4 kind:load to:0x020a02d4 module:overlay(0) from:0x020e06ec kind:thumb_call to:0x02179ba8 module:overlay(95) @@ -813,7 +813,7 @@ from:0x020e071e kind:thumb_call_arm to:0x02011ff4 module:main from:0x020e0726 kind:thumb_call to:0x02057ed4 module:overlay(0) from:0x020e072c kind:thumb_call to:0x0208c6d0 module:overlay(0) from:0x020e0732 kind:thumb_call_arm to:0x02011ff4 module:main -from:0x020e073c kind:load to:0x02112bdc module:overlay(31) +from:0x020e073c kind:load to:0x02112bd4 module:overlay(31) add:0x8 from:0x020e0740 kind:load to:0x020e0748 module:overlay(31) from:0x020e0744 kind:load to:0x020a02d4 module:overlay(0) from:0x020e075c kind:arm_call to:0x0203d210 module:main diff --git a/config/eur/arm9/overlays/ov031/symbols.txt b/config/eur/arm9/overlays/ov031/symbols.txt index b4ca870a6..0b73ce201 100644 --- a/config/eur/arm9/overlays/ov031/symbols.txt +++ b/config/eur/arm9/overlays/ov031/symbols.txt @@ -69,19 +69,19 @@ _ZN18UnkStruct_027e0d3411TryItemGiveEi kind:function(arm,size=0x10) addr:0x020d9 _ZN18UnkStruct_027e0d3419func_ov031_020d9844Ev kind:function(arm,size=0x10) addr:0x020d9844 _ZN18UnkStruct_027e0d3419func_ov031_020d9854EP7VecFx32i kind:function(arm,size=0x34) addr:0x020d9854 _ZN18UnkStruct_027e0d3419func_ov031_020d9888EP7VecFx32i14UnkAngleStruct kind:function(arm,size=0x34) addr:0x020d9888 -_ZN18UnkStruct_027e0d3419func_ov031_020d98bcEii kind:function(arm,size=0x1c) addr:0x020d98bc -_ZN18UnkStruct_027e0d3419func_ov031_020d98d8Eii kind:function(arm,size=0x1c) addr:0x020d98d8 +_ZN18UnkStruct_027e0d3419func_ov031_020d98bcEiPK7VecFx32 kind:function(arm,size=0x1c) addr:0x020d98bc +_ZN18UnkStruct_027e0d3419func_ov031_020d98d8EiPK7VecFx32 kind:function(arm,size=0x1c) addr:0x020d98d8 _ZN18UnkStruct_027e0d3419func_ov031_020d98f4EP7VecFx3214UnkAngleStruct kind:function(arm,size=0x2c) addr:0x020d98f4 _ZN18UnkStruct_027e0d3419func_ov031_020d9920EP7VecFx3214UnkAngleStruct kind:function(arm,size=0x2c) addr:0x020d9920 _ZN18UnkStruct_027e0d3419func_ov031_020d994cEv kind:function(arm,size=0x10) addr:0x020d994c _ZN18UnkStruct_027e0d3419func_ov031_020d995cEiii kind:function(arm,size=0x10) addr:0x020d995c _ZN18UnkStruct_027e0d3419func_ov031_020d996cEv kind:function(arm,size=0x10) addr:0x020d996c -_ZN18UnkStruct_027e0d3419func_ov031_020d997cEi kind:function(arm,size=0x30) addr:0x020d997c +_ZN18UnkStruct_027e0d3419func_ov031_020d997cE10LinkState_ kind:function(arm,size=0x30) addr:0x020d997c _ZN18UnkStruct_027e0d3419func_ov031_020d99acEc kind:function(arm,size=0x10) addr:0x020d99ac _ZN18UnkStruct_027e0d3419func_ov031_020d99bcEv kind:function(arm,size=0x10) addr:0x020d99bc _ZN18UnkStruct_027e0d3419func_ov031_020d99ccEv kind:function(arm,size=0x10) addr:0x020d99cc -_ZN18UnkStruct_027e0d3419func_ov031_020d99dcEi kind:function(arm,size=0x10) addr:0x020d99dc -_ZN18UnkStruct_027e0d3419func_ov031_020d99ecEi kind:function(arm,size=0x10) addr:0x020d99ec +_ZN18UnkStruct_027e0d3419func_ov031_020d99dcEiPK7VecFx32 kind:function(arm,size=0x10) addr:0x020d99dc +_ZN18UnkStruct_027e0d3419func_ov031_020d99ecEiPK7VecFx32 kind:function(arm,size=0x10) addr:0x020d99ec _ZN18UnkStruct_027e0d3419func_ov031_020d99fcEi9RefStruct kind:function(arm,size=0x20) addr:0x020d99fc _ZN18UnkStruct_027e0d3419func_ov031_020d9a1cEi kind:function(arm,size=0x18) addr:0x020d9a1c _ZN18UnkStruct_027e0d3419func_ov031_020d9a34Ei kind:function(arm,size=0x18) addr:0x020d9a34 @@ -133,7 +133,7 @@ _ZN18LinkStateDamage_8419func_ov031_020dacdcEb kind:function(arm,size=0xa4) addr _ZN18LinkStateDamage_AC19func_ov031_020dad80Ev kind:function(arm,size=0x18) addr:0x020dad80 _ZN18LinkStateDamage_AC19func_ov031_020dad98Ev kind:function(arm,size=0xa4) addr:0x020dad98 _ZN18LinkStateDamage_AC19func_ov031_020dae3cEv kind:function(arm,size=0x50) addr:0x020dae3c -_ZN18LinkStateDamage_AC19func_ov031_020dae8cEi kind:function(arm,size=0x15c) addr:0x020dae8c +_ZN18LinkStateDamage_AC19func_ov031_020dae8cEP21UnkStruct_027e0ce0_40 kind:function(arm,size=0x15c) addr:0x020dae8c _ZN18LinkStateDamage_AC19func_ov031_020dafe8Eb kind:function(arm,size=0x40) addr:0x020dafe8 _ZN18LinkStateDamage_AC19func_ov031_020db028Ev kind:function(arm,size=0xd4) addr:0x020db028 _ZN19PlayerLinkActor_13419func_ov031_020db0fcEv kind:function(arm,size=0x24) addr:0x020db0fc @@ -190,7 +190,7 @@ _ZN21UnkStruct_027e0ce0_4019func_ov031_020dbf58E11PlayerType_ kind:function(arm, _ZN21UnkStruct_027e0ce0_4019func_ov031_020dbf7cE11PlayerType_ kind:function(arm,size=0x24) addr:0x020dbf7c _ZN21UnkStruct_027e0ce0_4019func_ov031_020dbfa0E11PlayerType_P7VecFx32 kind:function(arm,size=0xb8) addr:0x020dbfa0 _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc058E11PlayerType_P7VecFx3214UnkAngleStruct kind:function(arm,size=0xd4) addr:0x020dc058 -_ZN21UnkStruct_027e0ce0_4019func_ov031_020dc12cE11PlayerType_iiP6SpherePvi kind:function(arm,size=0x90) addr:0x020dc12c +_ZN21UnkStruct_027e0ce0_4019func_ov031_020dc12cE11PlayerType_iiP6SpherePK7VecFx32i kind:function(arm,size=0x90) addr:0x020dc12c _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc1bcE11PlayerType_ii kind:function(arm,size=0x34) addr:0x020dc1bc _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc1f0E11PlayerType_iiP7VecFx32 kind:function(arm,size=0x28) addr:0x020dc1f0 _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc218E9RefStructi kind:function(thumb,size=0x3e) addr:0x020dc218 @@ -233,20 +233,20 @@ _ZN21PlayerLinkActor_A0_1419func_ov031_020dd1a4EbP7VecFx3214UnkAngleStruct kind: _ZN21PlayerLinkActor_A0_148vfunc_08Ev kind:function(arm,size=0xb8) addr:0x020dd274 _ZN21PlayerLinkActor_A0_14D1Ev kind:function(arm,size=0x28) addr:0x020dd32c _ZN21PlayerLinkActor_A0_14D0Ev kind:function(arm,size=0x30) addr:0x020dd354 -func_ov031_020dd384 kind:function(arm,size=0x64) addr:0x020dd384 -_ZN19func_ov031_020dd3e8D1Ev kind:function(arm,size=0x6c) addr:0x020dd3e8 -_ZN19func_ov031_020dd454D0Ev kind:function(arm,size=0x74) addr:0x020dd454 -func_ov031_020dd4c8 kind:function(arm,size=0x20) addr:0x020dd4c8 -func_ov031_020dd4e8 kind:function(arm,size=0x88) addr:0x020dd4e8 -func_ov031_020dd570 kind:function(arm,size=0xd4) addr:0x020dd570 -func_ov031_020dd644 kind:function(arm,size=0x1b4) addr:0x020dd644 -func_ov031_020dd7f8 kind:function(arm,size=0x288) addr:0x020dd7f8 -func_ov031_020dda80 kind:function(arm,size=0x14) addr:0x020dda80 +_ZN16LinkStateGrabbedC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x64) addr:0x020dd384 +_ZN16LinkStateGrabbedD1Ev kind:function(arm,size=0x6c) addr:0x020dd3e8 +_ZN16LinkStateGrabbedD0Ev kind:function(arm,size=0x74) addr:0x020dd454 +_ZN16LinkStateGrabbed19func_ov031_020dd4c8Ev kind:function(arm,size=0x20) addr:0x020dd4c8 +_ZN16LinkStateGrabbed19func_ov031_020dd4e8Ev kind:function(arm,size=0x88) addr:0x020dd4e8 +_ZN16LinkStateGrabbed19func_ov031_020dd570Ev kind:function(arm,size=0xd4) addr:0x020dd570 +_ZN16LinkStateGrabbed8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x1b4) addr:0x020dd644 +_ZN16LinkStateGrabbed8vfunc_10E10LinkState_i kind:function(arm,size=0x288) addr:0x020dd7f8 +_ZN18PlayerLinkActor_A019func_ov031_020dda80Ei kind:function(arm,size=0x14) addr:0x020dda80 _ZN18PlayerLinkActor_A019func_ov031_020dda94Ev kind:function(arm,size=0x5c) addr:0x020dda94 -_ZN18PlayerLinkActor_A019func_ov031_020ddaf0Eii kind:function(arm,size=0x20) addr:0x020ddaf0 -func_ov031_020ddb10 kind:function(arm,size=0xd4) addr:0x020ddb10 -_ZN18PlayerLinkActor_A019func_ov031_020ddbe4EP7VecFx32i14UnkAngleStructi kind:function(arm,size=0x78) addr:0x020ddbe4 -_ZN18PlayerLinkActor_A019func_ov031_020ddc5cEiiii kind:function(arm,size=0x7c) addr:0x020ddc5c +_ZN18PlayerLinkActor_A019func_ov031_020ddaf0Ejj kind:function(arm,size=0x20) addr:0x020ddaf0 +_ZN18PlayerLinkActor_A019func_ov031_020ddb10Ev kind:function(arm,size=0xd4) addr:0x020ddb10 +_ZN18PlayerLinkActor_A019func_ov031_020ddbe4EPK7VecFx32i14UnkAngleStructh kind:function(arm,size=0x78) addr:0x020ddbe4 +_ZN18PlayerLinkActor_A019func_ov031_020ddc5cEiPK7VecFx3210LinkState_S3_ kind:function(arm,size=0x7c) addr:0x020ddc5c _ZN18PlayerLinkActor_A019func_ov031_020ddcd8EP7VecFx3214UnkAngleStruct kind:function(arm,size=0xd0) addr:0x020ddcd8 _ZN18PlayerLinkActor_A019func_ov031_020ddda8EP7VecFx3214UnkAngleStruct kind:function(arm,size=0x50) addr:0x020ddda8 _ZN18PlayerLinkActor_A019func_ov031_020dddf8Ev kind:function(arm,size=0x38) addr:0x020dddf8 @@ -254,35 +254,35 @@ _ZN18PlayerLinkActor_A019func_ov031_020dde30Eiii kind:function(arm,size=0x3c) ad _ZN18PlayerLinkActor_A019func_ov031_020dde6cEv kind:function(arm,size=0xb4) addr:0x020dde6c _ZN18PlayerLinkActor_A019func_ov031_020ddf20Ec kind:function(arm,size=0x24) addr:0x020ddf20 _ZN18PlayerLinkActor_A019func_ov031_020ddf44Ev kind:function(arm,size=0x28) addr:0x020ddf44 -_ZN18PlayerLinkActor_A019func_ov031_020ddf6cEi kind:function(arm,size=0x40) addr:0x020ddf6c -_ZN18PlayerLinkActor_A019func_ov031_020ddfacEi kind:function(arm,size=0x40) addr:0x020ddfac +_ZN18PlayerLinkActor_A019func_ov031_020ddf6cEiPK7VecFx32 kind:function(arm,size=0x40) addr:0x020ddf6c +_ZN18PlayerLinkActor_A019func_ov031_020ddfacEiPK7VecFx32 kind:function(arm,size=0x40) addr:0x020ddfac _ZN18PlayerLinkActor_A019func_ov031_020ddfecEi9RefStruct kind:function(arm,size=0x238) addr:0x020ddfec -func_ov031_020de224 kind:function(arm,size=0xac) addr:0x020de224 -func_ov031_020de2d0 kind:function(arm,size=0x58) addr:0x020de2d0 -_ZN19func_ov031_020de328D0Ev kind:function(arm,size=0x60) addr:0x020de328 -func_ov031_020de388 kind:function(arm,size=0xd0) addr:0x020de388 -func_ov031_020de458 kind:function(arm,size=0x20c) addr:0x020de458 -func_ov031_020de664 kind:function(arm,size=0x1a8) addr:0x020de664 -func_ov031_020de80c kind:function(arm,size=0x2c) addr:0x020de80c -func_ov031_020de838 kind:function(arm,size=0xb4) addr:0x020de838 -func_ov031_020de8ec kind:function(arm,size=0x58) addr:0x020de8ec -func_ov031_020de944 kind:function(arm,size=0x64) addr:0x020de944 -func_ov031_020de9a8 kind:function(arm,size=0xc8) addr:0x020de9a8 -func_ov031_020dea70 kind:function(arm,size=0x100) addr:0x020dea70 -func_ov031_020deb70 kind:function(arm,size=0x388) addr:0x020deb70 -func_ov031_020deef8 kind:function(arm,size=0x1218) addr:0x020deef8 -func_ov031_020e0110 kind:function(arm,size=0x168) addr:0x020e0110 -func_ov031_020e0278 kind:function(arm,size=0xc) addr:0x020e0278 -func_ov031_020e0284 kind:function(arm,size=0xe4) addr:0x020e0284 -func_ov031_020e0368 kind:function(arm,size=0x1e8) addr:0x020e0368 -func_ov031_020e0550 kind:function(arm,size=0xac) addr:0x020e0550 -func_ov031_020e05fc kind:function(arm,size=0x28) addr:0x020e05fc +_ZN12LinkStateHitC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0xac) addr:0x020de224 +_ZN12LinkStateHitD1Ev kind:function(arm,size=0x58) addr:0x020de2d0 +_ZN12LinkStateHitD0Ev kind:function(arm,size=0x60) addr:0x020de328 +_ZN12LinkStateHit19func_ov031_020de388EiP7VecFx32 kind:function(arm,size=0xd0) addr:0x020de388 +_ZN12LinkStateHit19func_ov031_020de458EiP7VecFx32 kind:function(arm,size=0x20c) addr:0x020de458 +_ZN12LinkStateHit19func_ov031_020de664EiP6SphereS1_ kind:function(arm,size=0x1a8) addr:0x020de664 +_ZN12LinkStateHit19func_ov031_020de80cEi kind:function(arm,size=0x2c) addr:0x020de80c +_ZN12LinkStateHit19func_ov031_020de838EP7VecFx32S1_P24UnkStruct_ov031_02112b40 kind:function(arm,size=0xb4) addr:0x020de838 +_ZN12LinkStateHit19func_ov031_020de8ecEi kind:function(arm,size=0x58) addr:0x020de8ec +_ZN12LinkStateHit19func_ov031_020de944E10LinkState_ kind:function(arm,size=0x64) addr:0x020de944 +_ZN12LinkStateHit19func_ov031_020de9a8EPK24UnkStruct_ov000_0208a38c kind:function(arm,size=0xc8) addr:0x020de9a8 +_ZN12LinkStateHit8vfunc_00Ev kind:function(arm,size=0x100) addr:0x020dea70 +_ZN12LinkStateHit8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x388) addr:0x020deb70 +_ZN12LinkStateHit8vfunc_10E10LinkState_i kind:function(arm,size=0x1218) addr:0x020deef8 +_ZN12LinkStateHit19func_ov031_020e0110Eii kind:function(arm,size=0x168) addr:0x020e0110 +_ZN15LinkStateHit_BCC1Ei kind:function(arm,size=0xc) addr:0x020e0278 +_ZN15LinkStateHit_BC19func_ov031_020e0284E14UnkAngleStructiP7VecFx32 kind:function(arm,size=0xe4) addr:0x020e0284 +_ZN15LinkStateHit_BC19func_ov031_020e0368E14UnkAngleStructi kind:function(arm,size=0x1e8) addr:0x020e0368 +_ZN15LinkStateHit_BC19func_ov031_020e0550E14UnkAngleStructi kind:function(arm,size=0xac) addr:0x020e0550 +_ZN15LinkStateHit_BC19func_ov031_020e05fcEv kind:function(arm,size=0x28) addr:0x020e05fc func_ov031_020e0624 kind:function(thumb,size=0x4c) addr:0x020e0624 func_ov031_020e0670 kind:function(thumb,size=0x68) addr:0x020e0670 func_ov031_020e06d8 kind:function(thumb,size=0x70) addr:0x020e06d8 func_ov031_020e0748 kind:function(arm,size=0x24) addr:0x020e0748 _ZN21PlayerLinkActor_A0_1019func_ov031_020e076cEv kind:function(thumb,size=0x64) addr:0x020e076c -func_ov031_020e07d0 kind:function(arm,size=0xb8) addr:0x020e07d0 +_ZN21PlayerLinkActor_A0_1019func_ov031_020e07d0Ev kind:function(arm,size=0xb8) addr:0x020e07d0 func_ov031_020e0888 kind:function(arm,size=0x1c) addr:0x020e0888 func_ov031_020e08a4 kind:function(arm,size=0x50) addr:0x020e08a4 func_ov031_020e08f4 kind:function(arm,size=0x30) addr:0x020e08f4 @@ -1971,18 +1971,10 @@ data_ov031_02110720 kind:data(any) addr:0x02110720 ambiguous data_ov031_02110724 kind:data(any) addr:0x02110724 local data_ov031_02110734 kind:data(any) addr:0x02110734 local data_ov031_02110770 kind:data(any) addr:0x02110770 local -data_ov031_02110798 kind:data(any) addr:0x02110798 -data_ov031_0211079e kind:data(any) addr:0x0211079e -data_ov031_021107a0 kind:data(any) addr:0x021107a0 -data_ov031_021107a2 kind:data(any) addr:0x021107a2 -data_ov031_021107a4 kind:data(any) addr:0x021107a4 -data_ov031_021107a5 kind:data(any) addr:0x021107a5 -data_ov031_021107a6 kind:data(any) addr:0x021107a6 -data_ov031_021107a8 kind:data(any) addr:0x021107a8 -data_ov031_021107ac kind:data(any) addr:0x021107ac -data_ov031_02110874 kind:data(any) addr:0x02110874 -data_ov031_02110886 kind:data(any) addr:0x02110886 -data_ov031_02110898 kind:data(any) addr:0x02110898 +data_ov031_02110798 kind:data(any) addr:0x02110798 local +data_ov031_02110874 kind:data(byte[0x12]) addr:0x02110874 local +data_ov031_02110886 kind:data(byte[0x12]) addr:0x02110886 local +data_ov031_02110898 kind:data(byte[0x12]) addr:0x02110898 local data_ov031_021108ac kind:data(any) addr:0x021108ac data_ov031_021108c0 kind:data(any) addr:0x021108c0 data_ov031_021108d4 kind:data(any) addr:0x021108d4 ambiguous @@ -2236,9 +2228,9 @@ data_ov031_02112b54 kind:data(any) addr:0x02112b54 _ZTV25UnkStruct_027e0ce0_40_108 kind:data(any) addr:0x02112b58 _ZTV30UnkStruct_ItemManager_20_04_08 kind:data(any) addr:0x02112b64 _ZTV21PlayerLinkActor_A0_14 kind:data(any) addr:0x02112b70 -_ZTV19data_ov031_02112b84 kind:data(any) addr:0x02112b84 -_ZTV19data_ov031_02112bac kind:data(any) addr:0x02112bac -data_ov031_02112bdc kind:data(any) addr:0x02112bdc +_ZTV16LinkStateGrabbed kind:data(any) addr:0x02112b84 +_ZTV12LinkStateHit kind:data(any) addr:0x02112bac +_ZTV19data_ov031_02112bdc kind:data(any) addr:0x02112bd4 data_ov031_02112be8 kind:data(any) addr:0x02112be8 local data_ov031_02112c00 kind:data(any) addr:0x02112c00 local data_ov031_02112c38 kind:data(any) addr:0x02112c38 local diff --git a/config/eur/arm9/overlays/ov044/symbols.txt b/config/eur/arm9/overlays/ov044/symbols.txt index 2afff5736..d5f5d083c 100644 --- a/config/eur/arm9/overlays/ov044/symbols.txt +++ b/config/eur/arm9/overlays/ov044/symbols.txt @@ -1,8 +1,8 @@ func_ov044_021234c0 kind:function(arm,size=0x30) addr:0x021234c0 func_ov044_021234f0 kind:function(arm,size=0x10) addr:0x021234f0 func_ov044_02123500 kind:function(arm,size=0x10) addr:0x02123500 -func_ov044_02123510 kind:function(arm,size=0x5c) addr:0x02123510 -func_ov044_0212356c kind:function(arm,size=0xa4) addr:0x0212356c +_ZN16LinkStateGrabbed19func_ov044_02123510Ev kind:function(arm,size=0x5c) addr:0x02123510 +_ZN16LinkStateGrabbed19func_ov044_0212356cEi kind:function(arm,size=0xa4) addr:0x0212356c func_ov044_02123610 kind:function(arm,size=0x14) addr:0x02123610 func_ov044_02123624 kind:function(arm,size=0x14) addr:0x02123624 func_ov044_02123638 kind:function(arm,size=0x160) addr:0x02123638 diff --git a/config/eur/arm9/overlays/ov045/symbols.txt b/config/eur/arm9/overlays/ov045/symbols.txt index 37692f0bd..4e3349a8c 100644 --- a/config/eur/arm9/overlays/ov045/symbols.txt +++ b/config/eur/arm9/overlays/ov045/symbols.txt @@ -149,8 +149,9 @@ _ZN16MapObjectUnkRDSDD1Ev kind:function(arm,size=0x28) addr:0x02129330 _ZN16MapObjectUnkRDSDD0Ev kind:function(arm,size=0x30) addr:0x02129358 _ZN23MapObjectProfileUnkRDSDD1Ev kind:function(arm,size=0x14) addr:0x02129388 _ZN19func_ov045_0212939cD0Ev kind:function(arm,size=0x1c) addr:0x0212939c -func_ov045_021293b8 kind:function(arm,size=0x64) addr:0x021293b8 -func_ov045_0212941c kind:function(arm,size=0xa4) addr:0x0212941c +func_ov045_021293b8 kind:function(arm,size=0x10) addr:0x021293b8 +_ZN16LinkStateGrabbed19func_ov045_021293c8Ev kind:function(arm,size=0x54) addr:0x021293c8 +_ZN16LinkStateGrabbed19func_ov045_0212941cEi kind:function(arm,size=0xa4) addr:0x0212941c data_ov045_021294c0 kind:data(any) addr:0x021294c0 data_ov045_021294d0 kind:data(any) addr:0x021294d0 data_ov045_021294e0 kind:data(any) addr:0x021294e0 diff --git a/config/eur/arm9/overlays/ov053/symbols.txt b/config/eur/arm9/overlays/ov053/symbols.txt index 7cdee5555..ddaa376a4 100644 --- a/config/eur/arm9/overlays/ov053/symbols.txt +++ b/config/eur/arm9/overlays/ov053/symbols.txt @@ -112,7 +112,7 @@ _ZN12ActorUnkRAT019func_ov053_0213c9ccEv kind:function(arm,size=0x84) addr:0x021 _ZN12ActorUnkRAT019func_ov053_0213ca50Ev kind:function(arm,size=0x8c) addr:0x0213ca50 _ZN19ActorProfileUnkRAT0D1Ev kind:function(arm,size=0x14) addr:0x0213cadc _ZN27UnkStruct_ItemManager_20_1419func_ov053_0213caf0Ev kind:function(arm,size=0x98) addr:0x0213caf0 -func_ov053_0213cb88 kind:function(arm,size=0x194) addr:0x0213cb88 +_ZN16LinkStateGrabbed19func_ov053_0213cb88Ev kind:function(arm,size=0x194) addr:0x0213cb88 data_ov053_0213cd1c kind:data(any) addr:0x0213cd1c data_ov053_0213cd2c kind:data(any) addr:0x0213cd2c data_ov053_0213cd3c kind:data(any) addr:0x0213cd3c diff --git a/config/eur/arm9/overlays/ov082/symbols.txt b/config/eur/arm9/overlays/ov082/symbols.txt index 63a400171..39f08559d 100644 --- a/config/eur/arm9/overlays/ov082/symbols.txt +++ b/config/eur/arm9/overlays/ov082/symbols.txt @@ -120,8 +120,8 @@ _ZN19func_ov082_02158548D1Ev kind:function(arm,size=0x14) addr:0x02158548 _ZN19func_ov082_0215855cD0Ev kind:function(arm,size=0x1c) addr:0x0215855c func_ov082_02158578 kind:function(arm,size=0xdc) addr:0x02158578 _ZN18PlayerLinkActor_A019func_ov082_02158654Ev kind:function(arm,size=0x104) addr:0x02158654 -func_ov082_02158758 kind:function(arm,size=0xb8) addr:0x02158758 -func_ov082_02158810 kind:function(arm,size=0x34) addr:0x02158810 +_ZN18PlayerLinkActor_A019func_ov082_02158758Ei kind:function(arm,size=0xb8) addr:0x02158758 +_ZN18PlayerLinkActor_A019func_ov082_02158810Ei kind:function(arm,size=0x34) addr:0x02158810 data_ov082_02158844 kind:data(any) addr:0x02158844 data_ov082_02158848 kind:data(any) addr:0x02158848 data_ov082_0215884c kind:data(any) addr:0x0215884c diff --git a/config/eur/arm9/overlays/ov093/symbols.txt b/config/eur/arm9/overlays/ov093/symbols.txt index ad03fbb46..b3785397c 100644 --- a/config/eur/arm9/overlays/ov093/symbols.txt +++ b/config/eur/arm9/overlays/ov093/symbols.txt @@ -200,7 +200,7 @@ func_ov093_0216e8c4 kind:function(arm,size=0x10) addr:0x0216e8c4 func_ov093_0216e8d4 kind:function(arm,size=0x10) addr:0x0216e8d4 func_ov093_0216e8e4 kind:function(arm,size=0x10) addr:0x0216e8e4 func_ov093_0216e8f4 kind:function(arm,size=0x1d0) addr:0x0216e8f4 -_ZN15PlayerActorBase19func_ov093_0216eac4EiiP6SpherePvi kind:function(arm,size=0x7d0) addr:0x0216eac4 +_ZN15PlayerActorBase19func_ov093_0216eac4EiiP6SpherePK7VecFx32i kind:function(arm,size=0x7d0) addr:0x0216eac4 func_ov093_0216f294 kind:function(arm,size=0x10) addr:0x0216f294 _ZN15PlayerActorBase19func_ov093_0216f2a4Ev kind:function(arm,size=0x10) addr:0x0216f2a4 func_ov093_0216f2b4 kind:function(arm,size=0x84) addr:0x0216f2b4 diff --git a/config/eur/arm9/overlays/ov108/symbols.txt b/config/eur/arm9/overlays/ov108/symbols.txt index 730b66185..0534ac414 100644 --- a/config/eur/arm9/overlays/ov108/symbols.txt +++ b/config/eur/arm9/overlays/ov108/symbols.txt @@ -27,7 +27,7 @@ _ZN19func_ov108_02185228D0Ev kind:function(arm,size=0x88) addr:0x02185228 func_ov108_021852b0 kind:function(arm,size=0x16c) addr:0x021852b0 func_ov108_0218541c kind:function(arm,size=0x2e0) addr:0x0218541c func_ov108_021856fc kind:function(arm,size=0x54) addr:0x021856fc -func_ov108_02185750 kind:function(arm,size=0x1c) addr:0x02185750 +_ZN21LinkStateItemPanFlute19func_ov108_02185750Eiii kind:function(arm,size=0x1c) addr:0x02185750 func_ov108_0218576c kind:function(arm,size=0x78) addr:0x0218576c func_ov108_021857e4 kind:function(arm,size=0x40) addr:0x021857e4 _ZN19func_ov108_02185824D1Ev kind:function(arm,size=0x30) addr:0x02185824 diff --git a/config/eur/arm9/overlays/ov110/symbols.txt b/config/eur/arm9/overlays/ov110/symbols.txt index 5fea057ea..32d1ab91b 100644 --- a/config/eur/arm9/overlays/ov110/symbols.txt +++ b/config/eur/arm9/overlays/ov110/symbols.txt @@ -3,9 +3,9 @@ _ZN22UnkStruct_PlayerGet_748vfunc_00Eii kind:function(arm,size=0x30) addr:0x0218 _ZN9PlayerGetC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0xa0) addr:0x02184ddc _ZN9PlayerGetD1Ev kind:function(arm,size=0xc4) addr:0x02184e7c _ZN9PlayerGetD0Ev kind:function(arm,size=0xcc) addr:0x02184f40 -_ZN9PlayerGet8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x5d8) addr:0x0218500c -_ZN9PlayerGet8vfunc_10Eii kind:function(arm,size=0x6d0) addr:0x021855e4 -_ZN9PlayerGet8vfunc_18Eiii kind:function(arm,size=0x7c) addr:0x02185cb4 +_ZN9PlayerGet8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x5d8) addr:0x0218500c +_ZN9PlayerGet8vfunc_10E10LinkState_i kind:function(arm,size=0x6d0) addr:0x021855e4 +_ZN9PlayerGet8vfunc_18Ei10LinkState_i kind:function(arm,size=0x7c) addr:0x02185cb4 _ZN22UnkStruct_PlayerGet_ecC1Ev kind:function(arm,size=0xc) addr:0x02185d30 _ZN21UnkStruct_027e0ce0_3419func_ov110_02185d3cEi kind:function(thumb,size=0x66) addr:0x02185d3c _ZN11ItemManager16GetBmgIDFromItemEi kind:function(arm,size=0x10) addr:0x02185da4 diff --git a/config/eur/arm9/overlays/ov112/symbols.txt b/config/eur/arm9/overlays/ov112/symbols.txt index 42535b2e4..bf6013c83 100644 --- a/config/eur/arm9/overlays/ov112/symbols.txt +++ b/config/eur/arm9/overlays/ov112/symbols.txt @@ -2,12 +2,12 @@ _ZN17PlayerSceneChangeC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0xc4) a _ZN17PlayerSceneChangeD1Ev kind:function(arm,size=0x58) addr:0x02184b04 _ZN17PlayerSceneChangeD0Ev kind:function(arm,size=0x60) addr:0x02184b5c _ZN17PlayerSceneChange19func_ov112_02184bbcEs kind:function(arm,size=0x58) addr:0x02184bbc -_ZN17PlayerSceneChange8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0xb68) addr:0x02184c14 -_ZN17PlayerSceneChange8vfunc_10Eii kind:function(arm,size=0x80c) addr:0x0218577c +_ZN17PlayerSceneChange8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0xb68) addr:0x02184c14 +_ZN17PlayerSceneChange8vfunc_10E10LinkState_i kind:function(arm,size=0x80c) addr:0x0218577c _ZN17PlayerSceneChange8vfunc_1CEP7VecFx32 kind:function(arm,size=0x84) addr:0x02185f88 _ZN18PlayerSceneChange2C1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x40) addr:0x0218600c -_ZN18PlayerSceneChange28vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x25c) addr:0x0218604c -_ZN18PlayerSceneChange28vfunc_10Eii kind:function(arm,size=0x208) addr:0x021862a8 +_ZN18PlayerSceneChange28vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x25c) addr:0x0218604c +_ZN18PlayerSceneChange28vfunc_10E10LinkState_i kind:function(arm,size=0x208) addr:0x021862a8 _ZN18PlayerSceneChange2D1Ev kind:function(arm,size=0x14) addr:0x021864b0 _ZN18PlayerSceneChange2D0Ev kind:function(arm,size=0x1c) addr:0x021864c4 _ZTV17PlayerSceneChange kind:data(any) addr:0x02186500 diff --git a/config/eur1/arm9/overlays/ov000/symbols.txt b/config/eur1/arm9/overlays/ov000/symbols.txt index b508b29c7..6df08c44e 100644 --- a/config/eur1/arm9/overlays/ov000/symbols.txt +++ b/config/eur1/arm9/overlays/ov000/symbols.txt @@ -1052,7 +1052,7 @@ func_ov000_02071688 kind:function(arm,size=0x54) addr:0x020716bc _ZN18UnkStruct_027e09a819func_ov000_020716dcEi kind:function(arm,size=0x24) addr:0x02071710 _ZN18UnkStruct_027e09a819func_ov000_02071700EiP7VecFx32 kind:function(arm,size=0x48) addr:0x02071734 func_ov000_02071748 kind:function(arm,size=0x2c) addr:0x0207177c -func_ov000_02071774 kind:function(arm,size=0x58) addr:0x020717a8 +_ZN18UnkStruct_027e09a819func_ov000_02071774EP9RefStructiP7VecFx32 kind:function(arm,size=0x58) addr:0x020717a8 _ZN18UnkStruct_027e09a819func_ov000_020717ccEiP7VecFx32 kind:function(arm,size=0x48) addr:0x02071800 func_ov000_02071814 kind:function(arm,size=0x58) addr:0x02071848 func_ov000_0207186c kind:function(arm,size=0x68) addr:0x020718a0 @@ -1063,7 +1063,7 @@ func_ov000_020719b0 kind:function(arm,size=0xc4) addr:0x020719e4 func_ov000_02071a74 kind:function(arm,size=0xbc) addr:0x02071aa8 _ZN18UnkStruct_027e09a819func_ov000_02071b30EiP7VecFx32i kind:function(arm,size=0xa4) addr:0x02071b64 _ZN18UnkStruct_027e09a819func_ov000_02071bd4EiP7VecFx32i kind:function(arm,size=0x90) addr:0x02071c08 -func_ov000_02071c64 kind:function(arm,size=0x2c) addr:0x02071c98 +_ZN18UnkStruct_027e09a819func_ov000_02071c64Eis kind:function(arm,size=0x2c) addr:0x02071c98 _ZN18UnkStruct_027e09a819func_ov000_02071c90EiP7VecFx32i kind:function(arm,size=0xa4) addr:0x02071cc4 _ZN18UnkStruct_027e09a819func_ov000_02071d34EP9RefStructiP7VecFx32i kind:function(arm,size=0xb0) addr:0x02071d68 func_ov000_02071de4 kind:function(arm,size=0xa0) addr:0x02071e18 @@ -1474,7 +1474,7 @@ func_ov000_0207e3ac kind:function(arm,size=0xac) addr:0x0207e3e0 _ZN18UnkStruct_027e09c019func_ov000_0207e458EiiP7VecFx32iS1_9RefStruct kind:function(arm,size=0x84) addr:0x0207e48c func_ov000_0207e4dc kind:function(arm,size=0x84) addr:0x0207e510 func_ov000_0207e560 kind:function(arm,size=0x2c) addr:0x0207e594 -_ZN18UnkStruct_027e09c019func_ov000_0207e58cE9RefStructihP24UnkStruct_ov031_Items_01 kind:function(arm,size=0xa4) addr:0x0207e5c0 +_ZN18UnkStruct_027e09c019func_ov000_0207e58cE9RefStructijP24UnkStruct_ov031_Items_01 kind:function(arm,size=0xa4) addr:0x0207e5c0 func_ov000_0207e630 kind:function(arm,size=0x38) addr:0x0207e664 func_ov000_0207e668 kind:function(arm,size=0x50) addr:0x0207e69c func_ov000_0207e6b8 kind:function(arm,size=0x14) addr:0x0207e6ec @@ -1663,8 +1663,8 @@ _ZN13SkyboxManager13DestroySkyboxEv kind:function(arm,size=0x68) addr:0x02082650 func_ov000_02082684 kind:function(arm,size=0x34) addr:0x020826b8 func_ov000_020826b8 kind:function(arm,size=0x90) addr:0x020826ec _ZN21PlayerLinkActor_A0_3419func_ov000_02082748Ev kind:function(arm,size=0x14) addr:0x0208277c -func_ov000_0208275c kind:function(arm,size=0xa8) addr:0x02082790 -func_ov000_02082804 kind:function(arm,size=0xc8) addr:0x02082838 +_ZN21PlayerLinkActor_A0_3419func_ov000_0208275cE9RefStruct kind:function(arm,size=0xa8) addr:0x02082790 +_ZN21PlayerLinkActor_A0_3419func_ov000_02082804Ev kind:function(arm,size=0xc8) addr:0x02082838 func_ov000_020828cc kind:function(arm,size=0xfc) addr:0x02082900 _ZN18UnkStruct_027e0cdc6CreateEP21UnkStruct_027e0ce0_30 kind:function(thumb,size=0x1a) addr:0x020829fc func_ov000_020829e4 kind:function(thumb,size=0x14) addr:0x02082a18 @@ -1677,7 +1677,7 @@ _ZN18UnkStruct_027e0cdc19func_ov000_02082a48Ei kind:function(arm,size=0x10) addr func_ov000_02082a58 kind:function(arm,size=0x48) addr:0x02082a8c func_ov000_02082aa0 kind:function(arm,size=0x10) addr:0x02082ad4 func_ov000_02082ab0 kind:function(thumb,size=0x2c) addr:0x02082ae4 -func_ov000_02082adc kind:function(arm,size=0x70) addr:0x02082b10 +_ZN18PlayerActorBase_7019func_ov000_02082adcEiiii kind:function(arm,size=0x70) addr:0x02082b10 func_ov000_02082b4c kind:function(arm,size=0x68) addr:0x02082b80 func_ov000_02082bb4 kind:function(arm,size=0x1c) addr:0x02082be8 func_ov000_02082bd0 kind:function(arm,size=0x1c) addr:0x02082c04 @@ -1729,7 +1729,7 @@ func_ov000_02084684 kind:function(arm,size=0x5c) addr:0x020846cc func_ov000_020846e0 kind:function(arm,size=0x38) addr:0x02084728 func_ov000_02084718 kind:function(arm,size=0x44) addr:0x02084760 func_ov000_0208475c kind:function(arm,size=0x194) addr:0x020847a4 -func_ov000_020848f0 kind:function(arm,size=0x54) addr:0x02084938 +_ZN16LinkStateBase_2C19func_ov000_020848f0E9RefStruct kind:function(arm,size=0x54) addr:0x02084938 func_ov000_02084944 kind:function(arm,size=0x68) addr:0x0208498c func_ov000_020849ac kind:function(arm,size=0x24) addr:0x020849f4 _ZN18PlayerLinkActor_9C19func_ov000_020849d0EP7VecFx32S1_ kind:function(arm,size=0xf8) addr:0x02084a18 @@ -1803,26 +1803,26 @@ func_ov000_02087f78 kind:function(arm,size=0x50) addr:0x02087fc4 func_ov000_02087fc8 kind:function(arm,size=0x98) addr:0x02088014 _ZN21UnkStruct_027e0ce0_4019func_ov000_02088060Eb kind:function(arm,size=0x10c) addr:0x020880ac func_ov000_0208816c kind:function(arm,size=0xfc) addr:0x020881b8 -_ZN21PlayerLinkActor_A0_0419func_ov000_02088268Ev kind:function(arm,size=0x60) addr:0x020882b4 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088268Ev kind:function(arm,size=0x60) addr:0x020882b4 func_ov000_020882c8 kind:function(arm,size=0x64) addr:0x02088314 func_ov000_0208832c kind:function(arm,size=0x20) addr:0x02088378 func_ov000_0208834c kind:function(arm,size=0xdc) addr:0x02088398 func_ov000_02088428 kind:function(arm,size=0x68) addr:0x02088474 func_ov000_02088490 kind:function(arm,size=0x94) addr:0x020884dc -func_ov000_02088524 kind:function(arm,size=0xe4) addr:0x02088570 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088524EijPv kind:function(arm,size=0xe4) addr:0x02088570 func_ov000_02088608 kind:function(arm,size=0xf8) addr:0x02088654 -func_ov000_02088700 kind:function(arm,size=0xb8) addr:0x0208874c +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088700EP24UnkStruct_ov000_0208a38c kind:function(arm,size=0xb8) addr:0x0208874c func_ov000_020887b8 kind:function(arm,size=0x30) addr:0x02088804 func_ov000_020887e8 kind:function(arm,size=0x38) addr:0x02088834 func_ov000_02088820 kind:function(arm,size=0x14) addr:0x0208886c func_ov000_02088834 kind:function(arm,size=0x20) addr:0x02088880 -func_ov000_02088854 kind:function(arm,size=0x34) addr:0x020888a0 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088854Ev kind:function(arm,size=0x34) addr:0x020888a0 func_ov000_02088888 kind:function(arm,size=0x40) addr:0x020888d4 func_ov000_020888c8 kind:function(arm,size=0x48) addr:0x02088914 func_ov000_02088910 kind:function(arm,size=0x198) addr:0x0208895c func_ov000_02088aa8 kind:function(arm,size=0x10c) addr:0x02088af4 func_ov000_02088bb4 kind:function(arm,size=0x15c) addr:0x02088c00 -func_ov000_02088d10 kind:function(arm,size=0x98) addr:0x02088d5c +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088d10EP7VecFx32 kind:function(arm,size=0x98) addr:0x02088d5c func_ov000_02088da8 kind:function(arm,size=0x2c) addr:0x02088df4 func_ov000_02088dd4 kind:function(arm,size=0x24) addr:0x02088e20 func_ov000_02088df8 kind:function(arm,size=0x34) addr:0x02088e44 @@ -1878,14 +1878,14 @@ _ZN18UnkStruct_027e0ce019func_ov000_0208a218EP13InvImportData kind:function(thum func_ov000_0208a250 kind:function(thumb,size=0x74) addr:0x0208a29c _ZN18UnkStruct_027e0ce019func_ov000_0208a2c4Eii kind:function(arm,size=0x54) addr:0x0208a310 _ZN18UnkStruct_027e0ce019func_ov000_0208a318Eiii kind:function(arm,size=0x74) addr:0x0208a364 -func_ov000_0208a38c kind:function(arm,size=0x30) addr:0x0208a3d8 +_ZN24UnkStruct_ov000_0208a38cC1EPK7VecFx32 kind:function(arm,size=0x30) addr:0x0208a3d8 func_ov000_0208a3bc kind:function(arm,size=0x328) addr:0x0208a408 func_ov000_0208a6e4 kind:function(arm,size=0x48) addr:0x0208a730 _ZN37UnkStruct_027e0ce0_40_Base_94_50_BaseC2EiiP7RefElemi kind:function(thumb,size=0xe) addr:0x0208a778 func_ov000_0208a73c kind:function(arm,size=0x68) addr:0x0208a788 func_ov000_0208a7a4 kind:function(arm,size=0x28) addr:0x0208a7f0 func_ov000_0208a7cc kind:function(arm,size=0x60) addr:0x0208a818 -func_ov000_0208a82c kind:function(arm,size=0x198) addr:0x0208a878 +_ZN29UnkStruct_027e0ce0_40_Base_9419func_ov000_0208a82cEiiP7VecFx32 kind:function(arm,size=0x198) addr:0x0208a878 func_ov000_0208a9c4 kind:function(arm,size=0x8c) addr:0x0208aa10 func_ov000_0208aa50 kind:function(arm,size=0x7c) addr:0x0208aa9c func_ov000_0208aacc kind:function(arm,size=0x50) addr:0x0208ab18 @@ -1996,7 +1996,7 @@ func_ov000_0208cda0 kind:function(arm,size=0x68) addr:0x0208cdf0 func_ov000_0208ce08 kind:function(arm,size=0x50) addr:0x0208ce58 func_ov000_0208ce58 kind:function(arm,size=0x70) addr:0x0208cea8 func_ov000_0208cec8 kind:function(arm,size=0x58) addr:0x0208cf18 -func_ov000_0208cf20 kind:function(arm,size=0x210) addr:0x0208cf70 +_ZN15PlayerActorBase19func_ov000_0208cf20Eii kind:function(arm,size=0x210) addr:0x0208cf70 func_ov000_0208d12c kind:function(arm,size=0x50) addr:0x0208d180 func_ov000_0208d17c kind:function(arm,size=0x60) addr:0x0208d1d0 func_ov000_0208d1dc kind:function(arm,size=0x58) addr:0x0208d230 @@ -2028,7 +2028,7 @@ _ZN15PlayerActorBase19func_ov000_0208dc98Ev kind:function(arm,size=0x58) addr:0x _ZN15PlayerActorBase19func_ov000_0208dcf0Ev kind:function(arm,size=0x60) addr:0x0208dd44 func_ov000_0208dd50 kind:function(arm,size=0x10) addr:0x0208dda4 func_ov000_0208dd60 kind:function(arm,size=0x10) addr:0x0208ddb4 -_ZN15PlayerActorBase19func_ov000_0208dd70EiiP6SpherePvi kind:function(arm,size=0x70c) addr:0x0208ddc4 +_ZN15PlayerActorBase19func_ov000_0208dd70EiiP6SpherePK7VecFx32i kind:function(arm,size=0x70c) addr:0x0208ddc4 func_ov000_0208e47c kind:function(arm,size=0xbc) addr:0x0208e4d0 _ZN15PlayerActorBase19func_ov000_0208e538Ev kind:function(arm,size=0x10) addr:0x0208e58c _ZN15PlayerActorBase19func_ov000_0208e548EP7VecFx32ii kind:function(arm,size=0x10) addr:0x0208e59c @@ -2041,7 +2041,7 @@ func_ov000_0208e628 kind:function(arm,size=0x4c) addr:0x0208e67c func_ov000_0208e674 kind:function(arm,size=0x54) addr:0x0208e6c8 func_ov000_0208e6c8 kind:function(arm,size=0x3c) addr:0x0208e71c _ZN21PlayerLinkActor_A0_2C19func_ov000_0208e704Ev kind:function(arm,size=0x18) addr:0x0208e758 -func_ov000_0208e71c kind:function(arm,size=0x2c) addr:0x0208e770 +_ZN21PlayerLinkActor_A0_2C19func_ov000_0208e71cEii kind:function(arm,size=0x2c) addr:0x0208e770 func_ov000_0208e748 kind:function(arm,size=0x40) addr:0x0208e79c _ZN24UnkStruct_027e0ce0_1C_08C1Eiii kind:function(thumb,size=0x68) addr:0x0208e7dc _ZN19func_ov000_0208e7f0D1Ev kind:function(arm,size=0x14) addr:0x0208e844 @@ -2084,18 +2084,18 @@ func_ov000_0208f954 kind:function(arm,size=0x40) addr:0x0208f9a8 func_ov000_0208f994 kind:function(arm,size=0x11c) addr:0x0208f9e8 func_ov000_0208fab0 kind:function(arm,size=0x324) addr:0x0208fb04 func_ov000_0208fdd4 kind:function(arm,size=0xc8) addr:0x0208fe28 -func_ov000_0208fe9c kind:function(arm,size=0x58) addr:0x0208fef0 +_ZN13LinkStateBase19func_ov000_0208fe9cEb kind:function(arm,size=0x58) addr:0x0208fef0 func_ov000_0208fef4 kind:function(arm,size=0x44) addr:0x0208ff48 -func_ov000_0208ff38 kind:function(arm,size=0x154) addr:0x0208ff8c +_ZN13LinkStateBase19func_ov000_0208ff38EiP14UnkAngleStructPv kind:function(arm,size=0x154) addr:0x0208ff8c func_ov000_0209008c kind:function(arm,size=0xc8) addr:0x020900e0 func_ov000_02090154 kind:function(arm,size=0x48) addr:0x020901a8 _ZN13LinkStateBase8vfunc_00Ev kind:function(arm,size=0x8) addr:0x020901f0 func_ov000_020901a4 kind:function(arm,size=0x50) addr:0x020901f8 -func_ov000_020901f4 kind:function(arm,size=0x55c) addr:0x02090248 +_ZN13LinkStateBase19func_ov000_020901f4EPvi kind:function(arm,size=0x55c) addr:0x02090248 func_ov000_02090750 kind:function(arm,size=0x3c) addr:0x020907a4 -func_ov000_0209078c kind:function(arm,size=0x30) addr:0x020907e0 +_ZN13LinkStateBase19func_ov000_0209078cEi kind:function(arm,size=0x30) addr:0x020907e0 _ZN13LinkStateBase8vfunc_14Ev kind:function(arm,size=0x4) addr:0x02090810 -_ZN13LinkStateBase8vfunc_18Eiii kind:function(arm,size=0x4) addr:0x02090814 +_ZN13LinkStateBase8vfunc_18Ei10LinkState_i kind:function(arm,size=0x4) addr:0x02090814 _ZN13LinkStateBase8vfunc_1CEP7VecFx32 kind:function(arm,size=0x54) addr:0x02090818 func_ov000_02090818 kind:function(arm,size=0x38) addr:0x0209086c _ZN15LinkStateDamageC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x90) addr:0x020908a4 @@ -2104,10 +2104,10 @@ _ZN15LinkStateDamageD0Ev kind:function(arm,size=0x10c) addr:0x02090a38 func_ov000_02090af0 kind:function(arm,size=0x44) addr:0x02090b44 func_ov000_02090b34 kind:function(arm,size=0x50) addr:0x02090b88 func_ov000_02090b84 kind:function(arm,size=0x2c) addr:0x02090bd8 -_ZN15LinkStateDamage8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x02090c04 -_ZN15LinkStateDamage8vfunc_10Eii kind:function(arm,size=0x524) addr:0x0209103c +_ZN15LinkStateDamage8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x02090c04 +_ZN15LinkStateDamage8vfunc_10E10LinkState_i kind:function(arm,size=0x524) addr:0x0209103c _ZN15LinkStateDamage8vfunc_14Ev kind:function(arm,size=0x68) addr:0x02091560 -_ZN15LinkStateDamage8vfunc_18Eiii kind:function(arm,size=0x20) addr:0x020915c8 +_ZN15LinkStateDamage8vfunc_18Ei10LinkState_i kind:function(arm,size=0x20) addr:0x020915c8 _ZN15LinkStateDamage8vfunc_1CEP7VecFx32 kind:function(arm,size=0xb4) addr:0x020915e8 func_ov000_02091648 kind:function(arm,size=0x34) addr:0x0209169c func_ov000_0209167c kind:function(arm,size=0x40) addr:0x020916d0 @@ -2117,18 +2117,18 @@ func_ov000_020917e8 kind:function(arm,size=0x4c4) addr:0x0209183c _ZN18PlayerLinkActor_A0C1EP11ItemManagerP21UnkStruct_027e0ce0_40P15PlayerActorBaseP18PlayerLinkActor_9C kind:function(thumb,size=0x1f4) addr:0x02091d00 _ZN18PlayerLinkActor_A019func_ov000_02091ea0Ev kind:function(arm,size=0x18) addr:0x02091ef4 func_ov000_02091eb8 kind:function(arm,size=0x50) addr:0x02091f0c -_ZN18PlayerLinkActor_A019func_ov000_02091f08Ei kind:function(arm,size=0x28) addr:0x02091f5c +_ZN18PlayerLinkActor_A019func_ov000_02091f08E14LinkStateType_ kind:function(arm,size=0x28) addr:0x02091f5c func_ov000_02091f30 kind:function(arm,size=0x164) addr:0x02091f84 func_ov000_02092094 kind:function(arm,size=0x1c) addr:0x020920e8 func_ov000_020920b0 kind:function(arm,size=0x34) addr:0x02092104 func_ov000_020920e4 kind:function(arm,size=0xc4) addr:0x02092138 func_ov000_020921a8 kind:function(arm,size=0x3c) addr:0x020921fc -_ZN18PlayerLinkActor_A019func_ov000_020921e4Ei kind:function(arm,size=0x464) addr:0x02092238 +_ZN18PlayerLinkActor_A019func_ov000_020921e4E10LinkState_ kind:function(arm,size=0x464) addr:0x02092238 _ZN18PlayerLinkActor_A019func_ov000_02092648Ei kind:function(arm,size=0x7f0) addr:0x0209269c _ZN18PlayerLinkActor_A019func_ov000_02092e38Ev kind:function(arm,size=0x70) addr:0x02092e8c _ZN18PlayerLinkActor_A019func_ov000_02092ea8Eii kind:function(arm,size=0x24) addr:0x02092efc _ZN18PlayerLinkActor_A019func_ov000_02092eccEPvb kind:function(arm,size=0x19c) addr:0x02092f20 -func_ov000_02093068 kind:function(arm,size=0x28) addr:0x020930bc +_ZN18PlayerLinkActor_A019func_ov000_02093068Ev kind:function(arm,size=0x28) addr:0x020930bc func_ov000_02093090 kind:function(arm,size=0x28) addr:0x020930e4 _ZN18PlayerLinkActor_A019func_ov000_020930b8Eb kind:function(arm,size=0x3c) addr:0x0209310c func_ov000_020930f4 kind:function(arm,size=0x78) addr:0x02093148 @@ -2158,13 +2158,13 @@ func_ov000_02093ab0 kind:function(arm,size=0x28) addr:0x02093b04 _ZN18PlayerLinkActor_A019func_ov000_02093ad8Ev kind:function(arm,size=0x2c) addr:0x02093b2c func_ov000_02093b04 kind:function(arm,size=0x68) addr:0x02093b58 func_ov000_02093b6c kind:function(arm,size=0x18) addr:0x02093bc0 -func_ov000_02093b84 kind:function(arm,size=0xc) addr:0x02093bd8 +_ZN18PlayerLinkActor_A019func_ov000_02093b84Ev kind:function(arm,size=0xc) addr:0x02093bd8 func_ov000_02093b90 kind:function(arm,size=0x38) addr:0x02093be4 _ZN18PlayerLinkActor_A019func_ov000_02093bc8Ei kind:function(arm,size=0x144) addr:0x02093c1c _ZN18PlayerLinkActor_A019func_ov000_02093d0cEv kind:function(arm,size=0x34) addr:0x02093d60 func_ov000_02093d40 kind:function(arm,size=0x60) addr:0x02093d94 _ZN18PlayerLinkActor_A019func_ov000_02093da0Eb kind:function(arm,size=0x1b8) addr:0x02093df4 -func_ov000_02093f58 kind:function(arm,size=0x1c) addr:0x02093fac +_ZN18PlayerLinkActor_A019func_ov000_02093f58Ev kind:function(arm,size=0x1c) addr:0x02093fac _ZN18PlayerLinkActor_A019func_ov000_02093f74E9RefStruct kind:function(arm,size=0x5c) addr:0x02093fc8 _ZN18PlayerLinkActor_A019func_ov000_02093fd0Ev kind:function(arm,size=0x18) addr:0x02094024 _ZN18PlayerLinkActor_A019func_ov000_02093fe8Ev kind:function(arm,size=0x2c) addr:0x0209403c diff --git a/config/eur1/arm9/overlays/ov031/relocs.txt b/config/eur1/arm9/overlays/ov031/relocs.txt index bb3f33094..371a8a726 100644 --- a/config/eur1/arm9/overlays/ov031/relocs.txt +++ b/config/eur1/arm9/overlays/ov031/relocs.txt @@ -535,7 +535,7 @@ from:0x020dd7b0 kind:arm_call to:0x0208cf70 module:overlay(0) from:0x020dd820 kind:arm_call to:0x02071800 module:overlay(0) from:0x020dd83c kind:arm_call to:0x020dd5e8 module:overlay(31) from:0x020dd868 kind:arm_call to:0x02087f34 module:overlay(0) -from:0x020dd878 kind:arm_call to:0x02129508 module:overlay(46) +from:0x020dd878 kind:arm_call to:0x02129508 module:overlay(45) from:0x020dd894 kind:arm_call to:0x020dd5e8 module:overlay(31) from:0x020dd8bc kind:arm_call to:0x02087f34 module:overlay(0) from:0x020dd900 kind:arm_call to:0x02123650 module:overlays(40,44) diff --git a/config/eur1/arm9/overlays/ov031/symbols.txt b/config/eur1/arm9/overlays/ov031/symbols.txt index 297231271..f54cf2861 100644 --- a/config/eur1/arm9/overlays/ov031/symbols.txt +++ b/config/eur1/arm9/overlays/ov031/symbols.txt @@ -69,19 +69,19 @@ _ZN18UnkStruct_027e0d3411TryItemGiveEi kind:function(arm,size=0x10) addr:0x020d9 _ZN18UnkStruct_027e0d3419func_ov031_020d9844Ev kind:function(arm,size=0x10) addr:0x020d9964 _ZN18UnkStruct_027e0d3419func_ov031_020d9854EP7VecFx32i kind:function(arm,size=0x34) addr:0x020d9974 _ZN18UnkStruct_027e0d3419func_ov031_020d9888EP7VecFx32i14UnkAngleStruct kind:function(arm,size=0x34) addr:0x020d99a8 -_ZN18UnkStruct_027e0d3419func_ov031_020d98bcEii kind:function(arm,size=0x1c) addr:0x020d99dc -_ZN18UnkStruct_027e0d3419func_ov031_020d98d8Eii kind:function(arm,size=0x1c) addr:0x020d99f8 +_ZN18UnkStruct_027e0d3419func_ov031_020d98bcEiPK7VecFx32 kind:function(arm,size=0x1c) addr:0x020d99dc +_ZN18UnkStruct_027e0d3419func_ov031_020d98d8EiPK7VecFx32 kind:function(arm,size=0x1c) addr:0x020d99f8 _ZN18UnkStruct_027e0d3419func_ov031_020d98f4EP7VecFx3214UnkAngleStruct kind:function(arm,size=0x2c) addr:0x020d9a14 _ZN18UnkStruct_027e0d3419func_ov031_020d9920EP7VecFx3214UnkAngleStruct kind:function(arm,size=0x2c) addr:0x020d9a40 _ZN18UnkStruct_027e0d3419func_ov031_020d994cEv kind:function(arm,size=0x10) addr:0x020d9a6c _ZN18UnkStruct_027e0d3419func_ov031_020d995cEiii kind:function(arm,size=0x10) addr:0x020d9a7c _ZN18UnkStruct_027e0d3419func_ov031_020d996cEv kind:function(arm,size=0x10) addr:0x020d9a8c -_ZN18UnkStruct_027e0d3419func_ov031_020d997cEi kind:function(arm,size=0x30) addr:0x020d9a9c +_ZN18UnkStruct_027e0d3419func_ov031_020d997cE10LinkState_ kind:function(arm,size=0x30) addr:0x020d9a9c _ZN18UnkStruct_027e0d3419func_ov031_020d99acEc kind:function(arm,size=0x10) addr:0x020d9acc _ZN18UnkStruct_027e0d3419func_ov031_020d99bcEv kind:function(arm,size=0x10) addr:0x020d9adc _ZN18UnkStruct_027e0d3419func_ov031_020d99ccEv kind:function(arm,size=0x10) addr:0x020d9aec -_ZN18UnkStruct_027e0d3419func_ov031_020d99dcEi kind:function(arm,size=0x10) addr:0x020d9afc -_ZN18UnkStruct_027e0d3419func_ov031_020d99ecEi kind:function(arm,size=0x10) addr:0x020d9b0c +_ZN18UnkStruct_027e0d3419func_ov031_020d99dcEiPK7VecFx32 kind:function(arm,size=0x10) addr:0x020d9afc +_ZN18UnkStruct_027e0d3419func_ov031_020d99ecEiPK7VecFx32 kind:function(arm,size=0x10) addr:0x020d9b0c _ZN18UnkStruct_027e0d3419func_ov031_020d99fcEi9RefStruct kind:function(arm,size=0x20) addr:0x020d9b1c _ZN18UnkStruct_027e0d3419func_ov031_020d9a1cEi kind:function(arm,size=0x18) addr:0x020d9b3c _ZN18UnkStruct_027e0d3419func_ov031_020d9a34Ei kind:function(arm,size=0x18) addr:0x020d9b54 @@ -133,7 +133,7 @@ _ZN18LinkStateDamage_8419func_ov031_020dacdcEb kind:function(arm,size=0xa4) addr _ZN18LinkStateDamage_AC19func_ov031_020dad80Ev kind:function(arm,size=0x18) addr:0x020daea0 _ZN18LinkStateDamage_AC19func_ov031_020dad98Ev kind:function(arm,size=0xa4) addr:0x020daeb8 _ZN18LinkStateDamage_AC19func_ov031_020dae3cEv kind:function(arm,size=0x50) addr:0x020daf5c -_ZN18LinkStateDamage_AC19func_ov031_020dae8cEi kind:function(arm,size=0x15c) addr:0x020dafac +_ZN18LinkStateDamage_AC19func_ov031_020dae8cEP21UnkStruct_027e0ce0_40 kind:function(arm,size=0x15c) addr:0x020dafac _ZN18LinkStateDamage_AC19func_ov031_020dafe8Eb kind:function(arm,size=0x40) addr:0x020db108 _ZN18LinkStateDamage_AC19func_ov031_020db028Ev kind:function(arm,size=0xd4) addr:0x020db148 _ZN19PlayerLinkActor_13419func_ov031_020db0fcEv kind:function(arm,size=0x24) addr:0x020db21c @@ -190,7 +190,7 @@ _ZN21UnkStruct_027e0ce0_4019func_ov031_020dbf58E11PlayerType_ kind:function(arm, _ZN21UnkStruct_027e0ce0_4019func_ov031_020dbf7cE11PlayerType_ kind:function(arm,size=0x24) addr:0x020dc09c _ZN21UnkStruct_027e0ce0_4019func_ov031_020dbfa0E11PlayerType_P7VecFx32 kind:function(arm,size=0xb8) addr:0x020dc0c0 _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc058E11PlayerType_P7VecFx3214UnkAngleStruct kind:function(arm,size=0xd4) addr:0x020dc178 -_ZN21UnkStruct_027e0ce0_4019func_ov031_020dc12cE11PlayerType_iiP6SpherePvi kind:function(arm,size=0x90) addr:0x020dc24c +_ZN21UnkStruct_027e0ce0_4019func_ov031_020dc12cE11PlayerType_iiP6SpherePK7VecFx32i kind:function(arm,size=0x90) addr:0x020dc24c _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc1bcE11PlayerType_ii kind:function(arm,size=0x34) addr:0x020dc2dc _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc1f0E11PlayerType_iiP7VecFx32 kind:function(arm,size=0x28) addr:0x020dc310 _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc218E9RefStructi kind:function(thumb,size=0x3e) addr:0x020dc338 @@ -233,20 +233,20 @@ _ZN21PlayerLinkActor_A0_1419func_ov031_020dd1a4EbP7VecFx3214UnkAngleStruct kind: _ZN21PlayerLinkActor_A0_148vfunc_08Ev kind:function(arm,size=0xb8) addr:0x020dd394 _ZN21PlayerLinkActor_A0_14D1Ev kind:function(arm,size=0x28) addr:0x020dd44c _ZN21PlayerLinkActor_A0_14D0Ev kind:function(arm,size=0x30) addr:0x020dd474 -func_ov031_020dd384 kind:function(arm,size=0x64) addr:0x020dd4a4 -_ZN19func_ov031_020dd3e8D1Ev kind:function(arm,size=0x6c) addr:0x020dd508 -_ZN19func_ov031_020dd454D0Ev kind:function(arm,size=0x74) addr:0x020dd574 -func_ov031_020dd4c8 kind:function(arm,size=0x20) addr:0x020dd5e8 -func_ov031_020dd4e8 kind:function(arm,size=0x88) addr:0x020dd608 -func_ov031_020dd570 kind:function(arm,size=0xd4) addr:0x020dd690 -func_ov031_020dd644 kind:function(arm,size=0x1b4) addr:0x020dd764 -func_ov031_020dd7f8 kind:function(arm,size=0x288) addr:0x020dd918 -func_ov031_020dda80 kind:function(arm,size=0x14) addr:0x020ddba0 +_ZN16LinkStateGrabbedC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x64) addr:0x020dd4a4 +_ZN16LinkStateGrabbedD1Ev kind:function(arm,size=0x6c) addr:0x020dd508 +_ZN16LinkStateGrabbedD0Ev kind:function(arm,size=0x74) addr:0x020dd574 +_ZN16LinkStateGrabbed19func_ov031_020dd4c8Ev kind:function(arm,size=0x20) addr:0x020dd5e8 +_ZN16LinkStateGrabbed19func_ov031_020dd4e8Ev kind:function(arm,size=0x88) addr:0x020dd608 +_ZN16LinkStateGrabbed19func_ov031_020dd570Ev kind:function(arm,size=0xd4) addr:0x020dd690 +_ZN16LinkStateGrabbed8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x1b4) addr:0x020dd764 +_ZN16LinkStateGrabbed8vfunc_10E10LinkState_i kind:function(arm,size=0x288) addr:0x020dd918 +_ZN18PlayerLinkActor_A019func_ov031_020dda80Ei kind:function(arm,size=0x14) addr:0x020ddba0 _ZN18PlayerLinkActor_A019func_ov031_020dda94Ev kind:function(arm,size=0x5c) addr:0x020ddbb4 -_ZN18PlayerLinkActor_A019func_ov031_020ddaf0Eii kind:function(arm,size=0x20) addr:0x020ddc10 -func_ov031_020ddb10 kind:function(arm,size=0xd4) addr:0x020ddc30 -_ZN18PlayerLinkActor_A019func_ov031_020ddbe4EP7VecFx32i14UnkAngleStructi kind:function(arm,size=0x78) addr:0x020ddd04 -_ZN18PlayerLinkActor_A019func_ov031_020ddc5cEiiii kind:function(arm,size=0x7c) addr:0x020ddd7c +_ZN18PlayerLinkActor_A019func_ov031_020ddaf0Ejj kind:function(arm,size=0x20) addr:0x020ddc10 +_ZN18PlayerLinkActor_A019func_ov031_020ddb10Ev kind:function(arm,size=0xd4) addr:0x020ddc30 +_ZN18PlayerLinkActor_A019func_ov031_020ddbe4EPK7VecFx32i14UnkAngleStructh kind:function(arm,size=0x78) addr:0x020ddd04 +_ZN18PlayerLinkActor_A019func_ov031_020ddc5cEiPK7VecFx3210LinkState_S3_ kind:function(arm,size=0x7c) addr:0x020ddd7c _ZN18PlayerLinkActor_A019func_ov031_020ddcd8EP7VecFx3214UnkAngleStruct kind:function(arm,size=0xd0) addr:0x020dddf8 _ZN18PlayerLinkActor_A019func_ov031_020ddda8EP7VecFx3214UnkAngleStruct kind:function(arm,size=0x50) addr:0x020ddec8 _ZN18PlayerLinkActor_A019func_ov031_020dddf8Ev kind:function(arm,size=0x38) addr:0x020ddf18 @@ -254,35 +254,35 @@ _ZN18PlayerLinkActor_A019func_ov031_020dde30Eiii kind:function(arm,size=0x3c) ad _ZN18PlayerLinkActor_A019func_ov031_020dde6cEv kind:function(arm,size=0xb4) addr:0x020ddf8c _ZN18PlayerLinkActor_A019func_ov031_020ddf20Ec kind:function(arm,size=0x24) addr:0x020de040 _ZN18PlayerLinkActor_A019func_ov031_020ddf44Ev kind:function(arm,size=0x28) addr:0x020de064 -_ZN18PlayerLinkActor_A019func_ov031_020ddf6cEi kind:function(arm,size=0x40) addr:0x020de08c -_ZN18PlayerLinkActor_A019func_ov031_020ddfacEi kind:function(arm,size=0x40) addr:0x020de0cc +_ZN18PlayerLinkActor_A019func_ov031_020ddf6cEiPK7VecFx32 kind:function(arm,size=0x40) addr:0x020de08c +_ZN18PlayerLinkActor_A019func_ov031_020ddfacEiPK7VecFx32 kind:function(arm,size=0x40) addr:0x020de0cc _ZN18PlayerLinkActor_A019func_ov031_020ddfecEi9RefStruct kind:function(arm,size=0x238) addr:0x020de10c -func_ov031_020de224 kind:function(arm,size=0xac) addr:0x020de344 -func_ov031_020de2d0 kind:function(arm,size=0x58) addr:0x020de3f0 -_ZN19func_ov031_020de328D0Ev kind:function(arm,size=0x60) addr:0x020de448 -func_ov031_020de388 kind:function(arm,size=0xd0) addr:0x020de4a8 -func_ov031_020de458 kind:function(arm,size=0x20c) addr:0x020de578 -func_ov031_020de664 kind:function(arm,size=0x1a8) addr:0x020de784 -func_ov031_020de80c kind:function(arm,size=0x2c) addr:0x020de92c -func_ov031_020de838 kind:function(arm,size=0xb4) addr:0x020de958 -func_ov031_020de8ec kind:function(arm,size=0x58) addr:0x020dea0c -func_ov031_020de944 kind:function(arm,size=0x64) addr:0x020dea64 -func_ov031_020de9a8 kind:function(arm,size=0xc8) addr:0x020deac8 -func_ov031_020dea70 kind:function(arm,size=0x100) addr:0x020deb90 -func_ov031_020deb70 kind:function(arm,size=0x388) addr:0x020dec90 -func_ov031_020deef8 kind:function(arm,size=0x1218) addr:0x020df018 -func_ov031_020e0110 kind:function(arm,size=0x168) addr:0x020e0230 -func_ov031_020e0278 kind:function(arm,size=0xc) addr:0x020e0398 -func_ov031_020e0284 kind:function(arm,size=0xe4) addr:0x020e03a4 -func_ov031_020e0368 kind:function(arm,size=0x1e8) addr:0x020e0488 -func_ov031_020e0550 kind:function(arm,size=0xac) addr:0x020e0670 -func_ov031_020e05fc kind:function(arm,size=0x28) addr:0x020e071c +_ZN12LinkStateHitC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0xac) addr:0x020de344 +_ZN12LinkStateHitD1Ev kind:function(arm,size=0x58) addr:0x020de3f0 +_ZN12LinkStateHitD0Ev kind:function(arm,size=0x60) addr:0x020de448 +_ZN12LinkStateHit19func_ov031_020de388EiP7VecFx32 kind:function(arm,size=0xd0) addr:0x020de4a8 +_ZN12LinkStateHit19func_ov031_020de458EiP7VecFx32 kind:function(arm,size=0x20c) addr:0x020de578 +_ZN12LinkStateHit19func_ov031_020de664EiP6SphereS1_ kind:function(arm,size=0x1a8) addr:0x020de784 +_ZN12LinkStateHit19func_ov031_020de80cEi kind:function(arm,size=0x2c) addr:0x020de92c +_ZN12LinkStateHit19func_ov031_020de838EP7VecFx32S1_P24UnkStruct_ov031_02112b40 kind:function(arm,size=0xb4) addr:0x020de958 +_ZN12LinkStateHit19func_ov031_020de8ecEi kind:function(arm,size=0x58) addr:0x020dea0c +_ZN12LinkStateHit19func_ov031_020de944E10LinkState_ kind:function(arm,size=0x64) addr:0x020dea64 +_ZN12LinkStateHit19func_ov031_020de9a8EPK24UnkStruct_ov000_0208a38c kind:function(arm,size=0xc8) addr:0x020deac8 +_ZN12LinkStateHit8vfunc_00Ev kind:function(arm,size=0x100) addr:0x020deb90 +_ZN12LinkStateHit8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x388) addr:0x020dec90 +_ZN12LinkStateHit8vfunc_10E10LinkState_i kind:function(arm,size=0x1218) addr:0x020df018 +_ZN12LinkStateHit19func_ov031_020e0110Eii kind:function(arm,size=0x168) addr:0x020e0230 +_ZN15LinkStateHit_BCC1Ei kind:function(arm,size=0xc) addr:0x020e0398 +_ZN15LinkStateHit_BC19func_ov031_020e0284E14UnkAngleStructiP7VecFx32 kind:function(arm,size=0xe4) addr:0x020e03a4 +_ZN15LinkStateHit_BC19func_ov031_020e0368E14UnkAngleStructi kind:function(arm,size=0x1e8) addr:0x020e0488 +_ZN15LinkStateHit_BC19func_ov031_020e0550E14UnkAngleStructi kind:function(arm,size=0xac) addr:0x020e0670 +_ZN15LinkStateHit_BC19func_ov031_020e05fcEv kind:function(arm,size=0x28) addr:0x020e071c func_ov031_020e0624 kind:function(thumb,size=0x4c) addr:0x020e0744 func_ov031_020e0670 kind:function(thumb,size=0x68) addr:0x020e0790 func_ov031_020e06d8 kind:function(thumb,size=0x70) addr:0x020e07f8 func_ov031_020e0748 kind:function(arm,size=0x24) addr:0x020e0868 _ZN21PlayerLinkActor_A0_1019func_ov031_020e076cEv kind:function(thumb,size=0x64) addr:0x020e088c -func_ov031_020e07d0 kind:function(arm,size=0xb8) addr:0x020e08f0 +_ZN21PlayerLinkActor_A0_1019func_ov031_020e07d0Ev kind:function(arm,size=0xb8) addr:0x020e08f0 func_ov031_020e0888 kind:function(arm,size=0x1c) addr:0x020e09a8 func_ov031_020e08a4 kind:function(arm,size=0x50) addr:0x020e09c4 func_ov031_020e08f4 kind:function(arm,size=0x30) addr:0x020e0a14 @@ -2240,7 +2240,7 @@ _ZTV25UnkStruct_027e0ce0_40_108 kind:data(any) addr:0x02112c98 ambiguous data_ov031_02112cac kind:data(any) addr:0x02112cac data_ov031_02112cb8 kind:data(any) addr:0x02112cb8 data_ov031_02112ccc kind:data(any) addr:0x02112ccc -_ZTV19data_ov031_02112bac kind:data(any) addr:0x02112cec +_ZTV12LinkStateHit kind:data(any) addr:0x02112cec data_ov031_02112d1c kind:data(any) addr:0x02112d1c data_ov031_02112be8 kind:data(any) addr:0x02112d28 local data_ov031_02112c00 kind:data(any) addr:0x02112d40 local diff --git a/config/eur1/arm9/overlays/ov044/symbols.txt b/config/eur1/arm9/overlays/ov044/symbols.txt index 8ec6abef4..8ebf2abf6 100644 --- a/config/eur1/arm9/overlays/ov044/symbols.txt +++ b/config/eur1/arm9/overlays/ov044/symbols.txt @@ -1,8 +1,8 @@ func_ov044_021234c0 kind:function(arm,size=0x30) addr:0x02123600 func_ov044_021234f0 kind:function(arm,size=0x10) addr:0x02123630 func_ov044_02123500 kind:function(arm,size=0x10) addr:0x02123640 -func_ov044_02123510 kind:function(arm,size=0x5c) addr:0x02123650 -func_ov044_0212356c kind:function(arm,size=0xa4) addr:0x021236ac +_ZN16LinkStateGrabbed19func_ov044_02123510Ev kind:function(arm,size=0x5c) addr:0x02123650 +_ZN16LinkStateGrabbed19func_ov044_0212356cEi kind:function(arm,size=0xa4) addr:0x021236ac func_ov044_02123610 kind:function(arm,size=0x14) addr:0x02123750 func_ov044_02123624 kind:function(arm,size=0x14) addr:0x02123764 func_ov044_02123638 kind:function(arm,size=0x160) addr:0x02123778 diff --git a/config/eur1/arm9/overlays/ov045/symbols.txt b/config/eur1/arm9/overlays/ov045/symbols.txt index db92a64c2..86c969079 100644 --- a/config/eur1/arm9/overlays/ov045/symbols.txt +++ b/config/eur1/arm9/overlays/ov045/symbols.txt @@ -149,8 +149,9 @@ _ZN16MapObjectUnkRDSDD1Ev kind:function(arm,size=0x28) addr:0x02129470 _ZN16MapObjectUnkRDSDD0Ev kind:function(arm,size=0x30) addr:0x02129498 _ZN23MapObjectProfileUnkRDSDD1Ev kind:function(arm,size=0x14) addr:0x021294c8 _ZN19func_ov045_0212939cD0Ev kind:function(arm,size=0x1c) addr:0x021294dc -func_ov045_021293b8 kind:function(arm,size=0x64) addr:0x021294f8 -func_ov045_0212941c kind:function(arm,size=0xa4) addr:0x0212955c +func_ov045_021293b8 kind:function(arm,size=0x10) addr:0x021294f8 +_ZN16LinkStateGrabbed19func_ov045_021293c8Ev kind:function(arm,size=0x54) addr:0x02129508 +_ZN16LinkStateGrabbed19func_ov045_0212941cEi kind:function(arm,size=0xa4) addr:0x0212955c data_ov045_02129600 kind:data(any) addr:0x02129600 data_ov045_02129610 kind:data(any) addr:0x02129610 data_ov045_02129620 kind:data(any) addr:0x02129620 diff --git a/config/eur1/arm9/overlays/ov053/symbols.txt b/config/eur1/arm9/overlays/ov053/symbols.txt index 6f3a0816f..539e34b37 100644 --- a/config/eur1/arm9/overlays/ov053/symbols.txt +++ b/config/eur1/arm9/overlays/ov053/symbols.txt @@ -112,7 +112,7 @@ _ZN12ActorUnkRAT019func_ov053_0213c9ccEv kind:function(arm,size=0x84) addr:0x021 _ZN12ActorUnkRAT019func_ov053_0213ca50Ev kind:function(arm,size=0x8c) addr:0x0213cb70 _ZN19ActorProfileUnkRAT0D1Ev kind:function(arm,size=0x14) addr:0x0213cbfc _ZN27UnkStruct_ItemManager_20_1419func_ov053_0213caf0Ev kind:function(arm,size=0x98) addr:0x0213cc10 -func_ov053_0213cb88 kind:function(arm,size=0x194) addr:0x0213cca8 +_ZN16LinkStateGrabbed19func_ov053_0213cb88Ev kind:function(arm,size=0x194) addr:0x0213cca8 data_ov053_0213ce3c kind:data(any) addr:0x0213ce3c data_ov053_0213ce4c kind:data(any) addr:0x0213ce4c data_ov053_0213ce5c kind:data(any) addr:0x0213ce5c diff --git a/config/eur1/arm9/overlays/ov082/symbols.txt b/config/eur1/arm9/overlays/ov082/symbols.txt index 30542315f..75027cc59 100644 --- a/config/eur1/arm9/overlays/ov082/symbols.txt +++ b/config/eur1/arm9/overlays/ov082/symbols.txt @@ -120,8 +120,8 @@ _ZN19func_ov082_02158548D1Ev kind:function(arm,size=0x14) addr:0x021586c8 _ZN19func_ov082_0215855cD0Ev kind:function(arm,size=0x1c) addr:0x021586dc func_ov082_02158578 kind:function(arm,size=0xdc) addr:0x021586f8 _ZN18PlayerLinkActor_A019func_ov082_02158654Ev kind:function(arm,size=0x104) addr:0x021587d4 -func_ov082_02158758 kind:function(arm,size=0xb8) addr:0x021588d8 -func_ov082_02158810 kind:function(arm,size=0x34) addr:0x02158990 +_ZN18PlayerLinkActor_A019func_ov082_02158758Ei kind:function(arm,size=0xb8) addr:0x021588d8 +_ZN18PlayerLinkActor_A019func_ov082_02158810Ei kind:function(arm,size=0x34) addr:0x02158990 data_ov082_021589c4 kind:data(any) addr:0x021589c4 data_ov082_021589c8 kind:data(any) addr:0x021589c8 data_ov082_021589cc kind:data(any) addr:0x021589cc diff --git a/config/eur1/arm9/overlays/ov093/symbols.txt b/config/eur1/arm9/overlays/ov093/symbols.txt index d5e07e9c7..acf1433af 100644 --- a/config/eur1/arm9/overlays/ov093/symbols.txt +++ b/config/eur1/arm9/overlays/ov093/symbols.txt @@ -200,7 +200,7 @@ func_ov093_0216e8c4 kind:function(arm,size=0x10) addr:0x0216ea44 func_ov093_0216e8d4 kind:function(arm,size=0x10) addr:0x0216ea54 func_ov093_0216e8e4 kind:function(arm,size=0x10) addr:0x0216ea64 func_ov093_0216e8f4 kind:function(arm,size=0x1d0) addr:0x0216ea74 -_ZN15PlayerActorBase19func_ov093_0216eac4EiiP6SpherePvi kind:function(arm,size=0x7d0) addr:0x0216ec44 +_ZN15PlayerActorBase19func_ov093_0216eac4EiiP6SpherePK7VecFx32i kind:function(arm,size=0x7d0) addr:0x0216ec44 func_ov093_0216f294 kind:function(arm,size=0x10) addr:0x0216f414 _ZN15PlayerActorBase19func_ov093_0216f2a4Ev kind:function(arm,size=0x10) addr:0x0216f424 func_ov093_0216f2b4 kind:function(arm,size=0x84) addr:0x0216f434 diff --git a/config/eur1/arm9/overlays/ov108/symbols.txt b/config/eur1/arm9/overlays/ov108/symbols.txt index 4efe6dba7..a76455bb4 100644 --- a/config/eur1/arm9/overlays/ov108/symbols.txt +++ b/config/eur1/arm9/overlays/ov108/symbols.txt @@ -27,7 +27,7 @@ _ZN19func_ov108_02185228D0Ev kind:function(arm,size=0x88) addr:0x02185428 func_ov108_021852b0 kind:function(arm,size=0x16c) addr:0x021854b0 func_ov108_0218541c kind:function(arm,size=0x2e0) addr:0x0218561c func_ov108_021856fc kind:function(arm,size=0x54) addr:0x021858fc -func_ov108_02185750 kind:function(arm,size=0x1c) addr:0x02185950 +_ZN21LinkStateItemPanFlute19func_ov108_02185750Eiii kind:function(arm,size=0x1c) addr:0x02185950 func_ov108_0218576c kind:function(arm,size=0x78) addr:0x0218596c func_ov108_021857e4 kind:function(arm,size=0x40) addr:0x021859e4 _ZN19func_ov108_02185824D1Ev kind:function(arm,size=0x30) addr:0x02185a24 diff --git a/config/eur1/arm9/overlays/ov110/symbols.txt b/config/eur1/arm9/overlays/ov110/symbols.txt index d6baaa2aa..b564ed1dd 100644 --- a/config/eur1/arm9/overlays/ov110/symbols.txt +++ b/config/eur1/arm9/overlays/ov110/symbols.txt @@ -3,9 +3,9 @@ _ZN22UnkStruct_PlayerGet_748vfunc_00Eiii kind:function(arm,size=0x30) addr:0x021 _ZN9PlayerGetC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0xa0) addr:0x02184fdc _ZN9PlayerGetD1Ev kind:function(arm,size=0xc4) addr:0x0218507c _ZN9PlayerGetD0Ev kind:function(arm,size=0xcc) addr:0x02185140 -_ZN9PlayerGet8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x5d8) addr:0x0218520c -_ZN9PlayerGet8vfunc_10Eii kind:function(arm,size=0x6d0) addr:0x021857e4 -_ZN9PlayerGet8vfunc_18Eiii kind:function(arm,size=0x7c) addr:0x02185eb4 +_ZN9PlayerGet8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x5d8) addr:0x0218520c +_ZN9PlayerGet8vfunc_10E10LinkState_i kind:function(arm,size=0x6d0) addr:0x021857e4 +_ZN9PlayerGet8vfunc_18Ei10LinkState_i kind:function(arm,size=0x7c) addr:0x02185eb4 _ZN22UnkStruct_PlayerGet_ecC1Ev kind:function(arm,size=0xc) addr:0x02185f30 _ZN21UnkStruct_027e0ce0_3419func_ov110_02185d3cEi kind:function(thumb,size=0x66) addr:0x02185f3c _ZN11ItemManager16GetBmgIDFromItemEi kind:function(arm,size=0x10) addr:0x02185fa4 diff --git a/config/eur1/arm9/overlays/ov112/symbols.txt b/config/eur1/arm9/overlays/ov112/symbols.txt index 5aae57f75..1d63952f7 100644 --- a/config/eur1/arm9/overlays/ov112/symbols.txt +++ b/config/eur1/arm9/overlays/ov112/symbols.txt @@ -2,12 +2,12 @@ _ZN17PlayerSceneChangeC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0xc4) a _ZN17PlayerSceneChangeD1Ev kind:function(arm,size=0x58) addr:0x02184d04 _ZN17PlayerSceneChangeD0Ev kind:function(arm,size=0x60) addr:0x02184d5c _ZN17PlayerSceneChange19func_ov112_02184bbcEs kind:function(arm,size=0x58) addr:0x02184dbc -_ZN17PlayerSceneChange8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0xb68) addr:0x02184e14 -_ZN17PlayerSceneChange8vfunc_10Eii kind:function(arm,size=0x80c) addr:0x0218597c +_ZN17PlayerSceneChange8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0xb68) addr:0x02184e14 +_ZN17PlayerSceneChange8vfunc_10E10LinkState_i kind:function(arm,size=0x80c) addr:0x0218597c _ZN17PlayerSceneChange8vfunc_1CEP7VecFx32 kind:function(arm,size=0x84) addr:0x02186188 _ZN18PlayerSceneChange2C1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x40) addr:0x0218620c -_ZN18PlayerSceneChange28vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x25c) addr:0x0218624c -_ZN18PlayerSceneChange28vfunc_10Eii kind:function(arm,size=0x208) addr:0x021864a8 +_ZN18PlayerSceneChange28vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x25c) addr:0x0218624c +_ZN18PlayerSceneChange28vfunc_10E10LinkState_i kind:function(arm,size=0x208) addr:0x021864a8 _ZN18PlayerSceneChange2D1Ev kind:function(arm,size=0x14) addr:0x021866b0 _ZN18PlayerSceneChange2D0Ev kind:function(arm,size=0x1c) addr:0x021866c4 _ZTV17PlayerSceneChange kind:data(any) addr:0x02186700 diff --git a/config/jp/arm9/overlays/ov000/symbols.txt b/config/jp/arm9/overlays/ov000/symbols.txt index ca7e10483..2ed064441 100644 --- a/config/jp/arm9/overlays/ov000/symbols.txt +++ b/config/jp/arm9/overlays/ov000/symbols.txt @@ -1053,7 +1053,7 @@ func_ov000_02071688 kind:function(arm,size=0x54) addr:0x02072d40 _ZN18UnkStruct_027e09a819func_ov000_020716dcEi kind:function(arm,size=0x24) addr:0x02072d94 _ZN18UnkStruct_027e09a819func_ov000_02071700EiP7VecFx32 kind:function(arm,size=0x48) addr:0x02072db8 func_ov000_02071748 kind:function(arm,size=0x2c) addr:0x02072e00 -func_ov000_02071774 kind:function(arm,size=0x58) addr:0x02072e2c +_ZN18UnkStruct_027e09a819func_ov000_02071774EP9RefStructiP7VecFx32 kind:function(arm,size=0x58) addr:0x02072e2c _ZN18UnkStruct_027e09a819func_ov000_020717ccEiP7VecFx32 kind:function(arm,size=0x48) addr:0x02072e84 func_ov000_02071814 kind:function(arm,size=0x58) addr:0x02072ecc func_ov000_0207186c kind:function(arm,size=0x68) addr:0x02072f24 @@ -1064,7 +1064,7 @@ func_ov000_020719b0 kind:function(arm,size=0xc4) addr:0x02073068 func_ov000_02071a74 kind:function(arm,size=0xbc) addr:0x0207312c _ZN18UnkStruct_027e09a819func_ov000_02071b30EiP7VecFx32i kind:function(arm,size=0xa4) addr:0x020731e8 _ZN18UnkStruct_027e09a819func_ov000_02071bd4EiP7VecFx32i kind:function(arm,size=0x90) addr:0x0207328c -func_ov000_02071c64 kind:function(arm,size=0x2c) addr:0x0207331c +_ZN18UnkStruct_027e09a819func_ov000_02071c64Eis kind:function(arm,size=0x2c) addr:0x0207331c _ZN18UnkStruct_027e09a819func_ov000_02071c90EiP7VecFx32i kind:function(arm,size=0xa4) addr:0x02073348 _ZN18UnkStruct_027e09a819func_ov000_02071d34EP9RefStructiP7VecFx32i kind:function(arm,size=0xb0) addr:0x020733ec func_ov000_02071de4 kind:function(arm,size=0xa0) addr:0x0207349c @@ -1475,7 +1475,7 @@ func_ov000_0207e3ac kind:function(arm,size=0xac) addr:0x0207fa64 _ZN18UnkStruct_027e09c019func_ov000_0207e458EiiP7VecFx32iS1_9RefStruct kind:function(arm,size=0x84) addr:0x0207fb10 func_ov000_0207e4dc kind:function(arm,size=0x84) addr:0x0207fb94 func_ov000_0207e560 kind:function(arm,size=0x2c) addr:0x0207fc18 -_ZN18UnkStruct_027e09c019func_ov000_0207e58cE9RefStructihP24UnkStruct_ov031_Items_01 kind:function(arm,size=0xa4) addr:0x0207fc44 +_ZN18UnkStruct_027e09c019func_ov000_0207e58cE9RefStructijP24UnkStruct_ov031_Items_01 kind:function(arm,size=0xa4) addr:0x0207fc44 func_ov000_0207e630 kind:function(arm,size=0x38) addr:0x0207fce8 func_ov000_0207e668 kind:function(arm,size=0x50) addr:0x0207fd20 func_ov000_0207e6b8 kind:function(arm,size=0x14) addr:0x0207fd70 @@ -1664,8 +1664,8 @@ _ZN13SkyboxManager13DestroySkyboxEv kind:function(arm,size=0x68) addr:0x02083cd4 func_ov000_02082684 kind:function(arm,size=0x34) addr:0x02083d3c func_ov000_020826b8 kind:function(arm,size=0x90) addr:0x02083d70 _ZN21PlayerLinkActor_A0_3419func_ov000_02082748Ev kind:function(arm,size=0x14) addr:0x02083e00 -func_ov000_0208275c kind:function(arm,size=0xac) addr:0x02083e14 -func_ov000_02082804 kind:function(arm,size=0xc8) addr:0x02083ec0 +_ZN21PlayerLinkActor_A0_3419func_ov000_0208275cE9RefStruct kind:function(arm,size=0xac) addr:0x02083e14 +_ZN21PlayerLinkActor_A0_3419func_ov000_02082804Ev kind:function(arm,size=0xc8) addr:0x02083ec0 func_ov000_020828cc kind:function(arm,size=0xfc) addr:0x02083f88 _ZN18UnkStruct_027e0cdc6CreateEP21UnkStruct_027e0ce0_30 kind:function(thumb,size=0x1a) addr:0x02084084 func_ov000_020829e4 kind:function(thumb,size=0x14) addr:0x020840a0 @@ -1678,7 +1678,7 @@ _ZN18UnkStruct_027e0cdc19func_ov000_02082a48Ei kind:function(arm,size=0x10) addr func_ov000_02082a58 kind:function(arm,size=0x48) addr:0x02084114 func_ov000_02082aa0 kind:function(arm,size=0x10) addr:0x0208415c func_ov000_02082ab0 kind:function(thumb,size=0x2c) addr:0x0208416c -func_ov000_02082adc kind:function(arm,size=0x70) addr:0x02084198 +_ZN18PlayerActorBase_7019func_ov000_02082adcEiiii kind:function(arm,size=0x70) addr:0x02084198 func_ov000_02082b4c kind:function(arm,size=0x68) addr:0x02084208 func_ov000_02082bb4 kind:function(arm,size=0x1c) addr:0x02084270 func_ov000_02082bd0 kind:function(arm,size=0x1c) addr:0x0208428c @@ -1730,7 +1730,7 @@ func_ov000_02084684 kind:function(arm,size=0x5c) addr:0x02085d54 func_ov000_020846e0 kind:function(arm,size=0x38) addr:0x02085db0 func_ov000_02084718 kind:function(arm,size=0x44) addr:0x02085de8 func_ov000_0208475c kind:function(arm,size=0x194) addr:0x02085e2c -func_ov000_020848f0 kind:function(arm,size=0x54) addr:0x02085fc0 +_ZN16LinkStateBase_2C19func_ov000_020848f0E9RefStruct kind:function(arm,size=0x54) addr:0x02085fc0 func_ov000_02084944 kind:function(arm,size=0x68) addr:0x02086014 func_ov000_020849ac kind:function(arm,size=0x24) addr:0x0208607c _ZN18PlayerLinkActor_9C19func_ov000_020849d0EP7VecFx32S1_ kind:function(arm,size=0xf8) addr:0x020860a0 @@ -1804,26 +1804,26 @@ func_ov000_02087f78 kind:function(arm,size=0x50) addr:0x0208964c func_ov000_02087fc8 kind:function(arm,size=0x98) addr:0x0208969c _ZN21UnkStruct_027e0ce0_4019func_ov000_02088060Eb kind:function(arm,size=0x10c) addr:0x02089734 func_ov000_0208816c kind:function(arm,size=0xfc) addr:0x02089840 -_ZN21PlayerLinkActor_A0_0419func_ov000_02088268Ev kind:function(arm,size=0x60) addr:0x0208993c +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088268Ev kind:function(arm,size=0x60) addr:0x0208993c func_ov000_020882c8 kind:function(arm,size=0x64) addr:0x0208999c func_ov000_0208832c kind:function(arm,size=0x20) addr:0x02089a00 func_ov000_0208834c kind:function(arm,size=0xdc) addr:0x02089a20 func_ov000_02088428 kind:function(arm,size=0x68) addr:0x02089afc func_ov000_02088490 kind:function(arm,size=0x94) addr:0x02089b64 -func_ov000_02088524 kind:function(arm,size=0xe4) addr:0x02089bf8 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088524EijPv kind:function(arm,size=0xe4) addr:0x02089bf8 func_ov000_02088608 kind:function(arm,size=0xf8) addr:0x02089cdc -func_ov000_02088700 kind:function(arm,size=0xb8) addr:0x02089dd4 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088700EP24UnkStruct_ov000_0208a38c kind:function(arm,size=0xb8) addr:0x02089dd4 func_ov000_020887b8 kind:function(arm,size=0x30) addr:0x02089e8c func_ov000_020887e8 kind:function(arm,size=0x38) addr:0x02089ebc func_ov000_02088820 kind:function(arm,size=0x14) addr:0x02089ef4 func_ov000_02088834 kind:function(arm,size=0x20) addr:0x02089f08 -func_ov000_02088854 kind:function(arm,size=0x34) addr:0x02089f28 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088854Ev kind:function(arm,size=0x34) addr:0x02089f28 func_ov000_02088888 kind:function(arm,size=0x40) addr:0x02089f5c func_ov000_020888c8 kind:function(arm,size=0x48) addr:0x02089f9c func_ov000_02088910 kind:function(arm,size=0x198) addr:0x02089fe4 func_ov000_02088aa8 kind:function(arm,size=0x10c) addr:0x0208a17c func_ov000_02088bb4 kind:function(arm,size=0x15c) addr:0x0208a288 -func_ov000_02088d10 kind:function(arm,size=0x98) addr:0x0208a3e4 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088d10EP7VecFx32 kind:function(arm,size=0x98) addr:0x0208a3e4 func_ov000_02088da8 kind:function(arm,size=0x2c) addr:0x0208a47c func_ov000_02088dd4 kind:function(arm,size=0x24) addr:0x0208a4a8 func_ov000_02088df8 kind:function(arm,size=0x34) addr:0x0208a4cc @@ -1879,14 +1879,14 @@ _ZN18UnkStruct_027e0ce019func_ov000_0208a218EP13InvImportData kind:function(thum func_ov000_0208a250 kind:function(thumb,size=0x74) addr:0x0208b924 _ZN18UnkStruct_027e0ce019func_ov000_0208a2c4Eii kind:function(arm,size=0x54) addr:0x0208b998 _ZN18UnkStruct_027e0ce019func_ov000_0208a318Eiii kind:function(arm,size=0x74) addr:0x0208b9ec -func_ov000_0208a38c kind:function(arm,size=0x30) addr:0x0208ba60 +_ZN24UnkStruct_ov000_0208a38cC1EPK7VecFx32 kind:function(arm,size=0x30) addr:0x0208ba60 func_ov000_0208a3bc kind:function(arm,size=0x328) addr:0x0208ba90 func_ov000_0208a6e4 kind:function(arm,size=0x48) addr:0x0208bdb8 _ZN37UnkStruct_027e0ce0_40_Base_94_50_BaseC2EiiP7RefElemi kind:function(thumb,size=0xe) addr:0x0208be00 func_ov000_0208a73c kind:function(arm,size=0x68) addr:0x0208be10 func_ov000_0208a7a4 kind:function(arm,size=0x28) addr:0x0208be78 func_ov000_0208a7cc kind:function(arm,size=0x60) addr:0x0208bea0 -func_ov000_0208a82c kind:function(arm,size=0x198) addr:0x0208bf00 +_ZN29UnkStruct_027e0ce0_40_Base_9419func_ov000_0208a82cEiiP7VecFx32 kind:function(arm,size=0x198) addr:0x0208bf00 func_ov000_0208a9c4 kind:function(arm,size=0x8c) addr:0x0208c098 func_ov000_0208aa50 kind:function(arm,size=0x7c) addr:0x0208c124 func_ov000_0208aacc kind:function(arm,size=0x50) addr:0x0208c1a0 @@ -1997,7 +1997,7 @@ func_ov000_0208cda0 kind:function(arm,size=0x68) addr:0x0208e478 func_ov000_0208ce08 kind:function(arm,size=0x50) addr:0x0208e4e0 func_ov000_0208ce58 kind:function(arm,size=0x70) addr:0x0208e530 func_ov000_0208cec8 kind:function(arm,size=0x58) addr:0x0208e5a0 -func_ov000_0208cf20 kind:function(arm,size=0x210) addr:0x0208e5f8 +_ZN15PlayerActorBase19func_ov000_0208cf20Eii kind:function(arm,size=0x210) addr:0x0208e5f8 func_ov000_0208d12c kind:function(arm,size=0x50) addr:0x0208e808 func_ov000_0208d17c kind:function(arm,size=0x60) addr:0x0208e858 func_ov000_0208d1dc kind:function(arm,size=0x58) addr:0x0208e8b8 @@ -2029,7 +2029,7 @@ _ZN15PlayerActorBase19func_ov000_0208dc98Ev kind:function(arm,size=0x58) addr:0x _ZN15PlayerActorBase19func_ov000_0208dcf0Ev kind:function(arm,size=0x60) addr:0x0208f3cc func_ov000_0208dd50 kind:function(arm,size=0x10) addr:0x0208f42c func_ov000_0208dd60 kind:function(arm,size=0x10) addr:0x0208f43c -_ZN15PlayerActorBase19func_ov000_0208dd70EiiP6SpherePvi kind:function(arm,size=0x70c) addr:0x0208f44c +_ZN15PlayerActorBase19func_ov000_0208dd70EiiP6SpherePK7VecFx32i kind:function(arm,size=0x70c) addr:0x0208f44c func_ov000_0208e47c kind:function(arm,size=0xbc) addr:0x0208fb58 _ZN15PlayerActorBase19func_ov000_0208e538Ev kind:function(arm,size=0x10) addr:0x0208fc14 _ZN15PlayerActorBase19func_ov000_0208e548EP7VecFx32ii kind:function(arm,size=0x10) addr:0x0208fc24 @@ -2042,7 +2042,7 @@ func_ov000_0208e628 kind:function(arm,size=0x4c) addr:0x0208fd04 func_ov000_0208e674 kind:function(arm,size=0x54) addr:0x0208fd50 func_ov000_0208e6c8 kind:function(arm,size=0x3c) addr:0x0208fda4 _ZN21PlayerLinkActor_A0_2C19func_ov000_0208e704Ev kind:function(arm,size=0x18) addr:0x0208fde0 -func_ov000_0208e71c kind:function(arm,size=0x2c) addr:0x0208fdf8 +_ZN21PlayerLinkActor_A0_2C19func_ov000_0208e71cEii kind:function(arm,size=0x2c) addr:0x0208fdf8 func_ov000_0208e748 kind:function(arm,size=0x40) addr:0x0208fe24 _ZN24UnkStruct_027e0ce0_1C_08C1Eiii kind:function(thumb,size=0x68) addr:0x0208fe64 _ZN19func_ov000_0208e7f0D1Ev kind:function(arm,size=0x14) addr:0x0208fecc @@ -2085,18 +2085,18 @@ func_ov000_0208f954 kind:function(arm,size=0x40) addr:0x02091030 func_ov000_0208f994 kind:function(arm,size=0x11c) addr:0x02091070 func_ov000_0208fab0 kind:function(arm,size=0x324) addr:0x0209118c func_ov000_0208fdd4 kind:function(arm,size=0xc8) addr:0x020914b0 -func_ov000_0208fe9c kind:function(arm,size=0x58) addr:0x02091578 +_ZN13LinkStateBase19func_ov000_0208fe9cEb kind:function(arm,size=0x58) addr:0x02091578 func_ov000_0208fef4 kind:function(arm,size=0x44) addr:0x020915d0 -func_ov000_0208ff38 kind:function(arm,size=0x154) addr:0x02091614 +_ZN13LinkStateBase19func_ov000_0208ff38EiP14UnkAngleStructPv kind:function(arm,size=0x154) addr:0x02091614 func_ov000_0209008c kind:function(arm,size=0xc8) addr:0x02091768 func_ov000_02090154 kind:function(arm,size=0x48) addr:0x02091830 _ZN13LinkStateBase8vfunc_00Ev kind:function(arm,size=0x8) addr:0x02091878 func_ov000_020901a4 kind:function(arm,size=0x50) addr:0x02091880 -func_ov000_020901f4 kind:function(arm,size=0x55c) addr:0x020918d0 +_ZN13LinkStateBase19func_ov000_020901f4EPvi kind:function(arm,size=0x55c) addr:0x020918d0 func_ov000_02090750 kind:function(arm,size=0x3c) addr:0x02091e2c -func_ov000_0209078c kind:function(arm,size=0x30) addr:0x02091e68 +_ZN13LinkStateBase19func_ov000_0209078cEi kind:function(arm,size=0x30) addr:0x02091e68 _ZN13LinkStateBase8vfunc_14Ev kind:function(arm,size=0x4) addr:0x02091e98 -_ZN13LinkStateBase8vfunc_18Eiii kind:function(arm,size=0x4) addr:0x02091e9c +_ZN13LinkStateBase8vfunc_18Ei10LinkState_i kind:function(arm,size=0x4) addr:0x02091e9c _ZN13LinkStateBase8vfunc_1CEP7VecFx32 kind:function(arm,size=0x54) addr:0x02091ea0 func_ov000_02090818 kind:function(arm,size=0x38) addr:0x02091ef4 _ZN15LinkStateDamageC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x90) addr:0x02091f2c @@ -2105,10 +2105,10 @@ _ZN15LinkStateDamageD0Ev kind:function(arm,size=0x10c) addr:0x020920c0 func_ov000_02090af0 kind:function(arm,size=0x44) addr:0x020921cc func_ov000_02090b34 kind:function(arm,size=0x50) addr:0x02092210 func_ov000_02090b84 kind:function(arm,size=0x2c) addr:0x02092260 -_ZN15LinkStateDamage8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x0209228c -_ZN15LinkStateDamage8vfunc_10Eii kind:function(arm,size=0x524) addr:0x020926c4 +_ZN15LinkStateDamage8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x0209228c +_ZN15LinkStateDamage8vfunc_10E10LinkState_i kind:function(arm,size=0x524) addr:0x020926c4 _ZN15LinkStateDamage8vfunc_14Ev kind:function(arm,size=0x68) addr:0x02092be8 -_ZN15LinkStateDamage8vfunc_18Eiii kind:function(arm,size=0x20) addr:0x02092c50 +_ZN15LinkStateDamage8vfunc_18Ei10LinkState_i kind:function(arm,size=0x20) addr:0x02092c50 _ZN15LinkStateDamage8vfunc_1CEP7VecFx32 kind:function(arm,size=0xb4) addr:0x02092c70 func_ov000_02091648 kind:function(arm,size=0x34) addr:0x02092d24 func_ov000_0209167c kind:function(arm,size=0x40) addr:0x02092d58 @@ -2118,18 +2118,18 @@ func_ov000_020917e8 kind:function(arm,size=0x4c4) addr:0x02092ec4 _ZN18PlayerLinkActor_A0C1EP11ItemManagerP21UnkStruct_027e0ce0_40P15PlayerActorBaseP18PlayerLinkActor_9C kind:function(thumb,size=0x1f4) addr:0x02093388 _ZN18PlayerLinkActor_A019func_ov000_02091ea0Ev kind:function(arm,size=0x18) addr:0x0209357c func_ov000_02091eb8 kind:function(arm,size=0x50) addr:0x02093594 -_ZN18PlayerLinkActor_A019func_ov000_02091f08Ei kind:function(arm,size=0x28) addr:0x020935e4 +_ZN18PlayerLinkActor_A019func_ov000_02091f08E14LinkStateType_ kind:function(arm,size=0x28) addr:0x020935e4 func_ov000_02091f30 kind:function(arm,size=0x164) addr:0x0209360c func_ov000_02092094 kind:function(arm,size=0x1c) addr:0x02093770 func_ov000_020920b0 kind:function(arm,size=0x34) addr:0x0209378c func_ov000_020920e4 kind:function(arm,size=0xc4) addr:0x020937c0 func_ov000_020921a8 kind:function(arm,size=0x3c) addr:0x02093884 -_ZN18PlayerLinkActor_A019func_ov000_020921e4Ei kind:function(arm,size=0x464) addr:0x020938c0 +_ZN18PlayerLinkActor_A019func_ov000_020921e4E10LinkState_ kind:function(arm,size=0x464) addr:0x020938c0 _ZN18PlayerLinkActor_A019func_ov000_02092648Ei kind:function(arm,size=0x7f0) addr:0x02093d24 _ZN18PlayerLinkActor_A019func_ov000_02092e38Ev kind:function(arm,size=0x70) addr:0x02094514 _ZN18PlayerLinkActor_A019func_ov000_02092ea8Eii kind:function(arm,size=0x24) addr:0x02094584 _ZN18PlayerLinkActor_A019func_ov000_02092eccEPvb kind:function(arm,size=0x19c) addr:0x020945a8 -func_ov000_02093068 kind:function(arm,size=0x28) addr:0x02094744 +_ZN18PlayerLinkActor_A019func_ov000_02093068Ev kind:function(arm,size=0x28) addr:0x02094744 func_ov000_02093090 kind:function(arm,size=0x28) addr:0x0209476c _ZN18PlayerLinkActor_A019func_ov000_020930b8Eb kind:function(arm,size=0x3c) addr:0x02094794 func_ov000_020930f4 kind:function(arm,size=0x78) addr:0x020947d0 @@ -2159,13 +2159,13 @@ func_ov000_02093ab0 kind:function(arm,size=0x28) addr:0x0209518c _ZN18PlayerLinkActor_A019func_ov000_02093ad8Ev kind:function(arm,size=0x2c) addr:0x020951b4 func_ov000_02093b04 kind:function(arm,size=0x68) addr:0x020951e0 func_ov000_02093b6c kind:function(arm,size=0x18) addr:0x02095248 -func_ov000_02093b84 kind:function(arm,size=0xc) addr:0x02095260 +_ZN18PlayerLinkActor_A019func_ov000_02093b84Ev kind:function(arm,size=0xc) addr:0x02095260 func_ov000_02093b90 kind:function(arm,size=0x38) addr:0x0209526c _ZN18PlayerLinkActor_A019func_ov000_02093bc8Ei kind:function(arm,size=0x21c) addr:0x020952a4 _ZN18PlayerLinkActor_A019func_ov000_02093d0cEv kind:function(arm,size=0x34) addr:0x020954c0 func_ov000_02093d40 kind:function(arm,size=0x60) addr:0x020954f4 _ZN18PlayerLinkActor_A019func_ov000_02093da0Eb kind:function(arm,size=0x1b8) addr:0x02095554 -func_ov000_02093f58 kind:function(arm,size=0x1c) addr:0x0209570c +_ZN18PlayerLinkActor_A019func_ov000_02093f58Ev kind:function(arm,size=0x1c) addr:0x0209570c _ZN18PlayerLinkActor_A019func_ov000_02093f74E9RefStruct kind:function(arm,size=0x5c) addr:0x02095728 _ZN18PlayerLinkActor_A019func_ov000_02093fd0Ev kind:function(arm,size=0x18) addr:0x02095784 _ZN18PlayerLinkActor_A019func_ov000_02093fe8Ev kind:function(arm,size=0x2c) addr:0x0209579c diff --git a/config/jp/arm9/overlays/ov031/relocs.txt b/config/jp/arm9/overlays/ov031/relocs.txt index 823113d3b..4aa0f9605 100644 --- a/config/jp/arm9/overlays/ov031/relocs.txt +++ b/config/jp/arm9/overlays/ov031/relocs.txt @@ -536,7 +536,7 @@ from:0x020df034 kind:arm_call to:0x0208e5f8 module:overlay(0) from:0x020df0a4 kind:arm_call to:0x02072e84 module:overlay(0) from:0x020df0c0 kind:arm_call to:0x020dee68 module:overlay(31) from:0x020df0ec kind:arm_call to:0x020895bc module:overlay(0) -from:0x020df0fc kind:arm_call to:0x0212b188 module:none +from:0x020df0fc kind:arm_call to:0x0212b188 module:overlay(45) from:0x020df118 kind:arm_call to:0x020dee68 module:overlay(31) from:0x020df140 kind:arm_call to:0x020895bc module:overlay(0) from:0x020df184 kind:arm_call to:0x021252d0 module:overlay(44) diff --git a/config/jp/arm9/overlays/ov031/symbols.txt b/config/jp/arm9/overlays/ov031/symbols.txt index ebb3acd2b..0dbd1ca7d 100644 --- a/config/jp/arm9/overlays/ov031/symbols.txt +++ b/config/jp/arm9/overlays/ov031/symbols.txt @@ -69,19 +69,19 @@ _ZN18UnkStruct_027e0d3411TryItemGiveEi kind:function(arm,size=0x10) addr:0x020db _ZN18UnkStruct_027e0d3419func_ov031_020d9844Ev kind:function(arm,size=0x10) addr:0x020db1e4 _ZN18UnkStruct_027e0d3419func_ov031_020d9854EP7VecFx32i kind:function(arm,size=0x34) addr:0x020db1f4 _ZN18UnkStruct_027e0d3419func_ov031_020d9888EP7VecFx32i14UnkAngleStruct kind:function(arm,size=0x34) addr:0x020db228 -_ZN18UnkStruct_027e0d3419func_ov031_020d98bcEii kind:function(arm,size=0x1c) addr:0x020db25c -_ZN18UnkStruct_027e0d3419func_ov031_020d98d8Eii kind:function(arm,size=0x1c) addr:0x020db278 +_ZN18UnkStruct_027e0d3419func_ov031_020d98bcEiPK7VecFx32 kind:function(arm,size=0x1c) addr:0x020db25c +_ZN18UnkStruct_027e0d3419func_ov031_020d98d8EiPK7VecFx32 kind:function(arm,size=0x1c) addr:0x020db278 _ZN18UnkStruct_027e0d3419func_ov031_020d98f4EP7VecFx3214UnkAngleStruct kind:function(arm,size=0x2c) addr:0x020db294 _ZN18UnkStruct_027e0d3419func_ov031_020d9920EP7VecFx3214UnkAngleStruct kind:function(arm,size=0x2c) addr:0x020db2c0 _ZN18UnkStruct_027e0d3419func_ov031_020d994cEv kind:function(arm,size=0x10) addr:0x020db2ec _ZN18UnkStruct_027e0d3419func_ov031_020d995cEiii kind:function(arm,size=0x10) addr:0x020db2fc _ZN18UnkStruct_027e0d3419func_ov031_020d996cEv kind:function(arm,size=0x10) addr:0x020db30c -_ZN18UnkStruct_027e0d3419func_ov031_020d997cEi kind:function(arm,size=0x30) addr:0x020db31c +_ZN18UnkStruct_027e0d3419func_ov031_020d997cE10LinkState_ kind:function(arm,size=0x30) addr:0x020db31c _ZN18UnkStruct_027e0d3419func_ov031_020d99acEc kind:function(arm,size=0x10) addr:0x020db34c _ZN18UnkStruct_027e0d3419func_ov031_020d99bcEv kind:function(arm,size=0x10) addr:0x020db35c _ZN18UnkStruct_027e0d3419func_ov031_020d99ccEv kind:function(arm,size=0x10) addr:0x020db36c -_ZN18UnkStruct_027e0d3419func_ov031_020d99dcEi kind:function(arm,size=0x10) addr:0x020db37c -_ZN18UnkStruct_027e0d3419func_ov031_020d99ecEi kind:function(arm,size=0x10) addr:0x020db38c +_ZN18UnkStruct_027e0d3419func_ov031_020d99dcEiPK7VecFx32 kind:function(arm,size=0x10) addr:0x020db37c +_ZN18UnkStruct_027e0d3419func_ov031_020d99ecEiPK7VecFx32 kind:function(arm,size=0x10) addr:0x020db38c _ZN18UnkStruct_027e0d3419func_ov031_020d99fcEi9RefStruct kind:function(arm,size=0x20) addr:0x020db39c _ZN18UnkStruct_027e0d3419func_ov031_020d9a1cEi kind:function(arm,size=0x18) addr:0x020db3bc _ZN18UnkStruct_027e0d3419func_ov031_020d9a34Ei kind:function(arm,size=0x18) addr:0x020db3d4 @@ -133,7 +133,7 @@ _ZN18LinkStateDamage_8419func_ov031_020dacdcEb kind:function(arm,size=0xa4) addr _ZN18LinkStateDamage_AC19func_ov031_020dad80Ev kind:function(arm,size=0x18) addr:0x020dc720 _ZN18LinkStateDamage_AC19func_ov031_020dad98Ev kind:function(arm,size=0xa4) addr:0x020dc738 _ZN18LinkStateDamage_AC19func_ov031_020dae3cEv kind:function(arm,size=0x50) addr:0x020dc7dc -_ZN18LinkStateDamage_AC19func_ov031_020dae8cEi kind:function(arm,size=0x15c) addr:0x020dc82c +_ZN18LinkStateDamage_AC19func_ov031_020dae8cEP21UnkStruct_027e0ce0_40 kind:function(arm,size=0x15c) addr:0x020dc82c _ZN18LinkStateDamage_AC19func_ov031_020dafe8Eb kind:function(arm,size=0x40) addr:0x020dc988 _ZN18LinkStateDamage_AC19func_ov031_020db028Ev kind:function(arm,size=0xd4) addr:0x020dc9c8 _ZN19PlayerLinkActor_13419func_ov031_020db0fcEv kind:function(arm,size=0x24) addr:0x020dca9c @@ -190,7 +190,7 @@ _ZN21UnkStruct_027e0ce0_4019func_ov031_020dbf58E11PlayerType_ kind:function(arm, _ZN21UnkStruct_027e0ce0_4019func_ov031_020dbf7cE11PlayerType_ kind:function(arm,size=0x24) addr:0x020dd91c _ZN21UnkStruct_027e0ce0_4019func_ov031_020dbfa0E11PlayerType_P7VecFx32 kind:function(arm,size=0xb8) addr:0x020dd940 _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc058E11PlayerType_P7VecFx3214UnkAngleStruct kind:function(arm,size=0xd4) addr:0x020dd9f8 -_ZN21UnkStruct_027e0ce0_4019func_ov031_020dc12cE11PlayerType_iiP6SpherePvi kind:function(arm,size=0x90) addr:0x020ddacc +_ZN21UnkStruct_027e0ce0_4019func_ov031_020dc12cE11PlayerType_iiP6SpherePK7VecFx32i kind:function(arm,size=0x90) addr:0x020ddacc _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc1bcE11PlayerType_ii kind:function(arm,size=0x34) addr:0x020ddb5c _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc1f0E11PlayerType_iiP7VecFx32 kind:function(arm,size=0x28) addr:0x020ddb90 _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc218E9RefStructi kind:function(thumb,size=0x3e) addr:0x020ddbb8 @@ -233,20 +233,20 @@ _ZN21PlayerLinkActor_A0_1419func_ov031_020dd1a4EbP7VecFx3214UnkAngleStruct kind: _ZN21PlayerLinkActor_A0_148vfunc_08Ev kind:function(arm,size=0xb8) addr:0x020dec14 _ZN21PlayerLinkActor_A0_14D1Ev kind:function(arm,size=0x28) addr:0x020deccc _ZN21PlayerLinkActor_A0_14D0Ev kind:function(arm,size=0x30) addr:0x020decf4 -func_ov031_020dd384 kind:function(arm,size=0x64) addr:0x020ded24 -_ZN19func_ov031_020dd3e8D1Ev kind:function(arm,size=0x6c) addr:0x020ded88 -_ZN19func_ov031_020dd454D0Ev kind:function(arm,size=0x74) addr:0x020dedf4 -func_ov031_020dd4c8 kind:function(arm,size=0x20) addr:0x020dee68 -func_ov031_020dd4e8 kind:function(arm,size=0x88) addr:0x020dee88 -func_ov031_020dd570 kind:function(arm,size=0xd4) addr:0x020def10 -func_ov031_020dd644 kind:function(arm,size=0x1b8) addr:0x020defe4 -func_ov031_020dd7f8 kind:function(arm,size=0x288) addr:0x020df19c -func_ov031_020dda80 kind:function(arm,size=0x14) addr:0x020df424 +_ZN16LinkStateGrabbedC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x64) addr:0x020ded24 +_ZN16LinkStateGrabbedD1Ev kind:function(arm,size=0x6c) addr:0x020ded88 +_ZN16LinkStateGrabbedD0Ev kind:function(arm,size=0x74) addr:0x020dedf4 +_ZN16LinkStateGrabbed19func_ov031_020dd4c8Ev kind:function(arm,size=0x20) addr:0x020dee68 +_ZN16LinkStateGrabbed19func_ov031_020dd4e8Ev kind:function(arm,size=0x88) addr:0x020dee88 +_ZN16LinkStateGrabbed19func_ov031_020dd570Ev kind:function(arm,size=0xd4) addr:0x020def10 +_ZN16LinkStateGrabbed8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x1b8) addr:0x020defe4 +_ZN16LinkStateGrabbed8vfunc_10E10LinkState_i kind:function(arm,size=0x288) addr:0x020df19c +_ZN18PlayerLinkActor_A019func_ov031_020dda80Ei kind:function(arm,size=0x14) addr:0x020df424 _ZN18PlayerLinkActor_A019func_ov031_020dda94Ev kind:function(arm,size=0x5c) addr:0x020df438 -_ZN18PlayerLinkActor_A019func_ov031_020ddaf0Eii kind:function(arm,size=0x20) addr:0x020df494 -func_ov031_020ddb10 kind:function(arm,size=0xd4) addr:0x020df4b4 -_ZN18PlayerLinkActor_A019func_ov031_020ddbe4EP7VecFx32i14UnkAngleStructi kind:function(arm,size=0x78) addr:0x020df588 -_ZN18PlayerLinkActor_A019func_ov031_020ddc5cEiiii kind:function(arm,size=0x7c) addr:0x020df600 +_ZN18PlayerLinkActor_A019func_ov031_020ddaf0Ejj kind:function(arm,size=0x20) addr:0x020df494 +_ZN18PlayerLinkActor_A019func_ov031_020ddb10Ev kind:function(arm,size=0xd4) addr:0x020df4b4 +_ZN18PlayerLinkActor_A019func_ov031_020ddbe4EPK7VecFx32i14UnkAngleStructh kind:function(arm,size=0x78) addr:0x020df588 +_ZN18PlayerLinkActor_A019func_ov031_020ddc5cEiPK7VecFx3210LinkState_S3_ kind:function(arm,size=0x7c) addr:0x020df600 _ZN18PlayerLinkActor_A019func_ov031_020ddcd8EP7VecFx3214UnkAngleStruct kind:function(arm,size=0xd0) addr:0x020df67c _ZN18PlayerLinkActor_A019func_ov031_020ddda8EP7VecFx3214UnkAngleStruct kind:function(arm,size=0x50) addr:0x020df74c _ZN18PlayerLinkActor_A019func_ov031_020dddf8Ev kind:function(arm,size=0x38) addr:0x020df79c @@ -254,35 +254,35 @@ _ZN18PlayerLinkActor_A019func_ov031_020dde30Eiii kind:function(arm,size=0x3c) ad _ZN18PlayerLinkActor_A019func_ov031_020dde6cEv kind:function(arm,size=0xb4) addr:0x020df810 _ZN18PlayerLinkActor_A019func_ov031_020ddf20Ec kind:function(arm,size=0x24) addr:0x020df8c4 _ZN18PlayerLinkActor_A019func_ov031_020ddf44Ev kind:function(arm,size=0x28) addr:0x020df8e8 -_ZN18PlayerLinkActor_A019func_ov031_020ddf6cEi kind:function(arm,size=0x40) addr:0x020df910 -_ZN18PlayerLinkActor_A019func_ov031_020ddfacEi kind:function(arm,size=0x40) addr:0x020df950 +_ZN18PlayerLinkActor_A019func_ov031_020ddf6cEiPK7VecFx32 kind:function(arm,size=0x40) addr:0x020df910 +_ZN18PlayerLinkActor_A019func_ov031_020ddfacEiPK7VecFx32 kind:function(arm,size=0x40) addr:0x020df950 _ZN18PlayerLinkActor_A019func_ov031_020ddfecEi9RefStruct kind:function(arm,size=0x238) addr:0x020df990 -func_ov031_020de224 kind:function(arm,size=0xac) addr:0x020dfbc8 -func_ov031_020de2d0 kind:function(arm,size=0x58) addr:0x020dfc74 -_ZN19func_ov031_020de328D0Ev kind:function(arm,size=0x60) addr:0x020dfccc -func_ov031_020de388 kind:function(arm,size=0xd0) addr:0x020dfd2c -func_ov031_020de458 kind:function(arm,size=0x20c) addr:0x020dfdfc -func_ov031_020de664 kind:function(arm,size=0x1a8) addr:0x020e0008 -func_ov031_020de80c kind:function(arm,size=0x2c) addr:0x020e01b0 -func_ov031_020de838 kind:function(arm,size=0xb4) addr:0x020e01dc -func_ov031_020de8ec kind:function(arm,size=0x58) addr:0x020e0290 -func_ov031_020de944 kind:function(arm,size=0x64) addr:0x020e02e8 -func_ov031_020de9a8 kind:function(arm,size=0xc8) addr:0x020e034c -func_ov031_020dea70 kind:function(arm,size=0x100) addr:0x020e0414 -func_ov031_020deb70 kind:function(arm,size=0x388) addr:0x020e0514 -func_ov031_020deef8 kind:function(arm,size=0x1244) addr:0x020e089c -func_ov031_020e0110 kind:function(arm,size=0x168) addr:0x020e1ae0 -func_ov031_020e0278 kind:function(arm,size=0xc) addr:0x020e1c48 -func_ov031_020e0284 kind:function(arm,size=0xe4) addr:0x020e1c54 -func_ov031_020e0368 kind:function(arm,size=0x1e8) addr:0x020e1d38 -func_ov031_020e0550 kind:function(arm,size=0xac) addr:0x020e1f20 -func_ov031_020e05fc kind:function(arm,size=0x28) addr:0x020e1fcc +_ZN12LinkStateHitC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0xac) addr:0x020dfbc8 +_ZN12LinkStateHitD1Ev kind:function(arm,size=0x58) addr:0x020dfc74 +_ZN12LinkStateHitD0Ev kind:function(arm,size=0x60) addr:0x020dfccc +_ZN12LinkStateHit19func_ov031_020de388EiP7VecFx32 kind:function(arm,size=0xd0) addr:0x020dfd2c +_ZN12LinkStateHit19func_ov031_020de458EiP7VecFx32 kind:function(arm,size=0x20c) addr:0x020dfdfc +_ZN12LinkStateHit19func_ov031_020de664EiP6SphereS1_ kind:function(arm,size=0x1a8) addr:0x020e0008 +_ZN12LinkStateHit19func_ov031_020de80cEi kind:function(arm,size=0x2c) addr:0x020e01b0 +_ZN12LinkStateHit19func_ov031_020de838EP7VecFx32S1_P24UnkStruct_ov031_02112b40 kind:function(arm,size=0xb4) addr:0x020e01dc +_ZN12LinkStateHit19func_ov031_020de8ecEi kind:function(arm,size=0x58) addr:0x020e0290 +_ZN12LinkStateHit19func_ov031_020de944E10LinkState_ kind:function(arm,size=0x64) addr:0x020e02e8 +_ZN12LinkStateHit19func_ov031_020de9a8EPK24UnkStruct_ov000_0208a38c kind:function(arm,size=0xc8) addr:0x020e034c +_ZN12LinkStateHit8vfunc_00Ev kind:function(arm,size=0x100) addr:0x020e0414 +_ZN12LinkStateHit8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x388) addr:0x020e0514 +_ZN12LinkStateHit8vfunc_10E10LinkState_i kind:function(arm,size=0x1244) addr:0x020e089c +_ZN12LinkStateHit19func_ov031_020e0110Eii kind:function(arm,size=0x168) addr:0x020e1ae0 +_ZN15LinkStateHit_BCC1Ei kind:function(arm,size=0xc) addr:0x020e1c48 +_ZN15LinkStateHit_BC19func_ov031_020e0284E14UnkAngleStructiP7VecFx32 kind:function(arm,size=0xe4) addr:0x020e1c54 +_ZN15LinkStateHit_BC19func_ov031_020e0368E14UnkAngleStructi kind:function(arm,size=0x1e8) addr:0x020e1d38 +_ZN15LinkStateHit_BC19func_ov031_020e0550E14UnkAngleStructi kind:function(arm,size=0xac) addr:0x020e1f20 +_ZN15LinkStateHit_BC19func_ov031_020e05fcEv kind:function(arm,size=0x28) addr:0x020e1fcc func_ov031_020e0624 kind:function(thumb,size=0x4c) addr:0x020e1ff4 func_ov031_020e0670 kind:function(thumb,size=0x68) addr:0x020e2040 func_ov031_020e06d8 kind:function(thumb,size=0x70) addr:0x020e20a8 func_ov031_020e0748 kind:function(arm,size=0x24) addr:0x020e2118 _ZN21PlayerLinkActor_A0_1019func_ov031_020e076cEv kind:function(thumb,size=0x64) addr:0x020e213c -func_ov031_020e07d0 kind:function(arm,size=0xb8) addr:0x020e21a0 +_ZN21PlayerLinkActor_A0_1019func_ov031_020e07d0Ev kind:function(arm,size=0xb8) addr:0x020e21a0 func_ov031_020e0888 kind:function(arm,size=0x1c) addr:0x020e2258 func_ov031_020e08a4 kind:function(arm,size=0x50) addr:0x020e2274 func_ov031_020e08f4 kind:function(arm,size=0x30) addr:0x020e22c4 diff --git a/config/jp/arm9/overlays/ov044/symbols.txt b/config/jp/arm9/overlays/ov044/symbols.txt index 867814c82..1a90e9381 100644 --- a/config/jp/arm9/overlays/ov044/symbols.txt +++ b/config/jp/arm9/overlays/ov044/symbols.txt @@ -1,8 +1,8 @@ func_ov044_02125280 kind:function(arm,size=0x30) addr:0x02125280 func_ov044_021252b0 kind:function(arm,size=0x10) addr:0x021252b0 func_ov044_021252c0 kind:function(arm,size=0x10) addr:0x021252c0 -func_ov044_021252d0 kind:function(arm,size=0x68) addr:0x021252d0 -func_ov044_02125338 kind:function(arm,size=0xb0) addr:0x02125338 +_ZN16LinkStateGrabbed19func_ov044_02123510Ev kind:function(arm,size=0x68) addr:0x021252d0 +_ZN16LinkStateGrabbed19func_ov044_0212356cEi kind:function(arm,size=0xb0) addr:0x02125338 func_ov044_021253e8 kind:function(arm,size=0x14) addr:0x021253e8 func_ov044_021253fc kind:function(arm,size=0x14) addr:0x021253fc func_ov044_02125410 kind:function(arm,size=0x160) addr:0x02125410 diff --git a/config/jp/arm9/overlays/ov045/symbols.txt b/config/jp/arm9/overlays/ov045/symbols.txt index 99e532bc9..6ab63f43d 100644 --- a/config/jp/arm9/overlays/ov045/symbols.txt +++ b/config/jp/arm9/overlays/ov045/symbols.txt @@ -149,8 +149,9 @@ _ZN16MapObjectUnkRDSDD1Ev kind:function(arm,size=0x28) addr:0x0212b0f0 _ZN16MapObjectUnkRDSDD0Ev kind:function(arm,size=0x30) addr:0x0212b118 _ZN23MapObjectProfileUnkRDSDD1Ev kind:function(arm,size=0x14) addr:0x0212b148 _ZN19func_ov045_0212b15cD0Ev kind:function(arm,size=0x1c) addr:0x0212b15c -func_ov045_0212b178 kind:function(arm,size=0x64) addr:0x0212b178 -func_ov045_0212b1dc kind:function(arm,size=0xa4) addr:0x0212b1dc +func_ov045_0212b178 kind:function(arm,size=0x10) addr:0x0212b178 +_ZN16LinkStateGrabbed19func_ov045_021293c8Ev kind:function(arm,size=0x54) addr:0x0212b188 +_ZN16LinkStateGrabbed19func_ov045_0212941cEi kind:function(arm,size=0xa4) addr:0x0212b1dc data_ov045_0212b280 kind:data(any) addr:0x0212b280 data_ov045_0212b290 kind:data(any) addr:0x0212b290 data_ov045_0212b2a0 kind:data(any) addr:0x0212b2a0 diff --git a/config/jp/arm9/overlays/ov053/symbols.txt b/config/jp/arm9/overlays/ov053/symbols.txt index b412971c9..f07ba547f 100644 --- a/config/jp/arm9/overlays/ov053/symbols.txt +++ b/config/jp/arm9/overlays/ov053/symbols.txt @@ -112,7 +112,7 @@ _ZN12ActorUnkRAT019func_ov053_0213c9ccEv kind:function(arm,size=0x84) addr:0x021 _ZN12ActorUnkRAT019func_ov053_0213ca50Ev kind:function(arm,size=0x8c) addr:0x0213e484 _ZN19ActorProfileUnkRAT0D1Ev kind:function(arm,size=0x14) addr:0x0213e510 _ZN27UnkStruct_ItemManager_20_1419func_ov053_0213caf0Ev kind:function(arm,size=0x98) addr:0x0213e524 -func_ov053_0213e5bc kind:function(arm,size=0x194) addr:0x0213e5bc +_ZN16LinkStateGrabbed19func_ov053_0213cb88Ev kind:function(arm,size=0x194) addr:0x0213e5bc data_ov053_0213e750 kind:data(any) addr:0x0213e750 data_ov053_0213e760 kind:data(any) addr:0x0213e760 data_ov053_0213e770 kind:data(any) addr:0x0213e770 diff --git a/config/jp/arm9/overlays/ov082/symbols.txt b/config/jp/arm9/overlays/ov082/symbols.txt index 30288502e..d53ad183b 100644 --- a/config/jp/arm9/overlays/ov082/symbols.txt +++ b/config/jp/arm9/overlays/ov082/symbols.txt @@ -120,8 +120,8 @@ _ZN19func_ov082_0215a488D1Ev kind:function(arm,size=0x14) addr:0x0215a488 _ZN19func_ov082_0215a49cD0Ev kind:function(arm,size=0x1c) addr:0x0215a49c func_ov082_0215a4b8 kind:function(arm,size=0xdc) addr:0x0215a4b8 _ZN18PlayerLinkActor_A019func_ov082_02158654Ev kind:function(arm,size=0x104) addr:0x0215a594 -func_ov082_0215a698 kind:function(arm,size=0xb8) addr:0x0215a698 -func_ov082_0215a750 kind:function(arm,size=0x34) addr:0x0215a750 +_ZN18PlayerLinkActor_A019func_ov082_02158758Ei kind:function(arm,size=0xb8) addr:0x0215a698 +_ZN18PlayerLinkActor_A019func_ov082_02158810Ei kind:function(arm,size=0x34) addr:0x0215a750 data_ov082_0215a784 kind:data(any) addr:0x0215a784 data_ov082_0215a788 kind:data(any) addr:0x0215a788 data_ov082_0215a78c kind:data(any) addr:0x0215a78c diff --git a/config/jp/arm9/overlays/ov093/symbols.txt b/config/jp/arm9/overlays/ov093/symbols.txt index 99d8ab6f5..76c3d6b8d 100644 --- a/config/jp/arm9/overlays/ov093/symbols.txt +++ b/config/jp/arm9/overlays/ov093/symbols.txt @@ -201,7 +201,7 @@ func_ov093_0216e8c4 kind:function(arm,size=0x10) addr:0x02170b3c func_ov093_0216e8d4 kind:function(arm,size=0x10) addr:0x02170b4c func_ov093_0216e8e4 kind:function(arm,size=0x10) addr:0x02170b5c func_ov093_0216e8f4 kind:function(arm,size=0x1d0) addr:0x02170b6c -_ZN15PlayerActorBase19func_ov093_0216eac4EiiP6SpherePvi kind:function(arm,size=0x7d0) addr:0x02170d3c +_ZN15PlayerActorBase19func_ov093_0216eac4EiiP6SpherePK7VecFx32i kind:function(arm,size=0x7d0) addr:0x02170d3c func_ov093_0216f294 kind:function(arm,size=0x10) addr:0x0217150c _ZN15PlayerActorBase19func_ov093_0216f2a4Ev kind:function(arm,size=0x10) addr:0x0217151c func_ov093_0216f2b4 kind:function(arm,size=0x8c) addr:0x0217152c diff --git a/config/jp/arm9/overlays/ov110/symbols.txt b/config/jp/arm9/overlays/ov110/symbols.txt index f528c046d..d5e83d2f4 100644 --- a/config/jp/arm9/overlays/ov110/symbols.txt +++ b/config/jp/arm9/overlays/ov110/symbols.txt @@ -4,9 +4,9 @@ _ZN9PlayerGetC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0xa0) addr:0x021 _ZN9PlayerGetD1Ev kind:function(arm,size=0xc4) addr:0x021869fc _ZN9PlayerGetD0Ev kind:function(arm,size=0xcc) addr:0x02186ac0 _ZN9PlayerGet19func_ov110_02186b8cEv kind:function(arm,size=0x54) addr:0x02186b8c -_ZN9PlayerGet8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x5d8) addr:0x02186be0 -_ZN9PlayerGet8vfunc_10Eii kind:function(arm,size=0x6fc) addr:0x021871b8 -_ZN9PlayerGet8vfunc_18Eiii kind:function(arm,size=0x7c) addr:0x021878b4 +_ZN9PlayerGet8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x5d8) addr:0x02186be0 +_ZN9PlayerGet8vfunc_10E10LinkState_i kind:function(arm,size=0x6fc) addr:0x021871b8 +_ZN9PlayerGet8vfunc_18Ei10LinkState_i kind:function(arm,size=0x7c) addr:0x021878b4 _ZN22UnkStruct_PlayerGet_ecC1Ev kind:function(arm,size=0xc) addr:0x02187930 _ZN21UnkStruct_027e0ce0_3419func_ov110_02185d3cEi kind:function(thumb,size=0x66) addr:0x0218793c _ZN11ItemManager16GetBmgIDFromItemEi kind:function(arm,size=0x10) addr:0x021879a4 diff --git a/config/jp/arm9/overlays/ov112/symbols.txt b/config/jp/arm9/overlays/ov112/symbols.txt index 3d5bc5f69..87aceffac 100644 --- a/config/jp/arm9/overlays/ov112/symbols.txt +++ b/config/jp/arm9/overlays/ov112/symbols.txt @@ -2,12 +2,12 @@ _ZN17PlayerSceneChangeC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0xc4) a _ZN17PlayerSceneChangeD1Ev kind:function(arm,size=0x58) addr:0x02186684 _ZN17PlayerSceneChangeD0Ev kind:function(arm,size=0x60) addr:0x021866dc _ZN17PlayerSceneChange19func_ov112_02184bbcEs kind:function(arm,size=0x58) addr:0x0218673c -_ZN17PlayerSceneChange8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0xb68) addr:0x02186794 -_ZN17PlayerSceneChange8vfunc_10Eii kind:function(arm,size=0x80c) addr:0x021872fc +_ZN17PlayerSceneChange8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0xb68) addr:0x02186794 +_ZN17PlayerSceneChange8vfunc_10E10LinkState_i kind:function(arm,size=0x80c) addr:0x021872fc _ZN17PlayerSceneChange8vfunc_1CEP7VecFx32 kind:function(arm,size=0x84) addr:0x02187b08 _ZN18PlayerSceneChange2C1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x40) addr:0x02187b8c -_ZN18PlayerSceneChange28vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x25c) addr:0x02187bcc -_ZN18PlayerSceneChange28vfunc_10Eii kind:function(arm,size=0x208) addr:0x02187e28 +_ZN18PlayerSceneChange28vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x25c) addr:0x02187bcc +_ZN18PlayerSceneChange28vfunc_10E10LinkState_i kind:function(arm,size=0x208) addr:0x02187e28 _ZN18PlayerSceneChange2D1Ev kind:function(arm,size=0x14) addr:0x02188030 _ZN18PlayerSceneChange2D0Ev kind:function(arm,size=0x1c) addr:0x02188044 _ZTV17PlayerSceneChange kind:data(any) addr:0x02188080 diff --git a/config/usa/arm9/overlays/ov000/symbols.txt b/config/usa/arm9/overlays/ov000/symbols.txt index 77d6c401d..dfefbc544 100644 --- a/config/usa/arm9/overlays/ov000/symbols.txt +++ b/config/usa/arm9/overlays/ov000/symbols.txt @@ -1052,7 +1052,7 @@ func_ov000_02071688 kind:function(arm,size=0x54) addr:0x02071668 _ZN18UnkStruct_027e09a819func_ov000_020716dcEi kind:function(arm,size=0x24) addr:0x020716bc _ZN18UnkStruct_027e09a819func_ov000_02071700EiP7VecFx32 kind:function(arm,size=0x48) addr:0x020716e0 func_ov000_02071748 kind:function(arm,size=0x2c) addr:0x02071728 -func_ov000_02071774 kind:function(arm,size=0x58) addr:0x02071754 +_ZN18UnkStruct_027e09a819func_ov000_02071774EP9RefStructiP7VecFx32 kind:function(arm,size=0x58) addr:0x02071754 _ZN18UnkStruct_027e09a819func_ov000_020717ccEiP7VecFx32 kind:function(arm,size=0x48) addr:0x020717ac func_ov000_02071814 kind:function(arm,size=0x58) addr:0x020717f4 func_ov000_0207186c kind:function(arm,size=0x68) addr:0x0207184c @@ -1063,7 +1063,7 @@ func_ov000_020719b0 kind:function(arm,size=0xc4) addr:0x02071990 func_ov000_02071a74 kind:function(arm,size=0xbc) addr:0x02071a54 _ZN18UnkStruct_027e09a819func_ov000_02071b30EiP7VecFx32i kind:function(arm,size=0xa4) addr:0x02071b10 _ZN18UnkStruct_027e09a819func_ov000_02071bd4EiP7VecFx32i kind:function(arm,size=0x90) addr:0x02071bb4 -func_ov000_02071c64 kind:function(arm,size=0x2c) addr:0x02071c44 +_ZN18UnkStruct_027e09a819func_ov000_02071c64Eis kind:function(arm,size=0x2c) addr:0x02071c44 _ZN18UnkStruct_027e09a819func_ov000_02071c90EiP7VecFx32i kind:function(arm,size=0xa4) addr:0x02071c70 _ZN18UnkStruct_027e09a819func_ov000_02071d34EP9RefStructiP7VecFx32i kind:function(arm,size=0xb0) addr:0x02071d14 func_ov000_02071de4 kind:function(arm,size=0xa0) addr:0x02071dc4 @@ -1474,7 +1474,7 @@ func_ov000_0207e3ac kind:function(arm,size=0xac) addr:0x0207e38c _ZN18UnkStruct_027e09c019func_ov000_0207e458EiiP7VecFx32iS1_9RefStruct kind:function(arm,size=0x84) addr:0x0207e438 func_ov000_0207e4dc kind:function(arm,size=0x84) addr:0x0207e4bc func_ov000_0207e560 kind:function(arm,size=0x2c) addr:0x0207e540 -_ZN18UnkStruct_027e09c019func_ov000_0207e58cE9RefStructihP24UnkStruct_ov031_Items_01 kind:function(arm,size=0xa4) addr:0x0207e56c +_ZN18UnkStruct_027e09c019func_ov000_0207e58cE9RefStructijP24UnkStruct_ov031_Items_01 kind:function(arm,size=0xa4) addr:0x0207e56c func_ov000_0207e630 kind:function(arm,size=0x38) addr:0x0207e610 func_ov000_0207e668 kind:function(arm,size=0x50) addr:0x0207e648 func_ov000_0207e6b8 kind:function(arm,size=0x14) addr:0x0207e698 @@ -1663,8 +1663,8 @@ _ZN13SkyboxManager13DestroySkyboxEv kind:function(arm,size=0x68) addr:0x020825fc func_ov000_02082684 kind:function(arm,size=0x34) addr:0x02082664 func_ov000_020826b8 kind:function(arm,size=0x90) addr:0x02082698 _ZN21PlayerLinkActor_A0_3419func_ov000_02082748Ev kind:function(arm,size=0x14) addr:0x02082728 -func_ov000_0208275c kind:function(arm,size=0xa8) addr:0x0208273c -func_ov000_02082804 kind:function(arm,size=0xc8) addr:0x020827e4 +_ZN21PlayerLinkActor_A0_3419func_ov000_0208275cE9RefStruct kind:function(arm,size=0xa8) addr:0x0208273c +_ZN21PlayerLinkActor_A0_3419func_ov000_02082804Ev kind:function(arm,size=0xc8) addr:0x020827e4 func_ov000_020828cc kind:function(arm,size=0xfc) addr:0x020828ac _ZN18UnkStruct_027e0cdc6CreateEP21UnkStruct_027e0ce0_30 kind:function(thumb,size=0x1a) addr:0x020829a8 func_ov000_020829e4 kind:function(thumb,size=0x14) addr:0x020829c4 @@ -1677,7 +1677,7 @@ _ZN18UnkStruct_027e0cdc19func_ov000_02082a48Ei kind:function(arm,size=0x10) addr func_ov000_02082a58 kind:function(arm,size=0x48) addr:0x02082a38 func_ov000_02082aa0 kind:function(arm,size=0x10) addr:0x02082a80 func_ov000_02082ab0 kind:function(thumb,size=0x2c) addr:0x02082a90 -func_ov000_02082adc kind:function(arm,size=0x70) addr:0x02082abc +_ZN18PlayerActorBase_7019func_ov000_02082adcEiiii kind:function(arm,size=0x70) addr:0x02082abc func_ov000_02082b4c kind:function(arm,size=0x68) addr:0x02082b2c func_ov000_02082bb4 kind:function(arm,size=0x1c) addr:0x02082b94 func_ov000_02082bd0 kind:function(arm,size=0x1c) addr:0x02082bb0 @@ -1729,7 +1729,7 @@ func_ov000_02084684 kind:function(arm,size=0x5c) addr:0x02084664 func_ov000_020846e0 kind:function(arm,size=0x38) addr:0x020846c0 func_ov000_02084718 kind:function(arm,size=0x44) addr:0x020846f8 func_ov000_0208475c kind:function(arm,size=0x194) addr:0x0208473c -func_ov000_020848f0 kind:function(arm,size=0x54) addr:0x020848d0 +_ZN16LinkStateBase_2C19func_ov000_020848f0E9RefStruct kind:function(arm,size=0x54) addr:0x020848d0 func_ov000_02084944 kind:function(arm,size=0x68) addr:0x02084924 func_ov000_020849ac kind:function(arm,size=0x24) addr:0x0208498c _ZN18PlayerLinkActor_9C19func_ov000_020849d0EP7VecFx32S1_ kind:function(arm,size=0xf8) addr:0x020849b0 @@ -1803,26 +1803,26 @@ func_ov000_02087f78 kind:function(arm,size=0x50) addr:0x02087f58 func_ov000_02087fc8 kind:function(arm,size=0x98) addr:0x02087fa8 _ZN21UnkStruct_027e0ce0_4019func_ov000_02088060Eb kind:function(arm,size=0x10c) addr:0x02088040 func_ov000_0208816c kind:function(arm,size=0xfc) addr:0x0208814c -_ZN21PlayerLinkActor_A0_0419func_ov000_02088268Ev kind:function(arm,size=0x60) addr:0x02088248 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088268Ev kind:function(arm,size=0x60) addr:0x02088248 func_ov000_020882c8 kind:function(arm,size=0x64) addr:0x020882a8 func_ov000_0208832c kind:function(arm,size=0x20) addr:0x0208830c func_ov000_0208834c kind:function(arm,size=0xdc) addr:0x0208832c func_ov000_02088428 kind:function(arm,size=0x68) addr:0x02088408 func_ov000_02088490 kind:function(arm,size=0x94) addr:0x02088470 -func_ov000_02088524 kind:function(arm,size=0xe4) addr:0x02088504 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088524EijPv kind:function(arm,size=0xe4) addr:0x02088504 func_ov000_02088608 kind:function(arm,size=0xf8) addr:0x020885e8 -func_ov000_02088700 kind:function(arm,size=0xb8) addr:0x020886e0 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088700EP24UnkStruct_ov000_0208a38c kind:function(arm,size=0xb8) addr:0x020886e0 func_ov000_020887b8 kind:function(arm,size=0x30) addr:0x02088798 func_ov000_020887e8 kind:function(arm,size=0x38) addr:0x020887c8 func_ov000_02088820 kind:function(arm,size=0x14) addr:0x02088800 func_ov000_02088834 kind:function(arm,size=0x20) addr:0x02088814 -func_ov000_02088854 kind:function(arm,size=0x34) addr:0x02088834 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088854Ev kind:function(arm,size=0x34) addr:0x02088834 func_ov000_02088888 kind:function(arm,size=0x40) addr:0x02088868 func_ov000_020888c8 kind:function(arm,size=0x48) addr:0x020888a8 func_ov000_02088910 kind:function(arm,size=0x198) addr:0x020888f0 func_ov000_02088aa8 kind:function(arm,size=0x10c) addr:0x02088a88 func_ov000_02088bb4 kind:function(arm,size=0x15c) addr:0x02088b94 -func_ov000_02088d10 kind:function(arm,size=0x98) addr:0x02088cf0 +_ZN21UnkStruct_027e0ce0_4019func_ov000_02088d10EP7VecFx32 kind:function(arm,size=0x98) addr:0x02088cf0 func_ov000_02088da8 kind:function(arm,size=0x2c) addr:0x02088d88 func_ov000_02088dd4 kind:function(arm,size=0x24) addr:0x02088db4 func_ov000_02088df8 kind:function(arm,size=0x34) addr:0x02088dd8 @@ -1878,14 +1878,14 @@ _ZN18UnkStruct_027e0ce019func_ov000_0208a218EP13InvImportData kind:function(thum func_ov000_0208a250 kind:function(thumb,size=0x74) addr:0x0208a230 _ZN18UnkStruct_027e0ce019func_ov000_0208a2c4Eii kind:function(arm,size=0x54) addr:0x0208a2a4 _ZN18UnkStruct_027e0ce019func_ov000_0208a318Eiii kind:function(arm,size=0x74) addr:0x0208a2f8 -func_ov000_0208a38c kind:function(arm,size=0x30) addr:0x0208a36c +_ZN24UnkStruct_ov000_0208a38cC1EPK7VecFx32 kind:function(arm,size=0x30) addr:0x0208a36c func_ov000_0208a3bc kind:function(arm,size=0x328) addr:0x0208a39c func_ov000_0208a6e4 kind:function(arm,size=0x48) addr:0x0208a6c4 _ZN37UnkStruct_027e0ce0_40_Base_94_50_BaseC2EiiP7RefElemi kind:function(thumb,size=0xe) addr:0x0208a70c func_ov000_0208a73c kind:function(arm,size=0x68) addr:0x0208a71c func_ov000_0208a7a4 kind:function(arm,size=0x28) addr:0x0208a784 func_ov000_0208a7cc kind:function(arm,size=0x60) addr:0x0208a7ac -func_ov000_0208a82c kind:function(arm,size=0x198) addr:0x0208a80c +_ZN29UnkStruct_027e0ce0_40_Base_9419func_ov000_0208a82cEiiP7VecFx32 kind:function(arm,size=0x198) addr:0x0208a80c func_ov000_0208a9c4 kind:function(arm,size=0x8c) addr:0x0208a9a4 func_ov000_0208aa50 kind:function(arm,size=0x7c) addr:0x0208aa30 func_ov000_0208aacc kind:function(arm,size=0x50) addr:0x0208aaac @@ -1996,7 +1996,7 @@ func_ov000_0208cda0 kind:function(arm,size=0x68) addr:0x0208cd80 func_ov000_0208ce08 kind:function(arm,size=0x50) addr:0x0208cde8 func_ov000_0208ce58 kind:function(arm,size=0x70) addr:0x0208ce38 func_ov000_0208cec8 kind:function(arm,size=0x58) addr:0x0208cea8 -func_ov000_0208cf20 kind:function(arm,size=0x20c) addr:0x0208cf00 +_ZN15PlayerActorBase19func_ov000_0208cf20Eii kind:function(arm,size=0x20c) addr:0x0208cf00 func_ov000_0208d12c kind:function(arm,size=0x50) addr:0x0208d10c func_ov000_0208d17c kind:function(arm,size=0x60) addr:0x0208d15c func_ov000_0208d1dc kind:function(arm,size=0x58) addr:0x0208d1bc @@ -2028,7 +2028,7 @@ _ZN15PlayerActorBase19func_ov000_0208dc98Ev kind:function(arm,size=0x58) addr:0x _ZN15PlayerActorBase19func_ov000_0208dcf0Ev kind:function(arm,size=0x60) addr:0x0208dcd0 func_ov000_0208dd50 kind:function(arm,size=0x10) addr:0x0208dd30 func_ov000_0208dd60 kind:function(arm,size=0x10) addr:0x0208dd40 -_ZN15PlayerActorBase19func_ov000_0208dd70EiiP6SpherePvi kind:function(arm,size=0x70c) addr:0x0208dd50 +_ZN15PlayerActorBase19func_ov000_0208dd70EiiP6SpherePK7VecFx32i kind:function(arm,size=0x70c) addr:0x0208dd50 func_ov000_0208e47c kind:function(arm,size=0xbc) addr:0x0208e45c _ZN15PlayerActorBase19func_ov000_0208e538Ev kind:function(arm,size=0x10) addr:0x0208e518 _ZN15PlayerActorBase19func_ov000_0208e548EP7VecFx32ii kind:function(arm,size=0x10) addr:0x0208e528 @@ -2041,7 +2041,7 @@ func_ov000_0208e628 kind:function(arm,size=0x4c) addr:0x0208e608 func_ov000_0208e674 kind:function(arm,size=0x54) addr:0x0208e654 func_ov000_0208e6c8 kind:function(arm,size=0x3c) addr:0x0208e6a8 _ZN21PlayerLinkActor_A0_2C19func_ov000_0208e704Ev kind:function(arm,size=0x18) addr:0x0208e6e4 -func_ov000_0208e71c kind:function(arm,size=0x2c) addr:0x0208e6fc +_ZN21PlayerLinkActor_A0_2C19func_ov000_0208e71cEii kind:function(arm,size=0x2c) addr:0x0208e6fc func_ov000_0208e748 kind:function(arm,size=0x40) addr:0x0208e728 _ZN24UnkStruct_027e0ce0_1C_08C1Eiii kind:function(thumb,size=0x68) addr:0x0208e768 _ZN19func_ov000_0208e7f0D1Ev kind:function(arm,size=0x14) addr:0x0208e7d0 @@ -2084,18 +2084,18 @@ func_ov000_0208f954 kind:function(arm,size=0x40) addr:0x0208f934 func_ov000_0208f994 kind:function(arm,size=0x11c) addr:0x0208f974 func_ov000_0208fab0 kind:function(arm,size=0x324) addr:0x0208fa90 func_ov000_0208fdd4 kind:function(arm,size=0xc8) addr:0x0208fdb4 -func_ov000_0208fe9c kind:function(arm,size=0x58) addr:0x0208fe7c +_ZN13LinkStateBase19func_ov000_0208fe9cEb kind:function(arm,size=0x58) addr:0x0208fe7c func_ov000_0208fef4 kind:function(arm,size=0x44) addr:0x0208fed4 -func_ov000_0208ff38 kind:function(arm,size=0x154) addr:0x0208ff18 +_ZN13LinkStateBase19func_ov000_0208ff38EiP14UnkAngleStructPv kind:function(arm,size=0x154) addr:0x0208ff18 func_ov000_0209008c kind:function(arm,size=0xc8) addr:0x0209006c func_ov000_02090154 kind:function(arm,size=0x48) addr:0x02090134 _ZN13LinkStateBase8vfunc_00Ev kind:function(arm,size=0x8) addr:0x0209017c func_ov000_020901a4 kind:function(arm,size=0x50) addr:0x02090184 -func_ov000_020901f4 kind:function(arm,size=0x55c) addr:0x020901d4 +_ZN13LinkStateBase19func_ov000_020901f4EPvi kind:function(arm,size=0x55c) addr:0x020901d4 func_ov000_02090750 kind:function(arm,size=0x3c) addr:0x02090730 -func_ov000_0209078c kind:function(arm,size=0x30) addr:0x0209076c +_ZN13LinkStateBase19func_ov000_0209078cEi kind:function(arm,size=0x30) addr:0x0209076c _ZN13LinkStateBase8vfunc_14Ev kind:function(arm,size=0x4) addr:0x0209079c -_ZN13LinkStateBase8vfunc_18Eiii kind:function(arm,size=0x4) addr:0x020907a0 +_ZN13LinkStateBase8vfunc_18Ei10LinkState_i kind:function(arm,size=0x4) addr:0x020907a0 _ZN13LinkStateBase8vfunc_1CEP7VecFx32 kind:function(arm,size=0x54) addr:0x020907a4 func_ov000_02090818 kind:function(arm,size=0x38) addr:0x020907f8 _ZN15LinkStateDamageC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x90) addr:0x02090830 @@ -2104,10 +2104,10 @@ _ZN15LinkStateDamageD0Ev kind:function(arm,size=0x10c) addr:0x020909c4 func_ov000_02090af0 kind:function(arm,size=0x44) addr:0x02090ad0 func_ov000_02090b34 kind:function(arm,size=0x50) addr:0x02090b14 func_ov000_02090b84 kind:function(arm,size=0x2c) addr:0x02090b64 -_ZN15LinkStateDamage8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x02090b90 -_ZN15LinkStateDamage8vfunc_10Eii kind:function(arm,size=0x524) addr:0x02090fc8 +_ZN15LinkStateDamage8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x438) addr:0x02090b90 +_ZN15LinkStateDamage8vfunc_10E10LinkState_i kind:function(arm,size=0x524) addr:0x02090fc8 _ZN15LinkStateDamage8vfunc_14Ev kind:function(arm,size=0x68) addr:0x020914ec -_ZN15LinkStateDamage8vfunc_18Eiii kind:function(arm,size=0x20) addr:0x02091554 +_ZN15LinkStateDamage8vfunc_18Ei10LinkState_i kind:function(arm,size=0x20) addr:0x02091554 _ZN15LinkStateDamage8vfunc_1CEP7VecFx32 kind:function(arm,size=0xb4) addr:0x02091574 func_ov000_02091648 kind:function(arm,size=0x34) addr:0x02091628 func_ov000_0209167c kind:function(arm,size=0x40) addr:0x0209165c @@ -2117,18 +2117,18 @@ func_ov000_020917e8 kind:function(arm,size=0x4c4) addr:0x020917c8 _ZN18PlayerLinkActor_A0C1EP11ItemManagerP21UnkStruct_027e0ce0_40P15PlayerActorBaseP18PlayerLinkActor_9C kind:function(thumb,size=0x1f4) addr:0x02091c8c _ZN18PlayerLinkActor_A019func_ov000_02091ea0Ev kind:function(arm,size=0x18) addr:0x02091e80 func_ov000_02091eb8 kind:function(arm,size=0x50) addr:0x02091e98 -_ZN18PlayerLinkActor_A019func_ov000_02091f08Ei kind:function(arm,size=0x28) addr:0x02091ee8 +_ZN18PlayerLinkActor_A019func_ov000_02091f08E14LinkStateType_ kind:function(arm,size=0x28) addr:0x02091ee8 func_ov000_02091f30 kind:function(arm,size=0x164) addr:0x02091f10 func_ov000_02092094 kind:function(arm,size=0x1c) addr:0x02092074 func_ov000_020920b0 kind:function(arm,size=0x34) addr:0x02092090 func_ov000_020920e4 kind:function(arm,size=0xc4) addr:0x020920c4 func_ov000_020921a8 kind:function(arm,size=0x3c) addr:0x02092188 -_ZN18PlayerLinkActor_A019func_ov000_020921e4Ei kind:function(arm,size=0x464) addr:0x020921c4 +_ZN18PlayerLinkActor_A019func_ov000_020921e4E10LinkState_ kind:function(arm,size=0x464) addr:0x020921c4 _ZN18PlayerLinkActor_A019func_ov000_02092648Ei kind:function(arm,size=0x7f0) addr:0x02092628 _ZN18PlayerLinkActor_A019func_ov000_02092e38Ev kind:function(arm,size=0x70) addr:0x02092e18 _ZN18PlayerLinkActor_A019func_ov000_02092ea8Eii kind:function(arm,size=0x24) addr:0x02092e88 _ZN18PlayerLinkActor_A019func_ov000_02092eccEPvb kind:function(arm,size=0x19c) addr:0x02092eac -func_ov000_02093068 kind:function(arm,size=0x28) addr:0x02093048 +_ZN18PlayerLinkActor_A019func_ov000_02093068Ev kind:function(arm,size=0x28) addr:0x02093048 func_ov000_02093090 kind:function(arm,size=0x28) addr:0x02093070 _ZN18PlayerLinkActor_A019func_ov000_020930b8Eb kind:function(arm,size=0x3c) addr:0x02093098 func_ov000_020930f4 kind:function(arm,size=0x78) addr:0x020930d4 @@ -2158,13 +2158,13 @@ func_ov000_02093ab0 kind:function(arm,size=0x28) addr:0x02093a90 _ZN18PlayerLinkActor_A019func_ov000_02093ad8Ev kind:function(arm,size=0x2c) addr:0x02093ab8 func_ov000_02093b04 kind:function(arm,size=0x68) addr:0x02093ae4 func_ov000_02093b6c kind:function(arm,size=0x18) addr:0x02093b4c -func_ov000_02093b84 kind:function(arm,size=0xc) addr:0x02093b64 +_ZN18PlayerLinkActor_A019func_ov000_02093b84Ev kind:function(arm,size=0xc) addr:0x02093b64 func_ov000_02093b90 kind:function(arm,size=0x38) addr:0x02093b70 _ZN18PlayerLinkActor_A019func_ov000_02093bc8Ei kind:function(arm,size=0x144) addr:0x02093ba8 _ZN18PlayerLinkActor_A019func_ov000_02093d0cEv kind:function(arm,size=0x34) addr:0x02093cec func_ov000_02093d40 kind:function(arm,size=0x60) addr:0x02093d20 _ZN18PlayerLinkActor_A019func_ov000_02093da0Eb kind:function(arm,size=0x1b8) addr:0x02093d80 -func_ov000_02093f58 kind:function(arm,size=0x1c) addr:0x02093f38 +_ZN18PlayerLinkActor_A019func_ov000_02093f58Ev kind:function(arm,size=0x1c) addr:0x02093f38 _ZN18PlayerLinkActor_A019func_ov000_02093f74E9RefStruct kind:function(arm,size=0x5c) addr:0x02093f54 _ZN18PlayerLinkActor_A019func_ov000_02093fd0Ev kind:function(arm,size=0x18) addr:0x02093fb0 _ZN18PlayerLinkActor_A019func_ov000_02093fe8Ev kind:function(arm,size=0x2c) addr:0x02093fc8 diff --git a/config/usa/arm9/overlays/ov031/relocs.txt b/config/usa/arm9/overlays/ov031/relocs.txt index 8630c83a1..c174805bc 100644 --- a/config/usa/arm9/overlays/ov031/relocs.txt +++ b/config/usa/arm9/overlays/ov031/relocs.txt @@ -535,7 +535,7 @@ from:0x020dd670 kind:arm_call to:0x0208cf00 module:overlay(0) from:0x020dd6e0 kind:arm_call to:0x020717ac module:overlay(0) from:0x020dd6fc kind:arm_call to:0x020dd4a8 module:overlay(31) from:0x020dd728 kind:arm_call to:0x02087ec8 module:overlay(0) -from:0x020dd738 kind:arm_call to:0x021293a8 module:overlay(46) +from:0x020dd738 kind:arm_call to:0x021293a8 module:overlay(45) from:0x020dd754 kind:arm_call to:0x020dd4a8 module:overlay(31) from:0x020dd77c kind:arm_call to:0x02087ec8 module:overlay(0) from:0x020dd7c0 kind:arm_call to:0x021234f0 module:overlays(40,44) diff --git a/config/usa/arm9/overlays/ov031/symbols.txt b/config/usa/arm9/overlays/ov031/symbols.txt index 0b87800ac..fdd89a223 100644 --- a/config/usa/arm9/overlays/ov031/symbols.txt +++ b/config/usa/arm9/overlays/ov031/symbols.txt @@ -69,19 +69,19 @@ _ZN18UnkStruct_027e0d3411TryItemGiveEi kind:function(arm,size=0x10) addr:0x020d9 _ZN18UnkStruct_027e0d3419func_ov031_020d9844Ev kind:function(arm,size=0x10) addr:0x020d9824 _ZN18UnkStruct_027e0d3419func_ov031_020d9854EP7VecFx32i kind:function(arm,size=0x34) addr:0x020d9834 _ZN18UnkStruct_027e0d3419func_ov031_020d9888EP7VecFx32i14UnkAngleStruct kind:function(arm,size=0x34) addr:0x020d9868 -_ZN18UnkStruct_027e0d3419func_ov031_020d98bcEii kind:function(arm,size=0x1c) addr:0x020d989c -_ZN18UnkStruct_027e0d3419func_ov031_020d98d8Eii kind:function(arm,size=0x1c) addr:0x020d98b8 +_ZN18UnkStruct_027e0d3419func_ov031_020d98bcEiPK7VecFx32 kind:function(arm,size=0x1c) addr:0x020d989c +_ZN18UnkStruct_027e0d3419func_ov031_020d98d8EiPK7VecFx32 kind:function(arm,size=0x1c) addr:0x020d98b8 _ZN18UnkStruct_027e0d3419func_ov031_020d98f4EP7VecFx3214UnkAngleStruct kind:function(arm,size=0x2c) addr:0x020d98d4 _ZN18UnkStruct_027e0d3419func_ov031_020d9920EP7VecFx3214UnkAngleStruct kind:function(arm,size=0x2c) addr:0x020d9900 _ZN18UnkStruct_027e0d3419func_ov031_020d994cEv kind:function(arm,size=0x10) addr:0x020d992c _ZN18UnkStruct_027e0d3419func_ov031_020d995cEiii kind:function(arm,size=0x10) addr:0x020d993c _ZN18UnkStruct_027e0d3419func_ov031_020d996cEv kind:function(arm,size=0x10) addr:0x020d994c -_ZN18UnkStruct_027e0d3419func_ov031_020d997cEi kind:function(arm,size=0x30) addr:0x020d995c +_ZN18UnkStruct_027e0d3419func_ov031_020d997cE10LinkState_ kind:function(arm,size=0x30) addr:0x020d995c _ZN18UnkStruct_027e0d3419func_ov031_020d99acEc kind:function(arm,size=0x10) addr:0x020d998c _ZN18UnkStruct_027e0d3419func_ov031_020d99bcEv kind:function(arm,size=0x10) addr:0x020d999c _ZN18UnkStruct_027e0d3419func_ov031_020d99ccEv kind:function(arm,size=0x10) addr:0x020d99ac -_ZN18UnkStruct_027e0d3419func_ov031_020d99dcEi kind:function(arm,size=0x10) addr:0x020d99bc -_ZN18UnkStruct_027e0d3419func_ov031_020d99ecEi kind:function(arm,size=0x10) addr:0x020d99cc +_ZN18UnkStruct_027e0d3419func_ov031_020d99dcEiPK7VecFx32 kind:function(arm,size=0x10) addr:0x020d99bc +_ZN18UnkStruct_027e0d3419func_ov031_020d99ecEiPK7VecFx32 kind:function(arm,size=0x10) addr:0x020d99cc _ZN18UnkStruct_027e0d3419func_ov031_020d99fcEi9RefStruct kind:function(arm,size=0x20) addr:0x020d99dc _ZN18UnkStruct_027e0d3419func_ov031_020d9a1cEi kind:function(arm,size=0x18) addr:0x020d99fc _ZN18UnkStruct_027e0d3419func_ov031_020d9a34Ei kind:function(arm,size=0x18) addr:0x020d9a14 @@ -133,7 +133,7 @@ _ZN18LinkStateDamage_8419func_ov031_020dacdcEb kind:function(arm,size=0xa4) addr _ZN18LinkStateDamage_AC19func_ov031_020dad80Ev kind:function(arm,size=0x18) addr:0x020dad60 _ZN18LinkStateDamage_AC19func_ov031_020dad98Ev kind:function(arm,size=0xa4) addr:0x020dad78 _ZN18LinkStateDamage_AC19func_ov031_020dae3cEv kind:function(arm,size=0x50) addr:0x020dae1c -_ZN18LinkStateDamage_AC19func_ov031_020dae8cEi kind:function(arm,size=0x15c) addr:0x020dae6c +_ZN18LinkStateDamage_AC19func_ov031_020dae8cEP21UnkStruct_027e0ce0_40 kind:function(arm,size=0x15c) addr:0x020dae6c _ZN18LinkStateDamage_AC19func_ov031_020dafe8Eb kind:function(arm,size=0x40) addr:0x020dafc8 _ZN18LinkStateDamage_AC19func_ov031_020db028Ev kind:function(arm,size=0xd4) addr:0x020db008 _ZN19PlayerLinkActor_13419func_ov031_020db0fcEv kind:function(arm,size=0x24) addr:0x020db0dc @@ -190,7 +190,7 @@ _ZN21UnkStruct_027e0ce0_4019func_ov031_020dbf58E11PlayerType_ kind:function(arm, _ZN21UnkStruct_027e0ce0_4019func_ov031_020dbf7cE11PlayerType_ kind:function(arm,size=0x24) addr:0x020dbf5c _ZN21UnkStruct_027e0ce0_4019func_ov031_020dbfa0E11PlayerType_P7VecFx32 kind:function(arm,size=0xb8) addr:0x020dbf80 _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc058E11PlayerType_P7VecFx3214UnkAngleStruct kind:function(arm,size=0xd4) addr:0x020dc038 -_ZN21UnkStruct_027e0ce0_4019func_ov031_020dc12cE11PlayerType_iiP6SpherePvi kind:function(arm,size=0x90) addr:0x020dc10c +_ZN21UnkStruct_027e0ce0_4019func_ov031_020dc12cE11PlayerType_iiP6SpherePK7VecFx32i kind:function(arm,size=0x90) addr:0x020dc10c _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc1bcE11PlayerType_ii kind:function(arm,size=0x34) addr:0x020dc19c _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc1f0E11PlayerType_iiP7VecFx32 kind:function(arm,size=0x28) addr:0x020dc1d0 _ZN21UnkStruct_027e0ce0_4019func_ov031_020dc218E9RefStructi kind:function(thumb,size=0x3e) addr:0x020dc1f8 @@ -233,20 +233,20 @@ _ZN21PlayerLinkActor_A0_1419func_ov031_020dd1a4EbP7VecFx3214UnkAngleStruct kind: _ZN21PlayerLinkActor_A0_148vfunc_08Ev kind:function(arm,size=0xb8) addr:0x020dd254 _ZN21PlayerLinkActor_A0_14D1Ev kind:function(arm,size=0x28) addr:0x020dd30c _ZN21PlayerLinkActor_A0_14D0Ev kind:function(arm,size=0x30) addr:0x020dd334 -func_ov031_020dd384 kind:function(arm,size=0x64) addr:0x020dd364 -_ZN19func_ov031_020dd3e8D1Ev kind:function(arm,size=0x6c) addr:0x020dd3c8 -_ZN19func_ov031_020dd454D0Ev kind:function(arm,size=0x74) addr:0x020dd434 -func_ov031_020dd4c8 kind:function(arm,size=0x20) addr:0x020dd4a8 -func_ov031_020dd4e8 kind:function(arm,size=0x88) addr:0x020dd4c8 -func_ov031_020dd570 kind:function(arm,size=0xd4) addr:0x020dd550 -func_ov031_020dd644 kind:function(arm,size=0x1b4) addr:0x020dd624 -func_ov031_020dd7f8 kind:function(arm,size=0x288) addr:0x020dd7d8 -func_ov031_020dda80 kind:function(arm,size=0x14) addr:0x020dda60 +_ZN16LinkStateGrabbedC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x64) addr:0x020dd364 +_ZN16LinkStateGrabbedD1Ev kind:function(arm,size=0x6c) addr:0x020dd3c8 +_ZN16LinkStateGrabbedD0Ev kind:function(arm,size=0x74) addr:0x020dd434 +_ZN16LinkStateGrabbed19func_ov031_020dd4c8Ev kind:function(arm,size=0x20) addr:0x020dd4a8 +_ZN16LinkStateGrabbed19func_ov031_020dd4e8Ev kind:function(arm,size=0x88) addr:0x020dd4c8 +_ZN16LinkStateGrabbed19func_ov031_020dd570Ev kind:function(arm,size=0xd4) addr:0x020dd550 +_ZN16LinkStateGrabbed8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x1b4) addr:0x020dd624 +_ZN16LinkStateGrabbed8vfunc_10E10LinkState_i kind:function(arm,size=0x288) addr:0x020dd7d8 +_ZN18PlayerLinkActor_A019func_ov031_020dda80Ei kind:function(arm,size=0x14) addr:0x020dda60 _ZN18PlayerLinkActor_A019func_ov031_020dda94Ev kind:function(arm,size=0x5c) addr:0x020dda74 -_ZN18PlayerLinkActor_A019func_ov031_020ddaf0Eii kind:function(arm,size=0x20) addr:0x020ddad0 -func_ov031_020ddb10 kind:function(arm,size=0xd4) addr:0x020ddaf0 -_ZN18PlayerLinkActor_A019func_ov031_020ddbe4EP7VecFx32i14UnkAngleStructi kind:function(arm,size=0x78) addr:0x020ddbc4 -_ZN18PlayerLinkActor_A019func_ov031_020ddc5cEiiii kind:function(arm,size=0x7c) addr:0x020ddc3c +_ZN18PlayerLinkActor_A019func_ov031_020ddaf0Ejj kind:function(arm,size=0x20) addr:0x020ddad0 +_ZN18PlayerLinkActor_A019func_ov031_020ddb10Ev kind:function(arm,size=0xd4) addr:0x020ddaf0 +_ZN18PlayerLinkActor_A019func_ov031_020ddbe4EPK7VecFx32i14UnkAngleStructh kind:function(arm,size=0x78) addr:0x020ddbc4 +_ZN18PlayerLinkActor_A019func_ov031_020ddc5cEiPK7VecFx3210LinkState_S3_ kind:function(arm,size=0x7c) addr:0x020ddc3c _ZN18PlayerLinkActor_A019func_ov031_020ddcd8EP7VecFx3214UnkAngleStruct kind:function(arm,size=0xd0) addr:0x020ddcb8 _ZN18PlayerLinkActor_A019func_ov031_020ddda8EP7VecFx3214UnkAngleStruct kind:function(arm,size=0x50) addr:0x020ddd88 _ZN18PlayerLinkActor_A019func_ov031_020dddf8Ev kind:function(arm,size=0x38) addr:0x020dddd8 @@ -254,35 +254,35 @@ _ZN18PlayerLinkActor_A019func_ov031_020dde30Eiii kind:function(arm,size=0x3c) ad _ZN18PlayerLinkActor_A019func_ov031_020dde6cEv kind:function(arm,size=0xb4) addr:0x020dde4c _ZN18PlayerLinkActor_A019func_ov031_020ddf20Ec kind:function(arm,size=0x24) addr:0x020ddf00 _ZN18PlayerLinkActor_A019func_ov031_020ddf44Ev kind:function(arm,size=0x28) addr:0x020ddf24 -_ZN18PlayerLinkActor_A019func_ov031_020ddf6cEi kind:function(arm,size=0x40) addr:0x020ddf4c -_ZN18PlayerLinkActor_A019func_ov031_020ddfacEi kind:function(arm,size=0x40) addr:0x020ddf8c +_ZN18PlayerLinkActor_A019func_ov031_020ddf6cEiPK7VecFx32 kind:function(arm,size=0x40) addr:0x020ddf4c +_ZN18PlayerLinkActor_A019func_ov031_020ddfacEiPK7VecFx32 kind:function(arm,size=0x40) addr:0x020ddf8c _ZN18PlayerLinkActor_A019func_ov031_020ddfecEi9RefStruct kind:function(arm,size=0x238) addr:0x020ddfcc -func_ov031_020de224 kind:function(arm,size=0xac) addr:0x020de204 -func_ov031_020de2d0 kind:function(arm,size=0x58) addr:0x020de2b0 -_ZN19func_ov031_020de328D0Ev kind:function(arm,size=0x60) addr:0x020de308 -func_ov031_020de388 kind:function(arm,size=0xd0) addr:0x020de368 -func_ov031_020de458 kind:function(arm,size=0x20c) addr:0x020de438 -func_ov031_020de664 kind:function(arm,size=0x1a8) addr:0x020de644 -func_ov031_020de80c kind:function(arm,size=0x2c) addr:0x020de7ec -func_ov031_020de838 kind:function(arm,size=0xb4) addr:0x020de818 -func_ov031_020de8ec kind:function(arm,size=0x58) addr:0x020de8cc -func_ov031_020de944 kind:function(arm,size=0x64) addr:0x020de924 -func_ov031_020de9a8 kind:function(arm,size=0xc8) addr:0x020de988 -func_ov031_020dea70 kind:function(arm,size=0x100) addr:0x020dea50 -func_ov031_020deb70 kind:function(arm,size=0x388) addr:0x020deb50 -func_ov031_020deef8 kind:function(arm,size=0x1218) addr:0x020deed8 -func_ov031_020e0110 kind:function(arm,size=0x168) addr:0x020e00f0 -func_ov031_020e0278 kind:function(arm,size=0xc) addr:0x020e0258 -func_ov031_020e0284 kind:function(arm,size=0xe4) addr:0x020e0264 -func_ov031_020e0368 kind:function(arm,size=0x1e8) addr:0x020e0348 -func_ov031_020e0550 kind:function(arm,size=0xac) addr:0x020e0530 -func_ov031_020e05fc kind:function(arm,size=0x28) addr:0x020e05dc +_ZN12LinkStateHitC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0xac) addr:0x020de204 +_ZN12LinkStateHitD1Ev kind:function(arm,size=0x58) addr:0x020de2b0 +_ZN12LinkStateHitD0Ev kind:function(arm,size=0x60) addr:0x020de308 +_ZN12LinkStateHit19func_ov031_020de388EiP7VecFx32 kind:function(arm,size=0xd0) addr:0x020de368 +_ZN12LinkStateHit19func_ov031_020de458EiP7VecFx32 kind:function(arm,size=0x20c) addr:0x020de438 +_ZN12LinkStateHit19func_ov031_020de664EiP6SphereS1_ kind:function(arm,size=0x1a8) addr:0x020de644 +_ZN12LinkStateHit19func_ov031_020de80cEi kind:function(arm,size=0x2c) addr:0x020de7ec +_ZN12LinkStateHit19func_ov031_020de838EP7VecFx32S1_P24UnkStruct_ov031_02112b40 kind:function(arm,size=0xb4) addr:0x020de818 +_ZN12LinkStateHit19func_ov031_020de8ecEi kind:function(arm,size=0x58) addr:0x020de8cc +_ZN12LinkStateHit19func_ov031_020de944E10LinkState_ kind:function(arm,size=0x64) addr:0x020de924 +_ZN12LinkStateHit19func_ov031_020de9a8EPK24UnkStruct_ov000_0208a38c kind:function(arm,size=0xc8) addr:0x020de988 +_ZN12LinkStateHit8vfunc_00Ev kind:function(arm,size=0x100) addr:0x020dea50 +_ZN12LinkStateHit8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x388) addr:0x020deb50 +_ZN12LinkStateHit8vfunc_10E10LinkState_i kind:function(arm,size=0x1218) addr:0x020deed8 +_ZN12LinkStateHit19func_ov031_020e0110Eii kind:function(arm,size=0x168) addr:0x020e00f0 +_ZN15LinkStateHit_BCC1Ei kind:function(arm,size=0xc) addr:0x020e0258 +_ZN15LinkStateHit_BC19func_ov031_020e0284E14UnkAngleStructiP7VecFx32 kind:function(arm,size=0xe4) addr:0x020e0264 +_ZN15LinkStateHit_BC19func_ov031_020e0368E14UnkAngleStructi kind:function(arm,size=0x1e8) addr:0x020e0348 +_ZN15LinkStateHit_BC19func_ov031_020e0550E14UnkAngleStructi kind:function(arm,size=0xac) addr:0x020e0530 +_ZN15LinkStateHit_BC19func_ov031_020e05fcEv kind:function(arm,size=0x28) addr:0x020e05dc func_ov031_020e0624 kind:function(thumb,size=0x4c) addr:0x020e0604 func_ov031_020e0670 kind:function(thumb,size=0x68) addr:0x020e0650 func_ov031_020e06d8 kind:function(thumb,size=0x70) addr:0x020e06b8 func_ov031_020e0748 kind:function(arm,size=0x24) addr:0x020e0728 _ZN21PlayerLinkActor_A0_1019func_ov031_020e076cEv kind:function(thumb,size=0x64) addr:0x020e074c -func_ov031_020e07d0 kind:function(arm,size=0xb8) addr:0x020e07b0 +_ZN21PlayerLinkActor_A0_1019func_ov031_020e07d0Ev kind:function(arm,size=0xb8) addr:0x020e07b0 func_ov031_020e0888 kind:function(arm,size=0x1c) addr:0x020e0868 func_ov031_020e08a4 kind:function(arm,size=0x50) addr:0x020e0884 func_ov031_020e08f4 kind:function(arm,size=0x30) addr:0x020e08d4 @@ -2238,7 +2238,7 @@ _ZTV25UnkStruct_027e0ce0_40_108 kind:data(any) addr:0x02112b38 ambiguous _ZTV19data_ov031_02112b4c kind:data(any) addr:0x02112b44 data_ov031_02112b58 kind:data(any) addr:0x02112b58 _ZTV19data_ov031_02112b6c kind:data(any) addr:0x02112b64 -_ZTV19data_ov031_02112bac kind:data(any) addr:0x02112b8c +_ZTV12LinkStateHit kind:data(any) addr:0x02112b8c data_ov031_02112bbc kind:data(any) addr:0x02112bbc data_ov031_02112be8 kind:data(any) addr:0x02112bc8 local data_ov031_02112c00 kind:data(any) addr:0x02112be0 local diff --git a/config/usa/arm9/overlays/ov044/symbols.txt b/config/usa/arm9/overlays/ov044/symbols.txt index a9dacd409..637bfa1b4 100644 --- a/config/usa/arm9/overlays/ov044/symbols.txt +++ b/config/usa/arm9/overlays/ov044/symbols.txt @@ -1,8 +1,8 @@ func_ov044_021234c0 kind:function(arm,size=0x30) addr:0x021234a0 func_ov044_021234f0 kind:function(arm,size=0x10) addr:0x021234d0 func_ov044_02123500 kind:function(arm,size=0x10) addr:0x021234e0 -func_ov044_02123510 kind:function(arm,size=0x5c) addr:0x021234f0 -func_ov044_0212356c kind:function(arm,size=0xa4) addr:0x0212354c +_ZN16LinkStateGrabbed19func_ov044_02123510Ev kind:function(arm,size=0x5c) addr:0x021234f0 +_ZN16LinkStateGrabbed19func_ov044_0212356cEi kind:function(arm,size=0xa4) addr:0x0212354c func_ov044_02123610 kind:function(arm,size=0x14) addr:0x021235f0 func_ov044_02123624 kind:function(arm,size=0x14) addr:0x02123604 func_ov044_02123638 kind:function(arm,size=0x160) addr:0x02123618 diff --git a/config/usa/arm9/overlays/ov045/symbols.txt b/config/usa/arm9/overlays/ov045/symbols.txt index 8854d2227..ab33cb043 100644 --- a/config/usa/arm9/overlays/ov045/symbols.txt +++ b/config/usa/arm9/overlays/ov045/symbols.txt @@ -149,8 +149,9 @@ _ZN16MapObjectUnkRDSDD1Ev kind:function(arm,size=0x28) addr:0x02129310 _ZN16MapObjectUnkRDSDD0Ev kind:function(arm,size=0x30) addr:0x02129338 _ZN23MapObjectProfileUnkRDSDD1Ev kind:function(arm,size=0x14) addr:0x02129368 _ZN19func_ov045_0212939cD0Ev kind:function(arm,size=0x1c) addr:0x0212937c -func_ov045_021293b8 kind:function(arm,size=0x64) addr:0x02129398 -func_ov045_0212941c kind:function(arm,size=0xa4) addr:0x021293fc +func_ov045_021293b8 kind:function(arm,size=0x10) addr:0x02129398 +_ZN16LinkStateGrabbed19func_ov045_021293c8Ev kind:function(arm,size=0x54) addr:0x021293a8 +_ZN16LinkStateGrabbed19func_ov045_0212941cEi kind:function(arm,size=0xa4) addr:0x021293fc data_ov045_021294a0 kind:data(any) addr:0x021294a0 data_ov045_021294b0 kind:data(any) addr:0x021294b0 data_ov045_021294c0 kind:data(any) addr:0x021294c0 diff --git a/config/usa/arm9/overlays/ov053/symbols.txt b/config/usa/arm9/overlays/ov053/symbols.txt index 5ae9fd6a7..a4388ab05 100644 --- a/config/usa/arm9/overlays/ov053/symbols.txt +++ b/config/usa/arm9/overlays/ov053/symbols.txt @@ -112,7 +112,7 @@ _ZN12ActorUnkRAT019func_ov053_0213c9ccEv kind:function(arm,size=0x84) addr:0x021 _ZN12ActorUnkRAT019func_ov053_0213ca50Ev kind:function(arm,size=0x8c) addr:0x0213ca30 _ZN19ActorProfileUnkRAT0D1Ev kind:function(arm,size=0x14) addr:0x0213cabc _ZN27UnkStruct_ItemManager_20_1419func_ov053_0213caf0Ev kind:function(arm,size=0x98) addr:0x0213cad0 -func_ov053_0213cb88 kind:function(arm,size=0x194) addr:0x0213cb68 +_ZN16LinkStateGrabbed19func_ov053_0213cb88Ev kind:function(arm,size=0x194) addr:0x0213cb68 data_ov053_0213ccfc kind:data(any) addr:0x0213ccfc data_ov053_0213cd0c kind:data(any) addr:0x0213cd0c data_ov053_0213cd1c kind:data(any) addr:0x0213cd1c diff --git a/config/usa/arm9/overlays/ov082/symbols.txt b/config/usa/arm9/overlays/ov082/symbols.txt index 0a85bef5d..db6160342 100644 --- a/config/usa/arm9/overlays/ov082/symbols.txt +++ b/config/usa/arm9/overlays/ov082/symbols.txt @@ -120,8 +120,8 @@ _ZN19func_ov082_02158548D1Ev kind:function(arm,size=0x14) addr:0x02158528 _ZN19func_ov082_0215855cD0Ev kind:function(arm,size=0x1c) addr:0x0215853c func_ov082_02158578 kind:function(arm,size=0xdc) addr:0x02158558 _ZN18PlayerLinkActor_A019func_ov082_02158654Ev kind:function(arm,size=0x104) addr:0x02158634 -func_ov082_02158758 kind:function(arm,size=0xb8) addr:0x02158738 -func_ov082_02158810 kind:function(arm,size=0x34) addr:0x021587f0 +_ZN18PlayerLinkActor_A019func_ov082_02158758Ei kind:function(arm,size=0xb8) addr:0x02158738 +_ZN18PlayerLinkActor_A019func_ov082_02158810Ei kind:function(arm,size=0x34) addr:0x021587f0 data_ov082_02158824 kind:data(any) addr:0x02158824 data_ov082_02158828 kind:data(any) addr:0x02158828 data_ov082_0215882c kind:data(any) addr:0x0215882c diff --git a/config/usa/arm9/overlays/ov093/symbols.txt b/config/usa/arm9/overlays/ov093/symbols.txt index 069f4c613..f4f6ab995 100644 --- a/config/usa/arm9/overlays/ov093/symbols.txt +++ b/config/usa/arm9/overlays/ov093/symbols.txt @@ -200,7 +200,7 @@ func_ov093_0216e8c4 kind:function(arm,size=0x10) addr:0x0216e8a4 func_ov093_0216e8d4 kind:function(arm,size=0x10) addr:0x0216e8b4 func_ov093_0216e8e4 kind:function(arm,size=0x10) addr:0x0216e8c4 func_ov093_0216e8f4 kind:function(arm,size=0x1d0) addr:0x0216e8d4 -_ZN15PlayerActorBase19func_ov093_0216eac4EiiP6SpherePvi kind:function(arm,size=0x7d0) addr:0x0216eaa4 +_ZN15PlayerActorBase19func_ov093_0216eac4EiiP6SpherePK7VecFx32i kind:function(arm,size=0x7d0) addr:0x0216eaa4 func_ov093_0216f294 kind:function(arm,size=0x10) addr:0x0216f274 _ZN15PlayerActorBase19func_ov093_0216f2a4Ev kind:function(arm,size=0x10) addr:0x0216f284 func_ov093_0216f2b4 kind:function(arm,size=0x84) addr:0x0216f294 diff --git a/config/usa/arm9/overlays/ov108/symbols.txt b/config/usa/arm9/overlays/ov108/symbols.txt index 9b723f723..a7131ccc5 100644 --- a/config/usa/arm9/overlays/ov108/symbols.txt +++ b/config/usa/arm9/overlays/ov108/symbols.txt @@ -27,7 +27,7 @@ _ZN19func_ov108_02185228D0Ev kind:function(arm,size=0x88) addr:0x02185208 func_ov108_021852b0 kind:function(arm,size=0x16c) addr:0x02185290 func_ov108_0218541c kind:function(arm,size=0x2e0) addr:0x021853fc func_ov108_021856fc kind:function(arm,size=0x54) addr:0x021856dc -func_ov108_02185750 kind:function(arm,size=0x1c) addr:0x02185730 +_ZN21LinkStateItemPanFlute19func_ov108_02185750Eiii kind:function(arm,size=0x1c) addr:0x02185730 func_ov108_0218576c kind:function(arm,size=0x78) addr:0x0218574c func_ov108_021857e4 kind:function(arm,size=0x40) addr:0x021857c4 _ZN19func_ov108_02185824D1Ev kind:function(arm,size=0x30) addr:0x02185804 diff --git a/config/usa/arm9/overlays/ov110/symbols.txt b/config/usa/arm9/overlays/ov110/symbols.txt index c55aa74f8..d6b4a0dae 100644 --- a/config/usa/arm9/overlays/ov110/symbols.txt +++ b/config/usa/arm9/overlays/ov110/symbols.txt @@ -3,9 +3,9 @@ _ZN22UnkStruct_PlayerGet_748vfunc_00Eii kind:function(arm,size=0x30) addr:0x0218 _ZN9PlayerGetC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0xa0) addr:0x02184dbc _ZN9PlayerGetD1Ev kind:function(arm,size=0xc4) addr:0x02184e5c _ZN9PlayerGetD0Ev kind:function(arm,size=0xcc) addr:0x02184f20 -_ZN9PlayerGet8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x5d8) addr:0x02184fec -_ZN9PlayerGet8vfunc_10Eii kind:function(arm,size=0x6d0) addr:0x021855c4 -_ZN9PlayerGet8vfunc_18Eiii kind:function(arm,size=0x7c) addr:0x02185c94 +_ZN9PlayerGet8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x5d8) addr:0x02184fec +_ZN9PlayerGet8vfunc_10E10LinkState_i kind:function(arm,size=0x6d0) addr:0x021855c4 +_ZN9PlayerGet8vfunc_18Ei10LinkState_i kind:function(arm,size=0x7c) addr:0x02185c94 _ZN22UnkStruct_PlayerGet_ecC1Ev kind:function(arm,size=0xc) addr:0x02185d10 _ZN21UnkStruct_027e0ce0_3419func_ov110_02185d3cEi kind:function(thumb,size=0x66) addr:0x02185d1c _ZN11ItemManager16GetBmgIDFromItemEi kind:function(arm,size=0x10) addr:0x02185d84 diff --git a/config/usa/arm9/overlays/ov112/symbols.txt b/config/usa/arm9/overlays/ov112/symbols.txt index b58e74dcd..069f9b318 100644 --- a/config/usa/arm9/overlays/ov112/symbols.txt +++ b/config/usa/arm9/overlays/ov112/symbols.txt @@ -2,12 +2,12 @@ _ZN17PlayerSceneChangeC1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0xc4) a _ZN17PlayerSceneChangeD1Ev kind:function(arm,size=0x58) addr:0x02184ae4 _ZN17PlayerSceneChangeD0Ev kind:function(arm,size=0x60) addr:0x02184b3c _ZN17PlayerSceneChange19func_ov112_02184bbcEs kind:function(arm,size=0x58) addr:0x02184b9c -_ZN17PlayerSceneChange8vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0xb68) addr:0x02184bf4 -_ZN17PlayerSceneChange8vfunc_10Eii kind:function(arm,size=0x80c) addr:0x0218575c +_ZN17PlayerSceneChange8vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0xb68) addr:0x02184bf4 +_ZN17PlayerSceneChange8vfunc_10E10LinkState_i kind:function(arm,size=0x80c) addr:0x0218575c _ZN17PlayerSceneChange8vfunc_1CEP7VecFx32 kind:function(arm,size=0x84) addr:0x02185f68 _ZN18PlayerSceneChange2C1EP21PlayerLinkActor_A0_84 kind:function(arm,size=0x40) addr:0x02185fec -_ZN18PlayerSceneChange28vfunc_0CEP35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x25c) addr:0x0218602c -_ZN18PlayerSceneChange28vfunc_10Eii kind:function(arm,size=0x208) addr:0x02186288 +_ZN18PlayerSceneChange28vfunc_0CEPK35UnkStruct_PlayerGet_vfunc_0C_param1 kind:function(arm,size=0x25c) addr:0x0218602c +_ZN18PlayerSceneChange28vfunc_10E10LinkState_i kind:function(arm,size=0x208) addr:0x02186288 _ZN18PlayerSceneChange2D1Ev kind:function(arm,size=0x14) addr:0x02186490 _ZN18PlayerSceneChange2D0Ev kind:function(arm,size=0x1c) addr:0x021864a4 _ZTV17PlayerSceneChange kind:data(any) addr:0x021864e0 diff --git a/include/CommonFuncs.hpp b/include/CommonFuncs.hpp index be34fc904..ad11e5e7e 100644 --- a/include/CommonFuncs.hpp +++ b/include/CommonFuncs.hpp @@ -60,6 +60,7 @@ struct UnkStruct_027e0d38; struct UnkFileSystem1; struct UnkStruct_ov000_02058a84; struct ActorUnkRCFO_910; +struct Random; union Vec2bCpp; union Vec3s; @@ -261,14 +262,11 @@ void func_ov000_02081520(void *, void *, u8); void func_ov000_02085d1c(void *); bool func_ov000_020864f8(void *, UnkAngleStruct, void *, void *); unk32 func_ov000_0208832c(s16, unk32); -bool func_ov000_02088854(unk32); -void func_ov000_02088d10(unk32, VecFx32 *); void func_ov000_02089bbc(void *, unk32); void func_ov000_0208a7a4(void *, void *); void func_ov000_0208abc4(RefStruct *, void *, Vec2s *); void func_ov000_0208ba10(void *, void *, unk32); void func_ov000_0208bb84(u16 *param1, UnkStruct_027e0ce0 *param2, unk32 param3); -unk32 func_ov000_0208dc98(unk32); void func_ov000_0208dd60(void *, UnkStruct_027e0ce0_30_00 *); const char *func_ov000_0208e830(int); bool func_ov000_0208e874(const u8 *, int, int, int); @@ -299,6 +297,10 @@ void *func_ov000_0208ea70(s32 /* PlayerCharacter */, unk32, bool); // returns po bool func_ov000_0205cbc4(RefStruct param1, VecFx32 *param2); bool func_ov000_0205cf84(RefStruct param1, s16 *param2); void func_ov000_0205accc(); +Random *func_ov000_020704c8(); +unk32 func_ov000_02090154(unk32); +void func_ov000_0205ca34(); +void func_ov000_02088834(void *, void *, UnkAngleStruct); // overlay 2 AdventureModeManager_160_14 *func_ov002_020b6520(void *, void *, int); @@ -363,6 +365,7 @@ void func_ov031_020f439c(void *, Vec3s *, unk32); void func_ov031_0210acd4(Vec2bCpp); unk32 func_ov031_0210af50(Vec2bCpp, unk32 *); void func_ov031_0210b0e4(Vec2bCpp, unk32); +void func_ov031_020e0d98(unk32 param1, RefStruct ref, VecFx32 *param3, Sphere *param4, UnkAngleStruct param5); // overlay 34 void func_ov034_02121de4(void *); diff --git a/include/Player/LinkStateActorPush.hpp b/include/Player/LinkStateActorPush.hpp new file mode 100644 index 000000000..a637c03ae --- /dev/null +++ b/include/Player/LinkStateActorPush.hpp @@ -0,0 +1,15 @@ +#pragma once + +#include "Player/LinkStateBase.hpp" + +class LinkStateActorPush : public LinkStateBase { +public: + /* 000 (base) */ + /* 054 */ PAD(0x54, 0x1C0); + /* 1C0 */ unk32 mUnk_1C0; + + // data_ov048_02137a04 + /* 04 */ virtual ~LinkStateActorPush() override; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; + /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) override; +}; diff --git a/include/Player/LinkStateBase.hpp b/include/Player/LinkStateBase.hpp index a42e0da4a..4f1cb3bf0 100644 --- a/include/Player/LinkStateBase.hpp +++ b/include/Player/LinkStateBase.hpp @@ -3,6 +3,7 @@ #include "Player/PlayerActorBase.hpp" #include "RefStruct.hpp" #include "Unknown/UnkStruct_027e09a4.hpp" +#include "Unknown/UnkStruct_ov000_020b2cec.hpp" #include "math.hpp" #include "types.h" @@ -11,6 +12,17 @@ class UnkStruct_027e0ce0_40; class PlayerLinkActor; struct PlayerLinkActor_A0_84; +class UnkStruct_ov000_0208a38c { +public: + /* 00 */ unk32 mUnk_00; + /* 04 */ VecFx32 mUnk_04; + /* 10 */ unk32 mUnk_10; + /* 14 */ unk32 mUnk_14; + /* 18 */ + + UnkStruct_ov000_0208a38c(const VecFx32 *param1); +}; + class LinkStateBase_14 { public: /* 00 */ unk8 mUnk_00[0x6C]; @@ -50,43 +62,109 @@ class LinkStateBase_2C { /* 26 */ unk16 mUnk_26; /* 28 */ PAD(0x28, 0x58); /* 58 */ unk16 mUnk_58; - /* 5A */ PAD(0x5A, 0x9C); + /* 5A */ PAD(0x5A, 0x98); + /* 98 */ unk16 mUnk_98; + /* 9A */ unk16 mUnk_9A; // pad? /* 9C */ unk32 mUnk_9C; /* A0 */ PAD(0xA0, 0xB1); /* B1 */ unk8 mUnk_B1; /* B2 */ unk8 mUnk_B2; - /* B3 */ PAD(0xB3, 0x148); + /* B3 */ PAD(0xB3, 0xC0); + /* C0 */ RefStruct mUnk_C0; + /* C4 */ PAD(0xC4, 0xDE); + /* DE */ unk16 mUnk_DE; + /* E0 */ PAD(0xE0, 0x148); /* 148 */ u32 mUnk_148; /* 14C */ EntryTransitionType mEntryTransitionType; /* 150 */ RefStruct mUnk_150; + + // overlay 0 + bool func_ov000_020848f0(RefStruct param1); }; -class UnkStruct_PlayerGet_vfunc_0C_param1 { -public: - /* 00 */ unk32 mUnk_00; - /* 04 */ unk32 mUnk_04; - /* 08 */ unk32 mUnk_08; - /* 0C */ unk32 mUnk_0C; - /* 10 */ VecFx32 mUnk_10; - /* 1C */ ItemId mUnk_1C; +// playerget +struct LinkStateParams_Type1 { + /* 00 */ u32 ref1; + /* 04 */ u32 ref2; + /* 08 */ unk32 unk_08; + /* 0C */ ItemId itemId; + /* 10 */ unk32 unk_10; + /* 14 */ LinkStateBase_14 *unk_14; //! TODO: here? + + RefStruct GetRef1() const { + return this->ref1; + } + + RefStruct GetRef2() const { + return this->ref2; + } }; -class LinkStateBase_04 { -public: - /* 00 */ RefStruct mUnk_00; - /* 04 */ RefStruct mUnk_04; - /* 08 */ unk32 mUnk_08; - /* 0C */ ItemId mItemId; - /* 10 */ - - LinkStateBase_04(unk32 param1, unk32 param2, unk32 param3, ItemId itemId) { - this->mUnk_00.data = param1; - this->mUnk_04.data = param2; - this->mUnk_08 = param3; - this->mItemId = itemId; +// playerscenechange +struct LinkStateParams_Type2 { + /* 00 */ VecFx32 unk_00; + /* 0C */ unk32 unk_0C; +}; + +// grabbed +struct LinkStateParams_Type3 { + /* 00 */ bool unk_00; + /* 01 */ bool unk_01; +}; + +// potions +struct LinkStateParams_Type4 { + /* 00 */ unk32 unk_00; + /* 04 */ void *unk_04; +}; + +// talk to character +struct LinkStateParams_Type5 { + /* 00 */ u32 ref1; + + RefStruct GetRef1() const { + return this->ref1; } +}; + +// related to LinkState_71 +struct LinkStateParams_Type6 { + /* 00 */ PAD(0x00, 0x08); + /* 0C */ VecFx32 unk_0C; + /* 18 */ unk32 unk_18; + /* 1C */ unk16 unk_1C; + /* 1E */ s16 unk_1E; + + UnkAngleStruct GetUnk1E() const { + return this->unk_1E; + } +}; + +struct LinkStateParams_StateHit { + /* 00 */ VecFx32 unk_00; + /* 0C */ fx32 unk_0C; + /* 10 */ bool unk_10; + /* 11 */ bool unk_11; +}; - LinkStateBase_04() {}; +union LinkStateParams { + LinkStateParams_Type1 type1; + LinkStateParams_Type2 type2; + LinkStateParams_Type3 type3; + LinkStateParams_Type4 type4; + LinkStateParams_Type5 type5; + LinkStateParams_Type6 type6; + LinkStateParams_StateHit hit; + u32 data[7]; +}; // size = 0x20 + +struct UnkStruct_PlayerGet_vfunc_0C_param1 { + /* 00 */ LinkState prevState; + /* 04 */ LinkState state; + /* 08 */ LinkStateType prevStateType; + /* 0C */ LinkStateType stateType; + /* 10 */ LinkStateParams params; + /* 40 */ }; class LinkStateBase_44 { @@ -97,14 +175,11 @@ class LinkStateBase_44 { class LinkStateBase { public: /* 00 (vtable) */ - /* 04 */ LinkStateBase_04 mUnk_04; - /* 14 */ LinkStateBase_14 *mUnk_14; - /* 18 */ unk8 mUnk_18; - /* 19 */ unk8 mUnk_19; - /* 1A */ unk8 mUnk_1A; - /* 1B */ unk8 mUnk_1B; - /* 1C */ unk32 mUnk_1C; - /* 20 */ unk32 mUnk_20; + /* 04 */ LinkStateParams mUnk_04; + /* 20 */ u8 mUnk_20; + /* 21 */ u8 mUnk_21; + /* 22 */ u8 mUnk_22; + /* 23 */ u8 mUnk_23; /* 24 */ UnkStruct_027e0ce0_40 *mUnk_24; /* 28 */ PlayerLinkActor *mpLink; /* 2C */ LinkStateBase_2C *mUnk_2C; @@ -122,15 +197,20 @@ class LinkStateBase { // data_ov000_020b2c7c /* 00 */ virtual unk32 vfunc_00(); /* 04 */ virtual ~LinkStateBase(); - /* 0C */ virtual void vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) = 0; - /* 10 */ virtual void vfunc_10(unk32 param1, unk32 param2) = 0; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) = 0; + /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) = 0; /* 14 */ virtual void vfunc_14(); - /* 18 */ virtual void vfunc_18(unk32 param1, unk32 param2, unk32 param3); + /* 18 */ virtual void vfunc_18(unk32 param1, LinkState state, unk32 param3); /* 1C */ virtual bool vfunc_1C(VecFx32 *param1); /* 20 */ LinkStateBase(PlayerLinkActor_A0_84 *param1); + // overlay 0 + LinkState func_ov000_0208fe9c(bool param1); + LinkState func_ov000_0208ff38(unk32 param1, UnkAngleStruct *param2, void *param3); + LinkState func_ov000_020901f4(void *param1, unk32 param2); + LinkState func_ov000_0209078c(unk32 param1); bool func_ov000_020914b0(unk32 param1, VecFx32 *param2, unk32 param3); bool func_ov000_02091e68(unk32 param1); }; diff --git a/include/Player/LinkStateDamage.hpp b/include/Player/LinkStateDamage.hpp index ce0321a94..af452ed8d 100644 --- a/include/Player/LinkStateDamage.hpp +++ b/include/Player/LinkStateDamage.hpp @@ -87,7 +87,7 @@ class LinkStateDamage_AC : public UnkStruct_PlayerGet_74_base { void func_ov031_020dad80(); void func_ov031_020dad98(); void func_ov031_020dae3c(); - bool func_ov031_020dae8c(unk32 param1); + bool func_ov031_020dae8c(UnkStruct_027e0ce0_40 *param1); void func_ov031_020dafe8(bool param1); void func_ov031_020db028(); }; @@ -132,9 +132,9 @@ class LinkStateDamage : public LinkStateBase { // data_ov000_020b2ca4 /* 04 */ virtual ~LinkStateDamage() override; - /* 0C */ virtual void vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; - /* 10 */ virtual void vfunc_10(unk32 param1, unk32 param2) override; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; + /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) override; /* 14 */ virtual void vfunc_14() override; - /* 18 */ virtual void vfunc_18(unk32 param1, unk32 param2, unk32 param3) override; + /* 18 */ virtual void vfunc_18(unk32 param1, LinkState state, unk32 param3) override; /* 1C */ virtual bool vfunc_1C(VecFx32 *param1) override; }; diff --git a/include/Player/LinkStateGrabbed.hpp b/include/Player/LinkStateGrabbed.hpp new file mode 100644 index 000000000..09860c691 --- /dev/null +++ b/include/Player/LinkStateGrabbed.hpp @@ -0,0 +1,45 @@ +#pragma once + +#include "Player/LinkStateBase.hpp" + +class LinkStateGrabbed : public LinkStateBase { +public: + /* 00 (base) */ + /* 54 */ unk32 mUnk_54; + /* 58 */ unk32 mUnk_58; + /* 5C */ bool mUnk_5C; + /* 5D */ bool mUnk_5D; + /* 5E */ unk8 mUnk_5E; + /* 5F */ bool mUnk_5F; + /* 60 */ u16 mUnk_60; + /* 62 */ unk16 mUnk_62; + /* 64 */ unk16 mUnk_64; + /* 66 */ unk16 mUnk_66; + /* 68 */ unk32 mUnk_68; + /* 6C */ unk32 mUnk_6C; + /* 70 */ unk32 mUnk_70; + /* 74 */ + + LinkStateGrabbed(PlayerLinkActor_A0_84 *param1); + + // data_ov031_02112b8c + /* 04 */ virtual ~LinkStateGrabbed(); + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1); + /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2); + + // overlay 31 + void func_ov031_020dd4c8(); + void func_ov031_020dd4e8(); + bool func_ov031_020dd570(); + + // overlay 44 + void func_ov044_02123510(); + void func_ov044_0212356c(unk32 param1); + + // overlay 45 + void func_ov045_021293c8(); + void func_ov045_0212941c(unk32 param1); + + // overlay 53 + void func_ov053_0213cb88(); +}; diff --git a/include/Player/LinkStateHit.hpp b/include/Player/LinkStateHit.hpp new file mode 100644 index 000000000..589368ba2 --- /dev/null +++ b/include/Player/LinkStateHit.hpp @@ -0,0 +1,72 @@ +#pragma once + +#include "Player/LinkStateBase.hpp" +#include "Unknown/UnkStruct_ov031_Items.hpp" + +class LinkStateHit_BC { +public: + /* 00 */ unk32 mUnk_00; + /* 04 */ UnkSystem7 mUnk_04; + /* 08 */ + + LinkStateHit_BC(unk32 param1); + + // overlay 31 + void func_ov031_020e0284(UnkAngleStruct param1, unk32 param2, VecFx32 *param3); + void func_ov031_020e0368(UnkAngleStruct param1, unk32 param2); + void func_ov031_020e0550(UnkAngleStruct param1, unk32 param2); + void func_ov031_020e05fc(); +}; + +class LinkStateHit : public LinkStateBase { +public: + /* 00 (base) */ + /* 54 */ unk32 mUnk_54; + /* 58 */ unk32 mUnk_58; + /* 5C */ unk32 mUnk_5C; + /* 60 */ VecFx32 mUnk_60; + /* 6C */ unk32 mUnk_6C; + /* 70 */ unk32 mUnk_70; + /* 74 */ unk32 mUnk_74; + /* 78 */ UnkStruct_ov031_Items_01_Derived2 mUnk_78; + /* A8 */ VecFx32Cpp mUnk_A8; + /* B4 */ unk32 mUnk_B4; + /* B8 */ unk32 mUnk_B8; + /* BC */ LinkStateHit_BC mUnk_BC; + /* C4 */ LinkState mUnk_C4; + /* C8 */ UnkAngleStruct mUnk_C8; + /* CA */ u16 mUnk_CA; + /* CC */ bool mUnk_CC; + /* CD */ bool mUnk_CD; + /* CE */ bool mUnk_CE; + /* CF */ bool mUnk_CF; + /* D0 */ unk16 mUnk_D0; + /* D2 */ unk16 mUnk_D2; + /* D4 */ unk16 mUnk_D4; + + const unk32 GetUnk54() const { + return this->mUnk_54; + } + + LinkStateHit(PlayerLinkActor_A0_84 *param1); + + // data_ov031_02112bb4 + /* 00 */ virtual unk32 vfunc_00() override; + /* 04 */ virtual ~LinkStateHit() override; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; + /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) override; + + // overlay 31 + void func_ov031_020de388(fx32 param1, VecFx32 *param2); + void func_ov031_020de458(fx32 param1, VecFx32 *param2); + bool func_ov031_020de664(fx32 param1, Sphere *param2, Sphere *param3); + void func_ov031_020de80c(unk32 param1); + bool func_ov031_020de838(VecFx32 *param1, VecFx32 *param2, UnkStruct_ov031_02112b40 *param3); + void func_ov031_020de8ec(unk32 arg1); + unk32 func_ov031_020de9a8(const UnkStruct_ov000_0208a38c *param1); + bool func_ov031_020e0110(unk32 param1, fx32 param2); + + static LinkState func_ov031_020de944(LinkState state); +}; + +extern unk16 data_ov082_02158850; diff --git a/include/Player/LinkStateItemPanFlute.hpp b/include/Player/LinkStateItemPanFlute.hpp new file mode 100644 index 000000000..967092333 --- /dev/null +++ b/include/Player/LinkStateItemPanFlute.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include "Player/LinkStateBase.hpp" + +class LinkStateItemPanFlute : public LinkStateBase { +public: + /* 00 (base) */ + /* 54 */ unk32 mUnk_54; + /* 58 */ RefStruct mUnk_58; + + // overlay 108 + void func_ov108_02185750(unk32 param1, unk32 param2, unk32 param3); +}; diff --git a/include/Player/LinkStatePlayerDemo.hpp b/include/Player/LinkStatePlayerDemo.hpp new file mode 100644 index 000000000..a5dd07b3c --- /dev/null +++ b/include/Player/LinkStatePlayerDemo.hpp @@ -0,0 +1,9 @@ +#pragma once + +#include "Player/LinkStateBase.hpp" + +class LinkStatePlayerDemo4 : public LinkStateBase { +public: + /* 00 (base) */ + /* 54 */ unk32 mUnk_54; +}; diff --git a/include/Player/LinkStateStamp.hpp b/include/Player/LinkStateStamp.hpp new file mode 100644 index 000000000..3f7295737 --- /dev/null +++ b/include/Player/LinkStateStamp.hpp @@ -0,0 +1,10 @@ +#pragma once + +#include "Player/LinkStateBase.hpp" + +class LinkStateStamp : public LinkStateBase { +public: + /* 00 (base) */ + /* 54 */ PAD(0x54, 0x78); + /* 78 */ unk8 mUnk_78; +}; diff --git a/include/Player/PlayerActorBase.hpp b/include/Player/PlayerActorBase.hpp index 52bd645bb..a5e73f307 100644 --- a/include/Player/PlayerActorBase.hpp +++ b/include/Player/PlayerActorBase.hpp @@ -51,6 +51,13 @@ enum PlayerCharacter_ { /* 3 */ PlayerCharacter_Max, }; +struct UnkStruct_ov000_020ab4dc_54 { + /* 000 */ PAD(0x00, 0x14); + /* 14 */ fx32 unk_14; + /* 18 */ PAD(0x18, 0x20); + /* 20 */ +}; + struct UnkStruct_ov000_020ab4dc { /* 00 */ const char *mpDirectory; /* 04 */ const char mUnk_04[16]; @@ -58,7 +65,9 @@ struct UnkStruct_ov000_020ab4dc { /* 24 */ const char mUnk_24[16]; /* 34 */ const char mUnk_34[16]; /* 44 */ const char mUnk_44[16]; - /* 54 */ PAD(0x54, 0x66); + /* 54 */ UnkStruct_ov000_020ab4dc_54 *mUnk_54; + /* 58 */ void *mUnk_58; + /* 5C */ PAD(0x5C, 0x66); /* 66 */ s16 mUnk_66; /* 66 */ unk16 mUnk_68; /* 66 */ unk16 mUnk_6A; @@ -278,7 +287,9 @@ class PlayerActorBase_70_1C : public UnkStruct_PlayerGet_74_base { class PlayerActorBase_70_30 { public: - /* 00 */ PAD(0x00, 0x12); + /* 00 */ PAD(0x00, 0x0E); + /* 0E */ unk16 mUnk_0E; + /* 10 */ unk16 mUnk_10; /* 12 */ unk16 mUnk_12; /* 14 */ unk16 mUnk_14; /* 16 */ unk8 mUnk_16; @@ -397,12 +408,12 @@ class PlayerActorBase_70 { ~PlayerActorBase_70(); // overlay 0 + void func_ov000_02082adc(unk32 param1, unk32 param2, unk32 param3, unk32 param4); void func_ov000_02082c58(unk32 param1, UnkAngleStruct param2, unk32 param3, unk32 param4); void func_ov000_02082e54(); void func_ov000_02082e78(unk32 param1, unk32 param2, unk32 param3, unk32 param4); void func_ov000_020830d4(UnkAngleStruct param1, u32 param2, u8 param3, PlayerLinkActor_A0_28 *param4); - void func_ov000_020830a4(unk32 param1, PlayerCharacter character, unk32 param3, unk32 param4); - void func_ov000_020830a4(unk32 param1, PlayerCharacter character, unk32 param3, unk32 param4, unk32); + void func_ov000_020830a4(unk32 param1, PlayerCharacter character, unk32 param3, unk32 param4, unk32 param5); // overlay 1 void func_ov001_020bbe18(unk32 param1, UnkAngleStruct param2, u32 param3, u8 param4); @@ -586,7 +597,7 @@ class PlayerActorBase { unk32 func_ov000_0208dc98(); void func_ov000_0208dcf0(); unk32 func_ov000_0208dd60(UnkStruct_027e0ce0_30_00 *param1); - bool func_ov000_0208dd70(unk32 param2, unk32 param3, Sphere *param4, void *param5, unk32 param6); + bool func_ov000_0208dd70(unk32 param1, unk32 param2, Sphere *param3, const VecFx32 *param4, unk32 param5); bool func_ov000_0208e538(); bool func_ov000_0208e548(VecFx32 *param1, BOOL param2, BOOL param3); bool func_ov000_0208e558(unk32 param1, fx32 param2); @@ -621,7 +632,7 @@ class PlayerActorBase { void func_ov093_0216e768(bool param1); bool func_ov093_0216e778(); void func_ov093_0216e788(); - bool func_ov093_0216eac4(unk32 param2, unk32 param3, Sphere *param4, void *param5, unk32 param6); + bool func_ov093_0216eac4(unk32 param2, unk32 param3, Sphere *param4, const VecFx32 *param5, unk32 param6); void func_ov093_0216f76c(VecFx32 *param1, unk32 param2); void func_ov093_0216f86c(VecFx32 *param1); bool func_ov093_0216f2a4(); diff --git a/include/Player/PlayerGet.hpp b/include/Player/PlayerGet.hpp index af1a3e774..d302a84cb 100644 --- a/include/Player/PlayerGet.hpp +++ b/include/Player/PlayerGet.hpp @@ -117,10 +117,26 @@ class UnkStruct_PlayerGet_fc { /* 00 */ UnkStruct_PlayerGet_ec *mUnk_00; }; +class PlayerGet_04 { +public: + /* 00 */ RefStruct mUnk_00; + /* 04 */ RefStruct mUnk_04; + /* 08 */ unk32 mUnk_08; + /* 0C */ ItemId mItemId; + /* 10 */ + + PlayerGet_04(unk32 param1, unk32 param2, unk32 param3, ItemId itemId) { + this->mUnk_00.data = param1; + this->mUnk_04.data = param2; + this->mUnk_08 = param3; + this->mItemId = itemId; + } +}; + class PlayerGet : public LinkStateBase { public: /* 000 (base) */ - /* 054 */ LinkStateBase_04 mUnk_54; + /* 054 */ PlayerGet_04 mUnk_54; /* 064 */ UnkStruct_PlayerGet_64_2 mUnk_64; /* 068 */ unk32 mUnk_68; /* 06C */ unk32 mUnk_6C; // scale @@ -134,9 +150,9 @@ class PlayerGet : public LinkStateBase { /* 100 */ /* 04 */ virtual ~PlayerGet() override; - /* 0C */ virtual void vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; - /* 10 */ virtual void vfunc_10(unk32 param1, unk32 param2) override; - /* 18 */ virtual void vfunc_18(unk32 param1, unk32 param2, unk32 param3) override; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; + /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) override; + /* 18 */ virtual void vfunc_18(unk32 param1, LinkState state, unk32 param3) override; PlayerGet(PlayerLinkActor_A0_84 *param1); diff --git a/include/Player/PlayerLink.hpp b/include/Player/PlayerLink.hpp index 63fdc0148..4cda67da9 100644 --- a/include/Player/PlayerLink.hpp +++ b/include/Player/PlayerLink.hpp @@ -1,6 +1,7 @@ #pragma once #include "Player/PlayerActorBase.hpp" +#include "Unknown/UnkStruct_ov000_020b2cec.hpp" #include "Unknown/UnkStruct_ov031_Items.hpp" #include "math.hpp" #include "nitro/fx.h" @@ -13,23 +14,16 @@ class ItemManager; class LinkStateBase; union UnkStruct_027e0478; -class PlayerLinkActor_A0_04 { -public: - /* 00 */ unk32 mUnk_00; - - // overlay 0 - void func_ov000_02088268(); -}; - class PlayerLinkActor_A0_10 { public: - /* 00 */ unk32 mUnk_00; - /* 04 */ unk32 mUnk_04; + /* 00 (vtable) */ + /* 04 */ RefStruct mUnk_04; /* 00 */ virtual ~PlayerLinkActor_A0_10(); // overlay 31 void func_ov031_020e076c(); + bool func_ov031_020e07d0(); }; class PlayerLinkActor_A0_14_Base { @@ -100,6 +94,7 @@ class PlayerLinkActor_A0_2C { // overlay 0 void func_ov000_0208e704(); + void func_ov000_0208e71c(unk32 param1, unk32 param2); }; class PlayerLinkActor_A0_34 { @@ -110,6 +105,8 @@ class PlayerLinkActor_A0_34 { // overlay 0 void func_ov000_02082748(); + bool func_ov000_0208275c(RefStruct ref); + void func_ov000_02082804(); }; class PlayerLinkActor_A0_38_04_Base : public LinkList { @@ -194,10 +191,10 @@ class PlayerLinkActor_A0_38 { class PlayerLinkActor_A0 { public: - /* 00 */ unk32 mUnk_00; - /* 04 */ PlayerLinkActor_A0_04 *mUnk_04; - /* 08 */ unk32 mUnk_08; - /* 0C */ unk32 mUnk_0C; + /* 00 */ ItemManager *mpItemMgr; + /* 04 */ UnkStruct_027e0ce0_40 *mUnk_04; + /* 08 */ PlayerLinkActor *mpLink; + /* 0C */ PlayerLinkActor_9C *mUnk_0C; /* 10 */ PlayerLinkActor_A0_10 *mUnk_10; /* 14 */ PlayerLinkActor_A0_14 *mUnk_14; /* 18 */ PlayerLinkActor_A0_18 *mUnk_18; @@ -206,12 +203,13 @@ class PlayerLinkActor_A0 { /* 24 */ void *mUnk_24; /* 28 */ PlayerLinkActor_A0_28 *mUnk_28; /* 2C */ PlayerLinkActor_A0_2C mUnk_2C; - /* 30 */ unk32 mUnk_30; + /* 30 */ u16 mUnk_30; + /* 32 */ unk16 mUnk_32; /* 34 */ PlayerLinkActor_A0_34 mUnk_34; /* 38 */ PlayerLinkActor_A0_38 *mUnk_38; /* 3C */ PAD(0x3C, 0x5C); /* 5C */ UnkStruct_PlayerGet_64 mUnk_5C; - /* 68 */ u32 mUnk_68; + /* 68 */ LinkState mState; /* 6C */ unk32 mUnk_6C; /* 70 */ u32 mUnk_70; /* 74 */ unk32 mUnk_74; @@ -223,18 +221,24 @@ class PlayerLinkActor_A0 { /* 84 */ PlayerLinkActor_A0_84 mUnk_84; /* 94 */ + // check is state is default or lift/throw + const bool UnkCheck1() const { + return (u32) this->mState - LinkState_ActorThrow <= 2; + } + PlayerLinkActor_A0(ItemManager *pItemMgr, UnkStruct_027e0ce0_40 *param2, PlayerActorBase *pPlayer, PlayerLinkActor_9C *param4); ~PlayerLinkActor_A0(); // overlay 0 void func_ov000_02091ea0(); - bool func_ov000_02091f08(unk32 param1); - void func_ov000_020921e4(unk32 param1); + bool func_ov000_02091f08(LinkStateType stateType); + void func_ov000_020921e4(LinkState state); void func_ov000_02092e38(); void func_ov000_02092648(unk32 param1); void func_ov000_02092ea8(unk32 param1, unk32 param2); void func_ov000_02092ecc(void *param1, bool param2); + bool func_ov000_02093068(); bool func_ov000_020930b8(bool param1); unk32 func_ov000_0209316c(); unk32 func_ov000_02093250(bool param1); @@ -250,9 +254,11 @@ class PlayerLinkActor_A0 { unk32 func_ov000_020938d0(); void func_ov000_02093a04(); unk32 func_ov000_02093ad8(); + RefStruct *func_ov000_02093b84(); bool func_ov000_02093bc8(unk32 param1); void func_ov000_02093d0c(); bool func_ov000_02093da0(bool param1); + bool func_ov000_02093f58(); bool func_ov000_02093f74(RefStruct ref); void func_ov000_02093fd0(); void func_ov000_02093fe8(); @@ -296,10 +302,12 @@ class PlayerLinkActor_A0 { void func_ov001_020bd388(bool param1, bool param2); // overlay 31 + void func_ov031_020dda80(unk32 param1); bool func_ov031_020dda94(); - void func_ov031_020ddaf0(unk32 param1, unk32 param2); - void func_ov031_020ddbe4(VecFx32 *param1, fx32 param2, UnkAngleStruct param3, unk32 param4); - void func_ov031_020ddc5c(unk32 param1, unk32 param2, unk32 param3, unk32 param4); + void func_ov031_020ddaf0(u32 data1, u32 data2); + void func_ov031_020ddb10(); + void func_ov031_020ddbe4(const VecFx32 *param1, fx32 param2, UnkAngleStruct param3, u8 param4); + void func_ov031_020ddc5c(s32 direction, const VecFx32 *param2, LinkState state1, LinkState state2); void func_ov031_020ddcd8(VecFx32 *param1, UnkAngleStruct param2); void func_ov031_020ddda8(VecFx32 *param1, UnkAngleStruct param2); void func_ov031_020dddf8(); @@ -307,12 +315,14 @@ class PlayerLinkActor_A0 { void func_ov031_020dde6c(); void func_ov031_020ddf20(unk8 param1); void func_ov031_020ddf44(); - bool func_ov031_020ddf6c(unk32 param1); - bool func_ov031_020ddfac(unk32 param1); - void func_ov031_020ddfec(unk32 param1, RefStruct ref); + void func_ov031_020ddf6c(unk32 param1, const VecFx32 *param2); + void func_ov031_020ddfac(unk32 param1, const VecFx32 *param2); + bool func_ov031_020ddfec(unk32 param1, RefStruct ref); // overlay 82 void func_ov082_02158654(); + void func_ov082_02158758(unk32 param1); + void func_ov082_02158810(unk32 param1); }; class PlayerLinkActor_A4 { diff --git a/include/Player/PlayerSceneChange.hpp b/include/Player/PlayerSceneChange.hpp index 3a433f5c6..cc69e7255 100644 --- a/include/Player/PlayerSceneChange.hpp +++ b/include/Player/PlayerSceneChange.hpp @@ -36,8 +36,8 @@ class PlayerSceneChange : public LinkStateBase { s16 func_ov112_02184bbc(s16 param1); /* 04 */ virtual ~PlayerSceneChange() override; - /* 0C */ virtual void vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; - /* 10 */ virtual void vfunc_10(unk32 param1, unk32 param2) override; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; + /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) override; /* 1C */ virtual bool vfunc_1C(VecFx32 *param1) override; }; @@ -50,6 +50,6 @@ class PlayerSceneChange2 : public LinkStateBase { PlayerSceneChange2(PlayerLinkActor_A0_84 *param1); /* 04 */ virtual ~PlayerSceneChange2() override; - /* 0C */ virtual void vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; - /* 10 */ virtual void vfunc_10(unk32 param1, unk32 param2) override; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; + /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) override; }; diff --git a/include/Player/PlayerZelda.hpp b/include/Player/PlayerZelda.hpp index e8827ae9f..802f53f25 100644 --- a/include/Player/PlayerZelda.hpp +++ b/include/Player/PlayerZelda.hpp @@ -1,6 +1,6 @@ #pragma once -#include "Item/Item.hpp" +#include "Actor/ActorId.hpp" #include "Player/PlayerActorBase.hpp" class UnkStruct_027e0ce0_40; @@ -39,6 +39,6 @@ class PlayerZeldaActor : public PlayerActorBase { /* 0EC */ PAD(0xEC, 0x154); /* 154 */ - PlayerZeldaActor(void *param1, UnkStruct_027e0ce0_40 *param2, UnkStruct_027e0ce0_40_150 *param3, ItemFlag *pEquippedItem); + PlayerZeldaActor(void *param1, UnkStruct_027e0ce0_40 *param2, UnkStruct_027e0ce0_40_150 *param3, ActorId *pPhantomId); ~PlayerZeldaActor(); }; diff --git a/include/Unknown/Common.hpp b/include/Unknown/Common.hpp index 55df0071e..c7d633885 100644 --- a/include/Unknown/Common.hpp +++ b/include/Unknown/Common.hpp @@ -1016,7 +1016,9 @@ struct UnkSystem7_UnkStruct_00 { /* 20 */ UnkSystem7_UnkStruct_00_20 *mUnk_20; /* 24 */ unk32 mUnk_24; /* 28 */ VecFx32 mUnk_28; - /* 34 */ PAD(0x34, 0x58); + /* 34 */ PAD(0x34, 0x50); + /* 50 */ VecFx16 mUnk_50; + /* 56 */ UnkAngleStruct mUnk_56; /* 58 */ unk32 mUnk_58; /* 5C */ PAD(0x5C, 0xA0); /* A0 */ unk32 mUnk_A0; diff --git a/include/Unknown/UnkStruct_027e09a8.hpp b/include/Unknown/UnkStruct_027e09a8.hpp index af211ba33..c085ef304 100644 --- a/include/Unknown/UnkStruct_027e09a8.hpp +++ b/include/Unknown/UnkStruct_027e09a8.hpp @@ -12,11 +12,13 @@ class UnkStruct_027e09a8 : public AutoInstance { // overlay 0 void func_ov000_020713bc(); void func_ov000_020716dc(unk32 param1); + void func_ov000_02071700(unk32 param1, VecFx32 *pPos); + void func_ov000_02071774(RefStruct *pRef, unk32 param2, VecFx32 *pPos); void func_ov000_020717cc(unk32 param1, VecFx32 *pPos); void func_ov000_02071934(u32 param1, VecFx32 *pPos, ActorId param3, unk32 param4); - void func_ov000_02071700(unk32 param1, VecFx32 *pPos); u16 func_ov000_02071b30(unk32 param1, VecFx32 *pPos, unk32 param3); void func_ov000_02071bd4(unk32 param1, VecFx32 *pPos, unk32 param3); + void func_ov000_02071c64(unk32 param1, s16 param2); void func_ov000_02071c90(unk32 param1, VecFx32 *pPos, unk32 param3); void func_ov000_02071d34(RefStruct *pRef, unk32 param2, VecFx32 *pPos, unk32 param4); void func_ov000_02071eac(VecFx32 *pPos); diff --git a/include/Unknown/UnkStruct_027e09c0.hpp b/include/Unknown/UnkStruct_027e09c0.hpp index 6c0cea3c8..9bf958e96 100644 --- a/include/Unknown/UnkStruct_027e09c0.hpp +++ b/include/Unknown/UnkStruct_027e09c0.hpp @@ -67,7 +67,7 @@ class UnkStruct_027e09c0 : public AutoInstance { void func_ov000_0207e20c(UnkStruct_027e09c0_04 *, void *); void func_ov000_0207e240(ActorUnkSCCN_B8 *param1); void func_ov000_0207e254(ActorUnkSCCN_B8 *param1); - void func_ov000_0207e58c(RefStruct param1, unk32 param2, u8 param3, UnkStruct_ov031_Items_01 *param4); + void func_ov000_0207e58c(RefStruct param1, unk32 param2, u32 param3, UnkStruct_ov031_Items_01 *param4); bool func_ov000_0207e458(unk32 param1, unk32 param2, VecFx32 *param3, unk32 param4, VecFx32 *param5, RefStruct param6); // overlay 1 diff --git a/include/Unknown/UnkStruct_027e0ce0.hpp b/include/Unknown/UnkStruct_027e0ce0.hpp index 53a149f54..b6e1f134f 100644 --- a/include/Unknown/UnkStruct_027e0ce0.hpp +++ b/include/Unknown/UnkStruct_027e0ce0.hpp @@ -26,6 +26,7 @@ class UnkStruct_027e0ce0_38; class UnkStruct_027e0ce0_3C; class UnkStruct_027e0ce0_40; class UnkStruct_ov001_020c40f4; +class UnkStruct_ov000_0208a38c; class UnkStruct_027e0ce0_0C : public LinkList { public: @@ -687,6 +688,7 @@ class UnkStruct_027e0ce0_40_Base_94 : public UnkStruct_027e0ce0_40_Base_94_Base ~UnkStruct_027e0ce0_40_Base_94(); // overlay 0 + bool func_ov000_0208a82c(unk32 param1, unk32 param2, VecFx32 *paramm3); void func_ov000_0208aee4(); // overlay 17 @@ -858,19 +860,24 @@ class UnkStruct_027e0ce0_40 : public UnkStruct_027e0ce0_40_Base { /* 154 */ PlayerLinkActor mPlayer; /* 328 */ PlayerZeldaActor *mpZelda; /* 32C */ PlayerActorBase *mPlayerActors[PlayerType_Max]; - /* 334 */ ItemFlag mEquippedItem; + /* 334 */ ActorId mPhantomId; /* 338 */ bool mIsSceneTowerInsideStairs; /* 339 */ bool mIsSceneTowerOutsideStairs; /* 33A */ bool mIsSceneBossByrne; /* 33B */ bool mUnk_33B; /* 33C */ - UnkStruct_027e0ce0_40(bool param1, UnkStruct_027e0ce0_20 *param2, ItemFlag *pEquippedItem, ItemManager *pItemMgr); + UnkStruct_027e0ce0_40(bool param1, UnkStruct_027e0ce0_20 *param2, ActorId *pPhantomId, ItemManager *pItemMgr); ~UnkStruct_027e0ce0_40(); // overlay 0 void func_ov000_02087ee8(); void func_ov000_02088060(bool param1); + void func_ov000_02088268(); + bool func_ov000_02088524(unk32 param1, vu32 param2, void *param3); + bool func_ov000_02088700(UnkStruct_ov000_0208a38c *param1); + bool func_ov000_02088854(); + void func_ov000_02088d10(VecFx32 *param1); // overlay 17 bool func_ov017_020bc95c(bool param1); @@ -889,7 +896,8 @@ class UnkStruct_027e0ce0_40 : public UnkStruct_027e0ce0_40_Base { void func_ov031_020dbf7c(PlayerType playerType); void func_ov031_020dbfa0(PlayerType playerType, VecFx32 *param2); void func_ov031_020dc058(PlayerType playerType, VecFx32 *param2, UnkAngleStruct param3); - bool func_ov031_020dc12c(PlayerType playerType, unk32 param2, unk32 param3, Sphere *param4, void *param5, unk32 param6); + bool func_ov031_020dc12c(PlayerType playerType, unk32 param2, unk32 param3, Sphere *param4, const VecFx32 *param5, + unk32 param6); bool func_ov031_020dc1bc(PlayerType playerType, unk32 param2, fx32 param3); bool func_ov031_020dc1f0(PlayerType playerType, unk32 param2, unk32 param3, VecFx32 *param4); void func_ov031_020dc218(RefStruct ref, unk32 param2); @@ -946,7 +954,7 @@ class UnkStruct_027e0ce0 : public AutoInstance, public UnkSt public: /* 02 */ bool mUnk_02; /* 03 */ bool mUnk_03; - /* 04 */ ItemFlag mEquippedItem; + /* 04 */ ActorId mPhantomId; /* 08 */ bool mUnk_08; /* 0C */ UnkStruct_027e0ce0_0C mUnk_0C; /* 1C */ UnkStruct_027e0ce0_1C *mUnk_1C; diff --git a/include/Unknown/UnkStruct_027e0d34.hpp b/include/Unknown/UnkStruct_027e0d34.hpp index e1af79e60..3fe398dec 100644 --- a/include/Unknown/UnkStruct_027e0d34.hpp +++ b/include/Unknown/UnkStruct_027e0d34.hpp @@ -2,6 +2,7 @@ #include "Item/Item.hpp" #include "RefStruct.hpp" +#include "Unknown/UnkStruct_ov000_020b2cec.hpp" #include "math.hpp" #include "types.h" @@ -47,20 +48,20 @@ class UnkStruct_027e0d34 : public AutoInstance { void func_ov031_020d9844(); void func_ov031_020d9854(VecFx32 *param1, fx32 param2); void func_ov031_020d9888(VecFx32 *param1, fx32 param2, UnkAngleStruct param3); - void func_ov031_020d98bc(unk32 param1, unk32 param2); - void func_ov031_020d98d8(unk32 param1, unk32 param2); + void func_ov031_020d98bc(unk32 param1, const VecFx32 *param2); + void func_ov031_020d98d8(unk32 param1, const VecFx32 *param2); void func_ov031_020d98f4(VecFx32 *param1, UnkAngleStruct param2); void func_ov031_020d9920(VecFx32 *param1, UnkAngleStruct param2); void func_ov031_020d994c(); void func_ov031_020d995c(unk32 param1, unk32 param2, unk32 param3); void func_ov031_020d996c(); - void func_ov031_020d997c(s32 param1); + void func_ov031_020d997c(LinkState state); void func_ov031_020d99ac(unk8 param1); void func_ov031_020d99bc(); unk32 func_ov031_020d99cc(); - bool func_ov031_020d99dc(unk32 param1); - bool func_ov031_020d99ec(unk32 param1); - void func_ov031_020d99fc(unk32 param1, RefStruct ref); + void func_ov031_020d99dc(unk32 param1, const VecFx32 *param2); + void func_ov031_020d99ec(unk32 param1, const VecFx32 *param2); + bool func_ov031_020d99fc(unk32 param1, RefStruct ref); void func_ov031_020d9a1c(s32 param1); bool func_ov031_020d9a34(s32 param1); bool func_ov031_020d9a4c(bool param1); diff --git a/include/Unknown/UnkStruct_ov000_020b2cec.hpp b/include/Unknown/UnkStruct_ov000_020b2cec.hpp index 939e12894..0603af619 100644 --- a/include/Unknown/UnkStruct_ov000_020b2cec.hpp +++ b/include/Unknown/UnkStruct_ov000_020b2cec.hpp @@ -1,177 +1,238 @@ #pragma once -#include "Player/PlayerLink.hpp" #include "System/OverlayManager.hpp" #include "types.h" class PlayerLinkActor_A0; typedef enum LinkStateType_ { - /* 00 */ LinkStateType_Default = 0x00, // idle/default state? (020b2f6c) - /* 01 */ LinkStateType_Stun = 0x01, // related to being stunned? (020b2f94) - /* 02 */ LinkStateType_Roll = 0x02, // related to rolls? (020b2fbc) - /* 03 */ LinkStateType_3 = 0x03, // related to battle mode (02107fc4) - /* 04 */ LinkStateType_ActorCarry = 0x04, // related to the player grabbing/throwing an actor? (020b2ccc) - /* 05 */ LinkStateType_Damage = 0x05, // related to the player receiving/shielding damages (020b2ca4) - /* 06 */ LinkStateType_Hit = 0x06, // related to the player dealing damages? (02112bb4) - /* 07 */ LinkStateType_7 = 0x07, // related to the Snapper grabbing Link with its whip (02158e58) - /* 08 */ LinkStateType_Grabbed = 0x08, // related to the player being grabbed, excluding the Snapper (02112b8c) - /* 09 */ LinkStateType_9 = 0x09, // PlayerPhantom (02180e14), jumping off of Zelda? - /* 10 */ LinkStateType_10 = 0x0A, // related to calling zelda (02178824) - /* 11 */ LinkStateType_PlayerGet = 0x0B, // PlayerGet (02186204) - /* 12 */ LinkStateType_12 = 0x0C, // PlayerSceneChange (02186508) - /* 13 */ LinkStateType_13 = 0x0D, // PlayerSceneChange2 (02186530) - /* 14 */ LinkStateType_14 = 0x0E, // PlayerDemo 1 (02185608) - /* 15 */ LinkStateType_15 = 0x0F, // PlayerDown 1 (02185e58), game over (and revive) - /* 16 */ LinkStateType_16 = 0x10, // PlayerDown 2 (02185e80), drinking a potion? - /* 17 */ LinkStateType_MapDraw = 0x11, // PlayerPanFlute (02185f5c), minimap - /* 18 */ LinkStateType_Stamp = 0x12, // PlayerPanFlute (02185fec), stamps - /* 19 */ LinkStateType_19 = 0x13, // PlayerDemo 4 (02185680), talking to NPCs? - /* 20 */ LinkStateType_20 = 0x14, // PlayerDemo 3 (02185658), talking to non NPCs? - /* 21 */ LinkStateType_21 = 0x15, // related to push blocks (02137a04) - /* 22 */ LinkStateType_22 = 0x16, // PlayerDemo 2 (02185630) - /* 23 */ LinkStateType_ItemTornado = 0x17, // PlayerTornado (021861a4) - /* 24 */ LinkStateType_ItemBoomerang = 0x18, // PlayerBoomerang (02185148) - /* 25 */ LinkStateType_ItemWhip = 0x19, // PlayerWhip (0218a268) - /* 26 */ LinkStateType_ItemBow = 0x1A, // PlayerBow (02185b68) - /* 27 */ LinkStateType_ItemSandrod = 0x1B, // PlayerSandrod (0218667c) - /* 28 */ LinkStateType_ItemBomb = 0x1C, // PlayerBomb (02184d88) - /* 29 */ LinkStateType_ItemPanFlute = 0x1D, // PlayerPanFlute (02185f84), pan flute - /* 30 */ LinkStateType_30 = 0x1E, // PlayerPanFlute (02185fac), song of recovery + /* 00 */ LinkStateType_Default = 0x00, + /* 01 */ LinkStateType_Stun = 0x01, + /* 02 */ LinkStateType_Roll = 0x02, + /* 03 */ LinkStateType_3 = 0x03, + /* 04 */ LinkStateType_ActorCarry = 0x04, + /* 05 */ LinkStateType_Damage = 0x05, + /* 06 */ LinkStateType_Hit = 0x06, + /* 07 */ LinkStateType_7 = 0x07, + /* 08 */ LinkStateType_Grabbed = 0x08, + /* 09 */ LinkStateType_9 = 0x09, + /* 10 */ LinkStateType_10 = 0x0A, + /* 11 */ LinkStateType_PlayerGet = 0x0B, + /* 12 */ LinkStateType_12 = 0x0C, + /* 13 */ LinkStateType_13 = 0x0D, + /* 14 */ LinkStateType_14 = 0x0E, + /* 15 */ LinkStateType_15 = 0x0F, + /* 16 */ LinkStateType_16 = 0x10, + /* 17 */ LinkStateType_MapDraw = 0x11, + /* 18 */ LinkStateType_Stamp = 0x12, + /* 19 */ LinkStateType_19 = 0x13, + /* 20 */ LinkStateType_20 = 0x14, + /* 21 */ LinkStateType_ActorPush = 0x15, + /* 22 */ LinkStateType_DoorKey = 0x16, + /* 23 */ LinkStateType_ItemTornado = 0x17, + /* 24 */ LinkStateType_ItemBoomerang = 0x18, + /* 25 */ LinkStateType_ItemWhip = 0x19, + /* 26 */ LinkStateType_ItemBow = 0x1A, + /* 27 */ LinkStateType_ItemSandrod = 0x1B, + /* 28 */ LinkStateType_ItemBomb = 0x1C, + /* 29 */ LinkStateType_ItemPanFlute = 0x1D, + /* 30 */ LinkStateType_30 = 0x1E, /* 31 */ LinkStateType_Max } LinkStateType; typedef enum LinkState_ { - /* 0 */ LinkState_Idle = 0x00, - /* 1 */ LinkState_Walk = 0x01, - /* 2 */ LinkState_Jump = 0x02, - /* 3 */ LinkState_Fall = 0x03, - /* 4 */ LinkState_ShortStun = 0x04, - /* 5 */ LinkState_LongStun = 0x05, - /* 6 */ LinkState_DoRoll = 0x06, - /* 7 */ LinkState_7 = 0x07, - /* 8 */ LinkState_ActorCarryInit = 0x08, - /* 9 */ LinkState_9 = 0x09, - /* 10 */ LinkState_ActorLift = 0x0A, - /* 11 */ LinkState_ActorThrow = 0x0B, - /* 12 */ LinkState_12 = 0x0C, - /* 13 */ LinkState_ActorDrop = 0x0D, - /* 14 */ LinkState_14 = 0x0E, - /* 15 */ LinkState_15 = 0x0F, - /* 16 */ LinkState_16 = 0x10, - /* 17 */ LinkState_17 = 0x11, - /* 18 */ LinkState_18 = 0x12, - /* 19 */ LinkState_19 = 0x13, - /* 20 */ LinkState_20 = 0x14, - /* 21 */ LinkState_21 = 0x15, - /* 22 */ LinkState_22 = 0x16, - /* 23 */ LinkState_23 = 0x17, - /* 24 */ LinkState_24 = 0x18, - /* 25 */ LinkState_25 = 0x19, - /* 26 */ LinkState_26 = 0x1A, - /* 27 */ LinkState_27 = 0x1B, - /* 28 */ LinkState_28 = 0x1C, - /* 29 */ LinkState_29 = 0x1D, - /* 30 */ LinkState_30 = 0x1E, - /* 31 */ LinkState_31 = 0x1F, - /* 32 */ LinkState_32 = 0x20, - /* 33 */ LinkState_33 = 0x21, - /* 34 */ LinkState_34 = 0x22, - /* 35 */ LinkState_35 = 0x23, - /* 36 */ LinkState_36 = 0x24, - /* 37 */ LinkState_37 = 0x25, - /* 38 */ LinkState_38 = 0x26, - /* 39 */ LinkState_39 = 0x27, - /* 40 */ LinkState_40 = 0x28, - /* 41 */ LinkState_41 = 0x29, - /* 42 */ LinkState_42 = 0x2A, - /* 43 */ LinkState_43 = 0x2B, - /* 44 */ LinkState_44 = 0x2C, - /* 45 */ LinkState_45 = 0x2D, - /* 46 */ LinkState_46 = 0x2E, - /* 47 */ LinkState_47 = 0x2F, - /* 48 */ LinkState_48 = 0x30, - /* 49 */ LinkState_49 = 0x31, - /* 50 */ LinkState_50 = 0x32, - /* 51 */ LinkState_51 = 0x33, - /* 52 */ LinkState_52 = 0x34, - /* 53 */ LinkState_53 = 0x35, - /* 54 */ LinkState_54 = 0x36, - /* 55 */ LinkState_55 = 0x37, - /* 56 */ LinkState_56 = 0x38, - /* 57 */ LinkState_PlayerGetInit = 0x39, - /* 58 */ LinkState_PlayerGetAnim = 0x3A, - /* 59 */ LinkState_PlayerGetShowItem = 0x3B, - /* 60 */ LinkState_60 = 0x3C, - /* 61 */ LinkState_61 = 0x3D, - /* 62 */ LinkState_62 = 0x3E, - /* 63 */ LinkState_63 = 0x3F, - /* 64 */ LinkState_64 = 0x40, - /* 65 */ LinkState_65 = 0x41, - /* 66 */ LinkState_66 = 0x42, - /* 67 */ LinkState_67 = 0x43, - /* 68 */ LinkState_68 = 0x44, - /* 69 */ LinkState_69 = 0x45, - /* 70 */ LinkState_70 = 0x46, - /* 71 */ LinkState_71 = 0x47, - /* 72 */ LinkState_72 = 0x48, - /* 73 */ LinkState_73 = 0x49, - /* 74 */ LinkState_74 = 0x4A, - /* 75 */ LinkState_75 = 0x4B, - /* 76 */ LinkState_76 = 0x4C, - /* 77 */ LinkState_77 = 0x4D, - /* 78 */ LinkState_78 = 0x4E, - /* 79 */ LinkState_79 = 0x4F, - /* 80 */ LinkState_80 = 0x50, - /* 81 */ LinkState_81 = 0x51, - /* 82 */ LinkState_82 = 0x52, - /* 83 */ LinkState_MapDrawIdle = 0x53, - /* 84 */ LinkState_MapDrawPainting = 0x54, - /* 85 */ LinkState_StampIdle = 0x55, - /* 86 */ LinkState_StampApply = 0x56, - /* 87 */ LinkState_87 = 0x57, - /* 88 */ LinkState_88 = 0x58, - /* 89 */ LinkState_89 = 0x59, - /* 90 */ LinkState_90 = 0x5A, - /* 91 */ LinkState_91 = 0x5B, - /* 92 */ LinkState_92 = 0x5C, - /* 93 */ LinkState_93 = 0x5D, - /* 94 */ LinkState_94 = 0x5E, - /* 95 */ LinkState_95 = 0x5F, - /* 96 */ LinkState_96 = 0x60, - /* 97 */ LinkState_97 = 0x61, - /* 98 */ LinkState_ItemTornadoAim = 0x62, - /* 99 */ LinkState_ItemTornadoSpawn = 0x63, - /* 100 */ LinkState_100 = 0x64, + // LinkStateType_Default - idle/default state (020b2f6c) + /* 0 */ LinkState_Idle = 0x00, + /* 1 */ LinkState_Walk = 0x01, + /* 2 */ LinkState_Jump = 0x02, + /* 3 */ LinkState_Fall = 0x03, + + // LinkStateType_Stun - related to being stunned? (020b2f94) + /* 4 */ LinkState_ShortStun = 0x04, + /* 5 */ LinkState_LongStun = 0x05, + + // LinkStateType_Roll - related to rolls? (020b2fbc) + /* 6 */ LinkState_DoRoll = 0x06, + + // LinkStateType_3 - related to battle mode (02107fc4) + /* 7 */ LinkState_7 = 0x07, + + // LinkStateType_ActorCarry - related to the player grabbing/throwing an actor? (020b2ccc) + /* 8 */ LinkState_ActorCarryInit = 0x08, + /* 9 */ LinkState_9 = 0x09, + /* 10 */ LinkState_ActorLift = 0x0A, + /* 11 */ LinkState_ActorThrow = 0x0B, + /* 12 */ LinkState_12 = 0x0C, + /* 13 */ LinkState_ActorDrop = 0x0D, + + // LinkStateType_Damage - related to the player receiving/shielding damages (020b2ca4) + /* 14 */ LinkState_14 = 0x0E, + /* 15 */ LinkState_15 = 0x0F, + /* 16 */ LinkState_16 = 0x10, + /* 17 */ LinkState_17 = 0x11, + /* 18 */ LinkState_18 = 0x12, + /* 19 */ LinkState_19 = 0x13, + /* 20 */ LinkState_20 = 0x14, + /* 21 */ LinkState_21 = 0x15, + /* 22 */ LinkState_22 = 0x16, + /* 23 */ LinkState_23 = 0x17, + /* 24 */ LinkState_24 = 0x18, + /* 25 */ LinkState_25 = 0x19, + /* 26 */ LinkState_26 = 0x1A, + /* 27 */ LinkState_27 = 0x1B, + /* 28 */ LinkState_28 = 0x1C, + /* 29 */ LinkState_29 = 0x1D, + /* 30 */ LinkState_30 = 0x1E, + + // LinkStateType_Hit - related to the player dealing damages? (02112bb4) + /* 31 */ LinkState_31 = 0x1F, + /* 32 */ LinkState_32 = 0x20, + /* 33 */ LinkState_33 = 0x21, + /* 34 */ LinkState_34 = 0x22, + /* 35 */ LinkState_35 = 0x23, + /* 36 */ LinkState_36 = 0x24, + /* 37 */ LinkState_37 = 0x25, + /* 38 */ LinkState_38 = 0x26, + /* 39 */ LinkState_39 = 0x27, + /* 40 */ LinkState_40 = 0x28, + /* 41 */ LinkState_41 = 0x29, + + // LinkStateType_7 - related to the Snapper grabbing Link with its whip (02158e58) + /* 42 */ LinkState_42 = 0x2A, + /* 43 */ LinkState_43 = 0x2B, + /* 44 */ LinkState_44 = 0x2C, + /* 45 */ LinkState_45 = 0x2D, + /* 46 */ LinkState_46 = 0x2E, + + // LinkStateType_Grabbed - related to the player being grabbed, excluding the Snapper (02112b8c) + /* 47 */ LinkState_47 = 0x2F, + /* 48 */ LinkState_48 = 0x30, + /* 49 */ LinkState_49 = 0x31, + /* 50 */ LinkState_50 = 0x32, + /* 51 */ LinkState_51 = 0x33, + + // LinkStateType_9 - PlayerPhantom (02180e14), jumping off of Zelda? + /* 52 */ LinkState_52 = 0x34, + /* 53 */ LinkState_53 = 0x35, + /* 54 */ LinkState_54 = 0x36, + /* 55 */ LinkState_55 = 0x37, + + // LinkStateType_10 - related to calling zelda (02178824) + /* 56 */ LinkState_56 = 0x38, + + // LinkStateType_PlayerGet - PlayerGet (02186204) + /* 57 */ LinkState_PlayerGetInit = 0x39, + /* 58 */ LinkState_PlayerGetAnim = 0x3A, + /* 59 */ LinkState_PlayerGetShowItem = 0x3B, + + // LinkStateType_12 - PlayerSceneChange (02186508) + /* 60 */ LinkState_60 = 0x3C, + /* 61 */ LinkState_61 = 0x3D, + /* 62 */ LinkState_62 = 0x3E, + /* 63 */ LinkState_63 = 0x3F, + + // LinkStateType_13 - PlayerSceneChange2 (02186530) + /* 64 */ LinkState_64 = 0x40, + /* 65 */ LinkState_65 = 0x41, + /* 66 */ LinkState_66 = 0x42, + /* 67 */ LinkState_67 = 0x43, + /* 68 */ LinkState_68 = 0x44, + /* 69 */ LinkState_69 = 0x45, + + // LinkStateType_14 - PlayerDemo 1 (02185608) + /* 70 */ LinkState_70 = 0x46, + /* 71 */ LinkState_71 = 0x47, + /* 72 */ LinkState_72 = 0x48, + /* 73 */ LinkState_73 = 0x49, + /* 74 */ LinkState_74 = 0x4A, + + // LinkStateType_15 - PlayerDown 1 (02185e58), game over (and revive) + /* 75 */ LinkState_75 = 0x4B, + /* 76 */ LinkState_76 = 0x4C, + /* 77 */ LinkState_77 = 0x4D, + /* 78 */ LinkState_78 = 0x4E, + /* 79 */ LinkState_79 = 0x4F, + /* 80 */ LinkState_80 = 0x50, + /* 81 */ LinkState_81 = 0x51, + + // LinkStateType_16 - PlayerDown 2 (02185e80), drinking a potion? + /* 82 */ LinkState_82 = 0x52, + + // LinkStateType_MapDraw - PlayerPanFlute (02185f5c), minimap + /* 83 */ LinkState_MapDrawIdle = 0x53, + /* 84 */ LinkState_MapDrawPainting = 0x54, + + // LinkStateType_Stamp - PlayerPanFlute (02185fec), stamps + /* 85 */ LinkState_StampIdle = 0x55, + /* 86 */ LinkState_StampApply = 0x56, + + // LinkStateType_19 - PlayerDemo 4 (02185680), talking to NPCs? + /* 87 */ LinkState_87 = 0x57, + + // LinkStateType_20 - PlayerDemo 3 (02185658), talking to non NPCs? + /* 88 */ LinkState_88 = 0x58, + + // LinkStateType_ActorPush - related to push blocks (02137a04) + /* 89 */ LinkState_BlockIdle = 0x59, + /* 90 */ LinkState_BlockPush = 0x5A, + /* 91 */ LinkState_BlockPull = 0x5B, + /* 92 */ LinkState_DoorTwoIdle = 0x5C, + /* 93 */ LinkState_DoorTwoPush = 0x5D, + /* 94 */ LinkState_94 = 0x5E, + + // LinkStateType_DoorKey - PlayerDemo 2 (02185630) + /* 95 */ LinkState_DoorNoKey = 0x5F, + /* 96 */ LinkState_DoorKeyOpen = 0x60, + /* 97 */ LinkState_97 = 0x61, + + // LinkStateType_ItemTornado - PlayerTornado (021861a4) + /* 98 */ LinkState_ItemTornadoAim = 0x62, + /* 99 */ LinkState_ItemTornadoSpawn = 0x63, + /* 100 */ LinkState_100 = 0x64, + + // LinkStateType_ItemBoomerang - PlayerBoomerang (02185148) /* 101 */ LinkState_ItemBoomerangAim = 0x65, /* 102 */ LinkState_ItemBoomerangThrow = 0x66, - /* 103 */ LinkState_103 = 0x67, - /* 104 */ LinkState_104 = 0x68, - /* 105 */ LinkState_105 = 0x69, - /* 106 */ LinkState_106 = 0x6A, - /* 107 */ LinkState_107 = 0x6B, - /* 108 */ LinkState_108 = 0x6C, - /* 109 */ LinkState_109 = 0x6D, - /* 110 */ LinkState_110 = 0x6E, - /* 111 */ LinkState_111 = 0x6F, - /* 112 */ LinkState_112 = 0x70, - /* 113 */ LinkState_113 = 0x71, - /* 114 */ LinkState_114 = 0x72, - /* 115 */ LinkState_115 = 0x73, - /* 116 */ LinkState_116 = 0x74, - /* 117 */ LinkState_117 = 0x75, - /* 118 */ LinkState_ItemBowAim = 0x76, - /* 119 */ LinkState_ItemBowShoot = 0x77, - /* 120 */ LinkState_ItemSandrodIdle = 0x78, - /* 121 */ LinkState_ItemSandrodAim = 0x79, - /* 122 */ LinkState_ItemSandrodStop = 0x7A, - /* 123 */ LinkState_ItemBombPullOut = 0x7B, - /* 124 */ LinkState_ItemPanFluteIdle = 0x7C, - /* 125 */ LinkState_ItemPanFluteHold = 0x7D, - /* 126 */ LinkState_ItemPanFlutePlay = 0x7E, - /* 127 */ LinkState_127 = 0x7F, - /* 128 */ LinkState_128 = 0x80, - /* 129 */ LinkState_129 = 0x81, + + // LinkStateType_ItemWhip - PlayerWhip (0218a268) + /* 103 */ LinkState_103 = 0x67, + /* 104 */ LinkState_104 = 0x68, + /* 105 */ LinkState_105 = 0x69, + /* 106 */ LinkState_106 = 0x6A, + /* 107 */ LinkState_107 = 0x6B, + /* 108 */ LinkState_108 = 0x6C, + /* 109 */ LinkState_109 = 0x6D, + /* 110 */ LinkState_110 = 0x6E, + /* 111 */ LinkState_111 = 0x6F, + /* 112 */ LinkState_112 = 0x70, + /* 113 */ LinkState_113 = 0x71, + /* 114 */ LinkState_114 = 0x72, + /* 115 */ LinkState_115 = 0x73, + /* 116 */ LinkState_116 = 0x74, + /* 117 */ LinkState_117 = 0x75, + + // LinkStateType_ItemBow - PlayerBow (02185b68) + /* 118 */ LinkState_ItemBowAim = 0x76, + /* 119 */ LinkState_ItemBowShoot = 0x77, + + // LinkStateType_ItemSandrod - PlayerSandrod (0218667c) + /* 120 */ LinkState_ItemSandrodIdle = 0x78, + /* 121 */ LinkState_ItemSandrodAim = 0x79, + /* 122 */ LinkState_ItemSandrodStop = 0x7A, + + // LinkStateType_ItemBomb - PlayerBomb (02184d88) + /* 123 */ LinkState_ItemBombPullOut = 0x7B, + + // LinkStateType_ItemPanFlute - PlayerPanFlute (02185f84), pan flute + /* 124 */ LinkState_ItemPanFluteIdle = 0x7C, + /* 125 */ LinkState_ItemPanFluteHold = 0x7D, + /* 126 */ LinkState_ItemPanFlutePlay = 0x7E, + + // LinkStateType_30 - PlayerPanFlute (02185fac), song of recovery? + /* 127 */ LinkState_127 = 0x7F, + /* 128 */ LinkState_128 = 0x80, + /* 129 */ LinkState_129 = 0x81, + /* 130 */ LinkState_Max, } LinkState; diff --git a/include/math.hpp b/include/math.hpp index 98e03d836..fc14de1d1 100644 --- a/include/math.hpp +++ b/include/math.hpp @@ -63,6 +63,10 @@ struct VecFx32Cpp { VecFx32_Copy(vec, &this->vec); } + VecFx32 *operator&() { + return &this->vec; + } + void Set(fx32 X, fx32 Y, fx32 Z) { VecFx32_Init(X, Y, Z, &this->vec); } diff --git a/src/000_Second/Player/data_ov000_020ad02c.cpp b/src/000_Second/Player/data_ov000_020ad02c.cpp index d769755e1..761c6e613 100644 --- a/src/000_Second/Player/data_ov000_020ad02c.cpp +++ b/src/000_Second/Player/data_ov000_020ad02c.cpp @@ -981,9 +981,9 @@ const UnkStruct_ov000_020ad02c data_ov000_020ad02c[LinkState_Max] = .unk_10 = 0x00000000, .unk_14 = 0x00002CC1, }, - [LinkState_89] = + [LinkState_BlockIdle] = { - .stateType = LinkStateType_21, + .stateType = LinkStateType_ActorPush, .unk_04 = 0xFFFE, .unk_06 = 0xFF, .unk_07 = 0x00, @@ -992,9 +992,9 @@ const UnkStruct_ov000_020ad02c data_ov000_020ad02c[LinkState_Max] = .unk_10 = 0x00000002, .unk_14 = 0x00043CE6, }, - [LinkState_90] = + [LinkState_BlockPush] = { - .stateType = LinkStateType_21, + .stateType = LinkStateType_ActorPush, .unk_04 = 0xFFFE, .unk_06 = 0xFF, .unk_07 = 0x00, @@ -1003,9 +1003,9 @@ const UnkStruct_ov000_020ad02c data_ov000_020ad02c[LinkState_Max] = .unk_10 = 0x00000000, .unk_14 = 0x00080CE2, }, - [LinkState_91] = + [LinkState_BlockPull] = { - .stateType = LinkStateType_21, + .stateType = LinkStateType_ActorPush, .unk_04 = 0xFFFE, .unk_06 = 0xFF, .unk_07 = 0x00, @@ -1014,9 +1014,9 @@ const UnkStruct_ov000_020ad02c data_ov000_020ad02c[LinkState_Max] = .unk_10 = 0x00000000, .unk_14 = 0x00080CE2, }, - [LinkState_92] = + [LinkState_DoorTwoIdle] = { - .stateType = LinkStateType_21, + .stateType = LinkStateType_ActorPush, .unk_04 = 0x26, .unk_06 = 0xFF, .unk_07 = 0x00, @@ -1025,9 +1025,9 @@ const UnkStruct_ov000_020ad02c data_ov000_020ad02c[LinkState_Max] = .unk_10 = 0x00000002, .unk_14 = 0x00043CE6, }, - [LinkState_93] = + [LinkState_DoorTwoPush] = { - .stateType = LinkStateType_21, + .stateType = LinkStateType_ActorPush, .unk_04 = 0x27, .unk_06 = 0xFF, .unk_07 = 0x00, @@ -1038,7 +1038,7 @@ const UnkStruct_ov000_020ad02c data_ov000_020ad02c[LinkState_Max] = }, [LinkState_94] = { - .stateType = LinkStateType_21, + .stateType = LinkStateType_ActorPush, .unk_04 = 0x28, .unk_06 = 0xFF, .unk_07 = 0x00, @@ -1047,9 +1047,9 @@ const UnkStruct_ov000_020ad02c data_ov000_020ad02c[LinkState_Max] = .unk_10 = 0x00000001, .unk_14 = 0x00000CE2, }, - [LinkState_95] = + [LinkState_DoorNoKey] = { - .stateType = LinkStateType_22, + .stateType = LinkStateType_DoorKey, .unk_04 = 0x5B, .unk_06 = 0xFF, .unk_07 = 0x00, @@ -1058,9 +1058,9 @@ const UnkStruct_ov000_020ad02c data_ov000_020ad02c[LinkState_Max] = .unk_10 = 0x00000000, .unk_14 = 0x00000CC3, }, - [LinkState_96] = + [LinkState_DoorKeyOpen] = { - .stateType = LinkStateType_22, + .stateType = LinkStateType_DoorKey, .unk_04 = 0x5C, .unk_06 = 0xFF, .unk_07 = 0x00, @@ -1071,7 +1071,7 @@ const UnkStruct_ov000_020ad02c data_ov000_020ad02c[LinkState_Max] = }, [LinkState_97] = { - .stateType = LinkStateType_22, + .stateType = LinkStateType_DoorKey, .unk_04 = 0x5C, .unk_06 = 0xFF, .unk_07 = 0x00, diff --git a/src/001_SceneInit/UnkStruct_027e0ce0_001.cpp b/src/001_SceneInit/UnkStruct_027e0ce0_001.cpp index e4b95eab8..1aa8ac294 100644 --- a/src/001_SceneInit/UnkStruct_027e0ce0_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e0ce0_001.cpp @@ -37,7 +37,7 @@ UnkStruct_027e0ce0 *UnkStruct_027e0ce0::Create() { UnkStruct_027e0ce0::UnkStruct_027e0ce0() : mUnk_02(false), mUnk_03(false), - mEquippedItem(ItemFlag_Nothing), + mPhantomId(ActorId_None), mUnk_08(false), mUnk_0C(this), mUnk_1C(new(HeapIndex_1) UnkStruct_027e0ce0_1C()), @@ -100,9 +100,9 @@ void UnkStruct_027e0ce0::func_ov001_020bc524(bool param1) { this->mUnk_24->func_ov021_020eaa08(this->mUnk_20); } else { if (data_027e09a4->IsTrain()) { - this->mUnk_03 = false; - this->mEquippedItem = ItemFlag_Nothing; - this->mUnk_38 = &data_027e0478.train; + this->mUnk_03 = false; + this->mPhantomId = ActorId_None; + this->mUnk_38 = &data_027e0478.train; new(this->mUnk_38) UnkStruct_027e0ce0_38(0); this->mUnk_38->func_ov026_020dc8f0(); } else { @@ -111,7 +111,7 @@ void UnkStruct_027e0ce0::func_ov001_020bc524(bool param1) { this->func_ov000_0208a2c4(0x0C, 0); } - this->mEquippedItem = ItemFlag_Nothing; + this->mPhantomId = ActorId_None; } else if (this->mHealth == 0) { this->func_ov000_0208a2c4(0x01, 0); } @@ -120,7 +120,7 @@ void UnkStruct_027e0ce0::func_ov001_020bc524(bool param1) { this->mUnk_3C = new(HeapIndex_1) UnkStruct_027e0ce0_3C(); } else { this->mUnk_40 = &data_027e0478.land; - new(this->mUnk_40) UnkStruct_027e0ce0_40(param1, this->mUnk_20, &this->mEquippedItem, this->mUnk_28); + new(this->mUnk_40) UnkStruct_027e0ce0_40(param1, this->mUnk_20, &this->mPhantomId, this->mUnk_28); uVar3 = this->mUnk_40; } } diff --git a/src/001_SceneInit/UnkStruct_027e0ce0_1C_001.cpp b/src/001_SceneInit/UnkStruct_027e0ce0_1C_001.cpp index 220878279..1f29d07a1 100644 --- a/src/001_SceneInit/UnkStruct_027e0ce0_1C_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e0ce0_1C_001.cpp @@ -276,7 +276,7 @@ void PlayerLinkActor_A0::func_ov001_020bd2e0() { STACK_PAD(0x04); if (this->mUnk_10 != NULL) { - this->mUnk_10->mUnk_00 = 0; + this->mUnk_10->mUnk_04.Reset(); } if (this->mUnk_18 != NULL) { @@ -301,8 +301,8 @@ void PlayerLinkActor_A0::func_ov001_020bd2e0() { } void PlayerLinkActor_A0::func_ov001_020bd358() { - if (this->func_ov000_02091f08(0x15)) { - this->func_ov000_020921e4(0x00); + if (this->func_ov000_02091f08(LinkStateType_ActorPush)) { + this->func_ov000_020921e4(LinkState_Idle); } if (this->mUnk_28 != NULL) { @@ -327,8 +327,8 @@ void PlayerLinkActor_A0::func_ov001_020bd388(bool param1, bool param2) { if (data_027e09a4->func_ov000_0207059c() && data_ov024_020d8660->mUnk_1C == 1) { this->mUnk_04->func_ov000_02088268(); - if (this->mUnk_68 != 0x67) { - this->func_ov000_020921e4(0x67); + if (this->mState != LinkState_103) { + this->func_ov000_020921e4(LinkState_103); } return; @@ -337,15 +337,15 @@ void PlayerLinkActor_A0::func_ov001_020bd388(bool param1, bool param2) { if (data_027e09a4->func_ov000_0207059c() && data_ov024_020d8660->mUnk_1C == 4) { this->mUnk_04->func_ov000_02088268(); - if (this->mUnk_68 != 0x76) { - this->func_ov000_020921e4(0x76); + if (this->mState != LinkState_ItemBowAim) { + this->func_ov000_020921e4(LinkState_ItemBowAim); } return; } bool var_r1; - if (this->mUnk_68 != 0x3F) { + if (this->mState != LinkState_63) { unk32 temp_r0 = data_027e09a4->GetEntryTransitionType(); if (data_ov000_020aa88c[temp_r0].mIsNotImmobile) { @@ -378,9 +378,9 @@ void PlayerLinkActor_A0::func_ov001_020bd388(bool param1, bool param2) { } if (var_r1) { - this->func_ov000_020921e4(0x3F); - } else if (this->mUnk_68 != 0) { - this->func_ov000_020921e4(0x00); + this->func_ov000_020921e4(LinkState_63); + } else if (this->mState != LinkState_Idle) { + this->func_ov000_020921e4(LinkState_Idle); } } diff --git a/src/017_CourseExec/Player/PlayerLinkActor_017.cpp b/src/017_CourseExec/Player/PlayerLinkActor_017.cpp index 7b7333fd9..d5dab0a18 100644 --- a/src/017_CourseExec/Player/PlayerLinkActor_017.cpp +++ b/src/017_CourseExec/Player/PlayerLinkActor_017.cpp @@ -15,7 +15,7 @@ bool PlayerLinkActor::func_ov017_020bd6b8() { bool ret = false; - if (!(this->mUnk_38.mUnk_00.mUnk_08 != 0 || this->mUnk_0A0->mUnk_68 == 0x32)) { + if (!(this->mUnk_38.mUnk_00.mUnk_08 != 0 || this->mUnk_0A0->mState == LinkState_50)) { ret = true; } @@ -84,19 +84,20 @@ void PlayerLinkActor::func_ov017_020bd788(bool param1) { unk32 var_r4 = -1; #if IS_JP - bool cond = this->mUnk_0A0->mUnk_68 == 0x49; + bool cond = this->mUnk_0A0->mState == LinkState_73; #else bool cond = false; #endif - if (cond || this->mUnk_0A0->func_ov000_02091f08(0x0B) || this->mUnk_0A0->func_ov000_02091f08(0x0F)) { + if (cond || this->mUnk_0A0->func_ov000_02091f08(LinkStateType_PlayerGet) || + this->mUnk_0A0->func_ov000_02091f08(LinkStateType_15)) { VecFx32_Reset(&this->mVel.vec); } else { if (this->mUnk_09C->mUnk_090 >= 0 && !this->mUnk_0A0->func_ov000_020936c4()) { var_r4 = 3; - if (this->mUnk_0A0->mUnk_68 != 0x16) { - this->mUnk_0A0->func_ov000_020921e4(0x16); + if (this->mUnk_0A0->mState != LinkState_22) { + this->mUnk_0A0->func_ov000_020921e4(LinkState_22); } } else if (this->mUnk_0A0->mUnk_74 >= 0) { var_r4 = 0; @@ -113,7 +114,7 @@ void PlayerLinkActor::func_ov017_020bd788(bool param1) { if (var_r4 == -1) { var_r4 = 0; - if (this->mUnk_0A0->mUnk_68 != 0x70) { + if (this->mUnk_0A0->mState != LinkState_112) { this->mVel.vec.x = 0; this->mVel.vec.z = 0; } @@ -140,8 +141,8 @@ void PlayerLinkActor::func_ov017_020bd788(bool param1) { if (!this->mUnk_09C->func_ov017_020bc640(var_r4, true, this->mUnk_0A0->func_ov000_0209360c(), this->mUnk_0A0->func_ov000_02093650(), this->func_ov017_020bd6b8(), &this->mAccel.vec, &this->mPos.vec, &this->mVel.vec)) { - if (var_r4 != 1 && this->mUnk_0A0->mUnk_68 != 0x16) { - this->mUnk_0A0->func_ov000_020921e4(0x16); + if (var_r4 != 1 && this->mUnk_0A0->mState != LinkState_22) { + this->mUnk_0A0->func_ov000_020921e4(LinkState_22); } } } @@ -170,8 +171,8 @@ void PlayerLinkActor::func_ov017_020bd788(bool param1) { if (this->mUnk_09C->mUnk_090 >= 0 && !this->mUnk_0A0->func_ov000_020936c4()) { var_r5_2 = 3; - if (this->mUnk_0A0->mUnk_68 != 0x16) { - this->mUnk_0A0->func_ov000_020921e4(0x16); + if (this->mUnk_0A0->mState != LinkState_22) { + this->mUnk_0A0->func_ov000_020921e4(LinkState_22); } } @@ -197,8 +198,8 @@ void PlayerLinkActor::func_ov017_020bd788(bool param1) { if (!this->mUnk_09C->func_ov017_020bc640(var_r5_2, param1, this->mUnk_0A0->func_ov000_0209360c(), this->mUnk_0A0->func_ov000_02093650(), this->func_ov017_020bd6b8(), &this->mAccel.vec, &this->mPos.vec, &this->mVel.vec)) { - if (var_r5_2 != 1 && this->mUnk_0A0->mUnk_68 != 0x16) { - this->mUnk_0A0->func_ov000_020921e4(0x16); + if (var_r5_2 != 1 && this->mUnk_0A0->mState != LinkState_22) { + this->mUnk_0A0->func_ov000_020921e4(LinkState_22); } } else if (var_r5_2 == 0) { bool var_r1; @@ -310,7 +311,7 @@ void PlayerLinkActor::func_ov017_020bdf48(s8 *param1, unk32 param2, void *param3 return; } - if (!this->mUnk_0A0->func_ov000_02091f08(0x0D) && param1[1] == 1) { + if (!this->mUnk_0A0->func_ov000_02091f08(LinkStateType_13) && param1[1] == 1) { sp4 = this->mUnk_50; if (!data_027e0998->vfunc_00(&this->mPos.vec, &sp8, &sp4.mUnk_00)) { diff --git a/src/031_Land/MapObject/MapObjectUnkSKDI.cpp b/src/031_Land/MapObject/MapObjectUnkSKDI.cpp index 53f9502e2..8f857eb35 100644 --- a/src/031_Land/MapObject/MapObjectUnkSKDI.cpp +++ b/src/031_Land/MapObject/MapObjectUnkSKDI.cpp @@ -325,15 +325,18 @@ class ActorUnk_MapObjectUnkSKDI_vfunc_1C : public Actor { bool MapObjectUnkSKDI::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) { bool var_r1 = false; + if (param1.acRef.type_index == 0x102) { if (param1.acRef.unk_id == 1 || param1.acRef.unk_id == 3) { var_r1 = true; } } + if (var_r1 != 0 && param1.acRef.unk_id == 1) { - if (data_027e0ce0->mEquippedItem != ActorId_PMTB) { + if (data_027e0ce0->mPhantomId != ActorId_PMTB) { return false; } + this->func_ov031_02106678(MapObjUnkSKDIState_0, 0x0); return true; } diff --git a/src/031_Land/Player/LinkStateDamage_031.cpp b/src/031_Land/Player/LinkStateDamage_031.cpp index 95635917d..e1191d196 100644 --- a/src/031_Land/Player/LinkStateDamage_031.cpp +++ b/src/031_Land/Player/LinkStateDamage_031.cpp @@ -86,7 +86,7 @@ void LinkStateDamage_AC::func_ov031_020dae3c() { data_027e09a8->func_ov000_02071700(0x8C81, &this->mpLink2->mPos.vec); } -bool LinkStateDamage_AC::func_ov031_020dae8c(unk32 param1) { +bool LinkStateDamage_AC::func_ov031_020dae8c(UnkStruct_027e0ce0_40 *param1) { VecFx32 sp0; s32 temp_ip; s32 temp_r0; @@ -109,18 +109,18 @@ bool LinkStateDamage_AC::func_ov031_020dae8c(unk32 param1) { this->mUnk_8C.func_01ffc3b4(); VecFx32_Copy(&data_027e07d4, &this->mUnk_1C->mUnk_118.vec); - if (func_ov000_02088854(param1)) { + if (param1->func_ov000_02088854()) { data_ov000_020b5214.func_ov000_0206db44(0x70); } - if (func_ov000_02088854(param1) || data_027e0ce0->mHealth == 0) { + if (param1->func_ov000_02088854() || data_027e0ce0->mHealth == 0) { this->mUnk_28--; if (this->mUnk_28 <= 0) { return false; } - func_ov000_02088d10(param1, &sp0); + param1->func_ov000_02088d10(&sp0); VecFx32_Copy(&sp0, &this->mUnk_1C->mUnk_118.vec); } else if (this->mUnk_24 % 60 == 0) { data_027e0ce0->func_ov000_0208bc9c(-1, 0x01); diff --git a/src/031_Land/Player/LinkStateGrabbed_031.cpp b/src/031_Land/Player/LinkStateGrabbed_031.cpp index e69de29bb..58f00b45d 100644 --- a/src/031_Land/Player/LinkStateGrabbed_031.cpp +++ b/src/031_Land/Player/LinkStateGrabbed_031.cpp @@ -0,0 +1,269 @@ +#include "CommonFuncs.hpp" +#include "Player/LinkStateBase.hpp" +#include "Player/LinkStateGrabbed.hpp" +#include "Player/PlayerActorBase.hpp" +#include "Player/PlayerLink.hpp" +#include "Unknown/UnkStruct_027e09a8.hpp" +#include "Unknown/UnkStruct_027e0ce0.hpp" +#include "Unknown/UnkStruct_ov000_020b5214.hpp" +#include "global.h" +#include "nitro/fx.h" +#include "nitro/fx/consts.h" +#include "nitro/math.h" + +LinkStateGrabbed::LinkStateGrabbed(PlayerLinkActor_A0_84 *param1) : + LinkStateBase(param1), + mUnk_54(0x00), + mUnk_58(0), + mUnk_5C(false), + mUnk_5D(false), + mUnk_5E(0x00), + mUnk_5F(0x00), + mUnk_60(0x00), + mUnk_62(0x00), + mUnk_64(0x00), + mUnk_66(0x00), + mUnk_68(0x3C), + mUnk_6C(-1), + mUnk_70(-2) {} + +LinkStateGrabbed::~LinkStateGrabbed() { + PlayerLinkActor *pLink = this->mpLink; + + pLink->mUnk_38.mUnk_00.mUnk_08 &= ~0x04; + + if (pLink->mUnk_38.mUnk_00.mUnk_08 == 0x00) { + pLink->mUnk_38.Destroy(); + } + + if (this->mUnk_60 != 0x00) { + this->mUnk_30->mUnk_34.mUnk_00 &= ~this->mUnk_60; + } +} + +void LinkStateGrabbed::func_ov031_020dd4c8() { + VecFx32_Reset(this->mUnk_38); + this->mUnk_2C->mUnk_98 = 0; +} + +void LinkStateGrabbed::func_ov031_020dd4e8() { + if (this->mUnk_48->mUnk_04C.mUnk_0E != 0x62) { + this->mUnk_48->func_ov000_02082adc(0x62, 0x01, 0x01, 0x400); + this->mUnk_58 = FX32_ONE; + this->mUnk_5C = false; + this->mUnk_5D = true; + data_027e09a8->func_ov000_020717cc(0x8C26, this->mUnk_34); + } else { + this->mUnk_58 += FX32_HALF; + + if (this->mUnk_58 > FX_F32_TO_FX32(1.3f)) { + this->mUnk_58 = FX_F32_TO_FX32(1.3f); + } + } +} + +bool LinkStateGrabbed::func_ov031_020dd570() { + if (this->mUnk_48->mUnk_04C.mUnk_0E != 0x62) { + return false; + } + + if (this->mUnk_5D) { + this->mUnk_5D = false; + return true; + } + + fx32 temp_r3 = data_ov000_020ab4dc[PlayerCharacter_Link].mUnk_54[this->mUnk_48->mUnk_04C.mUnk_0E].unk_14; + fx32 temp_r2 = ROUND_FX32(temp_r3 * this->mUnk_58); + this->mUnk_4C->mUnk_04 = temp_r2; + this->mUnk_50->mUnk_04 = temp_r2; + + if ((this->mUnk_5C == false && this->mUnk_50->mUnk_08 >= 0x6000) || + (this->mUnk_5C == true && this->mUnk_50->mUnk_08 < 0x6000)) { + this->mUnk_58 /= 2; + this->mUnk_5C = this->mUnk_5C == false; + return this->mUnk_58 >= FX32_HALF; + } + + return true; +} + +extern unk16 data_ov000_020ace80; + +void LinkStateGrabbed::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { + unk32 sp18; + s32 var_r2; + UnkStruct_027e0ce0_40 *temp_r1_2; + + STACK_PAD(8); + + this->mUnk_2C->mUnk_58 = 0; + func_ov000_0208ba10(&sp18, &this->mUnk_24->mUnk_094, 0); + + if (this->mUnk_44->mUnk_00 != NULL) { + this->mpLink->func_ov000_0208cf20(0x1400, 0x00); + } + + if (param1->params.type3.unk_00 != 0) { + this->mpLink->mUnk_38.mUnk_00.mUnk_08 |= 0x04; + } + + switch (param1->state) { + case LinkState_47: + this->mUnk_54 = 0x02; + this->mUnk_58 = FX32_ONE; + this->mUnk_5C = false; + this->mUnk_5D = true; + data_027e09a8->func_ov000_020717cc(0x8C26, this->mUnk_34); + break; + case LinkState_48: + this->mUnk_60 |= 0x02; + this->func_ov031_020dd4c8(); + + temp_r1_2 = this->mUnk_24; + + var_r2 = false; + if (temp_r1_2->mUnk_078 != NULL && !temp_r1_2->mUnk_078->mRef.Copy().IsEmpty()) { + var_r2 = true; + } + + if (var_r2) { + temp_r1_2->func_ov000_02087ee8(); + } + + break; + case LinkState_49: + this->func_ov045_021293c8(); + break; + case LinkState_50: + this->mUnk_60 |= 0x08; + this->func_ov031_020dd4c8(); + + temp_r1_2 = this->mUnk_24; + + var_r2 = false; + if (temp_r1_2->mUnk_078 != NULL && !temp_r1_2->mUnk_078->mRef.Copy().IsEmpty()) { + var_r2 = true; + } + + if (var_r2) { + temp_r1_2->func_ov000_02087ee8(); + } + + this->mUnk_5F = param1->params.type3.unk_01; + this->mUnk_64 = 0; + this->mUnk_66 = 0; + + this->mUnk_62 = this->mUnk_5F ? data_ov000_020ace80 : 0xC8; + + if (this->mUnk_5F != false) { + this->mUnk_30->mUnk_7D = false; + } + break; + case LinkState_51: + this->func_ov044_02123510(); + break; + default: + break; + } +} + +void LinkStateGrabbed::vfunc_10(LinkState state, unk32 param2) { + s32 var_r0; + BOOL var_r4; + u8 temp_r7; + + switch (state) { + case LinkState_47: + if (param2 != 0) { + this->mUnk_30->func_ov000_020921e4(this->func_ov000_0209078c(param2)); + return; + } + + if (this->mUnk_24->func_ov000_02088854() != 0) { + data_ov000_020b5214.func_ov000_0206db44(0x70); + this->func_ov031_020dd4e8(); + } + + temp_r7 = this->mUnk_5C; + var_r4 = !this->func_ov031_020dd570(); + + if (temp_r7 != 0 && this->mUnk_5C == 0) { + this->mUnk_54--; + + if (this->mUnk_54 <= 0) { + this->mUnk_54 = 0; + this->mUnk_30->mUnk_34.func_ov000_02082804(); + } + } + + if (!var_r4) { + if (this->mUnk_30->mUnk_34.mUnk_00 & 0x01) { + var_r0 = 1; + } else { + var_r0 = 0; + } + + if (var_r0 != 0) { + return; + } + } + + this->mUnk_30->func_ov000_020921e4(this->func_ov000_0209078c(param2)); + break; + case LinkState_48: + this->func_ov031_020dd4c8(); + break; + case LinkState_49: + this->func_ov045_0212941c(param2); + break; + case LinkState_50: + this->func_ov031_020dd4c8(); + + if (param2 != 0) { + return; + } + + this->mUnk_64++; + + if (*(u32 *) &this->mUnk_30->mUnk_34.mUnk_00 & 8) { + if (data_027e0ce0->mHealth == 0) { + this->mUnk_30->mUnk_34.mUnk_00 &= ~0x08; + return; + } + + if (this->mUnk_5F) { + this->func_ov053_0213cb88(); + return; + } + + if (this->mUnk_62 > 0) { + if (this->mUnk_24->func_ov000_02088854() == 0) { + this->mUnk_62 -= 1; + } else { + data_ov000_020b5214.func_ov000_0206db44(0x70); + this->mUnk_62 -= 3; + } + + if (!(this->mUnk_64 % 30) && data_027e0ce0->mHealth > 1) { + data_027e09a8->func_ov000_020717cc(0x8C07, this->mUnk_34); + data_027e0ce0->func_ov000_0208bc9c(-1, 1); + } + } else if (this->mUnk_64 >= 0x78) { + this->mUnk_30->mUnk_34.mUnk_00 &= ~0x08; + } + } else { + this->mUnk_66++; + + if (this->mUnk_66 >= 0x3C) { + this->mUnk_30->func_ov000_020921e4(this->func_ov000_0209078c(param2)); + } + } + + break; + case LinkState_51: + this->func_ov044_0212356c(param2); + break; + default: + break; + } +} diff --git a/src/031_Land/Player/LinkStateHit_031.cpp b/src/031_Land/Player/LinkStateHit_031.cpp index e69de29bb..f91a8cbf2 100644 --- a/src/031_Land/Player/LinkStateHit_031.cpp +++ b/src/031_Land/Player/LinkStateHit_031.cpp @@ -0,0 +1,1109 @@ +#include "Actor/Actor.hpp" +#include "CommonFuncs.hpp" +#include "Course/CourseManager.hpp" +#include "Item/Item.hpp" +#include "Player/LinkStateHit.hpp" +#include "RefStruct.hpp" +#include "System/Random.hpp" +#include "Unknown/UnkStruct_027e09a4.hpp" +#include "Unknown/UnkStruct_027e09a8.hpp" +#include "Unknown/UnkStruct_027e09c0.hpp" +#include "Unknown/UnkStruct_027e0ce0.hpp" +#include "Unknown/UnkStruct_ov031_Items.hpp" +#include "global.h" +#include "math.hpp" +#include "nitro/fx.h" +#include "nitro/fx/consts.h" +#include "nitro/math.h" + +extern VecFx32 data_027e07d4; + +struct UnkStruct_ov031_02110798 { + /* 00 */ u16 unk_00; + /* 02 */ u16 unk_02; + /* 04 */ s16 unk_04; + /* 06 */ s16 unk_06; + /* 08 */ unk16 unk_08; + /* 0A */ unk16 unk_0A; + /* 0C */ u8 unk_0C; + /* 0C */ u8 unk_0D; + /* 0E */ u16 unk_0E; + /* 10 */ fx32 unk_10; + /* 14 */ +}; + +static const UnkStruct_ov031_02110798 data_ov031_02110798[] = { + {0x0000, 0x0000, 0x1333, 0x08CD, 0x04CC, 0x1000, 0x03, 0x04, DEG_TO_ANG(0), FX_F32_TO_FX32(8.0f)}, + {0x000F, 0x0001, 0x1266, 0x0800, 0x0333, 0x0800, 0x03, 0x04, DEG_TO_ANG(-160), FX_F32_TO_FX32(24.0f)}, + {0x000D, 0x0001, 0x1266, 0x0800, 0x0333, 0x0B33, 0x03, 0x04, DEG_TO_ANG(130.0013f), -FX_F32_TO_FX32(13.3333f)}, + {0x000D, 0x0001, 0x1800, 0x0733, 0x0000, 0x1000, 0x03, 0x04, DEG_TO_ANG(0), FX_F32_TO_FX32(0.0f)}, + {0x0010, 0x0001, 0x1333, 0x099A, 0x0111, 0x1000, 0x03, 0x06, DEG_TO_ANG(0), FX_F32_TO_FX32(8.0f)}, + {0x0007, 0x0001, 0x1000, 0x0B33, 0x0000, 0x0CCD, 0x06, 0x08, DEG_TO_ANG(-90), -FX_F32_TO_FX32(40.0f)}, + {0x0014, 0x0000, 0x1000, 0x0B33, 0x0000, 0x099A, 0x0C, 0x08, DEG_TO_ANG(-120), FX_F32_TO_FX32(48.0f)}, + {0x0014, 0x0000, 0x1000, 0x0B33, 0x0000, 0x0CCD, 0x06, 0x08, DEG_TO_ANG(-30), -FX_F32_TO_FX32(40.0f)}, + {0x0014, 0x0000, 0x1000, 0x0B33, 0x0000, 0x099A, 0x0C, 0x08, DEG_TO_ANG(-120), FX_F32_TO_FX32(48.0f)}, + {0x0014, 0x0000, 0x019A, 0x0000, 0x0000, 0x0000, 0x00, 0x08, DEG_TO_ANG(0), FX_F32_TO_FX32(0.0f)}, + {0x0000, 0x0000, 0x1000, 0x0000, 0xF666, 0xFFFF, 0x00, 0x00, DEG_TO_ANG(0), FX_F32_TO_FX32(0.0f)}, +}; + +LinkStateHit::LinkStateHit(PlayerLinkActor_A0_84 *param1) : + LinkStateBase(param1), + mUnk_54(-1), + mUnk_58(0x00), + mUnk_5C(0x00), + mUnk_60(*this->mUnk_34), + mUnk_6C(0x00), + mUnk_70(-1), + mUnk_74(0x00), + mUnk_78(PlayerType_Link), + mUnk_A8(0, 0, 0), + mUnk_B4(0x00), + mUnk_B8(0x00), + mUnk_BC(0x00), + mUnk_C4(LinkState_Idle), + mUnk_C8(this->mUnk_40->angle_s), + mUnk_CA(0x00), + mUnk_CC(false), + mUnk_CD(false), + mUnk_CE(false), + mUnk_CF(false), + mUnk_D0(0x00), + mUnk_D2(0x00), + mUnk_D4(0x00) {} + +LinkStateHit::~LinkStateHit() { + unk32 stack; + func_ov000_0208ba10(&stack, &this->mUnk_24->mUnk_094, 0x00); + this->mUnk_BC.func_ov031_020e05fc(); +} + +void LinkStateHit::func_ov031_020de388(fx32 param1, VecFx32 *param2) { + fx32 unk_10 = data_ov031_02110798[this->mUnk_54].unk_10; + u16 unk_0E = data_ov031_02110798[this->mUnk_54].unk_0E; + + (void) ((f32) unk_0E); + (void) ((f32) this->mUnk_40->angle_s); + + fx16 angle = unk_0E + this->mUnk_40->angle_s + FX_MUL(param1, unk_10); + + fx32 x = FX_MUL(SIN(angle), data_ov031_02110798[this->mUnk_54].unk_04); + fx32 z = FX_MUL(COS(angle), data_ov031_02110798[this->mUnk_54].unk_04); + + param2->x += x; + param2->z += z; +} + +inline fx32 inline_fn(fx32 param1) { + return FX32_ONE - param1; +} + +void LinkStateHit::func_ov031_020de458(fx32 param1, VecFx32 *param2) { + switch (this->mUnk_54) { + case 0: + case 4: { + fx32 value1 = FX_MUL(FX32_HALF - param1, data_ov031_02110798[this->mUnk_54].unk_10); + fx16 cos = COS(value1); + fx32 value2 = ROUND_FX32(cos * data_ov031_02110798[this->mUnk_54].unk_04); + + fx32 x = FX_MUL(SIN(this->mUnk_40->angle_s), value2); + fx32 z = FX_MUL(COS(this->mUnk_40->angle_s), value2); + + param2->x += x; + param2->z += z; + param2->y += FX_F32_TO_FX32(0.65f); + break; + } + case 1: + case 2: + this->func_ov031_020de388(param1, param2); + param2->y += FX_F32_TO_FX32(0.60f); + break; + case 3: { + fx32 var_r1 = FX_F32_TO_FX32(0.15f); + + if (param1 <= FX32_HALF) { + var_r1 += (param1 * data_ov031_02110798[this->mUnk_54].unk_04) / FX32_HALF; + } else { + //! TODO: remove inline + var_r1 += ((inline_fn(param1)) *data_ov031_02110798[this->mUnk_54].unk_04) / FX32_HALF; + } + + fx32 x = FX_MUL(SIN(this->mUnk_40->angle_s), var_r1); + fx32 z = FX_MUL(COS(this->mUnk_40->angle_s), var_r1); + + param2->x += x; + param2->z += z; + param2->y += FX_F32_TO_FX32(0.60f); + break; + } + case 5: + case 6: + case 7: + case 8: + this->func_ov031_020de388(param1, param2); + param2->y += FX_F32_TO_FX32(0.55f); + break; + default: + break; + } +} + +bool LinkStateHit::func_ov031_020de664(fx32 param1, Sphere *param2, Sphere *param3) { + if (this->mUnk_54 == -1 || this->mUnk_74 <= 0 || this->mUnk_CF) { + if (param2 != NULL) { + VecFx32_Copy(&data_027e07d4, ¶m2->center); + param2->radius = 0; + } + + if (param3 != NULL) { + VecFx32_Copy(&data_027e07d4, ¶m3->center); + param3->radius = 0; + } + + return false; + } + + if (param2 != NULL) { + VecFx32_Copy(this->mUnk_34, ¶m2->center); + func_ov031_020de458(param1, ¶m2->center); + + if (this->mUnk_54 == 0 || this->mUnk_54 == 4) { + fx16 sin = SIN(FX_MUL(FX32_HALF - param1, data_ov031_02110798[this->mUnk_54].unk_10)); + param2->center.y += ROUND_FX32(sin * data_ov031_02110798[this->mUnk_54].unk_04); + } + + param2->radius = data_ov031_02110798[this->mUnk_54].unk_06; + } + + if (param3 != NULL) { + VecFx32_Copy(this->mUnk_34, ¶m3->center); + this->func_ov031_020de458(param1, ¶m3->center); + param3->radius = data_ov031_02110798[this->mUnk_54].unk_06; + } + + return true; +} + +void LinkStateHit::func_ov031_020de80c(unk32 param1) { + this->mUnk_6C++; + + if (param1 >= 0x00 && this->mUnk_70 != 0x8C95) { + this->mUnk_70 = param1; + } +} + +bool LinkStateHit::func_ov031_020de838(VecFx32 *param1, VecFx32 *param2, UnkStruct_ov031_02112b40 *param3) { + bool var_r4 = false; + + VecFx32 sp0; + VEC_Subtract(param1, param2, &sp0); + + if (sp0.x == 0 && sp0.z == 0 ? false : true) { + if (param3->mUnk_0C.x == 0 && param3->mUnk_0C.z == 0) { + var_r4 = true; + } else { + s16 atan1 = FX_Atan2Idx(sp0.x, sp0.z); + s16 atan2 = FX_Atan2Idx(param3->mUnk_0C.x, param3->mUnk_0C.z); + s16 var_r0 = atan2 - atan1; + + if (ABS(var_r0) > 0x4000) { + var_r4 = true; + } + } + } + + if (var_r4) { + this->func_ov031_020de80c(param3->mUnk_08); + } + + return var_r4; +} + +void LinkStateHit::func_ov031_020de8ec(unk32 param1) { + this->mUnk_58 = param1; + + if (data_ov031_02110798[this->mUnk_54].unk_08 <= param1 && param1 < data_ov031_02110798[this->mUnk_54].unk_0A) { + this->mUnk_74 = data_ov031_02110798[this->mUnk_54].unk_0C; + return; + } + + if (param1 > data_ov031_02110798[this->mUnk_54].unk_0A) { + this->mUnk_58 = data_ov031_02110798[this->mUnk_54].unk_0A; + return; + } +} + +LinkState LinkStateHit::func_ov031_020de944(LinkState state) { + switch (state) { + case LinkState_32: + return LinkState_37; + case LinkState_33: + return LinkState_36; + default: + break; + } + + return (func_ov000_020704c8()->Next32(0) & 0x80000000) ? LinkState_36 : LinkState_37; +} + +unk32 LinkStateHit::func_ov031_020de9a8(const UnkStruct_ov000_0208a38c *param1) { + if (param1->mUnk_00 != 0x04) { + return 0x00; + } + + VecFx32_Copy(¶m1->mUnk_04, &this->mUnk_A8.vec); + this->mUnk_04.hit.unk_0C = param1->mUnk_14; + unk32 var_r1 = this->mUnk_54; + this->mUnk_04.hit.unk_11 = false; + + unk32 var_r4 = param1->mUnk_10; + + if (var_r1 == 0 && var_r4 == 0) { + var_r4 = (func_ov000_020704c8()->Next32(0) & 0x80000000) ? 0x01 : 0x02; + } + + s16 sp0; + func_ov000_0205d65c(&sp0, this->mUnk_34, (VecFx32 *) ¶m1->mUnk_04, *this->mUnk_40); + this->mUnk_40->angle_s = sp0; + return func_ov000_02090154(var_r4); +} + +unk32 LinkStateHit::vfunc_00() { + VecFx32 sp28; + RefStruct spC; + s16 sp0; + s32 var_r6 = 0x00; + UnkStruct_027e0ce0_40 *temp_r8 = this->mUnk_24; + + STACK_PAD(4); + + if (this->mpLink->func_ov000_0208db08() && (temp_r8->mUnk_094.mUnk_54->func_ov000_0208a82c(0x00, 0x00, &sp28))) { + UnkStruct_ov000_0208a38c sp10(&sp28); + + if (this->mUnk_54 == -1) { + if (this->mUnk_24->func_ov000_02088700(&sp10)) { + var_r6 = this->func_ov031_020de9a8(&sp10); + } else { + func_ov000_0205d65c(&sp0, this->mUnk_34, &sp28, *this->mUnk_40); + this->mUnk_40->angle_s = sp0; + var_r6 = 0x01; + } + } else { + RefStruct temp_r5 = temp_r8->mUnk_094.mUnk_18; + func_ov000_0208a7a4(&spC, temp_r8->mUnk_094.mUnk_54); + + if (temp_r5 == spC && this->mUnk_24->func_ov000_02088700(&sp10)) { + var_r6 = this->func_ov031_020de9a8(&sp10); + } + } + } + + return var_r6; +} + +void LinkStateHit::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { + unk32 sp0; + s32 var_r0; + VecFx32 *temp_r0_3; + fx32 x, z; + + this->mUnk_2C->mUnk_58 = 0x00; + this->mUnk_58 = 0x00; + this->mUnk_5C = 0x00; + VecFx32_Copy(this->mUnk_34, &this->mUnk_60); + this->mUnk_74 = 0x00; + this->mUnk_CE = param1->params.hit.unk_10; + this->mUnk_CF = param1->params.hit.unk_11; + this->mUnk_C4 = LinkState_Idle; + this->mUnk_C8.angle_s = this->mUnk_40->angle_s; + this->mUnk_CD = false; + + if (param1->prevStateType != param1->stateType) { + VecFx32_Copy(¶m1->params.hit.unk_00, &this->mUnk_A8); + } else if (!(param1->prevState != LinkState_40 && param1->prevState != LinkState_41)) { + this->mUnk_6C = 0; + this->mUnk_70 = -1; + } + + switch (param1->state) { + case LinkState_31: + this->mUnk_54 = 0x00; + data_027e09a8->func_ov000_020717cc(0x8C01, this->mUnk_34); + break; + case LinkState_32: + this->mUnk_54 = 0x01; + data_027e09a8->func_ov000_020717cc(0x8C02, this->mUnk_34); + break; + case LinkState_33: + this->mUnk_54 = 0x02; + data_027e09a8->func_ov000_020717cc(0x8C02, this->mUnk_34); + break; + case LinkState_34: + this->mUnk_54 = 0x03; + data_027e09a8->func_ov000_020717cc(0x8C03, this->mUnk_34); + + temp_r0_3 = this->mUnk_3C; + x = ROUND_FX32(SIN(this->mUnk_40->angle_s) * FX_F32_TO_FX32(0.40f)); + z = ROUND_FX32(COS(this->mUnk_40->angle_s) * FX_F32_TO_FX32(0.40f)); + temp_r0_3->x = x; + temp_r0_3->y = 0; + temp_r0_3->z = z; + break; + case LinkState_35: + this->mUnk_54 = 0x04; + data_027e09a8->func_ov000_020717cc(0x8C04, this->mUnk_34); + this->mUnk_A8.vec.y = gpCourseManager->mpMapMgr->vfunc_28(&this->mUnk_A8, 0x01, 0x00); + + if (param1->prevStateType != LinkStateType_7) { + if (param1->params.hit.unk_0C <= FX_F32_TO_FX32(4.0f)) { + this->mUnk_B4 = (param1->params.hit.unk_0C * FX_F32_TO_FX32(0.33f)) / FX_F32_TO_FX32(4.0f); + } else { + this->mUnk_B4 = FX_F32_TO_FX32(0.33f); + } + + this->mUnk_38->x = ROUND_FX32(SIN(this->mUnk_40->angle_s) * FX_F32_TO_FX32(0.15f)); + this->mUnk_38->z = ROUND_FX32(COS(this->mUnk_40->angle_s) * FX_F32_TO_FX32(0.15f)); + + if (this->mUnk_38->y < this->mUnk_B4) { + this->mUnk_38->y = this->mUnk_B4; + } + + temp_r0_3 = this->mUnk_3C; + x = ROUND_FX32(SIN(this->mUnk_40->angle_s) * FX_F32_TO_FX32(0.15f)); + z = ROUND_FX32(COS(this->mUnk_40->angle_s) * FX_F32_TO_FX32(0.15f)); + temp_r0_3->x = x; + temp_r0_3->y = 0; + temp_r0_3->z = z; + } + break; + case LinkState_36: + this->mUnk_54 = 0x05; + data_027e09a8->func_ov000_020717cc(0x8C05, this->mUnk_34); + break; + case LinkState_37: + this->mUnk_54 = 0x06; + data_027e09a8->func_ov000_020717cc(0x8C05, this->mUnk_34); + break; + case LinkState_38: + func_ov000_0205ca34(); + this->mUnk_54 = 0x07; + data_027e09a8->func_ov000_020717cc(0x8C06, this->mUnk_34); + this->mUnk_D2 = 0; + this->mUnk_D4 = 0; + break; + case LinkState_39: + func_ov000_0205ca34(); + this->mUnk_54 = 0x08; + data_027e09a8->func_ov000_020717cc(0x8C06, this->mUnk_34); + this->mUnk_D2 = 0; + this->mUnk_D4 = 0; + break; + case LinkState_40: + case LinkState_41: + this->mUnk_54 = -1; + func_ov000_0208ba10(&sp0, &this->mUnk_24->mUnk_094, 0); + break; + default: + break; + } + + this->mUnk_BC.func_ov031_020e0368(*this->mUnk_40, this->mUnk_54); + this->mUnk_CC = this->mUnk_54 != -1; + + if (this->mUnk_54 != -1 && this->mUnk_54 <= 0x03) { + this->mUnk_CD = this->mUnk_30->mUnk_10->func_ov031_020e07d0(); + } +} + +static inline BOOL UnkInline1(LinkStateHit *thisx) { + //! TODO: fake match? the inline is technically not required + if (*(u16 *) ((u8 *) &data_ov031_02110798[0].unk_04 + (thisx->mUnk_54 * sizeof(UnkStruct_ov031_02110798)) + 0x12) & 0x01) { + return true; + } + + return false; +} + +void LinkStateHit::vfunc_10(LinkState state, unk32 param2) { + ActorParams spDC; + Sphere spCC; + VecFx32 spC0; + VecFx32 spB4; + VecFx32 spA8; + Sphere sp98; + UnkStruct_ov031_020e5d18_00 sp80; + VecFx32 sp74; + VecFx32 sp68; + + s32 var_r0_2; + s32 var_r0_4; + RefStruct var_r2_2; + u16 var_r3; + s32 var_r4; + LinkState var_r5; + s32 var_r6; + s32 var_r6_3; + s32 var_r6_4; + s32 var_r7; + s32 var_r10; + s16 var_r10_2; + + this->mUnk_CC = false; + + if (this->mUnk_74 > 0) { + this->mUnk_74--; + } + + if (param2 == 0) { + LinkState ret = this->func_ov000_0208fe9c(false); + + if (ret != LinkState_Idle) { + this->mUnk_30->func_ov000_020921e4(ret); + return; + } + } + + if (param2 == 0 && (this->mUnk_30->mUnk_34.mUnk_00 & 0x01)) { + this->mUnk_30->func_ov000_020921e4(LinkState_Idle); + } else { + var_r6 = 0; + var_r10 = 0; + + if (param2 == 0) { + if (!(this->mUnk_24->mUnk_104 & 0x20) && (this->mUnk_CF == 0)) { + if (state != LinkState_35 || this->mUnk_48->mUnk_030.mUnk_0E == 0x09) { + switch (state) { + case LinkState_31: + case LinkState_32: + case LinkState_33: + case LinkState_34: + case LinkState_35: + case LinkState_36: + case LinkState_37: { + u16 temp_r0_3 = (data_ov031_02110798 + this->mUnk_54 + 1)->unk_00; + fx32 temp_r1 = this->mUnk_4C->mUnk_08; + + if (temp_r1 >= (temp_r0_3 * FX32_ONE)) { + var_r6 = 1; + } else { + if ((temp_r0_3 * FX32_ONE) >= this->mUnk_4C->mUnk_0C) { + fx32 temp_r4 = (this->mUnk_CA + 1) * ((temp_r0_3 * FX32_ONE) - this->mUnk_4C->mUnk_0C) / 4; + + if (temp_r1 >= (temp_r0_3 * FX32_ONE) - temp_r4) { + var_r10 = 1; + } + } + } + break; + } + case LinkState_40: + case LinkState_41: + if (this->mUnk_4C->mUnk_08 >= FX_F32_TO_FX32(9.0f)) { + var_r6 = 1; + } + break; + default: + break; + } + } + } + } + + var_r5 = LinkState_Idle; + u8 spC = 0; + + if (var_r6 != 0) { + if (this->mUnk_30->mUnk_30 >= 0x07) { + var_r5 = LinkState_ShortStun; + } else if (this->mUnk_C4 != LinkState_Idle && this->mpLink->func_ov000_0208db08()) { + this->mUnk_40->angle_s = this->mUnk_C8.angle_s; + var_r5 = this->mUnk_C4; + } else { + var_r5 = this->func_ov000_020901f4(&spC, 0x00); + + if (var_r5 == LinkState_Idle && this->mUnk_24->mUnk_094.mUnk_5C >= 0xCCD) { + var_r5 = LinkState_Walk; + } + } + } else if (var_r10 != 0) { + switch (this->mUnk_C4) { + case 0x24: + case 0x25: + case 0x26: + case 0x27: + break; + default: { + UnkAngleStruct sp10; + sp10.angle_s = this->mUnk_40->angle_s; + this->mUnk_C4 = this->func_ov000_0208ff38(0x00, &sp10, &spC); + + if (this->mUnk_C4 != LinkState_Idle) { + this->mUnk_C8.angle_s = sp10.angle_s; + } + break; + } + } + } + + if (spC != 0) { + this->mUnk_CA++; + + if ((s32) this->mUnk_CA >= 4) { + this->mUnk_CA = 0; + + if (var_r6 != 0) { + var_r5 = LinkStateHit::func_ov031_020de944(var_r5); + } else if (var_r10 != 0) { + this->mUnk_C4 = LinkStateHit::func_ov031_020de944(this->mUnk_C4); + } + } + } + + if (var_r5 != LinkState_Idle) { + this->mUnk_30->func_ov000_020921e4(var_r5); + } else { + switch (state) { + case LinkState_31: + case LinkState_32: + case LinkState_33: + case LinkState_34: + case LinkState_35: + case LinkState_36: + case LinkState_37: + case LinkState_38: + case LinkState_39: + if (!UnkInline1(this) && this->mUnk_58 < 0x4BA) { + var_r0_2 = 0; + } else if (this->mUnk_6C != 0) { + var_r0_2 = 1; + } else { + var_r0_2 = 0; + } + + if (var_r0_2 == 0 || !this->func_ov031_020e0110(this->mUnk_70, 0)) { + if (this->mUnk_CE != 0) { + this->mUnk_2C->mUnk_9A = data_ov082_02158850; + } else if (state == LinkState_34) { + this->mUnk_2C->mUnk_9A = 0xCCD; + } + + if (this->mUnk_30->func_ov000_02093f58() && this->mUnk_CF) { + if (this->mUnk_D0 == 0x00) { + switch (this->mUnk_54) { + case 0x01: + if (this->mUnk_4C->mUnk_08 >= 0x8000) { + this->mUnk_D0 = 0x1555; + } + break; + case 0x02: + if (this->mUnk_4C->mUnk_08 >= 0x9000) { + this->mUnk_D0 = -0x1555; + } + break; + default: + break; + } + } + + if (this->mUnk_D0 != 0x00) { + this->mUnk_30->func_ov082_02158758(this->mUnk_D0); + } + } + + bool var_r5_2 = false; + + switch (this->mUnk_54) { + case 7: + case 8: + if (param2 != 0) { + var_r5_2 = true; + } else { + var_r5_2 = false; + + switch (this->mUnk_54) { + case 7: + if (this->mUnk_D2 < 0x0F) { + if (this->mUnk_4C->func_02015080(0xC000) != 0x00) { + ModelRender_UnkSystem1 *ptr = this->mUnk_48->mUnk_028; + this->mUnk_48->mUnk_020->mUnk_00.func_ov000_020577f8(0x6000); + ptr->mUnk_00.func_ov000_020577f8(0x6000); + this->mUnk_BC.func_ov031_020e0368(*this->mUnk_40, this->mUnk_54); + this->mUnk_D2++; + } + } else { + var_r5_2 = true; + } + break; + case 8: + if (this->mUnk_D2 < 0x11) { + if (this->mUnk_4C->func_02015080(0xB000) != 0x00) { + ModelRender_UnkSystem1 *ptr = this->mUnk_48->mUnk_028; + this->mUnk_48->mUnk_020->mUnk_00.func_ov000_020577f8(0x6000); + ptr->mUnk_00.func_ov000_020577f8(0x6000); + this->mUnk_BC.func_ov031_020e0368(*this->mUnk_40, this->mUnk_54); + this->mUnk_D2++; + } + } else { + var_r5_2 = true; + } + break; + default: + break; + } + + if (var_r5_2 && this->mUnk_4C->func_02015080( + (data_ov031_02110798 + this->mUnk_54 + 1)->unk_00 * FX32_ONE) != 0) { + this->mUnk_30->mUnk_2C.func_ov000_0208e71c(0x00, 0x05); + } + } + break; + default: + break; + } + + if (this->mUnk_54 == 4) { + if (this->mUnk_48->mUnk_030.mUnk_0E == 0x09 && this->mUnk_4C->func_01ff8fa8()) { + var_r0_4 = 1; + } else { + var_r0_4 = 0; + } + } else { + var_r0_4 = this->mUnk_4C->func_01ff8fa8(); + } + + if (var_r0_4 != 0) { + if (param2 != 0) { + this->mUnk_30->func_ov000_020921e4(this->func_ov000_0209078c(param2)); + } else if ((this->mUnk_30->func_ov000_02093f58() != 0) && (this->mUnk_CF != 0)) { + this->mUnk_30->func_ov082_02158810(this->mUnk_D0); + } else { + if (this->mUnk_30->mUnk_30 >= 7) { + switch (this->mUnk_54) { + case 0x05: + case 0x06: + case 0x07: + case 0x08: + this->mUnk_30->func_ov000_020921e4(LinkState_ShortStun); + break; + default: + case_default: + this->mUnk_30->func_ov000_020921e4(this->func_ov000_0209078c(param2)); + break; + } + } else { + goto case_default; + } + } + } else { + if (this->mUnk_54 == 4) { + if (param2 != 0) { + this->mUnk_30->func_ov000_020921e4(this->func_ov000_0209078c(param2)); + } else { + this->mUnk_58 = 0; + this->mUnk_74 = 0; + + fx32 temp_r5 = this->mUnk_4C->mUnk_0C; + fx32 var_r6_2 = this->mUnk_4C->mUnk_10; + fx32 var_r1_3 = 0x1000; + + switch (this->mUnk_48->mUnk_030.mUnk_0E) { + case 7: + if (this->mUnk_38->y > 0 && this->mUnk_B4 > 0) { + var_r6_2 -= + FX_MUL(var_r6_2 - temp_r5, FX_Div(this->mUnk_38->y, this->mUnk_B4)); + } + + this->mUnk_4C->mUnk_08 = var_r6_2; + this->mUnk_50->mUnk_08 = var_r6_2; + + if (this->mUnk_2C->mUnk_DE >= 0 || + (this->mUnk_38->y <= 0 && + (this->mUnk_34->y + this->mUnk_38->y) <= (this->mUnk_A8.vec.y + 0xCCD))) { + this->mUnk_B8 = this->mUnk_34->y; + + if (!(this->mpLink->mUnk_54->HasItem(ItemFlag_LokomoSword))) { + data_027e09a8->func_ov000_02071700(0x8C8A, this->mUnk_34); + } else { + data_027e09a8->func_ov000_02071700(0x8C8F, this->mUnk_34); + } + + this->mUnk_48->func_ov000_02082adc(0x08, 0x01, 0x00, 0x400); + } + break; + case 8: { + if (this->mUnk_34->y - this->mUnk_A8.vec.y > 0xCCD) { + var_r1_3 = 0; + } else if (this->mUnk_B8 > this->mUnk_A8.vec.y) { + var_r1_3 = FX32_ONE - FX_Div(this->mUnk_34->y - this->mUnk_A8.vec.y, + this->mUnk_B8 - this->mUnk_A8.vec.y); + } + + fx32 temp_r2_7 = temp_r5 + FX_MUL(var_r6_2 - temp_r5, var_r1_3); + this->mUnk_4C->mUnk_08 = temp_r2_7; + this->mUnk_50->mUnk_08 = temp_r2_7; + + if (this->mUnk_2C->mUnk_DE >= 0 || this->mUnk_34->y <= this->mUnk_A8.vec.y) { + this->mUnk_48->func_ov000_02082adc(0x09, 0x01, 0x00, 0x400); + this->func_ov031_020de8ec(FX32_HALF); + } else { + this->func_ov031_020de8ec(var_r1_3 / 2); + } + + break; + } + case 9: + this->func_ov031_020de8ec(FX_Div(this->mUnk_4C->mUnk_08, var_r6_2 * 2) + + FX32_HALF); + break; + default: + break; + } + } + } else if (param2 == 0) { + switch (this->GetUnk54()) { + case 0: + case 1: + case 2: + if (this->mUnk_4C->func_02015080(0x8000) != 0x00) { + if (!(this->mpLink->mUnk_54->HasItem(ItemFlag_LokomoSword))) { + data_027e09a8->func_ov000_02071700(0x8C88, this->mUnk_34); + } else { + data_027e09a8->func_ov000_02071700(0x8C8D, this->mUnk_34); + } + } + break; + case 3: + if (this->mUnk_4C->func_02015080(0x8000) != 0x00) { + if (!(this->mpLink->mUnk_54->HasItem(ItemFlag_LokomoSword))) { + data_027e09a8->func_ov000_02071700(0x8C89, this->mUnk_34); + } else { + data_027e09a8->func_ov000_02071700(0x8C8E, this->mUnk_34); + } + } + break; + case 5: + case 6: + if (this->mUnk_4C->func_02015080(0x9000) != 0x00) { + if (!(this->mpLink->mUnk_54->HasItem(ItemFlag_LokomoSword))) { + data_027e09a8->func_ov000_02071700(0x8C8B, this->mUnk_34); + } else { + data_027e09a8->func_ov000_02071700(0x8C90, this->mUnk_34); + } + } + break; + case 7: + case 8: + if (this->mUnk_74 > 0) { + if (!(this->mpLink->mUnk_54->HasItem(ItemFlag_LokomoSword))) { + RefStruct sp28; + sp28 = this->mpLink->mUnk_50.mUnk_00.Copy(); + data_027e09a8->func_ov000_02071774(&sp28, 0x8C8C, this->mUnk_34); + } else { + RefStruct sp24; + sp24 = this->mpLink->mUnk_50.mUnk_00.Copy(); + data_027e09a8->func_ov000_02071774(&sp24, 0x8C91, this->mUnk_34); + } + } + break; + default: + break; + } + + this->func_ov031_020de8ec(FX_Div(this->mUnk_4C->mUnk_08, this->mUnk_4C->mUnk_10)); + + switch (this->mUnk_54) { + case 7: + case 8: { + this->mUnk_2C->mUnk_9A = 0x666; + var_r6_3 = this->mUnk_24->mUnk_094.mUnk_5C; + + u16 spE; + func_ov000_02088834(&spE, this->mUnk_24, *this->mUnk_40); + + if (!var_r5_2) { + if (var_r6_3 <= 0x19A) { + var_r6_3 = 0x19A; + spE = this->mUnk_D4 * 0x1555; + } + + fx32 x = ROUND_FX32(SIN(spE) * ROUND_FX32(var_r6_3 * 0x571)); + fx32 z = ROUND_FX32(COS(spE) * ROUND_FX32(var_r6_3 * 0x571)); + + VecFx32 *temp_r2_8 = this->mUnk_3C; + temp_r2_8->x = x; + temp_r2_8->y = 0; + temp_r2_8->z = z; + } + + this->mUnk_D4++; + break; + } + default: + break; + } + } + + if (param2 == 0) { + if (this->func_ov031_020de664(this->mUnk_58, &this->mUnk_78.mUnk_0C, &spCC)) { + + if (this->mUnk_2C->func_ov000_020848f0(this->mUnk_2C->mUnk_C0)) { + var_r2_2 = this->mUnk_2C->mUnk_C0; + } else { + var_r2_2.Reset(); + } + + var_r6_4 = 0; + + { + UnkStruct_ov031_02112b40 sp4C; + + sp4C.mUnk_04 = var_r2_2; + sp4C.mUnk_18 = 0; + sp4C.func_ov031_020da5ec(); + + sp68 = *this->mUnk_34; + sp68.y = spCC.center.y; + + sp74 = spCC.center; + sp74.x -= ROUND_FX32((sp74.x - sp68.x) * 0x99A); + sp74.z -= ROUND_FX32((sp74.z - sp68.z) * 0x99A); + + sp80.mUnk_00.Reset(); + sp80.func_01ffe6c4(this->mUnk_78.mUnk_04, &sp74, &sp68, 0x1C, 0, &sp4C); + + sp98.radius = 0x19A; + sp98.center.x = 0; + sp98.center.y = 0; + sp98.center.z = 0; + + if (sp4C.func_ov031_020daaec(&sp80, &sp98) == 0) { + var_r6_4 = 1; + } + + sp4C.func_ov031_020da5ec(); + + var_r10_2 = data_ov031_02110798[this->mUnk_54].unk_06; + if (var_r10_2 >= 0x8A4) { + var_r10_2 = 0x8A4; + } + + var_r7 = 1; + + if (this->mUnk_5C == 0 || this->mUnk_5C < data_ov031_02110798[this->mUnk_54].unk_08) { + if (this->mUnk_5C != 0) { + var_r7 = 0; + } + + VecFx32_Copy(this->mUnk_34, &this->mUnk_60); + this->mUnk_60.y += var_r10_2; + + fx32 z = *(fx32 *) &spCC.center.z - this->mUnk_60.z; + fx32 x = spCC.center.x - this->mUnk_60.x; + spA8.y = 0; + spA8.x = x; + spA8.z = z; + + if (VEC_Mag(&spA8) < 0x266) { + this->mUnk_60.x = spCC.center.x; + this->mUnk_60.z = spCC.center.z; + } else { + func_01ff9770(&spA8, 0x266); + this->mUnk_60.x += spA8.x; + this->mUnk_60.z += spA8.z; + } + } + + if (var_r6_4 != 0) { + sp4C.func_ov031_020da5ec(); + sp80.func_01ffe6c4(this->mUnk_78.mUnk_04, &spCC.center, &this->mUnk_60, 0x1C, NULL, + &sp4C); + sp98.radius = var_r10_2; + + if (Actor::func_ov000_0207df88(&sp80, &sp98, 0x08) == 0) { + sp4C.func_ov031_020da5ec(); + } + } + + var_r4 = UnkInline1(this); + + if (var_r6_4 != 0 && var_r4 != 0 && sp4C.mUnk_18 & 0x08) { + this->func_ov031_020de80c(sp4C.mUnk_08); + } else if (var_r7 != 0 && this->mUnk_6C == 0) { + spB4 = spCC.center; + spB4.x -= ROUND_FX32((spB4.x - this->mUnk_34->x) * 0x99A); + spB4.z -= ROUND_FX32((spB4.z - this->mUnk_34->z) * 0x99A); + + spC0 = this->mUnk_60; + spC0.x -= ROUND_FX32((spC0.x - this->mUnk_34->x) * 0x99A); + spC0.z -= ROUND_FX32((spC0.z - this->mUnk_34->z) * 0x99A); + + sp4C.func_ov031_020da5ec(); + sp80.func_01ffe6c4(this->mUnk_78.mUnk_04, &spB4, &spC0, 0x1C, NULL, &sp4C); + sp98.radius = 0x99A / 2; + + if (Actor::func_ov000_0207df88(&sp80, &sp98, 0x11) == 0) { + sp4C.func_ov031_020da5ec(); + } + + if ((sp4C.mUnk_18 & 0x02) && !(sp4C.mUnk_18 & 0x10)) { + this->func_ov031_020de80c(sp4C.mUnk_08); + } else if (var_r4 != 0 && (!(sp4C.mUnk_18 & 0x04) || (sp4C.mUnk_18 & 0x20) || + !this->func_ov031_020de838(&spB4, &spC0, &sp4C))) { + if (Actor::func_ov000_0207e294(&sp80.mUnk_00, &sp98) == 0) { + sp4C.func_ov031_020da5ec(); + } + + if (sp4C.mUnk_18 & 0x01) { + this->func_ov031_020de838(&spB4, &spC0, &sp4C); + } + } + } + + if (var_r4 != 0) { + if (this->mUnk_6C == 0 && data_027e09a4->IsHyruleCastle()) { + if (data_027e09a4->func_ov000_02070560()->roomIndex == 4) { + sp4C.func_ov031_020da5ec(); + sp80.func_01ffe6c4(this->mUnk_78.mUnk_04, &spCC.center, &sp68, 0x1C, NULL, + &sp4C); + sp98.radius = 0x4CD; + + if (Actor::func_ov000_0207e294(&sp80.mUnk_00, &sp98) != 0) { + this->func_ov031_020de80c(0x8C99); + } + } + } + } + + this->mUnk_60.x = spCC.center.x; + this->mUnk_60.y = spCC.center.y; + this->mUnk_60.z = spCC.center.z; + } + + if (var_r6_4 != 0) { + if (this->mUnk_54 == -1) { + var_r3 = 0; + } else { + var_r3 = data_ov031_02110798[this->mUnk_54].unk_0D; + + if (this->mpLink->mUnk_54->HasItem(ItemFlag_LokomoSword)) { + var_r3 += 2; + } + } + + data_027e09c0->func_ov000_0207e58c(this->mUnk_78.mUnk_04, 8, var_r3, &this->mUnk_78); + data_027e0ce0->func_ov000_0208bc1c(PlayerType_Zelda, 0x00, 0x15, + &this->mUnk_78.mUnk_0C, 0x00, 0x00); + } + } + + if (this->mUnk_CD && !this->mUnk_CF && this->mUnk_6C == 0 && this->mUnk_74 > 0) { + spDC.mUnk_28.Reset(); + spDC.func_ov000_020975f8(); + + fx16 sin = SIN(this->mUnk_40->angle_s); + fx16 cos = COS(this->mUnk_40->angle_s); + + fx32 x = FX_MUL(sin, 0x666); + fx32 z = FX_MUL(cos, 0x666); + + spDC.mInitialPos.x = x; + spDC.mInitialPos.y = 0; + spDC.mInitialPos.z = z; + + VEC_Add(&spDC.mInitialPos, this->mUnk_34, &spDC.mInitialPos); + spDC.mInitialPos.y += 0x800; + + spDC.mInitialAngle = this->mUnk_40->angle_s; + spDC.mUnk_28 = this->mpLink->mUnk_50.mUnk_00; + + struct { + int pad[7]; + RefStruct ref; + } sp48; + + Actor::func_ov000_020973f4(&sp48.ref, &data_ov000_020b539c_eur, ActorId_SWBM, &spDC, 0); + + RefStruct ref48 = sp48.ref; + if (!sp48.ref.IsEmpty()) { + this->mUnk_30->mUnk_10->mUnk_04 = ref48; + data_027e09a8->func_ov000_02071c64(0x8C92, this->mUnk_40->angle_s); + } + + this->mUnk_CD = false; + } + } + + this->mUnk_BC.func_ov031_020e0550(*this->mUnk_40, this->mUnk_54); + } + } + break; + case LinkState_40: + case LinkState_41: + if (this->mUnk_4C->mUnk_08 < 0x9000) { + if (((this->mUnk_24->mUnk_094.mUnk_54->mUnk_0C - this->mUnk_24->mUnk_094.mUnk_54->mUnk_08) / 4) == 0) { + bool var_r1_8 = false; + bool other = var_r1_8; + if (this->mUnk_44->mUnk_00 != NULL) { + other = var_r1_8; + var_r1_8 = true; + } + + this->mUnk_24->func_ov000_02088524(var_r1_8, other, this->mUnk_44->mUnk_00); + } + } + + if (this->mUnk_4C->func_01ff8fa8() == 0) { + this->mUnk_2C->mUnk_9A = 0x800; + } else { + this->mUnk_30->func_ov000_020921e4(this->func_ov000_0209078c(param2)); + } + break; + default: + break; + } + } + } + + this->mUnk_5C = this->mUnk_58; +} + +bool LinkStateHit::func_ov031_020e0110(unk32 param1, fx32 param2) { + LinkState var_r7 = LinkState_41; + + switch (this->mUnk_54 + 1) { + case 0: + return false; + case 2: + case 6: + case 8: + var_r7 = LinkState_40; + break; + case 1: + case 3: + case 4: + case 5: + case 7: + default: + break; + } + + Sphere sp8; + if (!this->func_ov031_020de664(this->mUnk_58, &sp8, NULL)) { + return false; + } + + func_ov031_020e0d98(param1, this->mpLink->mUnk_50.mUnk_00.Copy(), this->mUnk_34, &sp8, *this->mUnk_40); + + if (param2 > 0) { + VecFx32 *pVec = this->mUnk_38; + + fx16 angle = this->mUnk_40->angle_s - DEG_TO_ANG(180); + (void) ((f32) angle); + + pVec->x += FX_MUL(SIN(angle), ROUND_FX32(param2 * FX_F32_TO_FX32(0.15f))); + pVec->z += FX_MUL(COS(angle), ROUND_FX32(param2 * FX_F32_TO_FX32(0.15f))); + } + + this->mUnk_30->func_ov000_020921e4(var_r7); + return true; +} diff --git a/src/031_Land/Player/LinkStateHit_BC_031.cpp b/src/031_Land/Player/LinkStateHit_BC_031.cpp new file mode 100644 index 000000000..62a7b9615 --- /dev/null +++ b/src/031_Land/Player/LinkStateHit_BC_031.cpp @@ -0,0 +1,130 @@ +#include "CommonFuncs.hpp" +#include "Player/LinkStateHit.hpp" +#include "Unknown/UnkStruct_027e0ce0.hpp" +#include "Unknown/UnkStruct_027e0cec.hpp" + +static const unk16 data_ov031_02110886[] = {0x8D4, 0x8D7, 0x8D8, 0x8D5, 0x8D6, 0x8D3, 0x8D2, 0x8ED, 0x8EC}; +static const unk16 data_ov031_02110874[] = {0x8F0, 0x8F3, 0x8F4, 0x8F1, 0x8F2, 0x8EF, 0x8EE, 0x8ED, 0x8EC}; +static const unk16 data_ov031_02110898[] = {0x8DB, 0x8DE, 0x8DF, 0x8DC, 0x8DD, 0x8DA, 0x8D9, 0x8ED, 0x8EC}; + +LinkStateHit_BC::LinkStateHit_BC(unk32 param1) { + this->mUnk_00 = param1; + this->mUnk_04.mUnk_00 = 0x00; +} + +void LinkStateHit_BC::func_ov031_020e0284(UnkAngleStruct param1, unk32 param2, VecFx32 *param3) { + + data_027e0ce0->func_ov000_0208ba94(this->mUnk_00, param3); + + if (this->mUnk_00 == 1) { + VecFx32 spC; + + spC.x = -FX_F32_TO_FX32(0.6f); + spC.y = 0; + spC.z = 0; + + func_01ff9638(&spC, param1.angle_s); + VEC_Add(param3, &spC, param3); + } else if (param2 == 3) { + VecFx32 sp0; + + sp0.x = FX_F32_TO_FX32(0.10f); + sp0.y = 0; + sp0.z = FX32_HALF; + + func_01ff9638(&sp0, param1.angle_s); + VEC_Add(param3, &sp0, param3); + } +} + +void LinkStateHit_BC::func_ov031_020e0368(UnkAngleStruct param1, unk32 param2) { + VecFx32 sp18; + VecFx32 spC; + volatile VecFx16 sp4; + u16 var_r2; + UnkSystem7_UnkStruct_00 *temp_r2; + + if (param2 == -1) { + return; + } + + this->mUnk_04.func_ov000_020a0334(); + this->func_ov031_020e0284(param1, param2, &sp18); + + if (this->mUnk_00 == 1) { + var_r2 = 0xD06D; + + if (data_027e0ce0->mPhantomId != ActorId_PMTB) { + var_r2 = 0x8AC; + } + + param1.angle_s += 0x4B2E; + } else { + if (data_027e0ce0->mUnk_2C->HasItem(ItemFlag_LokomoSword)) { + var_r2 = data_ov031_02110898[param2]; + } else if (data_027e0ce0->mUnk_2C->GetTearsAmount() == MAX_TEARS_OF_LIGHT) { + var_r2 = data_ov031_02110886[param2]; + } else { + var_r2 = data_ov031_02110874[param2]; + } + + switch (param2) { + case 3: + data_027e0cec->func_ov000_0209ff8c(&this->mUnk_04, var_r2, &sp18, 1); + + if (this->mUnk_04.mUnk_00 != NULL) { + spC.x = 0; + spC.y = 0; + spC.z = FX32_ONE; + + func_01ff9638(&spC, param1.angle_s); + + sp4.x = spC.x; + sp4.y = spC.y; + sp4.z = spC.z; + + temp_r2 = this->mUnk_04.mUnk_00; + temp_r2->mUnk_50.x = sp4.x; + temp_r2->mUnk_50.y = sp4.y; + temp_r2->mUnk_50.z = sp4.z; + } + + return; + case 0: + case 4: + param1.angle_s += 0x4000; + break; + default: + break; + } + } + + data_027e0cec->func_ov000_0209ff8c(&this->mUnk_04, var_r2, &sp18, 1); + s16 angle = *(volatile s16 *) ¶m1.angle_s; + + if (this->mUnk_04.mUnk_00 != NULL) { + this->mUnk_04.mUnk_00->mUnk_56 = angle; + } +} + +void LinkStateHit_BC::func_ov031_020e0550(UnkAngleStruct param1, unk32 param2) { + if (param2 == -1) { + return; + } + + VecFx32 sp0; + this->func_ov031_020e0284(param1, param2, &sp0); + + UnkSystem7_UnkStruct_00 *temp_r0 = this->mUnk_04.mUnk_00; + if (temp_r0 != NULL) { + temp_r0->mUnk_28.x = sp0.x + temp_r0->mUnk_20->mUnk_00->mUnk_04.x; + temp_r0->mUnk_28.y = sp0.y + temp_r0->mUnk_20->mUnk_00->mUnk_04.y; + temp_r0->mUnk_28.z = sp0.z + temp_r0->mUnk_20->mUnk_00->mUnk_04.z; + } +} + +void LinkStateHit_BC::func_ov031_020e05fc() { + if (data_027e0cec != NULL) { + data_027e0cec->func_ov000_020a0110(&this->mUnk_04); + } +} diff --git a/src/031_Land/Player/PlayerLinkActor_A0_031.cpp b/src/031_Land/Player/PlayerLinkActor_A0_031.cpp index e69de29bb..75ac89067 100644 --- a/src/031_Land/Player/PlayerLinkActor_A0_031.cpp +++ b/src/031_Land/Player/PlayerLinkActor_A0_031.cpp @@ -0,0 +1,279 @@ +#include "Actor/ActorManager.hpp" +#include "CommonFuncs.hpp" +#include "Player/LinkStateActorPush.hpp" +#include "Player/LinkStateItemPanFlute.hpp" +#include "Player/LinkStatePlayerDemo.hpp" +#include "Player/LinkStateStamp.hpp" +#include "Player/PlayerLink.hpp" +#include "Unknown/UnkStruct_027e09b8.hpp" +#include "Unknown/UnkStruct_027e0cdc.hpp" +#include "Unknown/UnkStruct_027e0ce0.hpp" +#include "Unknown/UnkStruct_027e0cec.hpp" +#include "Unknown/UnkStruct_ov000_020b2cec.hpp" +#include "flags.h" +#include "nitro/math.h" + +void PlayerLinkActor_A0::func_ov031_020dda80(unk32 param1) { + if (this->mState == LinkState_DoorTwoIdle) { + ((LinkStateActorPush *) this->mUnk_80)->mUnk_1C0 = param1; + } +} + +bool PlayerLinkActor_A0::func_ov031_020dda94() { + if (this->mUnk_34.mUnk_00 & 0x1F || GET_FLAG2(this->mUnk_04->mUnk_104, UnkFlags3_9) || + !this->mpLink->func_ov000_0208db08()) { + return false; + } + + return this->mpLink->mUnk_54->GetInventory()->HasPotion() != false; +} + +void PlayerLinkActor_A0::func_ov031_020ddaf0(u32 data1, u32 data2) { + this->mUnk_80->mUnk_04.data[0] = data1; + this->mUnk_80->mUnk_04.data[1] = data2; + this->func_ov000_020921e4(LinkState_82); +} + +void PlayerLinkActor_A0::func_ov031_020ddb10() { + UnkAngleStruct sp4 = this->mpLink->mAngle.angle_s; + + VecFx32 spC; + spC.x = 0; + spC.y = 0x99A; + spC.z = 0x99A / 2; + + func_01ff9638(&spC, sp4.angle_s); + VEC_Add(&spC, &this->mpLink->mPos, &spC); + + VecFx16 sp6; + sp6.x = SIN(sp4.angle_s); + sp6.y = 0; + sp6.z = COS(sp4.angle_s); + + data_027e0cec->func_ov000_0209ff4c(0x892, &spC, sp4, 0x01); + data_027e0cec->func_ov000_0209ff24(0x893, &spC, &sp6, 0x01); +} + +void PlayerLinkActor_A0::func_ov031_020ddbe4(const VecFx32 *param1, fx32 param2, UnkAngleStruct param3, u8 param4) { + void *temp_ip; + void *temp_lr; + + if (this->mState == LinkState_87) { + this->mUnk_80->mUnk_04.data[1] = ((LinkStatePlayerDemo4 *) this->mUnk_80)->mUnk_54; + } else { + this->mUnk_80->mUnk_04.data[1] = 0; + } + + VecFx32_Copy(param1, &this->mUnk_80->mUnk_04.type6.unk_0C); + this->mUnk_80->mUnk_04.type6.unk_18 = param2; + this->mUnk_80->mUnk_04.type6.unk_1E = param3.angle_s; + this->mUnk_80->mUnk_20 = param4; + + this->func_ov000_020921e4(LinkState_71); +} + +void PlayerLinkActor_A0::func_ov031_020ddc5c(s32 direction, const VecFx32 *param2, LinkState state1, LinkState state2) { + switch (direction) { + case 3: + if (this->mState != state1) { + VecFx32_Copy(param2, &this->mUnk_80->mUnk_04.type2.unk_00); + this->func_ov000_020921e4(state1); + } + break; + case 1: + if (this->mState != state2) { + VecFx32_Copy(param2, &this->mUnk_80->mUnk_04.type2.unk_00); + this->func_ov000_020921e4(state2); + } + break; + default: + break; + } +} + +void PlayerLinkActor_A0::func_ov031_020ddcd8(VecFx32 *param1, UnkAngleStruct param2) { + this->mpLink->func_ov000_0208c99c(param1, param2); + this->func_ov000_020921e4(LinkState_Idle); + + PlayerActorBase_70 *temp_r7 = this->mpLink->mUnk_70; + + temp_r7->mUnk_030.mUnk_12 = 0x1000; + temp_r7->mUnk_030.mUnk_17 = 0; + + temp_r7->mUnk_04C.mUnk_12 = 0x1000; + temp_r7->mUnk_04C.mUnk_17 = 0; + + PlayerCharacter temp_r5 = this->mpLink->mCharacter; + temp_r7->func_ov000_020830a4(0x00, temp_r5, 0x01, 0x01, this->mpLink->func_ov000_0208dc98()); + temp_r7->func_ov000_020830d4(this->mpLink->mAngle.angle_s, this->func_ov000_02093718(), this->func_ov000_0209378c(), 0); +} + +void PlayerLinkActor_A0::func_ov031_020ddda8(VecFx32 *param1, UnkAngleStruct param2) { + this->mpLink->func_ov000_0208c99c(param1, param2); + + if (this->mState != LinkState_69) { + this->func_ov000_020921e4(LinkState_69); + } +} + +void PlayerLinkActor_A0::func_ov031_020dddf8() { + if (this->mState != LinkState_ItemPanFluteIdle) { + if (this->mState == LinkState_87) { + this->mUnk_80->mUnk_04.data[0] = ((LinkStatePlayerDemo4 *) this->mUnk_80)->mUnk_54; + } else { + this->mUnk_80->mUnk_04.data[0] = 0; + } + + this->func_ov000_020921e4(LinkState_ItemPanFluteIdle); + } +} + +void PlayerLinkActor_A0::func_ov031_020dde30(unk32 param1, unk32 param2, unk32 param3) { + if (this->func_ov000_02091f08(LinkStateType_ItemPanFlute)) { + ((LinkStateItemPanFlute *) this->mUnk_80)->func_ov108_02185750(param1, param2, param3); + } +} + +void PlayerLinkActor_A0::func_ov031_020dde6c() { + RefStruct sp0; + s32 temp_r5; + s32 var_r1; + + if (this->func_ov000_02091f08(LinkStateType_ItemPanFlute)) { + sp0 = ((LinkStateItemPanFlute *) this->mUnk_80)->mUnk_58; + + if (sp0.common.type == 1 && data_027e09b8->func_ov000_020732dc(0x02)) { + *this->func_ov000_02093b84() = sp0; + this->func_ov000_020921e4(LinkState_87); + } else { + this->func_ov000_020921e4(LinkState_Idle); + } + } else if (this->func_ov000_02091f08(LinkStateType_30) == 0 && (this->mState != 0)) { + this->func_ov000_020921e4(LinkState_Idle); + } + + data_027e0cdc->func_ov000_02082a48(0x00); +} + +void PlayerLinkActor_A0::func_ov031_020ddf20(unk8 param1) { + if (this->func_ov000_02091f08(LinkStateType_Stamp)) { + ((LinkStateStamp *) this->mUnk_80)->mUnk_78 = param1; + } +} + +void PlayerLinkActor_A0::func_ov031_020ddf44() { + if (this->func_ov000_02091f08(LinkStateType_Stamp)) { + this->func_ov000_020921e4(LinkState_StampApply); + } +} + +void PlayerLinkActor_A0::func_ov031_020ddf6c(unk32 param1, const VecFx32 *param2) { + //! TODO: weird function + struct { + int unk_00; + int unk_04; + int unk_08; + } spC; + + if (this->mState == LinkState_48) { + spC.unk_04 = 0; + spC.unk_08 = 0; + this->mpLink->func_ov000_0208dd70(param1, 0x1E, (Sphere *) &spC.unk_04, param2, 0x00); + } +} + +void PlayerLinkActor_A0::func_ov031_020ddfac(unk32 param1, const VecFx32 *param2) { + //! TODO: weird function + struct { + int unk_00; + int unk_04; + int unk_08; + } spC; + + if (this->mState == LinkState_50) { + spC.unk_04 = 0; + spC.unk_08 = 0; + this->mpLink->func_ov000_0208dd70(param1, 0x1F, (Sphere *) &spC.unk_04, param2, 0x00); + } +} + +bool PlayerLinkActor_A0::func_ov031_020ddfec(unk32 param1, RefStruct ref) { + s32 temp_r0; + s32 var_r0; + s32 var_r0_2; + s32 var_r0_3; + s32 var_r0_4; + bool var_r6; + s32 var_r7; + + var_r7 = param1; + + if (data_027e0ce0->mHealth == 0 || (this->mUnk_0C->mUnk_093 != 0)) { + return false; + } + + if (this->mpLink->mInvincibilityTimer != 0) { + var_r7 &= 0x10; + + if (var_r7 == 0x00) { + return false; + } + } + + if (this->func_ov000_02093068()) { + var_r7 &= 0x14; + + if (var_r7 == 0x00) { + return false; + } + } + + var_r6 = false; + + if ((var_r7 & 0x02) && !((this->mUnk_34.mUnk_00 & 0x02) ? TRUE : FALSE)) { + this->mUnk_34.mUnk_00 |= 0x02; + this->mUnk_80->mUnk_04.type3.unk_00 = true; + this->func_ov000_020921e4(LinkState_48); + var_r6 = true; + } + + if (!var_r6 && (var_r7 & 0x04) && !((this->mUnk_34.mUnk_00 & 0x04) ? TRUE : FALSE)) { + this->mUnk_34.mUnk_00 |= 0x04; + this->func_ov000_020921e4(LinkState_49); + var_r6 = true; + } + + if (!var_r6 && (var_r7 & 0x08) && !((this->mUnk_34.mUnk_00 & 0x08) ? TRUE : FALSE)) { + this->mUnk_34.mUnk_00 |= 0x08; + Actor *pActor = gpActorManager->func_01fff3b4(ref); + + if (pActor != NULL) { + switch (pActor->GetActorId()) { + case ActorId_LikeLike: + this->mUnk_80->mUnk_04.type3.unk_00 = false; + this->mUnk_80->mUnk_04.type3.unk_01 = true; + break; + case ActorId_FBBH: + default: + this->mUnk_80->mUnk_04.type3.unk_00 = true; + this->mUnk_80->mUnk_04.type3.unk_01 = false; + break; + } + } + + this->func_ov000_020921e4(LinkState_50); + var_r6 = true; + } + + if (!var_r6 && (var_r7 & 0x10) && !((this->mUnk_34.mUnk_00 & 0x10) ? TRUE : FALSE)) { + this->mUnk_34.mUnk_00 |= 0x10; + this->func_ov000_020921e4(LinkState_51); + var_r6 = true; + } + + if ((var_r7 & 0x01) && this->mUnk_34.func_ov000_0208275c(ref)) { + var_r6 = true; + } + + return var_r6; +} diff --git a/src/031_Land/UnkStruct_027e0ce0_40_031.cpp b/src/031_Land/UnkStruct_027e0ce0_40_031.cpp index ffff92854..e3c659f07 100644 --- a/src/031_Land/UnkStruct_027e0ce0_40_031.cpp +++ b/src/031_Land/UnkStruct_027e0ce0_40_031.cpp @@ -132,7 +132,7 @@ void UnkStruct_027e0ce0_40::func_ov031_020dc058(PlayerType playerType, VecFx32 * } bool UnkStruct_027e0ce0_40::func_ov031_020dc12c(PlayerType playerType, unk32 param2, unk32 param3, Sphere *param4, - void *param5, unk32 param6) { + const VecFx32 *param5, unk32 param6) { if (playerType == PlayerType_Link) { return this->mPlayer.func_ov000_0208dd70(param2, param3, param4, param5, param6); } diff --git a/src/031_Land/UnkStruct_027e0d34.cpp b/src/031_Land/UnkStruct_027e0d34.cpp index 57057a81b..c4fdb02eb 100644 --- a/src/031_Land/UnkStruct_027e0d34.cpp +++ b/src/031_Land/UnkStruct_027e0d34.cpp @@ -41,7 +41,7 @@ bool UnkStruct_027e0d34::func_ov031_020d9714() { var_r0 = true; - if ((this->mUnk_04->mUnk_68 != 0x28) && (this->mUnk_04->mUnk_68 != 0x29)) { + if ((this->mUnk_04->mState != LinkState_40) && (this->mUnk_04->mState != LinkState_41)) { var_r0 = false; } @@ -49,7 +49,7 @@ bool UnkStruct_027e0d34::func_ov031_020d9714() { } bool UnkStruct_027e0d34::func_ov031_020d9730() { - if (this->mUnk_04->mUnk_68 == 0x32) { + if (this->mUnk_04->mState == LinkState_50) { return true; } @@ -61,7 +61,7 @@ bool UnkStruct_027e0d34::func_ov031_020d9748(bool param1) { } bool UnkStruct_027e0d34::func_ov031_020d9758() { - if (this->mUnk_04->mUnk_68 == 0x47) { + if (this->mUnk_04->mState == LinkState_71) { return true; } @@ -69,7 +69,7 @@ bool UnkStruct_027e0d34::func_ov031_020d9758() { } bool UnkStruct_027e0d34::func_ov031_020d9770() { - if (this->mUnk_04->mUnk_68 == 0x1B) { + if (this->mUnk_04->mState == LinkState_27) { return true; } @@ -77,7 +77,7 @@ bool UnkStruct_027e0d34::func_ov031_020d9770() { } bool UnkStruct_027e0d34::func_ov031_020d9788() { - if (this->mUnk_04->mUnk_68 - 0x0B <= 0x02) { + if (this->mUnk_04->UnkCheck1()) { return true; } @@ -136,12 +136,12 @@ void UnkStruct_027e0d34::func_ov031_020d9888(VecFx32 *param1, fx32 param2, UnkAn this->mUnk_04->func_ov031_020ddbe4(param1, param2, param3, 1); } -void UnkStruct_027e0d34::func_ov031_020d98bc(unk32 param1, unk32 param2) { - this->mUnk_04->func_ov031_020ddc5c(param1, param2, 0x40, 0x41); +void UnkStruct_027e0d34::func_ov031_020d98bc(unk32 param1, const VecFx32 *param2) { + this->mUnk_04->func_ov031_020ddc5c(param1, param2, LinkState_64, LinkState_65); } -void UnkStruct_027e0d34::func_ov031_020d98d8(unk32 param1, unk32 param2) { - this->mUnk_04->func_ov031_020ddc5c(param1, param2, 0x42, 0x43); +void UnkStruct_027e0d34::func_ov031_020d98d8(unk32 param1, const VecFx32 *param2) { + this->mUnk_04->func_ov031_020ddc5c(param1, param2, LinkState_66, LinkState_67); } void UnkStruct_027e0d34::func_ov031_020d98f4(VecFx32 *param1, UnkAngleStruct param2) { @@ -164,13 +164,13 @@ void UnkStruct_027e0d34::func_ov031_020d996c() { this->mUnk_04->func_ov031_020dde6c(); } -void UnkStruct_027e0d34::func_ov031_020d997c(unk32 param1) { - switch (param1) { - case 0x7F: - case 0x80: - case 0x81: - if (param1 != this->mUnk_04->mUnk_68) { - this->mUnk_04->func_ov000_020921e4(param1); +void UnkStruct_027e0d34::func_ov031_020d997c(LinkState state) { + switch (state) { + case LinkState_127: + case LinkState_128: + case LinkState_129: + if (state != this->mUnk_04->mState) { + this->mUnk_04->func_ov000_020921e4(state); } break; default: @@ -190,16 +190,16 @@ unk32 UnkStruct_027e0d34::func_ov031_020d99cc() { return this->mUnk_04->func_ov000_02093ad8(); } -bool UnkStruct_027e0d34::func_ov031_020d99dc(unk32 param1) { - return this->mUnk_04->func_ov031_020ddf6c(param1); +void UnkStruct_027e0d34::func_ov031_020d99dc(unk32 param1, const VecFx32 *param2) { + this->mUnk_04->func_ov031_020ddf6c(param1, param2); } -bool UnkStruct_027e0d34::func_ov031_020d99ec(unk32 param1) { - return this->mUnk_04->func_ov031_020ddfac(param1); +void UnkStruct_027e0d34::func_ov031_020d99ec(unk32 param1, const VecFx32 *param2) { + this->mUnk_04->func_ov031_020ddfac(param1, param2); } -void UnkStruct_027e0d34::func_ov031_020d99fc(unk32 param1, RefStruct ref) { - this->mUnk_04->func_ov031_020ddfec(param1, ref); +bool UnkStruct_027e0d34::func_ov031_020d99fc(unk32 param1, RefStruct ref) { + return this->mUnk_04->func_ov031_020ddfec(param1, ref); } void UnkStruct_027e0d34::func_ov031_020d9a1c(unk32 param1) { diff --git a/src/031_Land/code_020e0284_031.cpp b/src/031_Land/code_020e0284_031.cpp deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/101_SceneInitLand/UnkStruct_027e0ce0_40_101.cpp b/src/101_SceneInitLand/UnkStruct_027e0ce0_40_101.cpp index 1582b4890..4f12e770f 100644 --- a/src/101_SceneInitLand/UnkStruct_027e0ce0_40_101.cpp +++ b/src/101_SceneInitLand/UnkStruct_027e0ce0_40_101.cpp @@ -8,15 +8,15 @@ #include -UnkStruct_027e0ce0_40::UnkStruct_027e0ce0_40(bool param1, UnkStruct_027e0ce0_20 *param2, ItemFlag *pEquippedItem, +UnkStruct_027e0ce0_40::UnkStruct_027e0ce0_40(bool param1, UnkStruct_027e0ce0_20 *param2, ActorId *pPhantomId, ItemManager *pItemMgr) : UnkStruct_027e0ce0_40_Base(-1, param2, pItemMgr), mUnk_14C(gOverlayManager.IsPlayerSub() ? new(HeapIndex_1) UnkStruct_027e0ce0_40_14C() : NULL), mUnk_150(data_027e09a4->IsCastleOrTown() ? new(HeapIndex_1) UnkStruct_027e0ce0_40_150() : NULL), mPlayer(-1, pItemMgr, this, this->mUnk_150), - mpZelda(gOverlayManager.IsPlayerSub() ? new(HeapIndex_1) PlayerZeldaActor(pItemMgr, this, this->mUnk_150, pEquippedItem) + mpZelda(gOverlayManager.IsPlayerSub() ? new(HeapIndex_1) PlayerZeldaActor(pItemMgr, this, this->mUnk_150, pPhantomId) : NULL), - mEquippedItem(*pEquippedItem), + mPhantomId(*pPhantomId), mIsSceneTowerInsideStairs(data_027e09a4->IsTowerInsideStairs()), mIsSceneTowerOutsideStairs(data_027e09a4->IsTowerOutsideStairs()), mIsSceneBossByrne(data_027e09a4->IsBossByrne()), @@ -79,7 +79,7 @@ void UnkStruct_027e0ce0_40::func_ov101_02183024(const UnkStruct_ov001_020c40f4 * if (this->mIsSceneTowerInsideStairs || this->mIsSceneTowerOutsideStairs || this->mIsSceneBossByrne) { var_r7 = true; - if (this->mEquippedItem == ItemFlag_Nothing) { + if (this->mPhantomId == ActorId_None) { var_r7 = false; } diff --git a/src/110_PlayerGet/PlayerGet.cpp b/src/110_PlayerGet/PlayerGet.cpp index 445f36872..0733b413e 100644 --- a/src/110_PlayerGet/PlayerGet.cpp +++ b/src/110_PlayerGet/PlayerGet.cpp @@ -23,6 +23,7 @@ #include "Unknown/UnkStruct_ov000_020b504c.hpp" #include "Unknown/UnkStruct_ov000_020b51b8.hpp" #include "Unknown/UnkStruct_ov000_020b51c0.hpp" +#include "global.h" #include "versions.h" #include "Unknown/UnkStruct_027e0958.hpp" @@ -475,24 +476,23 @@ bool PlayerGet::func_ov110_02186b8c() { #endif // https://decomp.me/scratch/ZAW2N -void PlayerGet::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { +void PlayerGet::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { ItemId itemId; ItemManager *pItemManager; Actor *pActor; VecFx32 *pUnk_38; VecFx32 *pUnk_3c; + s32 auStack_108; - switch (param1->mUnk_04) { - case 0x39: - VecFx32 temp; - itemId = param1->mUnk_1C; - temp.x = param1->mUnk_10.x; - temp.y = param1->mUnk_10.y; - temp.z = param1->mUnk_10.z; - this->mUnk_54.mUnk_08 = temp.z; - this->mUnk_54.mUnk_00.data = temp.x; - this->mUnk_54.mUnk_04.data = temp.y; - pItemManager = this->mpLink->mUnk_54; + STACK_PAD(4); + + switch (param1->state) { + case LinkState_PlayerGetInit: + itemId = param1->params.type1.itemId; + this->mUnk_54.mUnk_00 = param1->params.type1.GetRef1(); + this->mUnk_54.mUnk_04 = param1->params.type1.GetRef2(); + this->mUnk_54.mUnk_08 = param1->params.type1.unk_08; + pItemManager = this->mpLink->mUnk_54; switch (itemId) { case ItemId_BombBag: @@ -525,8 +525,8 @@ void PlayerGet::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { this->mUnk_54.mItemId = itemId; this->mAngle = 0; this->mUnk_2C->mUnk_58 = 0; - char auStack_108[12]; - func_ov000_0208ba10(auStack_108, &this->mUnk_24->mUnk_094, 0); + + func_ov000_0208ba10(&auStack_108, &this->mUnk_24->mUnk_094, 0); this->mUnk_40->angle_s = 0x8000; pUnk_38 = this->mUnk_38; @@ -538,7 +538,7 @@ void PlayerGet::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { pUnk_3c->y = 0; pUnk_3c->z = 0; - if (this->mUnk_54.mUnk_04.common.type != ActorRefType_1) { + if (this->mUnk_54.mUnk_00.common.type != ActorRefType_1) { return; } @@ -553,7 +553,7 @@ void PlayerGet::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { pActor->mUnk_4A[0] = 0; } break; - case 0x3A: { + case LinkState_PlayerGetAnim: { if (this->mUnk_54.mItemId != ItemId_Nothing) { u32 niVar10 = func_ov000_020a4c00(this->mUnk_54.mItemId); @@ -627,13 +627,12 @@ void PlayerGet::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { } if (!var_r1_4) { - PlayerLinkActor *ptr0 = this->mpLink; - PlayerActorBase *ptr1 = ptr0->mpZelda; + PlayerActorBase *temp_r0_11 = this->mpLink->mpZelda; - if (ptr1 != NULL) { - UnkStruct_PlayerGet_64 *ptr = *(UnkStruct_PlayerGet_64 **) &ptr1->mUnk_38; - ptr->mUnk_08 |= 0x10; - ptr1->mUnk_38.mUnk_00.func_ov000_0208a100(); + if (temp_r0_11 != NULL) { + UnkStruct_PlayerGet_64 *temp_r0_12 = &temp_r0_11->mUnk_38.mUnk_00; + temp_r0_12->mUnk_08 |= 0x10; + temp_r0_12->func_ov000_0208a100(); } } @@ -654,7 +653,7 @@ void PlayerGet::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { break; } - case 0x3B: { + case LinkState_PlayerGetShowItem: { this->mUnk_72 = 0; if (this->mUnk_54.mItemId != ItemId_Nothing) { @@ -682,7 +681,7 @@ void PlayerGet::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { const UnkStruct_ov110_021861ec data_ov110_021861ec(0x5E3, 0x152D, 0xCD); -void PlayerGet::vfunc_10(unk32 param1, unk32 param2) { +void PlayerGet::vfunc_10(LinkState state, unk32 param2) { unk32 var_r1; s32 temp_r5; bool temp_r6; @@ -692,8 +691,8 @@ void PlayerGet::vfunc_10(unk32 param1, unk32 param2) { u32 var_r5_2; ActorUnkNSHD *temp_r0_3; - switch (param1) { - case 0x39: + switch (state) { + case LinkState_PlayerGetInit: if (data_027e09b8->func_ov000_020732ec(this->mUnk_54.mUnk_08) == 0) { break; } @@ -702,11 +701,11 @@ void PlayerGet::vfunc_10(unk32 param1, unk32 param2) { break; } - this->mUnk_30->func_ov000_020921e4(0x3A); + this->mUnk_30->func_ov000_020921e4(LinkState_PlayerGetAnim); break; - case 0x3A: + case LinkState_PlayerGetAnim: if (this->mUnk_50->func_01ff8fa8()) { - this->mUnk_30->func_ov000_020921e4(0x3B); + this->mUnk_30->func_ov000_020921e4(LinkState_PlayerGetShowItem); break; } if (this->mUnk_50->func_02015080(0x1C000) == 0) { @@ -784,7 +783,7 @@ void PlayerGet::vfunc_10(unk32 param1, unk32 param2) { } data_ov000_020b51b8.func_ov000_0206d274(var_r1); break; - case 0x3B: + case LinkState_PlayerGetShowItem: var_r1_2 = false; if (data_ov000_020b504c.func_ov000_02067bc4(0)->vfunc_08() == 0) { @@ -853,11 +852,9 @@ void PlayerGet::vfunc_10(unk32 param1, unk32 param2) { break; } - if (this->mUnk_54.mUnk_00.acRef.type_index == REF_TYPE_INDEX(ActorRefType_0, 0x1000)) { - Vec2bCpp stack; - stack.x = this->mUnk_54.mUnk_00.acRef.type_index; - stack.y = this->mUnk_54.mUnk_00.acRef.unk_id; - + if (this->mUnk_54.mUnk_00.common.unk_00 == 0x1000) { + MapObjRef ref = this->mUnk_54.mUnk_00.moRef; + Vec2bCpp stack = ref.GetUnk02(); MapObject *pMapObj = gpMapObjManager->func_01fff498(stack); if (pMapObj != NULL) { @@ -907,17 +904,17 @@ void PlayerGet::vfunc_10(unk32 param1, unk32 param2) { this->mUnk_40->angle_u = 0; if (temp_r6) { - this->mUnk_30->func_ov000_020921e4(0x49); + this->mUnk_30->func_ov000_020921e4(LinkState_73); break; } if (this->mUnk_54.mUnk_04.common.type == ActorRefType_1 && data_027e09b8->func_ov000_020732dc(2) != 0) { - this->mUnk_04.mUnk_00 = this->mUnk_54.mUnk_04; - this->mUnk_30->func_ov000_020921e4(0x57); + this->mUnk_04.type1.ref1 = this->mUnk_54.mUnk_04.data; + this->mUnk_30->func_ov000_020921e4(LinkState_87); break; } - this->mUnk_30->func_ov000_020921e4(0); + this->mUnk_30->func_ov000_020921e4(LinkState_Idle); break; } @@ -957,14 +954,14 @@ void PlayerGet::vfunc_10(unk32 param1, unk32 param2) { } } -void PlayerGet::vfunc_18(unk32 param1, unk32 param2, unk32 param3) { +void PlayerGet::vfunc_18(unk32 param1, LinkState state, unk32 param3) { VecFx32 auStack_18; - switch (param2) { - case 0x39: - case 0x3A: + switch (state) { + case LinkState_PlayerGetInit: + case LinkState_PlayerGetAnim: break; - case 0x3B: + case LinkState_PlayerGetShowItem: if (param3 != 0 && this->mUnk_54.mItemId != ItemId_Nothing && this->mUnk_8C.mpModel != NULL) { VEC_Add(this->mUnk_34, (VecFx32 *) &data_ov110_021861ec.mUnk_00, &auStack_18); data_027e0958->func_ov000_02058fc4(&this->mUnk_74, &auStack_18); diff --git a/src/112_PlayerSceneChange/PlayerSceneChange.cpp b/src/112_PlayerSceneChange/PlayerSceneChange.cpp index fbb2e436a..e48f0db73 100644 --- a/src/112_PlayerSceneChange/PlayerSceneChange.cpp +++ b/src/112_PlayerSceneChange/PlayerSceneChange.cpp @@ -83,15 +83,15 @@ extern fx16 data_0203f964[]; extern fx16 data_0203feb0[]; // https://decomp.me/scratch/c7PhN -void PlayerSceneChange::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { +void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { const fx16 *pSinCosTable = FX_SinCosTable_; Vec2bCpp stack4; s16 stack3; Vec2bCpp stack2; UnkStackStruct1 stack; - switch (param1->mUnk_04) { - case 0x3C: { + switch (param1->state) { + case LinkState_60: { int iVar19 = gpCourseManager->mpMapMgr->func_ov000_02080658((this->mUnk_2C->mUnk_148 >> 16) & 0x3F, &this->mUnk_54); if (iVar19 != 0 && this->mpLink->mUnk_094 != NULL && this->mpLink->mUnk_094->func_ov096_02179c14()) { @@ -275,14 +275,14 @@ void PlayerSceneChange::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { break; } - case 0x3D: { + case LinkState_61: { VecFx32 *pVec = this->mUnk_38; pVec->x = 0; pVec->y = 0; pVec->z = 0; break; } - case 0x3E: { + case LinkState_62: { if (this->mUnk_44 != NULL) { this->mpLink->func_ov000_0208d12c(); } @@ -303,8 +303,8 @@ void PlayerSceneChange::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { break; } - case 0x3F: - if (param1->mUnk_00 != 0x3C) { + case LinkState_63: + if (param1->prevState != LinkState_60) { this->mEntryTransitionType = data_027e09a4->GetEntryTransitionType(); } @@ -455,17 +455,19 @@ void PlayerSceneChange::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { break; } + break; + default: break; } } // https://decomp.me/scratch/gX5Rb -void PlayerSceneChange::vfunc_10(unk32 param1, unk32 param2) { - switch (param1) { - case 0x3C: +void PlayerSceneChange::vfunc_10(LinkState state, unk32 param2) { + switch (state) { + case LinkState_60: if (this->mEntryTransitionType == EntryTransitionType_25) { if (this->func_ov000_020914b0(0x3C, (VecFx32 *) &this->mUnk_70, this->mUnk_7C)) { - this->mUnk_30->func_ov000_020921e4(0x3D); + this->mUnk_30->func_ov000_020921e4(LinkState_61); } VecFx32 *temp_r1 = this->mUnk_34; @@ -629,7 +631,7 @@ void PlayerSceneChange::vfunc_10(unk32 param1, unk32 param2) { break; } break; - case 0x3D: { + case LinkState_61: { func_01ff930c(&this->mUnk_40->angle_s, 0, 0xE39); VecFx32 *temp_r2_8 = this->mUnk_34; @@ -641,10 +643,10 @@ void PlayerSceneChange::vfunc_10(unk32 param1, unk32 param2) { return; } - this->mUnk_30->func_ov000_020921e4(0x3E); + this->mUnk_30->func_ov000_020921e4(LinkState_62); break; } - case 0x3E: + case LinkState_62: if (this->mUnk_6C > 0) { this->mUnk_6C--; @@ -660,7 +662,7 @@ void PlayerSceneChange::vfunc_10(unk32 param1, unk32 param2) { } break; - case 0x3F: { + case LinkState_63: { switch (this->mEntryTransitionType) { case EntryTransitionType_8: case EntryTransitionType_9: @@ -702,7 +704,7 @@ void PlayerSceneChange::vfunc_10(unk32 param1, unk32 param2) { UnkStruct_027e0ce0_40 *temp_r1_6 = this->mUnk_24; temp_r1_6->mUnk_104 &= 0xFFFB; temp_r1_6->mUnk_094.mUnk_6A = 3; - this->mUnk_30->func_ov000_020921e4(1); + this->mUnk_30->func_ov000_020921e4(LinkState_Walk); } else if (temp_r5_2) { if (!this->func_ov000_02091e68(param2) && data_02049b18.mUnk_06.mTouchControl.mState.touch) { func_ov000_0205ca74(this->mUnk_98); @@ -714,7 +716,7 @@ void PlayerSceneChange::vfunc_10(unk32 param1, unk32 param2) { this->mUnk_AD = true; return; } else { - this->mUnk_30->func_ov000_020921e4(0); + this->mUnk_30->func_ov000_020921e4(LinkState_Idle); } } @@ -727,11 +729,11 @@ void PlayerSceneChange::vfunc_10(unk32 param1, unk32 param2) { bool PlayerSceneChange::vfunc_1C(VecFx32 *param1) { if (!data_027e0cdc->func_ov000_02082a28(1)) { - switch (this->mUnk_30->mUnk_68) { - case 0x3C: - case 0x3D: - case 0x3E: - case 0x3F: { + switch (this->mUnk_30->mState) { + case LinkState_60: + case LinkState_61: + case LinkState_62: + case LinkState_63: { VecFx32 unk_80; unk_80.x = this->mUnk_80.x; diff --git a/src/112_PlayerSceneChange/PlayerSceneChange2.cpp b/src/112_PlayerSceneChange/PlayerSceneChange2.cpp index 7895fd08b..2502bb1da 100644 --- a/src/112_PlayerSceneChange/PlayerSceneChange2.cpp +++ b/src/112_PlayerSceneChange/PlayerSceneChange2.cpp @@ -9,7 +9,7 @@ PlayerSceneChange2::PlayerSceneChange2(PlayerLinkActor_A0_84 *param1) : } // non-matching -void PlayerSceneChange2::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { +void PlayerSceneChange2::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { s16 auStack_18[12]; s16 auStack_2c; @@ -30,13 +30,13 @@ void PlayerSceneChange2::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { this->mUnk_24->func_ov000_02087ee8(); } - switch (param1->mUnk_04) { - case 0x40: - case 0x41: + switch (param1->state) { + case LinkState_64: + case LinkState_65: this->mUnk_54.x = this->mUnk_34->x; this->mUnk_54.y = this->mUnk_34->y; this->mUnk_54.z = this->mUnk_34->z; - this->mUnk_60 = param1->mUnk_10; + this->mUnk_60 = param1->params.type2.unk_00; { u16 test = this->mUnk_40->angle_u; @@ -44,23 +44,23 @@ void PlayerSceneChange2::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { } this->mUnk_40->angle_u = auStack_2c; break; - case 0x42: - case 0x43: + case LinkState_66: + case LinkState_67: this->mUnk_54.x = this->mUnk_34->x; this->mUnk_54.y = this->mUnk_34->y; this->mUnk_54.z = this->mUnk_34->z; - this->mUnk_60 = param1->mUnk_10; + this->mUnk_60 = param1->params.type2.unk_00; func_ov000_0205d65c(&auStack_2c, &this->mUnk_60, (VecFx32 *) &this->mUnk_54, this->mUnk_40->angle_u); this->mUnk_40->angle_u = auStack_2c; this->mpLink->func_ov000_0208cac8(&this->mUnk_60, 0); - this->mUnk_48->func_ov000_020830a4(0, this->mpLink->mCharacter, 1, 1, - func_ov000_0208dc98(this->mpLink->mCharacter)); + this->mUnk_48->func_ov000_020830a4(0x00, this->mpLink->mCharacter, 0x01, 0x01, + this->mpLink->func_ov000_0208dc98()); this->mUnk_48->func_ov000_020830d4(*this->mUnk_40, this->mUnk_30->func_ov000_02093718(), this->mUnk_30->func_ov000_0209378c(), NULL); break; - case 0x44: + case LinkState_68: this->mpLink->func_ov000_0208cac8(&this->mUnk_60, 0); func_ov000_0205d65c(&auStack_2c, this->mUnk_34, (VecFx32 *) &this->mUnk_54, this->mUnk_40->angle_u); @@ -68,7 +68,7 @@ void PlayerSceneChange2::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { this->mUnk_2C->mUnk_26 = 0; break; - case 0x45: + case LinkState_69: this->mUnk_2C->mUnk_26 = 0; break; default: @@ -76,6 +76,6 @@ void PlayerSceneChange2::vfunc_0C(UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { } } -void PlayerSceneChange2::vfunc_10(unk32 param1, unk32 param2) {} +void PlayerSceneChange2::vfunc_10(LinkState state, unk32 param2) {} PlayerSceneChange2::~PlayerSceneChange2() {} diff --git a/tools/configure.py b/tools/configure.py index a70421766..5ce64d5c4 100755 --- a/tools/configure.py +++ b/tools/configure.py @@ -603,7 +603,7 @@ def GameLib(lib_name: str, objects: List[Object], extra_cflags=list()) -> Dict[s Object("031_Land/Player/LinkStateGrabbed_031.cpp"), Object("031_Land/Player/PlayerLinkActor_A0_031.cpp"), Object("031_Land/Player/LinkStateHit_031.cpp"), - Object("031_Land/code_020e0284_031.cpp"), + Object("031_Land/Player/LinkStateHit_BC_031.cpp"), Object("031_Land/Player/PlayerLinkActor_A0_10_031.cpp"), Object("031_Land/UnkStruct_ItemManager_20_00_20_031.cpp"), Object("031_Land/code_020e0c34_031.cpp"), diff --git a/tools/sincostable_relocs_fixer.py b/tools/relocs_fixer.py similarity index 72% rename from tools/sincostable_relocs_fixer.py rename to tools/relocs_fixer.py index b9dd65052..40ea98582 100755 --- a/tools/sincostable_relocs_fixer.py +++ b/tools/relocs_fixer.py @@ -7,8 +7,8 @@ import sys from pathlib import Path -if len(sys.argv) == 1: - print("usage: sincostable_relocs_fixer.py ") +if len(sys.argv) < 4: + print("usage: relocs_fixer.py symbol next_addr") sys.exit(1) VERSION: str = sys.argv[1] @@ -28,15 +28,22 @@ def fix_relocs(base_addr: int, fake_addr: int): reloc_file.write_text(relocs.replace(f"to:0x{fake_addr:08x}", f"to:0x{base_addr:08x} add:0x{offset:x}")) +def get_symbols_txt_path(): + if sys.argv[2].startswith("data_ov"): + return f"overlays/{sys.argv[2].split('_')[1]}/symbols.txt" + + return "symbols.txt" + + def main(): - sym_file = CONFIG_DIR / "symbols.txt" + sym_file = CONFIG_DIR / get_symbols_txt_path() symbols = sym_file.read_text() - assert "FX_SinCosTable_ kind:data" in symbols, "`FX_SinCosTable_` not found" + assert f"{sys.argv[2]} kind:data" in symbols, f"`{sys.argv[2]}` not found" - sym_addr_match = re.search(r"FX_SinCosTable_\skind:data\((any|byte[(16384|0x4000)])\)\saddr:0x([a-fA-F0-9]*)", symbols, re.DOTALL) + sym_addr_match = re.search(fr"{sys.argv[2]}\skind:data\((any|byte[(16384|0x4000)])\)\saddr:0x([a-fA-F0-9]*)", symbols, re.DOTALL) assert sym_addr_match is not None, "symbol address not found" sym_addr = int(sym_addr_match.group(2), 16) - sym_addr_next = sym_addr + (8192 * 2) # fx16[8192] = 0x4000 bytes + sym_addr_next = int(sys.argv[3], 16) assert f"addr:0x{sym_addr_next:08x}" in symbols, "next symbol not found" sym_list_match = re.search(fr"addr:0x{sym_addr:08x}(.*)addr:0x{sym_addr_next:08x}", symbols, re.DOTALL) From 3e68c331e2946fd4d320ca7bc4c5c30ba3abd6bc Mon Sep 17 00:00:00 2001 From: Yanis <35189056+Yanis002@users.noreply.github.com> Date: Thu, 3 Dec 2026 03:17:10 +0100 Subject: [PATCH 08/12] Update formatting rules (#209) * bump pre-commit versions * change pointer alignment --- .clang-format | 4 +- .pre-commit-config.yaml | 4 +- include/Actor/Actor.hpp | 148 +++---- include/Actor/ActorBlast.hpp | 14 +- include/Actor/ActorBomb.hpp | 42 +- include/Actor/ActorCharacter.hpp | 18 +- include/Actor/ActorEventIcon.hpp | 6 +- include/Actor/ActorFleeingSpinut.hpp | 46 +-- include/Actor/ActorHeart.hpp | 10 +- include/Actor/ActorItemBoomerang.hpp | 20 +- include/Actor/ActorItemDrop.hpp | 22 +- include/Actor/ActorItemFlower.hpp | 8 +- include/Actor/ActorItemTornado.hpp | 18 +- include/Actor/ActorKeese.hpp | 24 +- include/Actor/ActorKenzo.hpp | 10 +- include/Actor/ActorLobarrier.hpp | 28 +- include/Actor/ActorLobarrierShield.hpp | 30 +- include/Actor/ActorLokomos.hpp | 78 ++-- include/Actor/ActorManager.hpp | 36 +- include/Actor/ActorPot.hpp | 6 +- include/Actor/ActorProfile.hpp | 8 +- include/Actor/ActorProfile_ov000_020b3018.hpp | 2 +- include/Actor/ActorRollingStone.hpp | 14 +- include/Actor/ActorRupee.hpp | 10 +- include/Actor/ActorShotArrow.hpp | 42 +- include/Actor/ActorSpinut.hpp | 16 +- include/Actor/ActorTearLight.hpp | 14 +- include/Actor/ActorUnkAJAI.hpp | 6 +- include/Actor/ActorUnkAJBS.hpp | 6 +- include/Actor/ActorUnkAJCR.hpp | 6 +- include/Actor/ActorUnkAJEM.hpp | 6 +- include/Actor/ActorUnkAJET.hpp | 6 +- include/Actor/ActorUnkAJMN.hpp | 6 +- include/Actor/ActorUnkAJNP.hpp | 6 +- include/Actor/ActorUnkAJSP.hpp | 6 +- include/Actor/ActorUnkAJTM.hpp | 6 +- include/Actor/ActorUnkALEV.hpp | 6 +- include/Actor/ActorUnkASBA.hpp | 6 +- include/Actor/ActorUnkASYU.hpp | 6 +- include/Actor/ActorUnkATTG.hpp | 4 +- include/Actor/ActorUnkBAEY.hpp | 6 +- include/Actor/ActorUnkBAFO.hpp | 6 +- include/Actor/ActorUnkBANI.hpp | 6 +- include/Actor/ActorUnkBAPH.hpp | 6 +- include/Actor/ActorUnkBBLE.hpp | 6 +- include/Actor/ActorUnkBDBA.hpp | 6 +- include/Actor/ActorUnkBDEA.hpp | 6 +- include/Actor/ActorUnkBDEM.hpp | 6 +- include/Actor/ActorUnkBDGA.hpp | 6 +- include/Actor/ActorUnkBDLB.hpp | 6 +- include/Actor/ActorUnkBEEE.hpp | 6 +- include/Actor/ActorUnkBEEH.hpp | 6 +- include/Actor/ActorUnkBFFN.hpp | 6 +- include/Actor/ActorUnkBGOK.hpp | 6 +- include/Actor/ActorUnkBKST.hpp | 6 +- include/Actor/ActorUnkBLBL.hpp | 6 +- include/Actor/ActorUnkBLBR.hpp | 6 +- include/Actor/ActorUnkBLJF.hpp | 6 +- include/Actor/ActorUnkBLON.hpp | 6 +- include/Actor/ActorUnkBMHN.hpp | 6 +- include/Actor/ActorUnkBMOC.hpp | 6 +- include/Actor/ActorUnkBPAP.hpp | 6 +- include/Actor/ActorUnkBPBS.hpp | 6 +- include/Actor/ActorUnkBROW.hpp | 6 +- include/Actor/ActorUnkBSFC.hpp | 6 +- include/Actor/ActorUnkBSKM.hpp | 6 +- include/Actor/ActorUnkBSTG.hpp | 6 +- include/Actor/ActorUnkBTIR.hpp | 6 +- include/Actor/ActorUnkCAGE.hpp | 6 +- include/Actor/ActorUnkCAMA_CAMB_CAMS.hpp | 18 +- include/Actor/ActorUnkCAMY.hpp | 6 +- include/Actor/ActorUnkCASL.hpp | 6 +- include/Actor/ActorUnkCAST.hpp | 6 +- include/Actor/ActorUnkCAWA.hpp | 6 +- ...OMR_FOMS_FOPD_GOCP_GORP_NCCA_NCCS_WAMA.hpp | 78 ++-- include/Actor/ActorUnkCHUC.hpp | 6 +- include/Actor/ActorUnkCLBT.hpp | 6 +- include/Actor/ActorUnkCLLT.hpp | 4 +- include/Actor/ActorUnkCLZN.hpp | 6 +- include/Actor/ActorUnkCNBL.hpp | 6 +- include/Actor/ActorUnkCOMM.hpp | 6 +- include/Actor/ActorUnkCRCH.hpp | 6 +- include/Actor/ActorUnkCROW.hpp | 6 +- include/Actor/ActorUnkCTFS.hpp | 6 +- include/Actor/ActorUnkDGPC.hpp | 6 +- include/Actor/ActorUnkDKCB.hpp | 6 +- include/Actor/ActorUnkDKCL.hpp | 6 +- include/Actor/ActorUnkDKTR.hpp | 6 +- include/Actor/ActorUnkDLPN.hpp | 6 +- include/Actor/ActorUnkDLTG.hpp | 6 +- include/Actor/ActorUnkDMCH.hpp | 6 +- include/Actor/ActorUnkDMEQ.hpp | 6 +- include/Actor/ActorUnkDMET.hpp | 6 +- include/Actor/ActorUnkDMFR.hpp | 6 +- include/Actor/ActorUnkDMFT.hpp | 6 +- include/Actor/ActorUnkDMGM.hpp | 6 +- include/Actor/ActorUnkDMGN.hpp | 6 +- include/Actor/ActorUnkDMMM.hpp | 6 +- include/Actor/ActorUnkDMMS.hpp | 6 +- include/Actor/ActorUnkDMMT.hpp | 6 +- include/Actor/ActorUnkDMPK.hpp | 6 +- include/Actor/ActorUnkDMPS.hpp | 6 +- include/Actor/ActorUnkDMSS.hpp | 6 +- include/Actor/ActorUnkDMST.hpp | 6 +- include/Actor/ActorUnkDMT2.hpp | 6 +- include/Actor/ActorUnkDMTR.hpp | 6 +- include/Actor/ActorUnkDMWS.hpp | 6 +- include/Actor/ActorUnkDMWT.hpp | 6 +- include/Actor/ActorUnkDMZS.hpp | 6 +- include/Actor/ActorUnkDSBB.hpp | 6 +- include/Actor/ActorUnkDSBH.hpp | 6 +- include/Actor/ActorUnkDSBN.hpp | 6 +- include/Actor/ActorUnkDSDS.hpp | 6 +- include/Actor/ActorUnkDSFR.hpp | 6 +- include/Actor/ActorUnkDSSN.hpp | 6 +- include/Actor/ActorUnkDSVC.hpp | 6 +- include/Actor/ActorUnkDSWT.hpp | 6 +- include/Actor/ActorUnkE3GL.hpp | 6 +- include/Actor/ActorUnkE3LV.hpp | 6 +- include/Actor/ActorUnkE3ST.hpp | 6 +- include/Actor/ActorUnkE3TT.hpp | 6 +- include/Actor/ActorUnkEFIK.hpp | 4 +- include/Actor/ActorUnkEFOC.hpp | 6 +- include/Actor/ActorUnkEFR2.hpp | 6 +- include/Actor/ActorUnkEFR3.hpp | 6 +- include/Actor/ActorUnkEFRI.hpp | 6 +- include/Actor/ActorUnkEFRL.hpp | 6 +- include/Actor/ActorUnkEFRP.hpp | 6 +- include/Actor/ActorUnkEFSB.hpp | 4 +- include/Actor/ActorUnkEFSC.hpp | 6 +- include/Actor/ActorUnkEFW2.hpp | 6 +- include/Actor/ActorUnkEFW3.hpp | 6 +- include/Actor/ActorUnkEFWI.hpp | 6 +- include/Actor/ActorUnkEFWL.hpp | 6 +- include/Actor/ActorUnkEFWV.hpp | 6 +- include/Actor/ActorUnkELVT.hpp | 6 +- include/Actor/ActorUnkENGE.hpp | 6 +- include/Actor/ActorUnkEVCH.hpp | 6 +- include/Actor/ActorUnkEWHI.hpp | 6 +- include/Actor/ActorUnkFBBF.hpp | 6 +- include/Actor/ActorUnkFBBH.hpp | 6 +- include/Actor/ActorUnkFBCH.hpp | 6 +- include/Actor/ActorUnkFBRD.hpp | 6 +- include/Actor/ActorUnkFBRG.hpp | 6 +- include/Actor/ActorUnkFBSC.hpp | 6 +- include/Actor/ActorUnkFCHL.hpp | 6 +- include/Actor/ActorUnkFDKY.hpp | 6 +- include/Actor/ActorUnkFIBB.hpp | 6 +- include/Actor/ActorUnkFIFI.hpp | 6 +- include/Actor/ActorUnkFIMA.hpp | 6 +- include/Actor/ActorUnkFIML.hpp | 6 +- include/Actor/ActorUnkFIRB.hpp | 6 +- include/Actor/ActorUnkFKTR.hpp | 6 +- include/Actor/ActorUnkFLCT.hpp | 6 +- include/Actor/ActorUnkFLDK.hpp | 6 +- include/Actor/ActorUnkFLEN.hpp | 4 +- include/Actor/ActorUnkFMAS_FMLS.hpp | 12 +- include/Actor/ActorUnkFOFA.hpp | 6 +- include/Actor/ActorUnkFOMD.hpp | 6 +- include/Actor/ActorUnkFOMY.hpp | 6 +- include/Actor/ActorUnkFRBS.hpp | 6 +- include/Actor/ActorUnkFRTN.hpp | 6 +- include/Actor/ActorUnkFSIR.hpp | 6 +- include/Actor/ActorUnkFSSF.hpp | 6 +- include/Actor/ActorUnkFSST.hpp | 6 +- include/Actor/ActorUnkFTRN.hpp | 6 +- include/Actor/ActorUnkGHOS.hpp | 6 +- include/Actor/ActorUnkGOCA_GOCB_GORK_GORM.hpp | 24 +- include/Actor/ActorUnkGOKI.hpp | 6 +- include/Actor/ActorUnkGORS.hpp | 6 +- include/Actor/ActorUnkGORY.hpp | 6 +- include/Actor/ActorUnkGOVT.hpp | 6 +- include/Actor/ActorUnkGRCF.hpp | 6 +- include/Actor/ActorUnkGRCM.hpp | 6 +- include/Actor/ActorUnkGTTG.hpp | 6 +- include/Actor/ActorUnkGYAM.hpp | 6 +- include/Actor/ActorUnkHAMN.hpp | 6 +- include/Actor/ActorUnkHELA.hpp | 6 +- include/Actor/ActorUnkHLMG.hpp | 6 +- include/Actor/ActorUnkHYSW.hpp | 6 +- include/Actor/ActorUnkIBBA.hpp | 6 +- include/Actor/ActorUnkIBSP.hpp | 6 +- include/Actor/ActorUnkICBA.hpp | 6 +- include/Actor/ActorUnkICBB.hpp | 6 +- include/Actor/ActorUnkICBS.hpp | 8 +- include/Actor/ActorUnkITSC.hpp | 6 +- include/Actor/ActorUnkITWP.hpp | 6 +- include/Actor/ActorUnkIWTS.hpp | 8 +- include/Actor/ActorUnkJOLN.hpp | 6 +- include/Actor/ActorUnkKEYB.hpp | 6 +- include/Actor/ActorUnkKEYN.hpp | 8 +- include/Actor/ActorUnkKEYT.hpp | 6 +- include/Actor/ActorUnkKGDB.hpp | 6 +- include/Actor/ActorUnkKGDN.hpp | 6 +- include/Actor/ActorUnkKIMA.hpp | 6 +- include/Actor/ActorUnkKIMB.hpp | 6 +- include/Actor/ActorUnkKLTR.hpp | 6 +- include/Actor/ActorUnkKMOH.hpp | 6 +- include/Actor/ActorUnkKMOS.hpp | 6 +- include/Actor/ActorUnkKMSO.hpp | 6 +- include/Actor/ActorUnkKOAT.hpp | 6 +- include/Actor/ActorUnkKOCH.hpp | 6 +- include/Actor/ActorUnkKOKO.hpp | 6 +- include/Actor/ActorUnkKOTA.hpp | 18 +- include/Actor/ActorUnkL2MT.hpp | 6 +- include/Actor/ActorUnkL2V1.hpp | 6 +- include/Actor/ActorUnkL2V2.hpp | 6 +- include/Actor/ActorUnkLAVA.hpp | 6 +- include/Actor/ActorUnkLBCK.hpp | 6 +- include/Actor/ActorUnkLBRC.hpp | 6 +- include/Actor/ActorUnkLIKE.hpp | 6 +- include/Actor/ActorUnkLIRA.hpp | 6 +- include/Actor/ActorUnkLOCK.hpp | 6 +- include/Actor/ActorUnkLVBD.hpp | 6 +- include/Actor/ActorUnkLVOF.hpp | 6 +- include/Actor/ActorUnkLZET.hpp | 6 +- include/Actor/ActorUnkMABC.hpp | 6 +- include/Actor/ActorUnkMABL.hpp | 6 +- include/Actor/ActorUnkMAFI.hpp | 6 +- include/Actor/ActorUnkMAGR.hpp | 6 +- include/Actor/ActorUnkMARG.hpp | 6 +- include/Actor/ActorUnkMATR.hpp | 6 +- include/Actor/ActorUnkMBCC.hpp | 6 +- include/Actor/ActorUnkMDYG.hpp | 6 +- include/Actor/ActorUnkMGAJ.hpp | 6 +- include/Actor/ActorUnkMIFR.hpp | 6 +- include/Actor/ActorUnkMLCK.hpp | 16 +- include/Actor/ActorUnkMNCB.hpp | 6 +- include/Actor/ActorUnkMOCT.hpp | 6 +- include/Actor/ActorUnkMRD2.hpp | 8 +- include/Actor/ActorUnkMRDA_MRDO.hpp | 12 +- include/Actor/ActorUnkMRDL.hpp | 6 +- include/Actor/ActorUnkMTFB.hpp | 6 +- include/Actor/ActorUnkMTFL.hpp | 6 +- include/Actor/ActorUnkMTWP.hpp | 6 +- include/Actor/ActorUnkMZCT.hpp | 6 +- include/Actor/ActorUnkNAVI.hpp | 6 +- include/Actor/ActorUnkNCCB_NCMB.hpp | 12 +- include/Actor/ActorUnkNCWA.hpp | 6 +- include/Actor/ActorUnkNFSP.hpp | 12 +- include/Actor/ActorUnkNICO.hpp | 6 +- include/Actor/ActorUnkNLTR.hpp | 6 +- include/Actor/ActorUnkNORE.hpp | 4 +- include/Actor/ActorUnkNPWC.hpp | 6 +- include/Actor/ActorUnkNSHD.hpp | 6 +- include/Actor/ActorUnkNSSW.hpp | 34 +- include/Actor/ActorUnkNSTN.hpp | 4 +- include/Actor/ActorUnkNTTZ.hpp | 4 +- include/Actor/ActorUnkOBPC.hpp | 4 +- include/Actor/ActorUnkOCGS.hpp | 6 +- include/Actor/ActorUnkOCTA.hpp | 6 +- include/Actor/ActorUnkOCTG.hpp | 6 +- include/Actor/ActorUnkOCTS.hpp | 6 +- include/Actor/ActorUnkOCTW.hpp | 6 +- include/Actor/ActorUnkOCWS.hpp | 6 +- include/Actor/ActorUnkOFSW.hpp | 6 +- include/Actor/ActorUnkOLDM.hpp | 6 +- include/Actor/ActorUnkOLDS.hpp | 6 +- include/Actor/ActorUnkPASS.hpp | 6 +- include/Actor/ActorUnkPBK2.hpp | 6 +- include/Actor/ActorUnkPBSP.hpp | 6 +- include/Actor/ActorUnkPCTG.hpp | 6 +- include/Actor/ActorUnkPHEY.hpp | 6 +- include/Actor/ActorUnkPHTM.hpp | 6 +- include/Actor/ActorUnkPLSR.hpp | 6 +- include/Actor/ActorUnkPMST.hpp | 6 +- include/Actor/ActorUnkPMTB.hpp | 6 +- include/Actor/ActorUnkPMTC.hpp | 6 +- include/Actor/ActorUnkPMTD.hpp | 6 +- include/Actor/ActorUnkPMTT.hpp | 6 +- include/Actor/ActorUnkPOST.hpp | 6 +- include/Actor/ActorUnkPPPM.hpp | 6 +- include/Actor/ActorUnkPRPL.hpp | 6 +- include/Actor/ActorUnkPRPP.hpp | 6 +- include/Actor/ActorUnkPRSP.hpp | 6 +- include/Actor/ActorUnkPSBK.hpp | 6 +- include/Actor/ActorUnkPSBL.hpp | 8 +- include/Actor/ActorUnkPSBS.hpp | 6 +- include/Actor/ActorUnkPSEM.hpp | 6 +- include/Actor/ActorUnkPSNP.hpp | 6 +- include/Actor/ActorUnkPSWB.hpp | 22 +- include/Actor/ActorUnkPTMN.hpp | 6 +- include/Actor/ActorUnkPTSW.hpp | 6 +- include/Actor/ActorUnkQKSD.hpp | 6 +- include/Actor/ActorUnkQKTG.hpp | 6 +- include/Actor/ActorUnkRAT0.hpp | 6 +- include/Actor/ActorUnkRB1F.hpp | 6 +- include/Actor/ActorUnkRB1T.hpp | 10 +- include/Actor/ActorUnkRBD2.hpp | 6 +- include/Actor/ActorUnkRBDS.hpp | 6 +- include/Actor/ActorUnkRBFR.hpp | 6 +- include/Actor/ActorUnkRBL1.hpp | 6 +- include/Actor/ActorUnkRBL2.hpp | 6 +- include/Actor/ActorUnkRBLS.hpp | 6 +- include/Actor/ActorUnkRBNT.hpp | 6 +- include/Actor/ActorUnkRBRP.hpp | 6 +- include/Actor/ActorUnkRBRT.hpp | 6 +- include/Actor/ActorUnkRBSN.hpp | 6 +- include/Actor/ActorUnkRBVC.hpp | 6 +- include/Actor/ActorUnkRBWS.hpp | 6 +- include/Actor/ActorUnkRBWT.hpp | 6 +- include/Actor/ActorUnkRCFO.hpp | 24 +- include/Actor/ActorUnkRCHU.hpp | 6 +- include/Actor/ActorUnkRCMS.hpp | 6 +- include/Actor/ActorUnkRCSG.hpp | 6 +- include/Actor/ActorUnkRMA0.hpp | 6 +- include/Actor/ActorUnkRMA1.hpp | 6 +- include/Actor/ActorUnkRMA2.hpp | 6 +- include/Actor/ActorUnkRMA3.hpp | 6 +- include/Actor/ActorUnkRMAJ.hpp | 6 +- include/Actor/ActorUnkRMBC.hpp | 6 +- include/Actor/ActorUnkRMBD.hpp | 6 +- include/Actor/ActorUnkRMC0.hpp | 6 +- include/Actor/ActorUnkRMC1.hpp | 6 +- include/Actor/ActorUnkRMC2.hpp | 6 +- include/Actor/ActorUnkRMC3.hpp | 6 +- include/Actor/ActorUnkRMC4.hpp | 6 +- include/Actor/ActorUnkRMC5.hpp | 6 +- include/Actor/ActorUnkRMC6.hpp | 6 +- include/Actor/ActorUnkRMDO.hpp | 6 +- include/Actor/ActorUnkRMDS.hpp | 6 +- include/Actor/ActorUnkRMF0.hpp | 6 +- include/Actor/ActorUnkRMF1.hpp | 6 +- include/Actor/ActorUnkRMFK.hpp | 6 +- include/Actor/ActorUnkRML0.hpp | 6 +- include/Actor/ActorUnkRML1.hpp | 6 +- include/Actor/ActorUnkRML2.hpp | 6 +- include/Actor/ActorUnkRML3.hpp | 6 +- include/Actor/ActorUnkRMLF.hpp | 6 +- include/Actor/ActorUnkRMM0.hpp | 6 +- include/Actor/ActorUnkRMM1.hpp | 6 +- include/Actor/ActorUnkRMM2.hpp | 6 +- include/Actor/ActorUnkRMM3.hpp | 6 +- include/Actor/ActorUnkRMM4.hpp | 6 +- include/Actor/ActorUnkRMS0.hpp | 6 +- include/Actor/ActorUnkRMS1.hpp | 6 +- include/Actor/ActorUnkRMS2.hpp | 6 +- include/Actor/ActorUnkRMS3.hpp | 6 +- include/Actor/ActorUnkRMS4.hpp | 6 +- include/Actor/ActorUnkRMS5.hpp | 6 +- include/Actor/ActorUnkRMSBase.hpp | 2 +- include/Actor/ActorUnkRMSD.hpp | 8 +- include/Actor/ActorUnkRMSF.hpp | 8 +- include/Actor/ActorUnkRMSS.hpp | 8 +- include/Actor/ActorUnkRMST.hpp | 6 +- include/Actor/ActorUnkRMSV.hpp | 12 +- include/Actor/ActorUnkRMSW.hpp | 8 +- include/Actor/ActorUnkRMT0.hpp | 6 +- include/Actor/ActorUnkRMT1.hpp | 6 +- include/Actor/ActorUnkRMT2.hpp | 6 +- include/Actor/ActorUnkRMT3.hpp | 6 +- include/Actor/ActorUnkRMT4.hpp | 6 +- include/Actor/ActorUnkRMTB.hpp | 6 +- include/Actor/ActorUnkRMTE.hpp | 6 +- include/Actor/ActorUnkRMTG.hpp | 4 +- include/Actor/ActorUnkRMTR.hpp | 6 +- include/Actor/ActorUnkRMTZ.hpp | 6 +- include/Actor/ActorUnkRMV0.hpp | 6 +- include/Actor/ActorUnkRMV1.hpp | 6 +- include/Actor/ActorUnkRMVD.hpp | 6 +- include/Actor/ActorUnkRMVF.hpp | 6 +- include/Actor/ActorUnkRMVS.hpp | 6 +- include/Actor/ActorUnkRMVT.hpp | 6 +- include/Actor/ActorUnkRMVV.hpp | 6 +- include/Actor/ActorUnkRMVW.hpp | 6 +- include/Actor/ActorUnkRMW0.hpp | 6 +- include/Actor/ActorUnkRMW1.hpp | 6 +- include/Actor/ActorUnkRNTN.hpp | 6 +- include/Actor/ActorUnkROCK.hpp | 6 +- include/Actor/ActorUnkRPMT.hpp | 6 +- include/Actor/ActorUnkRYAW.hpp | 6 +- include/Actor/ActorUnkSCCN.hpp | 4 +- include/Actor/ActorUnkSEAT.hpp | 6 +- include/Actor/ActorUnkSEFS.hpp | 6 +- include/Actor/ActorUnkSGMG.hpp | 6 +- include/Actor/ActorUnkSHDL.hpp | 6 +- include/Actor/ActorUnkSHIT.hpp | 6 +- include/Actor/ActorUnkSIRO_SIRS_SRNM_SRSL.hpp | 24 +- include/Actor/ActorUnkSKDO.hpp | 8 +- include/Actor/ActorUnkSMCT.hpp | 6 +- include/Actor/ActorUnkSNMA.hpp | 6 +- include/Actor/ActorUnkSNMB.hpp | 6 +- include/Actor/ActorUnkSNOW.hpp | 6 +- include/Actor/ActorUnkSNST.hpp | 6 +- include/Actor/ActorUnkSOGB_SOGC_SOLG.hpp | 18 +- include/Actor/ActorUnkSOLB_SOLC_SOLD.hpp | 18 +- include/Actor/ActorUnkSOLF.hpp | 6 +- include/Actor/ActorUnkSOLT.hpp | 6 +- include/Actor/ActorUnkSPID.hpp | 6 +- include/Actor/ActorUnkSPTG.hpp | 6 +- include/Actor/ActorUnkSPTT.hpp | 6 +- include/Actor/ActorUnkSRST.hpp | 6 +- include/Actor/ActorUnkSSFC.hpp | 6 +- include/Actor/ActorUnkSTCT.hpp | 6 +- include/Actor/ActorUnkSTFB.hpp | 6 +- include/Actor/ActorUnkSTFH.hpp | 6 +- include/Actor/ActorUnkSTLF.hpp | 6 +- include/Actor/ActorUnkSTLW.hpp | 6 +- include/Actor/ActorUnkSTTG.hpp | 23 +- include/Actor/ActorUnkSTWH.hpp | 6 +- include/Actor/ActorUnkSWBM.hpp | 24 +- include/Actor/ActorUnkSWCH.hpp | 4 +- include/Actor/ActorUnkSWDS.hpp | 6 +- include/Actor/ActorUnkSWHI.hpp | 6 +- include/Actor/ActorUnkSWOB.hpp | 4 +- include/Actor/ActorUnkSWON.hpp | 4 +- include/Actor/ActorUnkSWTM.hpp | 4 +- include/Actor/ActorUnkSYRN.hpp | 6 +- include/Actor/ActorUnkSZKL.hpp | 6 +- include/Actor/ActorUnkSZRD.hpp | 6 +- include/Actor/ActorUnkTBRD.hpp | 6 +- include/Actor/ActorUnkTCAM.hpp | 6 +- include/Actor/ActorUnkTCOW_WCAS.hpp | 12 +- include/Actor/ActorUnkTDKT.hpp | 6 +- include/Actor/ActorUnkTEHT.hpp | 6 +- include/Actor/ActorUnkTERY.hpp | 6 +- include/Actor/ActorUnkTEVT.hpp | 6 +- include/Actor/ActorUnkTFAT.hpp | 6 +- include/Actor/ActorUnkTGTZ.hpp | 14 +- include/Actor/ActorUnkTHER.hpp | 6 +- include/Actor/ActorUnkTKYT.hpp | 6 +- include/Actor/ActorUnkTLKT.hpp | 6 +- include/Actor/ActorUnkTMNA.hpp | 6 +- include/Actor/ActorUnkTMNC.hpp | 6 +- include/Actor/ActorUnkTMNP.hpp | 6 +- include/Actor/ActorUnkTPDO.hpp | 6 +- include/Actor/ActorUnkTRAP.hpp | 6 +- include/Actor/ActorUnkTRBC.hpp | 6 +- include/Actor/ActorUnkTRCB.hpp | 6 +- include/Actor/ActorUnkTRER.hpp | 6 +- include/Actor/ActorUnkTRIC.hpp | 6 +- include/Actor/ActorUnkTRLY.hpp | 6 +- include/Actor/ActorUnkTRRL.hpp | 6 +- include/Actor/ActorUnkTRSG.hpp | 6 +- include/Actor/ActorUnkTRSP.hpp | 6 +- include/Actor/ActorUnkTRTT.hpp | 6 +- include/Actor/ActorUnkTRUP.hpp | 6 +- include/Actor/ActorUnkTSCN.hpp | 6 +- include/Actor/ActorUnkTSLB.hpp | 6 +- include/Actor/ActorUnkTSMT.hpp | 6 +- include/Actor/ActorUnkTTET.hpp | 6 +- include/Actor/ActorUnkTTFT.hpp | 6 +- include/Actor/ActorUnkTTKB.hpp | 6 +- include/Actor/ActorUnkTTUT.hpp | 6 +- include/Actor/ActorUnkTUTO.hpp | 6 +- include/Actor/ActorUnkTVLR.hpp | 6 +- include/Actor/ActorUnkVCCH.hpp | 6 +- include/Actor/ActorUnkVCFT.hpp | 16 +- include/Actor/ActorUnkVLCR.hpp | 6 +- include/Actor/ActorUnkVOLV.hpp | 6 +- include/Actor/ActorUnkVRGN.hpp | 6 +- include/Actor/ActorUnkWAWA_WAWC.hpp | 12 +- include/Actor/ActorUnkWAWB_WAWS.hpp | 12 +- include/Actor/ActorUnkWAWY.hpp | 6 +- include/Actor/ActorUnkWBEF.hpp | 6 +- include/Actor/ActorUnkWBN2.hpp | 6 +- include/Actor/ActorUnkWBPS.hpp | 6 +- include/Actor/ActorUnkWBTN.hpp | 6 +- include/Actor/ActorUnkWDBA.hpp | 6 +- include/Actor/ActorUnkWDRD.hpp | 6 +- include/Actor/ActorUnkWHMA.hpp | 6 +- include/Actor/ActorUnkWIDR.hpp | 6 +- include/Actor/ActorUnkWIDT.hpp | 6 +- include/Actor/ActorUnkWKTR.hpp | 6 +- include/Actor/ActorUnkWPCH.hpp | 6 +- include/Actor/ActorUnkWPCL.hpp | 6 +- include/Actor/ActorUnkWTBS.hpp | 6 +- include/Actor/ActorUnkWTH2.hpp | 6 +- include/Actor/ActorUnkWTH3.hpp | 6 +- include/Actor/ActorUnkWTTH.hpp | 6 +- include/Actor/ActorUnkWWFS.hpp | 6 +- include/Actor/ActorUnkYKAP_YKCP_YKEP.hpp | 18 +- include/Actor/ActorUnkYUKI.hpp | 6 +- include/Actor/ActorUnkYUKY.hpp | 6 +- include/Actor/ActorUnkYWIS.hpp | 6 +- include/Actor/ActorUnkZELD.hpp | 6 +- include/Actor/ActorUnkZLBB.hpp | 6 +- include/Actor/ActorUnkZLBS.hpp | 6 +- include/Actor/ActorUnkZLSL_ZSRS.hpp | 102 ++--- include/Actor/ActorUnkZLSN.hpp | 6 +- include/Actor/ActorUnkZLSS.hpp | 6 +- include/Actor/ActorUnkZSTG.hpp | 6 +- include/Actor/ActorWhipBird.hpp | 20 +- include/Actor/Actor_Derived1.hpp | 40 +- include/Actor/Actor_ov031_02114438.hpp | 2 +- include/CommonFuncs.hpp | 378 +++++++++--------- include/Course/CourseManager.hpp | 164 ++++---- include/Cutscene/Cutscene.hpp | 4 +- include/FileSelect/FileSelect.hpp | 20 +- include/FileSelect/FileSelectMain.hpp | 8 +- include/FileSelect/FileSelectMicTest.hpp | 8 +- include/FileSelect/FileSelectOptions.hpp | 20 +- .../FileSelect/FileSelectOptionsManager.hpp | 14 +- include/FileSelect/FileSelectUnkDraw.hpp | 18 +- include/FileSelect/UnkSubStruct9.hpp | 4 +- include/Game/Game.hpp | 12 +- include/Game/GameMode.hpp | 2 +- include/Game/GameModeAdventure.hpp | 2 +- include/Game/GameModeBattle.hpp | 2 +- include/Game/GameModeContactMode.hpp | 4 +- include/Game/GameModeDownloadPlay.hpp | 6 +- include/Game/GameModeFileSelect.hpp | 2 +- include/Game/GameModeManager.hpp | 44 +- include/Game/GameModeStartUp.hpp | 4 +- include/Game/GameModeTitleScreen.hpp | 4 +- include/Item/ItemManager.hpp | 116 +++--- include/LinkList.hpp | 90 ++--- include/MainGame/AdventureMode.hpp | 204 +++++----- include/MainGame/CargoManager.hpp | 8 +- include/MainGame/MiscAdvManager.hpp | 12 +- include/MainGame/PassengerManager.hpp | 10 +- include/MainGame/UnkAdventureModeSystem1.hpp | 6 +- include/MainGame/UnkTrainSystems.hpp | 8 +- include/MapObject/MapObject.hpp | 42 +- include/MapObject/MapObjectBombFlower.hpp | 8 +- include/MapObject/MapObjectChestBase.hpp | 8 +- include/MapObject/MapObjectDoorBase.hpp | 4 +- include/MapObject/MapObjectDoorClick.hpp | 8 +- .../MapObject/MapObjectDoorDangerSpawn.hpp | 12 +- include/MapObject/MapObjectDoorKey.hpp | 6 +- include/MapObject/MapObjectDoorSwitch.hpp | 8 +- include/MapObject/MapObjectDoorTouch.hpp | 4 +- include/MapObject/MapObjectGrass.hpp | 10 +- include/MapObject/MapObjectManager.hpp | 44 +- include/MapObject/MapObjectMiniBlocks.hpp | 4 +- include/MapObject/MapObjectPot.hpp | 8 +- include/MapObject/MapObjectPot_Base.hpp | 4 +- include/MapObject/MapObjectProfile.hpp | 22 +- include/MapObject/MapObjectSwitchStep.hpp | 8 +- .../MapObject/MapObjectTreasureSpawned.hpp | 6 +- include/MapObject/MapObjectUnkARWL.hpp | 4 +- include/MapObject/MapObjectUnkBAPL.hpp | 4 +- include/MapObject/MapObjectUnkBBFL.hpp | 4 +- include/MapObject/MapObjectUnkBFFL.hpp | 4 +- include/MapObject/MapObjectUnkBFSP.hpp | 4 +- include/MapObject/MapObjectUnkBLCC.hpp | 4 +- include/MapObject/MapObjectUnkBLCE.hpp | 4 +- include/MapObject/MapObjectUnkBLCK.hpp | 4 +- include/MapObject/MapObjectUnkBLCT.hpp | 4 +- include/MapObject/MapObjectUnkBLHL.hpp | 4 +- include/MapObject/MapObjectUnkBLRB.hpp | 4 +- include/MapObject/MapObjectUnkBLSR.hpp | 4 +- include/MapObject/MapObjectUnkBOGN.hpp | 4 +- include/MapObject/MapObjectUnkBREX.hpp | 4 +- include/MapObject/MapObjectUnkBRGL.hpp | 4 +- include/MapObject/MapObjectUnkBRGS.hpp | 4 +- include/MapObject/MapObjectUnkBRGW.hpp | 4 +- include/MapObject/MapObjectUnkCLMN.hpp | 4 +- include/MapObject/MapObjectUnkCRWL.hpp | 4 +- include/MapObject/MapObjectUnkCSTL.hpp | 4 +- include/MapObject/MapObjectUnkCTPT.hpp | 4 +- include/MapObject/MapObjectUnkDFNC.hpp | 4 +- include/MapObject/MapObjectUnkDOPA.hpp | 4 +- include/MapObject/MapObjectUnkDRBK.hpp | 4 +- include/MapObject/MapObjectUnkDRBR.hpp | 4 +- include/MapObject/MapObjectUnkDRGN.hpp | 4 +- include/MapObject/MapObjectUnkDRHS.hpp | 4 +- include/MapObject/MapObjectUnkDRMC.hpp | 4 +- include/MapObject/MapObjectUnkDRRS.hpp | 4 +- include/MapObject/MapObjectUnkDRSN.hpp | 4 +- include/MapObject/MapObjectUnkDRST.hpp | 4 +- include/MapObject/MapObjectUnkDRTK.hpp | 4 +- include/MapObject/MapObjectUnkDRTW.hpp | 4 +- include/MapObject/MapObjectUnkDRTY.hpp | 4 +- include/MapObject/MapObjectUnkDRVC.hpp | 4 +- include/MapObject/MapObjectUnkDRVT.hpp | 4 +- include/MapObject/MapObjectUnkEBRD.hpp | 4 +- include/MapObject/MapObjectUnkEFRF.hpp | 4 +- include/MapObject/MapObjectUnkEFRS.hpp | 4 +- include/MapObject/MapObjectUnkETDD.hpp | 4 +- include/MapObject/MapObjectUnkETDK.hpp | 4 +- include/MapObject/MapObjectUnkETET.hpp | 4 +- include/MapObject/MapObjectUnkETFD.hpp | 4 +- include/MapObject/MapObjectUnkETMW.hpp | 4 +- include/MapObject/MapObjectUnkETNL.hpp | 4 +- include/MapObject/MapObjectUnkETNM.hpp | 4 +- include/MapObject/MapObjectUnkETNS.hpp | 4 +- include/MapObject/MapObjectUnkETSD.hpp | 4 +- include/MapObject/MapObjectUnkETSW.hpp | 4 +- include/MapObject/MapObjectUnkETTV.hpp | 4 +- include/MapObject/MapObjectUnkETUS.hpp | 4 +- include/MapObject/MapObjectUnkETYG.hpp | 4 +- include/MapObject/MapObjectUnkEXCT.hpp | 4 +- include/MapObject/MapObjectUnkEXHS.hpp | 4 +- include/MapObject/MapObjectUnkEXIT.hpp | 4 +- include/MapObject/MapObjectUnkEXTR.hpp | 4 +- include/MapObject/MapObjectUnkFLSP.hpp | 4 +- include/MapObject/MapObjectUnkFNCE.hpp | 4 +- include/MapObject/MapObjectUnkFRAI.hpp | 4 +- include/MapObject/MapObjectUnkFRSH.hpp | 4 +- include/MapObject/MapObjectUnkFRWL.hpp | 4 +- include/MapObject/MapObjectUnkFSCT.hpp | 4 +- include/MapObject/MapObjectUnkFSFR.hpp | 4 +- include/MapObject/MapObjectUnkFSFS.hpp | 4 +- include/MapObject/MapObjectUnkFSPS.hpp | 4 +- include/MapObject/MapObjectUnkFSSN.hpp | 4 +- include/MapObject/MapObjectUnkFSSV.hpp | 4 +- include/MapObject/MapObjectUnkFSTA.hpp | 4 +- include/MapObject/MapObjectUnkFSVC.hpp | 4 +- include/MapObject/MapObjectUnkFSWT.hpp | 4 +- include/MapObject/MapObjectUnkGATE.hpp | 4 +- include/MapObject/MapObjectUnkGBDR.hpp | 4 +- include/MapObject/MapObjectUnkGELG.hpp | 4 +- include/MapObject/MapObjectUnkGRSG.hpp | 4 +- include/MapObject/MapObjectUnkGRSV.hpp | 4 +- include/MapObject/MapObjectUnkGSST.hpp | 4 +- include/MapObject/MapObjectUnkGTAT.hpp | 4 +- include/MapObject/MapObjectUnkGTRB.hpp | 4 +- include/MapObject/MapObjectUnkGTRK.hpp | 4 +- include/MapObject/MapObjectUnkGTSN.hpp | 4 +- include/MapObject/MapObjectUnkGTTN.hpp | 4 +- include/MapObject/MapObjectUnkHOF0.hpp | 4 +- include/MapObject/MapObjectUnkHOF1.hpp | 4 +- include/MapObject/MapObjectUnkHOL0.hpp | 4 +- include/MapObject/MapObjectUnkHOL1.hpp | 4 +- include/MapObject/MapObjectUnkHOL2.hpp | 4 +- include/MapObject/MapObjectUnkHOLB.hpp | 4 +- include/MapObject/MapObjectUnkHOSB.hpp | 4 +- include/MapObject/MapObjectUnkHOSO.hpp | 4 +- include/MapObject/MapObjectUnkHOST.hpp | 4 +- include/MapObject/MapObjectUnkHOUS.hpp | 4 +- include/MapObject/MapObjectUnkHOW0.hpp | 4 +- include/MapObject/MapObjectUnkHOW1.hpp | 4 +- include/MapObject/MapObjectUnkICEB.hpp | 4 +- include/MapObject/MapObjectUnkICGR.hpp | 4 +- include/MapObject/MapObjectUnkITFL.hpp | 4 +- include/MapObject/MapObjectUnkKNBN.hpp | 4 +- include/MapObject/MapObjectUnkLEVN.hpp | 4 +- include/MapObject/MapObjectUnkLEVS.hpp | 4 +- include/MapObject/MapObjectUnkLTRW.hpp | 6 +- include/MapObject/MapObjectUnkLVCM.hpp | 4 +- include/MapObject/MapObjectUnkLVVT.hpp | 4 +- include/MapObject/MapObjectUnkMBBS.hpp | 4 +- include/MapObject/MapObjectUnkMBRG.hpp | 4 +- include/MapObject/MapObjectUnkMLVC.hpp | 4 +- include/MapObject/MapObjectUnkMSCL.hpp | 4 +- include/MapObject/MapObjectUnkMTFS.hpp | 4 +- include/MapObject/MapObjectUnkMTGT.hpp | 4 +- include/MapObject/MapObjectUnkMTIC.hpp | 4 +- include/MapObject/MapObjectUnkMTIR.hpp | 4 +- include/MapObject/MapObjectUnkMTJR.hpp | 6 +- include/MapObject/MapObjectUnkMTOR.hpp | 4 +- include/MapObject/MapObjectUnkMTWD.hpp | 4 +- include/MapObject/MapObjectUnkMTWR.hpp | 4 +- include/MapObject/MapObjectUnkMZFE.hpp | 4 +- include/MapObject/MapObjectUnkMZFX.hpp | 4 +- include/MapObject/MapObjectUnkMZTR.hpp | 4 +- include/MapObject/MapObjectUnkNPST.hpp | 4 +- include/MapObject/MapObjectUnkPLCT.hpp | 4 +- include/MapObject/MapObjectUnkPLFA.hpp | 4 +- include/MapObject/MapObjectUnkPLFM.hpp | 4 +- include/MapObject/MapObjectUnkPLFR.hpp | 4 +- include/MapObject/MapObjectUnkPLV2.hpp | 4 +- include/MapObject/MapObjectUnkPRSH.hpp | 4 +- include/MapObject/MapObjectUnkPTFL.hpp | 4 +- include/MapObject/MapObjectUnkRBBL.hpp | 4 +- include/MapObject/MapObjectUnkRBMR.hpp | 4 +- include/MapObject/MapObjectUnkRBRC.hpp | 4 +- include/MapObject/MapObjectUnkRBSR.hpp | 4 +- include/MapObject/MapObjectUnkRCFL.hpp | 4 +- include/MapObject/MapObjectUnkRDSD.hpp | 4 +- include/MapObject/MapObjectUnkRKAG.hpp | 4 +- include/MapObject/MapObjectUnkRLPT.hpp | 4 +- include/MapObject/MapObjectUnkRLSG.hpp | 4 +- include/MapObject/MapObjectUnkRNBO.hpp | 4 +- include/MapObject/MapObjectUnkRPFL.hpp | 4 +- include/MapObject/MapObjectUnkSAND.hpp | 12 +- include/MapObject/MapObjectUnkSBDE.hpp | 4 +- include/MapObject/MapObjectUnkSHWB.hpp | 4 +- include/MapObject/MapObjectUnkSKBN.hpp | 4 +- include/MapObject/MapObjectUnkSKDI.hpp | 6 +- include/MapObject/MapObjectUnkSPTB.hpp | 4 +- include/MapObject/MapObjectUnkSTAL.hpp | 4 +- include/MapObject/MapObjectUnkSTAT.hpp | 4 +- include/MapObject/MapObjectUnkSTDE.hpp | 4 +- include/MapObject/MapObjectUnkSTDS.hpp | 4 +- include/MapObject/MapObjectUnkSTIR.hpp | 4 +- include/MapObject/MapObjectUnkSTNE.hpp | 8 +- include/MapObject/MapObjectUnkSTSD.hpp | 4 +- include/MapObject/MapObjectUnkSTSF.hpp | 4 +- include/MapObject/MapObjectUnkSTSH.hpp | 4 +- include/MapObject/MapObjectUnkSTSP.hpp | 4 +- include/MapObject/MapObjectUnkSTSS.hpp | 4 +- include/MapObject/MapObjectUnkSTSV.hpp | 4 +- include/MapObject/MapObjectUnkSTTR.hpp | 4 +- include/MapObject/MapObjectUnkSWBR.hpp | 4 +- include/MapObject/MapObjectUnkSWCB.hpp | 4 +- include/MapObject/MapObjectUnkSWCR.hpp | 8 +- include/MapObject/MapObjectUnkSWEY.hpp | 4 +- include/MapObject/MapObjectUnkSWFS.hpp | 8 +- include/MapObject/MapObjectUnkSWHT.hpp | 6 +- include/MapObject/MapObjectUnkSWRA.hpp | 4 +- include/MapObject/MapObjectUnkSWRB.hpp | 4 +- include/MapObject/MapObjectUnkSWSW.hpp | 16 +- include/MapObject/MapObjectUnkSWWN.hpp | 4 +- include/MapObject/MapObjectUnkTATZ.hpp | 4 +- include/MapObject/MapObjectUnkTBSD.hpp | 4 +- include/MapObject/MapObjectUnkTBSF.hpp | 4 +- include/MapObject/MapObjectUnkTBSS.hpp | 4 +- include/MapObject/MapObjectUnkTCBT.hpp | 4 +- include/MapObject/MapObjectUnkTDBP.hpp | 4 +- include/MapObject/MapObjectUnkTDBR.hpp | 4 +- include/MapObject/MapObjectUnkTDDR.hpp | 4 +- include/MapObject/MapObjectUnkTHAW.hpp | 4 +- include/MapObject/MapObjectUnkTMDE.hpp | 4 +- include/MapObject/MapObjectUnkTMFR.hpp | 4 +- include/MapObject/MapObjectUnkTMLV.hpp | 4 +- include/MapObject/MapObjectUnkTMSB.hpp | 4 +- include/MapObject/MapObjectUnkTMSN.hpp | 4 +- include/MapObject/MapObjectUnkTMWT.hpp | 4 +- include/MapObject/MapObjectUnkTRBL.hpp | 4 +- include/MapObject/MapObjectUnkTRBM.hpp | 4 +- include/MapObject/MapObjectUnkTRBR.hpp | 4 +- include/MapObject/MapObjectUnkTRCC.hpp | 4 +- include/MapObject/MapObjectUnkTRDA.hpp | 4 +- include/MapObject/MapObjectUnkTRDR.hpp | 4 +- include/MapObject/MapObjectUnkTRDT.hpp | 4 +- include/MapObject/MapObjectUnkTRED.hpp | 4 +- include/MapObject/MapObjectUnkTREE.hpp | 4 +- include/MapObject/MapObjectUnkTREN.hpp | 4 +- include/MapObject/MapObjectUnkTRET.hpp | 4 +- include/MapObject/MapObjectUnkTREW.hpp | 4 +- include/MapObject/MapObjectUnkTRFI.hpp | 4 +- include/MapObject/MapObjectUnkTRFO.hpp | 4 +- include/MapObject/MapObjectUnkTRFS.hpp | 4 +- include/MapObject/MapObjectUnkTRFV.hpp | 4 +- include/MapObject/MapObjectUnkTRGM.hpp | 4 +- include/MapObject/MapObjectUnkTRGW.hpp | 4 +- include/MapObject/MapObjectUnkTRH0.hpp | 4 +- include/MapObject/MapObjectUnkTRH1.hpp | 4 +- include/MapObject/MapObjectUnkTRH2.hpp | 4 +- include/MapObject/MapObjectUnkTRH3.hpp | 4 +- include/MapObject/MapObjectUnkTRLD.hpp | 4 +- include/MapObject/MapObjectUnkTRLN.hpp | 4 +- include/MapObject/MapObjectUnkTRLS.hpp | 4 +- include/MapObject/MapObjectUnkTRLW.hpp | 4 +- include/MapObject/MapObjectUnkTRMA.hpp | 4 +- include/MapObject/MapObjectUnkTRMR.hpp | 4 +- include/MapObject/MapObjectUnkTRPI.hpp | 4 +- include/MapObject/MapObjectUnkTRPT.hpp | 4 +- include/MapObject/MapObjectUnkTRRA.hpp | 4 +- include/MapObject/MapObjectUnkTRRC.hpp | 4 +- include/MapObject/MapObjectUnkTRRD.hpp | 4 +- include/MapObject/MapObjectUnkTRRS.hpp | 4 +- include/MapObject/MapObjectUnkTRRW.hpp | 4 +- include/MapObject/MapObjectUnkTRSA.hpp | 4 +- include/MapObject/MapObjectUnkTRSD.hpp | 4 +- include/MapObject/MapObjectUnkTRSH.hpp | 4 +- include/MapObject/MapObjectUnkTRSR.hpp | 4 +- include/MapObject/MapObjectUnkTRSS.hpp | 4 +- include/MapObject/MapObjectUnkTRST.hpp | 4 +- include/MapObject/MapObjectUnkTRSW.hpp | 4 +- include/MapObject/MapObjectUnkTRTF.hpp | 4 +- include/MapObject/MapObjectUnkTRTS.hpp | 4 +- include/MapObject/MapObjectUnkTRWA.hpp | 4 +- include/MapObject/MapObjectUnkTRWS.hpp | 4 +- include/MapObject/MapObjectUnkTSGM.hpp | 4 +- include/MapObject/MapObjectUnkTWGS.hpp | 4 +- include/MapObject/MapObjectUnkTWPC.hpp | 4 +- include/MapObject/MapObjectUnkTWPG.hpp | 4 +- include/MapObject/MapObjectUnkWDST.hpp | 4 +- include/MapObject/MapObjectUnkWHSW.hpp | 4 +- include/MapObject/MapObjectUnkWLMP.hpp | 4 +- include/MapObject/MapObjectUnkWLMS.hpp | 8 +- include/MapObject/MapObjectUnkWPHL.hpp | 4 +- include/MapObject/MapObject_10_Pot.hpp | 6 +- include/MapObject/MapObject_ov031.hpp | 4 +- include/Message/BMG.hpp | 28 +- include/Physics/Sphere.hpp | 2 +- include/Player/LinkStateActorPush.hpp | 2 +- include/Player/LinkStateBase.hpp | 46 +-- include/Player/LinkStateDamage.hpp | 54 +-- include/Player/LinkStateGrabbed.hpp | 4 +- include/Player/LinkStateHit.hpp | 16 +- include/Player/PlayerActorBase.hpp | 184 ++++----- include/Player/PlayerGet.hpp | 12 +- include/Player/PlayerLink.hpp | 90 ++--- include/Player/PlayerPhantom.hpp | 2 +- include/Player/PlayerSceneChange.hpp | 10 +- include/Player/PlayerZelda.hpp | 6 +- include/Player/TouchControl.hpp | 10 +- include/RefStruct.hpp | 14 +- include/Render/ModelRender.hpp | 116 +++--- include/Render/Skybox.hpp | 36 +- include/Save/AdventureFlags.hpp | 10 +- include/Save/SaveFile.hpp | 22 +- include/Save/SaveManager.hpp | 24 +- include/System/OverlayManager.hpp | 4 +- include/System/Random.hpp | 12 +- include/System/SysFault.hpp | 2 +- include/System/SysNew.hpp | 20 +- include/TitleScreen/TitleScreen.hpp | 30 +- include/Unknown/Common.hpp | 200 ++++----- include/Unknown/UICounterManager.hpp | 38 +- include/Unknown/UnkFileSystem.hpp | 28 +- include/Unknown/UnkStruct_02049b18.hpp | 2 +- include/Unknown/UnkStruct_02049b80.hpp | 4 +- include/Unknown/UnkStruct_02049bac.hpp | 8 +- include/Unknown/UnkStruct_02049be0.hpp | 2 +- include/Unknown/UnkStruct_0204a060.hpp | 2 +- include/Unknown/UnkStruct_0204a088.hpp | 8 +- include/Unknown/UnkStruct_0204a110.hpp | 26 +- include/Unknown/UnkStruct_0204af1c.hpp | 6 +- include/Unknown/UnkStruct_0204e5f8.hpp | 2 +- include/Unknown/UnkStruct_027e0954.hpp | 4 +- include/Unknown/UnkStruct_027e0958.hpp | 6 +- include/Unknown/UnkStruct_027e095c.hpp | 12 +- include/Unknown/UnkStruct_027e0960.hpp | 30 +- include/Unknown/UnkStruct_027e0998.hpp | 16 +- include/Unknown/UnkStruct_027e09a0.hpp | 18 +- include/Unknown/UnkStruct_027e09a4.hpp | 72 ++-- include/Unknown/UnkStruct_027e09a8.hpp | 22 +- include/Unknown/UnkStruct_027e09ac.hpp | 8 +- include/Unknown/UnkStruct_027e09b0.hpp | 6 +- include/Unknown/UnkStruct_027e09b4.hpp | 18 +- include/Unknown/UnkStruct_027e09b8.hpp | 38 +- include/Unknown/UnkStruct_027e09bc.hpp | 38 +- include/Unknown/UnkStruct_027e09c0.hpp | 40 +- include/Unknown/UnkStruct_027e09e8.hpp | 18 +- include/Unknown/UnkStruct_027e0a48.hpp | 2 +- include/Unknown/UnkStruct_027e0b48.hpp | 2 +- include/Unknown/UnkStruct_027e0cdc.hpp | 6 +- include/Unknown/UnkStruct_027e0ce0.hpp | 270 ++++++------- include/Unknown/UnkStruct_027e0cec.hpp | 46 +-- include/Unknown/UnkStruct_027e0cf0.hpp | 2 +- include/Unknown/UnkStruct_027e0cf4.hpp | 4 +- include/Unknown/UnkStruct_027e0cf8.hpp | 96 ++--- include/Unknown/UnkStruct_027e0d00.hpp | 38 +- include/Unknown/UnkStruct_027e0d08.hpp | 18 +- include/Unknown/UnkStruct_027e0d2c.hpp | 12 +- include/Unknown/UnkStruct_027e0d30.hpp | 10 +- include/Unknown/UnkStruct_027e0d34.hpp | 32 +- include/Unknown/UnkStruct_027e0d38.hpp | 14 +- include/Unknown/UnkStruct_027e0d70.hpp | 2 +- include/Unknown/UnkStruct_027e0d8c.hpp | 8 +- include/Unknown/UnkStruct_ov000_0207f47c.hpp | 2 +- include/Unknown/UnkStruct_ov000_020b19f0.hpp | 2 +- include/Unknown/UnkStruct_ov000_020b1c10.hpp | 2 +- include/Unknown/UnkStruct_ov000_020b3000.hpp | 12 +- include/Unknown/UnkStruct_ov000_020b3268.hpp | 2 +- include/Unknown/UnkStruct_ov000_020b34c4.hpp | 2 +- include/Unknown/UnkStruct_ov000_020b4eec.hpp | 2 +- include/Unknown/UnkStruct_ov000_020b4f70.hpp | 4 +- include/Unknown/UnkStruct_ov000_020b4f84.hpp | 2 +- include/Unknown/UnkStruct_ov000_020b504c.hpp | 62 +-- include/Unknown/UnkStruct_ov000_020b50c0.hpp | 32 +- include/Unknown/UnkStruct_ov000_020b51b8.hpp | 12 +- include/Unknown/UnkStruct_ov000_020b5214.hpp | 4 +- include/Unknown/UnkStruct_ov000_020b52e8.hpp | 2 +- include/Unknown/UnkStruct_ov000_020b5300.hpp | 6 +- include/Unknown/UnkStruct_ov000_020b5340.hpp | 2 +- include/Unknown/UnkStruct_ov000_020b5d34.hpp | 20 +- include/Unknown/UnkStruct_ov003_020ba740.hpp | 2 +- include/Unknown/UnkStruct_ov016_020b8310.hpp | 4 +- include/Unknown/UnkStruct_ov017_020c3f70.hpp | 4 +- include/Unknown/UnkStruct_ov020_020e8544.hpp | 2 +- include/Unknown/UnkStruct_ov023_020f1d94.hpp | 2 +- include/Unknown/UnkStruct_ov024_020d8660.hpp | 12 +- include/Unknown/UnkStruct_ov024_020d8694.hpp | 48 +-- include/Unknown/UnkStruct_ov024_020d86a0.hpp | 10 +- include/Unknown/UnkStruct_ov026_02138d10.hpp | 2 +- include/Unknown/UnkStruct_ov026_0213f578.hpp | 2 +- include/Unknown/UnkStruct_ov031_02114870.hpp | 2 +- include/Unknown/UnkStruct_ov031_02118fa4.hpp | 2 +- include/Unknown/UnkStruct_ov031_Items.hpp | 36 +- include/Unknown/UnkStruct_ov048_021375e4.hpp | 6 +- include/Unknown/UnkStruct_ov048_02137600.hpp | 2 +- include/Unknown/UnkStruct_ov059_021641c8.hpp | 2 +- include/Unknown/UnkStruct_ov088_02177218.hpp | 2 +- include/Unknown/UnkStruct_ov089_02171540.hpp | 2 +- include/Unknown/UnkSystem1.hpp | 56 +-- include/files.h | 66 ++- include/global.h | 4 +- include/iterator.hpp | 36 +- include/math.hpp | 76 ++-- include/profile.hpp | 54 +-- include/types.h | 2 +- libs/c/include/ansi_fp.h | 4 +- libs/c/include/buffer_io.h | 4 +- libs/c/include/console_io.h | 4 +- libs/c/include/critical_regions.h | 2 +- libs/c/include/fdlibm.h | 8 +- libs/c/include/file_io.h | 4 +- libs/c/include/file_pos.h | 8 +- libs/c/include/file_struc.h | 10 +- libs/c/include/locale.h | 48 +-- libs/c/include/math.h | 16 +- libs/c/include/mbstring.h | 8 +- libs/c/include/mem.h | 10 +- libs/c/include/mem_funcs.h | 2 +- libs/c/include/printf.h | 14 +- libs/c/include/scanf.h | 4 +- libs/c/include/stdarg.h | 6 +- libs/c/include/stddef.h | 2 +- libs/c/include/stdio_api.h | 12 +- libs/c/include/string.h | 10 +- libs/c/include/wchar_io.h | 2 +- libs/c/include/wstring.h | 8 +- libs/c/src/ansi_files.c | 2 +- libs/c/src/ansi_fp.c | 50 +-- libs/c/src/buffer_io.c | 6 +- libs/c/src/file_io.c | 2 +- libs/c/src/math/e_pow.c | 6 +- libs/c/src/math/s_frexp.c | 4 +- libs/c/src/mbstring.c | 18 +- libs/c/src/mem.c | 34 +- libs/c/src/mem_funcs.c | 10 +- libs/c/src/string.c | 48 +-- libs/c/src/wmem.c | 8 +- libs/c/src/wprintf.c | 118 +++--- libs/c/src/wstring.c | 22 +- libs/cpp/include/compressed_pair.hpp | 26 +- libs/cpp/include/default_delete.hpp | 2 +- libs/cpp/include/type_traits/call_traits.hpp | 24 +- libs/cpp/src/__register_global_object.c | 6 +- libs/dsprot/include/dsprot.h | 12 +- libs/dsprot/include/dsprot/encryptor.h | 4 +- libs/dsprot/include/dsprot/rc4.h | 4 +- libs/dsprot/include/dsprot/rom_util.h | 4 +- libs/dsprot/src/dsprot_main.c | 30 +- libs/dsprot/src/encryptor.c | 32 +- libs/dsprot/src/integrity.c | 18 +- libs/dsprot/src/rc4.c | 62 +-- libs/dsprot/src/rom_util.c | 38 +- libs/nitro/include/nitro/card.h | 34 +- libs/nitro/include/nitro/dgt.h | 2 +- libs/nitro/include/nitro/fs.h | 8 +- libs/nitro/include/nitro/fs/fs_archive.h | 110 ++--- libs/nitro/include/nitro/fs/fs_command.h | 26 +- libs/nitro/include/nitro/fs/fs_dir.h | 8 +- libs/nitro/include/nitro/fs/fs_file.h | 108 ++--- libs/nitro/include/nitro/fs/fs_overlay.h | 8 +- libs/nitro/include/nitro/fx.h | 18 +- libs/nitro/include/nitro/g2.h | 68 ++-- libs/nitro/include/nitro/g3.h | 28 +- libs/nitro/include/nitro/gx.h | 84 ++-- libs/nitro/include/nitro/gx/macros.h | 39 +- libs/nitro/include/nitro/hw.h | 20 +- libs/nitro/include/nitro/math.h | 128 +++--- libs/nitro/include/nitro/mb.h | 14 +- libs/nitro/include/nitro/mi.h | 40 +- libs/nitro/include/nitro/mic.h | 4 +- libs/nitro/include/nitro/os.h | 38 +- libs/nitro/include/nitro/os/os_alarm.h | 4 +- libs/nitro/include/nitro/os/os_arena.h | 50 +-- libs/nitro/include/nitro/os/os_cache.h | 10 +- libs/nitro/include/nitro/os/os_common.h | 8 +- libs/nitro/include/nitro/os/os_cp.h | 4 +- libs/nitro/include/nitro/os/os_mutex.h | 22 +- libs/nitro/include/nitro/os/os_owner.h | 2 +- libs/nitro/include/nitro/os/os_thread.h | 56 +-- libs/nitro/include/nitro/reg.h | 234 +++++------ libs/nitro/include/nitro/rtc.h | 6 +- libs/nitro/include/nitro/snd.h | 10 +- libs/nitro/include/nitro/std.h | 12 +- libs/nitro/include/nitro/tp.h | 18 +- libs/nitro/include/nitro/wm.h | 48 +-- libs/nns/include/nns/anim.h | 12 +- libs/nns/include/nns/fnd.h | 210 +++++----- libs/nns/include/nns/font.h | 6 +- libs/nns/include/nns/g3d/g3d.h | 90 ++--- libs/nns/include/nns/g3d/sbc.h | 54 +-- libs/nns/include/nns/snd.h | 12 +- libs/nns/include/nns/text.h | 20 +- libs/nns/src/g3d/sbc.c | 138 +++---- libs/runtime/include/MWException.h | 32 +- src/000_Second/Actor/Actor.cpp | 18 +- src/000_Second/Actor/ActorEventIcon.cpp | 2 +- src/000_Second/Actor/ActorManager.cpp | 2 +- src/000_Second/Actor/ActorUnkEFIK.cpp | 4 +- src/000_Second/Actor/ActorUnkSWOB.cpp | 2 +- src/000_Second/Actor/ActorUnkSWTM.cpp | 2 +- src/000_Second/Actor/Actor_Derived1.cpp | 22 +- src/000_Second/Cutscene/Cutscene.cpp | 6 +- .../Game/GameModeManagerBase_104.cpp | 12 +- .../Game/GameModeManagerBase_104_0C.cpp | 4 +- src/000_Second/Item/ItemManager.cpp | 14 +- src/000_Second/Item/TreasureManager.cpp | 30 +- src/000_Second/MapObject/MapObject.cpp | 56 +-- .../MapObject/MapObjectManager_000.cpp | 18 +- .../MapObject/MapObjectMiniBlocks.cpp | 6 +- .../MapObject/MapObjectPot_Base.cpp | 4 +- src/000_Second/MapObject/MapObjectProfile.cpp | 30 +- .../MapObjectProfile_Derived2_20.cpp | 7 +- .../MapObject/MapObjectSwitchStep.cpp | 10 +- src/000_Second/UnkStruct_ov000_020b1c10.cpp | 2 +- src/000_Second/UnkSystem1_Base.cpp | 8 +- src/000_Second/UnkSystem1_Derived1.cpp | 4 +- src/000_Second/code_020657fc.cpp | 4 +- src/001_SceneInit/Actor/ActorManager_001.cpp | 50 +-- .../Course/CourseManager_001.cpp | 62 +-- .../Course/MapManagerBase_001.cpp | 94 ++--- src/001_SceneInit/CourseList.cpp | 20 +- .../Game/AdventureModeManager_001.cpp | 12 +- src/001_SceneInit/Game/GameModeCreate.cpp | 20 +- src/001_SceneInit/Item/Inventory_001.cpp | 12 +- .../MapObject/MapObjectManager_001.cpp | 34 +- src/001_SceneInit/PassengerManager_001.cpp | 8 +- .../Player/PlayerActorBase_001.cpp | 12 +- .../Player/PlayerActorBase_70_001.cpp | 2 +- .../Player/PlayerLinkActor_001.cpp | 16 +- src/001_SceneInit/Save/SaveManager_001.cpp | 6 +- src/001_SceneInit/SceneInitializers_001.cpp | 30 +- src/001_SceneInit/UnkStruct_0204a110_001.cpp | 7 +- src/001_SceneInit/UnkStruct_027e095c_001.cpp | 4 +- src/001_SceneInit/UnkStruct_027e09ac_001.cpp | 2 +- src/001_SceneInit/UnkStruct_027e09b4_001.cpp | 2 +- src/001_SceneInit/UnkStruct_027e09b8_001.cpp | 4 +- src/001_SceneInit/UnkStruct_027e09bc_001.cpp | 2 +- src/001_SceneInit/UnkStruct_027e09c0_001.cpp | 6 +- src/001_SceneInit/UnkStruct_027e0ce0_001.cpp | 16 +- .../UnkStruct_027e0ce0_1C_001.cpp | 60 +-- .../UnkStruct_027e0ce0_30_001.cpp | 16 +- .../UnkStruct_027e0ce0_34_001.cpp | 2 +- .../UnkStruct_027e0ce0_40_Base_001.cpp | 4 +- src/001_SceneInit/UnkStruct_027e0cec_001.cpp | 38 +- .../UnkStruct_027e0cec_18_001.cpp | 16 +- .../UnkStruct_027e0cf8_08_00_001.cpp | 2 +- src/001_SceneInit/UnkStruct_027e0d00_001.cpp | 10 +- .../UnkStruct_ov000_020b504c_001.cpp | 36 +- .../UnkStruct_ov000_020b50c0_001.cpp | 12 +- .../UnkStruct_ov020_020e8544_001.cpp | 6 +- src/001_SceneInit/ZeldaArrangeBinary.cpp | 50 +-- src/001_SceneInit/ZeldaCollisionBinary.cpp | 36 +- src/001_SceneInit/ZeldaMapBinary.cpp | 92 ++--- src/001_SceneInit/code_020bfdd0.cpp | 2 +- src/001_SceneInit/code_020bfeec.cpp | 2 +- src/001_SceneInit/code_020c099c.cpp | 2 +- .../Actor/ActorEventIcon_017.cpp | 2 +- src/017_CourseExec/Actor/ActorManager_017.cpp | 12 +- src/017_CourseExec/Actor/Actor_017.cpp | 44 +- .../Actor/code_020c201c_017.cpp | 34 +- src/017_CourseExec/CargoManager_017.cpp | 6 +- .../Game/AdventureModeManager_15C_017.cpp | 4 +- .../AdventureModeManager_15C_20_00_017.cpp | 20 +- src/017_CourseExec/ItemManager_017.cpp | 2 +- .../MapObject/MapObjectManager_017.cpp | 38 +- .../MapObject/MapObject_017.cpp | 2 +- .../Player/PlayerActorBase_70_017.cpp | 30 +- .../Player/PlayerLinkActor_017.cpp | 24 +- .../Player/PlayerLinkActor_A0_20_017.cpp | 10 +- src/017_CourseExec/Save/SaveManager_017.cpp | 20 +- .../Train/UnkStruct_027e0cf8_017.cpp | 28 +- .../UnkStackStruct_ov017_020c1104_017.cpp | 14 +- src/017_CourseExec/UnkStruct_027e09a4_017.cpp | 12 +- src/017_CourseExec/UnkStruct_027e09b4_017.cpp | 18 +- src/017_CourseExec/UnkStruct_027e09c0_017.cpp | 6 +- src/017_CourseExec/UnkStruct_027e0ce0_017.cpp | 6 +- .../UnkStruct_027e0ce0_30_017.cpp | 16 +- .../UnkStruct_027e0ce0_40_017.cpp | 24 +- .../UnkStruct_027e0ce0_40_Base_94_017.cpp | 2 +- .../UnkStruct_027e0cec_18_017.cpp | 12 +- src/017_CourseExec/code_020be2ec_017.cpp | 14 +- src/018_StartUp/GameModeStartUp.cpp | 26 +- src/018_StartUp/StartUpInitializers.cpp | 26 +- src/019_MainSelect/019_SaveManager.cpp | 44 +- src/019_MainSelect/019_UnkSubStruct9.cpp | 24 +- .../019_UnkSystem1_ov019_Derived1.cpp | 4 +- .../019_UnkSystem1_ov019_Derived2.cpp | 2 +- src/019_MainSelect/FileSelectMain.cpp | 24 +- src/019_MainSelect/FileSelectManager.cpp | 14 +- src/019_MainSelect/FileSelectManager_160.cpp | 4 +- src/019_MainSelect/FileSelectManager_164.cpp | 6 +- src/019_MainSelect/FileSelectMicTest.cpp | 32 +- src/019_MainSelect/FileSelectOptions.cpp | 44 +- src/019_MainSelect/FileSelectSubScreen.cpp | 12 +- src/019_MainSelect/GameModeFileSelect.cpp | 4 +- src/021_BattleGame/Actor/ActorUnkBAEY.cpp | 2 +- src/021_BattleGame/Actor/ActorUnkBAFO.cpp | 2 +- src/021_BattleGame/Actor/ActorUnkBAPH.cpp | 2 +- src/021_BattleGame/Actor/ActorUnkBFFN.cpp | 2 +- src/021_BattleGame/Actor/ActorUnkBPAP.cpp | 2 +- src/021_BattleGame/Actor/ActorUnkBTIR.cpp | 2 +- src/021_BattleGame/Actor/ActorUnkCLZN.cpp | 2 +- src/021_BattleGame/Actor/ActorUnkFOFA.cpp | 2 +- src/021_BattleGame/Actor/ActorUnkLVOF.cpp | 2 +- .../MapObject/MapObjectUnkBAPL.cpp | 2 +- .../MapObject/MapObjectUnkBFFL.cpp | 2 +- .../MapObject/MapObjectUnkBFSP.cpp | 2 +- src/024_MainGame/Actor/ActorUnkOBPC.cpp | 10 +- .../Actor/Actor_Derived1_EC_024.cpp | 24 +- .../Actor/UnkActorSystem1_024.cpp | 2 +- .../Actor/UnkActorSystem2_024.cpp | 4 +- .../Actor/UnkStruct_ov024_020d8660_024.cpp | 10 +- .../Game/AdventureModeManager_024.cpp | 26 +- .../AdventureModeManager_15C_20_00_024.cpp | 2 +- .../Game/AdventureModeManager_160_024.cpp | 2 +- .../Game/AdventureModeManager_170_024.cpp | 2 +- .../Game/AdventureModeManager_174_024.cpp | 2 +- .../AdventureModeManager_174_Base_024.cpp | 6 +- .../Game/AdventureModeManager_178_024.cpp | 2 +- .../AdventureModeManager_178_Base_024.cpp | 2 +- .../Game/AdventureModeManager_180_024.cpp | 16 +- .../Game/AdventureModeManager_184_024.cpp | 2 +- .../Game/AdventureModeManager_18C_024.cpp | 2 +- .../Game/AdventureModeManager_190_024.cpp | 2 +- .../AdventureModeManager_1B8_Base_024.cpp | 44 +- .../Game/GameModeAdventure_024.cpp | 8 +- src/024_MainGame/MiscAdvManager.cpp | 16 +- .../UnkStruct_ov024_020d8694_024.cpp | 12 +- .../TitleCard/UnkTitleCardSystem1_024.cpp | 56 +-- src/024_MainGame/Train/CargoManager_024.cpp | 6 +- .../Train/MapObjectProfile_Derived5.cpp | 6 +- src/024_MainGame/Train/PassengerManager.cpp | 10 +- src/024_MainGame/Train/UnkDataStruct4.cpp | 56 +-- src/024_MainGame/Train/UnkDataStruct4_14.cpp | 8 +- .../Train/UnkStruct_027e0ce0_34_024.cpp | 10 +- .../Train/UnkStruct_027e0cf8_00_0C_024.cpp | 56 +-- .../Train/UnkStruct_027e0cf8_024.cpp | 24 +- .../Train/UnkStruct_027e0cf8_08_00_024.cpp | 18 +- .../Train/UnkStruct_027e0cf8_08_024.cpp | 23 +- src/024_MainGame/Train/UnkStruct_027e0d00.cpp | 16 +- .../Train/UnkStruct_027e0d00_20.cpp | 36 +- .../Train/UnkTrainSystem1_024.cpp | 16 +- .../Train/UnkTrainSystem2_024.cpp | 6 +- src/024_MainGame/Train/code_020d51dc_024.cpp | 10 +- src/024_MainGame/UICounterManager.cpp | 30 +- .../Unknown/UnkAdventureModeSystem1_024.cpp | 4 +- .../Unknown/UnkStruct_027e0998_024.cpp | 14 +- .../Unknown/UnkStruct_027e0d08_024.cpp | 37 +- .../Unknown/UnkStruct_ov024_020d86a0_024.cpp | 6 +- src/024_MainGame/ZeldaTrainBinary.cpp | 32 +- src/025_Title/GameModeTitleScreen.cpp | 4 +- src/025_Title/TitleScreen.cpp | 34 +- src/025_Title/TitleScreenManager.cpp | 14 +- src/026_Train/Actor/ActorUnkBDEM.cpp | 2 +- src/026_Train/Actor/ActorUnkCNBL.cpp | 2 +- src/026_Train/Actor/ActorUnkDKCL.cpp | 2 +- src/026_Train/Actor/ActorUnkDKTR.cpp | 2 +- src/026_Train/Actor/ActorUnkKLTR.cpp | 2 +- src/026_Train/Actor/ActorUnkRB1T.cpp | 4 +- src/026_Train/Actor/ActorUnkRBNT.cpp | 2 +- src/026_Train/Actor/ActorUnkRBRT.cpp | 2 +- src/026_Train/Actor/ActorUnkSNST.cpp | 2 +- src/026_Train/Actor/ActorUnkTBRD.cpp | 2 +- src/026_Train/Actor/ActorUnkTCOW_WCAS.cpp | 4 +- src/026_Train/Actor/ActorUnkTFAT.cpp | 2 +- src/026_Train/Actor/ActorUnkTHER.cpp | 2 +- src/026_Train/Actor/ActorUnkTRBC.cpp | 2 +- src/026_Train/Actor/ActorUnkTRCB.cpp | 2 +- src/026_Train/Actor/ActorUnkTRSG.cpp | 2 +- src/026_Train/Actor/ActorUnkTRSP.cpp | 2 +- src/026_Train/Actor/ActorUnkTRTT.cpp | 2 +- src/026_Train/Actor/ActorUnkTRUP.cpp | 2 +- src/026_Train/Actor/ActorUnkTTET.cpp | 2 +- src/026_Train/Actor/ActorUnkTVLR.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkEBRD.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkEFRS.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkETNL.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkETSD.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkMTGT.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkMTWR.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkPLFA.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkPLFM.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkTBSF.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkTRET.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkTRPT.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkTRRC.cpp | 2 +- src/026_Train/MapObject/MapObjectUnkTRTF.cpp | 2 +- src/026_Train/code_02102924.cpp | 2 +- src/027_TrainForest/Actor/ActorUnkFKTR.cpp | 2 +- src/027_TrainForest/Actor/ActorUnkTRER.cpp | 2 +- .../MapObject/MapObjectUnkCSTL.cpp | 2 +- .../MapObject/MapObjectUnkETDK.cpp | 2 +- .../MapObject/MapObjectUnkMBRG.cpp | 2 +- .../MapObject/MapObjectUnkMZFE.cpp | 2 +- .../MapObject/MapObjectUnkTMFR.cpp | 2 +- .../MapObject/MapObjectUnkTRBR.cpp | 2 +- .../MapObject/MapObjectUnkTRDA.cpp | 2 +- .../MapObject/MapObjectUnkTRFO.cpp | 2 +- .../MapObject/MapObjectUnkTRFV.cpp | 2 +- .../MapObject/MapObjectUnkTRRA.cpp | 2 +- .../MapObject/MapObjectUnkTRSH.cpp | 2 +- src/028_TrainSnow/Actor/ActorUnkSNMA.cpp | 2 +- src/028_TrainSnow/Actor/ActorUnkSNMB.cpp | 2 +- .../MapObject/MapObjectUnkEFRF.cpp | 2 +- .../MapObject/MapObjectUnkETNS.cpp | 2 +- .../MapObject/MapObjectUnkETSW.cpp | 2 +- .../MapObject/MapObjectUnkRBSR.cpp | 2 +- .../MapObject/MapObjectUnkRLPT.cpp | 2 +- .../MapObject/MapObjectUnkTMSN.cpp | 2 +- .../MapObject/MapObjectUnkTRBM.cpp | 2 +- .../MapObject/MapObjectUnkTRFS.cpp | 2 +- .../MapObject/MapObjectUnkTRH0.cpp | 2 +- .../MapObject/MapObjectUnkTRMA.cpp | 2 +- .../MapObject/MapObjectUnkTRRS.cpp | 2 +- .../MapObject/MapObjectUnkTRSR.cpp | 2 +- .../MapObject/MapObjectUnkTRSS.cpp | 2 +- .../MapObject/MapObjectUnkTRTS.cpp | 2 +- src/029_TrainWater/Actor/ActorUnkBLJF.cpp | 2 +- src/029_TrainWater/Actor/ActorUnkDLPN.cpp | 2 +- src/029_TrainWater/Actor/ActorUnkMDYG.cpp | 2 +- src/029_TrainWater/Actor/ActorUnkPRSP.cpp | 2 +- .../MapObject/MapObjectUnkRBBL.cpp | 2 +- .../MapObject/MapObjectUnkSBDE.cpp | 2 +- .../MapObject/MapObjectUnkSTDE.cpp | 2 +- .../MapObject/MapObjectUnkTBSS.cpp | 2 +- .../MapObject/MapObjectUnkTCBT.cpp | 2 +- .../MapObject/MapObjectUnkTMDE.cpp | 2 +- .../MapObject/MapObjectUnkTMWT.cpp | 2 +- .../MapObject/MapObjectUnkTRBL.cpp | 2 +- .../MapObject/MapObjectUnkTRH1.cpp | 2 +- .../MapObject/MapObjectUnkTRPI.cpp | 2 +- .../MapObject/MapObjectUnkTRRD.cpp | 2 +- .../MapObject/MapObjectUnkTRRW.cpp | 2 +- .../MapObject/MapObjectUnkTRSA.cpp | 2 +- .../MapObject/MapObjectUnkTRWA.cpp | 2 +- .../MapObject/MapObjectUnkWHSW.cpp | 2 +- src/030_TrainFlame/Actor/ActorUnkFDKY.cpp | 2 +- src/030_TrainFlame/Actor/ActorUnkGOVT.cpp | 2 +- src/030_TrainFlame/Actor/ActorUnkHELA.cpp | 2 +- src/030_TrainFlame/Actor/ActorUnkHLMG.cpp | 2 +- src/030_TrainFlame/Actor/ActorUnkSGMG.cpp | 2 +- src/030_TrainFlame/Actor/ActorUnkTTFT.cpp | 2 +- src/030_TrainFlame/Actor/ActorUnkWKTR.cpp | 2 +- .../MapObject/MapObjectUnkETTV.cpp | 2 +- .../MapObject/MapObjectUnkTRFI.cpp | 2 +- .../MapObject/MapObjectUnkTRGM.cpp | 2 +- .../MapObject/MapObjectUnkTRH2.cpp | 2 +- .../MapObject/MapObjectUnkTRH3.cpp | 2 +- .../MapObject/MapObjectUnkTRST.cpp | 2 +- src/031_Land/Actor/ActorBlast.cpp | 14 +- src/031_Land/Actor/ActorBomb.cpp | 82 ++-- src/031_Land/Actor/ActorCharacter.cpp | 12 +- src/031_Land/Actor/ActorHeart.cpp | 16 +- src/031_Land/Actor/ActorItemBoomerang.cpp | 48 +-- src/031_Land/Actor/ActorItemDrop.cpp | 20 +- src/031_Land/Actor/ActorItemFlower.cpp | 2 +- src/031_Land/Actor/ActorItemTornado.cpp | 28 +- src/031_Land/Actor/ActorPot.cpp | 2 +- src/031_Land/Actor/ActorRollingStone.cpp | 30 +- src/031_Land/Actor/ActorRupee.cpp | 20 +- src/031_Land/Actor/ActorShotArrow.cpp | 79 ++-- src/031_Land/Actor/ActorUnkATTG.cpp | 6 +- src/031_Land/Actor/ActorUnkCLLT.cpp | 8 +- src/031_Land/Actor/ActorUnkEFSB.cpp | 2 +- src/031_Land/Actor/ActorUnkFLEN.cpp | 4 +- src/031_Land/Actor/ActorUnkMLCK.cpp | 12 +- src/031_Land/Actor/ActorUnkNFSP.cpp | 16 +- src/031_Land/Actor/ActorUnkNORE.cpp | 4 +- src/031_Land/Actor/ActorUnkNTTZ.cpp | 6 +- src/031_Land/Actor/ActorUnkRMTG.cpp | 6 +- src/031_Land/Actor/ActorUnkROCK.cpp | 4 +- src/031_Land/Actor/ActorUnkSCCN.cpp | 10 +- src/031_Land/Actor/ActorUnkSKDO.cpp | 8 +- src/031_Land/Actor/ActorUnkSWBM.cpp | 30 +- src/031_Land/Actor/ActorUnkSWCH.cpp | 2 +- src/031_Land/Actor/ActorUnkSWON.cpp | 2 +- src/031_Land/Actor/ActorUnkTGTZ.cpp | 20 +- src/031_Land/Actor/ActorUnkTLKT.cpp | 8 +- src/031_Land/Actor/ActorUnkZLSL_ZSRS.cpp | 120 +++--- src/031_Land/Course/MapManagerLand.cpp | 34 +- .../Course/UnkStruct_027e0cd8_0C_1D0_031.cpp | 12 +- .../MapObject/MapObjectBombFlower.cpp | 10 +- src/031_Land/MapObject/MapObjectChestBase.cpp | 26 +- src/031_Land/MapObject/MapObjectDoorBase.cpp | 20 +- src/031_Land/MapObject/MapObjectDoorClick.cpp | 10 +- .../MapObject/MapObjectDoorDangerSpawn.cpp | 50 +-- src/031_Land/MapObject/MapObjectDoorKey.cpp | 4 +- .../MapObject/MapObjectDoorSwitch.cpp | 6 +- src/031_Land/MapObject/MapObjectDoorTouch.cpp | 4 +- src/031_Land/MapObject/MapObjectGrass.cpp | 8 +- src/031_Land/MapObject/MapObjectPot.cpp | 12 +- .../MapObject/MapObjectTreasureSpawned.cpp | 6 +- src/031_Land/MapObject/MapObjectUnkBLCC.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkBREX.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkCRWL.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkEXIT.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkGATE.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkGSST.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkITFL.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkRLSG.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkSAND.cpp | 6 +- src/031_Land/MapObject/MapObjectUnkSKBN.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkSKDI.cpp | 24 +- src/031_Land/MapObject/MapObjectUnkSPTB.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkSTIR.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkSTSP.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkSWFS.cpp | 6 +- src/031_Land/MapObject/MapObjectUnkSWHT.cpp | 10 +- src/031_Land/MapObject/MapObjectUnkTATZ.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkTRED.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkTREN.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkTREW.cpp | 2 +- src/031_Land/MapObject/MapObjectUnkTRWS.cpp | 2 +- src/031_Land/Player/LinkStateDamage_031.cpp | 20 +- src/031_Land/Player/LinkStateGrabbed_031.cpp | 10 +- src/031_Land/Player/LinkStateHit_031.cpp | 46 +-- src/031_Land/Player/LinkStateHit_BC_031.cpp | 8 +- src/031_Land/Player/PlayerActors_031.cpp | 6 +- .../Player/PlayerLinkActor_A0_031.cpp | 36 +- .../Player/PlayerLinkActor_A0_14_031.cpp | 4 +- src/031_Land/Render/SkyboxLand.cpp | 14 +- src/031_Land/UnkStruct_027e0ce0_40_031.cpp | 24 +- .../UnkStruct_027e0ce0_40_Base_78_031.cpp | 12 +- .../UnkStruct_027e0ce0_40_Base_7C_04_031.cpp | 6 +- src/031_Land/UnkStruct_027e0d2c_031.cpp | 6 +- src/031_Land/UnkStruct_027e0d30_031.cpp | 4 +- src/031_Land/UnkStruct_027e0d34.cpp | 30 +- src/031_Land/UnkStruct_027e0d38.cpp | 6 +- .../UnkStruct_ItemManager_20_00_031.cpp | 14 +- src/031_Land/UnkStruct_ItemManager_20_031.cpp | 2 +- .../UnkStruct_ItemManager_20_04_031.cpp | 12 +- .../UnkStruct_ItemManager_20_04_08_031.cpp | 10 +- .../UnkStruct_ItemManager_20_04_32C_031.cpp | 35 +- .../UnkStruct_ItemManager_20_08_031.cpp | 6 +- .../UnkStruct_ItemManager_20_0C_031.cpp | 6 +- .../UnkStruct_ItemManager_20_10_031.cpp | 2 +- src/031_Land/UnkStruct_ov031_02112b40_031.cpp | 16 +- .../UnkStruct_ov031_Items_01_Derived1.cpp | 2 +- .../UnkStruct_ov031_Items_01_Derived2.cpp | 2 +- src/031_Land/UnkStruct_ov031_Items_02_031.cpp | 2 +- src/031_Land/code_020d9c64_031.cpp | 14 +- src/031_Land/code_020db0fc_031.cpp | 4 +- src/032_MapA1/Actor/ActorFleeingSpinut.cpp | 84 ++-- src/032_MapA1/Actor/ActorKeese.cpp | 66 ++- src/032_MapA1/Actor/ActorSpinut.cpp | 40 +- src/032_MapA1/Actor/ActorUnkNSSW.cpp | 61 ++- src/032_MapA1/MapObject/MapObjectUnkSWSW.cpp | 38 +- src/033_MapA2/Actor/ActorUnkRCFO.cpp | 34 +- src/033_MapA2/MapObject/MapObjectUnkDOPA.cpp | 2 +- src/033_MapA2/MapObject/MapObjectUnkRCFL.cpp | 2 +- src/034_MapA3/Actor/ActorUnkBSFC.cpp | 2 +- src/034_MapA3/Actor/ActorUnkFCHL.cpp | 2 +- src/034_MapA3/Actor/ActorUnkRMM1.cpp | 2 +- src/034_MapA3/Actor/ActorUnkTRLY.cpp | 2 +- src/034_MapA3/Actor/ActorUnkTRRL.cpp | 2 +- src/034_MapA3/MapObject/MapObjectUnkGELG.cpp | 2 +- src/034_MapA3/MapObject/MapObjectUnkTRSW.cpp | 2 +- src/034_MapA3/MapObject/MapObjectUnkWPHL.cpp | 2 +- src/035_MapA4/Actor/ActorUnkFIFI.cpp | 2 +- src/035_MapA4/Actor/ActorUnkFIMA.cpp | 2 +- src/035_MapA4/Actor/ActorUnkFIML.cpp | 2 +- src/035_MapA4/Actor/ActorUnkFMAS_FMLS.cpp | 4 +- src/036_MapA5/Actor/ActorUnkCAMY.cpp | 2 +- src/036_MapA5/Actor/ActorUnkFOMY.cpp | 2 +- src/036_MapA5/Actor/ActorUnkGORY.cpp | 2 +- src/036_MapA5/Actor/ActorUnkRMST.cpp | 2 +- src/036_MapA5/Actor/ActorUnkSHIT.cpp | 6 +- src/036_MapA5/Actor/ActorUnkTEHT.cpp | 2 +- src/036_MapA5/Actor/ActorUnkTERY.cpp | 2 +- src/036_MapA5/Actor/ActorUnkWAWY.cpp | 2 +- src/036_MapA5/Actor/ActorUnkYUKY.cpp | 2 +- src/037_MapA6/Actor/ActorUnkSOLF.cpp | 2 +- src/037_MapA6/Actor/ActorUnkSOLT.cpp | 2 +- src/037_MapA6/Actor/ActorUnkTUTO.cpp | 2 +- src/038_MapA7/Actor/ActorUnkBLBL.cpp | 2 +- src/038_MapA7/Actor/ActorUnkBLBR.cpp | 2 +- src/038_MapA7/Actor/ActorUnkGRCF.cpp | 2 +- src/038_MapA7/Actor/ActorUnkPLSR.cpp | 2 +- src/038_MapA7/Actor/ActorUnkWWFS.cpp | 2 +- src/038_MapA7/MapObject/MapObjectUnkBLSR.cpp | 2 +- src/038_MapA7/MapObject/MapObjectUnkFSSN.cpp | 2 +- src/038_MapA7/MapObject/MapObjectUnkSWBR.cpp | 2 +- src/039_MapA8/Actor/ActorUnkRMM4.cpp | 2 +- .../Actor/ActorUnkSIRO_SIRS_SRNM_SRSL.cpp | 8 +- src/039_MapA8/Actor/ActorUnkZELD.cpp | 2 +- src/039_MapA8/Actor/ActorUnkZLSS.cpp | 2 +- src/039_MapA8/MapObject/MapObjectUnkGTAT.cpp | 2 +- ...OMR_FOMS_FOPD_GOCP_GORP_NCCA_NCCS_WAMA.cpp | 26 +- src/040_MapB1/Actor/ActorUnkFTRN.cpp | 2 +- src/040_MapB1/Actor/ActorUnkOLDS.cpp | 2 +- src/040_MapB1/Actor/ActorUnkTMNP.cpp | 2 +- .../Actor/ActorUnkYKAP_YKCP_YKEP.cpp | 6 +- src/040_MapB1/Actor/ActorUnkZSTG.cpp | 2 +- src/040_MapB1/MapObject/MapObjectUnkFRAI.cpp | 2 +- src/040_MapB1/MapObject/MapObjectUnkFSTA.cpp | 2 +- src/041_MapB2/Actor/ActorUnkKEYB.cpp | 2 +- src/041_MapB2/Actor/ActorUnkKEYT.cpp | 2 +- src/041_MapB2/Actor/ActorUnkKGDB.cpp | 2 +- src/041_MapB2/Actor/ActorUnkKGDN.cpp | 2 +- src/041_MapB2/Actor/ActorUnkRPMT.cpp | 2 +- src/041_MapB2/MapObject/MapObjectUnkDRBK.cpp | 2 +- src/041_MapB2/MapObject/MapObjectUnkDRMC.cpp | 2 +- src/041_MapB2/MapObject/MapObjectUnkDRTK.cpp | 2 +- src/042_MapB3/Actor/ActorUnkMIFR.cpp | 2 +- src/042_MapB3/Actor/ActorUnkOCTA.cpp | 2 +- src/042_MapB3/Actor/ActorUnkOCTS.cpp | 2 +- src/042_MapB3/Actor/ActorUnkPHEY.cpp | 2 +- src/042_MapB3/Actor/ActorUnkPMTT.cpp | 2 +- src/042_MapB3/MapObject/MapObjectUnkSWRA.cpp | 2 +- src/043_MapB4/Actor/ActorUnkSHDL.cpp | 2 +- src/043_MapB4/Actor/ActorUnkSTFB.cpp | 2 +- src/043_MapB4/Actor/ActorUnkSTFH.cpp | 2 +- src/043_MapB4/Actor/ActorUnkSTLF.cpp | 2 +- src/044_MapB5/Actor/ActorUnkIBBA.cpp | 2 +- src/044_MapB5/Actor/ActorUnkIBSP.cpp | 2 +- src/044_MapB5/Actor/ActorUnkICBB.cpp | 2 +- src/044_MapB5/Actor/ActorUnkL2MT.cpp | 2 +- src/044_MapB5/Actor/ActorUnkL2V1.cpp | 2 +- src/044_MapB5/Actor/ActorUnkL2V2.cpp | 2 +- src/044_MapB5/Actor/ActorUnkRBL2.cpp | 2 +- src/045_MapB6/Actor/ActorUnkBDBA.cpp | 2 +- src/045_MapB6/Actor/ActorUnkBDGA.cpp | 2 +- src/045_MapB6/Actor/ActorUnkBDLB.cpp | 2 +- src/045_MapB6/Actor/ActorUnkRMBD.cpp | 2 +- src/045_MapB6/Actor/ActorUnkWPCL.cpp | 2 +- src/045_MapB6/MapObject/MapObjectUnkRDSD.cpp | 2 +- src/046_MapB7/Actor/ActorUnkWBN2.cpp | 2 +- src/046_MapB7/Actor/ActorUnkWBTN.cpp | 2 +- src/046_MapB7/Actor/ActorUnkWTH2.cpp | 2 +- src/046_MapB7/Actor/ActorUnkWTH3.cpp | 2 +- src/046_MapB7/Actor/ActorUnkWTTH.cpp | 2 +- src/047_MapC1/Actor/ActorUnkDLTG.cpp | 2 +- src/047_MapC1/Actor/ActorUnkEVCH.cpp | 2 +- src/047_MapC1/Actor/ActorUnkFLDK.cpp | 2 +- src/047_MapC1/Actor/ActorUnkGHOS.cpp | 2 +- src/048_MapC2/Actor/ActorUnkPBK2.cpp | 2 +- src/048_MapC2/Actor/ActorUnkPSBK.cpp | 2 +- src/048_MapC2/MapObject/MapObjectUnkDRTW.cpp | 2 +- src/048_MapC2/UnkStruct_ov048_02137600.cpp | 2 +- src/049_MapC3/Actor/ActorUnkBEEE.cpp | 2 +- src/049_MapC3/Actor/ActorUnkBEEH.cpp | 2 +- src/049_MapC3/Actor/ActorUnkCRCH.cpp | 2 +- src/049_MapC3/Actor/ActorUnkCROW.cpp | 2 +- src/049_MapC3/Actor/ActorUnkPOST.cpp | 2 +- src/049_MapC3/Actor/ActorUnkPTMN.cpp | 2 +- src/050_MapC4/Actor/ActorUnkFRTN.cpp | 2 +- src/050_MapC4/Actor/ActorUnkKMOH.cpp | 2 +- src/050_MapC4/Actor/ActorUnkKMOS.cpp | 2 +- src/050_MapC4/MapObject/MapObjectUnkGTTN.cpp | 2 +- src/051_MapC5/Actor/ActorUnkGYAM.cpp | 2 +- src/052_MapC6/Actor/ActorUnkNAVI.cpp | 2 +- src/052_MapC6/Actor/ActorUnkPTSW.cpp | 2 +- src/052_MapC6/Actor/ActorUnkSTLW.cpp | 2 +- src/052_MapC6/Actor/ActorUnkSTWH.cpp | 2 +- src/053_MapD1/Actor/ActorUnkLIKE.cpp | 2 +- src/053_MapD1/Actor/ActorUnkRAT0.cpp | 2 +- src/054_MapD2/Actor/ActorUnkFBBF.cpp | 2 +- src/054_MapD2/Actor/ActorUnkFBBH.cpp | 2 +- src/054_MapD2/Actor/ActorUnkFIBB.cpp | 2 +- src/055_MapD3/Actor/ActorUnkCHUC.cpp | 2 +- src/055_MapD3/Actor/ActorUnkRCHU.cpp | 2 +- src/055_MapD3/Actor/ActorUnkRCMS.cpp | 2 +- src/056_MapD4/Actor/ActorUnkFSIR.cpp | 2 +- src/056_MapD4/Actor/ActorUnkPASS.cpp | 2 +- src/056_MapD4/MapObject/MapObjectUnkFSVC.cpp | 2 +- src/057_MapD5/Actor/ActorUnkELVT.cpp | 2 +- src/057_MapD5/Actor/ActorUnkFSSF.cpp | 2 +- src/057_MapD5/Actor/ActorUnkFSST.cpp | 2 +- src/057_MapD5/Actor/ActorUnkGTTG.cpp | 2 +- src/057_MapD5/Actor/ActorUnkHYSW.cpp | 2 +- src/057_MapD5/Actor/ActorUnkRMFK.cpp | 2 +- src/057_MapD5/MapObject/MapObjectUnkTRLN.cpp | 2 +- src/058_Field/Actor/ActorKenzo.cpp | 24 +- src/058_Field/Actor/ActorLokomos.cpp | 108 ++--- src/058_Field/Actor/ActorUnkBSTG.cpp | 2 +- src/058_Field/Actor/ActorUnkFBRD.cpp | 2 +- src/058_Field/Actor/ActorUnkFBSC.cpp | 2 +- src/058_Field/Actor/ActorUnkKOAT.cpp | 2 +- src/058_Field/Actor/ActorUnkKOCH.cpp | 2 +- src/058_Field/Actor/ActorUnkKOKO.cpp | 2 +- src/058_Field/Actor/ActorUnkNSTN.cpp | 2 +- src/058_Field/Actor/ActorUnkTMNA.cpp | 2 +- src/058_Field/Actor/ActorUnkTMNC.cpp | 2 +- src/058_Field/Actor/ActorUnkWPCH.cpp | 2 +- src/058_Field/Actor/ActorWhipBird.cpp | 48 +-- src/058_Field/MapObject/MapObjectUnkBBFL.cpp | 2 +- src/058_Field/MapObject/MapObjectUnkDRHS.cpp | 2 +- src/058_Field/MapObject/MapObjectUnkEXHS.cpp | 2 +- src/058_Field/MapObject/MapObjectUnkGRSV.cpp | 2 +- src/058_Field/MapObject/MapObjectUnkHOST.cpp | 2 +- src/058_Field/MapObject/MapObjectUnkHOUS.cpp | 2 +- src/058_Field/MapObject/MapObjectUnkKNBN.cpp | 2 +- src/058_Field/MapObject/MapObjectUnkLEVS.cpp | 2 +- src/058_Field/MapObject/MapObjectUnkMSCL.cpp | 2 +- src/058_Field/MapObject/MapObjectUnkSTNE.cpp | 10 +- src/058_Field/MapObject/MapObjectUnkSWCB.cpp | 2 +- src/058_Field/MapObject/MapObjectUnkTREE.cpp | 2 +- src/059_InTrain/Actor/ActorUnkCAGE.cpp | 2 +- src/059_InTrain/Actor/ActorUnkPBSP.cpp | 2 +- src/059_InTrain/Actor/ActorUnkPSBS.cpp | 2 +- src/059_InTrain/Actor/ActorUnkPSEM.cpp | 2 +- src/059_InTrain/Actor/ActorUnkPSNP.cpp | 2 +- src/059_InTrain/Actor/ActorUnkRMTB.cpp | 2 +- src/059_InTrain/Actor/ActorUnkRMTR.cpp | 2 +- src/059_InTrain/Actor/ActorUnkRMVD.cpp | 2 +- src/059_InTrain/Actor/ActorUnkRMVF.cpp | 2 +- src/059_InTrain/Actor/ActorUnkRMVS.cpp | 2 +- src/059_InTrain/Actor/ActorUnkRMVT.cpp | 2 +- src/059_InTrain/Actor/ActorUnkRMVV.cpp | 2 +- src/059_InTrain/Actor/ActorUnkRMVW.cpp | 2 +- .../MapObject/MapObjectUnkEXTR.cpp | 2 +- src/060_Castle/Actor/ActorUnkCASL.cpp | 2 +- src/060_Castle/Actor/ActorUnkCAST.cpp | 2 +- src/060_Castle/Actor/ActorUnkCOMM.cpp | 2 +- src/060_Castle/Actor/ActorUnkKIMA.cpp | 2 +- src/060_Castle/Actor/ActorUnkOLDM.cpp | 2 +- src/060_Castle/Actor/ActorUnkRMC0.cpp | 2 +- src/060_Castle/Actor/ActorUnkRMC1.cpp | 2 +- src/060_Castle/Actor/ActorUnkRMC2.cpp | 2 +- src/060_Castle/Actor/ActorUnkRMC3.cpp | 2 +- src/060_Castle/Actor/ActorUnkRMC4.cpp | 2 +- src/060_Castle/Actor/ActorUnkRMC5.cpp | 2 +- src/060_Castle/Actor/ActorUnkRMC6.cpp | 2 +- .../Actor/ActorUnkSOGB_SOGC_SOLG.cpp | 6 +- .../Actor/ActorUnkSOLB_SOLC_SOLD.cpp | 6 +- src/060_Castle/Actor/ActorUnkZLSN.cpp | 2 +- src/060_Castle/MapObject/MapObjectUnkDFNC.cpp | 2 +- src/060_Castle/MapObject/MapObjectUnkEXCT.cpp | 2 +- src/060_Castle/MapObject/MapObjectUnkPLCT.cpp | 2 +- .../Actor/ActorUnkCAMA_CAMB_CAMS.cpp | 6 +- src/061_CastleTown/Actor/ActorUnkCAWA.cpp | 2 +- src/061_CastleTown/Actor/ActorUnkFLCT.cpp | 2 +- src/061_CastleTown/Actor/ActorUnkJOLN.cpp | 2 +- src/061_CastleTown/Actor/ActorUnkRMT0.cpp | 2 +- src/061_CastleTown/Actor/ActorUnkRMT1.cpp | 2 +- src/061_CastleTown/Actor/ActorUnkRMT2.cpp | 2 +- src/061_CastleTown/Actor/ActorUnkRMT3.cpp | 2 +- src/061_CastleTown/Actor/ActorUnkRMT4.cpp | 2 +- .../MapObject/MapObjectUnkDRTY.cpp | 2 +- .../MapObject/MapObjectUnkFSCT.cpp | 2 +- src/062_Village/Actor/ActorUnkFBCH.cpp | 2 +- src/062_Village/Actor/ActorUnkLBCK.cpp | 2 +- src/062_Village/Actor/ActorUnkMOCT.cpp | 2 +- src/062_Village/Actor/ActorUnkNCCB_NCMB.cpp | 4 +- src/062_Village/Actor/ActorUnkNCWA.cpp | 2 +- src/062_Village/Actor/ActorUnkNICO.cpp | 2 +- src/062_Village/Actor/ActorUnkNSHD.cpp | 2 +- src/062_Village/Actor/ActorUnkRMBC.cpp | 2 +- src/062_Village/Actor/ActorUnkRML0.cpp | 2 +- src/062_Village/Actor/ActorUnkRML1.cpp | 2 +- src/062_Village/Actor/ActorUnkRML2.cpp | 2 +- src/062_Village/Actor/ActorUnkRML3.cpp | 2 +- src/062_Village/Actor/ActorUnkRMLF.cpp | 2 +- src/062_Village/Actor/ActorUnkTSLB.cpp | 2 +- .../MapObject/MapObjectUnkFSFS.cpp | 2 +- .../MapObject/MapObjectUnkGBDR.cpp | 2 +- .../MapObject/MapObjectUnkHOL0.cpp | 2 +- .../MapObject/MapObjectUnkHOL1.cpp | 2 +- .../MapObject/MapObjectUnkHOL2.cpp | 2 +- .../MapObject/MapObjectUnkHOLB.cpp | 2 +- .../MapObject/MapObjectUnkHOSB.cpp | 2 +- src/063_Shrine/Actor/ActorLobarrier.cpp | 112 +++--- src/063_Shrine/Actor/ActorLobarrierShield.cpp | 50 +-- src/063_Shrine/Actor/ActorUnkRBLS.cpp | 2 +- src/063_Shrine/Actor/ActorUnkRMSD.cpp | 6 +- src/063_Shrine/Actor/ActorUnkRMSF.cpp | 6 +- src/063_Shrine/Actor/ActorUnkRMSS.cpp | 6 +- src/063_Shrine/Actor/ActorUnkRMSV.cpp | 6 +- src/063_Shrine/Actor/ActorUnkRMSW.cpp | 6 +- src/063_Shrine/MapObject/MapObjectUnkLTRW.cpp | 8 +- src/063_Shrine/MapObject/MapObjectUnkMTJR.cpp | 4 +- src/063_Shrine/MapObject/MapObjectUnkSTAT.cpp | 8 +- src/063_Shrine/MapObject/MapObjectUnkSWCR.cpp | 14 +- src/063_Shrine/MapObject/MapObjectUnkWLMS.cpp | 38 +- src/064_FldForest/Actor/ActorUnkFOMD.cpp | 2 +- src/064_FldForest/Actor/ActorUnkRMF0.cpp | 2 +- src/064_FldForest/Actor/ActorUnkRMF1.cpp | 2 +- src/064_FldForest/Actor/ActorUnkRMTZ.cpp | 2 +- .../MapObject/MapObjectUnkFSFR.cpp | 2 +- .../MapObject/MapObjectUnkHOF0.cpp | 2 +- .../MapObject/MapObjectUnkHOF1.cpp | 2 +- .../MapObject/MapObjectUnkLEVN.cpp | 2 +- src/065_FldSnow/Actor/ActorUnkRMS0.cpp | 2 +- src/065_FldSnow/Actor/ActorUnkRMS1.cpp | 2 +- src/065_FldSnow/Actor/ActorUnkRMS2.cpp | 2 +- src/065_FldSnow/Actor/ActorUnkRMS3.cpp | 2 +- src/065_FldSnow/Actor/ActorUnkRMS4.cpp | 2 +- src/065_FldSnow/Actor/ActorUnkRMS5.cpp | 2 +- src/065_FldSnow/Actor/ActorUnkRMTE.cpp | 2 +- src/065_FldSnow/Actor/ActorUnkYUKI.cpp | 2 +- src/065_FldSnow/Actor/ActorUnkYWIS.cpp | 2 +- .../MapObject/MapObjectUnkHOSO.cpp | 2 +- .../MapObject/MapObjectUnkMTIC.cpp | 2 +- .../MapObject/MapObjectUnkTSGM.cpp | 2 +- src/066_FldWater/Actor/ActorUnkRMW0.cpp | 2 +- src/066_FldWater/Actor/ActorUnkRMW1.cpp | 2 +- src/066_FldWater/Actor/ActorUnkSWHI.cpp | 2 +- src/066_FldWater/Actor/ActorUnkVCCH.cpp | 2 +- src/066_FldWater/Actor/ActorUnkVCFT.cpp | 38 +- src/066_FldWater/Actor/ActorUnkWAWA_WAWC.cpp | 4 +- src/066_FldWater/Actor/ActorUnkWAWB_WAWS.cpp | 4 +- .../MapObject/MapObjectUnkFSWT.cpp | 2 +- .../MapObject/MapObjectUnkHOW0.cpp | 2 +- .../MapObject/MapObjectUnkHOW1.cpp | 2 +- .../MapObject/MapObjectUnkMTFS.cpp | 2 +- src/067_FldFlame/Actor/ActorUnkDMFT.cpp | 2 +- src/067_FldFlame/Actor/ActorUnkDMGN.cpp | 2 +- .../Actor/ActorUnkGOCA_GOCB_GORK_GORM.cpp | 8 +- src/067_FldFlame/Actor/ActorUnkGORS.cpp | 2 +- src/067_FldFlame/Actor/ActorUnkRMV0.cpp | 2 +- src/067_FldFlame/Actor/ActorUnkRMV1.cpp | 2 +- .../MapObject/MapObjectUnkBRGL.cpp | 2 +- .../MapObject/MapObjectUnkDRGN.cpp | 2 +- .../MapObject/MapObjectUnkDRVT.cpp | 2 +- .../MapObject/MapObjectUnkLVVT.cpp | 2 +- .../MapObject/MapObjectUnkMTIR.cpp | 2 +- .../MapObject/MapObjectUnkMTOR.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkAJAI.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkAJBS.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkAJCR.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkAJEM.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkAJET.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkAJMN.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkAJNP.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkAJSP.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkAJTM.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkMGAJ.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkRMA0.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkRMA1.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkRMA2.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkRMA3.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkRMAJ.cpp | 2 +- src/068_FldAjito/Actor/ActorUnkTSCN.cpp | 2 +- .../MapObject/MapObjectUnkDRVC.cpp | 2 +- .../MapObject/MapObjectUnkRKAG.cpp | 2 +- src/069_FldRabbit/Actor/ActorUnkBANI.cpp | 2 +- src/069_FldRabbit/Actor/ActorUnkRB1F.cpp | 2 +- src/069_FldRabbit/Actor/ActorUnkRBRP.cpp | 2 +- .../MapObject/MapObjectUnkGTRB.cpp | 2 +- src/070_Dungeon/Actor/ActorUnkALEV.cpp | 2 +- src/070_Dungeon/Actor/ActorUnkBMHN.cpp | 2 +- src/070_Dungeon/Actor/ActorUnkBROW.cpp | 2 +- src/070_Dungeon/Actor/ActorUnkENGE.cpp | 2 +- src/070_Dungeon/Actor/ActorUnkKEYN.cpp | 4 +- src/070_Dungeon/Actor/ActorUnkLIRA.cpp | 2 +- src/070_Dungeon/Actor/ActorUnkRCSG.cpp | 2 +- src/070_Dungeon/Actor/ActorUnkRYAW.cpp | 2 +- src/070_Dungeon/Actor/ActorUnkSWDS.cpp | 2 +- src/070_Dungeon/Actor/ActorUnkTRAP.cpp | 2 +- .../MapObject/MapObjectUnkARWL.cpp | 2 +- .../MapObject/MapObjectUnkBLCK.cpp | 2 +- .../MapObject/MapObjectUnkBLRB.cpp | 2 +- .../MapObject/MapObjectUnkDRST.cpp | 2 +- .../MapObject/MapObjectUnkFLSP.cpp | 2 +- .../MapObject/MapObjectUnkFRWL.cpp | 2 +- .../MapObject/MapObjectUnkFSPS.cpp | 2 +- .../MapObject/MapObjectUnkPTFL.cpp | 2 +- .../MapObject/MapObjectUnkSTSH.cpp | 2 +- .../MapObject/MapObjectUnkSWEY.cpp | 2 +- .../MapObject/MapObjectUnkSWRB.cpp | 2 +- .../MapObject/MapObjectUnkSWWN.cpp | 2 +- .../MapObject/MapObjectUnkTRLD.cpp | 2 +- .../MapObject/MapObjectUnkTRLS.cpp | 2 +- .../MapObject/MapObjectUnkTRLW.cpp | 2 +- src/071_Tower/Actor/ActorTearLight.cpp | 33 +- src/071_Tower/Actor/ActorUnkKMSO.cpp | 2 +- src/071_Tower/MapObject/MapObjectUnkBLCE.cpp | 2 +- src/071_Tower/MapObject/MapObjectUnkBLCT.cpp | 2 +- src/071_Tower/MapObject/MapObjectUnkBRGS.cpp | 2 +- src/071_Tower/MapObject/MapObjectUnkRNBO.cpp | 2 +- src/071_Tower/MapObject/MapObjectUnkRPFL.cpp | 2 +- src/071_Tower/MapObject/MapObjectUnkSTAL.cpp | 2 +- src/072_TowerLobby/Actor/ActorUnkRMM0.cpp | 2 +- src/072_TowerLobby/Actor/ActorUnkRMM3.cpp | 2 +- src/073_BossDeago/Actor/ActorUnkBDEA.cpp | 2 +- src/073_BossDeago/Actor/ActorUnkDGPC.cpp | 2 +- src/074_BossLast1/Actor/ActorUnkBKST.cpp | 2 +- src/074_BossLast1/Actor/ActorUnkBSKM.cpp | 2 +- src/074_BossLast1/Actor/ActorUnkKIMB.cpp | 2 +- src/074_BossLast1/Actor/ActorUnkMAGR.cpp | 2 +- src/074_BossLast1/Actor/ActorUnkPPPM.cpp | 2 +- src/074_BossLast1/Actor/ActorUnkRBL1.cpp | 2 +- src/074_BossLast1/Actor/ActorUnkZLBB.cpp | 2 +- src/074_BossLast1/Actor/ActorUnkZLBS.cpp | 2 +- src/075_BossLast2/Actor/ActorUnkMABL.cpp | 2 +- src/075_BossLast2/Actor/ActorUnkMRD2.cpp | 4 +- src/075_BossLast2/Actor/ActorUnkMRDA_MRDO.cpp | 4 +- src/075_BossLast2/Actor/ActorUnkMRDL.cpp | 2 +- src/076_DgnLv1/Actor/ActorUnkBGOK.cpp | 2 +- src/077_DgnForest/Actor/ActorUnkASBA.cpp | 2 +- src/077_DgnForest/Actor/ActorUnkASYU.cpp | 2 +- src/077_DgnForest/Actor/ActorUnkBBLE.cpp | 2 +- src/077_DgnForest/Actor/ActorUnkDSFR.cpp | 2 +- src/077_DgnForest/Actor/ActorUnkGOKI.cpp | 2 +- src/077_DgnForest/Actor/ActorUnkOFSW.cpp | 2 +- src/077_DgnForest/Actor/ActorUnkPMST.cpp | 2 +- .../MapObject/MapObjectUnkGTRK.cpp | 2 +- .../MapObject/MapObjectUnkPLFR.cpp | 2 +- src/078_BossForest/Actor/ActorUnkFRBS.cpp | 2 +- src/078_BossForest/Actor/ActorUnkRBFR.cpp | 2 +- .../MapObject/MapObjectUnkSTSF.cpp | 2 +- src/079_DgnSnow/Actor/ActorUnkDSSN.cpp | 2 +- src/079_DgnSnow/Actor/ActorUnkOCTW.cpp | 2 +- src/079_DgnSnow/Actor/ActorUnkOCWS.cpp | 2 +- src/079_DgnSnow/Actor/ActorUnkPSBL.cpp | 4 +- src/079_DgnSnow/Actor/ActorUnkSSFC.cpp | 2 +- .../MapObject/MapObjectUnkBLHL.cpp | 2 +- .../MapObject/MapObjectUnkDRSN.cpp | 2 +- .../MapObject/MapObjectUnkFSSV.cpp | 2 +- .../MapObject/MapObjectUnkGTSN.cpp | 2 +- .../MapObject/MapObjectUnkICGR.cpp | 2 +- src/080_BossSnow/Actor/ActorUnkICBA.cpp | 2 +- src/080_BossSnow/Actor/ActorUnkICBS.cpp | 4 +- src/080_BossSnow/Actor/ActorUnkRBSN.cpp | 2 +- .../MapObject/MapObjectUnkSTSS.cpp | 2 +- src/081_DgnLv3/Actor/ActorUnkPRPL.cpp | 2 +- src/081_DgnLv3/Actor/ActorUnkPRPP.cpp | 2 +- src/081_DgnLv3/MapObject/MapObjectUnkPRSH.cpp | 2 +- src/082_DgnWater/Actor/ActorUnkDSWT.cpp | 2 +- src/082_DgnWater/Actor/ActorUnkEWHI.cpp | 2 +- src/082_DgnWater/Actor/ActorUnkWHMA.cpp | 2 +- src/083_BossWater/Actor/ActorUnkEFR3.cpp | 2 +- src/083_BossWater/Actor/ActorUnkEFW3.cpp | 2 +- src/083_BossWater/Actor/ActorUnkNPWC.cpp | 2 +- src/083_BossWater/Actor/ActorUnkRBWS.cpp | 2 +- src/083_BossWater/Actor/ActorUnkRBWT.cpp | 2 +- src/083_BossWater/Actor/ActorUnkWBEF.cpp | 2 +- src/083_BossWater/Actor/ActorUnkWBPS.cpp | 2 +- src/083_BossWater/Actor/ActorUnkWTBS.cpp | 2 +- .../MapObject/MapObjectUnkSHWB.cpp | 2 +- src/084_BossFlame/Actor/ActorUnkDSVC.cpp | 2 +- src/084_BossFlame/Actor/ActorUnkFIRB.cpp | 2 +- src/084_BossFlame/Actor/ActorUnkITSC.cpp | 2 +- src/084_BossFlame/Actor/ActorUnkIWTS.cpp | 4 +- src/084_BossFlame/Actor/ActorUnkLAVA.cpp | 2 +- src/084_BossFlame/Actor/ActorUnkLBRC.cpp | 2 +- src/084_BossFlame/Actor/ActorUnkLVBD.cpp | 2 +- src/084_BossFlame/Actor/ActorUnkRBVC.cpp | 2 +- src/084_BossFlame/Actor/ActorUnkWIDR.cpp | 2 +- src/084_BossFlame/Actor/ActorUnkWIDT.cpp | 2 +- .../MapObject/MapObjectUnkLVCM.cpp | 2 +- .../MapObject/MapObjectUnkMLVC.cpp | 2 +- .../MapObject/MapObjectUnkPLV2.cpp | 2 +- .../MapObject/MapObjectUnkSTSV.cpp | 2 +- .../MapObject/MapObjectUnkTMLV.cpp | 2 +- src/085_DgnLv5/Actor/ActorUnkGRCM.cpp | 2 +- src/085_DgnLv5/Actor/ActorUnkSRST.cpp | 2 +- src/085_DgnLv5/MapObject/MapObjectUnkCTPT.cpp | 2 +- src/086_DgnDesert/Actor/ActorUnkDSDS.cpp | 2 +- src/086_DgnDesert/Actor/ActorUnkEFSC.cpp | 2 +- src/086_DgnDesert/Actor/ActorUnkHAMN.cpp | 2 +- src/086_DgnDesert/Actor/ActorUnkOCGS.cpp | 2 +- src/086_DgnDesert/Actor/ActorUnkOCTG.cpp | 2 +- src/086_DgnDesert/Actor/ActorUnkQKSD.cpp | 2 +- src/086_DgnDesert/Actor/ActorUnkQKTG.cpp | 2 +- src/086_DgnDesert/Actor/ActorUnkRMDS.cpp | 2 +- src/086_DgnDesert/Actor/ActorUnkRNTN.cpp | 2 +- .../MapObject/MapObjectUnkDRBR.cpp | 2 +- .../MapObject/MapObjectUnkDRRS.cpp | 2 +- .../MapObject/MapObjectUnkGRSG.cpp | 2 +- .../MapObject/MapObjectUnkSTDS.cpp | 2 +- src/087_BossDesert/Actor/ActorUnkDSBB.cpp | 2 +- src/087_BossDesert/Actor/ActorUnkDSBH.cpp | 2 +- src/087_BossDesert/Actor/ActorUnkDSBN.cpp | 2 +- src/087_BossDesert/Actor/ActorUnkRBD2.cpp | 2 +- src/087_BossDesert/Actor/ActorUnkRBDS.cpp | 2 +- .../MapObject/MapObjectUnkSTSD.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMCH.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMEQ.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMET.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMFR.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMGM.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMMM.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMMS.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMMT.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMPK.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMPS.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMSS.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMST.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMT2.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMTR.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMWS.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMWT.cpp | 2 +- src/088_Stb/Actor/ActorUnkDMZS.cpp | 2 +- src/088_Stb/Actor/ActorUnkRMDO.cpp | 2 +- src/088_Stb/Actor/ActorUnkRMM2.cpp | 2 +- src/090_TrainNormal/Actor/ActorUnkE3GL.cpp | 2 +- src/090_TrainNormal/Actor/ActorUnkE3ST.cpp | 2 +- src/090_TrainNormal/Actor/ActorUnkE3TT.cpp | 2 +- src/090_TrainNormal/Actor/ActorUnkSPID.cpp | 2 +- src/090_TrainNormal/Actor/ActorUnkSZRD.cpp | 2 +- src/090_TrainNormal/Actor/ActorUnkWDBA.cpp | 2 +- src/090_TrainNormal/Actor/ActorUnkWDRD.cpp | 2 +- .../MapObject/MapObjectUnkETNM.cpp | 2 +- .../MapObject/MapObjectUnkNPST.cpp | 2 +- .../MapObject/MapObjectUnkRBMR.cpp | 2 +- .../MapObject/MapObjectUnkRBRC.cpp | 2 +- .../MapObject/MapObjectUnkSTTR.cpp | 2 +- .../MapObject/MapObjectUnkTRCC.cpp | 2 +- .../MapObject/MapObjectUnkTRDT.cpp | 2 +- .../MapObject/MapObjectUnkTRGW.cpp | 2 +- .../MapObject/MapObjectUnkTRMR.cpp | 2 +- .../MapObject/MapObjectUnkTRSD.cpp | 2 +- .../MapObject/MapObjectUnkTWGS.cpp | 2 +- .../MapObject/MapObjectUnkTWPC.cpp | 2 +- .../MapObject/MapObjectUnkTWPG.cpp | 2 +- src/091_TrainExtra/Actor/ActorUnkBMOC.cpp | 2 +- src/091_TrainExtra/Actor/ActorUnkCTFS.cpp | 2 +- src/091_TrainExtra/Actor/ActorUnkMZCT.cpp | 2 +- src/091_TrainExtra/Actor/ActorUnkNLTR.cpp | 2 +- src/091_TrainExtra/Actor/ActorUnkSEFS.cpp | 2 +- src/091_TrainExtra/Actor/ActorUnkSMCT.cpp | 2 +- src/091_TrainExtra/Actor/ActorUnkSTCT.cpp | 2 +- src/091_TrainExtra/Actor/ActorUnkTPDO.cpp | 2 +- src/091_TrainExtra/Actor/ActorUnkTRIC.cpp | 2 +- src/091_TrainExtra/Actor/ActorUnkTSMT.cpp | 2 +- src/091_TrainExtra/Actor/ActorUnkTTKB.cpp | 2 +- src/091_TrainExtra/Actor/ActorUnkTTUT.cpp | 2 +- .../MapObject/MapObjectUnkBOGN.cpp | 2 +- .../MapObject/MapObjectUnkETUS.cpp | 2 +- .../MapObject/MapObjectUnkFRSH.cpp | 2 +- .../MapObject/MapObjectUnkMZFX.cpp | 2 +- .../MapObject/MapObjectUnkMZTR.cpp | 2 +- .../MapObject/MapObjectUnkTMSB.cpp | 2 +- src/092_TrainDark/Actor/ActorUnkDKCB.cpp | 2 +- src/092_TrainDark/Actor/ActorUnkMABC.cpp | 2 +- src/092_TrainDark/Actor/ActorUnkMAFI.cpp | 2 +- src/092_TrainDark/Actor/ActorUnkMARG.cpp | 2 +- src/092_TrainDark/Actor/ActorUnkMATR.cpp | 2 +- src/092_TrainDark/Actor/ActorUnkMBCC.cpp | 2 +- src/092_TrainDark/Actor/ActorUnkMTFB.cpp | 2 +- src/092_TrainDark/Actor/ActorUnkMTFL.cpp | 2 +- src/092_TrainDark/Actor/ActorUnkMTWP.cpp | 2 +- src/092_TrainDark/Actor/ActorUnkSZKL.cpp | 2 +- src/092_TrainDark/Actor/ActorUnkTDKT.cpp | 2 +- src/092_TrainDark/Actor/ActorUnkTEVT.cpp | 2 +- .../MapObject/MapObjectUnkETDD.cpp | 2 +- .../MapObject/MapObjectUnkETET.cpp | 2 +- .../MapObject/MapObjectUnkETFD.cpp | 2 +- .../MapObject/MapObjectUnkETMW.cpp | 2 +- .../MapObject/MapObjectUnkETYG.cpp | 2 +- .../MapObject/MapObjectUnkTBSD.cpp | 2 +- .../MapObject/MapObjectUnkTDBP.cpp | 2 +- .../MapObject/MapObjectUnkTDBR.cpp | 2 +- .../MapObject/MapObjectUnkTDDR.cpp | 2 +- .../MapObject/MapObjectUnkTRDR.cpp | 2 +- src/093_PlayerSub/Actor/ActorUnkBLON.cpp | 2 +- src/093_PlayerSub/Actor/ActorUnkPHTM.cpp | 2 +- src/093_PlayerSub/Actor/ActorUnkPMTB.cpp | 2 +- src/093_PlayerSub/Actor/ActorUnkPMTC.cpp | 2 +- src/093_PlayerSub/Actor/ActorUnkPMTD.cpp | 2 +- src/093_PlayerSub/Actor/ActorUnkSPTT.cpp | 2 +- src/093_PlayerSub/Actor/ActorUnkTCAM.cpp | 2 +- src/094_Land2/Actor/ActorUnkEFOC.cpp | 2 +- src/094_Land2/Actor/ActorUnkEFR2.cpp | 2 +- src/094_Land2/Actor/ActorUnkEFW2.cpp | 2 +- src/094_Land2/Actor/ActorUnkFBRG.cpp | 2 +- src/094_Land2/Actor/ActorUnkKOTA.cpp | 26 +- src/094_Land2/Actor/ActorUnkLOCK.cpp | 2 +- src/094_Land2/Actor/ActorUnkMNCB.cpp | 2 +- src/094_Land2/Actor/ActorUnkPCTG.cpp | 2 +- src/094_Land2/Actor/ActorUnkPSWB.cpp | 36 +- src/094_Land2/Actor/ActorUnkSNOW.cpp | 2 +- src/094_Land2/Actor/ActorUnkSPTG.cpp | 2 +- src/094_Land2/Actor/ActorUnkSTTG.cpp | 8 +- src/094_Land2/Actor/ActorUnkSYRN.cpp | 2 +- src/094_Land2/Actor/ActorUnkVLCR.cpp | 2 +- src/094_Land2/Actor/ActorUnkVRGN.cpp | 2 +- src/094_Land2/MapObject/MapObjectUnkBRGW.cpp | 2 +- src/094_Land2/MapObject/MapObjectUnkCLMN.cpp | 2 +- src/094_Land2/MapObject/MapObjectUnkFNCE.cpp | 2 +- src/094_Land2/MapObject/MapObjectUnkICEB.cpp | 2 +- src/094_Land2/MapObject/MapObjectUnkMBBS.cpp | 2 +- src/094_Land2/MapObject/MapObjectUnkMTWD.cpp | 2 +- src/094_Land2/MapObject/MapObjectUnkTHAW.cpp | 2 +- src/094_Land2/MapObject/MapObjectUnkWDST.cpp | 2 +- src/094_Land2/MapObject/MapObjectUnkWLMP.cpp | 2 +- src/096_PlayerZelda/Actor/ActorUnkBPBS.cpp | 2 +- src/096_PlayerZelda/Actor/ActorUnkCLBT.cpp | 2 +- src/096_PlayerZelda/Actor/ActorUnkLZET.cpp | 2 +- src/096_PlayerZelda/Actor/ActorUnkTKYT.cpp | 2 +- src/098_MapWater/Actor/ActorUnkEFRI.cpp | 2 +- src/098_MapWater/Actor/ActorUnkEFRP.cpp | 2 +- src/098_MapWater/Actor/ActorUnkEFWI.cpp | 2 +- src/098_MapWater/Actor/ActorUnkEFWV.cpp | 2 +- src/098_MapWater/Actor/ActorUnkSEAT.cpp | 2 +- src/099_MapLava/Actor/ActorUnkE3LV.cpp | 2 +- src/099_MapLava/Actor/ActorUnkEFRL.cpp | 2 +- src/099_MapLava/Actor/ActorUnkEFWL.cpp | 2 +- src/099_MapLava/Actor/ActorUnkVOLV.cpp | 2 +- .../Course/MapManagerLand_101.cpp | 10 +- .../Item/ItemManager_101.cpp | 2 +- .../Player/PlayerLinkActor_A0_1C_101.cpp | 4 +- .../UnkStruct_027e09a4_54_101.cpp | 16 +- .../UnkStruct_027e0ce0_40_101.cpp | 10 +- src/102_CourseExecLand/ActorUnkMLCK_102.cpp | 4 +- .../MapObjectUnkSAND_102.cpp | 14 +- .../UnkStruct_027e0ce0_40_102.cpp | 42 +- src/105_PlayerWhip/Actor/ActorUnkITWP.cpp | 2 +- src/110_PlayerGet/PlayerGet.cpp | 58 +-- .../PlayerSceneChange.cpp | 81 ++-- .../PlayerSceneChange2.cpp | 13 +- src/ITCM/ITCM_ActorManager.cpp | 4 +- src/ITCM/ITCM_MapObjectManager.cpp | 12 +- src/Main/Game/Game.cpp | 6 +- src/Main/Game/GameModeManagerBase.cpp | 34 +- src/Main/LinkList.cpp | 18 +- src/Main/Main.cpp | 44 +- src/Main/Player/TouchControl.cpp | 10 +- src/Main/System/OverlayManager.cpp | 4 +- src/Main/System/SysFault.cpp | 4 +- src/Main/System/SysNew.cpp | 24 +- src/Main/UnkFileSystem.cpp | 14 +- src/Main/UnkStruct_0204a060.cpp | 2 +- src/Main/func_02017ea4.cpp | 4 +- 1887 files changed, 8939 insertions(+), 8969 deletions(-) diff --git a/.clang-format b/.clang-format index c003be79f..e688374c5 100644 --- a/.clang-format +++ b/.clang-format @@ -1,6 +1,6 @@ BasedOnStyle: LLVM IndentWidth: 4 -ColumnLimit: 127 +ColumnLimit: 128 AllowShortFunctionsOnASingleLine: Empty AllowShortIfStatementsOnASingleLine: false @@ -34,3 +34,5 @@ BraceWrapping: AfterControlStatement: Never InsertNewlineAtEOF: true + +PointerAlignment: Left diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8b2ebb4c2..f96328df0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-case-conflict - id: check-executables-have-shebangs @@ -19,6 +19,6 @@ repos: - --markdown-linebreak-ext=md - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v19.1.5 + rev: v23.1.5 hooks: - id: clang-format diff --git a/include/Actor/Actor.hpp b/include/Actor/Actor.hpp index fc5e3ec0c..7033505a3 100644 --- a/include/Actor/Actor.hpp +++ b/include/Actor/Actor.hpp @@ -52,13 +52,13 @@ class ActorParams { class UnkStruct_ov000_020b539c { public: /* 00 */ ActorParams mUnk_00; - /* 30 */ ActorProfile *mUnk_30; + /* 30 */ ActorProfile* mUnk_30; /* 34 */ - ActorProfile **func_ov000_02073dc(); - ActorProfile **func_ov000_02073e8(); - ActorProfile *GetProfileFromId(ActorId actorId); - void func_ov000_02097444(ActorId actorId, ActorParams *pParams, unk32 param3); + ActorProfile** func_ov000_02073dc(); + ActorProfile** func_ov000_02073e8(); + ActorProfile* GetProfileFromId(ActorId actorId); + void func_ov000_02097444(ActorId actorId, ActorParams* pParams, unk32 param3); }; class Actor_C4; @@ -112,7 +112,7 @@ class Actor_9C { /* 00 */ virtual void vfunc_00(); // corresponds to func_ov000_02097c14 /* 04 */ virtual unk32 vfunc_04(RefStruct param1, unk32 param2, unk32 param3, - unk32 *param4) override; // corresponds to func_ov000_02097c20 + unk32* param4) override; // corresponds to func_ov000_02097c20 /* 08 */ Actor_9C(); @@ -157,14 +157,14 @@ class UnkStruct_ActorLobarrier_224 { } void Destroy() { - for (UnkSystem7 *ptr = this->mUnk_00; ptr != &this->mUnk_00[ARRAY_LEN(this->mUnk_00)]; ++ptr) { + for (UnkSystem7* ptr = this->mUnk_00; ptr != &this->mUnk_00[ARRAY_LEN(this->mUnk_00)]; ++ptr) { ptr->func_ov000_020a0334(); } this->mUnk_08.Init(); } - void func_ov000_020998f0(RefStruct ref, VecFx32 *pPos); + void func_ov000_020998f0(RefStruct ref, VecFx32* pPos); void func_ov000_02099a0c(); }; @@ -180,11 +180,11 @@ class Actor { /* 28 */ UnkAngleStruct mAngle; /* 2A */ unk16 mUnk_2A; /* 2C */ unk32 mUnk_2C; // gravity? - /* 30 */ Sphere *mUnk_30; - /* 34 */ Sphere *mUnk_34; - /* 38 */ Actor_38 *mUnk_38; // wrong type, points to Actor_Derived1_94 - /* 3C */ Actor_9C *mUnk_3C; - /* 40 */ Actor_C4 *mUnk_40; + /* 30 */ Sphere* mUnk_30; + /* 34 */ Sphere* mUnk_34; + /* 38 */ Actor_38* mUnk_38; // wrong type, points to Actor_Derived1_94 + /* 3C */ Actor_9C* mUnk_3C; + /* 40 */ Actor_C4* mUnk_40; /* 44 */ u16 mUnk_44; /* 46 */ unk16 mUnk_46; /* 48 */ s16 mUnk_48; @@ -192,29 +192,29 @@ class Actor { /* 4C */ ActorState mState; /* 4E */ fx16 mYOffset; /* 50 */ Timer mTimer; // generic timer, used for stunned time, drop expiration, ... - /* 54 */ UnkStruct_ActorLobarrier_224 *mUnk_54; + /* 54 */ UnkStruct_ActorLobarrier_224* mUnk_54; /* 58 */ ActorFlags mFlags[1]; /* 5C */ ActorParams mUnk_5C; /* 8C */ RefStruct mRef; - /* 90 */ ActorProfile *mpProfile; + /* 90 */ ActorProfile* mpProfile; /* 94 */ - /* 00 */ virtual void GetOffsetPos(VecFx32 *pPos) const; + /* 00 */ virtual void GetOffsetPos(VecFx32* pPos) const; /* 04 */ virtual bool vfunc_04(); /* 08 */ virtual unk16 vfunc_08(); /* 0C */ virtual unk8 vfunc_0C(); - /* 10 */ virtual void vfunc_10(Sphere *param1) const; - /* 14 */ virtual bool vfunc_14(Cylinder *param1); + /* 10 */ virtual void vfunc_10(Sphere* param1) const; + /* 14 */ virtual bool vfunc_14(Cylinder* param1); /* 18 */ virtual bool Init(unk32 param1); /* 1C */ virtual void Setup(); /* 20 */ virtual void Update(); /* 24 */ virtual void vfunc_24(); - /* 28 */ virtual void vfunc_28(Actor_vfunc_30 *param1); + /* 28 */ virtual void vfunc_28(Actor_vfunc_30* param1); /* 2C */ virtual void vfunc_2C(unk32 param1); - /* 30 */ virtual void vfunc_30(Actor_vfunc_30 *param1); + /* 30 */ virtual void vfunc_30(Actor_vfunc_30* param1); /* 34 */ virtual unk32 vfunc_34(); /* 38 */ virtual bool Grab(ActorGrabParams grabParams); - /* 3C */ virtual bool Drop(ActorGrabParams grabParams, const VecFx32 *pVel); + /* 3C */ virtual bool Drop(ActorGrabParams grabParams, const VecFx32* pVel); /* 40 */ virtual void vfunc_40(); /* 44 */ virtual void vfunc_44(); /* 48 */ virtual bool vfunc_48(PlayerType playerType); @@ -224,7 +224,7 @@ class Actor { bool func_01fff5d0(unk32 param1, unk32 param2); void ResetFlags() { - *(u32 *) this->mFlags = 0; + *(u32*) this->mFlags = 0; } void Kill() { @@ -279,7 +279,7 @@ class Actor { ActorId GetActorId(); // overlay 0 - void func_ov000_0209848c(ActorProfile *param1); + void func_ov000_0209848c(ActorProfile* param1); void func_ov000_020984b0(); void func_ov000_020984b4(); void func_ov000_020984b8(); @@ -292,66 +292,66 @@ class Actor { unk32 func_ov000_0209867c(unk32 param1); u32 func_ov000_02098800(PlayerType playerType); bool func_ov000_02098838(); - unk32 func_ov000_02098910(UnkStruct_ov031_Items_00 *param1, unk32 param2); - void func_ov000_02098b8c(unk32 param1, UnkStruct_ov031_Items_00 *param2); - s32 func_ov000_02098518(unk32 *param1); - VecFx32 *func_ov000_0209853c(PlayerType playerType); + unk32 func_ov000_02098910(UnkStruct_ov031_Items_00* param1, unk32 param2); + void func_ov000_02098b8c(unk32 param1, UnkStruct_ov031_Items_00* param2); + s32 func_ov000_02098518(unk32* param1); + VecFx32* func_ov000_0209853c(PlayerType playerType); s32 func_ov000_02098554(); s16 func_ov000_0209856c(); s8 func_ov000_02098578(); s32 func_ov000_02098584(); - s32 func_ov000_020985f0(void *param1); + s32 func_ov000_020985f0(void* param1); void func_ov000_0209862c(unk32 param1); bool func_ov000_020986fc(unk32 param1); void func_ov000_020989e0(); - void func_ov000_02098a18(Sphere *param1); + void func_ov000_02098a18(Sphere* param1); bool func_ov000_02098a60(unk32 param1); void func_ov000_02098a88(unk32 param1, unk32 param2); void func_ov000_0209a008(unk32 param1, fx16 param2); - u32 func_ov000_02098ab4(u8 param1, unk32 param2, unk32 param3, VecFx32 *param4); + u32 func_ov000_02098ab4(u8 param1, unk32 param2, unk32 param3, VecFx32* param4); - static unk32 func_ov000_0207df88(const UnkStruct_ov031_020e5d18_00 *param1, const Sphere *param2, unk32 param3); - static unk32 func_ov000_0207e294(const RefStruct *pRef, Sphere *param1); - static void func_ov000_020973f4(RefStruct *pOutRef, UnkStruct_ov000_020b539c *param2, ActorId actorId, - ActorParams *pParams, int param5); + static unk32 func_ov000_0207df88(const UnkStruct_ov031_020e5d18_00* param1, const Sphere* param2, unk32 param3); + static unk32 func_ov000_0207e294(const RefStruct* pRef, Sphere* param1); + static void func_ov000_020973f4(RefStruct* pOutRef, UnkStruct_ov000_020b539c* param2, ActorId actorId, ActorParams* pParams, + int param5); // overlay 17 bool func_ov017_020beeec(unk32 param1); bool func_ov017_020bef4c(unk32 param1); - void func_ov017_020bef88(Actor_vfunc_30 *param1, UnkStruct_ov019_020d24c8_28_258_00 *param2, unk32 param3); - void func_ov017_020bf024(Actor_vfunc_30 *param1); - void func_ov017_020bf050(Actor_9C *param1, unk32 param2); - void func_ov017_020bf178(Actor_9C *param1, unk32 param2); - void func_ov017_020bf284(VecFx32 *param1, VecFx32 param2); - void func_ov017_020bf2d8(Actor_9C *param1, unk32 param2); + void func_ov017_020bef88(Actor_vfunc_30* param1, UnkStruct_ov019_020d24c8_28_258_00* param2, unk32 param3); + void func_ov017_020bf024(Actor_vfunc_30* param1); + void func_ov017_020bf050(Actor_9C* param1, unk32 param2); + void func_ov017_020bf178(Actor_9C* param1, unk32 param2); + void func_ov017_020bf284(VecFx32* param1, VecFx32 param2); + void func_ov017_020bf2d8(Actor_9C* param1, unk32 param2); void func_ov017_020bf3e0(unk32 param1, fx32 param2); void func_ov017_020bf4b0(unk32 param1); void func_ov017_020bf574(unk32 param1, unk32 param2); - void func_ov017_020bf5c4(VecFx32 *param1, unk32 param2, unk32 param3, unk32 param4, s16 param5); - void func_ov017_020bf634(const VecFx32 *param1, u16 param2, unk32 param3); + void func_ov017_020bf5c4(VecFx32* param1, unk32 param2, unk32 param3, unk32 param4, s16 param5); + void func_ov017_020bf634(const VecFx32* param1, u16 param2, unk32 param3); void func_ov017_020bf688(); - void func_ov017_020bf710(UnkStruct_ActorLobarrier_224 *param1, const VecFx32 *param2, u16 param3); + void func_ov017_020bf710(UnkStruct_ActorLobarrier_224* param1, const VecFx32* param2, u16 param3); void func_ov017_020bf7a8(); - void func_ov017_020bf894(UnkStruct_ActorLobarrier_224 *param1); + void func_ov017_020bf894(UnkStruct_ActorLobarrier_224* param1); void func_ov017_020bf99c(); - void func_ov017_020bf9c8(Actor *param1); - void func_ov017_020bfa50(VecFx32 *param1, unk32 param2); + void func_ov017_020bf9c8(Actor* param1); + void func_ov017_020bfa50(VecFx32* param1, unk32 param2); void func_ov017_020bfad4(); - void func_ov017_020bfb18(Actor_9C *param1); - bool func_ov017_020bfd9c(Vec2s *param1, unk32 param2, UnkStruct_027e09bc_0C *param3, - AABB *param4); //! TODO: param4's type not confirmed but probably correct - - static void func_ov017_020c2038(RefStruct *pRef, unk32 param2, unk32 param3, const VecFx32 *param4, unk32 param5); - static bool func_ov017_020c219c(unk32 param1, const VecFx32 *param2, unk32 param3, bool param4); - static bool func_ov017_020c2310(const VecFx32 *param1, unk32 param2); - static bool func_ov017_020c23a4(unk32 param1, const VecFx32 *param2, unk32 param3, bool param4); - static void func_ov017_020c2438(RefStruct *pRef, unk32 param2, const VecFx32 *param3, unk32 param4, bool param5); - static void func_ov017_020c26f8(unk32 param1, const VecFx32 *param2, unk32 param3, bool param4); - static void func_ov017_020c28b4(VecFx32 *param1, UnkAngleStruct param2, unk32 param3); + void func_ov017_020bfb18(Actor_9C* param1); + bool func_ov017_020bfd9c(Vec2s* param1, unk32 param2, UnkStruct_027e09bc_0C* param3, + AABB* param4); //! TODO: param4's type not confirmed but probably correct + + static void func_ov017_020c2038(RefStruct* pRef, unk32 param2, unk32 param3, const VecFx32* param4, unk32 param5); + static bool func_ov017_020c219c(unk32 param1, const VecFx32* param2, unk32 param3, bool param4); + static bool func_ov017_020c2310(const VecFx32* param1, unk32 param2); + static bool func_ov017_020c23a4(unk32 param1, const VecFx32* param2, unk32 param3, bool param4); + static void func_ov017_020c2438(RefStruct* pRef, unk32 param2, const VecFx32* param3, unk32 param4, bool param5); + static void func_ov017_020c26f8(unk32 param1, const VecFx32* param2, unk32 param3, bool param4); + static void func_ov017_020c28b4(VecFx32* param1, UnkAngleStruct param2, unk32 param3); // overlay 48 - unk32 func_ov048_02130790(unk32, VecFx32 *, unk32); - unk32 func_ov048_02130aa4(VecFx32 *); + unk32 func_ov048_02130790(unk32, VecFx32*, unk32); + unk32 func_ov048_02130aa4(VecFx32*); // overlay 71 (might be temporary) void func_ov071_021540ac(unk32 param1); @@ -360,7 +360,7 @@ class Actor { class Actor_C4_Base { public: - Actor_C4_Base(void *param1, unk32 param2); + Actor_C4_Base(void* param1, unk32 param2); }; class Actor_C4 : public Actor_C4_Base { @@ -372,23 +372,23 @@ class Actor_C4 : public Actor_C4_Base { /* 14 */ unk32 mUnk_14; /* 18 */ unk32 mUnk_18; /* 1C */ unk32 mUnk_1C; - /* 20 */ Actor *mUnk_20; + /* 20 */ Actor* mUnk_20; /* 24 */ /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2); /* 04 */ virtual bool vfunc_04(); /* 08 */ virtual void vfunc_08(); - /* 0C */ virtual void vfunc_0C(VecFx32 *param1); + /* 0C */ virtual void vfunc_0C(VecFx32* param1); /* 10 */ - template T *GetActorPtr() { - return (T *) this->mUnk_20; + template T* GetActorPtr() { + return (T*) this->mUnk_20; } - Actor_C4(Actor *param1) : + Actor_C4(Actor* param1) : Actor_C4_Base(¶m1->mRef, 0) {} - Actor_C4(Actor *param1, unk32 param2) : + Actor_C4(Actor* param1, unk32 param2) : Actor_C4_Base(¶m1->mRef, param2) {} }; @@ -406,23 +406,23 @@ class Actor_Derived2 : public Actor { /* 00 (base) */ /* 94 */ unk32 mUnk_94; /* 98 */ VecFx32 mUnk_98; - /* A4 */ const VecFx32 *mUnk_A4; - /* A8 */ const Actor_Derived2_A8 *mUnk_A8; + /* A4 */ const VecFx32* mUnk_A4; + /* A8 */ const Actor_Derived2_A8* mUnk_A8; /* AC */ unk8 mUnk_AC; /* AD */ unk8 mUnk_AD; /* AE */ Actor_Derived2(); - /* 30 */ virtual void vfunc_30(Actor_vfunc_30 *param1); + /* 30 */ virtual void vfunc_30(Actor_vfunc_30* param1); /* 4C */ WEAK virtual ~Actor_Derived2() {} /* 54 */ virtual void vfunc_54(unk32 param1); - unk32 func_ov000_02098d7c(Actor_9C *param2); - void func_ov000_02098f34(VecFx32 *); - void func_ov000_020990c0(Actor_9C *param1, unk32 param2, unk32 param3); + unk32 func_ov000_02098d7c(Actor_9C* param2); + void func_ov000_02098f34(VecFx32*); + void func_ov000_020990c0(Actor_9C* param1, unk32 param2, unk32 param3); void func_ov000_020992dc(); - unk32 func_ov000_02099450(UnkStruct_ActorLobarrier_224 *param1, VecFx32 *param2, unk32 param3, u16 param4); + unk32 func_ov000_02099450(UnkStruct_ActorLobarrier_224* param1, VecFx32* param2, unk32 param3, u16 param4); void func_ov000_020994a0(); void func_ov000_020997c4(unk32 param1); }; @@ -435,4 +435,4 @@ struct UnkActorDataStruct1 { /* 14 */ unk32 unk_14; /* 18 */ }; -extern "C" void func_ov000_02099ddc(void *thisx, UnkActorDataStruct1 param1, unk32 param2, unk32 param3); +extern "C" void func_ov000_02099ddc(void* thisx, UnkActorDataStruct1 param1, unk32 param2, unk32 param3); diff --git a/include/Actor/ActorBlast.hpp b/include/Actor/ActorBlast.hpp index 2daa96441..0c560614d 100644 --- a/include/Actor/ActorBlast.hpp +++ b/include/Actor/ActorBlast.hpp @@ -12,15 +12,15 @@ class ActorBlast; class ActorBlast_E8 : public UnkStruct_ov031_Items_00_Base { public: /* 00 (base) */ - /* 04 */ ActorBlast *mUnk_04; + /* 04 */ ActorBlast* mUnk_04; /* 08 */ - ActorBlast_E8(ActorBlast *param1) : + ActorBlast_E8(ActorBlast* param1) : mUnk_04(param1) {} // data_ov031_02112d4c - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; }; class ActorBlast : public Actor { @@ -43,7 +43,7 @@ class ActorBlast : public Actor { /* 24 */ virtual void vfunc_24() override; fx32 func_ov031_020e3b94(); - static void func_ov031_020e3b9c(Actor *spawner, unk16 param1, unk16 param2); + static void func_ov031_020e3b9c(Actor* spawner, unk16 param1, unk16 param2); }; class ActorProfileBlast : public ActorProfile { @@ -52,7 +52,7 @@ class ActorProfileBlast : public ActorProfile { ActorProfileBlast(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileBlast *GetProfile(); + static ActorProfileBlast* GetProfile(); }; diff --git a/include/Actor/ActorBomb.hpp b/include/Actor/ActorBomb.hpp index 51a4afa0f..c6487d92a 100644 --- a/include/Actor/ActorBomb.hpp +++ b/include/Actor/ActorBomb.hpp @@ -23,31 +23,31 @@ enum ActorBombState_ { class ActorBomb_19C : public UnkStruct_ov031_Items_01 { public: /* 00 (base) */ - /* 2C */ Actor *mUnk_2C; + /* 2C */ Actor* mUnk_2C; /* 30 */ - ActorBomb_19C(Actor *param1); + ActorBomb_19C(Actor* param1); // data_ov031_02112c94 - /* 10 */ virtual void vfunc_10(const Actor *actor) override; + /* 10 */ virtual void vfunc_10(const Actor* actor) override; }; class ActorBomb_180 : public UnkStruct_ov031_Items_00 { public: /* 00 (base) */ /* 04 */ u16 mUnk_04; - /* 08 */ Actor *mUnk_08; + /* 08 */ Actor* mUnk_08; /* 0C */ VecFx32 mUnk_0C; // cylinder ? /* 18 */ RefStruct mUnk_18; /* 1C */ - ActorBomb_180(Actor *param1); + ActorBomb_180(Actor* param1); // data_ov031_02112c78 /* 00 */ virtual ~ActorBomb_180() override; - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; /* 10 */ virtual bool vfunc_10(RefStruct param1, unk32 param2) override; }; @@ -60,7 +60,7 @@ class ActorBomb_ov031_020e2134 : public UnkStruct_ov031_Items_00 { ~ActorBomb_ov031_020e2134() {} // required to fix function order // data_ov031_02112cb0 - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; }; class ActorBomb : public Actor { @@ -73,7 +73,7 @@ class ActorBomb : public Actor { /* 134 */ Actor_9C mUnk_134; /* 154 */ Sphere mUnk_154; /* 164 */ ActorBomb_unk mUnk_164[0x2]; - /* 17C */ VecFx32 *mUnk_17C; + /* 17C */ VecFx32* mUnk_17C; /* 180 */ ActorBomb_180 mUnk_180; /* 19C */ ActorBomb_19C mUnk_19C; /* 1CC */ VecFx32 mUnk_1CC; @@ -103,20 +103,20 @@ class ActorBomb : public Actor { /* 24 */ virtual void vfunc_24() override; /* 2C */ virtual void vfunc_2C(unk32 param1) override; /* 38 */ virtual bool Grab(ActorGrabParams grabParams) override; - /* 3C */ virtual bool Drop(ActorGrabParams grabParams, const VecFx32 *pVel) override; + /* 3C */ virtual bool Drop(ActorGrabParams grabParams, const VecFx32* pVel) override; // check if really in ActorUnkBomb - G3d_Model *func_ov031_020e1540(u16 param1); - UnkStruct_ov000_02058a84 *func_ov031_020e15d0(u16 param1); + G3d_Model* func_ov031_020e1540(u16 param1); + UnkStruct_ov000_02058a84* func_ov031_020e15d0(u16 param1); void func_ov031_020e17f4(); - static void func_ov031_020e1634(G3d_RenderState *param1); + static void func_ov031_020e1634(G3d_RenderState* param1); // void func_ov031_020e18a0(); void SetState(ActorState state); void func_ov031_020e1908(); - void func_ov031_020e1920(const VecFx32 *param1); + void func_ov031_020e1920(const VecFx32* param1); void func_ov031_020e193c(); void func_ov031_020e1b1c(); void func_ov031_020e1b7c(); @@ -140,10 +140,10 @@ class ActorBomb : public Actor { void func_ov031_020e238c(); bool func_ov031_020e25bc(); bool func_ov031_020e262c(); - void func_ov031_020e2680(VecFx32 *param1); - void func_ov031_020e2780(VecFx32 *param1); - fx32 func_ov031_020e2820(UnkStruct_ov031_Items_00 *param1); - fx32 func_ov031_020e295c(UnkStruct_ov031_Items_00 *param1); + void func_ov031_020e2680(VecFx32* param1); + void func_ov031_020e2780(VecFx32* param1); + fx32 func_ov031_020e2820(UnkStruct_ov031_Items_00* param1); + fx32 func_ov031_020e295c(UnkStruct_ov031_Items_00* param1); void func_ov031_020e2a9c(); bool func_ov031_020e2b40(); void func_ov031_020e2c2c(); @@ -155,7 +155,7 @@ class ActorProfileBomb : public ActorProfile { ActorProfileBomb(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileBomb *GetProfile(); + static ActorProfileBomb* GetProfile(); }; diff --git a/include/Actor/ActorCharacter.hpp b/include/Actor/ActorCharacter.hpp index 58d180f95..12356ced4 100644 --- a/include/Actor/ActorCharacter.hpp +++ b/include/Actor/ActorCharacter.hpp @@ -23,17 +23,17 @@ class ActorCharacter_12C : public UnkStruct_ov031_Items_00 { public: /* 00 (base) */ /* 04 */ PAD(0x04, 0x08); - /* 08 */ ActorCharacter *mUnk_08; + /* 08 */ ActorCharacter* mUnk_08; /* 0C */ VecFx16Cpp mUnk_0C; /* 12 */ - ActorCharacter_12C(ActorCharacter *param1); + ActorCharacter_12C(ActorCharacter* param1); /* 00 */ virtual ~ActorCharacter_12C() override; - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; }; class ActorCharacter : public Actor_Derived1 { @@ -48,10 +48,10 @@ class ActorCharacter : public Actor_Derived1 { /* 140 */ unk32 mUnk_140; /* 14C */ Cylinder mUnk_144; /* 158 */ u8 mUnk_158; - /* 15C */ unk32 *mUnk_15C; + /* 15C */ unk32* mUnk_15C; /* 160 */ - ActorCharacter(ModelRender *param1, UnkStruct_ov000_020b31f0 *param2); + ActorCharacter(ModelRender* param1, UnkStruct_ov000_020b31f0* param2); // _ZTV19data_ov031_021132a8 /* 020 */ virtual void Update() override; @@ -90,7 +90,7 @@ class ActorCharacter_Derived1_160 : public UnkStruct_ov000_020b31f0 { public: /* 00 */ - ActorCharacter_Derived1_160(UnkSystem5 *param1, UnkSystem5 *param2, ModelRender *param3, UnkActorFileSystem2 *param4) : + ActorCharacter_Derived1_160(UnkSystem5* param1, UnkSystem5* param2, ModelRender* param3, UnkActorFileSystem2* param4) : UnkStruct_ov000_020b31f0(param1, param2, param3, param4) {} }; @@ -110,7 +110,7 @@ class ActorCharacter_Derived1 : public ActorCharacter { /* 20C */ ActorCharacter_Derived1_1AC mUnk_20C; /* 24C */ - ActorCharacter_Derived1(ModelRender *pMdlRdr, UnkActorFileSystem2 *param2) : + ActorCharacter_Derived1(ModelRender* pMdlRdr, UnkActorFileSystem2* param2) : ActorCharacter(pMdlRdr, &this->mUnk_160), mUnk_160(&this->mUnk_18C, &this->mUnk_1EC, pMdlRdr, param2), mUnk_18C(&this->mUnk_1AC, NULL), diff --git a/include/Actor/ActorEventIcon.hpp b/include/Actor/ActorEventIcon.hpp index 4a4a6d887..08b1b5159 100644 --- a/include/Actor/ActorEventIcon.hpp +++ b/include/Actor/ActorEventIcon.hpp @@ -18,7 +18,7 @@ class ActorEventIcon : public Actor { /* 18 */ virtual bool Init(unk32 param1) override; /* 20 */ virtual void Update() override; /* 24 */ virtual void vfunc_24() override; - /* 30 */ virtual void vfunc_30(Actor_vfunc_30 *param1) override; + /* 30 */ virtual void vfunc_30(Actor_vfunc_30* param1) override; /* 4C */ virtual ~ActorEventIcon() override; // overlay 0 @@ -35,7 +35,7 @@ class ActorProfileEventIcon : public ActorProfile { ActorProfileEventIcon(); ~ActorProfileEventIcon(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileEventIcon *GetProfile(); + static ActorProfileEventIcon* GetProfile(); }; diff --git a/include/Actor/ActorFleeingSpinut.hpp b/include/Actor/ActorFleeingSpinut.hpp index ad3f8e723..53351be2f 100644 --- a/include/Actor/ActorFleeingSpinut.hpp +++ b/include/Actor/ActorFleeingSpinut.hpp @@ -22,10 +22,10 @@ enum ActorFleeingSpinutState_ { class ActorFleeingSpinut_1EC { public: /* 00 */ u8 mUnk_00; - /* 04 */ UnkStruct_027e0960_TableEntry_04 *mUnk_04; - /* 08 */ UnkStruct_027e0960_TableEntry_04 *mUnk_08; - /* 0C */ UnkStruct_027e0960_TableEntry_04 *mUnk_0C[PlayerType_Max]; - /* 0C */ UnkStruct_027e0960_TableEntry_04 *mUnk_14[PlayerType_Max]; + /* 04 */ UnkStruct_027e0960_TableEntry_04* mUnk_04; + /* 08 */ UnkStruct_027e0960_TableEntry_04* mUnk_08; + /* 0C */ UnkStruct_027e0960_TableEntry_04* mUnk_0C[PlayerType_Max]; + /* 0C */ UnkStruct_027e0960_TableEntry_04* mUnk_14[PlayerType_Max]; /* 1C */ VecFx32Cpp mUnk_1C; /* 28 */ u16 mUnk_28; /* 2C */ unk32 mUnk_2C; @@ -33,27 +33,27 @@ class ActorFleeingSpinut_1EC { ActorFleeingSpinut_1EC(); - void func_ov032_0211cc48(const VecFx32 *param1); - UnkStruct_027e0960_TableEntry_04 *func_ov032_0211cd20(const VecFx32 *param1); - u16 *func_ov032_0211cd60(VecFx32 *param1, s16 *param2, VecFx32 *param3, unk32 param4, s16 param5, unk32 param6); + void func_ov032_0211cc48(const VecFx32* param1); + UnkStruct_027e0960_TableEntry_04* func_ov032_0211cd20(const VecFx32* param1); + u16* func_ov032_0211cd60(VecFx32* param1, s16* param2, VecFx32* param3, unk32 param4, s16 param5, unk32 param6); void func_ov032_0211cf74(); void func_ov032_0211cfac(PlayerType playerType); void func_ov032_0211d028(); - bool func_ov032_0211d040(VecFx32 *param1); - void func_ov032_0211d08c(VecFx32 *param1); - bool func_ov032_0211d2e4(UnkStruct_027e0960_TableEntry_04_Base *param1, unk32 param2); - UnkStruct_027e0960_TableEntry_04 *func_ov032_0211d384(VecFx32 *param1); - unk32 func_ov032_0211d568(VecFx32 *param1, UnkStruct_027e0960_TableEntry_04_Base *param2, - UnkStruct_027e0960_TableEntry_04_Base *param3); - bool func_ov032_0211d674(VecFx32 *param1, UnkStruct_027e0960_TableEntry_04_Base *param2); - bool func_ov032_0211d6d8(VecFx32 *param1, UnkStruct_027e0960_TableEntry_04_Base *param2, PlayerType playerType); - void func_ov032_0211d7e8(VecFx32 *param1); + bool func_ov032_0211d040(VecFx32* param1); + void func_ov032_0211d08c(VecFx32* param1); + bool func_ov032_0211d2e4(UnkStruct_027e0960_TableEntry_04_Base* param1, unk32 param2); + UnkStruct_027e0960_TableEntry_04* func_ov032_0211d384(VecFx32* param1); + unk32 func_ov032_0211d568(VecFx32* param1, UnkStruct_027e0960_TableEntry_04_Base* param2, + UnkStruct_027e0960_TableEntry_04_Base* param3); + bool func_ov032_0211d674(VecFx32* param1, UnkStruct_027e0960_TableEntry_04_Base* param2); + bool func_ov032_0211d6d8(VecFx32* param1, UnkStruct_027e0960_TableEntry_04_Base* param2, PlayerType playerType); + void func_ov032_0211d7e8(VecFx32* param1); void func_ov032_0211d80c(); - void func_ov032_0211d830(UnkStruct_027e0960_TableEntry_04 *param1); + void func_ov032_0211d830(UnkStruct_027e0960_TableEntry_04* param1); void func_ov032_0211d910(); - bool func_ov032_0211d920(VecFx32 *param1); - bool func_ov032_0211d864(VecFx32 *param1); - bool func_ov032_0211da0c(PlayerType playerType, VecFx32 *param2); + bool func_ov032_0211d920(VecFx32* param1); + bool func_ov032_0211d864(VecFx32* param1); + bool func_ov032_0211da0c(PlayerType playerType, VecFx32* param2); }; class ActorFleeingSpinut : public Actor_Derived2 { @@ -77,7 +77,7 @@ class ActorFleeingSpinut : public Actor_Derived2 { /* 18 */ virtual bool Init(unk32 param1) override; /* 20 */ virtual void Update() override; /* 2C */ virtual void vfunc_2C(unk32 param1) override; - /* 30 */ virtual void vfunc_30(Actor_vfunc_30 *param1) override; + /* 30 */ virtual void vfunc_30(Actor_vfunc_30* param1) override; /* 4C */ virtual ~ActorFleeingSpinut() override; void SetState(ActorState state); @@ -112,7 +112,7 @@ class ActorProfileFleeingSpinut : public ActorProfile_ov000_020b3018 { ActorProfileFleeingSpinut(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileFleeingSpinut *GetProfile(); + static ActorProfileFleeingSpinut* GetProfile(); }; diff --git a/include/Actor/ActorHeart.hpp b/include/Actor/ActorHeart.hpp index c8f21187d..072290887 100644 --- a/include/Actor/ActorHeart.hpp +++ b/include/Actor/ActorHeart.hpp @@ -18,12 +18,12 @@ enum ActorHeartState_ { class ActorHeart_C4 : public Actor_C4 { public: - ActorHeart_C4(Actor *param1); + ActorHeart_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; /* 08 */ virtual void vfunc_08() override; - /* 0C */ virtual void vfunc_0C(VecFx32 *param1) override; + /* 0C */ virtual void vfunc_0C(VecFx32* param1) override; }; class ActorHeart : public Actor { @@ -56,7 +56,7 @@ class ActorHeart : public Actor { void func_ov031_020ef570(); void func_ov031_020ef698(); - static void func_ov031_020eed64(RefStruct *pOutRef, const VecFx32 *pPos, u32 params, RefStruct ref); + static void func_ov031_020eed64(RefStruct* pOutRef, const VecFx32* pPos, u32 params, RefStruct ref); // data_ov031_02113d74 void func_ov031_020ef2f8(); @@ -82,7 +82,7 @@ class ActorProfileHeart : public ActorProfile { ActorProfileHeart(); ~ActorProfileHeart() {} - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileHeart *GetProfile(); + static ActorProfileHeart* GetProfile(); }; diff --git a/include/Actor/ActorItemBoomerang.hpp b/include/Actor/ActorItemBoomerang.hpp index 7406f9eb9..9752bf67d 100644 --- a/include/Actor/ActorItemBoomerang.hpp +++ b/include/Actor/ActorItemBoomerang.hpp @@ -20,15 +20,15 @@ class ActorItemBoomerang_11C : public UnkStruct_ov031_Items_00 { public: /* 00 (vtable) */ /* 04 */ PAD(0x04, 0x08); - /* 08 */ ActorItemBoomerang *mUnk_08; + /* 08 */ ActorItemBoomerang* mUnk_08; /* 0C */ - ActorItemBoomerang_11C(ActorItemBoomerang *param1); + ActorItemBoomerang_11C(ActorItemBoomerang* param1); /* 00 */ virtual ~ActorItemBoomerang_11C() override; - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; }; class ActorItemBoomerang_A0 : public UnkStruct_ov031_Items_01 { @@ -36,7 +36,7 @@ class ActorItemBoomerang_A0 : public UnkStruct_ov031_Items_01 { /* 00 (vtable) */ /* 04 */ - /* 10 */ virtual void vfunc_10(const Actor *actor) override; + /* 10 */ virtual void vfunc_10(const Actor* actor) override; }; class ActorItemBoomerang_CC : public UnkStruct_ov031_Items_01 { @@ -49,8 +49,8 @@ class ActorItemBoomerang_CC : public UnkStruct_ov031_Items_01 { ActorItemBoomerang_CC() : mUnk_2C(0x0) {} - /* 0C */ virtual bool vfunc_0C(Actor *actor, VecFx32 *param2) override; - /* 10 */ virtual void vfunc_10(const Actor *actor) override; + /* 0C */ virtual bool vfunc_0C(Actor* actor, VecFx32* param2) override; + /* 10 */ virtual void vfunc_10(const Actor* actor) override; }; class ActorItemBoomerang : public Actor { @@ -90,7 +90,7 @@ class ActorProfileItemBoomerang : public ActorProfile { ActorProfileItemBoomerang(); ~ActorProfileItemBoomerang(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileItemBoomerang *GetProfile(); + static ActorProfileItemBoomerang* GetProfile(); }; diff --git a/include/Actor/ActorItemDrop.hpp b/include/Actor/ActorItemDrop.hpp index de2edcce6..08b8f206c 100644 --- a/include/Actor/ActorItemDrop.hpp +++ b/include/Actor/ActorItemDrop.hpp @@ -35,12 +35,12 @@ enum ActorItemDropState_ { class ActorItemDrop_C4 : public Actor_C4 { public: // func_ov031_020fa9f8 - ActorItemDrop_C4(Actor *param1); + ActorItemDrop_C4(Actor* param1); virtual bool vfunc_00(RefStruct ref, unk32 param2) override; virtual bool vfunc_04() override; virtual void vfunc_08() override; - virtual void vfunc_0C(VecFx32 *param1) override; + virtual void vfunc_0C(VecFx32* param1) override; }; class ActorItemDrop : public Actor_Derived2 { @@ -71,7 +71,7 @@ class ActorItemDrop : public Actor_Derived2 { void SetState(ActorState state); void func_ov031_020fa900(); - static void func_ov031_020f9f8c(RefStruct *pOutRef, const VecFx32 *pPos, u32 params, RefStruct ref); + static void func_ov031_020f9f8c(RefStruct* pOutRef, const VecFx32* pPos, u32 params, RefStruct ref); // data_ov031_02114bb0 void func_ov031_020fa46c(); @@ -98,9 +98,9 @@ class ActorProfileArrowDrop : public ActorProfile { ActorProfileArrowDrop(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileArrowDrop *GetProfile(); + static ActorProfileArrowDrop* GetProfile(); }; class ActorProfileBombDrop : public ActorProfile { @@ -109,9 +109,9 @@ class ActorProfileBombDrop : public ActorProfile { ActorProfileBombDrop(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileBombDrop *GetProfile(); + static ActorProfileBombDrop* GetProfile(); }; class ActorProfileRedPotionDrop : public ActorProfile { @@ -120,9 +120,9 @@ class ActorProfileRedPotionDrop : public ActorProfile { ActorProfileRedPotionDrop(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileRedPotionDrop *GetProfile(); + static ActorProfileRedPotionDrop* GetProfile(); }; class ActorProfileTreasureDrop : public ActorProfile { @@ -131,7 +131,7 @@ class ActorProfileTreasureDrop : public ActorProfile { ActorProfileTreasureDrop(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileTreasureDrop *GetProfile(); + static ActorProfileTreasureDrop* GetProfile(); }; diff --git a/include/Actor/ActorItemFlower.hpp b/include/Actor/ActorItemFlower.hpp index 22f9dc59b..2655def6b 100644 --- a/include/Actor/ActorItemFlower.hpp +++ b/include/Actor/ActorItemFlower.hpp @@ -11,10 +11,10 @@ class ModelRender_ov031_0211578c : public ModelRender { /* 00 (base) */ /* 60 */ - ModelRender_ov031_0211578c(const G3d_Model *model, unk32 param1, unk32 param2); + ModelRender_ov031_0211578c(const G3d_Model* model, unk32 param1, unk32 param2); // data_ov031_0211578c - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; void func_ov031_02102c00(); }; @@ -66,7 +66,7 @@ class ActorProfileItemFlower : public ActorProfile { ActorProfileItemFlower(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileItemFlower *GetProfile(); + static ActorProfileItemFlower* GetProfile(); }; diff --git a/include/Actor/ActorItemTornado.hpp b/include/Actor/ActorItemTornado.hpp index 9a059fa52..763a6c460 100644 --- a/include/Actor/ActorItemTornado.hpp +++ b/include/Actor/ActorItemTornado.hpp @@ -11,16 +11,16 @@ class UnkStruct_ov031_02112ff4 : public UnkStruct_ov031_Items_00_Base { public: /* 00 (base) */ - /* 04 */ Actor *mUnk_04; + /* 04 */ Actor* mUnk_04; /* 08 */ - UnkStruct_ov031_02112ff4(Actor *pActor) : + UnkStruct_ov031_02112ff4(Actor* pActor) : mUnk_04(pActor) {} // data_ov031_02112ff4 - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2); - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2); + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; }; enum ActorItemTornadoState_ { @@ -37,7 +37,7 @@ class ActorItemTornado_17C : public UnkStruct_PlayerGet_74 { /* 00 */ virtual void vfunc_00(unk32 param1, unk32 param2) override; - ActorItemTornado_17C(LinkStateBase *param1) : + ActorItemTornado_17C(LinkStateBase* param1) : UnkStruct_PlayerGet_74(param1) {} }; @@ -75,7 +75,7 @@ class ActorItemTornado : public Actor { void func_ov031_020e5d18(unk32 param1); bool func_ov031_020e62c0(); bool func_ov031_020e6314(u16 param1); - bool func_ov031_020e6340(const VecFx32 *param1, unk16 param2, unk16 param3); + bool func_ov031_020e6340(const VecFx32* param1, unk16 param2, unk16 param3); bool func_ov031_020e6398(); }; @@ -85,7 +85,7 @@ class ActorProfileItemTornado : public ActorProfile { ActorProfileItemTornado(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileItemTornado *GetProfile(); + static ActorProfileItemTornado* GetProfile(); }; diff --git a/include/Actor/ActorKeese.hpp b/include/Actor/ActorKeese.hpp index d97e577b8..7ae2e491d 100644 --- a/include/Actor/ActorKeese.hpp +++ b/include/Actor/ActorKeese.hpp @@ -35,26 +35,26 @@ class UnkStruct_ov032_0212251c : public UnkStruct_ov000_020b34c4 { UnkStruct_ov032_0212251c(); // data_ov032_0212251c - /* 00 */ virtual bool vfunc_00(MapObject *param1) override; + /* 00 */ virtual bool vfunc_00(MapObject* param1) override; - MapObject *func_020170ac(VecFx32 *param1); + MapObject* func_020170ac(VecFx32* param1); }; class ActorKeese_2AC : public UnkStruct_ov031_Items_00 { public: /* 00 (base) */ /* 04 */ PAD(0x04, 0x08); - /* 08 */ ActorKeese *mUnk_08; + /* 08 */ ActorKeese* mUnk_08; /* 0C */ VecFx32Cpp mUnk_0C; /* 18 */ - ActorKeese_2AC(ActorKeese *param1); + ActorKeese_2AC(ActorKeese* param1); // data_ov032_02122528 /* 00 */ virtual ~ActorKeese_2AC() override; - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; }; class ModelRender_ov032_02122568 : public UnkStruct_ov000_020b3268 { @@ -64,7 +64,7 @@ class ModelRender_ov032_02122568 : public UnkStruct_ov000_020b3268 { /* 6C */ unk32 mUnk_6C; /* 70 */ - ModelRender_ov032_02122568(G3d_Model *pModel); + ModelRender_ov032_02122568(G3d_Model* pModel); // data_ov032_02122568 }; @@ -142,10 +142,10 @@ class ActorKeese : public Actor_Derived2 { void func_ov032_0211f614(); void func_ov032_0211f6bc(); void func_ov032_0211f804(); - bool func_ov032_0211f93c(VecFx32 *param1, unk32 param2); + bool func_ov032_0211f93c(VecFx32* param1, unk32 param2); bool func_ov032_0211f9c4(); bool func_ov032_0211fa4c(PlayerType playerType); - static void func_ov032_0211faf0(Actor *param1, G3d_RenderState *param2); + static void func_ov032_0211faf0(Actor* param1, G3d_RenderState* param2); }; class ActorProfileKeese : public ActorProfile_Derived1 { @@ -154,7 +154,7 @@ class ActorProfileKeese : public ActorProfile_Derived1 { ActorProfileKeese(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileKeese *GetProfile(); + static ActorProfileKeese* GetProfile(); }; diff --git a/include/Actor/ActorKenzo.hpp b/include/Actor/ActorKenzo.hpp index 6d7983e25..d8836def5 100644 --- a/include/Actor/ActorKenzo.hpp +++ b/include/Actor/ActorKenzo.hpp @@ -58,13 +58,13 @@ class ActorKenzo : public ActorKenzo_Base { /* 11C */ virtual void vfunc_11C(); /* 120 */ virtual void vfunc_120(); /* 124 */ virtual void vfunc_124(); - /* 128 */ virtual void vfunc_128(Vec2p *param1, unk32 param2); + /* 128 */ virtual void vfunc_128(Vec2p* param1, unk32 param2); bool func_ov058_02148710(); - void func_ov058_021487c8(unk32 param1, VecFx32 *param2); + void func_ov058_021487c8(unk32 param1, VecFx32* param2); bool func_ov058_0214885c(); s16 func_ov058_021488d8(); - static void func_ov058_02148b04(Actor *param1, G3d_RenderState *param2); + static void func_ov058_02148b04(Actor* param1, G3d_RenderState* param2); }; class ActorProfileKenzo : public ActorProfile_Derived1 { @@ -73,7 +73,7 @@ class ActorProfileKenzo : public ActorProfile_Derived1 { ActorProfileKenzo(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileKenzo *GetProfile(); + static ActorProfileKenzo* GetProfile(); }; diff --git a/include/Actor/ActorLobarrier.hpp b/include/Actor/ActorLobarrier.hpp index 67e80edd5..f39d7275f 100644 --- a/include/Actor/ActorLobarrier.hpp +++ b/include/Actor/ActorLobarrier.hpp @@ -41,9 +41,9 @@ class UnkStruct_ov063_02162ea8 : public UnkStruct_ov031_Items_00 { UnkStruct_ov063_02162ea8(); /* 00 */ virtual ~UnkStruct_ov063_02162ea8(); - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; }; class UnkStruct_ov063_02162ee8 : public UnkStruct_ov000_020b3268 { @@ -55,7 +55,7 @@ class UnkStruct_ov063_02162ee8 : public UnkStruct_ov000_020b3268 { /* 74 */ unk32 mUnk_74; /* 78 */ - UnkStruct_ov063_02162ee8(G3d_Model *pModel); + UnkStruct_ov063_02162ee8(G3d_Model* pModel); }; class UnkStruct_ov063_02162f14 : public UnkStruct_ov000_020b31f0 { @@ -67,7 +67,7 @@ class UnkStruct_ov063_02162f14 : public UnkStruct_ov000_020b31f0 { /* 7C */ UnkSystem5 mUnk_7C; /* 9C */ unk32 mUnk_9C; - UnkStruct_ov063_02162f14(ModelRender *param3, UnkActorFileSystem2 *param4) : + UnkStruct_ov063_02162f14(ModelRender* param3, UnkActorFileSystem2* param4) : UnkStruct_ov000_020b31f0(&mUnk_2C, &mUnk_7C, param3, param4), mUnk_2C(&mUnk_4C, NULL), mUnk_7C(&mUnk_9C, NULL) { @@ -85,12 +85,12 @@ class ActorLobarrier; class UnkStruct_ov063_02162e88 : public Actor_9C { public: - /* 20 */ ActorLobarrier *mUnk_20; + /* 20 */ ActorLobarrier* mUnk_20; /* 24 */ - UnkStruct_ov063_02162e88(ActorLobarrier *param1); + UnkStruct_ov063_02162e88(ActorLobarrier* param1); - /* 04 */ virtual unk32 vfunc_04(RefStruct param1, unk32 param2, unk32 param3, unk32 *param4) override; + /* 04 */ virtual unk32 vfunc_04(RefStruct param1, unk32 param2, unk32 param3, unk32* param4) override; }; enum ActorLobarrierState_ { @@ -123,7 +123,7 @@ class ActorLobarrier : public Actor_Derived2 { /* 23C */ UnkStruct_ov063_02162ea8 mUnk_23C; /* 250 */ VecFx32 mUnk_250; /* 25C */ VecFx32 mUnk_25C; - /* 268 */ ActorLobarrierShield *shield; + /* 268 */ ActorLobarrierShield* shield; /* 26C */ fx16 mUnk_26C; // Some kind of angle, probably /* 26E */ PAD(0x26E, 0x270); /* 270 */ fx32 mUnk_270; @@ -134,7 +134,7 @@ class ActorLobarrier : public Actor_Derived2 { ActorLobarrier(); - /* 10 */ virtual void vfunc_10(Sphere *param1) const override; + /* 10 */ virtual void vfunc_10(Sphere* param1) const override; /* 18 */ virtual bool Init(unk32 param1) override; /* 1C */ virtual void Setup() override; /* 20 */ virtual void Update() override; @@ -174,10 +174,10 @@ class ActorLobarrier : public Actor_Derived2 { unk32 func_ov063_0215a474(); unk32 func_ov063_0215a514(); bool func_ov063_0215a56c(unk32 param1); - void func_ov063_0215a5a0(VecFx32 *param1) const; + void func_ov063_0215a5a0(VecFx32* param1) const; u16 func_ov063_0215a5bc(); unk32 func_ov063_0215a5d8(); - static void func_ov063_0215a678(ActorLobarrier *param1, UnkStruct_func_ov063_0215a678 *param2); + static void func_ov063_0215a678(ActorLobarrier* param1, UnkStruct_func_ov063_0215a678* param2); }; class ActorProfileLobarrier : public ActorProfile_Derived1 { @@ -186,7 +186,7 @@ class ActorProfileLobarrier : public ActorProfile_Derived1 { ActorProfileLobarrier(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileLobarrier *GetProfile(); + static ActorProfileLobarrier* GetProfile(); }; diff --git a/include/Actor/ActorLobarrierShield.hpp b/include/Actor/ActorLobarrierShield.hpp index 77d5afef4..2a8831558 100644 --- a/include/Actor/ActorLobarrierShield.hpp +++ b/include/Actor/ActorLobarrierShield.hpp @@ -15,7 +15,7 @@ class UnkStruct_func_ov063_0215a678 { public: /* 00 */ PAD(0x00, 0x04); - /* 04 */ ModelRender *mUnk_04; //! INFO: Placeholder that matches + /* 04 */ ModelRender* mUnk_04; //! INFO: Placeholder that matches /* 08 */ unk32 mUnk_08; /* 0C */ PAD(0x0C, 0x25); /* 25 */ u8 mUnk_25; @@ -30,22 +30,22 @@ class ActorLobarrierShield_150 : public Actor_C4 { /* 00 (base) */ /* 24 */ - ActorLobarrierShield_150(Actor *param1); + ActorLobarrierShield_150(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; - /* 0C */ virtual void vfunc_0C(VecFx32 *param1) override; + /* 0C */ virtual void vfunc_0C(VecFx32* param1) override; }; class ActorLobarrierShield_174 : public UnkStruct_ov031_Items_01 { public: /* 00 (base) */ - /* 2C */ Actor *mUnk_2C; + /* 2C */ Actor* mUnk_2C; /* 30 */ - ActorLobarrierShield_174(Actor *param1); + ActorLobarrierShield_174(Actor* param1); - /* 10 */ virtual void vfunc_10(const Actor *actor) override; + /* 10 */ virtual void vfunc_10(const Actor* actor) override; }; class UnkStruct_ov063_021631a0 : public UnkStruct_ov000_020b3268 { public: @@ -54,7 +54,7 @@ class UnkStruct_ov063_021631a0 : public UnkStruct_ov000_020b3268 { /* 6C */ unk32 mUnk_6C; /* 70 */ - UnkStruct_ov063_021631a0(G3d_Model *pModel); + UnkStruct_ov063_021631a0(G3d_Model* pModel); }; enum ActorLobarrierShieldState_ { ActorLobarrierShieldState_Held = 0, // by a Lobarrier @@ -76,7 +76,7 @@ class ActorLobarrierShield : public Actor_Derived2 { /* 120 */ unk16 mUnk_120; /* 122 */ PAD(0x122, 0x124); /* 124 */ ActorShotArrow_140 mUnk_124; - /* 14C */ ActorLobarrier *lobarrier; + /* 14C */ ActorLobarrier* lobarrier; /* 150 */ ActorLobarrierShield_150 mUnk_150; /* 174 */ ActorLobarrierShield_174 mUnk_174; /* 1A4 */ MtxFx33 mUnk_1A4; @@ -96,7 +96,7 @@ class ActorLobarrierShield : public Actor_Derived2 { ActorLobarrierShield(); - /* 10 */ virtual void vfunc_10(Sphere *param1) const override; + /* 10 */ virtual void vfunc_10(Sphere* param1) const override; /* 18 */ virtual bool Init(unk32 param1) override; /* 20 */ virtual void Update() override; /* 24 */ virtual void vfunc_24() override; @@ -109,7 +109,7 @@ class ActorLobarrierShield : public Actor_Derived2 { void func_ov063_0215ac68(); void func_ov063_0215ac8c(); void func_ov063_0215acc8(); - static void func_ov063_0215acec(RefStruct *ref1, RefStruct ref2); // copy ? + static void func_ov063_0215acec(RefStruct* ref1, RefStruct ref2); // copy ? void func_ov063_0215ae6c(); void func_ov063_0215ae80(); void SetState(ActorState state); @@ -125,12 +125,12 @@ class ActorLobarrierShield : public Actor_Derived2 { void func_ov063_0215b244(); void func_ov063_0215b2b0(); void func_ov063_0215b2c4(); - void func_ov063_0215b6c8(VecFx32 *param1, UnkAngleStruct angle); + void func_ov063_0215b6c8(VecFx32* param1, UnkAngleStruct angle); void func_ov063_0215b724(); void func_ov063_0215b814(RefStruct ref); void func_ov063_0215b854(); - void func_ov063_0215b8e8(const VecFx32 *param1); - static void func_ov063_0215b99c(ActorLobarrierShield *param1, UnkStruct_func_ov063_0215a678 *param2); + void func_ov063_0215b8e8(const VecFx32* param1); + static void func_ov063_0215b99c(ActorLobarrierShield* param1, UnkStruct_func_ov063_0215a678* param2); void func_ov063_0215ba64(); }; @@ -140,7 +140,7 @@ class ActorProfileLobarrierShield : public ActorProfile_Derived1 { ActorProfileLobarrierShield(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileLobarrierShield *GetProfile(); + static ActorProfileLobarrierShield* GetProfile(); }; diff --git a/include/Actor/ActorLokomos.hpp b/include/Actor/ActorLokomos.hpp index 10f6a721b..89cc0df03 100644 --- a/include/Actor/ActorLokomos.hpp +++ b/include/Actor/ActorLokomos.hpp @@ -18,9 +18,9 @@ class ActorProfileUnkSYDL : public ActorProfile_Derived1 { ActorProfileUnkSYDL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYDL *GetProfile(); + static ActorProfileUnkSYDL* GetProfile(); }; // --- Actor SYOS --- @@ -31,9 +31,9 @@ class ActorProfileUnkSYOS : public ActorProfile_Derived1 { ActorProfileUnkSYOS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYOS *GetProfile(); + static ActorProfileUnkSYOS* GetProfile(); }; // --- Actor SYSS --- @@ -44,9 +44,9 @@ class ActorProfileUnkSYSS : public ActorProfile_Derived1 { ActorProfileUnkSYSS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYSS *GetProfile(); + static ActorProfileUnkSYSS* GetProfile(); }; // --- Actor SYIL --- @@ -57,9 +57,9 @@ class ActorProfileUnkSYIL : public ActorProfile_Derived1 { ActorProfileUnkSYIL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYIL *GetProfile(); + static ActorProfileUnkSYIL* GetProfile(); }; // --- Actor SYWS --- @@ -70,9 +70,9 @@ class ActorProfileUnkSYWS : public ActorProfile_Derived1 { ActorProfileUnkSYWS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYWS *GetProfile(); + static ActorProfileUnkSYWS* GetProfile(); }; // --- Actor SYIS --- @@ -83,9 +83,9 @@ class ActorProfileUnkSYIS : public ActorProfile_Derived1 { ActorProfileUnkSYIS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYIS *GetProfile(); + static ActorProfileUnkSYIS* GetProfile(); }; // --- Actor SYDS --- @@ -96,9 +96,9 @@ class ActorProfileUnkSYDS : public ActorProfile_Derived1 { ActorProfileUnkSYDS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYDS *GetProfile(); + static ActorProfileUnkSYDS* GetProfile(); }; // --- Actor SYOL --- @@ -109,9 +109,9 @@ class ActorProfileUnkSYOL : public ActorProfile_Derived1 { ActorProfileUnkSYOL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYOL *GetProfile(); + static ActorProfileUnkSYOL* GetProfile(); }; // --- Actor SYSL --- @@ -122,9 +122,9 @@ class ActorProfileUnkSYSL : public ActorProfile_Derived1 { ActorProfileUnkSYSL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYSL *GetProfile(); + static ActorProfileUnkSYSL* GetProfile(); }; // --- Actor SYWL --- @@ -135,9 +135,9 @@ class ActorProfileUnkSYWL : public ActorProfile_Derived1 { ActorProfileUnkSYWL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYWL *GetProfile(); + static ActorProfileUnkSYWL* GetProfile(); }; // --- Actor SYFO --- @@ -148,9 +148,9 @@ class ActorProfileUnkSYFO : public ActorProfile_Derived1 { ActorProfileUnkSYFO(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYFO *GetProfile(); + static ActorProfileUnkSYFO* GetProfile(); }; // --- Actor SYSN --- @@ -161,9 +161,9 @@ class ActorProfileUnkSYSN : public ActorProfile_Derived1 { ActorProfileUnkSYSN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYSN *GetProfile(); + static ActorProfileUnkSYSN* GetProfile(); }; // --- Actor SYWA --- @@ -174,9 +174,9 @@ class ActorProfileUnkSYWA : public ActorProfile_Derived1 { ActorProfileUnkSYWA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYWA *GetProfile(); + static ActorProfileUnkSYWA* GetProfile(); }; // --- Actor SYFI --- @@ -187,9 +187,9 @@ class ActorProfileUnkSYFI : public ActorProfile_Derived1 { ActorProfileUnkSYFI(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYFI *GetProfile(); + static ActorProfileUnkSYFI* GetProfile(); }; // --- Actor SYDE --- @@ -200,9 +200,9 @@ class ActorProfileUnkSYDE : public ActorProfile_Derived1 { ActorProfileUnkSYDE(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYDE *GetProfile(); + static ActorProfileUnkSYDE* GetProfile(); }; // --- GENERAL --- @@ -253,7 +253,7 @@ class ActorKenzo_Base_160 : public UnkStruct_ov000_020b31f0 { /* B0 */ PAD(0xB0, 0xEC); /* EC */ - ActorKenzo_Base_160(ModelRender *param1, UnkActorFileSystem2 *param2) : + ActorKenzo_Base_160(ModelRender* param1, UnkActorFileSystem2* param2) : UnkStruct_ov000_020b31f0(&mUnk_2C, &mUnk_8C, param1, param2), mUnk_2C(&mUnk_4C, NULL), mUnk_8C(&mUnk_AC, NULL) { @@ -275,7 +275,7 @@ class ActorKenzo_Base : public ActorCharacter { /* 160 */ ActorKenzo_Base_160 mUnk_160; /* 24C */ - ActorKenzo_Base(ModelRender *param1, UnkActorFileSystem2 *param2) : + ActorKenzo_Base(ModelRender* param1, UnkActorFileSystem2* param2) : ActorCharacter(param1, &mUnk_160), mUnk_160(param1, param2) {} @@ -290,7 +290,7 @@ class ActorLokomo_2BC : public ModelRender_ov000_020b4d64 { /* 60 */ PAD(0x60, 0x6C); /* 6C */ - ActorLokomo_2BC(G3d_Model *param1); // func_ov000_0209a780 + ActorLokomo_2BC(G3d_Model* param1); // func_ov000_0209a780 // data_ov000_020b3268 }; @@ -300,7 +300,7 @@ class ActorLokomo_5B0 : public UnkStruct_ov000_020b31f0 { /* 00 (base) */ /* 2C */ - ActorLokomo_5B0(UnkSystem5 *param1, UnkSystem5 *param2, ModelRender *param3, UnkActorFileSystem2 *param4, unk32 param5); + ActorLokomo_5B0(UnkSystem5* param1, UnkSystem5* param2, ModelRender* param3, UnkActorFileSystem2* param4, unk32 param5); }; class ActorLokomo : public ActorKenzo_Base { @@ -435,7 +435,7 @@ class ActorLokomo : public ActorKenzo_Base { /* 130 */ virtual void vfunc_130(); /* 134 */ virtual void vfunc_134(unk32 param1); - UnkActorFileSystem2 *func_ov058_02143438(unk32 param1); + UnkActorFileSystem2* func_ov058_02143438(unk32 param1); void func_ov058_021446b8(); void func_ov058_02144ba0(); void func_ov058_02145120(); @@ -446,7 +446,7 @@ class ActorLokomo : public ActorKenzo_Base { void func_ov058_02145e94(bool param1); void func_ov058_02145ef0(); void func_ov058_02146070(); - void func_ov058_02146848(VecFx32 *param1, UnkAngleStruct param2); + void func_ov058_02146848(VecFx32* param1, UnkAngleStruct param2); void func_ov058_021468d8(unk32 param1, unk32 param2, unk16 param3); void func_ov058_02146984(unk32 param1, unk32 param2); void func_ov058_02146c6c(); @@ -457,12 +457,12 @@ class ActorLokomo : public ActorKenzo_Base { void func_ov058_021470d8(); void func_ov058_02147148(); void func_ov058_021471f4(unk32 param1); - static void func_ov058_02147760(Actor *param0, G3d_RenderState_ *param1); - static void func_ov058_02147860(Actor *param0, G3d_RenderState_ *param1); + static void func_ov058_02147760(Actor* param0, G3d_RenderState_* param1); + static void func_ov058_02147860(Actor* param0, G3d_RenderState_* param1); bool func_ov058_02147aec(); void func_ov058_02147b6c(); void func_ov058_02147b98(); - void func_ov058_02147bc4(VecFx32 *vec, UnkAngleStruct param1); + void func_ov058_02147bc4(VecFx32* vec, UnkAngleStruct param1); void func_ov058_02147bf4(); void func_ov058_02147c30(); void func_ov058_02147c6c(); diff --git a/include/Actor/ActorManager.hpp b/include/Actor/ActorManager.hpp index a44740da7..6a0948cff 100644 --- a/include/Actor/ActorManager.hpp +++ b/include/Actor/ActorManager.hpp @@ -12,12 +12,12 @@ class EntranceInfo; class ActorManager : public AutoInstance { public: - typedef void (*UnkCallback1)(Actor *, Actor_vfunc_30 *); + typedef void (*UnkCallback1)(Actor*, Actor_vfunc_30*); public: - /* 00 */ Actor **mActorTable; - /* 04 */ Actor **mActorTableEnd; - /* 08 */ Actor **mUnk_08; // pointer to first available slot? + /* 00 */ Actor** mActorTable; + /* 04 */ Actor** mActorTableEnd; + /* 08 */ Actor** mUnk_08; // pointer to first available slot? /* 0C */ unk16 mActorCount; /* 0E */ unk16 mNextActorId; /* 10 */ unk8 mUnk_10; @@ -43,27 +43,27 @@ class ActorManager : public AutoInstance { ~ActorManager(); // itcm - void func_01fff2fc(UnkCallback1 callback, void *param2); - Actor **func_01fff350(UnkStruct_ov000_020b3000_Base *param1, Actor **ppActorTable); - Actor *func_01fff3b4(RefStruct ref); + void func_01fff2fc(UnkCallback1 callback, void* param2); + Actor** func_01fff350(UnkStruct_ov000_020b3000_Base* param1, Actor** ppActorTable); + Actor* func_01fff3b4(RefStruct ref); // overlay 0 void func_ov000_02096e44(int index); unk32 func_ov000_0209704c(); - unk32 func_ov000_020970c8(u16 param1, unk32 *param2); + unk32 func_ov000_020970c8(u16 param1, unk32* param2); // overlay 1 void func_ov001_020bafdc(); - void func_ov001_020bb018(ZOBHeader *pHeader); + void func_ov001_020bb018(ZOBHeader* pHeader); void func_ov001_020bb414(); void func_ov001_020bb488(); void func_ov001_020bb548(); void func_ov001_020bb630(); - void func_ov001_020bb6b0(EntranceInfo *param1); - void func_ov001_020bb7b0(ZeldaObjectList *pObjList); + void func_ov001_020bb6b0(EntranceInfo* param1); + void func_ov001_020bb7b0(ZeldaObjectList* pObjList); void func_ov001_020bb7f0(); - static ActorManager *Create(); + static ActorManager* Create(); static void Destroy(); static bool func_ov001_020bb728(ActorId actorId); static void func_ov001_020bb824(); @@ -75,11 +75,11 @@ class ActorManager : public AutoInstance { // overlay 17 void func_ov017_020becd8(unk32 param1); - static void func_ov017_020bee20(Actor *pActor, Actor_vfunc_30 *param2); - static void func_ov017_020bee64(Actor *pActor, Actor_vfunc_30 *param2); - static void func_ov017_020bee84(Actor *pActor, Actor_vfunc_30 *param2); - static void func_ov017_020beea4(Actor *pActor, Actor_vfunc_30 *param2); - static void func_ov017_020beecc(Actor *pActor, Actor_vfunc_30 *param2); + static void func_ov017_020bee20(Actor* pActor, Actor_vfunc_30* param2); + static void func_ov017_020bee64(Actor* pActor, Actor_vfunc_30* param2); + static void func_ov017_020bee84(Actor* pActor, Actor_vfunc_30* param2); + static void func_ov017_020beea4(Actor* pActor, Actor_vfunc_30* param2); + static void func_ov017_020beecc(Actor* pActor, Actor_vfunc_30* param2); }; -extern ActorManager *gpActorManager; +extern ActorManager* gpActorManager; diff --git a/include/Actor/ActorPot.hpp b/include/Actor/ActorPot.hpp index 699e03580..2e7d1b4c5 100644 --- a/include/Actor/ActorPot.hpp +++ b/include/Actor/ActorPot.hpp @@ -54,7 +54,7 @@ class Actor_ov031_02113fd4 : public Actor { /* 20 */ virtual void Update() override; /* 24 */ virtual void vfunc_24() override; /* 38 */ virtual bool Grab(ActorGrabParams grabParams) override; - /* 3C */ virtual bool Drop(ActorGrabParams grabParams, const VecFx32 *pVel) override; + /* 3C */ virtual bool Drop(ActorGrabParams grabParams, const VecFx32* pVel) override; /* 40 */ virtual void vfunc_40() override; /* 44 */ virtual void vfunc_44() override; /* 54 */ virtual void vfunc_54(); @@ -113,7 +113,7 @@ class ActorProfilePot : public ActorProfile { ActorProfilePot(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfilePot *GetProfile(); + static ActorProfilePot* GetProfile(); }; diff --git a/include/Actor/ActorProfile.hpp b/include/Actor/ActorProfile.hpp index 9d81b91cb..16de98d79 100644 --- a/include/Actor/ActorProfile.hpp +++ b/include/Actor/ActorProfile.hpp @@ -34,8 +34,8 @@ class ActorProfile { ActorProfile(ActorId actorId); ~ActorProfile(); - /* 00 */ virtual Actor *Create() = 0; - /* 04 */ virtual UnkActorFileSystem2 *vfunc_04(); + /* 00 */ virtual Actor* Create() = 0; + /* 04 */ virtual UnkActorFileSystem2* vfunc_04(); /* 08 */ virtual void vfunc_08(); /* 0C */ virtual void vfunc_0C(); /* 10 */ virtual void vfunc_10(); @@ -58,7 +58,7 @@ class ActorProfile_Derived1 : public ActorProfile { ActorProfile_Derived1(ActorId actorId1, ActorId actorId2); ~ActorProfile_Derived1(); - /* 04 */ virtual UnkActorFileSystem2 *vfunc_04() override; + /* 04 */ virtual UnkActorFileSystem2* vfunc_04() override; /* 10 */ virtual void vfunc_10() override; /* 14 */ virtual void vfunc_14() override; /* 18 */ virtual void vfunc_18() override; @@ -72,7 +72,7 @@ class ActorProfile_Derived2 : public ActorProfile_Derived1 { ActorProfile_Derived2(ActorId actorId1, ActorId actorId2) : ActorProfile_Derived1(actorId1, actorId2) {} - /* 04 */ virtual UnkActorFileSystem2 *vfunc_04() override; // func_ov000_02097944 + /* 04 */ virtual UnkActorFileSystem2* vfunc_04() override; // func_ov000_02097944 /* 10 */ virtual void vfunc_10() override; // func_ov000_0209794c /* 14 */ virtual void vfunc_14() override; // func_ov000_0209796c /* 18 */ virtual void vfunc_18() override; // func_ov000_02097998 diff --git a/include/Actor/ActorProfile_ov000_020b3018.hpp b/include/Actor/ActorProfile_ov000_020b3018.hpp index c55e3b7d0..d4802805a 100644 --- a/include/Actor/ActorProfile_ov000_020b3018.hpp +++ b/include/Actor/ActorProfile_ov000_020b3018.hpp @@ -10,7 +10,7 @@ class ActorProfile_ov000_020b3018 : public ActorProfile { ActorProfile_ov000_020b3018(ActorId param1, ActorId param2); // func_ov000_020979b4 // data_ov000_020b3018 - /* 04 */ virtual UnkActorFileSystem2 *vfunc_04() override; // func_ov000_020979e4 + /* 04 */ virtual UnkActorFileSystem2* vfunc_04() override; // func_ov000_020979e4 /* 08 */ virtual void vfunc_08() override; // func_ov000_02097a18 /* 10 */ virtual void vfunc_10() override; // func_ov000_020979ec }; diff --git a/include/Actor/ActorRollingStone.hpp b/include/Actor/ActorRollingStone.hpp index a18422549..90de1ec8e 100644 --- a/include/Actor/ActorRollingStone.hpp +++ b/include/Actor/ActorRollingStone.hpp @@ -34,8 +34,8 @@ class ActorRollingStone_104 : public UnkStruct_ov031_Items_00 { /* 04 */ // data_ov031_02114a5c - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; /* 10 */ virtual bool vfunc_10(RefStruct param1, unk32 param2) override; // func_ov031_020f83e4 /* 14 */ }; @@ -43,15 +43,15 @@ class ActorRollingStone_104 : public UnkStruct_ov031_Items_00 { class ActorRollingStone_D4 : public UnkStruct_ov031_Items_01 { public: /* 00 (vtable) */ - /* 2C */ ActorRollingStone *mUnk_2C; + /* 2C */ ActorRollingStone* mUnk_2C; /* 30 */ - ActorRollingStone_D4(ActorRollingStone *param1) { + ActorRollingStone_D4(ActorRollingStone* param1) { this->mUnk_2C = param1; } // data_ov031_02114a40 - /* 10 */ virtual void vfunc_10(const Actor *param1) override; // func_ov031_020f849c + /* 10 */ virtual void vfunc_10(const Actor* param1) override; // func_ov031_020f849c }; class ActorRollingStone : public Actor { @@ -124,7 +124,7 @@ class ActorProfileRollingStone : public ActorProfile_Derived1 { ActorProfileRollingStone(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileRollingStone *GetProfile(); + static ActorProfileRollingStone* GetProfile(); }; diff --git a/include/Actor/ActorRupee.hpp b/include/Actor/ActorRupee.hpp index eed2f1d13..f43114e4f 100644 --- a/include/Actor/ActorRupee.hpp +++ b/include/Actor/ActorRupee.hpp @@ -39,12 +39,12 @@ enum ActorRupeeState_ { class ActorRupee_C4 : public Actor_C4 { public: - ActorRupee_C4(Actor *param1); + ActorRupee_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; /* 08 */ virtual void vfunc_08() override; - /* 0C */ virtual void vfunc_0C(VecFx32 *param1) override; + /* 0C */ virtual void vfunc_0C(VecFx32* param1) override; }; class ActorRupee : public Actor { @@ -109,7 +109,7 @@ class ActorRupee : public Actor { void func_ov031_020e9d94(); bool func_ov031_020e9e5c(); - static void func_ov031_020e8d2c(RefStruct *pOutRef, const VecFx32 *pPos, u32 params, u32 unk_2C, RefStruct ref); + static void func_ov031_020e8d2c(RefStruct* pOutRef, const VecFx32* pPos, u32 params, u32 unk_2C, RefStruct ref); }; class ActorProfileRupee : public ActorProfile { @@ -118,7 +118,7 @@ class ActorProfileRupee : public ActorProfile { ActorProfileRupee(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileRupee *GetProfile(); + static ActorProfileRupee* GetProfile(); }; diff --git a/include/Actor/ActorShotArrow.hpp b/include/Actor/ActorShotArrow.hpp index 29c157ebc..276d38f79 100644 --- a/include/Actor/ActorShotArrow.hpp +++ b/include/Actor/ActorShotArrow.hpp @@ -33,25 +33,25 @@ class ActorShotArrow_140 : public Actor_9C { /* 27 */ unk8 mUnk_27; /* 28 */ - ActorShotArrow_140(Actor *param1); + ActorShotArrow_140(Actor* param1); }; class ActorShotArrow_178 : public UnkStruct_ov031_Items_00 { public: /* 00 (vtable) */ /* 04 */ PAD(0x04, 0x08); - /* 08 */ ActorShotArrow *mUnk_08; + /* 08 */ ActorShotArrow* mUnk_08; /* 0C */ VecFx32 mUnk_0C; /* 18 */ u16 mUnk_18; /* 1A */ - ActorShotArrow_178(ActorShotArrow *param1); + ActorShotArrow_178(ActorShotArrow* param1); // data_ov031_02114288 /* 00 */ virtual ~ActorShotArrow_178() override; - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; void func_ov031_020f3304(); }; @@ -59,27 +59,27 @@ class ActorShotArrow_178 : public UnkStruct_ov031_Items_00 { class ActorShotArrow_194 : public UnkStruct_ov031_Items_01 { public: /* 00 (base) */ - /* 2C */ ActorShotArrow *mUnk_2C; + /* 2C */ ActorShotArrow* mUnk_2C; /* 30 */ unk32 mUnk_30; /* 34 */ const bool IsParam1_3Or4() const { - Actor *pActor = (Actor *) this->mUnk_2C; + Actor* pActor = (Actor*) this->mUnk_2C; return pActor->mUnk_5C.mParams[1] == 0x03 || pActor->mUnk_5C.mParams[1] == 0x04; } - ActorShotArrow_194(ActorShotArrow *param1); + ActorShotArrow_194(ActorShotArrow* param1); // data_ov031_0211426c - /* 0C */ virtual bool vfunc_0C(Actor *param1, VecFx32 *vector) override; // func_ov031_020f3c38 - /* 10 */ virtual void vfunc_10(const Actor *actor) override; // func_ov031_020f38b0 + /* 0C */ virtual bool vfunc_0C(Actor* param1, VecFx32* vector) override; // func_ov031_020f3c38 + /* 10 */ virtual void vfunc_10(const Actor* actor) override; // func_ov031_020f38b0 - void func_ov031_020f374c(Actor *param1); + void func_ov031_020f374c(Actor* param1); }; class ActorShotArrow_1C8 { public: - /* 00 */ Actor *mUnk_00; + /* 00 */ Actor* mUnk_00; /* 04 */ VecFx32 mUnk_04; /* 10 */ s16 mUnk_10; /* 12 */ s16 mUnk_12; @@ -114,7 +114,7 @@ class ActorShotArrow : public Actor { /* 194 */ ActorShotArrow_194 mUnk_194; /* 1C8 */ ActorShotArrow_1C8 mUnk_1C8; /* 1DC */ UnkStruct_ov031_Items_02 mUnk_1DC; - /* 224 */ MtxFx43 *mUnk_224; + /* 224 */ MtxFx43* mUnk_224; /* 228 */ MtxFx43 mUnk_228; /* 258 */ u16 mUnk_258; /* 25A */ bool mUnk_25A; @@ -138,20 +138,20 @@ class ActorShotArrow : public Actor { unk32 func_ov031_020f2270(); void func_ov031_020f2280(); void func_ov031_020f229c(); - void func_ov031_020f22d4(MtxFx33 *param1, VecFx32 *param2); - void func_ov031_020f2654(MtxFx33 *param1); + void func_ov031_020f22d4(MtxFx33* param1, VecFx32* param2); + void func_ov031_020f2654(MtxFx33* param1); void func_ov031_020f2794(unk16 param1); void func_ov031_020f28ac(); void func_ov031_020f2b8c(); void func_ov031_020f2bbc(); void func_ov031_020f2bec(); void func_ov031_020f2c08(unk16 param1); - void func_ov031_020f2cac(const VecFx32 *param1, bool param2); + void func_ov031_020f2cac(const VecFx32* param1, bool param2); void func_ov031_020f2ef0(); - void func_ov031_020f2f5c(VecFx32 *param1); + void func_ov031_020f2f5c(VecFx32* param1); bool func_ov031_020f2f9c(); void func_ov031_020f3000(); - void func_ov031_020f311c(MtxFx43 *param1); + void func_ov031_020f311c(MtxFx43* param1); bool func_ov031_020f3210(u16 param1); bool func_ov031_020f3258(u16 param1); void func_ov031_020f3d04(unk16 param1); @@ -186,7 +186,7 @@ class ActorProfileShotArrow : public ActorProfile { ActorProfileShotArrow(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileShotArrow *GetProfile(); + static ActorProfileShotArrow* GetProfile(); }; diff --git a/include/Actor/ActorSpinut.hpp b/include/Actor/ActorSpinut.hpp index 83a11b944..cbb60a3e9 100644 --- a/include/Actor/ActorSpinut.hpp +++ b/include/Actor/ActorSpinut.hpp @@ -11,12 +11,12 @@ class ModelRender_ov000_020b1a1c : public ModelRender { /* 00 (base) */ /* 60 */ - ModelRender_ov000_020b1a1c(G3d_Model *pModel); + ModelRender_ov000_020b1a1c(G3d_Model* pModel); // data_ov000_020b1a1c /* 0C */ virtual void vfunc_0C() override; - void func_ov000_02058038(MtxFx43 *param1); + void func_ov000_02058038(MtxFx43* param1); }; enum ActorSpinutState_ { @@ -46,7 +46,7 @@ class ActorSpinut_268 : public UnkStruct_ov031_Items_00 { // data_ov032_021221bc /* 00 */ virtual ~ActorSpinut_268(); - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; }; class ActorSpinut_110 : public UnkStruct_ov000_020b31f0 { @@ -59,7 +59,7 @@ class ActorSpinut_110 : public UnkStruct_ov000_020b31f0 { /* 8C */ unk32 mUnk_8C; /* 90 */ - ActorSpinut_110(ModelRender *param3, UnkActorFileSystem2 *param4) : + ActorSpinut_110(ModelRender* param3, UnkActorFileSystem2* param4) : UnkStruct_ov000_020b31f0(&this->mUnk_2C, &this->mUnk_6C, param3, param4), mUnk_2C(&this->mUnk_4C, NULL), mUnk_6C(&this->mUnk_8C, NULL) { @@ -81,7 +81,7 @@ class ActorSpinut_1BC : public UnkStruct_ov000_020b31a8 { /* 3C */ unk32 mUnk_3C; /* 40 */ - ActorSpinut_1BC(ModelRender *param2, UnkActorFileSystem2 *param3) : + ActorSpinut_1BC(ModelRender* param2, UnkActorFileSystem2* param3) : UnkStruct_ov000_020b31a8(&this->mUnk_1C, param2, param3), mUnk_1C(&this->mUnk_3C, NULL) { if (param3 != NULL) { @@ -161,7 +161,7 @@ class ActorSpinut : public Actor_Derived2 { void func_ov032_0211b190(s32 param1, s32 param2); void func_ov032_0211b1e0(); void func_ov032_0211b298(); - static void func_ov032_0211b37c(Actor *thisx, Actor_vfunc_30 *param1); + static void func_ov032_0211b37c(Actor* thisx, Actor_vfunc_30* param1); void func_ov032_0211b3b0(); }; @@ -171,7 +171,7 @@ class ActorProfileSpinut : public ActorProfile_Derived1 { ActorProfileSpinut(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileSpinut *GetProfile(); + static ActorProfileSpinut* GetProfile(); }; diff --git a/include/Actor/ActorTearLight.hpp b/include/Actor/ActorTearLight.hpp index b4c698f53..9e7fa31d0 100644 --- a/include/Actor/ActorTearLight.hpp +++ b/include/Actor/ActorTearLight.hpp @@ -34,13 +34,13 @@ class ActorTearLight_194 : public Actor_C4 { /* 00 (base) */ /* 24 */ - ActorTearLight_194(ActorTearLight *param1); + ActorTearLight_194(ActorTearLight* param1); // data_ov071_02164c00 /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; /* 08 */ virtual void vfunc_08() override; - /* 0C */ virtual void vfunc_0C(VecFx32 *param1) override; + /* 0C */ virtual void vfunc_0C(VecFx32* param1) override; }; class ActorTearLight_104_Base : public UnkStruct_ov000_020b31a8 { @@ -48,7 +48,7 @@ class ActorTearLight_104_Base : public UnkStruct_ov000_020b31a8 { /* 00 (base) */ /* 1C */ - ActorTearLight_104_Base(UnkSystem5 *param1, ModelRender *param2, UnkActorFileSystem2 *param3) : + ActorTearLight_104_Base(UnkSystem5* param1, ModelRender* param2, UnkActorFileSystem2* param3) : UnkStruct_ov000_020b31a8(param1, param2, param3) {} // data_ov071_021641e0 @@ -63,7 +63,7 @@ class ActorTearLight_104 : public ActorTearLight_104_Base { /* 00 (base) */ /* 1C */ - ActorTearLight_104(UnkSystem5 *param1, ModelRender *param2, UnkActorFileSystem2 *param3) : + ActorTearLight_104(UnkSystem5* param1, ModelRender* param2, UnkActorFileSystem2* param3) : ActorTearLight_104_Base(param1, param2, param3) {} // data_ov071_02164c3c @@ -112,7 +112,7 @@ class ActorTearLight : public Actor { /* 20 */ virtual void Update() override; /* 24 */ virtual void vfunc_24() override; /* 2C */ virtual void vfunc_2C(unk32 param1) override; - /* 30 */ virtual void vfunc_30(Actor_vfunc_30 *param1) override; + /* 30 */ virtual void vfunc_30(Actor_vfunc_30* param1) override; void func_ov071_0215f7f4(ActorState state); void func_ov071_0215f80c(); @@ -139,7 +139,7 @@ class ActorProfileTearLight : public ActorProfile_Derived1 { ActorProfileTearLight(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileTearLight *GetProfile(); + static ActorProfileTearLight* GetProfile(); }; diff --git a/include/Actor/ActorUnkAJAI.hpp b/include/Actor/ActorUnkAJAI.hpp index 2d2ab0bcb..84473ebe4 100644 --- a/include/Actor/ActorUnkAJAI.hpp +++ b/include/Actor/ActorUnkAJAI.hpp @@ -9,7 +9,7 @@ class ActorUnkAJAI_C4 : public Actor_C4 { public: - ActorUnkAJAI_C4(Actor *param1); + ActorUnkAJAI_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -54,7 +54,7 @@ class ActorProfileUnkAJAI : public ActorProfile_Derived1 { ActorProfileUnkAJAI(); ~ActorProfileUnkAJAI(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkAJAI *GetProfile(); + static ActorProfileUnkAJAI* GetProfile(); }; diff --git a/include/Actor/ActorUnkAJBS.hpp b/include/Actor/ActorUnkAJBS.hpp index a5701e2eb..254817534 100644 --- a/include/Actor/ActorUnkAJBS.hpp +++ b/include/Actor/ActorUnkAJBS.hpp @@ -9,7 +9,7 @@ class ActorUnkAJBS_C4 : public Actor_C4 { public: - ActorUnkAJBS_C4(Actor *param1); + ActorUnkAJBS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -65,7 +65,7 @@ class ActorProfileUnkAJBS : public ActorProfile_Derived1 { ActorProfileUnkAJBS(); ~ActorProfileUnkAJBS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkAJBS *GetProfile(); + static ActorProfileUnkAJBS* GetProfile(); }; diff --git a/include/Actor/ActorUnkAJCR.hpp b/include/Actor/ActorUnkAJCR.hpp index 6788bc77c..b0f7eb951 100644 --- a/include/Actor/ActorUnkAJCR.hpp +++ b/include/Actor/ActorUnkAJCR.hpp @@ -9,7 +9,7 @@ class ActorUnkAJCR_C4 : public Actor_C4 { public: - ActorUnkAJCR_C4(Actor *param1); + ActorUnkAJCR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkAJCR : public ActorProfile { ActorProfileUnkAJCR(); ~ActorProfileUnkAJCR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkAJCR *GetProfile(); + static ActorProfileUnkAJCR* GetProfile(); }; diff --git a/include/Actor/ActorUnkAJEM.hpp b/include/Actor/ActorUnkAJEM.hpp index a37d92bad..0a76e3a3c 100644 --- a/include/Actor/ActorUnkAJEM.hpp +++ b/include/Actor/ActorUnkAJEM.hpp @@ -9,7 +9,7 @@ class ActorUnkAJEM_C4 : public Actor_C4 { public: - ActorUnkAJEM_C4(Actor *param1); + ActorUnkAJEM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -66,7 +66,7 @@ class ActorProfileUnkAJEM : public ActorProfile_Derived1 { ActorProfileUnkAJEM(); ~ActorProfileUnkAJEM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkAJEM *GetProfile(); + static ActorProfileUnkAJEM* GetProfile(); }; diff --git a/include/Actor/ActorUnkAJET.hpp b/include/Actor/ActorUnkAJET.hpp index 38ff80d93..e28528c75 100644 --- a/include/Actor/ActorUnkAJET.hpp +++ b/include/Actor/ActorUnkAJET.hpp @@ -9,7 +9,7 @@ class ActorUnkAJET_C4 : public Actor_C4 { public: - ActorUnkAJET_C4(Actor *param1); + ActorUnkAJET_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -60,7 +60,7 @@ class ActorProfileUnkAJET : public ActorProfile_Derived1 { ActorProfileUnkAJET(); ~ActorProfileUnkAJET(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkAJET *GetProfile(); + static ActorProfileUnkAJET* GetProfile(); }; diff --git a/include/Actor/ActorUnkAJMN.hpp b/include/Actor/ActorUnkAJMN.hpp index 45ffe7f95..9d0cefe8e 100644 --- a/include/Actor/ActorUnkAJMN.hpp +++ b/include/Actor/ActorUnkAJMN.hpp @@ -9,7 +9,7 @@ class ActorUnkAJMN_C4 : public Actor_C4 { public: - ActorUnkAJMN_C4(Actor *param1); + ActorUnkAJMN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -57,7 +57,7 @@ class ActorProfileUnkAJMN : public ActorProfile { ActorProfileUnkAJMN(); ~ActorProfileUnkAJMN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkAJMN *GetProfile(); + static ActorProfileUnkAJMN* GetProfile(); }; diff --git a/include/Actor/ActorUnkAJNP.hpp b/include/Actor/ActorUnkAJNP.hpp index 8202edcf9..cd2730b5c 100644 --- a/include/Actor/ActorUnkAJNP.hpp +++ b/include/Actor/ActorUnkAJNP.hpp @@ -9,7 +9,7 @@ class ActorUnkAJNP_C4 : public Actor_C4 { public: - ActorUnkAJNP_C4(Actor *param1); + ActorUnkAJNP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -52,7 +52,7 @@ class ActorProfileUnkAJNP : public ActorProfile_Derived1 { ActorProfileUnkAJNP(); ~ActorProfileUnkAJNP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkAJNP *GetProfile(); + static ActorProfileUnkAJNP* GetProfile(); }; diff --git a/include/Actor/ActorUnkAJSP.hpp b/include/Actor/ActorUnkAJSP.hpp index dadac4593..b7c3df54e 100644 --- a/include/Actor/ActorUnkAJSP.hpp +++ b/include/Actor/ActorUnkAJSP.hpp @@ -9,7 +9,7 @@ class ActorUnkAJSP_C4 : public Actor_C4 { public: - ActorUnkAJSP_C4(Actor *param1); + ActorUnkAJSP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkAJSP : public ActorProfile_Derived1 { ActorProfileUnkAJSP(); ~ActorProfileUnkAJSP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkAJSP *GetProfile(); + static ActorProfileUnkAJSP* GetProfile(); }; diff --git a/include/Actor/ActorUnkAJTM.hpp b/include/Actor/ActorUnkAJTM.hpp index 67207a712..168f73b2f 100644 --- a/include/Actor/ActorUnkAJTM.hpp +++ b/include/Actor/ActorUnkAJTM.hpp @@ -9,7 +9,7 @@ class ActorUnkAJTM_C4 : public Actor_C4 { public: - ActorUnkAJTM_C4(Actor *param1); + ActorUnkAJTM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -57,7 +57,7 @@ class ActorProfileUnkAJTM : public ActorProfile { ActorProfileUnkAJTM(); ~ActorProfileUnkAJTM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkAJTM *GetProfile(); + static ActorProfileUnkAJTM* GetProfile(); }; diff --git a/include/Actor/ActorUnkALEV.hpp b/include/Actor/ActorUnkALEV.hpp index cc2766420..8c8b81a2b 100644 --- a/include/Actor/ActorUnkALEV.hpp +++ b/include/Actor/ActorUnkALEV.hpp @@ -9,7 +9,7 @@ class ActorUnkALEV_C4 : public Actor_C4 { public: - ActorUnkALEV_C4(Actor *param1); + ActorUnkALEV_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkALEV : public ActorProfile { ActorProfileUnkALEV(); ~ActorProfileUnkALEV(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkALEV *GetProfile(); + static ActorProfileUnkALEV* GetProfile(); }; diff --git a/include/Actor/ActorUnkASBA.hpp b/include/Actor/ActorUnkASBA.hpp index 44509d41c..96b76a72c 100644 --- a/include/Actor/ActorUnkASBA.hpp +++ b/include/Actor/ActorUnkASBA.hpp @@ -9,7 +9,7 @@ class ActorUnkASBA_C4 : public Actor_C4 { public: - ActorUnkASBA_C4(Actor *param1); + ActorUnkASBA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkASBA : public ActorProfile { ActorProfileUnkASBA(); ~ActorProfileUnkASBA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkASBA *GetProfile(); + static ActorProfileUnkASBA* GetProfile(); }; diff --git a/include/Actor/ActorUnkASYU.hpp b/include/Actor/ActorUnkASYU.hpp index 786fc6fd5..b3c8f644b 100644 --- a/include/Actor/ActorUnkASYU.hpp +++ b/include/Actor/ActorUnkASYU.hpp @@ -9,7 +9,7 @@ class ActorUnkASYU_C4 : public Actor_C4 { public: - ActorUnkASYU_C4(Actor *param1); + ActorUnkASYU_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -102,7 +102,7 @@ class ActorProfileUnkASYU : public ActorProfile_Derived1 { ActorProfileUnkASYU(); ~ActorProfileUnkASYU(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkASYU *GetProfile(); + static ActorProfileUnkASYU* GetProfile(); }; diff --git a/include/Actor/ActorUnkATTG.hpp b/include/Actor/ActorUnkATTG.hpp index 8a4300b86..a65e317b6 100644 --- a/include/Actor/ActorUnkATTG.hpp +++ b/include/Actor/ActorUnkATTG.hpp @@ -34,7 +34,7 @@ class ActorProfileUnkATTG : public ActorProfile { ActorProfileUnkATTG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkATTG *GetProfile(); + static ActorProfileUnkATTG* GetProfile(); }; diff --git a/include/Actor/ActorUnkBAEY.hpp b/include/Actor/ActorUnkBAEY.hpp index 62cdbd6d7..54a9883cb 100644 --- a/include/Actor/ActorUnkBAEY.hpp +++ b/include/Actor/ActorUnkBAEY.hpp @@ -9,7 +9,7 @@ class ActorUnkBAEY_C4 : public Actor_C4 { public: - ActorUnkBAEY_C4(Actor *param1); + ActorUnkBAEY_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -56,7 +56,7 @@ class ActorProfileUnkBAEY : public ActorProfile_Derived1 { ActorProfileUnkBAEY(); ~ActorProfileUnkBAEY(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBAEY *GetProfile(); + static ActorProfileUnkBAEY* GetProfile(); }; diff --git a/include/Actor/ActorUnkBAFO.hpp b/include/Actor/ActorUnkBAFO.hpp index 44c9052b7..fd7c2916d 100644 --- a/include/Actor/ActorUnkBAFO.hpp +++ b/include/Actor/ActorUnkBAFO.hpp @@ -9,7 +9,7 @@ class ActorUnkBAFO_C4 : public Actor_C4 { public: - ActorUnkBAFO_C4(Actor *param1); + ActorUnkBAFO_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -63,7 +63,7 @@ class ActorProfileUnkBAFO : public ActorProfile_Derived1 { ActorProfileUnkBAFO(); ~ActorProfileUnkBAFO(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBAFO *GetProfile(); + static ActorProfileUnkBAFO* GetProfile(); }; diff --git a/include/Actor/ActorUnkBANI.hpp b/include/Actor/ActorUnkBANI.hpp index d96704250..5ce170eba 100644 --- a/include/Actor/ActorUnkBANI.hpp +++ b/include/Actor/ActorUnkBANI.hpp @@ -9,7 +9,7 @@ class ActorUnkBANI_C4 : public Actor_C4 { public: - ActorUnkBANI_C4(Actor *param1); + ActorUnkBANI_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -52,7 +52,7 @@ class ActorProfileUnkBANI : public ActorProfile_Derived1 { ActorProfileUnkBANI(); ~ActorProfileUnkBANI(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBANI *GetProfile(); + static ActorProfileUnkBANI* GetProfile(); }; diff --git a/include/Actor/ActorUnkBAPH.hpp b/include/Actor/ActorUnkBAPH.hpp index 07f93c578..805b81e53 100644 --- a/include/Actor/ActorUnkBAPH.hpp +++ b/include/Actor/ActorUnkBAPH.hpp @@ -9,7 +9,7 @@ class ActorUnkBAPH_C4 : public Actor_C4 { public: - ActorUnkBAPH_C4(Actor *param1); + ActorUnkBAPH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -109,7 +109,7 @@ class ActorProfileUnkBAPH : public ActorProfile_Derived1 { ActorProfileUnkBAPH(); ~ActorProfileUnkBAPH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBAPH *GetProfile(); + static ActorProfileUnkBAPH* GetProfile(); }; diff --git a/include/Actor/ActorUnkBBLE.hpp b/include/Actor/ActorUnkBBLE.hpp index 8cb700075..375597e98 100644 --- a/include/Actor/ActorUnkBBLE.hpp +++ b/include/Actor/ActorUnkBBLE.hpp @@ -9,7 +9,7 @@ class ActorUnkBBLE_C4 : public Actor_C4 { public: - ActorUnkBBLE_C4(Actor *param1); + ActorUnkBBLE_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -58,7 +58,7 @@ class ActorProfileUnkBBLE : public ActorProfile_Derived1 { ActorProfileUnkBBLE(); ~ActorProfileUnkBBLE(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBBLE *GetProfile(); + static ActorProfileUnkBBLE* GetProfile(); }; diff --git a/include/Actor/ActorUnkBDBA.hpp b/include/Actor/ActorUnkBDBA.hpp index cc0ef75b3..2ec6e1185 100644 --- a/include/Actor/ActorUnkBDBA.hpp +++ b/include/Actor/ActorUnkBDBA.hpp @@ -9,7 +9,7 @@ class ActorUnkBDBA_C4 : public Actor_C4 { public: - ActorUnkBDBA_C4(Actor *param1); + ActorUnkBDBA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkBDBA : public ActorProfile_Derived1 { ActorProfileUnkBDBA(); ~ActorProfileUnkBDBA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBDBA *GetProfile(); + static ActorProfileUnkBDBA* GetProfile(); }; diff --git a/include/Actor/ActorUnkBDEA.hpp b/include/Actor/ActorUnkBDEA.hpp index 3a81b6387..ac02422ae 100644 --- a/include/Actor/ActorUnkBDEA.hpp +++ b/include/Actor/ActorUnkBDEA.hpp @@ -9,7 +9,7 @@ class ActorUnkBDEA_C4 : public Actor_C4 { public: - ActorUnkBDEA_C4(Actor *param1); + ActorUnkBDEA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -206,7 +206,7 @@ class ActorProfileUnkBDEA : public ActorProfile_Derived1 { ActorProfileUnkBDEA(); ~ActorProfileUnkBDEA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBDEA *GetProfile(); + static ActorProfileUnkBDEA* GetProfile(); }; diff --git a/include/Actor/ActorUnkBDEM.hpp b/include/Actor/ActorUnkBDEM.hpp index 650ef15f9..68149acac 100644 --- a/include/Actor/ActorUnkBDEM.hpp +++ b/include/Actor/ActorUnkBDEM.hpp @@ -9,7 +9,7 @@ class ActorUnkBDEM_C4 : public Actor_C4 { public: - ActorUnkBDEM_C4(Actor *param1); + ActorUnkBDEM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -92,7 +92,7 @@ class ActorProfileUnkBDEM : public ActorProfile_Derived1 { ActorProfileUnkBDEM(); ~ActorProfileUnkBDEM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBDEM *GetProfile(); + static ActorProfileUnkBDEM* GetProfile(); }; diff --git a/include/Actor/ActorUnkBDGA.hpp b/include/Actor/ActorUnkBDGA.hpp index b774a9591..4917a0c0c 100644 --- a/include/Actor/ActorUnkBDGA.hpp +++ b/include/Actor/ActorUnkBDGA.hpp @@ -9,7 +9,7 @@ class ActorUnkBDGA_C4 : public Actor_C4 { public: - ActorUnkBDGA_C4(Actor *param1); + ActorUnkBDGA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -88,7 +88,7 @@ class ActorProfileUnkBDGA : public ActorProfile_Derived1 { ActorProfileUnkBDGA(); ~ActorProfileUnkBDGA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBDGA *GetProfile(); + static ActorProfileUnkBDGA* GetProfile(); }; diff --git a/include/Actor/ActorUnkBDLB.hpp b/include/Actor/ActorUnkBDLB.hpp index f190f61dd..b9717fb68 100644 --- a/include/Actor/ActorUnkBDLB.hpp +++ b/include/Actor/ActorUnkBDLB.hpp @@ -9,7 +9,7 @@ class ActorUnkBDLB_C4 : public Actor_C4 { public: - ActorUnkBDLB_C4(Actor *param1); + ActorUnkBDLB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -50,7 +50,7 @@ class ActorProfileUnkBDLB : public ActorProfile_Derived1 { ActorProfileUnkBDLB(); ~ActorProfileUnkBDLB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBDLB *GetProfile(); + static ActorProfileUnkBDLB* GetProfile(); }; diff --git a/include/Actor/ActorUnkBEEE.hpp b/include/Actor/ActorUnkBEEE.hpp index 28db1eaca..edf9ba7fb 100644 --- a/include/Actor/ActorUnkBEEE.hpp +++ b/include/Actor/ActorUnkBEEE.hpp @@ -9,7 +9,7 @@ class ActorUnkBEEE_C4 : public Actor_C4 { public: - ActorUnkBEEE_C4(Actor *param1); + ActorUnkBEEE_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -56,7 +56,7 @@ class ActorProfileUnkBEEE : public ActorProfile_Derived1 { ActorProfileUnkBEEE(); ~ActorProfileUnkBEEE(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBEEE *GetProfile(); + static ActorProfileUnkBEEE* GetProfile(); }; diff --git a/include/Actor/ActorUnkBEEH.hpp b/include/Actor/ActorUnkBEEH.hpp index 3b5492b95..9fa06535f 100644 --- a/include/Actor/ActorUnkBEEH.hpp +++ b/include/Actor/ActorUnkBEEH.hpp @@ -9,7 +9,7 @@ class ActorUnkBEEH_C4 : public Actor_C4 { public: - ActorUnkBEEH_C4(Actor *param1); + ActorUnkBEEH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -55,7 +55,7 @@ class ActorProfileUnkBEEH : public ActorProfile_Derived1 { ActorProfileUnkBEEH(); ~ActorProfileUnkBEEH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBEEH *GetProfile(); + static ActorProfileUnkBEEH* GetProfile(); }; diff --git a/include/Actor/ActorUnkBFFN.hpp b/include/Actor/ActorUnkBFFN.hpp index f5742e37e..8f92170d1 100644 --- a/include/Actor/ActorUnkBFFN.hpp +++ b/include/Actor/ActorUnkBFFN.hpp @@ -9,7 +9,7 @@ class ActorUnkBFFN_C4 : public Actor_C4 { public: - ActorUnkBFFN_C4(Actor *param1); + ActorUnkBFFN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -68,7 +68,7 @@ class ActorProfileUnkBFFN : public ActorProfile { ActorProfileUnkBFFN(); ~ActorProfileUnkBFFN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBFFN *GetProfile(); + static ActorProfileUnkBFFN* GetProfile(); }; diff --git a/include/Actor/ActorUnkBGOK.hpp b/include/Actor/ActorUnkBGOK.hpp index 23a01875a..3a57f3709 100644 --- a/include/Actor/ActorUnkBGOK.hpp +++ b/include/Actor/ActorUnkBGOK.hpp @@ -9,7 +9,7 @@ class ActorUnkBGOK_C4 : public Actor_C4 { public: - ActorUnkBGOK_C4(Actor *param1); + ActorUnkBGOK_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -86,7 +86,7 @@ class ActorProfileUnkBGOK : public ActorProfile_Derived1 { ActorProfileUnkBGOK(); ~ActorProfileUnkBGOK(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBGOK *GetProfile(); + static ActorProfileUnkBGOK* GetProfile(); }; diff --git a/include/Actor/ActorUnkBKST.hpp b/include/Actor/ActorUnkBKST.hpp index 35889d6f9..7542a2eaf 100644 --- a/include/Actor/ActorUnkBKST.hpp +++ b/include/Actor/ActorUnkBKST.hpp @@ -9,7 +9,7 @@ class ActorUnkBKST_C4 : public Actor_C4 { public: - ActorUnkBKST_C4(Actor *param1); + ActorUnkBKST_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -60,7 +60,7 @@ class ActorProfileUnkBKST : public ActorProfile { ActorProfileUnkBKST(); ~ActorProfileUnkBKST(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBKST *GetProfile(); + static ActorProfileUnkBKST* GetProfile(); }; diff --git a/include/Actor/ActorUnkBLBL.hpp b/include/Actor/ActorUnkBLBL.hpp index d21475237..60265d93b 100644 --- a/include/Actor/ActorUnkBLBL.hpp +++ b/include/Actor/ActorUnkBLBL.hpp @@ -9,7 +9,7 @@ class ActorUnkBLBL_C4 : public Actor_C4 { public: - ActorUnkBLBL_C4(Actor *param1); + ActorUnkBLBL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkBLBL : public ActorProfile_Derived1 { ActorProfileUnkBLBL(); ~ActorProfileUnkBLBL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBLBL *GetProfile(); + static ActorProfileUnkBLBL* GetProfile(); }; diff --git a/include/Actor/ActorUnkBLBR.hpp b/include/Actor/ActorUnkBLBR.hpp index 06ea61afd..d777bd46e 100644 --- a/include/Actor/ActorUnkBLBR.hpp +++ b/include/Actor/ActorUnkBLBR.hpp @@ -9,7 +9,7 @@ class ActorUnkBLBR_C4 : public Actor_C4 { public: - ActorUnkBLBR_C4(Actor *param1); + ActorUnkBLBR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -55,7 +55,7 @@ class ActorProfileUnkBLBR : public ActorProfile_Derived1 { ActorProfileUnkBLBR(); ~ActorProfileUnkBLBR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBLBR *GetProfile(); + static ActorProfileUnkBLBR* GetProfile(); }; diff --git a/include/Actor/ActorUnkBLJF.hpp b/include/Actor/ActorUnkBLJF.hpp index df29bba43..c0cf49c08 100644 --- a/include/Actor/ActorUnkBLJF.hpp +++ b/include/Actor/ActorUnkBLJF.hpp @@ -9,7 +9,7 @@ class ActorUnkBLJF_C4 : public Actor_C4 { public: - ActorUnkBLJF_C4(Actor *param1); + ActorUnkBLJF_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -62,7 +62,7 @@ class ActorProfileUnkBLJF : public ActorProfile_Derived1 { ActorProfileUnkBLJF(); ~ActorProfileUnkBLJF(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBLJF *GetProfile(); + static ActorProfileUnkBLJF* GetProfile(); }; diff --git a/include/Actor/ActorUnkBLON.hpp b/include/Actor/ActorUnkBLON.hpp index a195567b4..ef99c5369 100644 --- a/include/Actor/ActorUnkBLON.hpp +++ b/include/Actor/ActorUnkBLON.hpp @@ -9,7 +9,7 @@ class ActorUnkBLON_C4 : public Actor_C4 { public: - ActorUnkBLON_C4(Actor *param1); + ActorUnkBLON_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkBLON : public ActorProfile { ActorProfileUnkBLON(); ~ActorProfileUnkBLON(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBLON *GetProfile(); + static ActorProfileUnkBLON* GetProfile(); }; diff --git a/include/Actor/ActorUnkBMHN.hpp b/include/Actor/ActorUnkBMHN.hpp index 6077a666a..a5a145f6b 100644 --- a/include/Actor/ActorUnkBMHN.hpp +++ b/include/Actor/ActorUnkBMHN.hpp @@ -9,7 +9,7 @@ class ActorUnkBMHN_C4 : public Actor_C4 { public: - ActorUnkBMHN_C4(Actor *param1); + ActorUnkBMHN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -34,7 +34,7 @@ class ActorProfileUnkBMHN : public ActorProfile { ActorProfileUnkBMHN(); ~ActorProfileUnkBMHN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBMHN *GetProfile(); + static ActorProfileUnkBMHN* GetProfile(); }; diff --git a/include/Actor/ActorUnkBMOC.hpp b/include/Actor/ActorUnkBMOC.hpp index 1e7ac483d..2609fee58 100644 --- a/include/Actor/ActorUnkBMOC.hpp +++ b/include/Actor/ActorUnkBMOC.hpp @@ -9,7 +9,7 @@ class ActorUnkBMOC_C4 : public Actor_C4 { public: - ActorUnkBMOC_C4(Actor *param1); + ActorUnkBMOC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -42,7 +42,7 @@ class ActorProfileUnkBMOC : public ActorProfile_Derived1 { ActorProfileUnkBMOC(); ~ActorProfileUnkBMOC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBMOC *GetProfile(); + static ActorProfileUnkBMOC* GetProfile(); }; diff --git a/include/Actor/ActorUnkBPAP.hpp b/include/Actor/ActorUnkBPAP.hpp index dba081038..89fceea6f 100644 --- a/include/Actor/ActorUnkBPAP.hpp +++ b/include/Actor/ActorUnkBPAP.hpp @@ -9,7 +9,7 @@ class ActorUnkBPAP_C4 : public Actor_C4 { public: - ActorUnkBPAP_C4(Actor *param1); + ActorUnkBPAP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkBPAP : public ActorProfile { ActorProfileUnkBPAP(); ~ActorProfileUnkBPAP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBPAP *GetProfile(); + static ActorProfileUnkBPAP* GetProfile(); }; diff --git a/include/Actor/ActorUnkBPBS.hpp b/include/Actor/ActorUnkBPBS.hpp index ab2668ec6..cb2d1c071 100644 --- a/include/Actor/ActorUnkBPBS.hpp +++ b/include/Actor/ActorUnkBPBS.hpp @@ -9,7 +9,7 @@ class ActorUnkBPBS_C4 : public Actor_C4 { public: - ActorUnkBPBS_C4(Actor *param1); + ActorUnkBPBS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -71,7 +71,7 @@ class ActorProfileUnkBPBS : public ActorProfile_Derived1 { ActorProfileUnkBPBS(); ~ActorProfileUnkBPBS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBPBS *GetProfile(); + static ActorProfileUnkBPBS* GetProfile(); }; diff --git a/include/Actor/ActorUnkBROW.hpp b/include/Actor/ActorUnkBROW.hpp index 8594d36b1..754569672 100644 --- a/include/Actor/ActorUnkBROW.hpp +++ b/include/Actor/ActorUnkBROW.hpp @@ -9,7 +9,7 @@ class ActorUnkBROW_C4 : public Actor_C4 { public: - ActorUnkBROW_C4(Actor *param1); + ActorUnkBROW_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -51,7 +51,7 @@ class ActorProfileUnkBROW : public ActorProfile_Derived1 { ActorProfileUnkBROW(); ~ActorProfileUnkBROW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBROW *GetProfile(); + static ActorProfileUnkBROW* GetProfile(); }; diff --git a/include/Actor/ActorUnkBSFC.hpp b/include/Actor/ActorUnkBSFC.hpp index 6bd566a3b..964a33456 100644 --- a/include/Actor/ActorUnkBSFC.hpp +++ b/include/Actor/ActorUnkBSFC.hpp @@ -9,7 +9,7 @@ class ActorUnkBSFC_C4 : public Actor_C4 { public: - ActorUnkBSFC_C4(Actor *param1); + ActorUnkBSFC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -49,7 +49,7 @@ class ActorProfileUnkBSFC : public ActorProfile_Derived1 { ActorProfileUnkBSFC(); ~ActorProfileUnkBSFC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBSFC *GetProfile(); + static ActorProfileUnkBSFC* GetProfile(); }; diff --git a/include/Actor/ActorUnkBSKM.hpp b/include/Actor/ActorUnkBSKM.hpp index fcd0d9728..2e49f063f 100644 --- a/include/Actor/ActorUnkBSKM.hpp +++ b/include/Actor/ActorUnkBSKM.hpp @@ -9,7 +9,7 @@ class ActorUnkBSKM_C4 : public Actor_C4 { public: - ActorUnkBSKM_C4(Actor *param1); + ActorUnkBSKM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -120,7 +120,7 @@ class ActorProfileUnkBSKM : public ActorProfile_Derived1 { ActorProfileUnkBSKM(); ~ActorProfileUnkBSKM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBSKM *GetProfile(); + static ActorProfileUnkBSKM* GetProfile(); }; diff --git a/include/Actor/ActorUnkBSTG.hpp b/include/Actor/ActorUnkBSTG.hpp index 11983ee7a..8fc48fb06 100644 --- a/include/Actor/ActorUnkBSTG.hpp +++ b/include/Actor/ActorUnkBSTG.hpp @@ -9,7 +9,7 @@ class ActorUnkBSTG_C4 : public Actor_C4 { public: - ActorUnkBSTG_C4(Actor *param1); + ActorUnkBSTG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkBSTG : public ActorProfile { ActorProfileUnkBSTG(); ~ActorProfileUnkBSTG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBSTG *GetProfile(); + static ActorProfileUnkBSTG* GetProfile(); }; diff --git a/include/Actor/ActorUnkBTIR.hpp b/include/Actor/ActorUnkBTIR.hpp index c721282ec..6ce705aef 100644 --- a/include/Actor/ActorUnkBTIR.hpp +++ b/include/Actor/ActorUnkBTIR.hpp @@ -9,7 +9,7 @@ class ActorUnkBTIR_C4 : public Actor_C4 { public: - ActorUnkBTIR_C4(Actor *param1); + ActorUnkBTIR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -51,7 +51,7 @@ class ActorProfileUnkBTIR : public ActorProfile_Derived1 { ActorProfileUnkBTIR(); ~ActorProfileUnkBTIR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkBTIR *GetProfile(); + static ActorProfileUnkBTIR* GetProfile(); }; diff --git a/include/Actor/ActorUnkCAGE.hpp b/include/Actor/ActorUnkCAGE.hpp index ba3e4b0a0..b0105f68e 100644 --- a/include/Actor/ActorUnkCAGE.hpp +++ b/include/Actor/ActorUnkCAGE.hpp @@ -9,7 +9,7 @@ class ActorUnkCAGE_C4 : public Actor_C4 { public: - ActorUnkCAGE_C4(Actor *param1); + ActorUnkCAGE_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -52,7 +52,7 @@ class ActorProfileUnkCAGE : public ActorProfile_Derived1 { ActorProfileUnkCAGE(); ~ActorProfileUnkCAGE(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCAGE *GetProfile(); + static ActorProfileUnkCAGE* GetProfile(); }; diff --git a/include/Actor/ActorUnkCAMA_CAMB_CAMS.hpp b/include/Actor/ActorUnkCAMA_CAMB_CAMS.hpp index 2827f9d85..b318347eb 100644 --- a/include/Actor/ActorUnkCAMA_CAMB_CAMS.hpp +++ b/include/Actor/ActorUnkCAMA_CAMB_CAMS.hpp @@ -11,7 +11,7 @@ class ActorUnkCAMA_C4 : public Actor_C4 { public: - ActorUnkCAMA_C4(Actor *param1); + ActorUnkCAMA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkCAMA : public ActorProfile_Derived1 { ActorProfileUnkCAMA(); ~ActorProfileUnkCAMA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCAMA *GetProfile(); + static ActorProfileUnkCAMA* GetProfile(); }; // --- Actor CAMB --- class ActorUnkCAMB_C4 : public Actor_C4 { public: - ActorUnkCAMB_C4(Actor *param1); + ActorUnkCAMB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,16 +70,16 @@ class ActorProfileUnkCAMB : public ActorProfile_Derived1 { ActorProfileUnkCAMB(); ~ActorProfileUnkCAMB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCAMB *GetProfile(); + static ActorProfileUnkCAMB* GetProfile(); }; // --- Actor CAMS --- class ActorUnkCAMS_C4 : public Actor_C4 { public: - ActorUnkCAMS_C4(Actor *param1); + ActorUnkCAMS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -104,7 +104,7 @@ class ActorProfileUnkCAMS : public ActorProfile_Derived1 { ActorProfileUnkCAMS(); ~ActorProfileUnkCAMS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCAMS *GetProfile(); + static ActorProfileUnkCAMS* GetProfile(); }; diff --git a/include/Actor/ActorUnkCAMY.hpp b/include/Actor/ActorUnkCAMY.hpp index d73190124..48e1172a2 100644 --- a/include/Actor/ActorUnkCAMY.hpp +++ b/include/Actor/ActorUnkCAMY.hpp @@ -9,7 +9,7 @@ class ActorUnkCAMY_C4 : public Actor_C4 { public: - ActorUnkCAMY_C4(Actor *param1); + ActorUnkCAMY_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkCAMY : public ActorProfile_Derived1 { ActorProfileUnkCAMY(); ~ActorProfileUnkCAMY(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCAMY *GetProfile(); + static ActorProfileUnkCAMY* GetProfile(); }; diff --git a/include/Actor/ActorUnkCASL.hpp b/include/Actor/ActorUnkCASL.hpp index 8ce098741..9812faac3 100644 --- a/include/Actor/ActorUnkCASL.hpp +++ b/include/Actor/ActorUnkCASL.hpp @@ -9,7 +9,7 @@ class ActorUnkCASL_C4 : public Actor_C4 { public: - ActorUnkCASL_C4(Actor *param1); + ActorUnkCASL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkCASL : public ActorProfile_Derived1 { ActorProfileUnkCASL(); ~ActorProfileUnkCASL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCASL *GetProfile(); + static ActorProfileUnkCASL* GetProfile(); }; diff --git a/include/Actor/ActorUnkCAST.hpp b/include/Actor/ActorUnkCAST.hpp index ed7907135..974c980f9 100644 --- a/include/Actor/ActorUnkCAST.hpp +++ b/include/Actor/ActorUnkCAST.hpp @@ -9,7 +9,7 @@ class ActorUnkCAST_C4 : public Actor_C4 { public: - ActorUnkCAST_C4(Actor *param1); + ActorUnkCAST_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkCAST : public ActorProfile_Derived1 { ActorProfileUnkCAST(); ~ActorProfileUnkCAST(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCAST *GetProfile(); + static ActorProfileUnkCAST* GetProfile(); }; diff --git a/include/Actor/ActorUnkCAWA.hpp b/include/Actor/ActorUnkCAWA.hpp index 7f45a20c0..b25720846 100644 --- a/include/Actor/ActorUnkCAWA.hpp +++ b/include/Actor/ActorUnkCAWA.hpp @@ -9,7 +9,7 @@ class ActorUnkCAWA_C4 : public Actor_C4 { public: - ActorUnkCAWA_C4(Actor *param1); + ActorUnkCAWA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkCAWA : public ActorProfile_Derived1 { ActorProfileUnkCAWA(); ~ActorProfileUnkCAWA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCAWA *GetProfile(); + static ActorProfileUnkCAWA* GetProfile(); }; diff --git a/include/Actor/ActorUnkCAWB_CRFP_FOMA_FOMB_FOMC_FOMR_FOMS_FOPD_GOCP_GORP_NCCA_NCCS_WAMA.hpp b/include/Actor/ActorUnkCAWB_CRFP_FOMA_FOMB_FOMC_FOMR_FOMS_FOPD_GOCP_GORP_NCCA_NCCS_WAMA.hpp index 60522462a..6d82a4dbe 100644 --- a/include/Actor/ActorUnkCAWB_CRFP_FOMA_FOMB_FOMC_FOMR_FOMS_FOPD_GOCP_GORP_NCCA_NCCS_WAMA.hpp +++ b/include/Actor/ActorUnkCAWB_CRFP_FOMA_FOMB_FOMC_FOMR_FOMS_FOPD_GOCP_GORP_NCCA_NCCS_WAMA.hpp @@ -11,7 +11,7 @@ class ActorUnkCAWB_C4 : public Actor_C4 { public: - ActorUnkCAWB_C4(Actor *param1); + ActorUnkCAWB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkCAWB : public ActorProfile_Derived1 { ActorProfileUnkCAWB(); ~ActorProfileUnkCAWB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCAWB *GetProfile(); + static ActorProfileUnkCAWB* GetProfile(); }; // --- Actor CRFP --- class ActorUnkCRFP_C4 : public Actor_C4 { public: - ActorUnkCRFP_C4(Actor *param1); + ActorUnkCRFP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,16 +70,16 @@ class ActorProfileUnkCRFP : public ActorProfile_Derived1 { ActorProfileUnkCRFP(); ~ActorProfileUnkCRFP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCRFP *GetProfile(); + static ActorProfileUnkCRFP* GetProfile(); }; // --- Actor FOMA --- class ActorUnkFOMA_C4 : public Actor_C4 { public: - ActorUnkFOMA_C4(Actor *param1); + ActorUnkFOMA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -104,16 +104,16 @@ class ActorProfileUnkFOMA : public ActorProfile_Derived1 { ActorProfileUnkFOMA(); ~ActorProfileUnkFOMA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFOMA *GetProfile(); + static ActorProfileUnkFOMA* GetProfile(); }; // --- Actor FOMB --- class ActorUnkFOMB_C4 : public Actor_C4 { public: - ActorUnkFOMB_C4(Actor *param1); + ActorUnkFOMB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -138,16 +138,16 @@ class ActorProfileUnkFOMB : public ActorProfile_Derived1 { ActorProfileUnkFOMB(); ~ActorProfileUnkFOMB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFOMB *GetProfile(); + static ActorProfileUnkFOMB* GetProfile(); }; // --- Actor FOMC --- class ActorUnkFOMC_C4 : public Actor_C4 { public: - ActorUnkFOMC_C4(Actor *param1); + ActorUnkFOMC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -172,16 +172,16 @@ class ActorProfileUnkFOMC : public ActorProfile_Derived1 { ActorProfileUnkFOMC(); ~ActorProfileUnkFOMC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFOMC *GetProfile(); + static ActorProfileUnkFOMC* GetProfile(); }; // --- Actor FOMR --- class ActorUnkFOMR_C4 : public Actor_C4 { public: - ActorUnkFOMR_C4(Actor *param1); + ActorUnkFOMR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -206,16 +206,16 @@ class ActorProfileUnkFOMR : public ActorProfile_Derived1 { ActorProfileUnkFOMR(); ~ActorProfileUnkFOMR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFOMR *GetProfile(); + static ActorProfileUnkFOMR* GetProfile(); }; // --- Actor FOMS --- class ActorUnkFOMS_C4 : public Actor_C4 { public: - ActorUnkFOMS_C4(Actor *param1); + ActorUnkFOMS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -240,16 +240,16 @@ class ActorProfileUnkFOMS : public ActorProfile_Derived1 { ActorProfileUnkFOMS(); ~ActorProfileUnkFOMS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFOMS *GetProfile(); + static ActorProfileUnkFOMS* GetProfile(); }; // --- Actor FOPD --- class ActorUnkFOPD_C4 : public Actor_C4 { public: - ActorUnkFOPD_C4(Actor *param1); + ActorUnkFOPD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -274,16 +274,16 @@ class ActorProfileUnkFOPD : public ActorProfile_Derived1 { ActorProfileUnkFOPD(); ~ActorProfileUnkFOPD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFOPD *GetProfile(); + static ActorProfileUnkFOPD* GetProfile(); }; // --- Actor GOCP --- class ActorUnkGOCP_C4 : public Actor_C4 { public: - ActorUnkGOCP_C4(Actor *param1); + ActorUnkGOCP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -308,16 +308,16 @@ class ActorProfileUnkGOCP : public ActorProfile_Derived1 { ActorProfileUnkGOCP(); ~ActorProfileUnkGOCP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGOCP *GetProfile(); + static ActorProfileUnkGOCP* GetProfile(); }; // --- Actor GORP --- class ActorUnkGORP_C4 : public Actor_C4 { public: - ActorUnkGORP_C4(Actor *param1); + ActorUnkGORP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -342,16 +342,16 @@ class ActorProfileUnkGORP : public ActorProfile_Derived1 { ActorProfileUnkGORP(); ~ActorProfileUnkGORP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGORP *GetProfile(); + static ActorProfileUnkGORP* GetProfile(); }; // --- Actor NCCA --- class ActorUnkNCCA_C4 : public Actor_C4 { public: - ActorUnkNCCA_C4(Actor *param1); + ActorUnkNCCA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -376,16 +376,16 @@ class ActorProfileUnkNCCA : public ActorProfile_Derived1 { ActorProfileUnkNCCA(); ~ActorProfileUnkNCCA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNCCA *GetProfile(); + static ActorProfileUnkNCCA* GetProfile(); }; // --- Actor NCCS --- class ActorUnkNCCS_C4 : public Actor_C4 { public: - ActorUnkNCCS_C4(Actor *param1); + ActorUnkNCCS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -410,16 +410,16 @@ class ActorProfileUnkNCCS : public ActorProfile_Derived1 { ActorProfileUnkNCCS(); ~ActorProfileUnkNCCS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNCCS *GetProfile(); + static ActorProfileUnkNCCS* GetProfile(); }; // --- Actor WAMA --- class ActorUnkWAMA_C4 : public Actor_C4 { public: - ActorUnkWAMA_C4(Actor *param1); + ActorUnkWAMA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -444,7 +444,7 @@ class ActorProfileUnkWAMA : public ActorProfile_Derived1 { ActorProfileUnkWAMA(); ~ActorProfileUnkWAMA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWAMA *GetProfile(); + static ActorProfileUnkWAMA* GetProfile(); }; diff --git a/include/Actor/ActorUnkCHUC.hpp b/include/Actor/ActorUnkCHUC.hpp index 15f9442a9..65563caf7 100644 --- a/include/Actor/ActorUnkCHUC.hpp +++ b/include/Actor/ActorUnkCHUC.hpp @@ -9,7 +9,7 @@ class ActorUnkCHUC_C4 : public Actor_C4 { public: - ActorUnkCHUC_C4(Actor *param1); + ActorUnkCHUC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -87,7 +87,7 @@ class ActorProfileUnkCHUC : public ActorProfile_Derived1 { ActorProfileUnkCHUC(); ~ActorProfileUnkCHUC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCHUC *GetProfile(); + static ActorProfileUnkCHUC* GetProfile(); }; diff --git a/include/Actor/ActorUnkCLBT.hpp b/include/Actor/ActorUnkCLBT.hpp index bb23a9cd4..20b146f04 100644 --- a/include/Actor/ActorUnkCLBT.hpp +++ b/include/Actor/ActorUnkCLBT.hpp @@ -9,7 +9,7 @@ class ActorUnkCLBT_C4 : public Actor_C4 { public: - ActorUnkCLBT_C4(Actor *param1); + ActorUnkCLBT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -43,7 +43,7 @@ class ActorProfileUnkCLBT : public ActorProfile { ActorProfileUnkCLBT(); ~ActorProfileUnkCLBT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCLBT *GetProfile(); + static ActorProfileUnkCLBT* GetProfile(); }; diff --git a/include/Actor/ActorUnkCLLT.hpp b/include/Actor/ActorUnkCLLT.hpp index 6029c3ce0..b523ff83a 100644 --- a/include/Actor/ActorUnkCLLT.hpp +++ b/include/Actor/ActorUnkCLLT.hpp @@ -35,7 +35,7 @@ class ActorProfileUnkCLLT : public ActorProfile { ActorProfileUnkCLLT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCLLT *GetProfile(); + static ActorProfileUnkCLLT* GetProfile(); }; diff --git a/include/Actor/ActorUnkCLZN.hpp b/include/Actor/ActorUnkCLZN.hpp index a44880826..c6d9b7295 100644 --- a/include/Actor/ActorUnkCLZN.hpp +++ b/include/Actor/ActorUnkCLZN.hpp @@ -9,7 +9,7 @@ class ActorUnkCLZN_C4 : public Actor_C4 { public: - ActorUnkCLZN_C4(Actor *param1); + ActorUnkCLZN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkCLZN : public ActorProfile { ActorProfileUnkCLZN(); ~ActorProfileUnkCLZN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCLZN *GetProfile(); + static ActorProfileUnkCLZN* GetProfile(); }; diff --git a/include/Actor/ActorUnkCNBL.hpp b/include/Actor/ActorUnkCNBL.hpp index d6d1fcb25..18f19c180 100644 --- a/include/Actor/ActorUnkCNBL.hpp +++ b/include/Actor/ActorUnkCNBL.hpp @@ -9,7 +9,7 @@ class ActorUnkCNBL_C4 : public Actor_C4 { public: - ActorUnkCNBL_C4(Actor *param1); + ActorUnkCNBL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -45,7 +45,7 @@ class ActorProfileUnkCNBL : public ActorProfile { ActorProfileUnkCNBL(); ~ActorProfileUnkCNBL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCNBL *GetProfile(); + static ActorProfileUnkCNBL* GetProfile(); }; diff --git a/include/Actor/ActorUnkCOMM.hpp b/include/Actor/ActorUnkCOMM.hpp index e087daa07..6a6301d52 100644 --- a/include/Actor/ActorUnkCOMM.hpp +++ b/include/Actor/ActorUnkCOMM.hpp @@ -9,7 +9,7 @@ class ActorUnkCOMM_C4 : public Actor_C4 { public: - ActorUnkCOMM_C4(Actor *param1); + ActorUnkCOMM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -55,7 +55,7 @@ class ActorProfileUnkCOMM : public ActorProfile_Derived1 { ActorProfileUnkCOMM(); ~ActorProfileUnkCOMM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCOMM *GetProfile(); + static ActorProfileUnkCOMM* GetProfile(); }; diff --git a/include/Actor/ActorUnkCRCH.hpp b/include/Actor/ActorUnkCRCH.hpp index 878a138a8..e95d33e57 100644 --- a/include/Actor/ActorUnkCRCH.hpp +++ b/include/Actor/ActorUnkCRCH.hpp @@ -9,7 +9,7 @@ class ActorUnkCRCH_C4 : public Actor_C4 { public: - ActorUnkCRCH_C4(Actor *param1); + ActorUnkCRCH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -43,7 +43,7 @@ class ActorProfileUnkCRCH : public ActorProfile { ActorProfileUnkCRCH(); ~ActorProfileUnkCRCH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCRCH *GetProfile(); + static ActorProfileUnkCRCH* GetProfile(); }; diff --git a/include/Actor/ActorUnkCROW.hpp b/include/Actor/ActorUnkCROW.hpp index 4a42823de..3290f30ed 100644 --- a/include/Actor/ActorUnkCROW.hpp +++ b/include/Actor/ActorUnkCROW.hpp @@ -9,7 +9,7 @@ class ActorUnkCROW_C4 : public Actor_C4 { public: - ActorUnkCROW_C4(Actor *param1); + ActorUnkCROW_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -77,7 +77,7 @@ class ActorProfileUnkCROW : public ActorProfile_Derived1 { ActorProfileUnkCROW(); ~ActorProfileUnkCROW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCROW *GetProfile(); + static ActorProfileUnkCROW* GetProfile(); }; diff --git a/include/Actor/ActorUnkCTFS.hpp b/include/Actor/ActorUnkCTFS.hpp index 4506f0ffb..970a1a5ea 100644 --- a/include/Actor/ActorUnkCTFS.hpp +++ b/include/Actor/ActorUnkCTFS.hpp @@ -9,7 +9,7 @@ class ActorUnkCTFS_C4 : public Actor_C4 { public: - ActorUnkCTFS_C4(Actor *param1); + ActorUnkCTFS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -63,7 +63,7 @@ class ActorProfileUnkCTFS : public ActorProfile_Derived1 { ActorProfileUnkCTFS(); ~ActorProfileUnkCTFS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkCTFS *GetProfile(); + static ActorProfileUnkCTFS* GetProfile(); }; diff --git a/include/Actor/ActorUnkDGPC.hpp b/include/Actor/ActorUnkDGPC.hpp index 0ea07c81b..4e58ab64b 100644 --- a/include/Actor/ActorUnkDGPC.hpp +++ b/include/Actor/ActorUnkDGPC.hpp @@ -9,7 +9,7 @@ class ActorUnkDGPC_C4 : public Actor_C4 { public: - ActorUnkDGPC_C4(Actor *param1); + ActorUnkDGPC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -43,7 +43,7 @@ class ActorProfileUnkDGPC : public ActorProfile_Derived1 { ActorProfileUnkDGPC(); ~ActorProfileUnkDGPC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDGPC *GetProfile(); + static ActorProfileUnkDGPC* GetProfile(); }; diff --git a/include/Actor/ActorUnkDKCB.hpp b/include/Actor/ActorUnkDKCB.hpp index 173b0103c..2adf9f600 100644 --- a/include/Actor/ActorUnkDKCB.hpp +++ b/include/Actor/ActorUnkDKCB.hpp @@ -9,7 +9,7 @@ class ActorUnkDKCB_C4 : public Actor_C4 { public: - ActorUnkDKCB_C4(Actor *param1); + ActorUnkDKCB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -45,7 +45,7 @@ class ActorProfileUnkDKCB : public ActorProfile { ActorProfileUnkDKCB(); ~ActorProfileUnkDKCB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDKCB *GetProfile(); + static ActorProfileUnkDKCB* GetProfile(); }; diff --git a/include/Actor/ActorUnkDKCL.hpp b/include/Actor/ActorUnkDKCL.hpp index e0d876c34..783042bee 100644 --- a/include/Actor/ActorUnkDKCL.hpp +++ b/include/Actor/ActorUnkDKCL.hpp @@ -9,7 +9,7 @@ class ActorUnkDKCL_C4 : public Actor_C4 { public: - ActorUnkDKCL_C4(Actor *param1); + ActorUnkDKCL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkDKCL : public ActorProfile_Derived1 { ActorProfileUnkDKCL(); ~ActorProfileUnkDKCL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDKCL *GetProfile(); + static ActorProfileUnkDKCL* GetProfile(); }; diff --git a/include/Actor/ActorUnkDKTR.hpp b/include/Actor/ActorUnkDKTR.hpp index c12ea8ba3..0dd065df9 100644 --- a/include/Actor/ActorUnkDKTR.hpp +++ b/include/Actor/ActorUnkDKTR.hpp @@ -9,7 +9,7 @@ class ActorUnkDKTR_C4 : public Actor_C4 { public: - ActorUnkDKTR_C4(Actor *param1); + ActorUnkDKTR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -84,7 +84,7 @@ class ActorProfileUnkDKTR : public ActorProfile_Derived1 { ActorProfileUnkDKTR(); ~ActorProfileUnkDKTR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDKTR *GetProfile(); + static ActorProfileUnkDKTR* GetProfile(); }; diff --git a/include/Actor/ActorUnkDLPN.hpp b/include/Actor/ActorUnkDLPN.hpp index 6776d3aca..a8c731d43 100644 --- a/include/Actor/ActorUnkDLPN.hpp +++ b/include/Actor/ActorUnkDLPN.hpp @@ -9,7 +9,7 @@ class ActorUnkDLPN_C4 : public Actor_C4 { public: - ActorUnkDLPN_C4(Actor *param1); + ActorUnkDLPN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -72,7 +72,7 @@ class ActorProfileUnkDLPN : public ActorProfile_Derived1 { ActorProfileUnkDLPN(); ~ActorProfileUnkDLPN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDLPN *GetProfile(); + static ActorProfileUnkDLPN* GetProfile(); }; diff --git a/include/Actor/ActorUnkDLTG.hpp b/include/Actor/ActorUnkDLTG.hpp index bbbc7e0fc..2d8d0e58a 100644 --- a/include/Actor/ActorUnkDLTG.hpp +++ b/include/Actor/ActorUnkDLTG.hpp @@ -9,7 +9,7 @@ class ActorUnkDLTG_C4 : public Actor_C4 { public: - ActorUnkDLTG_C4(Actor *param1); + ActorUnkDLTG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkDLTG : public ActorProfile { ActorProfileUnkDLTG(); ~ActorProfileUnkDLTG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDLTG *GetProfile(); + static ActorProfileUnkDLTG* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMCH.hpp b/include/Actor/ActorUnkDMCH.hpp index f726e410e..7a874012b 100644 --- a/include/Actor/ActorUnkDMCH.hpp +++ b/include/Actor/ActorUnkDMCH.hpp @@ -9,7 +9,7 @@ class ActorUnkDMCH_C4 : public Actor_C4 { public: - ActorUnkDMCH_C4(Actor *param1); + ActorUnkDMCH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -68,7 +68,7 @@ class ActorProfileUnkDMCH : public ActorProfile { ActorProfileUnkDMCH(); ~ActorProfileUnkDMCH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMCH *GetProfile(); + static ActorProfileUnkDMCH* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMEQ.hpp b/include/Actor/ActorUnkDMEQ.hpp index c263a21f5..4027ce4d7 100644 --- a/include/Actor/ActorUnkDMEQ.hpp +++ b/include/Actor/ActorUnkDMEQ.hpp @@ -9,7 +9,7 @@ class ActorUnkDMEQ_C4 : public Actor_C4 { public: - ActorUnkDMEQ_C4(Actor *param1); + ActorUnkDMEQ_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkDMEQ : public ActorProfile { ActorProfileUnkDMEQ(); ~ActorProfileUnkDMEQ(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMEQ *GetProfile(); + static ActorProfileUnkDMEQ* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMET.hpp b/include/Actor/ActorUnkDMET.hpp index 560f2a5fd..fa42bedca 100644 --- a/include/Actor/ActorUnkDMET.hpp +++ b/include/Actor/ActorUnkDMET.hpp @@ -9,7 +9,7 @@ class ActorUnkDMET_C4 : public Actor_C4 { public: - ActorUnkDMET_C4(Actor *param1); + ActorUnkDMET_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -43,7 +43,7 @@ class ActorProfileUnkDMET : public ActorProfile_Derived1 { ActorProfileUnkDMET(); ~ActorProfileUnkDMET(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMET *GetProfile(); + static ActorProfileUnkDMET* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMFR.hpp b/include/Actor/ActorUnkDMFR.hpp index 2cacda1d6..b8dcb2e9e 100644 --- a/include/Actor/ActorUnkDMFR.hpp +++ b/include/Actor/ActorUnkDMFR.hpp @@ -9,7 +9,7 @@ class ActorUnkDMFR_C4 : public Actor_C4 { public: - ActorUnkDMFR_C4(Actor *param1); + ActorUnkDMFR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -45,7 +45,7 @@ class ActorProfileUnkDMFR : public ActorProfile_Derived1 { ActorProfileUnkDMFR(); ~ActorProfileUnkDMFR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMFR *GetProfile(); + static ActorProfileUnkDMFR* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMFT.hpp b/include/Actor/ActorUnkDMFT.hpp index 6fde94093..e72e346b2 100644 --- a/include/Actor/ActorUnkDMFT.hpp +++ b/include/Actor/ActorUnkDMFT.hpp @@ -9,7 +9,7 @@ class ActorUnkDMFT_C4 : public Actor_C4 { public: - ActorUnkDMFT_C4(Actor *param1); + ActorUnkDMFT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -54,7 +54,7 @@ class ActorProfileUnkDMFT : public ActorProfile { ActorProfileUnkDMFT(); ~ActorProfileUnkDMFT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMFT *GetProfile(); + static ActorProfileUnkDMFT* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMGM.hpp b/include/Actor/ActorUnkDMGM.hpp index 681540d45..93f572548 100644 --- a/include/Actor/ActorUnkDMGM.hpp +++ b/include/Actor/ActorUnkDMGM.hpp @@ -9,7 +9,7 @@ class ActorUnkDMGM_C4 : public Actor_C4 { public: - ActorUnkDMGM_C4(Actor *param1); + ActorUnkDMGM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkDMGM : public ActorProfile { ActorProfileUnkDMGM(); ~ActorProfileUnkDMGM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMGM *GetProfile(); + static ActorProfileUnkDMGM* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMGN.hpp b/include/Actor/ActorUnkDMGN.hpp index 6c2110013..d85183dad 100644 --- a/include/Actor/ActorUnkDMGN.hpp +++ b/include/Actor/ActorUnkDMGN.hpp @@ -9,7 +9,7 @@ class ActorUnkDMGN_C4 : public Actor_C4 { public: - ActorUnkDMGN_C4(Actor *param1); + ActorUnkDMGN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkDMGN : public ActorProfile { ActorProfileUnkDMGN(); ~ActorProfileUnkDMGN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMGN *GetProfile(); + static ActorProfileUnkDMGN* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMMM.hpp b/include/Actor/ActorUnkDMMM.hpp index 3b74a73c8..adf37aae4 100644 --- a/include/Actor/ActorUnkDMMM.hpp +++ b/include/Actor/ActorUnkDMMM.hpp @@ -9,7 +9,7 @@ class ActorUnkDMMM_C4 : public Actor_C4 { public: - ActorUnkDMMM_C4(Actor *param1); + ActorUnkDMMM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkDMMM : public ActorProfile_Derived1 { ActorProfileUnkDMMM(); ~ActorProfileUnkDMMM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMMM *GetProfile(); + static ActorProfileUnkDMMM* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMMS.hpp b/include/Actor/ActorUnkDMMS.hpp index 363c1aa35..a127bd11c 100644 --- a/include/Actor/ActorUnkDMMS.hpp +++ b/include/Actor/ActorUnkDMMS.hpp @@ -9,7 +9,7 @@ class ActorUnkDMMS_C4 : public Actor_C4 { public: - ActorUnkDMMS_C4(Actor *param1); + ActorUnkDMMS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkDMMS : public ActorProfile_Derived1 { ActorProfileUnkDMMS(); ~ActorProfileUnkDMMS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMMS *GetProfile(); + static ActorProfileUnkDMMS* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMMT.hpp b/include/Actor/ActorUnkDMMT.hpp index 2cf73f167..98c4f5716 100644 --- a/include/Actor/ActorUnkDMMT.hpp +++ b/include/Actor/ActorUnkDMMT.hpp @@ -9,7 +9,7 @@ class ActorUnkDMMT_C4 : public Actor_C4 { public: - ActorUnkDMMT_C4(Actor *param1); + ActorUnkDMMT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -46,7 +46,7 @@ class ActorProfileUnkDMMT : public ActorProfile_Derived1 { ActorProfileUnkDMMT(); ~ActorProfileUnkDMMT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMMT *GetProfile(); + static ActorProfileUnkDMMT* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMPK.hpp b/include/Actor/ActorUnkDMPK.hpp index a2244c631..a27aea2bc 100644 --- a/include/Actor/ActorUnkDMPK.hpp +++ b/include/Actor/ActorUnkDMPK.hpp @@ -9,7 +9,7 @@ class ActorUnkDMPK_C4 : public Actor_C4 { public: - ActorUnkDMPK_C4(Actor *param1); + ActorUnkDMPK_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -47,7 +47,7 @@ class ActorProfileUnkDMPK : public ActorProfile_Derived1 { ActorProfileUnkDMPK(); ~ActorProfileUnkDMPK(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMPK *GetProfile(); + static ActorProfileUnkDMPK* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMPS.hpp b/include/Actor/ActorUnkDMPS.hpp index 6019bcf98..146d96a65 100644 --- a/include/Actor/ActorUnkDMPS.hpp +++ b/include/Actor/ActorUnkDMPS.hpp @@ -9,7 +9,7 @@ class ActorUnkDMPS_C4 : public Actor_C4 { public: - ActorUnkDMPS_C4(Actor *param1); + ActorUnkDMPS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -55,7 +55,7 @@ class ActorProfileUnkDMPS : public ActorProfile { ActorProfileUnkDMPS(); ~ActorProfileUnkDMPS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMPS *GetProfile(); + static ActorProfileUnkDMPS* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMSS.hpp b/include/Actor/ActorUnkDMSS.hpp index f1a01407e..7c70e1e83 100644 --- a/include/Actor/ActorUnkDMSS.hpp +++ b/include/Actor/ActorUnkDMSS.hpp @@ -9,7 +9,7 @@ class ActorUnkDMSS_C4 : public Actor_C4 { public: - ActorUnkDMSS_C4(Actor *param1); + ActorUnkDMSS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -42,7 +42,7 @@ class ActorProfileUnkDMSS : public ActorProfile_Derived1 { ActorProfileUnkDMSS(); ~ActorProfileUnkDMSS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMSS *GetProfile(); + static ActorProfileUnkDMSS* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMST.hpp b/include/Actor/ActorUnkDMST.hpp index 7c9de0ac6..075d53d6b 100644 --- a/include/Actor/ActorUnkDMST.hpp +++ b/include/Actor/ActorUnkDMST.hpp @@ -9,7 +9,7 @@ class ActorUnkDMST_C4 : public Actor_C4 { public: - ActorUnkDMST_C4(Actor *param1); + ActorUnkDMST_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkDMST : public ActorProfile_Derived1 { ActorProfileUnkDMST(); ~ActorProfileUnkDMST(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMST *GetProfile(); + static ActorProfileUnkDMST* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMT2.hpp b/include/Actor/ActorUnkDMT2.hpp index f0ea1238c..a87508b9d 100644 --- a/include/Actor/ActorUnkDMT2.hpp +++ b/include/Actor/ActorUnkDMT2.hpp @@ -9,7 +9,7 @@ class ActorUnkDMT2_C4 : public Actor_C4 { public: - ActorUnkDMT2_C4(Actor *param1); + ActorUnkDMT2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkDMT2 : public ActorProfile { ActorProfileUnkDMT2(); ~ActorProfileUnkDMT2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMT2 *GetProfile(); + static ActorProfileUnkDMT2* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMTR.hpp b/include/Actor/ActorUnkDMTR.hpp index 7a90a8a8a..59136cf80 100644 --- a/include/Actor/ActorUnkDMTR.hpp +++ b/include/Actor/ActorUnkDMTR.hpp @@ -9,7 +9,7 @@ class ActorUnkDMTR_C4 : public Actor_C4 { public: - ActorUnkDMTR_C4(Actor *param1); + ActorUnkDMTR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkDMTR : public ActorProfile { ActorProfileUnkDMTR(); ~ActorProfileUnkDMTR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMTR *GetProfile(); + static ActorProfileUnkDMTR* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMWS.hpp b/include/Actor/ActorUnkDMWS.hpp index 63a5a10a0..c0525143e 100644 --- a/include/Actor/ActorUnkDMWS.hpp +++ b/include/Actor/ActorUnkDMWS.hpp @@ -9,7 +9,7 @@ class ActorUnkDMWS_C4 : public Actor_C4 { public: - ActorUnkDMWS_C4(Actor *param1); + ActorUnkDMWS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkDMWS : public ActorProfile_Derived1 { ActorProfileUnkDMWS(); ~ActorProfileUnkDMWS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMWS *GetProfile(); + static ActorProfileUnkDMWS* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMWT.hpp b/include/Actor/ActorUnkDMWT.hpp index b736c9a3c..3ad702681 100644 --- a/include/Actor/ActorUnkDMWT.hpp +++ b/include/Actor/ActorUnkDMWT.hpp @@ -9,7 +9,7 @@ class ActorUnkDMWT_C4 : public Actor_C4 { public: - ActorUnkDMWT_C4(Actor *param1); + ActorUnkDMWT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkDMWT : public ActorProfile_Derived1 { ActorProfileUnkDMWT(); ~ActorProfileUnkDMWT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMWT *GetProfile(); + static ActorProfileUnkDMWT* GetProfile(); }; diff --git a/include/Actor/ActorUnkDMZS.hpp b/include/Actor/ActorUnkDMZS.hpp index e337ab289..41aa65bae 100644 --- a/include/Actor/ActorUnkDMZS.hpp +++ b/include/Actor/ActorUnkDMZS.hpp @@ -9,7 +9,7 @@ class ActorUnkDMZS_C4 : public Actor_C4 { public: - ActorUnkDMZS_C4(Actor *param1); + ActorUnkDMZS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkDMZS : public ActorProfile { ActorProfileUnkDMZS(); ~ActorProfileUnkDMZS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDMZS *GetProfile(); + static ActorProfileUnkDMZS* GetProfile(); }; diff --git a/include/Actor/ActorUnkDSBB.hpp b/include/Actor/ActorUnkDSBB.hpp index eed690efa..67a5b5ad5 100644 --- a/include/Actor/ActorUnkDSBB.hpp +++ b/include/Actor/ActorUnkDSBB.hpp @@ -9,7 +9,7 @@ class ActorUnkDSBB_C4 : public Actor_C4 { public: - ActorUnkDSBB_C4(Actor *param1); + ActorUnkDSBB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -58,7 +58,7 @@ class ActorProfileUnkDSBB : public ActorProfile_Derived1 { ActorProfileUnkDSBB(); ~ActorProfileUnkDSBB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDSBB *GetProfile(); + static ActorProfileUnkDSBB* GetProfile(); }; diff --git a/include/Actor/ActorUnkDSBH.hpp b/include/Actor/ActorUnkDSBH.hpp index a6aa8df1e..7e5a4cafd 100644 --- a/include/Actor/ActorUnkDSBH.hpp +++ b/include/Actor/ActorUnkDSBH.hpp @@ -9,7 +9,7 @@ class ActorUnkDSBH_C4 : public Actor_C4 { public: - ActorUnkDSBH_C4(Actor *param1); + ActorUnkDSBH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -92,7 +92,7 @@ class ActorProfileUnkDSBH : public ActorProfile_Derived1 { ActorProfileUnkDSBH(); ~ActorProfileUnkDSBH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDSBH *GetProfile(); + static ActorProfileUnkDSBH* GetProfile(); }; diff --git a/include/Actor/ActorUnkDSBN.hpp b/include/Actor/ActorUnkDSBN.hpp index ae7b50240..cd00ce1cc 100644 --- a/include/Actor/ActorUnkDSBN.hpp +++ b/include/Actor/ActorUnkDSBN.hpp @@ -9,7 +9,7 @@ class ActorUnkDSBN_C4 : public Actor_C4 { public: - ActorUnkDSBN_C4(Actor *param1); + ActorUnkDSBN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -107,7 +107,7 @@ class ActorProfileUnkDSBN : public ActorProfile_Derived1 { ActorProfileUnkDSBN(); ~ActorProfileUnkDSBN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDSBN *GetProfile(); + static ActorProfileUnkDSBN* GetProfile(); }; diff --git a/include/Actor/ActorUnkDSDS.hpp b/include/Actor/ActorUnkDSDS.hpp index 0d47d875c..6ee080f05 100644 --- a/include/Actor/ActorUnkDSDS.hpp +++ b/include/Actor/ActorUnkDSDS.hpp @@ -9,7 +9,7 @@ class ActorUnkDSDS_C4 : public Actor_C4 { public: - ActorUnkDSDS_C4(Actor *param1); + ActorUnkDSDS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkDSDS : public ActorProfile_Derived1 { ActorProfileUnkDSDS(); ~ActorProfileUnkDSDS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDSDS *GetProfile(); + static ActorProfileUnkDSDS* GetProfile(); }; diff --git a/include/Actor/ActorUnkDSFR.hpp b/include/Actor/ActorUnkDSFR.hpp index 8a2309616..6b9e1f05d 100644 --- a/include/Actor/ActorUnkDSFR.hpp +++ b/include/Actor/ActorUnkDSFR.hpp @@ -9,7 +9,7 @@ class ActorUnkDSFR_C4 : public Actor_C4 { public: - ActorUnkDSFR_C4(Actor *param1); + ActorUnkDSFR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkDSFR : public ActorProfile_Derived1 { ActorProfileUnkDSFR(); ~ActorProfileUnkDSFR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDSFR *GetProfile(); + static ActorProfileUnkDSFR* GetProfile(); }; diff --git a/include/Actor/ActorUnkDSSN.hpp b/include/Actor/ActorUnkDSSN.hpp index 0eed6fcb7..49a894f54 100644 --- a/include/Actor/ActorUnkDSSN.hpp +++ b/include/Actor/ActorUnkDSSN.hpp @@ -9,7 +9,7 @@ class ActorUnkDSSN_C4 : public Actor_C4 { public: - ActorUnkDSSN_C4(Actor *param1); + ActorUnkDSSN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkDSSN : public ActorProfile_Derived1 { ActorProfileUnkDSSN(); ~ActorProfileUnkDSSN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDSSN *GetProfile(); + static ActorProfileUnkDSSN* GetProfile(); }; diff --git a/include/Actor/ActorUnkDSVC.hpp b/include/Actor/ActorUnkDSVC.hpp index 2404ee738..d5506ff55 100644 --- a/include/Actor/ActorUnkDSVC.hpp +++ b/include/Actor/ActorUnkDSVC.hpp @@ -9,7 +9,7 @@ class ActorUnkDSVC_C4 : public Actor_C4 { public: - ActorUnkDSVC_C4(Actor *param1); + ActorUnkDSVC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkDSVC : public ActorProfile_Derived1 { ActorProfileUnkDSVC(); ~ActorProfileUnkDSVC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDSVC *GetProfile(); + static ActorProfileUnkDSVC* GetProfile(); }; diff --git a/include/Actor/ActorUnkDSWT.hpp b/include/Actor/ActorUnkDSWT.hpp index 6161d0f76..a3a09765b 100644 --- a/include/Actor/ActorUnkDSWT.hpp +++ b/include/Actor/ActorUnkDSWT.hpp @@ -9,7 +9,7 @@ class ActorUnkDSWT_C4 : public Actor_C4 { public: - ActorUnkDSWT_C4(Actor *param1); + ActorUnkDSWT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkDSWT : public ActorProfile_Derived1 { ActorProfileUnkDSWT(); ~ActorProfileUnkDSWT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkDSWT *GetProfile(); + static ActorProfileUnkDSWT* GetProfile(); }; diff --git a/include/Actor/ActorUnkE3GL.hpp b/include/Actor/ActorUnkE3GL.hpp index f9a24b017..b4e31b81c 100644 --- a/include/Actor/ActorUnkE3GL.hpp +++ b/include/Actor/ActorUnkE3GL.hpp @@ -9,7 +9,7 @@ class ActorUnkE3GL_C4 : public Actor_C4 { public: - ActorUnkE3GL_C4(Actor *param1); + ActorUnkE3GL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkE3GL : public ActorProfile { ActorProfileUnkE3GL(); ~ActorProfileUnkE3GL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkE3GL *GetProfile(); + static ActorProfileUnkE3GL* GetProfile(); }; diff --git a/include/Actor/ActorUnkE3LV.hpp b/include/Actor/ActorUnkE3LV.hpp index 4cb0a6aa2..65d9f3c11 100644 --- a/include/Actor/ActorUnkE3LV.hpp +++ b/include/Actor/ActorUnkE3LV.hpp @@ -9,7 +9,7 @@ class ActorUnkE3LV_C4 : public Actor_C4 { public: - ActorUnkE3LV_C4(Actor *param1); + ActorUnkE3LV_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkE3LV : public ActorProfile_Derived1 { ActorProfileUnkE3LV(); ~ActorProfileUnkE3LV(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkE3LV *GetProfile(); + static ActorProfileUnkE3LV* GetProfile(); }; diff --git a/include/Actor/ActorUnkE3ST.hpp b/include/Actor/ActorUnkE3ST.hpp index 937e3e5da..47671dbe6 100644 --- a/include/Actor/ActorUnkE3ST.hpp +++ b/include/Actor/ActorUnkE3ST.hpp @@ -9,7 +9,7 @@ class ActorUnkE3ST_C4 : public Actor_C4 { public: - ActorUnkE3ST_C4(Actor *param1); + ActorUnkE3ST_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkE3ST : public ActorProfile { ActorProfileUnkE3ST(); ~ActorProfileUnkE3ST(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkE3ST *GetProfile(); + static ActorProfileUnkE3ST* GetProfile(); }; diff --git a/include/Actor/ActorUnkE3TT.hpp b/include/Actor/ActorUnkE3TT.hpp index 2b43a6089..b4641e96a 100644 --- a/include/Actor/ActorUnkE3TT.hpp +++ b/include/Actor/ActorUnkE3TT.hpp @@ -9,7 +9,7 @@ class ActorUnkE3TT_C4 : public Actor_C4 { public: - ActorUnkE3TT_C4(Actor *param1); + ActorUnkE3TT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkE3TT : public ActorProfile { ActorProfileUnkE3TT(); ~ActorProfileUnkE3TT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkE3TT *GetProfile(); + static ActorProfileUnkE3TT* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFIK.hpp b/include/Actor/ActorUnkEFIK.hpp index a95c7a41c..fe9d5b0fa 100644 --- a/include/Actor/ActorUnkEFIK.hpp +++ b/include/Actor/ActorUnkEFIK.hpp @@ -34,7 +34,7 @@ class ActorProfileUnkEFIK : public ActorProfile { ActorProfileUnkEFIK(); ~ActorProfileUnkEFIK(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFIK *GetProfile(); + static ActorProfileUnkEFIK* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFOC.hpp b/include/Actor/ActorUnkEFOC.hpp index 50d632b87..cb28fb525 100644 --- a/include/Actor/ActorUnkEFOC.hpp +++ b/include/Actor/ActorUnkEFOC.hpp @@ -9,7 +9,7 @@ class ActorUnkEFOC_C4 : public Actor_C4 { public: - ActorUnkEFOC_C4(Actor *param1); + ActorUnkEFOC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -51,7 +51,7 @@ class ActorProfileUnkEFOC : public ActorProfile_Derived1 { ActorProfileUnkEFOC(); ~ActorProfileUnkEFOC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFOC *GetProfile(); + static ActorProfileUnkEFOC* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFR2.hpp b/include/Actor/ActorUnkEFR2.hpp index 7df95774e..473d0eef8 100644 --- a/include/Actor/ActorUnkEFR2.hpp +++ b/include/Actor/ActorUnkEFR2.hpp @@ -9,7 +9,7 @@ class ActorUnkEFR2_C4 : public Actor_C4 { public: - ActorUnkEFR2_C4(Actor *param1); + ActorUnkEFR2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkEFR2 : public ActorProfile_Derived1 { ActorProfileUnkEFR2(); ~ActorProfileUnkEFR2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFR2 *GetProfile(); + static ActorProfileUnkEFR2* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFR3.hpp b/include/Actor/ActorUnkEFR3.hpp index 96f9f4749..33079ff53 100644 --- a/include/Actor/ActorUnkEFR3.hpp +++ b/include/Actor/ActorUnkEFR3.hpp @@ -9,7 +9,7 @@ class ActorUnkEFR3_C4 : public Actor_C4 { public: - ActorUnkEFR3_C4(Actor *param1); + ActorUnkEFR3_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkEFR3 : public ActorProfile_Derived1 { ActorProfileUnkEFR3(); ~ActorProfileUnkEFR3(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFR3 *GetProfile(); + static ActorProfileUnkEFR3* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFRI.hpp b/include/Actor/ActorUnkEFRI.hpp index 47f1484c9..c97d71cd5 100644 --- a/include/Actor/ActorUnkEFRI.hpp +++ b/include/Actor/ActorUnkEFRI.hpp @@ -9,7 +9,7 @@ class ActorUnkEFRI_C4 : public Actor_C4 { public: - ActorUnkEFRI_C4(Actor *param1); + ActorUnkEFRI_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkEFRI : public ActorProfile_Derived1 { ActorProfileUnkEFRI(); ~ActorProfileUnkEFRI(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFRI *GetProfile(); + static ActorProfileUnkEFRI* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFRL.hpp b/include/Actor/ActorUnkEFRL.hpp index 511253dc5..828d49320 100644 --- a/include/Actor/ActorUnkEFRL.hpp +++ b/include/Actor/ActorUnkEFRL.hpp @@ -9,7 +9,7 @@ class ActorUnkEFRL_C4 : public Actor_C4 { public: - ActorUnkEFRL_C4(Actor *param1); + ActorUnkEFRL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -44,7 +44,7 @@ class ActorProfileUnkEFRL : public ActorProfile_Derived1 { ActorProfileUnkEFRL(); ~ActorProfileUnkEFRL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFRL *GetProfile(); + static ActorProfileUnkEFRL* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFRP.hpp b/include/Actor/ActorUnkEFRP.hpp index 6015127f8..0602ac3cd 100644 --- a/include/Actor/ActorUnkEFRP.hpp +++ b/include/Actor/ActorUnkEFRP.hpp @@ -9,7 +9,7 @@ class ActorUnkEFRP_C4 : public Actor_C4 { public: - ActorUnkEFRP_C4(Actor *param1); + ActorUnkEFRP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -42,7 +42,7 @@ class ActorProfileUnkEFRP : public ActorProfile_Derived1 { ActorProfileUnkEFRP(); ~ActorProfileUnkEFRP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFRP *GetProfile(); + static ActorProfileUnkEFRP* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFSB.hpp b/include/Actor/ActorUnkEFSB.hpp index 04aafd010..5c06299d1 100644 --- a/include/Actor/ActorUnkEFSB.hpp +++ b/include/Actor/ActorUnkEFSB.hpp @@ -31,7 +31,7 @@ class ActorProfileUnkEFSB : public ActorProfile_Derived1 { ActorProfileUnkEFSB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFSB *GetProfile(); + static ActorProfileUnkEFSB* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFSC.hpp b/include/Actor/ActorUnkEFSC.hpp index df7e519c7..1458641c8 100644 --- a/include/Actor/ActorUnkEFSC.hpp +++ b/include/Actor/ActorUnkEFSC.hpp @@ -9,7 +9,7 @@ class ActorUnkEFSC_C4 : public Actor_C4 { public: - ActorUnkEFSC_C4(Actor *param1); + ActorUnkEFSC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkEFSC : public ActorProfile_Derived1 { ActorProfileUnkEFSC(); ~ActorProfileUnkEFSC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFSC *GetProfile(); + static ActorProfileUnkEFSC* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFW2.hpp b/include/Actor/ActorUnkEFW2.hpp index d935bca52..7bef50195 100644 --- a/include/Actor/ActorUnkEFW2.hpp +++ b/include/Actor/ActorUnkEFW2.hpp @@ -9,7 +9,7 @@ class ActorUnkEFW2_C4 : public Actor_C4 { public: - ActorUnkEFW2_C4(Actor *param1); + ActorUnkEFW2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkEFW2 : public ActorProfile_Derived1 { ActorProfileUnkEFW2(); ~ActorProfileUnkEFW2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFW2 *GetProfile(); + static ActorProfileUnkEFW2* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFW3.hpp b/include/Actor/ActorUnkEFW3.hpp index ab6a23dc4..94b11357b 100644 --- a/include/Actor/ActorUnkEFW3.hpp +++ b/include/Actor/ActorUnkEFW3.hpp @@ -9,7 +9,7 @@ class ActorUnkEFW3_C4 : public Actor_C4 { public: - ActorUnkEFW3_C4(Actor *param1); + ActorUnkEFW3_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkEFW3 : public ActorProfile_Derived1 { ActorProfileUnkEFW3(); ~ActorProfileUnkEFW3(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFW3 *GetProfile(); + static ActorProfileUnkEFW3* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFWI.hpp b/include/Actor/ActorUnkEFWI.hpp index 330a304ea..1afbde7d1 100644 --- a/include/Actor/ActorUnkEFWI.hpp +++ b/include/Actor/ActorUnkEFWI.hpp @@ -9,7 +9,7 @@ class ActorUnkEFWI_C4 : public Actor_C4 { public: - ActorUnkEFWI_C4(Actor *param1); + ActorUnkEFWI_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkEFWI : public ActorProfile_Derived1 { ActorProfileUnkEFWI(); ~ActorProfileUnkEFWI(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFWI *GetProfile(); + static ActorProfileUnkEFWI* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFWL.hpp b/include/Actor/ActorUnkEFWL.hpp index 149da197c..4ac058349 100644 --- a/include/Actor/ActorUnkEFWL.hpp +++ b/include/Actor/ActorUnkEFWL.hpp @@ -9,7 +9,7 @@ class ActorUnkEFWL_C4 : public Actor_C4 { public: - ActorUnkEFWL_C4(Actor *param1); + ActorUnkEFWL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -43,7 +43,7 @@ class ActorProfileUnkEFWL : public ActorProfile_Derived1 { ActorProfileUnkEFWL(); ~ActorProfileUnkEFWL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFWL *GetProfile(); + static ActorProfileUnkEFWL* GetProfile(); }; diff --git a/include/Actor/ActorUnkEFWV.hpp b/include/Actor/ActorUnkEFWV.hpp index f45f104f5..078f41152 100644 --- a/include/Actor/ActorUnkEFWV.hpp +++ b/include/Actor/ActorUnkEFWV.hpp @@ -9,7 +9,7 @@ class ActorUnkEFWV_C4 : public Actor_C4 { public: - ActorUnkEFWV_C4(Actor *param1); + ActorUnkEFWV_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -49,7 +49,7 @@ class ActorProfileUnkEFWV : public ActorProfile_Derived1 { ActorProfileUnkEFWV(); ~ActorProfileUnkEFWV(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEFWV *GetProfile(); + static ActorProfileUnkEFWV* GetProfile(); }; diff --git a/include/Actor/ActorUnkELVT.hpp b/include/Actor/ActorUnkELVT.hpp index 4b61d6ef3..5b25229e3 100644 --- a/include/Actor/ActorUnkELVT.hpp +++ b/include/Actor/ActorUnkELVT.hpp @@ -9,7 +9,7 @@ class ActorUnkELVT_C4 : public Actor_C4 { public: - ActorUnkELVT_C4(Actor *param1); + ActorUnkELVT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -53,7 +53,7 @@ class ActorProfileUnkELVT : public ActorProfile_Derived1 { ActorProfileUnkELVT(); ~ActorProfileUnkELVT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkELVT *GetProfile(); + static ActorProfileUnkELVT* GetProfile(); }; diff --git a/include/Actor/ActorUnkENGE.hpp b/include/Actor/ActorUnkENGE.hpp index bb9345a0c..af81bceb2 100644 --- a/include/Actor/ActorUnkENGE.hpp +++ b/include/Actor/ActorUnkENGE.hpp @@ -9,7 +9,7 @@ class ActorUnkENGE_C4 : public Actor_C4 { public: - ActorUnkENGE_C4(Actor *param1); + ActorUnkENGE_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkENGE : public ActorProfile { ActorProfileUnkENGE(); ~ActorProfileUnkENGE(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkENGE *GetProfile(); + static ActorProfileUnkENGE* GetProfile(); }; diff --git a/include/Actor/ActorUnkEVCH.hpp b/include/Actor/ActorUnkEVCH.hpp index 186526fbf..d311f3ef5 100644 --- a/include/Actor/ActorUnkEVCH.hpp +++ b/include/Actor/ActorUnkEVCH.hpp @@ -9,7 +9,7 @@ class ActorUnkEVCH_C4 : public Actor_C4 { public: - ActorUnkEVCH_C4(Actor *param1); + ActorUnkEVCH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkEVCH : public ActorProfile { ActorProfileUnkEVCH(); ~ActorProfileUnkEVCH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEVCH *GetProfile(); + static ActorProfileUnkEVCH* GetProfile(); }; diff --git a/include/Actor/ActorUnkEWHI.hpp b/include/Actor/ActorUnkEWHI.hpp index 9cd6c61ca..95659251c 100644 --- a/include/Actor/ActorUnkEWHI.hpp +++ b/include/Actor/ActorUnkEWHI.hpp @@ -9,7 +9,7 @@ class ActorUnkEWHI_C4 : public Actor_C4 { public: - ActorUnkEWHI_C4(Actor *param1); + ActorUnkEWHI_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -53,7 +53,7 @@ class ActorProfileUnkEWHI : public ActorProfile { ActorProfileUnkEWHI(); ~ActorProfileUnkEWHI(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkEWHI *GetProfile(); + static ActorProfileUnkEWHI* GetProfile(); }; diff --git a/include/Actor/ActorUnkFBBF.hpp b/include/Actor/ActorUnkFBBF.hpp index 110b0ca97..cb250f204 100644 --- a/include/Actor/ActorUnkFBBF.hpp +++ b/include/Actor/ActorUnkFBBF.hpp @@ -9,7 +9,7 @@ class ActorUnkFBBF_C4 : public Actor_C4 { public: - ActorUnkFBBF_C4(Actor *param1); + ActorUnkFBBF_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkFBBF : public ActorProfile_Derived1 { ActorProfileUnkFBBF(); ~ActorProfileUnkFBBF(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFBBF *GetProfile(); + static ActorProfileUnkFBBF* GetProfile(); }; diff --git a/include/Actor/ActorUnkFBBH.hpp b/include/Actor/ActorUnkFBBH.hpp index 0150febe7..216f45c67 100644 --- a/include/Actor/ActorUnkFBBH.hpp +++ b/include/Actor/ActorUnkFBBH.hpp @@ -9,7 +9,7 @@ class ActorUnkFBBH_C4 : public Actor_C4 { public: - ActorUnkFBBH_C4(Actor *param1); + ActorUnkFBBH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -110,7 +110,7 @@ class ActorProfileUnkFBBH : public ActorProfile_Derived1 { ActorProfileUnkFBBH(); ~ActorProfileUnkFBBH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFBBH *GetProfile(); + static ActorProfileUnkFBBH* GetProfile(); }; diff --git a/include/Actor/ActorUnkFBCH.hpp b/include/Actor/ActorUnkFBCH.hpp index a134bb664..ae711f9b1 100644 --- a/include/Actor/ActorUnkFBCH.hpp +++ b/include/Actor/ActorUnkFBCH.hpp @@ -9,7 +9,7 @@ class ActorUnkFBCH_C4 : public Actor_C4 { public: - ActorUnkFBCH_C4(Actor *param1); + ActorUnkFBCH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -47,7 +47,7 @@ class ActorProfileUnkFBCH : public ActorProfile_Derived1 { ActorProfileUnkFBCH(); ~ActorProfileUnkFBCH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFBCH *GetProfile(); + static ActorProfileUnkFBCH* GetProfile(); }; diff --git a/include/Actor/ActorUnkFBRD.hpp b/include/Actor/ActorUnkFBRD.hpp index 071b9619d..d685f4ac8 100644 --- a/include/Actor/ActorUnkFBRD.hpp +++ b/include/Actor/ActorUnkFBRD.hpp @@ -9,7 +9,7 @@ class ActorUnkFBRD_C4 : public Actor_C4 { public: - ActorUnkFBRD_C4(Actor *param1); + ActorUnkFBRD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -66,7 +66,7 @@ class ActorProfileUnkFBRD : public ActorProfile_Derived1 { ActorProfileUnkFBRD(); ~ActorProfileUnkFBRD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFBRD *GetProfile(); + static ActorProfileUnkFBRD* GetProfile(); }; diff --git a/include/Actor/ActorUnkFBRG.hpp b/include/Actor/ActorUnkFBRG.hpp index 61c11bf75..ac63f4107 100644 --- a/include/Actor/ActorUnkFBRG.hpp +++ b/include/Actor/ActorUnkFBRG.hpp @@ -9,7 +9,7 @@ class ActorUnkFBRG_C4 : public Actor_C4 { public: - ActorUnkFBRG_C4(Actor *param1); + ActorUnkFBRG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -43,7 +43,7 @@ class ActorProfileUnkFBRG : public ActorProfile_Derived1 { ActorProfileUnkFBRG(); ~ActorProfileUnkFBRG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFBRG *GetProfile(); + static ActorProfileUnkFBRG* GetProfile(); }; diff --git a/include/Actor/ActorUnkFBSC.hpp b/include/Actor/ActorUnkFBSC.hpp index 62a0fb818..b255e40ac 100644 --- a/include/Actor/ActorUnkFBSC.hpp +++ b/include/Actor/ActorUnkFBSC.hpp @@ -9,7 +9,7 @@ class ActorUnkFBSC_C4 : public Actor_C4 { public: - ActorUnkFBSC_C4(Actor *param1); + ActorUnkFBSC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkFBSC : public ActorProfile { ActorProfileUnkFBSC(); ~ActorProfileUnkFBSC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFBSC *GetProfile(); + static ActorProfileUnkFBSC* GetProfile(); }; diff --git a/include/Actor/ActorUnkFCHL.hpp b/include/Actor/ActorUnkFCHL.hpp index a5d93301c..53be3a2fd 100644 --- a/include/Actor/ActorUnkFCHL.hpp +++ b/include/Actor/ActorUnkFCHL.hpp @@ -9,7 +9,7 @@ class ActorUnkFCHL_C4 : public Actor_C4 { public: - ActorUnkFCHL_C4(Actor *param1); + ActorUnkFCHL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkFCHL : public ActorProfile_Derived1 { ActorProfileUnkFCHL(); ~ActorProfileUnkFCHL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFCHL *GetProfile(); + static ActorProfileUnkFCHL* GetProfile(); }; diff --git a/include/Actor/ActorUnkFDKY.hpp b/include/Actor/ActorUnkFDKY.hpp index effe44b8d..06f9f9610 100644 --- a/include/Actor/ActorUnkFDKY.hpp +++ b/include/Actor/ActorUnkFDKY.hpp @@ -9,7 +9,7 @@ class ActorUnkFDKY_C4 : public Actor_C4 { public: - ActorUnkFDKY_C4(Actor *param1); + ActorUnkFDKY_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkFDKY : public ActorProfile_Derived1 { ActorProfileUnkFDKY(); ~ActorProfileUnkFDKY(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFDKY *GetProfile(); + static ActorProfileUnkFDKY* GetProfile(); }; diff --git a/include/Actor/ActorUnkFIBB.hpp b/include/Actor/ActorUnkFIBB.hpp index ae4be186f..e7ca670a0 100644 --- a/include/Actor/ActorUnkFIBB.hpp +++ b/include/Actor/ActorUnkFIBB.hpp @@ -9,7 +9,7 @@ class ActorUnkFIBB_C4 : public Actor_C4 { public: - ActorUnkFIBB_C4(Actor *param1); + ActorUnkFIBB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -74,7 +74,7 @@ class ActorProfileUnkFIBB : public ActorProfile_Derived1 { ActorProfileUnkFIBB(); ~ActorProfileUnkFIBB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFIBB *GetProfile(); + static ActorProfileUnkFIBB* GetProfile(); }; diff --git a/include/Actor/ActorUnkFIFI.hpp b/include/Actor/ActorUnkFIFI.hpp index fbb7d47e0..71855e194 100644 --- a/include/Actor/ActorUnkFIFI.hpp +++ b/include/Actor/ActorUnkFIFI.hpp @@ -9,7 +9,7 @@ class ActorUnkFIFI_C4 : public Actor_C4 { public: - ActorUnkFIFI_C4(Actor *param1); + ActorUnkFIFI_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkFIFI : public ActorProfile { ActorProfileUnkFIFI(); ~ActorProfileUnkFIFI(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFIFI *GetProfile(); + static ActorProfileUnkFIFI* GetProfile(); }; diff --git a/include/Actor/ActorUnkFIMA.hpp b/include/Actor/ActorUnkFIMA.hpp index ee5ca5c4a..30d876afb 100644 --- a/include/Actor/ActorUnkFIMA.hpp +++ b/include/Actor/ActorUnkFIMA.hpp @@ -9,7 +9,7 @@ class ActorUnkFIMA_C4 : public Actor_C4 { public: - ActorUnkFIMA_C4(Actor *param1); + ActorUnkFIMA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -66,7 +66,7 @@ class ActorProfileUnkFIMA : public ActorProfile_Derived1 { ActorProfileUnkFIMA(); ~ActorProfileUnkFIMA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFIMA *GetProfile(); + static ActorProfileUnkFIMA* GetProfile(); }; diff --git a/include/Actor/ActorUnkFIML.hpp b/include/Actor/ActorUnkFIML.hpp index ffbfca468..baf2073d8 100644 --- a/include/Actor/ActorUnkFIML.hpp +++ b/include/Actor/ActorUnkFIML.hpp @@ -9,7 +9,7 @@ class ActorUnkFIML_C4 : public Actor_C4 { public: - ActorUnkFIML_C4(Actor *param1); + ActorUnkFIML_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -78,7 +78,7 @@ class ActorProfileUnkFIML : public ActorProfile_Derived1 { ActorProfileUnkFIML(); ~ActorProfileUnkFIML(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFIML *GetProfile(); + static ActorProfileUnkFIML* GetProfile(); }; diff --git a/include/Actor/ActorUnkFIRB.hpp b/include/Actor/ActorUnkFIRB.hpp index a1f1dd276..66793d80c 100644 --- a/include/Actor/ActorUnkFIRB.hpp +++ b/include/Actor/ActorUnkFIRB.hpp @@ -9,7 +9,7 @@ class ActorUnkFIRB_C4 : public Actor_C4 { public: - ActorUnkFIRB_C4(Actor *param1); + ActorUnkFIRB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -44,7 +44,7 @@ class ActorProfileUnkFIRB : public ActorProfile_Derived1 { ActorProfileUnkFIRB(); ~ActorProfileUnkFIRB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFIRB *GetProfile(); + static ActorProfileUnkFIRB* GetProfile(); }; diff --git a/include/Actor/ActorUnkFKTR.hpp b/include/Actor/ActorUnkFKTR.hpp index e559410b8..177187f88 100644 --- a/include/Actor/ActorUnkFKTR.hpp +++ b/include/Actor/ActorUnkFKTR.hpp @@ -9,7 +9,7 @@ class ActorUnkFKTR_C4 : public Actor_C4 { public: - ActorUnkFKTR_C4(Actor *param1); + ActorUnkFKTR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -94,7 +94,7 @@ class ActorProfileUnkFKTR : public ActorProfile_Derived1 { ActorProfileUnkFKTR(); ~ActorProfileUnkFKTR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFKTR *GetProfile(); + static ActorProfileUnkFKTR* GetProfile(); }; diff --git a/include/Actor/ActorUnkFLCT.hpp b/include/Actor/ActorUnkFLCT.hpp index 38676da87..17bc41c4b 100644 --- a/include/Actor/ActorUnkFLCT.hpp +++ b/include/Actor/ActorUnkFLCT.hpp @@ -9,7 +9,7 @@ class ActorUnkFLCT_C4 : public Actor_C4 { public: - ActorUnkFLCT_C4(Actor *param1); + ActorUnkFLCT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -42,7 +42,7 @@ class ActorProfileUnkFLCT : public ActorProfile_Derived1 { ActorProfileUnkFLCT(); ~ActorProfileUnkFLCT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFLCT *GetProfile(); + static ActorProfileUnkFLCT* GetProfile(); }; diff --git a/include/Actor/ActorUnkFLDK.hpp b/include/Actor/ActorUnkFLDK.hpp index 8814f1ff8..16a07cd39 100644 --- a/include/Actor/ActorUnkFLDK.hpp +++ b/include/Actor/ActorUnkFLDK.hpp @@ -9,7 +9,7 @@ class ActorUnkFLDK_C4 : public Actor_C4 { public: - ActorUnkFLDK_C4(Actor *param1); + ActorUnkFLDK_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkFLDK : public ActorProfile { ActorProfileUnkFLDK(); ~ActorProfileUnkFLDK(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFLDK *GetProfile(); + static ActorProfileUnkFLDK* GetProfile(); }; diff --git a/include/Actor/ActorUnkFLEN.hpp b/include/Actor/ActorUnkFLEN.hpp index 1475eb526..d505b74bd 100644 --- a/include/Actor/ActorUnkFLEN.hpp +++ b/include/Actor/ActorUnkFLEN.hpp @@ -34,7 +34,7 @@ class ActorProfileUnkFLEN : public ActorProfile { ActorProfileUnkFLEN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFLEN *GetProfile(); + static ActorProfileUnkFLEN* GetProfile(); }; diff --git a/include/Actor/ActorUnkFMAS_FMLS.hpp b/include/Actor/ActorUnkFMAS_FMLS.hpp index 5b1c0882c..602c5f751 100644 --- a/include/Actor/ActorUnkFMAS_FMLS.hpp +++ b/include/Actor/ActorUnkFMAS_FMLS.hpp @@ -11,7 +11,7 @@ class ActorUnkFMAS_C4 : public Actor_C4 { public: - ActorUnkFMAS_C4(Actor *param1); + ActorUnkFMAS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkFMAS : public ActorProfile_Derived1 { ActorProfileUnkFMAS(); ~ActorProfileUnkFMAS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFMAS *GetProfile(); + static ActorProfileUnkFMAS* GetProfile(); }; // --- Actor FMLS --- class ActorUnkFMLS_C4 : public Actor_C4 { public: - ActorUnkFMLS_C4(Actor *param1); + ActorUnkFMLS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,7 +70,7 @@ class ActorProfileUnkFMLS : public ActorProfile_Derived1 { ActorProfileUnkFMLS(); ~ActorProfileUnkFMLS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFMLS *GetProfile(); + static ActorProfileUnkFMLS* GetProfile(); }; diff --git a/include/Actor/ActorUnkFOFA.hpp b/include/Actor/ActorUnkFOFA.hpp index 882ba9e00..157dc9b9e 100644 --- a/include/Actor/ActorUnkFOFA.hpp +++ b/include/Actor/ActorUnkFOFA.hpp @@ -9,7 +9,7 @@ class ActorUnkFOFA_C4 : public Actor_C4 { public: - ActorUnkFOFA_C4(Actor *param1); + ActorUnkFOFA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkFOFA : public ActorProfile { ActorProfileUnkFOFA(); ~ActorProfileUnkFOFA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFOFA *GetProfile(); + static ActorProfileUnkFOFA* GetProfile(); }; diff --git a/include/Actor/ActorUnkFOMD.hpp b/include/Actor/ActorUnkFOMD.hpp index 5ef3cdc08..bbcc86fcf 100644 --- a/include/Actor/ActorUnkFOMD.hpp +++ b/include/Actor/ActorUnkFOMD.hpp @@ -9,7 +9,7 @@ class ActorUnkFOMD_C4 : public Actor_C4 { public: - ActorUnkFOMD_C4(Actor *param1); + ActorUnkFOMD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -57,7 +57,7 @@ class ActorProfileUnkFOMD : public ActorProfile_Derived1 { ActorProfileUnkFOMD(); ~ActorProfileUnkFOMD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFOMD *GetProfile(); + static ActorProfileUnkFOMD* GetProfile(); }; diff --git a/include/Actor/ActorUnkFOMY.hpp b/include/Actor/ActorUnkFOMY.hpp index efee639be..0abbaa8b6 100644 --- a/include/Actor/ActorUnkFOMY.hpp +++ b/include/Actor/ActorUnkFOMY.hpp @@ -9,7 +9,7 @@ class ActorUnkFOMY_C4 : public Actor_C4 { public: - ActorUnkFOMY_C4(Actor *param1); + ActorUnkFOMY_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkFOMY : public ActorProfile_Derived1 { ActorProfileUnkFOMY(); ~ActorProfileUnkFOMY(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFOMY *GetProfile(); + static ActorProfileUnkFOMY* GetProfile(); }; diff --git a/include/Actor/ActorUnkFRBS.hpp b/include/Actor/ActorUnkFRBS.hpp index d0aef9b2e..d238c9bfe 100644 --- a/include/Actor/ActorUnkFRBS.hpp +++ b/include/Actor/ActorUnkFRBS.hpp @@ -9,7 +9,7 @@ class ActorUnkFRBS_C4 : public Actor_C4 { public: - ActorUnkFRBS_C4(Actor *param1); + ActorUnkFRBS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -136,7 +136,7 @@ class ActorProfileUnkFRBS : public ActorProfile_Derived1 { ActorProfileUnkFRBS(); ~ActorProfileUnkFRBS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFRBS *GetProfile(); + static ActorProfileUnkFRBS* GetProfile(); }; diff --git a/include/Actor/ActorUnkFRTN.hpp b/include/Actor/ActorUnkFRTN.hpp index 09df2e73e..021b4e15e 100644 --- a/include/Actor/ActorUnkFRTN.hpp +++ b/include/Actor/ActorUnkFRTN.hpp @@ -9,7 +9,7 @@ class ActorUnkFRTN_C4 : public Actor_C4 { public: - ActorUnkFRTN_C4(Actor *param1); + ActorUnkFRTN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -59,7 +59,7 @@ class ActorProfileUnkFRTN : public ActorProfile_Derived1 { ActorProfileUnkFRTN(); ~ActorProfileUnkFRTN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFRTN *GetProfile(); + static ActorProfileUnkFRTN* GetProfile(); }; diff --git a/include/Actor/ActorUnkFSIR.hpp b/include/Actor/ActorUnkFSIR.hpp index b4323cd7b..eee37b499 100644 --- a/include/Actor/ActorUnkFSIR.hpp +++ b/include/Actor/ActorUnkFSIR.hpp @@ -9,7 +9,7 @@ class ActorUnkFSIR_C4 : public Actor_C4 { public: - ActorUnkFSIR_C4(Actor *param1); + ActorUnkFSIR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkFSIR : public ActorProfile { ActorProfileUnkFSIR(); ~ActorProfileUnkFSIR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFSIR *GetProfile(); + static ActorProfileUnkFSIR* GetProfile(); }; diff --git a/include/Actor/ActorUnkFSSF.hpp b/include/Actor/ActorUnkFSSF.hpp index 743bf1baa..688e63201 100644 --- a/include/Actor/ActorUnkFSSF.hpp +++ b/include/Actor/ActorUnkFSSF.hpp @@ -9,7 +9,7 @@ class ActorUnkFSSF_C4 : public Actor_C4 { public: - ActorUnkFSSF_C4(Actor *param1); + ActorUnkFSSF_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkFSSF : public ActorProfile { ActorProfileUnkFSSF(); ~ActorProfileUnkFSSF(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFSSF *GetProfile(); + static ActorProfileUnkFSSF* GetProfile(); }; diff --git a/include/Actor/ActorUnkFSST.hpp b/include/Actor/ActorUnkFSST.hpp index 0f2020806..88238d964 100644 --- a/include/Actor/ActorUnkFSST.hpp +++ b/include/Actor/ActorUnkFSST.hpp @@ -9,7 +9,7 @@ class ActorUnkFSST_C4 : public Actor_C4 { public: - ActorUnkFSST_C4(Actor *param1); + ActorUnkFSST_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -58,7 +58,7 @@ class ActorProfileUnkFSST : public ActorProfile_Derived1 { ActorProfileUnkFSST(); ~ActorProfileUnkFSST(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFSST *GetProfile(); + static ActorProfileUnkFSST* GetProfile(); }; diff --git a/include/Actor/ActorUnkFTRN.hpp b/include/Actor/ActorUnkFTRN.hpp index 15f90b016..b07581e42 100644 --- a/include/Actor/ActorUnkFTRN.hpp +++ b/include/Actor/ActorUnkFTRN.hpp @@ -9,7 +9,7 @@ class ActorUnkFTRN_C4 : public Actor_C4 { public: - ActorUnkFTRN_C4(Actor *param1); + ActorUnkFTRN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -93,7 +93,7 @@ class ActorProfileUnkFTRN : public ActorProfile { ActorProfileUnkFTRN(); ~ActorProfileUnkFTRN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkFTRN *GetProfile(); + static ActorProfileUnkFTRN* GetProfile(); }; diff --git a/include/Actor/ActorUnkGHOS.hpp b/include/Actor/ActorUnkGHOS.hpp index 5abc0d56d..18e2d289c 100644 --- a/include/Actor/ActorUnkGHOS.hpp +++ b/include/Actor/ActorUnkGHOS.hpp @@ -9,7 +9,7 @@ class ActorUnkGHOS_C4 : public Actor_C4 { public: - ActorUnkGHOS_C4(Actor *param1); + ActorUnkGHOS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -104,7 +104,7 @@ class ActorProfileUnkGHOS : public ActorProfile_Derived1 { ActorProfileUnkGHOS(); ~ActorProfileUnkGHOS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGHOS *GetProfile(); + static ActorProfileUnkGHOS* GetProfile(); }; diff --git a/include/Actor/ActorUnkGOCA_GOCB_GORK_GORM.hpp b/include/Actor/ActorUnkGOCA_GOCB_GORK_GORM.hpp index d2e964b26..88c98dd74 100644 --- a/include/Actor/ActorUnkGOCA_GOCB_GORK_GORM.hpp +++ b/include/Actor/ActorUnkGOCA_GOCB_GORK_GORM.hpp @@ -11,7 +11,7 @@ class ActorUnkGOCA_C4 : public Actor_C4 { public: - ActorUnkGOCA_C4(Actor *param1); + ActorUnkGOCA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkGOCA : public ActorProfile_Derived1 { ActorProfileUnkGOCA(); ~ActorProfileUnkGOCA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGOCA *GetProfile(); + static ActorProfileUnkGOCA* GetProfile(); }; // --- Actor GOCB --- class ActorUnkGOCB_C4 : public Actor_C4 { public: - ActorUnkGOCB_C4(Actor *param1); + ActorUnkGOCB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,16 +70,16 @@ class ActorProfileUnkGOCB : public ActorProfile_Derived1 { ActorProfileUnkGOCB(); ~ActorProfileUnkGOCB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGOCB *GetProfile(); + static ActorProfileUnkGOCB* GetProfile(); }; // --- Actor GORK --- class ActorUnkGORK_C4 : public Actor_C4 { public: - ActorUnkGORK_C4(Actor *param1); + ActorUnkGORK_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -104,16 +104,16 @@ class ActorProfileUnkGORK : public ActorProfile_Derived1 { ActorProfileUnkGORK(); ~ActorProfileUnkGORK(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGORK *GetProfile(); + static ActorProfileUnkGORK* GetProfile(); }; // --- Actor GORM --- class ActorUnkGORM_C4 : public Actor_C4 { public: - ActorUnkGORM_C4(Actor *param1); + ActorUnkGORM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -138,7 +138,7 @@ class ActorProfileUnkGORM : public ActorProfile_Derived1 { ActorProfileUnkGORM(); ~ActorProfileUnkGORM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGORM *GetProfile(); + static ActorProfileUnkGORM* GetProfile(); }; diff --git a/include/Actor/ActorUnkGOKI.hpp b/include/Actor/ActorUnkGOKI.hpp index 98bcf7589..c75c76afe 100644 --- a/include/Actor/ActorUnkGOKI.hpp +++ b/include/Actor/ActorUnkGOKI.hpp @@ -9,7 +9,7 @@ class ActorUnkGOKI_C4 : public Actor_C4 { public: - ActorUnkGOKI_C4(Actor *param1); + ActorUnkGOKI_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -61,7 +61,7 @@ class ActorProfileUnkGOKI : public ActorProfile_Derived1 { ActorProfileUnkGOKI(); ~ActorProfileUnkGOKI(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGOKI *GetProfile(); + static ActorProfileUnkGOKI* GetProfile(); }; diff --git a/include/Actor/ActorUnkGORS.hpp b/include/Actor/ActorUnkGORS.hpp index 163272c02..e1ecc9bce 100644 --- a/include/Actor/ActorUnkGORS.hpp +++ b/include/Actor/ActorUnkGORS.hpp @@ -9,7 +9,7 @@ class ActorUnkGORS_C4 : public Actor_C4 { public: - ActorUnkGORS_C4(Actor *param1); + ActorUnkGORS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -54,7 +54,7 @@ class ActorProfileUnkGORS : public ActorProfile_Derived1 { ActorProfileUnkGORS(); ~ActorProfileUnkGORS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGORS *GetProfile(); + static ActorProfileUnkGORS* GetProfile(); }; diff --git a/include/Actor/ActorUnkGORY.hpp b/include/Actor/ActorUnkGORY.hpp index c1cb3ef00..970c9ad2a 100644 --- a/include/Actor/ActorUnkGORY.hpp +++ b/include/Actor/ActorUnkGORY.hpp @@ -10,7 +10,7 @@ class ActorUnkGORY_C4 : public Actor_C4 { public: - ActorUnkGORY_C4(Actor *param1); + ActorUnkGORY_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkGORY : public ActorProfile_Derived1 { ActorProfileUnkGORY(); ~ActorProfileUnkGORY(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGORY *GetProfile(); + static ActorProfileUnkGORY* GetProfile(); }; diff --git a/include/Actor/ActorUnkGOVT.hpp b/include/Actor/ActorUnkGOVT.hpp index 03e01032f..910d0267e 100644 --- a/include/Actor/ActorUnkGOVT.hpp +++ b/include/Actor/ActorUnkGOVT.hpp @@ -9,7 +9,7 @@ class ActorUnkGOVT_C4 : public Actor_C4 { public: - ActorUnkGOVT_C4(Actor *param1); + ActorUnkGOVT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkGOVT : public ActorProfile { ActorProfileUnkGOVT(); ~ActorProfileUnkGOVT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGOVT *GetProfile(); + static ActorProfileUnkGOVT* GetProfile(); }; diff --git a/include/Actor/ActorUnkGRCF.hpp b/include/Actor/ActorUnkGRCF.hpp index 371741775..3ce9169d0 100644 --- a/include/Actor/ActorUnkGRCF.hpp +++ b/include/Actor/ActorUnkGRCF.hpp @@ -9,7 +9,7 @@ class ActorUnkGRCF_C4 : public Actor_C4 { public: - ActorUnkGRCF_C4(Actor *param1); + ActorUnkGRCF_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkGRCF : public ActorProfile { ActorProfileUnkGRCF(); ~ActorProfileUnkGRCF(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGRCF *GetProfile(); + static ActorProfileUnkGRCF* GetProfile(); }; diff --git a/include/Actor/ActorUnkGRCM.hpp b/include/Actor/ActorUnkGRCM.hpp index 148d5fe77..cfaf12296 100644 --- a/include/Actor/ActorUnkGRCM.hpp +++ b/include/Actor/ActorUnkGRCM.hpp @@ -9,7 +9,7 @@ class ActorUnkGRCM_C4 : public Actor_C4 { public: - ActorUnkGRCM_C4(Actor *param1); + ActorUnkGRCM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -42,7 +42,7 @@ class ActorProfileUnkGRCM : public ActorProfile { ActorProfileUnkGRCM(); ~ActorProfileUnkGRCM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGRCM *GetProfile(); + static ActorProfileUnkGRCM* GetProfile(); }; diff --git a/include/Actor/ActorUnkGTTG.hpp b/include/Actor/ActorUnkGTTG.hpp index b45148895..62d089741 100644 --- a/include/Actor/ActorUnkGTTG.hpp +++ b/include/Actor/ActorUnkGTTG.hpp @@ -9,7 +9,7 @@ class ActorUnkGTTG_C4 : public Actor_C4 { public: - ActorUnkGTTG_C4(Actor *param1); + ActorUnkGTTG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkGTTG : public ActorProfile { ActorProfileUnkGTTG(); ~ActorProfileUnkGTTG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGTTG *GetProfile(); + static ActorProfileUnkGTTG* GetProfile(); }; diff --git a/include/Actor/ActorUnkGYAM.hpp b/include/Actor/ActorUnkGYAM.hpp index 7cc7b2633..8a4efe6ed 100644 --- a/include/Actor/ActorUnkGYAM.hpp +++ b/include/Actor/ActorUnkGYAM.hpp @@ -9,7 +9,7 @@ class ActorUnkGYAM_C4 : public Actor_C4 { public: - ActorUnkGYAM_C4(Actor *param1); + ActorUnkGYAM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -129,7 +129,7 @@ class ActorProfileUnkGYAM : public ActorProfile_Derived1 { ActorProfileUnkGYAM(); ~ActorProfileUnkGYAM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkGYAM *GetProfile(); + static ActorProfileUnkGYAM* GetProfile(); }; diff --git a/include/Actor/ActorUnkHAMN.hpp b/include/Actor/ActorUnkHAMN.hpp index 7aaa1797e..eadd7ee8b 100644 --- a/include/Actor/ActorUnkHAMN.hpp +++ b/include/Actor/ActorUnkHAMN.hpp @@ -9,7 +9,7 @@ class ActorUnkHAMN_C4 : public Actor_C4 { public: - ActorUnkHAMN_C4(Actor *param1); + ActorUnkHAMN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -125,7 +125,7 @@ class ActorProfileUnkHAMN : public ActorProfile_Derived1 { ActorProfileUnkHAMN(); ~ActorProfileUnkHAMN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkHAMN *GetProfile(); + static ActorProfileUnkHAMN* GetProfile(); }; diff --git a/include/Actor/ActorUnkHELA.hpp b/include/Actor/ActorUnkHELA.hpp index 4f3856d56..7d1dd800f 100644 --- a/include/Actor/ActorUnkHELA.hpp +++ b/include/Actor/ActorUnkHELA.hpp @@ -9,7 +9,7 @@ class ActorUnkHELA_C4 : public Actor_C4 { public: - ActorUnkHELA_C4(Actor *param1); + ActorUnkHELA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -137,7 +137,7 @@ class ActorProfileUnkHELA : public ActorProfile_Derived1 { ActorProfileUnkHELA(); ~ActorProfileUnkHELA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkHELA *GetProfile(); + static ActorProfileUnkHELA* GetProfile(); }; diff --git a/include/Actor/ActorUnkHLMG.hpp b/include/Actor/ActorUnkHLMG.hpp index d9a413495..d2618be0a 100644 --- a/include/Actor/ActorUnkHLMG.hpp +++ b/include/Actor/ActorUnkHLMG.hpp @@ -9,7 +9,7 @@ class ActorUnkHLMG_C4 : public Actor_C4 { public: - ActorUnkHLMG_C4(Actor *param1); + ActorUnkHLMG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -58,7 +58,7 @@ class ActorProfileUnkHLMG : public ActorProfile { ActorProfileUnkHLMG(); ~ActorProfileUnkHLMG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkHLMG *GetProfile(); + static ActorProfileUnkHLMG* GetProfile(); }; diff --git a/include/Actor/ActorUnkHYSW.hpp b/include/Actor/ActorUnkHYSW.hpp index bcdfd6eec..2a4465646 100644 --- a/include/Actor/ActorUnkHYSW.hpp +++ b/include/Actor/ActorUnkHYSW.hpp @@ -9,7 +9,7 @@ class ActorUnkHYSW_C4 : public Actor_C4 { public: - ActorUnkHYSW_C4(Actor *param1); + ActorUnkHYSW_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkHYSW : public ActorProfile { ActorProfileUnkHYSW(); ~ActorProfileUnkHYSW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkHYSW *GetProfile(); + static ActorProfileUnkHYSW* GetProfile(); }; diff --git a/include/Actor/ActorUnkIBBA.hpp b/include/Actor/ActorUnkIBBA.hpp index 1dd23386e..0285e6a10 100644 --- a/include/Actor/ActorUnkIBBA.hpp +++ b/include/Actor/ActorUnkIBBA.hpp @@ -9,7 +9,7 @@ class ActorUnkIBBA_C4 : public Actor_C4 { public: - ActorUnkIBBA_C4(Actor *param1); + ActorUnkIBBA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -59,7 +59,7 @@ class ActorProfileUnkIBBA : public ActorProfile { ActorProfileUnkIBBA(); ~ActorProfileUnkIBBA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkIBBA *GetProfile(); + static ActorProfileUnkIBBA* GetProfile(); }; diff --git a/include/Actor/ActorUnkIBSP.hpp b/include/Actor/ActorUnkIBSP.hpp index 738ca101e..be37a4b3b 100644 --- a/include/Actor/ActorUnkIBSP.hpp +++ b/include/Actor/ActorUnkIBSP.hpp @@ -9,7 +9,7 @@ class ActorUnkIBSP_C4 : public Actor_C4 { public: - ActorUnkIBSP_C4(Actor *param1); + ActorUnkIBSP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkIBSP : public ActorProfile { ActorProfileUnkIBSP(); ~ActorProfileUnkIBSP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkIBSP *GetProfile(); + static ActorProfileUnkIBSP* GetProfile(); }; diff --git a/include/Actor/ActorUnkICBA.hpp b/include/Actor/ActorUnkICBA.hpp index 97667ec88..176d49ecd 100644 --- a/include/Actor/ActorUnkICBA.hpp +++ b/include/Actor/ActorUnkICBA.hpp @@ -9,7 +9,7 @@ class ActorUnkICBA_C4 : public Actor_C4 { public: - ActorUnkICBA_C4(Actor *param1); + ActorUnkICBA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -62,7 +62,7 @@ class ActorProfileUnkICBA : public ActorProfile_Derived1 { ActorProfileUnkICBA(); ~ActorProfileUnkICBA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkICBA *GetProfile(); + static ActorProfileUnkICBA* GetProfile(); }; diff --git a/include/Actor/ActorUnkICBB.hpp b/include/Actor/ActorUnkICBB.hpp index 42611ed19..fb97bdabd 100644 --- a/include/Actor/ActorUnkICBB.hpp +++ b/include/Actor/ActorUnkICBB.hpp @@ -9,7 +9,7 @@ class ActorUnkICBB_C4 : public Actor_C4 { public: - ActorUnkICBB_C4(Actor *param1); + ActorUnkICBB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -101,7 +101,7 @@ class ActorProfileUnkICBB : public ActorProfile_Derived1 { ActorProfileUnkICBB(); ~ActorProfileUnkICBB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkICBB *GetProfile(); + static ActorProfileUnkICBB* GetProfile(); }; diff --git a/include/Actor/ActorUnkICBS.hpp b/include/Actor/ActorUnkICBS.hpp index a6b1fa40f..5278b482d 100644 --- a/include/Actor/ActorUnkICBS.hpp +++ b/include/Actor/ActorUnkICBS.hpp @@ -9,7 +9,7 @@ class ActorUnkICBS_C4 : public Actor_C4 { public: - ActorUnkICBS_C4(Actor *param1); + ActorUnkICBS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorUnkICBS : public Actor { void func_ov080_02151744(void); void func_ov080_0215183c(void); void func_ov080_021518b4(void); - void func_ov080_02151970(VecFx32 *param1); + void func_ov080_02151970(VecFx32* param1); void func_ov080_02151f58(void); void func_ov080_02152078(void); void func_ov080_0215219c(void); @@ -173,7 +173,7 @@ class ActorProfileUnkICBS : public ActorProfile_Derived1 { ActorProfileUnkICBS(); ~ActorProfileUnkICBS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkICBS *GetProfile(); + static ActorProfileUnkICBS* GetProfile(); }; diff --git a/include/Actor/ActorUnkITSC.hpp b/include/Actor/ActorUnkITSC.hpp index df8f66a37..b1dc8a4cb 100644 --- a/include/Actor/ActorUnkITSC.hpp +++ b/include/Actor/ActorUnkITSC.hpp @@ -9,7 +9,7 @@ class ActorUnkITSC_C4 : public Actor_C4 { public: - ActorUnkITSC_C4(Actor *param1); + ActorUnkITSC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkITSC : public ActorProfile_Derived1 { ActorProfileUnkITSC(); ~ActorProfileUnkITSC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkITSC *GetProfile(); + static ActorProfileUnkITSC* GetProfile(); }; diff --git a/include/Actor/ActorUnkITWP.hpp b/include/Actor/ActorUnkITWP.hpp index 3e402e81c..d9f56daa3 100644 --- a/include/Actor/ActorUnkITWP.hpp +++ b/include/Actor/ActorUnkITWP.hpp @@ -11,7 +11,7 @@ class ActorUnkITWP_C4 : public Actor_C4 { public: - ActorUnkITWP_C4(Actor *param1); + ActorUnkITWP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -63,7 +63,7 @@ class ActorProfileUnkITWP : public ActorProfile { ActorProfileUnkITWP(); ~ActorProfileUnkITWP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkITWP *GetProfile(); + static ActorProfileUnkITWP* GetProfile(); }; diff --git a/include/Actor/ActorUnkIWTS.hpp b/include/Actor/ActorUnkIWTS.hpp index ec4d55af9..f7cece284 100644 --- a/include/Actor/ActorUnkIWTS.hpp +++ b/include/Actor/ActorUnkIWTS.hpp @@ -9,7 +9,7 @@ class ActorUnkIWTS_C4 : public Actor_C4 { public: - ActorUnkIWTS_C4(Actor *param1); + ActorUnkIWTS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -62,7 +62,7 @@ class ActorUnkIWTS : public Actor { void func_ov084_02152cec(void); void func_ov084_02152d10(void); void func_ov084_02153018(void); - bool func_ov084_02153064(RefStruct *pRef, MtxFx43 **param2); + bool func_ov084_02153064(RefStruct* pRef, MtxFx43** param2); void func_ov084_021530d4(void); void func_ov084_0215315c(void); void func_ov084_02153194(void); @@ -156,7 +156,7 @@ class ActorProfileUnkIWTS : public ActorProfile_Derived1 { ActorProfileUnkIWTS(); ~ActorProfileUnkIWTS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkIWTS *GetProfile(); + static ActorProfileUnkIWTS* GetProfile(); }; diff --git a/include/Actor/ActorUnkJOLN.hpp b/include/Actor/ActorUnkJOLN.hpp index 89653d604..c1114a633 100644 --- a/include/Actor/ActorUnkJOLN.hpp +++ b/include/Actor/ActorUnkJOLN.hpp @@ -9,7 +9,7 @@ class ActorUnkJOLN_C4 : public Actor_C4 { public: - ActorUnkJOLN_C4(Actor *param1); + ActorUnkJOLN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkJOLN : public ActorProfile_Derived1 { ActorProfileUnkJOLN(); ~ActorProfileUnkJOLN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkJOLN *GetProfile(); + static ActorProfileUnkJOLN* GetProfile(); }; diff --git a/include/Actor/ActorUnkKEYB.hpp b/include/Actor/ActorUnkKEYB.hpp index baf748b9a..19c1b0143 100644 --- a/include/Actor/ActorUnkKEYB.hpp +++ b/include/Actor/ActorUnkKEYB.hpp @@ -9,7 +9,7 @@ class ActorUnkKEYB_C4 : public Actor_C4 { public: - ActorUnkKEYB_C4(Actor *param1); + ActorUnkKEYB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkKEYB : public ActorProfile_Derived1 { ActorProfileUnkKEYB(); ~ActorProfileUnkKEYB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKEYB *GetProfile(); + static ActorProfileUnkKEYB* GetProfile(); }; diff --git a/include/Actor/ActorUnkKEYN.hpp b/include/Actor/ActorUnkKEYN.hpp index 1ffb45031..732c2664e 100644 --- a/include/Actor/ActorUnkKEYN.hpp +++ b/include/Actor/ActorUnkKEYN.hpp @@ -10,7 +10,7 @@ class ActorUnkKEYN_C4 : public Actor_C4 { public: - ActorUnkKEYN_C4(Actor *param1); + ActorUnkKEYN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -28,7 +28,7 @@ class ActorUnkKEYN : public Actor { /* 4C */ virtual ~ActorUnkKEYN() override; - static void func_ov070_0214143c(RefStruct *param1, VecFx32 *param2, RefStruct param3, s16 param4, u8 param5, u16 param6); + static void func_ov070_0214143c(RefStruct* param1, VecFx32* param2, RefStruct param3, s16 param4, u8 param5, u16 param6); void func_ov070_02141618(void); void func_ov070_0214162c(void); void func_ov070_02141750(void); @@ -72,7 +72,7 @@ class ActorProfileUnkKEYN : public ActorProfile_Derived1 { ActorProfileUnkKEYN(); ~ActorProfileUnkKEYN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKEYN *GetProfile(); + static ActorProfileUnkKEYN* GetProfile(); }; diff --git a/include/Actor/ActorUnkKEYT.hpp b/include/Actor/ActorUnkKEYT.hpp index f9b86a626..387d2a503 100644 --- a/include/Actor/ActorUnkKEYT.hpp +++ b/include/Actor/ActorUnkKEYT.hpp @@ -9,7 +9,7 @@ class ActorUnkKEYT_C4 : public Actor_C4 { public: - ActorUnkKEYT_C4(Actor *param1); + ActorUnkKEYT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -44,7 +44,7 @@ class ActorProfileUnkKEYT : public ActorProfile { ActorProfileUnkKEYT(); ~ActorProfileUnkKEYT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKEYT *GetProfile(); + static ActorProfileUnkKEYT* GetProfile(); }; diff --git a/include/Actor/ActorUnkKGDB.hpp b/include/Actor/ActorUnkKGDB.hpp index 73d06793c..b52a87687 100644 --- a/include/Actor/ActorUnkKGDB.hpp +++ b/include/Actor/ActorUnkKGDB.hpp @@ -9,7 +9,7 @@ class ActorUnkKGDB_C4 : public Actor_C4 { public: - ActorUnkKGDB_C4(Actor *param1); + ActorUnkKGDB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkKGDB : public ActorProfile_Derived1 { ActorProfileUnkKGDB(); ~ActorProfileUnkKGDB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKGDB *GetProfile(); + static ActorProfileUnkKGDB* GetProfile(); }; diff --git a/include/Actor/ActorUnkKGDN.hpp b/include/Actor/ActorUnkKGDN.hpp index 74110d1c7..5a8cc4ad6 100644 --- a/include/Actor/ActorUnkKGDN.hpp +++ b/include/Actor/ActorUnkKGDN.hpp @@ -9,7 +9,7 @@ class ActorUnkKGDN_C4 : public Actor_C4 { public: - ActorUnkKGDN_C4(Actor *param1); + ActorUnkKGDN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -46,7 +46,7 @@ class ActorProfileUnkKGDN : public ActorProfile { ActorProfileUnkKGDN(); ~ActorProfileUnkKGDN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKGDN *GetProfile(); + static ActorProfileUnkKGDN* GetProfile(); }; diff --git a/include/Actor/ActorUnkKIMA.hpp b/include/Actor/ActorUnkKIMA.hpp index 5bf19d715..f8db10184 100644 --- a/include/Actor/ActorUnkKIMA.hpp +++ b/include/Actor/ActorUnkKIMA.hpp @@ -9,7 +9,7 @@ class ActorUnkKIMA_C4 : public Actor_C4 { public: - ActorUnkKIMA_C4(Actor *param1); + ActorUnkKIMA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkKIMA : public ActorProfile_Derived1 { ActorProfileUnkKIMA(); ~ActorProfileUnkKIMA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKIMA *GetProfile(); + static ActorProfileUnkKIMA* GetProfile(); }; diff --git a/include/Actor/ActorUnkKIMB.hpp b/include/Actor/ActorUnkKIMB.hpp index 96f9968ad..6f5fed752 100644 --- a/include/Actor/ActorUnkKIMB.hpp +++ b/include/Actor/ActorUnkKIMB.hpp @@ -9,7 +9,7 @@ class ActorUnkKIMB_C4 : public Actor_C4 { public: - ActorUnkKIMB_C4(Actor *param1); + ActorUnkKIMB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -59,7 +59,7 @@ class ActorProfileUnkKIMB : public ActorProfile_Derived1 { ActorProfileUnkKIMB(); ~ActorProfileUnkKIMB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKIMB *GetProfile(); + static ActorProfileUnkKIMB* GetProfile(); }; diff --git a/include/Actor/ActorUnkKLTR.hpp b/include/Actor/ActorUnkKLTR.hpp index afe78aadf..620413b13 100644 --- a/include/Actor/ActorUnkKLTR.hpp +++ b/include/Actor/ActorUnkKLTR.hpp @@ -9,7 +9,7 @@ class ActorUnkKLTR_C4 : public Actor_C4 { public: - ActorUnkKLTR_C4(Actor *param1); + ActorUnkKLTR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -82,7 +82,7 @@ class ActorProfileUnkKLTR : public ActorProfile_Derived1 { ActorProfileUnkKLTR(); ~ActorProfileUnkKLTR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKLTR *GetProfile(); + static ActorProfileUnkKLTR* GetProfile(); }; diff --git a/include/Actor/ActorUnkKMOH.hpp b/include/Actor/ActorUnkKMOH.hpp index 027ce1ca9..09f52139c 100644 --- a/include/Actor/ActorUnkKMOH.hpp +++ b/include/Actor/ActorUnkKMOH.hpp @@ -9,7 +9,7 @@ class ActorUnkKMOH_C4 : public Actor_C4 { public: - ActorUnkKMOH_C4(Actor *param1); + ActorUnkKMOH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -88,7 +88,7 @@ class ActorProfileUnkKMOH : public ActorProfile_Derived1 { ActorProfileUnkKMOH(); ~ActorProfileUnkKMOH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKMOH *GetProfile(); + static ActorProfileUnkKMOH* GetProfile(); }; diff --git a/include/Actor/ActorUnkKMOS.hpp b/include/Actor/ActorUnkKMOS.hpp index 59dbbd4a6..aebb0a7bd 100644 --- a/include/Actor/ActorUnkKMOS.hpp +++ b/include/Actor/ActorUnkKMOS.hpp @@ -9,7 +9,7 @@ class ActorUnkKMOS_C4 : public Actor_C4 { public: - ActorUnkKMOS_C4(Actor *param1); + ActorUnkKMOS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -91,7 +91,7 @@ class ActorProfileUnkKMOS : public ActorProfile_Derived1 { ActorProfileUnkKMOS(); ~ActorProfileUnkKMOS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKMOS *GetProfile(); + static ActorProfileUnkKMOS* GetProfile(); }; diff --git a/include/Actor/ActorUnkKMSO.hpp b/include/Actor/ActorUnkKMSO.hpp index aaba87c40..8f2f862b9 100644 --- a/include/Actor/ActorUnkKMSO.hpp +++ b/include/Actor/ActorUnkKMSO.hpp @@ -9,7 +9,7 @@ class ActorUnkKMSO_C4 : public Actor_C4 { public: - ActorUnkKMSO_C4(Actor *param1); + ActorUnkKMSO_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -46,7 +46,7 @@ class ActorProfileUnkKMSO : public ActorProfile_Derived1 { ActorProfileUnkKMSO(); ~ActorProfileUnkKMSO(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKMSO *GetProfile(); + static ActorProfileUnkKMSO* GetProfile(); }; diff --git a/include/Actor/ActorUnkKOAT.hpp b/include/Actor/ActorUnkKOAT.hpp index 61520a37b..243a54172 100644 --- a/include/Actor/ActorUnkKOAT.hpp +++ b/include/Actor/ActorUnkKOAT.hpp @@ -9,7 +9,7 @@ class ActorUnkKOAT_C4 : public Actor_C4 { public: - ActorUnkKOAT_C4(Actor *param1); + ActorUnkKOAT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkKOAT : public ActorProfile { ActorProfileUnkKOAT(); ~ActorProfileUnkKOAT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKOAT *GetProfile(); + static ActorProfileUnkKOAT* GetProfile(); }; diff --git a/include/Actor/ActorUnkKOCH.hpp b/include/Actor/ActorUnkKOCH.hpp index c012737c4..80d8250de 100644 --- a/include/Actor/ActorUnkKOCH.hpp +++ b/include/Actor/ActorUnkKOCH.hpp @@ -9,7 +9,7 @@ class ActorUnkKOCH_C4 : public Actor_C4 { public: - ActorUnkKOCH_C4(Actor *param1); + ActorUnkKOCH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -55,7 +55,7 @@ class ActorProfileUnkKOCH : public ActorProfile { ActorProfileUnkKOCH(); ~ActorProfileUnkKOCH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKOCH *GetProfile(); + static ActorProfileUnkKOCH* GetProfile(); }; diff --git a/include/Actor/ActorUnkKOKO.hpp b/include/Actor/ActorUnkKOKO.hpp index 16aca19ec..7518c0821 100644 --- a/include/Actor/ActorUnkKOKO.hpp +++ b/include/Actor/ActorUnkKOKO.hpp @@ -9,7 +9,7 @@ class ActorUnkKOKO_C4 : public Actor_C4 { public: - ActorUnkKOKO_C4(Actor *param1); + ActorUnkKOKO_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -100,7 +100,7 @@ class ActorProfileUnkKOKO : public ActorProfile_Derived1 { ActorProfileUnkKOKO(); ~ActorProfileUnkKOKO(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKOKO *GetProfile(); + static ActorProfileUnkKOKO* GetProfile(); }; diff --git a/include/Actor/ActorUnkKOTA.hpp b/include/Actor/ActorUnkKOTA.hpp index 45043ffe1..c47616677 100644 --- a/include/Actor/ActorUnkKOTA.hpp +++ b/include/Actor/ActorUnkKOTA.hpp @@ -8,7 +8,7 @@ class ActorUnkKOTA_C4 : public Actor_C4 { public: - ActorUnkKOTA_C4(Actor *param1); + ActorUnkKOTA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -19,14 +19,14 @@ class ActorUnkKOTA_C4 : public Actor_C4 { class ActorUnkKOTA : public Actor { public: /* 00 (base) */ - /* 94 */ Actor *mUnk_94[0x10]; - /* D4 */ Actor **mUnk_D4; // Sentinel for the array above + /* 94 */ Actor* mUnk_94[0x10]; + /* D4 */ Actor** mUnk_D4; // Sentinel for the array above /* D8 */ u16 mUnk_D8; /* DA */ u16 mUnk_DA; /* DC */ - Actor **GetUnkD4() const { - return (Actor **) mUnk_D4; // cast is required + Actor** GetUnkD4() const { + return (Actor**) mUnk_D4; // cast is required } void UnknownAction1(s32 start) { @@ -46,8 +46,8 @@ class ActorUnkKOTA : public Actor { /* 24 */ virtual void vfunc_24(); void func_ov094_0216e4f0(void); - void func_ov094_0216e5a4(const ActorParams *param1); - void func_ov094_0216e9fc(VecFx32 *param1, const VecFx32 *param2, fx32 param3) const; + void func_ov094_0216e5a4(const ActorParams* param1); + void func_ov094_0216e9fc(VecFx32* param1, const VecFx32* param2, fx32 param3) const; unk32 func_ov094_0216ed94(void) const; }; @@ -57,7 +57,7 @@ class ActorProfileUnkKOTA : public ActorProfile { ActorProfileUnkKOTA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkKOTA *GetProfile(); + static ActorProfileUnkKOTA* GetProfile(); }; diff --git a/include/Actor/ActorUnkL2MT.hpp b/include/Actor/ActorUnkL2MT.hpp index f3e3fac9d..5b8480f90 100644 --- a/include/Actor/ActorUnkL2MT.hpp +++ b/include/Actor/ActorUnkL2MT.hpp @@ -9,7 +9,7 @@ class ActorUnkL2MT_C4 : public Actor_C4 { public: - ActorUnkL2MT_C4(Actor *param1); + ActorUnkL2MT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkL2MT : public ActorProfile_Derived1 { ActorProfileUnkL2MT(); ~ActorProfileUnkL2MT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkL2MT *GetProfile(); + static ActorProfileUnkL2MT* GetProfile(); }; diff --git a/include/Actor/ActorUnkL2V1.hpp b/include/Actor/ActorUnkL2V1.hpp index 4430f80a6..5377a7238 100644 --- a/include/Actor/ActorUnkL2V1.hpp +++ b/include/Actor/ActorUnkL2V1.hpp @@ -9,7 +9,7 @@ class ActorUnkL2V1_C4 : public Actor_C4 { public: - ActorUnkL2V1_C4(Actor *param1); + ActorUnkL2V1_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -44,7 +44,7 @@ class ActorProfileUnkL2V1 : public ActorProfile_Derived1 { ActorProfileUnkL2V1(); ~ActorProfileUnkL2V1(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkL2V1 *GetProfile(); + static ActorProfileUnkL2V1* GetProfile(); }; diff --git a/include/Actor/ActorUnkL2V2.hpp b/include/Actor/ActorUnkL2V2.hpp index e598dabbf..c52385696 100644 --- a/include/Actor/ActorUnkL2V2.hpp +++ b/include/Actor/ActorUnkL2V2.hpp @@ -9,7 +9,7 @@ class ActorUnkL2V2_C4 : public Actor_C4 { public: - ActorUnkL2V2_C4(Actor *param1); + ActorUnkL2V2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkL2V2 : public ActorProfile_Derived1 { ActorProfileUnkL2V2(); ~ActorProfileUnkL2V2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkL2V2 *GetProfile(); + static ActorProfileUnkL2V2* GetProfile(); }; diff --git a/include/Actor/ActorUnkLAVA.hpp b/include/Actor/ActorUnkLAVA.hpp index 9055002cc..056e2ea60 100644 --- a/include/Actor/ActorUnkLAVA.hpp +++ b/include/Actor/ActorUnkLAVA.hpp @@ -9,7 +9,7 @@ class ActorUnkLAVA_C4 : public Actor_C4 { public: - ActorUnkLAVA_C4(Actor *param1); + ActorUnkLAVA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -51,7 +51,7 @@ class ActorProfileUnkLAVA : public ActorProfile_Derived1 { ActorProfileUnkLAVA(); ~ActorProfileUnkLAVA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkLAVA *GetProfile(); + static ActorProfileUnkLAVA* GetProfile(); }; diff --git a/include/Actor/ActorUnkLBCK.hpp b/include/Actor/ActorUnkLBCK.hpp index 4cae4a539..3e919458a 100644 --- a/include/Actor/ActorUnkLBCK.hpp +++ b/include/Actor/ActorUnkLBCK.hpp @@ -9,7 +9,7 @@ class ActorUnkLBCK_C4 : public Actor_C4 { public: - ActorUnkLBCK_C4(Actor *param1); + ActorUnkLBCK_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -51,7 +51,7 @@ class ActorProfileUnkLBCK : public ActorProfile_Derived1 { ActorProfileUnkLBCK(); ~ActorProfileUnkLBCK(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkLBCK *GetProfile(); + static ActorProfileUnkLBCK* GetProfile(); }; diff --git a/include/Actor/ActorUnkLBRC.hpp b/include/Actor/ActorUnkLBRC.hpp index ac0f041c4..64fcec945 100644 --- a/include/Actor/ActorUnkLBRC.hpp +++ b/include/Actor/ActorUnkLBRC.hpp @@ -9,7 +9,7 @@ class ActorUnkLBRC_C4 : public Actor_C4 { public: - ActorUnkLBRC_C4(Actor *param1); + ActorUnkLBRC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -46,7 +46,7 @@ class ActorProfileUnkLBRC : public ActorProfile_Derived1 { ActorProfileUnkLBRC(); ~ActorProfileUnkLBRC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkLBRC *GetProfile(); + static ActorProfileUnkLBRC* GetProfile(); }; diff --git a/include/Actor/ActorUnkLIKE.hpp b/include/Actor/ActorUnkLIKE.hpp index 4a0bdbd44..2bf94680a 100644 --- a/include/Actor/ActorUnkLIKE.hpp +++ b/include/Actor/ActorUnkLIKE.hpp @@ -9,7 +9,7 @@ class ActorUnkLIKE_C4 : public Actor_C4 { public: - ActorUnkLIKE_C4(Actor *param1); + ActorUnkLIKE_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -90,7 +90,7 @@ class ActorProfileUnkLIKE : public ActorProfile_Derived1 { ActorProfileUnkLIKE(); ~ActorProfileUnkLIKE(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkLIKE *GetProfile(); + static ActorProfileUnkLIKE* GetProfile(); }; diff --git a/include/Actor/ActorUnkLIRA.hpp b/include/Actor/ActorUnkLIRA.hpp index deaee58ef..cd65bd2f1 100644 --- a/include/Actor/ActorUnkLIRA.hpp +++ b/include/Actor/ActorUnkLIRA.hpp @@ -9,7 +9,7 @@ class ActorUnkLIRA_C4 : public Actor_C4 { public: - ActorUnkLIRA_C4(Actor *param1); + ActorUnkLIRA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -64,7 +64,7 @@ class ActorProfileUnkLIRA : public ActorProfile_Derived1 { ActorProfileUnkLIRA(); ~ActorProfileUnkLIRA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkLIRA *GetProfile(); + static ActorProfileUnkLIRA* GetProfile(); }; diff --git a/include/Actor/ActorUnkLOCK.hpp b/include/Actor/ActorUnkLOCK.hpp index 547a3b971..a1f7d5fd3 100644 --- a/include/Actor/ActorUnkLOCK.hpp +++ b/include/Actor/ActorUnkLOCK.hpp @@ -9,7 +9,7 @@ class ActorUnkLOCK_C4 : public Actor_C4 { public: - ActorUnkLOCK_C4(Actor *param1); + ActorUnkLOCK_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkLOCK : public ActorProfile { ActorProfileUnkLOCK(); ~ActorProfileUnkLOCK(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkLOCK *GetProfile(); + static ActorProfileUnkLOCK* GetProfile(); }; diff --git a/include/Actor/ActorUnkLVBD.hpp b/include/Actor/ActorUnkLVBD.hpp index 092971ea3..15963f644 100644 --- a/include/Actor/ActorUnkLVBD.hpp +++ b/include/Actor/ActorUnkLVBD.hpp @@ -9,7 +9,7 @@ class ActorUnkLVBD_C4 : public Actor_C4 { public: - ActorUnkLVBD_C4(Actor *param1); + ActorUnkLVBD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -65,7 +65,7 @@ class ActorProfileUnkLVBD : public ActorProfile_Derived1 { ActorProfileUnkLVBD(); ~ActorProfileUnkLVBD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkLVBD *GetProfile(); + static ActorProfileUnkLVBD* GetProfile(); }; diff --git a/include/Actor/ActorUnkLVOF.hpp b/include/Actor/ActorUnkLVOF.hpp index 1e761a4ee..85e91a22d 100644 --- a/include/Actor/ActorUnkLVOF.hpp +++ b/include/Actor/ActorUnkLVOF.hpp @@ -9,7 +9,7 @@ class ActorUnkLVOF_C4 : public Actor_C4 { public: - ActorUnkLVOF_C4(Actor *param1); + ActorUnkLVOF_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkLVOF : public ActorProfile_Derived1 { ActorProfileUnkLVOF(); ~ActorProfileUnkLVOF(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkLVOF *GetProfile(); + static ActorProfileUnkLVOF* GetProfile(); }; diff --git a/include/Actor/ActorUnkLZET.hpp b/include/Actor/ActorUnkLZET.hpp index 2ee3a00f8..2b545e57c 100644 --- a/include/Actor/ActorUnkLZET.hpp +++ b/include/Actor/ActorUnkLZET.hpp @@ -9,7 +9,7 @@ class ActorUnkLZET_C4 : public Actor_C4 { public: - ActorUnkLZET_C4(Actor *param1); + ActorUnkLZET_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -34,7 +34,7 @@ class ActorProfileUnkLZET : public ActorProfile { ActorProfileUnkLZET(); ~ActorProfileUnkLZET(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkLZET *GetProfile(); + static ActorProfileUnkLZET* GetProfile(); }; diff --git a/include/Actor/ActorUnkMABC.hpp b/include/Actor/ActorUnkMABC.hpp index 7785750e2..4e13925cf 100644 --- a/include/Actor/ActorUnkMABC.hpp +++ b/include/Actor/ActorUnkMABC.hpp @@ -9,7 +9,7 @@ class ActorUnkMABC_C4 : public Actor_C4 { public: - ActorUnkMABC_C4(Actor *param1); + ActorUnkMABC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -45,7 +45,7 @@ class ActorProfileUnkMABC : public ActorProfile_Derived1 { ActorProfileUnkMABC(); ~ActorProfileUnkMABC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMABC *GetProfile(); + static ActorProfileUnkMABC* GetProfile(); }; diff --git a/include/Actor/ActorUnkMABL.hpp b/include/Actor/ActorUnkMABL.hpp index 07bd660be..13fc3b48e 100644 --- a/include/Actor/ActorUnkMABL.hpp +++ b/include/Actor/ActorUnkMABL.hpp @@ -9,7 +9,7 @@ class ActorUnkMABL_C4 : public Actor_C4 { public: - ActorUnkMABL_C4(Actor *param1); + ActorUnkMABL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -67,7 +67,7 @@ class ActorProfileUnkMABL : public ActorProfile_Derived1 { ActorProfileUnkMABL(); ~ActorProfileUnkMABL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMABL *GetProfile(); + static ActorProfileUnkMABL* GetProfile(); }; diff --git a/include/Actor/ActorUnkMAFI.hpp b/include/Actor/ActorUnkMAFI.hpp index 394aae625..4b2c3c823 100644 --- a/include/Actor/ActorUnkMAFI.hpp +++ b/include/Actor/ActorUnkMAFI.hpp @@ -9,7 +9,7 @@ class ActorUnkMAFI_C4 : public Actor_C4 { public: - ActorUnkMAFI_C4(Actor *param1); + ActorUnkMAFI_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkMAFI : public ActorProfile_Derived1 { ActorProfileUnkMAFI(); ~ActorProfileUnkMAFI(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMAFI *GetProfile(); + static ActorProfileUnkMAFI* GetProfile(); }; diff --git a/include/Actor/ActorUnkMAGR.hpp b/include/Actor/ActorUnkMAGR.hpp index 4b03f130f..31bc42307 100644 --- a/include/Actor/ActorUnkMAGR.hpp +++ b/include/Actor/ActorUnkMAGR.hpp @@ -9,7 +9,7 @@ class ActorUnkMAGR_C4 : public Actor_C4 { public: - ActorUnkMAGR_C4(Actor *param1); + ActorUnkMAGR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -56,7 +56,7 @@ class ActorProfileUnkMAGR : public ActorProfile_Derived1 { ActorProfileUnkMAGR(); ~ActorProfileUnkMAGR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMAGR *GetProfile(); + static ActorProfileUnkMAGR* GetProfile(); }; diff --git a/include/Actor/ActorUnkMARG.hpp b/include/Actor/ActorUnkMARG.hpp index 05c06e121..36bd8c337 100644 --- a/include/Actor/ActorUnkMARG.hpp +++ b/include/Actor/ActorUnkMARG.hpp @@ -9,7 +9,7 @@ class ActorUnkMARG_C4 : public Actor_C4 { public: - ActorUnkMARG_C4(Actor *param1); + ActorUnkMARG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -61,7 +61,7 @@ class ActorProfileUnkMARG : public ActorProfile_Derived1 { ActorProfileUnkMARG(); ~ActorProfileUnkMARG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMARG *GetProfile(); + static ActorProfileUnkMARG* GetProfile(); }; diff --git a/include/Actor/ActorUnkMATR.hpp b/include/Actor/ActorUnkMATR.hpp index 5d89330a7..4db140f02 100644 --- a/include/Actor/ActorUnkMATR.hpp +++ b/include/Actor/ActorUnkMATR.hpp @@ -9,7 +9,7 @@ class ActorUnkMATR_C4 : public Actor_C4 { public: - ActorUnkMATR_C4(Actor *param1); + ActorUnkMATR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -141,7 +141,7 @@ class ActorProfileUnkMATR : public ActorProfile_Derived1 { ActorProfileUnkMATR(); ~ActorProfileUnkMATR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMATR *GetProfile(); + static ActorProfileUnkMATR* GetProfile(); }; diff --git a/include/Actor/ActorUnkMBCC.hpp b/include/Actor/ActorUnkMBCC.hpp index 3cf569093..5e5a8b293 100644 --- a/include/Actor/ActorUnkMBCC.hpp +++ b/include/Actor/ActorUnkMBCC.hpp @@ -9,7 +9,7 @@ class ActorUnkMBCC_C4 : public Actor_C4 { public: - ActorUnkMBCC_C4(Actor *param1); + ActorUnkMBCC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -55,7 +55,7 @@ class ActorProfileUnkMBCC : public ActorProfile_Derived1 { ActorProfileUnkMBCC(); ~ActorProfileUnkMBCC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMBCC *GetProfile(); + static ActorProfileUnkMBCC* GetProfile(); }; diff --git a/include/Actor/ActorUnkMDYG.hpp b/include/Actor/ActorUnkMDYG.hpp index 44adf0536..e8ceb71b7 100644 --- a/include/Actor/ActorUnkMDYG.hpp +++ b/include/Actor/ActorUnkMDYG.hpp @@ -9,7 +9,7 @@ class ActorUnkMDYG_C4 : public Actor_C4 { public: - ActorUnkMDYG_C4(Actor *param1); + ActorUnkMDYG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -86,7 +86,7 @@ class ActorProfileUnkMDYG : public ActorProfile_Derived1 { ActorProfileUnkMDYG(); ~ActorProfileUnkMDYG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMDYG *GetProfile(); + static ActorProfileUnkMDYG* GetProfile(); }; diff --git a/include/Actor/ActorUnkMGAJ.hpp b/include/Actor/ActorUnkMGAJ.hpp index faee90169..6195e9c9e 100644 --- a/include/Actor/ActorUnkMGAJ.hpp +++ b/include/Actor/ActorUnkMGAJ.hpp @@ -9,7 +9,7 @@ class ActorUnkMGAJ_C4 : public Actor_C4 { public: - ActorUnkMGAJ_C4(Actor *param1); + ActorUnkMGAJ_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkMGAJ : public ActorProfile_Derived1 { ActorProfileUnkMGAJ(); ~ActorProfileUnkMGAJ(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMGAJ *GetProfile(); + static ActorProfileUnkMGAJ* GetProfile(); }; diff --git a/include/Actor/ActorUnkMIFR.hpp b/include/Actor/ActorUnkMIFR.hpp index fd357c0c6..6fe9284a3 100644 --- a/include/Actor/ActorUnkMIFR.hpp +++ b/include/Actor/ActorUnkMIFR.hpp @@ -9,7 +9,7 @@ class ActorUnkMIFR_C4 : public Actor_C4 { public: - ActorUnkMIFR_C4(Actor *param1); + ActorUnkMIFR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -62,7 +62,7 @@ class ActorProfileUnkMIFR : public ActorProfile_Derived1 { ActorProfileUnkMIFR(); ~ActorProfileUnkMIFR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMIFR *GetProfile(); + static ActorProfileUnkMIFR* GetProfile(); }; diff --git a/include/Actor/ActorUnkMLCK.hpp b/include/Actor/ActorUnkMLCK.hpp index 3dd180b15..92714fb45 100644 --- a/include/Actor/ActorUnkMLCK.hpp +++ b/include/Actor/ActorUnkMLCK.hpp @@ -12,10 +12,10 @@ class ActorUnkMLCK; class ActorUnkMLCK_D8 : public ActorUnkTLKT_9C_Base { public: /* 00 (vtable) */ - /* 08 */ ActorUnkMLCK *mUnk_08; + /* 08 */ ActorUnkMLCK* mUnk_08; /* 0C */ - ActorUnkMLCK_D8(ActorUnkMLCK *actor) { + ActorUnkMLCK_D8(ActorUnkMLCK* actor) { this->mUnk_04b = true; this->mUnk_05 = true; this->mUnk_08 = actor; @@ -46,7 +46,7 @@ struct ActorUnkMLCK_C4_00 { class ActorUnkMLCK_C4 { public: - /* 00 */ ActorUnkMLCK_C4_00 *mUnk_00; + /* 00 */ ActorUnkMLCK_C4_00* mUnk_00; /* 04 */ unk32 mUnk_04; /* 08 */ unk32 mUnk_08; /* 0C */ unk16 mUnk_0C; @@ -74,8 +74,8 @@ class ActorUnkMLCK_C4 { class ActorUnkMLCK : public Actor, public FileSelectManager_UnkDrawBase { public: /* 00 (base) */ - /* A0 */ ActorUnkMLCK_A0 *mUnk_A0[5]; - /* B4 */ ActorUnkMLCK_A0 **mUnk_B4; + /* A0 */ ActorUnkMLCK_A0* mUnk_A0[5]; + /* B4 */ ActorUnkMLCK_A0** mUnk_B4; /* B8 */ unk32 mUnk_B8; /* BC */ unk32 mUnk_BC; /* C0 */ Timer mUnk_C0; @@ -114,7 +114,7 @@ class ActorUnkMLCK : public Actor, public FileSelectManager_UnkDrawBase { void func_ov031_020faf24(); void func_ov031_020fb104(); void func_ov031_020fb11c(); - void func_ov031_020fb1e8(ActorUnkMLCK_A0 *param1); + void func_ov031_020fb1e8(ActorUnkMLCK_A0* param1); bool func_ov031_020fb204(unk32 param1); }; @@ -124,7 +124,7 @@ class ActorProfileUnkMLCK : public ActorProfile { ActorProfileUnkMLCK(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMLCK *GetProfile(); + static ActorProfileUnkMLCK* GetProfile(); }; diff --git a/include/Actor/ActorUnkMNCB.hpp b/include/Actor/ActorUnkMNCB.hpp index a47aa95d8..3ff54ad6f 100644 --- a/include/Actor/ActorUnkMNCB.hpp +++ b/include/Actor/ActorUnkMNCB.hpp @@ -9,7 +9,7 @@ class ActorUnkMNCB_C4 : public Actor_C4 { public: - ActorUnkMNCB_C4(Actor *param1); + ActorUnkMNCB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -46,7 +46,7 @@ class ActorProfileUnkMNCB : public ActorProfile { ActorProfileUnkMNCB(); ~ActorProfileUnkMNCB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMNCB *GetProfile(); + static ActorProfileUnkMNCB* GetProfile(); }; diff --git a/include/Actor/ActorUnkMOCT.hpp b/include/Actor/ActorUnkMOCT.hpp index 71517036a..be590fdc8 100644 --- a/include/Actor/ActorUnkMOCT.hpp +++ b/include/Actor/ActorUnkMOCT.hpp @@ -9,7 +9,7 @@ class ActorUnkMOCT_C4 : public Actor_C4 { public: - ActorUnkMOCT_C4(Actor *param1); + ActorUnkMOCT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkMOCT : public ActorProfile { ActorProfileUnkMOCT(); ~ActorProfileUnkMOCT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMOCT *GetProfile(); + static ActorProfileUnkMOCT* GetProfile(); }; diff --git a/include/Actor/ActorUnkMRD2.hpp b/include/Actor/ActorUnkMRD2.hpp index bbfa2e87e..44b500331 100644 --- a/include/Actor/ActorUnkMRD2.hpp +++ b/include/Actor/ActorUnkMRD2.hpp @@ -9,7 +9,7 @@ class ActorUnkMRD2_C4 : public Actor_C4 { public: - ActorUnkMRD2_C4(Actor *param1); + ActorUnkMRD2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -115,7 +115,7 @@ class ActorUnkMRD2 : public Actor { void func_ov075_0215b578(void); void func_ov075_0215b914(void); void func_ov075_0215bbe8(void); - bool func_ov075_0215bbf0(RefStruct *param1, unk32 *param2); + bool func_ov075_0215bbf0(RefStruct* param1, unk32* param2); void func_ov075_0215bc50(void); void func_ov075_0215bd40(void); void func_ov075_0215bd50(void); @@ -162,7 +162,7 @@ class ActorProfileUnkMRD2 : public ActorProfile { ActorProfileUnkMRD2(); ~ActorProfileUnkMRD2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMRD2 *GetProfile(); + static ActorProfileUnkMRD2* GetProfile(); }; diff --git a/include/Actor/ActorUnkMRDA_MRDO.hpp b/include/Actor/ActorUnkMRDA_MRDO.hpp index 8e691d378..27617ab6c 100644 --- a/include/Actor/ActorUnkMRDA_MRDO.hpp +++ b/include/Actor/ActorUnkMRDA_MRDO.hpp @@ -11,7 +11,7 @@ class ActorUnkMRDA_C4 : public Actor_C4 { public: - ActorUnkMRDA_C4(Actor *param1); + ActorUnkMRDA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkMRDA : public ActorProfile_Derived1 { ActorProfileUnkMRDA(); ~ActorProfileUnkMRDA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMRDA *GetProfile(); + static ActorProfileUnkMRDA* GetProfile(); }; // --- Actor MRDO --- class ActorUnkMRDO_C4 : public Actor_C4 { public: - ActorUnkMRDO_C4(Actor *param1); + ActorUnkMRDO_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,7 +70,7 @@ class ActorProfileUnkMRDO : public ActorProfile_Derived1 { ActorProfileUnkMRDO(); ~ActorProfileUnkMRDO(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMRDO *GetProfile(); + static ActorProfileUnkMRDO* GetProfile(); }; diff --git a/include/Actor/ActorUnkMRDL.hpp b/include/Actor/ActorUnkMRDL.hpp index 2078a5efb..93f4dad3c 100644 --- a/include/Actor/ActorUnkMRDL.hpp +++ b/include/Actor/ActorUnkMRDL.hpp @@ -9,7 +9,7 @@ class ActorUnkMRDL_C4 : public Actor_C4 { public: - ActorUnkMRDL_C4(Actor *param1); + ActorUnkMRDL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkMRDL : public ActorProfile { ActorProfileUnkMRDL(); ~ActorProfileUnkMRDL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMRDL *GetProfile(); + static ActorProfileUnkMRDL* GetProfile(); }; diff --git a/include/Actor/ActorUnkMTFB.hpp b/include/Actor/ActorUnkMTFB.hpp index 7cfc02314..4fe4ba2cc 100644 --- a/include/Actor/ActorUnkMTFB.hpp +++ b/include/Actor/ActorUnkMTFB.hpp @@ -9,7 +9,7 @@ class ActorUnkMTFB_C4 : public Actor_C4 { public: - ActorUnkMTFB_C4(Actor *param1); + ActorUnkMTFB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -61,7 +61,7 @@ class ActorProfileUnkMTFB : public ActorProfile_Derived1 { ActorProfileUnkMTFB(); ~ActorProfileUnkMTFB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMTFB *GetProfile(); + static ActorProfileUnkMTFB* GetProfile(); }; diff --git a/include/Actor/ActorUnkMTFL.hpp b/include/Actor/ActorUnkMTFL.hpp index 6393b073f..7757b1f0f 100644 --- a/include/Actor/ActorUnkMTFL.hpp +++ b/include/Actor/ActorUnkMTFL.hpp @@ -9,7 +9,7 @@ class ActorUnkMTFL_C4 : public Actor_C4 { public: - ActorUnkMTFL_C4(Actor *param1); + ActorUnkMTFL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -58,7 +58,7 @@ class ActorProfileUnkMTFL : public ActorProfile_Derived1 { ActorProfileUnkMTFL(); ~ActorProfileUnkMTFL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMTFL *GetProfile(); + static ActorProfileUnkMTFL* GetProfile(); }; diff --git a/include/Actor/ActorUnkMTWP.hpp b/include/Actor/ActorUnkMTWP.hpp index 234c8988c..0f5985f30 100644 --- a/include/Actor/ActorUnkMTWP.hpp +++ b/include/Actor/ActorUnkMTWP.hpp @@ -9,7 +9,7 @@ class ActorUnkMTWP_C4 : public Actor_C4 { public: - ActorUnkMTWP_C4(Actor *param1); + ActorUnkMTWP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -50,7 +50,7 @@ class ActorProfileUnkMTWP : public ActorProfile { ActorProfileUnkMTWP(); ~ActorProfileUnkMTWP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMTWP *GetProfile(); + static ActorProfileUnkMTWP* GetProfile(); }; diff --git a/include/Actor/ActorUnkMZCT.hpp b/include/Actor/ActorUnkMZCT.hpp index 8334ff990..b03e3088d 100644 --- a/include/Actor/ActorUnkMZCT.hpp +++ b/include/Actor/ActorUnkMZCT.hpp @@ -9,7 +9,7 @@ class ActorUnkMZCT_C4 : public Actor_C4 { public: - ActorUnkMZCT_C4(Actor *param1); + ActorUnkMZCT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -58,7 +58,7 @@ class ActorProfileUnkMZCT : public ActorProfile_Derived1 { ActorProfileUnkMZCT(); ~ActorProfileUnkMZCT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkMZCT *GetProfile(); + static ActorProfileUnkMZCT* GetProfile(); }; diff --git a/include/Actor/ActorUnkNAVI.hpp b/include/Actor/ActorUnkNAVI.hpp index 74df75460..39acecc1e 100644 --- a/include/Actor/ActorUnkNAVI.hpp +++ b/include/Actor/ActorUnkNAVI.hpp @@ -9,7 +9,7 @@ class ActorUnkNAVI_C4 : public Actor_C4 { public: - ActorUnkNAVI_C4(Actor *param1); + ActorUnkNAVI_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -61,7 +61,7 @@ class ActorProfileUnkNAVI : public ActorProfile_Derived1 { ActorProfileUnkNAVI(); ~ActorProfileUnkNAVI(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNAVI *GetProfile(); + static ActorProfileUnkNAVI* GetProfile(); }; diff --git a/include/Actor/ActorUnkNCCB_NCMB.hpp b/include/Actor/ActorUnkNCCB_NCMB.hpp index 59330a7b3..33d880774 100644 --- a/include/Actor/ActorUnkNCCB_NCMB.hpp +++ b/include/Actor/ActorUnkNCCB_NCMB.hpp @@ -11,7 +11,7 @@ class ActorUnkNCCB_C4 : public Actor_C4 { public: - ActorUnkNCCB_C4(Actor *param1); + ActorUnkNCCB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkNCCB : public ActorProfile_Derived1 { ActorProfileUnkNCCB(); ~ActorProfileUnkNCCB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNCCB *GetProfile(); + static ActorProfileUnkNCCB* GetProfile(); }; // --- Actor NCMB --- class ActorUnkNCMB_C4 : public Actor_C4 { public: - ActorUnkNCMB_C4(Actor *param1); + ActorUnkNCMB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,7 +70,7 @@ class ActorProfileUnkNCMB : public ActorProfile_Derived1 { ActorProfileUnkNCMB(); ~ActorProfileUnkNCMB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNCMB *GetProfile(); + static ActorProfileUnkNCMB* GetProfile(); }; diff --git a/include/Actor/ActorUnkNCWA.hpp b/include/Actor/ActorUnkNCWA.hpp index 579eeeee0..7a474b085 100644 --- a/include/Actor/ActorUnkNCWA.hpp +++ b/include/Actor/ActorUnkNCWA.hpp @@ -9,7 +9,7 @@ class ActorUnkNCWA_C4 : public Actor_C4 { public: - ActorUnkNCWA_C4(Actor *param1); + ActorUnkNCWA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkNCWA : public ActorProfile_Derived1 { ActorProfileUnkNCWA(); ~ActorProfileUnkNCWA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNCWA *GetProfile(); + static ActorProfileUnkNCWA* GetProfile(); }; diff --git a/include/Actor/ActorUnkNFSP.hpp b/include/Actor/ActorUnkNFSP.hpp index e99589071..8b054ff57 100644 --- a/include/Actor/ActorUnkNFSP.hpp +++ b/include/Actor/ActorUnkNFSP.hpp @@ -12,12 +12,12 @@ class ActorUnkNFSP; class ActorUnkNFSP_C0 : public Actor_C4 { public: - ActorUnkNFSP_C0(ActorUnkNFSP *param1); + ActorUnkNFSP_C0(ActorUnkNFSP* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; /* 08 */ virtual void vfunc_08() override; - /* 0C */ virtual void vfunc_0C(VecFx32 *param1) override; + /* 0C */ virtual void vfunc_0C(VecFx32* param1) override; }; class ActorUnkNFSP : public Actor { @@ -25,7 +25,7 @@ class ActorUnkNFSP : public Actor { /* 00 (base) */ /* 94 */ unk32 mUnk_94; /* 98 */ Timer mUnk_98; - /* 9C */ MapObjectUnkSWFS *mUnk_9C; + /* 9C */ MapObjectUnkSWFS* mUnk_9C; /* A0 */ Actor_9C mUnk_A0; /* C0 */ ActorUnkNFSP_C0 mUnk_C0; /* E4 */ RefStruct mUnk_E4; @@ -39,7 +39,7 @@ class ActorUnkNFSP : public Actor { /* 54 */ virtual void vfunc_54(unk32 param1); void func_ov031_020fb988(); - Actor *func_ov031_020fb994(); + Actor* func_ov031_020fb994(); void func_ov031_020fb9b4(); void func_ov031_020fba60(); void func_ov031_020fbb8c(); @@ -53,7 +53,7 @@ class ActorProfileUnkNFSP : public ActorProfile_Derived1 { ActorProfileUnkNFSP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNFSP *GetProfile(); + static ActorProfileUnkNFSP* GetProfile(); }; diff --git a/include/Actor/ActorUnkNICO.hpp b/include/Actor/ActorUnkNICO.hpp index f38ce8cbf..b6509d7cc 100644 --- a/include/Actor/ActorUnkNICO.hpp +++ b/include/Actor/ActorUnkNICO.hpp @@ -9,7 +9,7 @@ class ActorUnkNICO_C4 : public Actor_C4 { public: - ActorUnkNICO_C4(Actor *param1); + ActorUnkNICO_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkNICO : public ActorProfile_Derived1 { ActorProfileUnkNICO(); ~ActorProfileUnkNICO(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNICO *GetProfile(); + static ActorProfileUnkNICO* GetProfile(); }; diff --git a/include/Actor/ActorUnkNLTR.hpp b/include/Actor/ActorUnkNLTR.hpp index eef6ba1a2..72495fe18 100644 --- a/include/Actor/ActorUnkNLTR.hpp +++ b/include/Actor/ActorUnkNLTR.hpp @@ -9,7 +9,7 @@ class ActorUnkNLTR_C4 : public Actor_C4 { public: - ActorUnkNLTR_C4(Actor *param1); + ActorUnkNLTR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -59,7 +59,7 @@ class ActorProfileUnkNLTR : public ActorProfile_Derived1 { ActorProfileUnkNLTR(); ~ActorProfileUnkNLTR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNLTR *GetProfile(); + static ActorProfileUnkNLTR* GetProfile(); }; diff --git a/include/Actor/ActorUnkNORE.hpp b/include/Actor/ActorUnkNORE.hpp index 8be5c0dfe..f38b26b13 100644 --- a/include/Actor/ActorUnkNORE.hpp +++ b/include/Actor/ActorUnkNORE.hpp @@ -21,7 +21,7 @@ class ActorProfileUnkNORE : public ActorProfile { ActorProfileUnkNORE(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNORE *GetProfile(); + static ActorProfileUnkNORE* GetProfile(); }; diff --git a/include/Actor/ActorUnkNPWC.hpp b/include/Actor/ActorUnkNPWC.hpp index 452f72196..f505b791a 100644 --- a/include/Actor/ActorUnkNPWC.hpp +++ b/include/Actor/ActorUnkNPWC.hpp @@ -9,7 +9,7 @@ class ActorUnkNPWC_C4 : public Actor_C4 { public: - ActorUnkNPWC_C4(Actor *param1); + ActorUnkNPWC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkNPWC : public ActorProfile { ActorProfileUnkNPWC(); ~ActorProfileUnkNPWC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNPWC *GetProfile(); + static ActorProfileUnkNPWC* GetProfile(); }; diff --git a/include/Actor/ActorUnkNSHD.hpp b/include/Actor/ActorUnkNSHD.hpp index 059bd7a4d..da3907812 100644 --- a/include/Actor/ActorUnkNSHD.hpp +++ b/include/Actor/ActorUnkNSHD.hpp @@ -9,7 +9,7 @@ class ActorUnkNSHD_C4 : public Actor_C4 { public: - ActorUnkNSHD_C4(Actor *param1); + ActorUnkNSHD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkNSHD : public ActorProfile { ActorProfileUnkNSHD(); ~ActorProfileUnkNSHD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNSHD *GetProfile(); + static ActorProfileUnkNSHD* GetProfile(); }; diff --git a/include/Actor/ActorUnkNSSW.hpp b/include/Actor/ActorUnkNSSW.hpp index 4899bce61..326563039 100644 --- a/include/Actor/ActorUnkNSSW.hpp +++ b/include/Actor/ActorUnkNSSW.hpp @@ -14,22 +14,22 @@ class ActorUnkNSSW_0E0 : public Actor_C4 { /* 00 (base) */ /* 24 */ - ActorUnkNSSW_0E0(ActorUnkNSSW *param1); + ActorUnkNSSW_0E0(ActorUnkNSSW* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; - /* 0C */ virtual void vfunc_0C(VecFx32 *param1) override; + /* 0C */ virtual void vfunc_0C(VecFx32* param1) override; }; class ActorUnkNSSW_104 : public UnkStruct_ov031_Items_01 { public: /* 00 (base) */ - /* 2C */ ActorUnkNSSW *mUnk_2C; + /* 2C */ ActorUnkNSSW* mUnk_2C; /* 30 */ - ActorUnkNSSW_104(ActorUnkNSSW *actor); + ActorUnkNSSW_104(ActorUnkNSSW* actor); - /* 10 */ virtual void vfunc_10(const Actor *actor) override; + /* 10 */ virtual void vfunc_10(const Actor* actor) override; }; #if IS_JP @@ -37,14 +37,14 @@ class ActorUnkNSSW_138 : public UnkStruct_ov031_Items_00 { public: /* 00 (base) */ /* 04 */ unk32 mUnk_04; - /* 08 */ ActorUnkNSSW *mUnk_08; + /* 08 */ ActorUnkNSSW* mUnk_08; - ActorUnkNSSW_138(ActorUnkNSSW *actor) : + ActorUnkNSSW_138(ActorUnkNSSW* actor) : UnkStruct_ov031_Items_00(), mUnk_08(actor) {} - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; }; #endif @@ -69,8 +69,8 @@ class ActorUnkNSSW : public Actor_Derived2 { /* 178 - 184 */ unk32 mUnk_178; /* 17C - 188 */ unk32 mUnk_17C; /* 180 - 18C */ unk32 mUnk_180; - /* 184 - 190 */ MapObjectUnkSWSW *mUnk_184; - /* 188 - 194 */ MapObjectUnkSWSW *mUnk_188; + /* 184 - 190 */ MapObjectUnkSWSW* mUnk_184; + /* 188 - 194 */ MapObjectUnkSWSW* mUnk_188; /* 18C - 198 */ unk16 mUnk_18C; /* 190 - 19C */ VecFx32Cpp mUnk_190; /* 19C - 1A8 */ bool mUnk_19C; @@ -93,13 +93,13 @@ class ActorUnkNSSW : public Actor_Derived2 { void func_ov032_02120894(unk32 param1); void func_ov032_02120b34(RefStruct ref); void func_ov032_02120b6c(); - void func_ov032_02120b7c(VecFx32 *param1); + void func_ov032_02120b7c(VecFx32* param1); void func_ov032_02120bc0(); - void func_ov032_02120bfc(Actor *actor); + void func_ov032_02120bfc(Actor* actor); #if IS_JP - void func_ov032_02122b0c(MapObject *mapObject); + void func_ov032_02122b0c(MapObject* mapObject); #endif - void func_ov032_02120c64(MapObjectUnkSWSW *param1); + void func_ov032_02120c64(MapObjectUnkSWSW* param1); }; class ActorProfileUnkNSSW : public ActorProfile { @@ -108,7 +108,7 @@ class ActorProfileUnkNSSW : public ActorProfile { ActorProfileUnkNSSW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNSSW *GetProfile(); + static ActorProfileUnkNSSW* GetProfile(); }; diff --git a/include/Actor/ActorUnkNSTN.hpp b/include/Actor/ActorUnkNSTN.hpp index ea2ff8092..69d7a6fa8 100644 --- a/include/Actor/ActorUnkNSTN.hpp +++ b/include/Actor/ActorUnkNSTN.hpp @@ -54,7 +54,7 @@ class ActorProfileUnkNSTN : public ActorProfile { ActorProfileUnkNSTN(); ~ActorProfileUnkNSTN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNSTN *GetProfile(); + static ActorProfileUnkNSTN* GetProfile(); }; diff --git a/include/Actor/ActorUnkNTTZ.hpp b/include/Actor/ActorUnkNTTZ.hpp index a8486dd51..44c9d07df 100644 --- a/include/Actor/ActorUnkNTTZ.hpp +++ b/include/Actor/ActorUnkNTTZ.hpp @@ -27,7 +27,7 @@ class ActorProfileUnkNTTZ : public ActorProfile { ActorProfileUnkNTTZ(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkNTTZ *GetProfile(); + static ActorProfileUnkNTTZ* GetProfile(); }; diff --git a/include/Actor/ActorUnkOBPC.hpp b/include/Actor/ActorUnkOBPC.hpp index 9b543bb4e..4137d6a67 100644 --- a/include/Actor/ActorUnkOBPC.hpp +++ b/include/Actor/ActorUnkOBPC.hpp @@ -37,7 +37,7 @@ class ActorProfileUnkOBPC : public ActorProfile { ActorProfileUnkOBPC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkOBPC *GetProfile(); + static ActorProfileUnkOBPC* GetProfile(); }; diff --git a/include/Actor/ActorUnkOCGS.hpp b/include/Actor/ActorUnkOCGS.hpp index 8dc8d82bb..3f31392cb 100644 --- a/include/Actor/ActorUnkOCGS.hpp +++ b/include/Actor/ActorUnkOCGS.hpp @@ -9,7 +9,7 @@ class ActorUnkOCGS_C4 : public Actor_C4 { public: - ActorUnkOCGS_C4(Actor *param1); + ActorUnkOCGS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -46,7 +46,7 @@ class ActorProfileUnkOCGS : public ActorProfile_Derived1 { ActorProfileUnkOCGS(); ~ActorProfileUnkOCGS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkOCGS *GetProfile(); + static ActorProfileUnkOCGS* GetProfile(); }; diff --git a/include/Actor/ActorUnkOCTA.hpp b/include/Actor/ActorUnkOCTA.hpp index 9d089ca5c..71904e95b 100644 --- a/include/Actor/ActorUnkOCTA.hpp +++ b/include/Actor/ActorUnkOCTA.hpp @@ -9,7 +9,7 @@ class ActorUnkOCTA_C4 : public Actor_C4 { public: - ActorUnkOCTA_C4(Actor *param1); + ActorUnkOCTA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -64,7 +64,7 @@ class ActorProfileUnkOCTA : public ActorProfile_Derived1 { ActorProfileUnkOCTA(); ~ActorProfileUnkOCTA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkOCTA *GetProfile(); + static ActorProfileUnkOCTA* GetProfile(); }; diff --git a/include/Actor/ActorUnkOCTG.hpp b/include/Actor/ActorUnkOCTG.hpp index 12bf9a124..3d9425739 100644 --- a/include/Actor/ActorUnkOCTG.hpp +++ b/include/Actor/ActorUnkOCTG.hpp @@ -9,7 +9,7 @@ class ActorUnkOCTG_C4 : public Actor_C4 { public: - ActorUnkOCTG_C4(Actor *param1); + ActorUnkOCTG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -84,7 +84,7 @@ class ActorProfileUnkOCTG : public ActorProfile_Derived1 { ActorProfileUnkOCTG(); ~ActorProfileUnkOCTG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkOCTG *GetProfile(); + static ActorProfileUnkOCTG* GetProfile(); }; diff --git a/include/Actor/ActorUnkOCTS.hpp b/include/Actor/ActorUnkOCTS.hpp index a307a7072..6f67b770e 100644 --- a/include/Actor/ActorUnkOCTS.hpp +++ b/include/Actor/ActorUnkOCTS.hpp @@ -9,7 +9,7 @@ class ActorUnkOCTS_C4 : public Actor_C4 { public: - ActorUnkOCTS_C4(Actor *param1); + ActorUnkOCTS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -46,7 +46,7 @@ class ActorProfileUnkOCTS : public ActorProfile_Derived1 { ActorProfileUnkOCTS(); ~ActorProfileUnkOCTS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkOCTS *GetProfile(); + static ActorProfileUnkOCTS* GetProfile(); }; diff --git a/include/Actor/ActorUnkOCTW.hpp b/include/Actor/ActorUnkOCTW.hpp index 1dccff689..04ad82899 100644 --- a/include/Actor/ActorUnkOCTW.hpp +++ b/include/Actor/ActorUnkOCTW.hpp @@ -9,7 +9,7 @@ class ActorUnkOCTW_C4 : public Actor_C4 { public: - ActorUnkOCTW_C4(Actor *param1); + ActorUnkOCTW_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -76,7 +76,7 @@ class ActorProfileUnkOCTW : public ActorProfile_Derived1 { ActorProfileUnkOCTW(); ~ActorProfileUnkOCTW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkOCTW *GetProfile(); + static ActorProfileUnkOCTW* GetProfile(); }; diff --git a/include/Actor/ActorUnkOCWS.hpp b/include/Actor/ActorUnkOCWS.hpp index 355ddcede..7751df3fa 100644 --- a/include/Actor/ActorUnkOCWS.hpp +++ b/include/Actor/ActorUnkOCWS.hpp @@ -9,7 +9,7 @@ class ActorUnkOCWS_C4 : public Actor_C4 { public: - ActorUnkOCWS_C4(Actor *param1); + ActorUnkOCWS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -47,7 +47,7 @@ class ActorProfileUnkOCWS : public ActorProfile_Derived1 { ActorProfileUnkOCWS(); ~ActorProfileUnkOCWS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkOCWS *GetProfile(); + static ActorProfileUnkOCWS* GetProfile(); }; diff --git a/include/Actor/ActorUnkOFSW.hpp b/include/Actor/ActorUnkOFSW.hpp index 90dd3ebe8..a6906c93e 100644 --- a/include/Actor/ActorUnkOFSW.hpp +++ b/include/Actor/ActorUnkOFSW.hpp @@ -9,7 +9,7 @@ class ActorUnkOFSW_C4 : public Actor_C4 { public: - ActorUnkOFSW_C4(Actor *param1); + ActorUnkOFSW_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkOFSW : public ActorProfile { ActorProfileUnkOFSW(); ~ActorProfileUnkOFSW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkOFSW *GetProfile(); + static ActorProfileUnkOFSW* GetProfile(); }; diff --git a/include/Actor/ActorUnkOLDM.hpp b/include/Actor/ActorUnkOLDM.hpp index 139ccab62..add36775d 100644 --- a/include/Actor/ActorUnkOLDM.hpp +++ b/include/Actor/ActorUnkOLDM.hpp @@ -9,7 +9,7 @@ class ActorUnkOLDM_C4 : public Actor_C4 { public: - ActorUnkOLDM_C4(Actor *param1); + ActorUnkOLDM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -49,7 +49,7 @@ class ActorProfileUnkOLDM : public ActorProfile_Derived1 { ActorProfileUnkOLDM(); ~ActorProfileUnkOLDM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkOLDM *GetProfile(); + static ActorProfileUnkOLDM* GetProfile(); }; diff --git a/include/Actor/ActorUnkOLDS.hpp b/include/Actor/ActorUnkOLDS.hpp index 4f65933e8..cf702a800 100644 --- a/include/Actor/ActorUnkOLDS.hpp +++ b/include/Actor/ActorUnkOLDS.hpp @@ -9,7 +9,7 @@ class ActorUnkOLDS_C4 : public Actor_C4 { public: - ActorUnkOLDS_C4(Actor *param1); + ActorUnkOLDS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -45,7 +45,7 @@ class ActorProfileUnkOLDS : public ActorProfile_Derived1 { ActorProfileUnkOLDS(); ~ActorProfileUnkOLDS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkOLDS *GetProfile(); + static ActorProfileUnkOLDS* GetProfile(); }; diff --git a/include/Actor/ActorUnkPASS.hpp b/include/Actor/ActorUnkPASS.hpp index fb3e9fa85..1ccd7ca4c 100644 --- a/include/Actor/ActorUnkPASS.hpp +++ b/include/Actor/ActorUnkPASS.hpp @@ -9,7 +9,7 @@ class ActorUnkPASS_C4 : public Actor_C4 { public: - ActorUnkPASS_C4(Actor *param1); + ActorUnkPASS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -79,7 +79,7 @@ class ActorProfileUnkPASS : public ActorProfile { ActorProfileUnkPASS(); ~ActorProfileUnkPASS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPASS *GetProfile(); + static ActorProfileUnkPASS* GetProfile(); }; diff --git a/include/Actor/ActorUnkPBK2.hpp b/include/Actor/ActorUnkPBK2.hpp index 8fdb49da5..48b8e91cd 100644 --- a/include/Actor/ActorUnkPBK2.hpp +++ b/include/Actor/ActorUnkPBK2.hpp @@ -9,7 +9,7 @@ class ActorUnkPBK2_C4 : public Actor_C4 { public: - ActorUnkPBK2_C4(Actor *param1); + ActorUnkPBK2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -68,7 +68,7 @@ class ActorProfileUnkPBK2 : public ActorProfile_Derived1 { ActorProfileUnkPBK2(); ~ActorProfileUnkPBK2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPBK2 *GetProfile(); + static ActorProfileUnkPBK2* GetProfile(); }; diff --git a/include/Actor/ActorUnkPBSP.hpp b/include/Actor/ActorUnkPBSP.hpp index 040a77480..2ff56821d 100644 --- a/include/Actor/ActorUnkPBSP.hpp +++ b/include/Actor/ActorUnkPBSP.hpp @@ -9,7 +9,7 @@ class ActorUnkPBSP_C4 : public Actor_C4 { public: - ActorUnkPBSP_C4(Actor *param1); + ActorUnkPBSP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -65,7 +65,7 @@ class ActorProfileUnkPBSP : public ActorProfile { ActorProfileUnkPBSP(); ~ActorProfileUnkPBSP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPBSP *GetProfile(); + static ActorProfileUnkPBSP* GetProfile(); }; diff --git a/include/Actor/ActorUnkPCTG.hpp b/include/Actor/ActorUnkPCTG.hpp index 424176915..a46825bed 100644 --- a/include/Actor/ActorUnkPCTG.hpp +++ b/include/Actor/ActorUnkPCTG.hpp @@ -9,7 +9,7 @@ class ActorUnkPCTG_C4 : public Actor_C4 { public: - ActorUnkPCTG_C4(Actor *param1); + ActorUnkPCTG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkPCTG : public ActorProfile_Derived1 { ActorProfileUnkPCTG(); ~ActorProfileUnkPCTG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPCTG *GetProfile(); + static ActorProfileUnkPCTG* GetProfile(); }; diff --git a/include/Actor/ActorUnkPHEY.hpp b/include/Actor/ActorUnkPHEY.hpp index d015cb408..521c8448d 100644 --- a/include/Actor/ActorUnkPHEY.hpp +++ b/include/Actor/ActorUnkPHEY.hpp @@ -9,7 +9,7 @@ class ActorUnkPHEY_C4 : public Actor_C4 { public: - ActorUnkPHEY_C4(Actor *param1); + ActorUnkPHEY_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -92,7 +92,7 @@ class ActorProfileUnkPHEY : public ActorProfile_Derived1 { ActorProfileUnkPHEY(); ~ActorProfileUnkPHEY(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPHEY *GetProfile(); + static ActorProfileUnkPHEY* GetProfile(); }; diff --git a/include/Actor/ActorUnkPHTM.hpp b/include/Actor/ActorUnkPHTM.hpp index 001d8a172..8312c19bc 100644 --- a/include/Actor/ActorUnkPHTM.hpp +++ b/include/Actor/ActorUnkPHTM.hpp @@ -9,7 +9,7 @@ class ActorUnkPHTM_C4 : public Actor_C4 { public: - ActorUnkPHTM_C4(Actor *param1); + ActorUnkPHTM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -34,7 +34,7 @@ class ActorProfileUnkPHTM : public ActorProfile_Derived1 { ActorProfileUnkPHTM(); ~ActorProfileUnkPHTM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPHTM *GetProfile(); + static ActorProfileUnkPHTM* GetProfile(); }; diff --git a/include/Actor/ActorUnkPLSR.hpp b/include/Actor/ActorUnkPLSR.hpp index 195568e03..8725dabc5 100644 --- a/include/Actor/ActorUnkPLSR.hpp +++ b/include/Actor/ActorUnkPLSR.hpp @@ -9,7 +9,7 @@ class ActorUnkPLSR_C4 : public Actor_C4 { public: - ActorUnkPLSR_C4(Actor *param1); + ActorUnkPLSR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -45,7 +45,7 @@ class ActorProfileUnkPLSR : public ActorProfile_Derived1 { ActorProfileUnkPLSR(); ~ActorProfileUnkPLSR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPLSR *GetProfile(); + static ActorProfileUnkPLSR* GetProfile(); }; diff --git a/include/Actor/ActorUnkPMST.hpp b/include/Actor/ActorUnkPMST.hpp index a8bc6dbb6..4d77e060e 100644 --- a/include/Actor/ActorUnkPMST.hpp +++ b/include/Actor/ActorUnkPMST.hpp @@ -9,7 +9,7 @@ class ActorUnkPMST_C4 : public Actor_C4 { public: - ActorUnkPMST_C4(Actor *param1); + ActorUnkPMST_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -57,7 +57,7 @@ class ActorProfileUnkPMST : public ActorProfile_Derived1 { ActorProfileUnkPMST(); ~ActorProfileUnkPMST(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPMST *GetProfile(); + static ActorProfileUnkPMST* GetProfile(); }; diff --git a/include/Actor/ActorUnkPMTB.hpp b/include/Actor/ActorUnkPMTB.hpp index d24d7ee55..49b045bb7 100644 --- a/include/Actor/ActorUnkPMTB.hpp +++ b/include/Actor/ActorUnkPMTB.hpp @@ -9,7 +9,7 @@ class ActorUnkPMTB_C4 : public Actor_C4 { public: - ActorUnkPMTB_C4(Actor *param1); + ActorUnkPMTB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -34,7 +34,7 @@ class ActorProfileUnkPMTB : public ActorProfile_Derived1 { ActorProfileUnkPMTB(); ~ActorProfileUnkPMTB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPMTB *GetProfile(); + static ActorProfileUnkPMTB* GetProfile(); }; diff --git a/include/Actor/ActorUnkPMTC.hpp b/include/Actor/ActorUnkPMTC.hpp index 89384feac..674de6bd8 100644 --- a/include/Actor/ActorUnkPMTC.hpp +++ b/include/Actor/ActorUnkPMTC.hpp @@ -9,7 +9,7 @@ class ActorUnkPMTC_C4 : public Actor_C4 { public: - ActorUnkPMTC_C4(Actor *param1); + ActorUnkPMTC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -34,7 +34,7 @@ class ActorProfileUnkPMTC : public ActorProfile_Derived1 { ActorProfileUnkPMTC(); ~ActorProfileUnkPMTC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPMTC *GetProfile(); + static ActorProfileUnkPMTC* GetProfile(); }; diff --git a/include/Actor/ActorUnkPMTD.hpp b/include/Actor/ActorUnkPMTD.hpp index e390f7291..5bd65e06f 100644 --- a/include/Actor/ActorUnkPMTD.hpp +++ b/include/Actor/ActorUnkPMTD.hpp @@ -9,7 +9,7 @@ class ActorUnkPMTD_C4 : public Actor_C4 { public: - ActorUnkPMTD_C4(Actor *param1); + ActorUnkPMTD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -34,7 +34,7 @@ class ActorProfileUnkPMTD : public ActorProfile_Derived1 { ActorProfileUnkPMTD(); ~ActorProfileUnkPMTD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPMTD *GetProfile(); + static ActorProfileUnkPMTD* GetProfile(); }; diff --git a/include/Actor/ActorUnkPMTT.hpp b/include/Actor/ActorUnkPMTT.hpp index c2936f95b..ad5eeb029 100644 --- a/include/Actor/ActorUnkPMTT.hpp +++ b/include/Actor/ActorUnkPMTT.hpp @@ -9,7 +9,7 @@ class ActorUnkPMTT_C4 : public Actor_C4 { public: - ActorUnkPMTT_C4(Actor *param1); + ActorUnkPMTT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -54,7 +54,7 @@ class ActorProfileUnkPMTT : public ActorProfile { ActorProfileUnkPMTT(); ~ActorProfileUnkPMTT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPMTT *GetProfile(); + static ActorProfileUnkPMTT* GetProfile(); }; diff --git a/include/Actor/ActorUnkPOST.hpp b/include/Actor/ActorUnkPOST.hpp index 31e0b729e..7fc1e76bc 100644 --- a/include/Actor/ActorUnkPOST.hpp +++ b/include/Actor/ActorUnkPOST.hpp @@ -9,7 +9,7 @@ class ActorUnkPOST_C4 : public Actor_C4 { public: - ActorUnkPOST_C4(Actor *param1); + ActorUnkPOST_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -51,7 +51,7 @@ class ActorProfileUnkPOST : public ActorProfile_Derived1 { ActorProfileUnkPOST(); ~ActorProfileUnkPOST(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPOST *GetProfile(); + static ActorProfileUnkPOST* GetProfile(); }; diff --git a/include/Actor/ActorUnkPPPM.hpp b/include/Actor/ActorUnkPPPM.hpp index 25287b94c..393b79991 100644 --- a/include/Actor/ActorUnkPPPM.hpp +++ b/include/Actor/ActorUnkPPPM.hpp @@ -9,7 +9,7 @@ class ActorUnkPPPM_C4 : public Actor_C4 { public: - ActorUnkPPPM_C4(Actor *param1); + ActorUnkPPPM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -89,7 +89,7 @@ class ActorProfileUnkPPPM : public ActorProfile_Derived1 { ActorProfileUnkPPPM(); ~ActorProfileUnkPPPM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPPPM *GetProfile(); + static ActorProfileUnkPPPM* GetProfile(); }; diff --git a/include/Actor/ActorUnkPRPL.hpp b/include/Actor/ActorUnkPRPL.hpp index 629e5e09a..3fc944380 100644 --- a/include/Actor/ActorUnkPRPL.hpp +++ b/include/Actor/ActorUnkPRPL.hpp @@ -9,7 +9,7 @@ class ActorUnkPRPL_C4 : public Actor_C4 { public: - ActorUnkPRPL_C4(Actor *param1); + ActorUnkPRPL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -66,7 +66,7 @@ class ActorProfileUnkPRPL : public ActorProfile { ActorProfileUnkPRPL(); ~ActorProfileUnkPRPL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPRPL *GetProfile(); + static ActorProfileUnkPRPL* GetProfile(); }; diff --git a/include/Actor/ActorUnkPRPP.hpp b/include/Actor/ActorUnkPRPP.hpp index 7e69a7f0c..4cb6178b0 100644 --- a/include/Actor/ActorUnkPRPP.hpp +++ b/include/Actor/ActorUnkPRPP.hpp @@ -9,7 +9,7 @@ class ActorUnkPRPP_C4 : public Actor_C4 { public: - ActorUnkPRPP_C4(Actor *param1); + ActorUnkPRPP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -49,7 +49,7 @@ class ActorProfileUnkPRPP : public ActorProfile { ActorProfileUnkPRPP(); ~ActorProfileUnkPRPP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPRPP *GetProfile(); + static ActorProfileUnkPRPP* GetProfile(); }; diff --git a/include/Actor/ActorUnkPRSP.hpp b/include/Actor/ActorUnkPRSP.hpp index a97ac99ca..300efbfcf 100644 --- a/include/Actor/ActorUnkPRSP.hpp +++ b/include/Actor/ActorUnkPRSP.hpp @@ -9,7 +9,7 @@ class ActorUnkPRSP_C4 : public Actor_C4 { public: - ActorUnkPRSP_C4(Actor *param1); + ActorUnkPRSP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -95,7 +95,7 @@ class ActorProfileUnkPRSP : public ActorProfile_Derived1 { ActorProfileUnkPRSP(); ~ActorProfileUnkPRSP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPRSP *GetProfile(); + static ActorProfileUnkPRSP* GetProfile(); }; diff --git a/include/Actor/ActorUnkPSBK.hpp b/include/Actor/ActorUnkPSBK.hpp index 26121b02d..3e4f3f7c6 100644 --- a/include/Actor/ActorUnkPSBK.hpp +++ b/include/Actor/ActorUnkPSBK.hpp @@ -9,7 +9,7 @@ class ActorUnkPSBK_C4 : public Actor_C4 { public: - ActorUnkPSBK_C4(Actor *param1); + ActorUnkPSBK_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -68,7 +68,7 @@ class ActorProfileUnkPSBK : public ActorProfile_Derived1 { ActorProfileUnkPSBK(); ~ActorProfileUnkPSBK(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPSBK *GetProfile(); + static ActorProfileUnkPSBK* GetProfile(); }; diff --git a/include/Actor/ActorUnkPSBL.hpp b/include/Actor/ActorUnkPSBL.hpp index 34a650e2b..89418595b 100644 --- a/include/Actor/ActorUnkPSBL.hpp +++ b/include/Actor/ActorUnkPSBL.hpp @@ -9,7 +9,7 @@ class ActorUnkPSBL_C4 : public Actor_C4 { public: - ActorUnkPSBL_C4(Actor *param1); + ActorUnkPSBL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -58,7 +58,7 @@ class ActorUnkPSBL : public Actor { void func_ov079_021524e8(void); void func_ov079_02152554(void); void func_ov079_02152594(void); - void func_ov079_02152658(VecFx32 *param1); + void func_ov079_02152658(VecFx32* param1); void func_ov079_02152684(void); void func_ov079_02152714(void); void func_ov079_021527a8(void); @@ -76,7 +76,7 @@ class ActorProfileUnkPSBL : public ActorProfile_Derived1 { ActorProfileUnkPSBL(); ~ActorProfileUnkPSBL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPSBL *GetProfile(); + static ActorProfileUnkPSBL* GetProfile(); }; diff --git a/include/Actor/ActorUnkPSBS.hpp b/include/Actor/ActorUnkPSBS.hpp index cd2edf96e..fb73e88d2 100644 --- a/include/Actor/ActorUnkPSBS.hpp +++ b/include/Actor/ActorUnkPSBS.hpp @@ -9,7 +9,7 @@ class ActorUnkPSBS_C4 : public Actor_C4 { public: - ActorUnkPSBS_C4(Actor *param1); + ActorUnkPSBS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -78,7 +78,7 @@ class ActorProfileUnkPSBS : public ActorProfile_Derived1 { ActorProfileUnkPSBS(); ~ActorProfileUnkPSBS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPSBS *GetProfile(); + static ActorProfileUnkPSBS* GetProfile(); }; diff --git a/include/Actor/ActorUnkPSEM.hpp b/include/Actor/ActorUnkPSEM.hpp index 0e0ca6ad8..a412c9a95 100644 --- a/include/Actor/ActorUnkPSEM.hpp +++ b/include/Actor/ActorUnkPSEM.hpp @@ -9,7 +9,7 @@ class ActorUnkPSEM_C4 : public Actor_C4 { public: - ActorUnkPSEM_C4(Actor *param1); + ActorUnkPSEM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -92,7 +92,7 @@ class ActorProfileUnkPSEM : public ActorProfile_Derived1 { ActorProfileUnkPSEM(); ~ActorProfileUnkPSEM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPSEM *GetProfile(); + static ActorProfileUnkPSEM* GetProfile(); }; diff --git a/include/Actor/ActorUnkPSNP.hpp b/include/Actor/ActorUnkPSNP.hpp index 0eeedd9e1..17d87fc3a 100644 --- a/include/Actor/ActorUnkPSNP.hpp +++ b/include/Actor/ActorUnkPSNP.hpp @@ -9,7 +9,7 @@ class ActorUnkPSNP_C4 : public Actor_C4 { public: - ActorUnkPSNP_C4(Actor *param1); + ActorUnkPSNP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -67,7 +67,7 @@ class ActorProfileUnkPSNP : public ActorProfile_Derived1 { ActorProfileUnkPSNP(); ~ActorProfileUnkPSNP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPSNP *GetProfile(); + static ActorProfileUnkPSNP* GetProfile(); }; diff --git a/include/Actor/ActorUnkPSWB.hpp b/include/Actor/ActorUnkPSWB.hpp index 945226ae9..f2bb83bd0 100644 --- a/include/Actor/ActorUnkPSWB.hpp +++ b/include/Actor/ActorUnkPSWB.hpp @@ -23,27 +23,27 @@ struct ActorUnkPSWB; class UnkStruct_ov094_02176fb8 : public UnkStruct_ov048_021375e4 { public: /* 00 (vtable) */ - /* 0C */ ActorUnkPSWB *mUnk_0C; + /* 0C */ ActorUnkPSWB* mUnk_0C; /* 10 */ - UnkStruct_ov094_02176fb8(ActorUnkPSWB *param1); + UnkStruct_ov094_02176fb8(ActorUnkPSWB* param1); /* 00 */ virtual ~UnkStruct_ov094_02176fb8() override; - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; }; class ActorUnkPSWB_184 : public UnkSystem7 { public: - ActorUnkPSWB_184(UnkSystem7_UnkStruct_00 *param1) : + ActorUnkPSWB_184(UnkSystem7_UnkStruct_00* param1) : UnkSystem7(param1) {} }; class ActorUnkPSWB_194 : public ActorUnkSCCN_B8 { public: /* 00 (vtable) */ - /* 10 */ ActorUnkPSWB *mUnk_10; + /* 10 */ ActorUnkPSWB* mUnk_10; - ActorUnkPSWB_194(ActorUnkPSWB *param1) { + ActorUnkPSWB_194(ActorUnkPSWB* param1) { mUnk_10 = param1; } @@ -98,7 +98,7 @@ class ActorUnkPSWB : public UnkStruct_ov048_02137600 { /* 24 */ virtual void vfunc_24() override; /* 2C */ virtual void vfunc_2C(unk32 param1) override; /* 4C */ virtual ~ActorUnkPSWB(); - /* 58 */ virtual bool vfunc_58(VecFx32 *param1) override; + /* 58 */ virtual bool vfunc_58(VecFx32* param1) override; /* 5C */ virtual unk32 vfunc_5C(void) override; /* 60 */ virtual unk32 vfunc_60(void) override; /* 6C */ virtual void vfunc_6C(void) override; @@ -119,7 +119,7 @@ class ActorUnkPSWB : public UnkStruct_ov048_02137600 { void func_ov094_02167224(void); void func_ov094_0216723c(void); unk32 func_ov094_02167518(void); - void func_ov094_021675ac(VecFx32 *vec); + void func_ov094_021675ac(VecFx32* vec); unk32 func_ov094_02167614(void); void func_ov094_02167688(void); void func_ov094_021676f4(void); @@ -133,7 +133,7 @@ class ActorUnkPSWB : public UnkStruct_ov048_02137600 { void func_ov094_02167d20(void); void func_ov094_02167dbc(void); void func_ov094_02167e58(void); - void func_ov094_0216825c(VecFx32 *param1, unk32 param2); + void func_ov094_0216825c(VecFx32* param1, unk32 param2); }; class ActorProfileUnkPSWB_Base_D8 : public MapObject_10 { @@ -161,7 +161,7 @@ class ActorProfileUnkPSWB : public ActorProfileUnkPSWB_Base { ActorProfileUnkPSWB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPSWB *GetProfile(); + static ActorProfileUnkPSWB* GetProfile(); }; diff --git a/include/Actor/ActorUnkPTMN.hpp b/include/Actor/ActorUnkPTMN.hpp index da149b493..527405846 100644 --- a/include/Actor/ActorUnkPTMN.hpp +++ b/include/Actor/ActorUnkPTMN.hpp @@ -9,7 +9,7 @@ class ActorUnkPTMN_C4 : public Actor_C4 { public: - ActorUnkPTMN_C4(Actor *param1); + ActorUnkPTMN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -72,7 +72,7 @@ class ActorProfileUnkPTMN : public ActorProfile_Derived1 { ActorProfileUnkPTMN(); ~ActorProfileUnkPTMN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPTMN *GetProfile(); + static ActorProfileUnkPTMN* GetProfile(); }; diff --git a/include/Actor/ActorUnkPTSW.hpp b/include/Actor/ActorUnkPTSW.hpp index 8ce40e2df..c78c564a7 100644 --- a/include/Actor/ActorUnkPTSW.hpp +++ b/include/Actor/ActorUnkPTSW.hpp @@ -9,7 +9,7 @@ class ActorUnkPTSW_C4 : public Actor_C4 { public: - ActorUnkPTSW_C4(Actor *param1); + ActorUnkPTSW_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkPTSW : public ActorProfile { ActorProfileUnkPTSW(); ~ActorProfileUnkPTSW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkPTSW *GetProfile(); + static ActorProfileUnkPTSW* GetProfile(); }; diff --git a/include/Actor/ActorUnkQKSD.hpp b/include/Actor/ActorUnkQKSD.hpp index 5ee4414ef..96c30cd99 100644 --- a/include/Actor/ActorUnkQKSD.hpp +++ b/include/Actor/ActorUnkQKSD.hpp @@ -9,7 +9,7 @@ class ActorUnkQKSD_C4 : public Actor_C4 { public: - ActorUnkQKSD_C4(Actor *param1); + ActorUnkQKSD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkQKSD : public ActorProfile_Derived1 { ActorProfileUnkQKSD(); ~ActorProfileUnkQKSD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkQKSD *GetProfile(); + static ActorProfileUnkQKSD* GetProfile(); }; diff --git a/include/Actor/ActorUnkQKTG.hpp b/include/Actor/ActorUnkQKTG.hpp index 213ec1f8f..20225c896 100644 --- a/include/Actor/ActorUnkQKTG.hpp +++ b/include/Actor/ActorUnkQKTG.hpp @@ -9,7 +9,7 @@ class ActorUnkQKTG_C4 : public Actor_C4 { public: - ActorUnkQKTG_C4(Actor *param1); + ActorUnkQKTG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkQKTG : public ActorProfile { ActorProfileUnkQKTG(); ~ActorProfileUnkQKTG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkQKTG *GetProfile(); + static ActorProfileUnkQKTG* GetProfile(); }; diff --git a/include/Actor/ActorUnkRAT0.hpp b/include/Actor/ActorUnkRAT0.hpp index 3ffc9e5e5..47e59799d 100644 --- a/include/Actor/ActorUnkRAT0.hpp +++ b/include/Actor/ActorUnkRAT0.hpp @@ -14,7 +14,7 @@ enum ActorUnkRAT0State_ { class ActorUnkRAT0_C4 : public Actor_C4 { public: - ActorUnkRAT0_C4(Actor *param1); + ActorUnkRAT0_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -81,7 +81,7 @@ class ActorProfileUnkRAT0 : public ActorProfile_Derived1 { ActorProfileUnkRAT0(); ~ActorProfileUnkRAT0(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRAT0 *GetProfile(); + static ActorProfileUnkRAT0* GetProfile(); }; diff --git a/include/Actor/ActorUnkRB1F.hpp b/include/Actor/ActorUnkRB1F.hpp index db207b78b..6c8d2ca6b 100644 --- a/include/Actor/ActorUnkRB1F.hpp +++ b/include/Actor/ActorUnkRB1F.hpp @@ -9,7 +9,7 @@ class ActorUnkRB1F_C4 : public Actor_C4 { public: - ActorUnkRB1F_C4(Actor *param1); + ActorUnkRB1F_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -63,7 +63,7 @@ class ActorProfileUnkRB1F : public ActorProfile_Derived1 { ActorProfileUnkRB1F(); ~ActorProfileUnkRB1F(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRB1F *GetProfile(); + static ActorProfileUnkRB1F* GetProfile(); }; diff --git a/include/Actor/ActorUnkRB1T.hpp b/include/Actor/ActorUnkRB1T.hpp index 1fae98d37..06cf6f7d8 100644 --- a/include/Actor/ActorUnkRB1T.hpp +++ b/include/Actor/ActorUnkRB1T.hpp @@ -12,7 +12,7 @@ class ActorUnkRB1T_C4 : public Actor_C4 { public: - ActorUnkRB1T_C4(Actor *param1); + ActorUnkRB1T_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -23,7 +23,7 @@ class ActorUnkRB1T_C4 : public Actor_C4 { class ActorUnkRB1T : public Actor_Derived1 { public: /* 000 (base) */ - /* 120 */ ActorUnkZSRS_120 *mUnk_120; + /* 120 */ ActorUnkZSRS_120* mUnk_120; /* 124 */ PAD(0x124, 0x20C); /* 20C */ ModelRender mUnk_20C; // actually a derived class of a derived class /* 26C */ PAD(0x26C, 0x280); @@ -100,7 +100,7 @@ class ActorUnkRB1T : public Actor_Derived1 { void func_ov026_02120744(void); void func_ov026_021207e0(void); void func_ov026_02120874(void); - static void func_ov026_021208a0(Actor *param1, G3d_RenderState *param2); + static void func_ov026_021208a0(Actor* param1, G3d_RenderState* param2); void func_ov026_02120954(void); void func_ov026_02120974(void); void func_ov026_021209d8(void); @@ -114,7 +114,7 @@ class ActorProfileUnkRB1T : public ActorProfile_Derived1 { ActorProfileUnkRB1T(); ~ActorProfileUnkRB1T(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRB1T *GetProfile(); + static ActorProfileUnkRB1T* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBD2.hpp b/include/Actor/ActorUnkRBD2.hpp index 754fd7eca..8b2c204e0 100644 --- a/include/Actor/ActorUnkRBD2.hpp +++ b/include/Actor/ActorUnkRBD2.hpp @@ -9,7 +9,7 @@ class ActorUnkRBD2_C4 : public Actor_C4 { public: - ActorUnkRBD2_C4(Actor *param1); + ActorUnkRBD2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -44,7 +44,7 @@ class ActorProfileUnkRBD2 : public ActorProfile_Derived1 { ActorProfileUnkRBD2(); ~ActorProfileUnkRBD2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBD2 *GetProfile(); + static ActorProfileUnkRBD2* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBDS.hpp b/include/Actor/ActorUnkRBDS.hpp index d4cc47a40..bb949b125 100644 --- a/include/Actor/ActorUnkRBDS.hpp +++ b/include/Actor/ActorUnkRBDS.hpp @@ -9,7 +9,7 @@ class ActorUnkRBDS_C4 : public Actor_C4 { public: - ActorUnkRBDS_C4(Actor *param1); + ActorUnkRBDS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkRBDS : public ActorProfile_Derived1 { ActorProfileUnkRBDS(); ~ActorProfileUnkRBDS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBDS *GetProfile(); + static ActorProfileUnkRBDS* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBFR.hpp b/include/Actor/ActorUnkRBFR.hpp index 68f94fe4c..34890d631 100644 --- a/include/Actor/ActorUnkRBFR.hpp +++ b/include/Actor/ActorUnkRBFR.hpp @@ -9,7 +9,7 @@ class ActorUnkRBFR_C4 : public Actor_C4 { public: - ActorUnkRBFR_C4(Actor *param1); + ActorUnkRBFR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkRBFR : public ActorProfile_Derived1 { ActorProfileUnkRBFR(); ~ActorProfileUnkRBFR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBFR *GetProfile(); + static ActorProfileUnkRBFR* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBL1.hpp b/include/Actor/ActorUnkRBL1.hpp index 989f955d5..90874a089 100644 --- a/include/Actor/ActorUnkRBL1.hpp +++ b/include/Actor/ActorUnkRBL1.hpp @@ -9,7 +9,7 @@ class ActorUnkRBL1_C4 : public Actor_C4 { public: - ActorUnkRBL1_C4(Actor *param1); + ActorUnkRBL1_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -58,7 +58,7 @@ class ActorProfileUnkRBL1 : public ActorProfile_Derived1 { ActorProfileUnkRBL1(); ~ActorProfileUnkRBL1(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBL1 *GetProfile(); + static ActorProfileUnkRBL1* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBL2.hpp b/include/Actor/ActorUnkRBL2.hpp index 98a736622..2e3530e84 100644 --- a/include/Actor/ActorUnkRBL2.hpp +++ b/include/Actor/ActorUnkRBL2.hpp @@ -9,7 +9,7 @@ class ActorUnkRBL2_C4 : public Actor_C4 { public: - ActorUnkRBL2_C4(Actor *param1); + ActorUnkRBL2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkRBL2 : public ActorProfile_Derived1 { ActorProfileUnkRBL2(); ~ActorProfileUnkRBL2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBL2 *GetProfile(); + static ActorProfileUnkRBL2* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBLS.hpp b/include/Actor/ActorUnkRBLS.hpp index 424293ac0..e1ad0af61 100644 --- a/include/Actor/ActorUnkRBLS.hpp +++ b/include/Actor/ActorUnkRBLS.hpp @@ -12,7 +12,7 @@ class UnkStruct_ov063_02163784 : public UnkStruct_ov063_021632e4 { /* 00 (base) */ /* 40 */ - UnkStruct_ov063_02163784(ModelRender *param1, UnkActorFileSystem2 *param2) : + UnkStruct_ov063_02163784(ModelRender* param1, UnkActorFileSystem2* param2) : UnkStruct_ov063_021632e4(param1, param2) {} }; @@ -41,7 +41,7 @@ class ActorProfileUnkRBLS : public ActorProfile_Derived1 { ActorProfileUnkRBLS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBLS *GetProfile(); + static ActorProfileUnkRBLS* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBNT.hpp b/include/Actor/ActorUnkRBNT.hpp index a65a8686b..0df2bc74e 100644 --- a/include/Actor/ActorUnkRBNT.hpp +++ b/include/Actor/ActorUnkRBNT.hpp @@ -9,7 +9,7 @@ class ActorUnkRBNT_C4 : public Actor_C4 { public: - ActorUnkRBNT_C4(Actor *param1); + ActorUnkRBNT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -63,7 +63,7 @@ class ActorProfileUnkRBNT : public ActorProfile_Derived1 { ActorProfileUnkRBNT(); ~ActorProfileUnkRBNT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBNT *GetProfile(); + static ActorProfileUnkRBNT* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBRP.hpp b/include/Actor/ActorUnkRBRP.hpp index fe88b3f2c..f389d76f3 100644 --- a/include/Actor/ActorUnkRBRP.hpp +++ b/include/Actor/ActorUnkRBRP.hpp @@ -9,7 +9,7 @@ class ActorUnkRBRP_C4 : public Actor_C4 { public: - ActorUnkRBRP_C4(Actor *param1); + ActorUnkRBRP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -51,7 +51,7 @@ class ActorProfileUnkRBRP : public ActorProfile_Derived1 { ActorProfileUnkRBRP(); ~ActorProfileUnkRBRP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBRP *GetProfile(); + static ActorProfileUnkRBRP* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBRT.hpp b/include/Actor/ActorUnkRBRT.hpp index 5b332b89e..32866cdc9 100644 --- a/include/Actor/ActorUnkRBRT.hpp +++ b/include/Actor/ActorUnkRBRT.hpp @@ -9,7 +9,7 @@ class ActorUnkRBRT_C4 : public Actor_C4 { public: - ActorUnkRBRT_C4(Actor *param1); + ActorUnkRBRT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -55,7 +55,7 @@ class ActorProfileUnkRBRT : public ActorProfile_Derived1 { ActorProfileUnkRBRT(); ~ActorProfileUnkRBRT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBRT *GetProfile(); + static ActorProfileUnkRBRT* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBSN.hpp b/include/Actor/ActorUnkRBSN.hpp index 3e2396423..a31e1e4b6 100644 --- a/include/Actor/ActorUnkRBSN.hpp +++ b/include/Actor/ActorUnkRBSN.hpp @@ -9,7 +9,7 @@ class ActorUnkRBSN_C4 : public Actor_C4 { public: - ActorUnkRBSN_C4(Actor *param1); + ActorUnkRBSN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -45,7 +45,7 @@ class ActorProfileUnkRBSN : public ActorProfile_Derived1 { ActorProfileUnkRBSN(); ~ActorProfileUnkRBSN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBSN *GetProfile(); + static ActorProfileUnkRBSN* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBVC.hpp b/include/Actor/ActorUnkRBVC.hpp index cd26a5cf6..cef620e42 100644 --- a/include/Actor/ActorUnkRBVC.hpp +++ b/include/Actor/ActorUnkRBVC.hpp @@ -9,7 +9,7 @@ class ActorUnkRBVC_C4 : public Actor_C4 { public: - ActorUnkRBVC_C4(Actor *param1); + ActorUnkRBVC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -43,7 +43,7 @@ class ActorProfileUnkRBVC : public ActorProfile_Derived1 { ActorProfileUnkRBVC(); ~ActorProfileUnkRBVC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBVC *GetProfile(); + static ActorProfileUnkRBVC* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBWS.hpp b/include/Actor/ActorUnkRBWS.hpp index 46f4230e7..2fd0e7190 100644 --- a/include/Actor/ActorUnkRBWS.hpp +++ b/include/Actor/ActorUnkRBWS.hpp @@ -9,7 +9,7 @@ class ActorUnkRBWS_C4 : public Actor_C4 { public: - ActorUnkRBWS_C4(Actor *param1); + ActorUnkRBWS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkRBWS : public ActorProfile_Derived1 { ActorProfileUnkRBWS(); ~ActorProfileUnkRBWS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBWS *GetProfile(); + static ActorProfileUnkRBWS* GetProfile(); }; diff --git a/include/Actor/ActorUnkRBWT.hpp b/include/Actor/ActorUnkRBWT.hpp index d1075c337..a789a26fb 100644 --- a/include/Actor/ActorUnkRBWT.hpp +++ b/include/Actor/ActorUnkRBWT.hpp @@ -9,7 +9,7 @@ class ActorUnkRBWT_C4 : public Actor_C4 { public: - ActorUnkRBWT_C4(Actor *param1); + ActorUnkRBWT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -53,7 +53,7 @@ class ActorProfileUnkRBWT : public ActorProfile_Derived1 { ActorProfileUnkRBWT(); ~ActorProfileUnkRBWT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRBWT *GetProfile(); + static ActorProfileUnkRBWT* GetProfile(); }; diff --git a/include/Actor/ActorUnkRCFO.hpp b/include/Actor/ActorUnkRCFO.hpp index 5c8beb266..f7c1dfac9 100644 --- a/include/Actor/ActorUnkRCFO.hpp +++ b/include/Actor/ActorUnkRCFO.hpp @@ -14,20 +14,20 @@ class ActorUnkRCFO_094 { ActorUnkRCFO_094(); ~ActorUnkRCFO_094(); - void func_ov033_02119048(unk32 *param1); + void func_ov033_02119048(unk32* param1); void func_ov033_021190dc(); void func_ov033_021190f4(); }; class ActorUnkRCFO_910 { public: - /* 00 */ unk32 *mUnk_00; - /* 04 */ unk32 *mUnk_04; + /* 00 */ unk32* mUnk_00; + /* 04 */ unk32* mUnk_04; /* 08 */ - ActorUnkRCFO_910(Vec2s *param1, unk32 param2); // func_ov000_0205b1cc + ActorUnkRCFO_910(Vec2s* param1, unk32 param2); // func_ov000_0205b1cc - void func_ov000_0205b1d8(Vec2s *param1); + void func_ov000_0205b1d8(Vec2s* param1); void func_ov000_0205b224(unk32 param1, unk32 param2); }; @@ -44,12 +44,12 @@ class ActorUnkRCFO_DFC_Base : public LinkList { class ActorUnkRCFO_DFC : public ActorUnkRCFO_DFC_Base { public: /* 00 (base) */ - /* 10 */ ActorUnkRCFO_910 *mUnk_10; + /* 10 */ ActorUnkRCFO_910* mUnk_10; /* 14 */ bool mUnk_14; /* 15 */ bool mUnk_15; /* 16 */ - ActorUnkRCFO_DFC(ActorUnkRCFO_910 *param1); + ActorUnkRCFO_DFC(ActorUnkRCFO_910* param1); virtual void vfunc_00(); }; @@ -62,9 +62,9 @@ class ActorUnkRCFO : public Actor { /* 910 */ ActorUnkRCFO_910 mUnk_910; /* 914 */ PAD(0x918, 0x91C); /* 91C */ Vec2s mUnk_91C[0xC8]; - /* C3C */ MapObjectUnkRCFL *mUnk_C3C[0x64]; - /* DDC */ MapObjectUnkRCFL **mUnk_DCC; - /* DD0 */ MapObjectUnkRCFL *mUnk_DD0; + /* C3C */ MapObjectUnkRCFL* mUnk_C3C[0x64]; + /* DDC */ MapObjectUnkRCFL** mUnk_DCC; + /* DD0 */ MapObjectUnkRCFL* mUnk_DD0; /* DD4 */ unk32 mUnk_DD4; /* DD8 */ Timer mUnk_DD8; /* DDC */ VecFx32Cpp mUnk_DDC; @@ -96,7 +96,7 @@ class ActorProfileUnkRCFO : public ActorProfile { ActorProfileUnkRCFO(); ~ActorProfileUnkRCFO(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRCFO *GetProfile(); + static ActorProfileUnkRCFO* GetProfile(); }; diff --git a/include/Actor/ActorUnkRCHU.hpp b/include/Actor/ActorUnkRCHU.hpp index cc0a5f86c..80950c12a 100644 --- a/include/Actor/ActorUnkRCHU.hpp +++ b/include/Actor/ActorUnkRCHU.hpp @@ -9,7 +9,7 @@ class ActorUnkRCHU_C4 : public Actor_C4 { public: - ActorUnkRCHU_C4(Actor *param1); + ActorUnkRCHU_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -65,7 +65,7 @@ class ActorProfileUnkRCHU : public ActorProfile { ActorProfileUnkRCHU(); ~ActorProfileUnkRCHU(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRCHU *GetProfile(); + static ActorProfileUnkRCHU* GetProfile(); }; diff --git a/include/Actor/ActorUnkRCMS.hpp b/include/Actor/ActorUnkRCMS.hpp index 089094e49..33a70116e 100644 --- a/include/Actor/ActorUnkRCMS.hpp +++ b/include/Actor/ActorUnkRCMS.hpp @@ -9,7 +9,7 @@ class ActorUnkRCMS_C4 : public Actor_C4 { public: - ActorUnkRCMS_C4(Actor *param1); + ActorUnkRCMS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -76,7 +76,7 @@ class ActorProfileUnkRCMS : public ActorProfile_Derived1 { ActorProfileUnkRCMS(); ~ActorProfileUnkRCMS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRCMS *GetProfile(); + static ActorProfileUnkRCMS* GetProfile(); }; diff --git a/include/Actor/ActorUnkRCSG.hpp b/include/Actor/ActorUnkRCSG.hpp index e3f8602ae..5a80cded2 100644 --- a/include/Actor/ActorUnkRCSG.hpp +++ b/include/Actor/ActorUnkRCSG.hpp @@ -9,7 +9,7 @@ class ActorUnkRCSG_C4 : public Actor_C4 { public: - ActorUnkRCSG_C4(Actor *param1); + ActorUnkRCSG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -44,7 +44,7 @@ class ActorProfileUnkRCSG : public ActorProfile { ActorProfileUnkRCSG(); ~ActorProfileUnkRCSG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRCSG *GetProfile(); + static ActorProfileUnkRCSG* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMA0.hpp b/include/Actor/ActorUnkRMA0.hpp index 5e7fba71b..d7edb9401 100644 --- a/include/Actor/ActorUnkRMA0.hpp +++ b/include/Actor/ActorUnkRMA0.hpp @@ -9,7 +9,7 @@ class ActorUnkRMA0_C4 : public Actor_C4 { public: - ActorUnkRMA0_C4(Actor *param1); + ActorUnkRMA0_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkRMA0 : public ActorProfile_Derived1 { ActorProfileUnkRMA0(); ~ActorProfileUnkRMA0(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMA0 *GetProfile(); + static ActorProfileUnkRMA0* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMA1.hpp b/include/Actor/ActorUnkRMA1.hpp index db6bfff83..25f8cf8f8 100644 --- a/include/Actor/ActorUnkRMA1.hpp +++ b/include/Actor/ActorUnkRMA1.hpp @@ -9,7 +9,7 @@ class ActorUnkRMA1_C4 : public Actor_C4 { public: - ActorUnkRMA1_C4(Actor *param1); + ActorUnkRMA1_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkRMA1 : public ActorProfile_Derived1 { ActorProfileUnkRMA1(); ~ActorProfileUnkRMA1(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMA1 *GetProfile(); + static ActorProfileUnkRMA1* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMA2.hpp b/include/Actor/ActorUnkRMA2.hpp index 7436747c6..f914dc88b 100644 --- a/include/Actor/ActorUnkRMA2.hpp +++ b/include/Actor/ActorUnkRMA2.hpp @@ -9,7 +9,7 @@ class ActorUnkRMA2_C4 : public Actor_C4 { public: - ActorUnkRMA2_C4(Actor *param1); + ActorUnkRMA2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkRMA2 : public ActorProfile_Derived1 { ActorProfileUnkRMA2(); ~ActorProfileUnkRMA2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMA2 *GetProfile(); + static ActorProfileUnkRMA2* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMA3.hpp b/include/Actor/ActorUnkRMA3.hpp index abee118b9..ee88a9ec5 100644 --- a/include/Actor/ActorUnkRMA3.hpp +++ b/include/Actor/ActorUnkRMA3.hpp @@ -9,7 +9,7 @@ class ActorUnkRMA3_C4 : public Actor_C4 { public: - ActorUnkRMA3_C4(Actor *param1); + ActorUnkRMA3_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkRMA3 : public ActorProfile_Derived1 { ActorProfileUnkRMA3(); ~ActorProfileUnkRMA3(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMA3 *GetProfile(); + static ActorProfileUnkRMA3* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMAJ.hpp b/include/Actor/ActorUnkRMAJ.hpp index 53935b880..88ee36b28 100644 --- a/include/Actor/ActorUnkRMAJ.hpp +++ b/include/Actor/ActorUnkRMAJ.hpp @@ -9,7 +9,7 @@ class ActorUnkRMAJ_C4 : public Actor_C4 { public: - ActorUnkRMAJ_C4(Actor *param1); + ActorUnkRMAJ_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkRMAJ : public ActorProfile { ActorProfileUnkRMAJ(); ~ActorProfileUnkRMAJ(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMAJ *GetProfile(); + static ActorProfileUnkRMAJ* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMBC.hpp b/include/Actor/ActorUnkRMBC.hpp index 5cb173630..93328e08c 100644 --- a/include/Actor/ActorUnkRMBC.hpp +++ b/include/Actor/ActorUnkRMBC.hpp @@ -9,7 +9,7 @@ class ActorUnkRMBC_C4 : public Actor_C4 { public: - ActorUnkRMBC_C4(Actor *param1); + ActorUnkRMBC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMBC : public ActorProfile_Derived1 { ActorProfileUnkRMBC(); ~ActorProfileUnkRMBC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMBC *GetProfile(); + static ActorProfileUnkRMBC* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMBD.hpp b/include/Actor/ActorUnkRMBD.hpp index cda278309..8cb53081e 100644 --- a/include/Actor/ActorUnkRMBD.hpp +++ b/include/Actor/ActorUnkRMBD.hpp @@ -9,7 +9,7 @@ class ActorUnkRMBD_C4 : public Actor_C4 { public: - ActorUnkRMBD_C4(Actor *param1); + ActorUnkRMBD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -53,7 +53,7 @@ class ActorProfileUnkRMBD : public ActorProfile_Derived1 { ActorProfileUnkRMBD(); ~ActorProfileUnkRMBD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMBD *GetProfile(); + static ActorProfileUnkRMBD* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMC0.hpp b/include/Actor/ActorUnkRMC0.hpp index 59a374ab5..3d40f0e74 100644 --- a/include/Actor/ActorUnkRMC0.hpp +++ b/include/Actor/ActorUnkRMC0.hpp @@ -9,7 +9,7 @@ class ActorUnkRMC0_C4 : public Actor_C4 { public: - ActorUnkRMC0_C4(Actor *param1); + ActorUnkRMC0_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -45,7 +45,7 @@ class ActorProfileUnkRMC0 : public ActorProfile_Derived1 { ActorProfileUnkRMC0(); ~ActorProfileUnkRMC0(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMC0 *GetProfile(); + static ActorProfileUnkRMC0* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMC1.hpp b/include/Actor/ActorUnkRMC1.hpp index 4cfc41a85..b101ead20 100644 --- a/include/Actor/ActorUnkRMC1.hpp +++ b/include/Actor/ActorUnkRMC1.hpp @@ -9,7 +9,7 @@ class ActorUnkRMC1_C4 : public Actor_C4 { public: - ActorUnkRMC1_C4(Actor *param1); + ActorUnkRMC1_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMC1 : public ActorProfile_Derived1 { ActorProfileUnkRMC1(); ~ActorProfileUnkRMC1(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMC1 *GetProfile(); + static ActorProfileUnkRMC1* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMC2.hpp b/include/Actor/ActorUnkRMC2.hpp index fd7ca18a8..117d6430c 100644 --- a/include/Actor/ActorUnkRMC2.hpp +++ b/include/Actor/ActorUnkRMC2.hpp @@ -9,7 +9,7 @@ class ActorUnkRMC2_C4 : public Actor_C4 { public: - ActorUnkRMC2_C4(Actor *param1); + ActorUnkRMC2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkRMC2 : public ActorProfile_Derived1 { ActorProfileUnkRMC2(); ~ActorProfileUnkRMC2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMC2 *GetProfile(); + static ActorProfileUnkRMC2* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMC3.hpp b/include/Actor/ActorUnkRMC3.hpp index 8eb1d2241..63e9cc389 100644 --- a/include/Actor/ActorUnkRMC3.hpp +++ b/include/Actor/ActorUnkRMC3.hpp @@ -9,7 +9,7 @@ class ActorUnkRMC3_C4 : public Actor_C4 { public: - ActorUnkRMC3_C4(Actor *param1); + ActorUnkRMC3_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -42,7 +42,7 @@ class ActorProfileUnkRMC3 : public ActorProfile_Derived1 { ActorProfileUnkRMC3(); ~ActorProfileUnkRMC3(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMC3 *GetProfile(); + static ActorProfileUnkRMC3* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMC4.hpp b/include/Actor/ActorUnkRMC4.hpp index 8eea985fb..ff8de6b96 100644 --- a/include/Actor/ActorUnkRMC4.hpp +++ b/include/Actor/ActorUnkRMC4.hpp @@ -9,7 +9,7 @@ class ActorUnkRMC4_C4 : public Actor_C4 { public: - ActorUnkRMC4_C4(Actor *param1); + ActorUnkRMC4_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkRMC4 : public ActorProfile_Derived1 { ActorProfileUnkRMC4(); ~ActorProfileUnkRMC4(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMC4 *GetProfile(); + static ActorProfileUnkRMC4* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMC5.hpp b/include/Actor/ActorUnkRMC5.hpp index b6c7e771a..3a6b492ce 100644 --- a/include/Actor/ActorUnkRMC5.hpp +++ b/include/Actor/ActorUnkRMC5.hpp @@ -9,7 +9,7 @@ class ActorUnkRMC5_C4 : public Actor_C4 { public: - ActorUnkRMC5_C4(Actor *param1); + ActorUnkRMC5_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkRMC5 : public ActorProfile_Derived1 { ActorProfileUnkRMC5(); ~ActorProfileUnkRMC5(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMC5 *GetProfile(); + static ActorProfileUnkRMC5* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMC6.hpp b/include/Actor/ActorUnkRMC6.hpp index 36279a50b..76a1915c4 100644 --- a/include/Actor/ActorUnkRMC6.hpp +++ b/include/Actor/ActorUnkRMC6.hpp @@ -9,7 +9,7 @@ class ActorUnkRMC6_C4 : public Actor_C4 { public: - ActorUnkRMC6_C4(Actor *param1); + ActorUnkRMC6_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkRMC6 : public ActorProfile_Derived1 { ActorProfileUnkRMC6(); ~ActorProfileUnkRMC6(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMC6 *GetProfile(); + static ActorProfileUnkRMC6* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMDO.hpp b/include/Actor/ActorUnkRMDO.hpp index e5e27e61c..8b5dad142 100644 --- a/include/Actor/ActorUnkRMDO.hpp +++ b/include/Actor/ActorUnkRMDO.hpp @@ -9,7 +9,7 @@ class ActorUnkRMDO_C4 : public Actor_C4 { public: - ActorUnkRMDO_C4(Actor *param1); + ActorUnkRMDO_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkRMDO : public ActorProfile { ActorProfileUnkRMDO(); ~ActorProfileUnkRMDO(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMDO *GetProfile(); + static ActorProfileUnkRMDO* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMDS.hpp b/include/Actor/ActorUnkRMDS.hpp index ce9efb18c..1f2a8ce38 100644 --- a/include/Actor/ActorUnkRMDS.hpp +++ b/include/Actor/ActorUnkRMDS.hpp @@ -9,7 +9,7 @@ class ActorUnkRMDS_C4 : public Actor_C4 { public: - ActorUnkRMDS_C4(Actor *param1); + ActorUnkRMDS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkRMDS : public ActorProfile_Derived1 { ActorProfileUnkRMDS(); ~ActorProfileUnkRMDS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMDS *GetProfile(); + static ActorProfileUnkRMDS* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMF0.hpp b/include/Actor/ActorUnkRMF0.hpp index 111a7de79..c5f914654 100644 --- a/include/Actor/ActorUnkRMF0.hpp +++ b/include/Actor/ActorUnkRMF0.hpp @@ -9,7 +9,7 @@ class ActorUnkRMF0_C4 : public Actor_C4 { public: - ActorUnkRMF0_C4(Actor *param1); + ActorUnkRMF0_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMF0 : public ActorProfile_Derived1 { ActorProfileUnkRMF0(); ~ActorProfileUnkRMF0(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMF0 *GetProfile(); + static ActorProfileUnkRMF0* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMF1.hpp b/include/Actor/ActorUnkRMF1.hpp index 173f3e5f7..3a3d6e1c3 100644 --- a/include/Actor/ActorUnkRMF1.hpp +++ b/include/Actor/ActorUnkRMF1.hpp @@ -9,7 +9,7 @@ class ActorUnkRMF1_C4 : public Actor_C4 { public: - ActorUnkRMF1_C4(Actor *param1); + ActorUnkRMF1_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMF1 : public ActorProfile_Derived1 { ActorProfileUnkRMF1(); ~ActorProfileUnkRMF1(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMF1 *GetProfile(); + static ActorProfileUnkRMF1* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMFK.hpp b/include/Actor/ActorUnkRMFK.hpp index 13d390169..b7d90113d 100644 --- a/include/Actor/ActorUnkRMFK.hpp +++ b/include/Actor/ActorUnkRMFK.hpp @@ -9,7 +9,7 @@ class ActorUnkRMFK_C4 : public Actor_C4 { public: - ActorUnkRMFK_C4(Actor *param1); + ActorUnkRMFK_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -45,7 +45,7 @@ class ActorProfileUnkRMFK : public ActorProfile_Derived1 { ActorProfileUnkRMFK(); ~ActorProfileUnkRMFK(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMFK *GetProfile(); + static ActorProfileUnkRMFK* GetProfile(); }; diff --git a/include/Actor/ActorUnkRML0.hpp b/include/Actor/ActorUnkRML0.hpp index 56fd0dd3d..0d7800457 100644 --- a/include/Actor/ActorUnkRML0.hpp +++ b/include/Actor/ActorUnkRML0.hpp @@ -9,7 +9,7 @@ class ActorUnkRML0_C4 : public Actor_C4 { public: - ActorUnkRML0_C4(Actor *param1); + ActorUnkRML0_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkRML0 : public ActorProfile_Derived1 { ActorProfileUnkRML0(); ~ActorProfileUnkRML0(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRML0 *GetProfile(); + static ActorProfileUnkRML0* GetProfile(); }; diff --git a/include/Actor/ActorUnkRML1.hpp b/include/Actor/ActorUnkRML1.hpp index 7df3dbd69..bf0e940de 100644 --- a/include/Actor/ActorUnkRML1.hpp +++ b/include/Actor/ActorUnkRML1.hpp @@ -9,7 +9,7 @@ class ActorUnkRML1_C4 : public Actor_C4 { public: - ActorUnkRML1_C4(Actor *param1); + ActorUnkRML1_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRML1 : public ActorProfile_Derived1 { ActorProfileUnkRML1(); ~ActorProfileUnkRML1(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRML1 *GetProfile(); + static ActorProfileUnkRML1* GetProfile(); }; diff --git a/include/Actor/ActorUnkRML2.hpp b/include/Actor/ActorUnkRML2.hpp index 2bdf497b7..5e317d11f 100644 --- a/include/Actor/ActorUnkRML2.hpp +++ b/include/Actor/ActorUnkRML2.hpp @@ -9,7 +9,7 @@ class ActorUnkRML2_C4 : public Actor_C4 { public: - ActorUnkRML2_C4(Actor *param1); + ActorUnkRML2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRML2 : public ActorProfile_Derived1 { ActorProfileUnkRML2(); ~ActorProfileUnkRML2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRML2 *GetProfile(); + static ActorProfileUnkRML2* GetProfile(); }; diff --git a/include/Actor/ActorUnkRML3.hpp b/include/Actor/ActorUnkRML3.hpp index a9780311f..78874b7f4 100644 --- a/include/Actor/ActorUnkRML3.hpp +++ b/include/Actor/ActorUnkRML3.hpp @@ -9,7 +9,7 @@ class ActorUnkRML3_C4 : public Actor_C4 { public: - ActorUnkRML3_C4(Actor *param1); + ActorUnkRML3_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRML3 : public ActorProfile_Derived1 { ActorProfileUnkRML3(); ~ActorProfileUnkRML3(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRML3 *GetProfile(); + static ActorProfileUnkRML3* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMLF.hpp b/include/Actor/ActorUnkRMLF.hpp index 9c7898505..193446108 100644 --- a/include/Actor/ActorUnkRMLF.hpp +++ b/include/Actor/ActorUnkRMLF.hpp @@ -9,7 +9,7 @@ class ActorUnkRMLF_C4 : public Actor_C4 { public: - ActorUnkRMLF_C4(Actor *param1); + ActorUnkRMLF_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMLF : public ActorProfile_Derived1 { ActorProfileUnkRMLF(); ~ActorProfileUnkRMLF(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMLF *GetProfile(); + static ActorProfileUnkRMLF* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMM0.hpp b/include/Actor/ActorUnkRMM0.hpp index d70d4419f..9a8b633b6 100644 --- a/include/Actor/ActorUnkRMM0.hpp +++ b/include/Actor/ActorUnkRMM0.hpp @@ -9,7 +9,7 @@ class ActorUnkRMM0_C4 : public Actor_C4 { public: - ActorUnkRMM0_C4(Actor *param1); + ActorUnkRMM0_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -52,7 +52,7 @@ class ActorProfileUnkRMM0 : public ActorProfile_Derived1 { ActorProfileUnkRMM0(); ~ActorProfileUnkRMM0(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMM0 *GetProfile(); + static ActorProfileUnkRMM0* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMM1.hpp b/include/Actor/ActorUnkRMM1.hpp index 28f12eea7..ab8b1d0ee 100644 --- a/include/Actor/ActorUnkRMM1.hpp +++ b/include/Actor/ActorUnkRMM1.hpp @@ -9,7 +9,7 @@ class ActorUnkRMM1_C4 : public Actor_C4 { public: - ActorUnkRMM1_C4(Actor *param1); + ActorUnkRMM1_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkRMM1 : public ActorProfile_Derived1 { ActorProfileUnkRMM1(); ~ActorProfileUnkRMM1(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMM1 *GetProfile(); + static ActorProfileUnkRMM1* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMM2.hpp b/include/Actor/ActorUnkRMM2.hpp index e01941d0a..9237c360d 100644 --- a/include/Actor/ActorUnkRMM2.hpp +++ b/include/Actor/ActorUnkRMM2.hpp @@ -9,7 +9,7 @@ class ActorUnkRMM2_C4 : public Actor_C4 { public: - ActorUnkRMM2_C4(Actor *param1); + ActorUnkRMM2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkRMM2 : public ActorProfile_Derived1 { ActorProfileUnkRMM2(); ~ActorProfileUnkRMM2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMM2 *GetProfile(); + static ActorProfileUnkRMM2* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMM3.hpp b/include/Actor/ActorUnkRMM3.hpp index 07587e153..0e4d47ade 100644 --- a/include/Actor/ActorUnkRMM3.hpp +++ b/include/Actor/ActorUnkRMM3.hpp @@ -9,7 +9,7 @@ class ActorUnkRMM3_C4 : public Actor_C4 { public: - ActorUnkRMM3_C4(Actor *param1); + ActorUnkRMM3_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkRMM3 : public ActorProfile_Derived1 { ActorProfileUnkRMM3(); ~ActorProfileUnkRMM3(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMM3 *GetProfile(); + static ActorProfileUnkRMM3* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMM4.hpp b/include/Actor/ActorUnkRMM4.hpp index 9dfc5cd33..018accde3 100644 --- a/include/Actor/ActorUnkRMM4.hpp +++ b/include/Actor/ActorUnkRMM4.hpp @@ -9,7 +9,7 @@ class ActorUnkRMM4_C4 : public Actor_C4 { public: - ActorUnkRMM4_C4(Actor *param1); + ActorUnkRMM4_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -47,7 +47,7 @@ class ActorProfileUnkRMM4 : public ActorProfile_Derived1 { ActorProfileUnkRMM4(); ~ActorProfileUnkRMM4(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMM4 *GetProfile(); + static ActorProfileUnkRMM4* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMS0.hpp b/include/Actor/ActorUnkRMS0.hpp index aa31aa5ed..e475128c0 100644 --- a/include/Actor/ActorUnkRMS0.hpp +++ b/include/Actor/ActorUnkRMS0.hpp @@ -9,7 +9,7 @@ class ActorUnkRMS0_C4 : public Actor_C4 { public: - ActorUnkRMS0_C4(Actor *param1); + ActorUnkRMS0_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMS0 : public ActorProfile_Derived1 { ActorProfileUnkRMS0(); ~ActorProfileUnkRMS0(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMS0 *GetProfile(); + static ActorProfileUnkRMS0* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMS1.hpp b/include/Actor/ActorUnkRMS1.hpp index d34b62b59..024af9c31 100644 --- a/include/Actor/ActorUnkRMS1.hpp +++ b/include/Actor/ActorUnkRMS1.hpp @@ -9,7 +9,7 @@ class ActorUnkRMS1_C4 : public Actor_C4 { public: - ActorUnkRMS1_C4(Actor *param1); + ActorUnkRMS1_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMS1 : public ActorProfile_Derived1 { ActorProfileUnkRMS1(); ~ActorProfileUnkRMS1(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMS1 *GetProfile(); + static ActorProfileUnkRMS1* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMS2.hpp b/include/Actor/ActorUnkRMS2.hpp index 7d1c4c4c4..f49154d55 100644 --- a/include/Actor/ActorUnkRMS2.hpp +++ b/include/Actor/ActorUnkRMS2.hpp @@ -9,7 +9,7 @@ class ActorUnkRMS2_C4 : public Actor_C4 { public: - ActorUnkRMS2_C4(Actor *param1); + ActorUnkRMS2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMS2 : public ActorProfile_Derived1 { ActorProfileUnkRMS2(); ~ActorProfileUnkRMS2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMS2 *GetProfile(); + static ActorProfileUnkRMS2* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMS3.hpp b/include/Actor/ActorUnkRMS3.hpp index 42bc8f89a..67fba55f5 100644 --- a/include/Actor/ActorUnkRMS3.hpp +++ b/include/Actor/ActorUnkRMS3.hpp @@ -9,7 +9,7 @@ class ActorUnkRMS3_C4 : public Actor_C4 { public: - ActorUnkRMS3_C4(Actor *param1); + ActorUnkRMS3_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMS3 : public ActorProfile_Derived1 { ActorProfileUnkRMS3(); ~ActorProfileUnkRMS3(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMS3 *GetProfile(); + static ActorProfileUnkRMS3* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMS4.hpp b/include/Actor/ActorUnkRMS4.hpp index db0e75d74..65c8430ca 100644 --- a/include/Actor/ActorUnkRMS4.hpp +++ b/include/Actor/ActorUnkRMS4.hpp @@ -9,7 +9,7 @@ class ActorUnkRMS4_C4 : public Actor_C4 { public: - ActorUnkRMS4_C4(Actor *param1); + ActorUnkRMS4_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMS4 : public ActorProfile_Derived1 { ActorProfileUnkRMS4(); ~ActorProfileUnkRMS4(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMS4 *GetProfile(); + static ActorProfileUnkRMS4* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMS5.hpp b/include/Actor/ActorUnkRMS5.hpp index c27586e4c..0a5263eab 100644 --- a/include/Actor/ActorUnkRMS5.hpp +++ b/include/Actor/ActorUnkRMS5.hpp @@ -9,7 +9,7 @@ class ActorUnkRMS5_C4 : public Actor_C4 { public: - ActorUnkRMS5_C4(Actor *param1); + ActorUnkRMS5_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMS5 : public ActorProfile_Derived1 { ActorProfileUnkRMS5(); ~ActorProfileUnkRMS5(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMS5 *GetProfile(); + static ActorProfileUnkRMS5* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMSBase.hpp b/include/Actor/ActorUnkRMSBase.hpp index 0972f129b..f1a4853e8 100644 --- a/include/Actor/ActorUnkRMSBase.hpp +++ b/include/Actor/ActorUnkRMSBase.hpp @@ -21,5 +21,5 @@ class ActorUnkRMSBase : public UnkStruct_ov031_02114870 { /* 20 */ virtual void Update() override; /* 24 */ virtual void vfunc_24() override; /* 2C */ virtual void vfunc_2C(unk32 param1) override; - /* 58 */ virtual G3d_Model *vfunc_58() = 0; + /* 58 */ virtual G3d_Model* vfunc_58() = 0; }; diff --git a/include/Actor/ActorUnkRMSD.hpp b/include/Actor/ActorUnkRMSD.hpp index c6b7472da..32d12d27d 100644 --- a/include/Actor/ActorUnkRMSD.hpp +++ b/include/Actor/ActorUnkRMSD.hpp @@ -20,8 +20,8 @@ class ActorUnkRMSD : public ActorUnkRMSBase { /* 18 */ virtual bool Init(unk32 param1) override; /* 20 */ virtual void Update(void) override; /* 24 */ virtual void vfunc_24(void) override; - /* 54 */ virtual G3d_Model *vfunc_54(void); - /* 58 */ virtual G3d_Model *vfunc_58(void); + /* 54 */ virtual G3d_Model* vfunc_54(void); + /* 58 */ virtual G3d_Model* vfunc_58(void); }; class ActorProfileUnkRMSD : public ActorProfile_Derived1 { @@ -31,7 +31,7 @@ class ActorProfileUnkRMSD : public ActorProfile_Derived1 { ActorProfileUnkRMSD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMSD *GetProfile(); + static ActorProfileUnkRMSD* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMSF.hpp b/include/Actor/ActorUnkRMSF.hpp index 5551867d2..0ce0b551e 100644 --- a/include/Actor/ActorUnkRMSF.hpp +++ b/include/Actor/ActorUnkRMSF.hpp @@ -16,8 +16,8 @@ class ActorUnkRMSF : public ActorUnkRMSBase { /* 4C */ virtual ~ActorUnkRMSF() override; /* 50 */ - /* 54 */ virtual G3d_Model *vfunc_54(void); - /* 58 */ virtual G3d_Model *vfunc_58(void); + /* 54 */ virtual G3d_Model* vfunc_54(void); + /* 58 */ virtual G3d_Model* vfunc_58(void); }; class ActorProfileUnkRMSF : public ActorProfile_Derived1 { @@ -27,7 +27,7 @@ class ActorProfileUnkRMSF : public ActorProfile_Derived1 { ActorProfileUnkRMSF(); ~ActorProfileUnkRMSF(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMSF *GetProfile(); + static ActorProfileUnkRMSF* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMSS.hpp b/include/Actor/ActorUnkRMSS.hpp index abe833a48..fdd7a21aa 100644 --- a/include/Actor/ActorUnkRMSS.hpp +++ b/include/Actor/ActorUnkRMSS.hpp @@ -15,8 +15,8 @@ class ActorUnkRMSS : public ActorUnkRMSBase { /* 4C */ virtual ~ActorUnkRMSS() override; - /* 54 */ virtual G3d_Model *vfunc_54(void); - /* 58 */ virtual G3d_Model *vfunc_58(void); + /* 54 */ virtual G3d_Model* vfunc_54(void); + /* 58 */ virtual G3d_Model* vfunc_58(void); }; class ActorProfileUnkRMSS : public ActorProfile_Derived1 { @@ -26,7 +26,7 @@ class ActorProfileUnkRMSS : public ActorProfile_Derived1 { ActorProfileUnkRMSS(); ~ActorProfileUnkRMSS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMSS *GetProfile(); + static ActorProfileUnkRMSS* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMST.hpp b/include/Actor/ActorUnkRMST.hpp index 02307e2e4..54fd60e29 100644 --- a/include/Actor/ActorUnkRMST.hpp +++ b/include/Actor/ActorUnkRMST.hpp @@ -9,7 +9,7 @@ class ActorUnkRMST_C4 : public Actor_C4 { public: - ActorUnkRMST_C4(Actor *param1); + ActorUnkRMST_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMST : public ActorProfile_Derived1 { ActorProfileUnkRMST(); ~ActorProfileUnkRMST(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMST *GetProfile(); + static ActorProfileUnkRMST* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMSV.hpp b/include/Actor/ActorUnkRMSV.hpp index 9a866401c..403ad5d48 100644 --- a/include/Actor/ActorUnkRMSV.hpp +++ b/include/Actor/ActorUnkRMSV.hpp @@ -13,10 +13,10 @@ class UnkStruct_ov063_021632e4 : public UnkStruct_ov000_020b31a8 { public: /* 00 (base) */ /* 1C */ UnkSystem5 mUnk_1C; - /* 3C */ void *mUnk_3C; + /* 3C */ void* mUnk_3C; /* 40 */ - UnkStruct_ov063_021632e4(ModelRender *param1, UnkActorFileSystem2 *param2) : + UnkStruct_ov063_021632e4(ModelRender* param1, UnkActorFileSystem2* param2) : UnkStruct_ov000_020b31a8(&mUnk_1C, param1, param2), mUnk_1C(&mUnk_3C, NULL) { if (param2 != 0) { @@ -51,8 +51,8 @@ class ActorUnkRMSV : public ActorUnkRMSBase { /* 18 */ virtual bool Init(unk32 param1) override; /* 20 */ virtual void Update(void) override; /* 24 */ virtual void vfunc_24(void) override; - /* 54 */ virtual G3d_Model *vfunc_54(void) override; - /* 58 */ virtual G3d_Model *vfunc_58(void) override; + /* 54 */ virtual G3d_Model* vfunc_54(void) override; + /* 58 */ virtual G3d_Model* vfunc_58(void) override; void func_ov063_0215bd44(void); void func_ov063_0215bdec(void); @@ -66,7 +66,7 @@ class ActorProfileUnkRMSV : public ActorProfile_Derived1 { ActorProfileUnkRMSV(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMSV *GetProfile(); + static ActorProfileUnkRMSV* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMSW.hpp b/include/Actor/ActorUnkRMSW.hpp index b212e69be..cef4b2e5c 100644 --- a/include/Actor/ActorUnkRMSW.hpp +++ b/include/Actor/ActorUnkRMSW.hpp @@ -30,8 +30,8 @@ class ActorUnkRMSW : public ActorUnkRMSBase { /* 18 */ virtual bool Init(unk32 param1) override; /* 20 */ virtual void Update(void) override; /* 24 */ virtual void vfunc_24(void) override; - /* 54 */ virtual G3d_Model *vfunc_54(void) override; - /* 58 */ virtual G3d_Model *vfunc_58(void) override; + /* 54 */ virtual G3d_Model* vfunc_54(void) override; + /* 58 */ virtual G3d_Model* vfunc_58(void) override; }; class ActorProfileUnkRMSW : public ActorProfile_Derived1 { @@ -40,7 +40,7 @@ class ActorProfileUnkRMSW : public ActorProfile_Derived1 { ActorProfileUnkRMSW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMSW *GetProfile(); + static ActorProfileUnkRMSW* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMT0.hpp b/include/Actor/ActorUnkRMT0.hpp index c091c1b2a..6a38ea45d 100644 --- a/include/Actor/ActorUnkRMT0.hpp +++ b/include/Actor/ActorUnkRMT0.hpp @@ -9,7 +9,7 @@ class ActorUnkRMT0_C4 : public Actor_C4 { public: - ActorUnkRMT0_C4(Actor *param1); + ActorUnkRMT0_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMT0 : public ActorProfile_Derived1 { ActorProfileUnkRMT0(); ~ActorProfileUnkRMT0(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMT0 *GetProfile(); + static ActorProfileUnkRMT0* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMT1.hpp b/include/Actor/ActorUnkRMT1.hpp index a7cec4962..bbe54c791 100644 --- a/include/Actor/ActorUnkRMT1.hpp +++ b/include/Actor/ActorUnkRMT1.hpp @@ -9,7 +9,7 @@ class ActorUnkRMT1_C4 : public Actor_C4 { public: - ActorUnkRMT1_C4(Actor *param1); + ActorUnkRMT1_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -44,7 +44,7 @@ class ActorProfileUnkRMT1 : public ActorProfile_Derived1 { ActorProfileUnkRMT1(); ~ActorProfileUnkRMT1(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMT1 *GetProfile(); + static ActorProfileUnkRMT1* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMT2.hpp b/include/Actor/ActorUnkRMT2.hpp index f13089487..cdd9ed114 100644 --- a/include/Actor/ActorUnkRMT2.hpp +++ b/include/Actor/ActorUnkRMT2.hpp @@ -9,7 +9,7 @@ class ActorUnkRMT2_C4 : public Actor_C4 { public: - ActorUnkRMT2_C4(Actor *param1); + ActorUnkRMT2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMT2 : public ActorProfile_Derived1 { ActorProfileUnkRMT2(); ~ActorProfileUnkRMT2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMT2 *GetProfile(); + static ActorProfileUnkRMT2* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMT3.hpp b/include/Actor/ActorUnkRMT3.hpp index 1b0fb162b..a687085f8 100644 --- a/include/Actor/ActorUnkRMT3.hpp +++ b/include/Actor/ActorUnkRMT3.hpp @@ -9,7 +9,7 @@ class ActorUnkRMT3_C4 : public Actor_C4 { public: - ActorUnkRMT3_C4(Actor *param1); + ActorUnkRMT3_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMT3 : public ActorProfile_Derived1 { ActorProfileUnkRMT3(); ~ActorProfileUnkRMT3(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMT3 *GetProfile(); + static ActorProfileUnkRMT3* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMT4.hpp b/include/Actor/ActorUnkRMT4.hpp index 73c8318ba..d057c3586 100644 --- a/include/Actor/ActorUnkRMT4.hpp +++ b/include/Actor/ActorUnkRMT4.hpp @@ -9,7 +9,7 @@ class ActorUnkRMT4_C4 : public Actor_C4 { public: - ActorUnkRMT4_C4(Actor *param1); + ActorUnkRMT4_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMT4 : public ActorProfile_Derived1 { ActorProfileUnkRMT4(); ~ActorProfileUnkRMT4(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMT4 *GetProfile(); + static ActorProfileUnkRMT4* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMTB.hpp b/include/Actor/ActorUnkRMTB.hpp index 89d7ee02c..9c3b826fb 100644 --- a/include/Actor/ActorUnkRMTB.hpp +++ b/include/Actor/ActorUnkRMTB.hpp @@ -9,7 +9,7 @@ class ActorUnkRMTB_C4 : public Actor_C4 { public: - ActorUnkRMTB_C4(Actor *param1); + ActorUnkRMTB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMTB : public ActorProfile_Derived1 { ActorProfileUnkRMTB(); ~ActorProfileUnkRMTB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMTB *GetProfile(); + static ActorProfileUnkRMTB* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMTE.hpp b/include/Actor/ActorUnkRMTE.hpp index adef222e8..fca8e192f 100644 --- a/include/Actor/ActorUnkRMTE.hpp +++ b/include/Actor/ActorUnkRMTE.hpp @@ -9,7 +9,7 @@ class ActorUnkRMTE_C4 : public Actor_C4 { public: - ActorUnkRMTE_C4(Actor *param1); + ActorUnkRMTE_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkRMTE : public ActorProfile_Derived1 { ActorProfileUnkRMTE(); ~ActorProfileUnkRMTE(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMTE *GetProfile(); + static ActorProfileUnkRMTE* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMTG.hpp b/include/Actor/ActorUnkRMTG.hpp index ccc3021be..d3c5e69f9 100644 --- a/include/Actor/ActorUnkRMTG.hpp +++ b/include/Actor/ActorUnkRMTG.hpp @@ -24,7 +24,7 @@ class ActorProfileUnkRMTG : public ActorProfile_Derived1 { ActorProfileUnkRMTG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMTG *GetProfile(); + static ActorProfileUnkRMTG* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMTR.hpp b/include/Actor/ActorUnkRMTR.hpp index 81efdc995..29a626908 100644 --- a/include/Actor/ActorUnkRMTR.hpp +++ b/include/Actor/ActorUnkRMTR.hpp @@ -9,7 +9,7 @@ class ActorUnkRMTR_C4 : public Actor_C4 { public: - ActorUnkRMTR_C4(Actor *param1); + ActorUnkRMTR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkRMTR : public ActorProfile_Derived1 { ActorProfileUnkRMTR(); ~ActorProfileUnkRMTR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMTR *GetProfile(); + static ActorProfileUnkRMTR* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMTZ.hpp b/include/Actor/ActorUnkRMTZ.hpp index 27b69a2c5..a187a688c 100644 --- a/include/Actor/ActorUnkRMTZ.hpp +++ b/include/Actor/ActorUnkRMTZ.hpp @@ -9,7 +9,7 @@ class ActorUnkRMTZ_C4 : public Actor_C4 { public: - ActorUnkRMTZ_C4(Actor *param1); + ActorUnkRMTZ_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkRMTZ : public ActorProfile_Derived1 { ActorProfileUnkRMTZ(); ~ActorProfileUnkRMTZ(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMTZ *GetProfile(); + static ActorProfileUnkRMTZ* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMV0.hpp b/include/Actor/ActorUnkRMV0.hpp index f0904aee1..5a8d1873b 100644 --- a/include/Actor/ActorUnkRMV0.hpp +++ b/include/Actor/ActorUnkRMV0.hpp @@ -9,7 +9,7 @@ class ActorUnkRMV0_C4 : public Actor_C4 { public: - ActorUnkRMV0_C4(Actor *param1); + ActorUnkRMV0_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMV0 : public ActorProfile_Derived1 { ActorProfileUnkRMV0(); ~ActorProfileUnkRMV0(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMV0 *GetProfile(); + static ActorProfileUnkRMV0* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMV1.hpp b/include/Actor/ActorUnkRMV1.hpp index 8142ea1de..db85fee07 100644 --- a/include/Actor/ActorUnkRMV1.hpp +++ b/include/Actor/ActorUnkRMV1.hpp @@ -9,7 +9,7 @@ class ActorUnkRMV1_C4 : public Actor_C4 { public: - ActorUnkRMV1_C4(Actor *param1); + ActorUnkRMV1_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMV1 : public ActorProfile_Derived1 { ActorProfileUnkRMV1(); ~ActorProfileUnkRMV1(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMV1 *GetProfile(); + static ActorProfileUnkRMV1* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMVD.hpp b/include/Actor/ActorUnkRMVD.hpp index 0b96fef7c..50151e0ea 100644 --- a/include/Actor/ActorUnkRMVD.hpp +++ b/include/Actor/ActorUnkRMVD.hpp @@ -9,7 +9,7 @@ class ActorUnkRMVD_C4 : public Actor_C4 { public: - ActorUnkRMVD_C4(Actor *param1); + ActorUnkRMVD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkRMVD : public ActorProfile_Derived1 { ActorProfileUnkRMVD(); ~ActorProfileUnkRMVD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMVD *GetProfile(); + static ActorProfileUnkRMVD* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMVF.hpp b/include/Actor/ActorUnkRMVF.hpp index 0ce2c6525..093e908ad 100644 --- a/include/Actor/ActorUnkRMVF.hpp +++ b/include/Actor/ActorUnkRMVF.hpp @@ -9,7 +9,7 @@ class ActorUnkRMVF_C4 : public Actor_C4 { public: - ActorUnkRMVF_C4(Actor *param1); + ActorUnkRMVF_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -44,7 +44,7 @@ class ActorProfileUnkRMVF : public ActorProfile_Derived1 { ActorProfileUnkRMVF(); ~ActorProfileUnkRMVF(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMVF *GetProfile(); + static ActorProfileUnkRMVF* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMVS.hpp b/include/Actor/ActorUnkRMVS.hpp index 343740759..7b7afb168 100644 --- a/include/Actor/ActorUnkRMVS.hpp +++ b/include/Actor/ActorUnkRMVS.hpp @@ -9,7 +9,7 @@ class ActorUnkRMVS_C4 : public Actor_C4 { public: - ActorUnkRMVS_C4(Actor *param1); + ActorUnkRMVS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkRMVS : public ActorProfile_Derived1 { ActorProfileUnkRMVS(); ~ActorProfileUnkRMVS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMVS *GetProfile(); + static ActorProfileUnkRMVS* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMVT.hpp b/include/Actor/ActorUnkRMVT.hpp index 951f5628f..c1830c10e 100644 --- a/include/Actor/ActorUnkRMVT.hpp +++ b/include/Actor/ActorUnkRMVT.hpp @@ -9,7 +9,7 @@ class ActorUnkRMVT_C4 : public Actor_C4 { public: - ActorUnkRMVT_C4(Actor *param1); + ActorUnkRMVT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -44,7 +44,7 @@ class ActorProfileUnkRMVT : public ActorProfile_Derived1 { ActorProfileUnkRMVT(); ~ActorProfileUnkRMVT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMVT *GetProfile(); + static ActorProfileUnkRMVT* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMVV.hpp b/include/Actor/ActorUnkRMVV.hpp index 6579a04fa..b7de608e4 100644 --- a/include/Actor/ActorUnkRMVV.hpp +++ b/include/Actor/ActorUnkRMVV.hpp @@ -9,7 +9,7 @@ class ActorUnkRMVV_C4 : public Actor_C4 { public: - ActorUnkRMVV_C4(Actor *param1); + ActorUnkRMVV_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkRMVV : public ActorProfile_Derived1 { ActorProfileUnkRMVV(); ~ActorProfileUnkRMVV(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMVV *GetProfile(); + static ActorProfileUnkRMVV* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMVW.hpp b/include/Actor/ActorUnkRMVW.hpp index fb1b69fbc..9d6c51ec6 100644 --- a/include/Actor/ActorUnkRMVW.hpp +++ b/include/Actor/ActorUnkRMVW.hpp @@ -9,7 +9,7 @@ class ActorUnkRMVW_C4 : public Actor_C4 { public: - ActorUnkRMVW_C4(Actor *param1); + ActorUnkRMVW_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkRMVW : public ActorProfile_Derived1 { ActorProfileUnkRMVW(); ~ActorProfileUnkRMVW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMVW *GetProfile(); + static ActorProfileUnkRMVW* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMW0.hpp b/include/Actor/ActorUnkRMW0.hpp index 8cc6f6fa8..7f815657d 100644 --- a/include/Actor/ActorUnkRMW0.hpp +++ b/include/Actor/ActorUnkRMW0.hpp @@ -9,7 +9,7 @@ class ActorUnkRMW0_C4 : public Actor_C4 { public: - ActorUnkRMW0_C4(Actor *param1); + ActorUnkRMW0_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -44,7 +44,7 @@ class ActorProfileUnkRMW0 : public ActorProfile_Derived1 { ActorProfileUnkRMW0(); ~ActorProfileUnkRMW0(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMW0 *GetProfile(); + static ActorProfileUnkRMW0* GetProfile(); }; diff --git a/include/Actor/ActorUnkRMW1.hpp b/include/Actor/ActorUnkRMW1.hpp index 7758e859e..e05cfcf42 100644 --- a/include/Actor/ActorUnkRMW1.hpp +++ b/include/Actor/ActorUnkRMW1.hpp @@ -9,7 +9,7 @@ class ActorUnkRMW1_C4 : public Actor_C4 { public: - ActorUnkRMW1_C4(Actor *param1); + ActorUnkRMW1_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkRMW1 : public ActorProfile_Derived1 { ActorProfileUnkRMW1(); ~ActorProfileUnkRMW1(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRMW1 *GetProfile(); + static ActorProfileUnkRMW1* GetProfile(); }; diff --git a/include/Actor/ActorUnkRNTN.hpp b/include/Actor/ActorUnkRNTN.hpp index 05ccd02ae..2b06977dc 100644 --- a/include/Actor/ActorUnkRNTN.hpp +++ b/include/Actor/ActorUnkRNTN.hpp @@ -9,7 +9,7 @@ class ActorUnkRNTN_C4 : public Actor_C4 { public: - ActorUnkRNTN_C4(Actor *param1); + ActorUnkRNTN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -46,7 +46,7 @@ class ActorProfileUnkRNTN : public ActorProfile_Derived1 { ActorProfileUnkRNTN(); ~ActorProfileUnkRNTN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRNTN *GetProfile(); + static ActorProfileUnkRNTN* GetProfile(); }; diff --git a/include/Actor/ActorUnkROCK.hpp b/include/Actor/ActorUnkROCK.hpp index 5fc10adf9..654a9dd65 100644 --- a/include/Actor/ActorUnkROCK.hpp +++ b/include/Actor/ActorUnkROCK.hpp @@ -30,7 +30,7 @@ class ActorUnkROCK : public Actor { /* 20 */ virtual void Update() override; /* 2C */ virtual void vfunc_2C(unk32 param1) override; /* 38 */ virtual bool Grab(ActorGrabParams param1) override; - /* 38 */ virtual bool Drop(ActorGrabParams param1, const VecFx32 *param2) override; + /* 38 */ virtual bool Drop(ActorGrabParams param1, const VecFx32* param2) override; void func_ov031_020e8a48(ActorState state); void func_ov031_020e8acc(); @@ -55,7 +55,7 @@ class ActorProfileUnkROCK : public ActorProfileUnkROCK_Base { ActorProfileUnkROCK(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkROCK *GetProfile(); + static ActorProfileUnkROCK* GetProfile(); }; diff --git a/include/Actor/ActorUnkRPMT.hpp b/include/Actor/ActorUnkRPMT.hpp index ee15fbdd3..abc7c2c98 100644 --- a/include/Actor/ActorUnkRPMT.hpp +++ b/include/Actor/ActorUnkRPMT.hpp @@ -9,7 +9,7 @@ class ActorUnkRPMT_C4 : public Actor_C4 { public: - ActorUnkRPMT_C4(Actor *param1); + ActorUnkRPMT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -58,7 +58,7 @@ class ActorProfileUnkRPMT : public ActorProfile { ActorProfileUnkRPMT(); ~ActorProfileUnkRPMT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRPMT *GetProfile(); + static ActorProfileUnkRPMT* GetProfile(); }; diff --git a/include/Actor/ActorUnkRYAW.hpp b/include/Actor/ActorUnkRYAW.hpp index f6c9797d6..9294e8866 100644 --- a/include/Actor/ActorUnkRYAW.hpp +++ b/include/Actor/ActorUnkRYAW.hpp @@ -9,7 +9,7 @@ class ActorUnkRYAW_C4 : public Actor_C4 { public: - ActorUnkRYAW_C4(Actor *param1); + ActorUnkRYAW_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -65,7 +65,7 @@ class ActorProfileUnkRYAW : public ActorProfile_Derived1 { ActorProfileUnkRYAW(); ~ActorProfileUnkRYAW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkRYAW *GetProfile(); + static ActorProfileUnkRYAW* GetProfile(); }; diff --git a/include/Actor/ActorUnkSCCN.hpp b/include/Actor/ActorUnkSCCN.hpp index 0286ceb17..255e9c27f 100644 --- a/include/Actor/ActorUnkSCCN.hpp +++ b/include/Actor/ActorUnkSCCN.hpp @@ -33,7 +33,7 @@ class ActorProfileUnkSCCN : public ActorProfile { ActorProfileUnkSCCN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSCCN *GetProfile(); + static ActorProfileUnkSCCN* GetProfile(); }; diff --git a/include/Actor/ActorUnkSEAT.hpp b/include/Actor/ActorUnkSEAT.hpp index 80edf4b3f..c5f37a757 100644 --- a/include/Actor/ActorUnkSEAT.hpp +++ b/include/Actor/ActorUnkSEAT.hpp @@ -9,7 +9,7 @@ class ActorUnkSEAT_C4 : public Actor_C4 { public: - ActorUnkSEAT_C4(Actor *param1); + ActorUnkSEAT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkSEAT : public ActorProfile_Derived1 { ActorProfileUnkSEAT(); ~ActorProfileUnkSEAT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSEAT *GetProfile(); + static ActorProfileUnkSEAT* GetProfile(); }; diff --git a/include/Actor/ActorUnkSEFS.hpp b/include/Actor/ActorUnkSEFS.hpp index 976ef4189..95854e5e0 100644 --- a/include/Actor/ActorUnkSEFS.hpp +++ b/include/Actor/ActorUnkSEFS.hpp @@ -9,7 +9,7 @@ class ActorUnkSEFS_C4 : public Actor_C4 { public: - ActorUnkSEFS_C4(Actor *param1); + ActorUnkSEFS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -52,7 +52,7 @@ class ActorProfileUnkSEFS : public ActorProfile_Derived1 { ActorProfileUnkSEFS(); ~ActorProfileUnkSEFS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSEFS *GetProfile(); + static ActorProfileUnkSEFS* GetProfile(); }; diff --git a/include/Actor/ActorUnkSGMG.hpp b/include/Actor/ActorUnkSGMG.hpp index d4f1e8f8b..19e10dc1c 100644 --- a/include/Actor/ActorUnkSGMG.hpp +++ b/include/Actor/ActorUnkSGMG.hpp @@ -10,7 +10,7 @@ class ActorUnkSGMG_C4 : public Actor_C4 { public: - ActorUnkSGMG_C4(Actor *param1); + ActorUnkSGMG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -42,7 +42,7 @@ class ActorProfileUnkSGMG : public ActorProfile { ActorProfileUnkSGMG(); ~ActorProfileUnkSGMG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSGMG *GetProfile(); + static ActorProfileUnkSGMG* GetProfile(); }; diff --git a/include/Actor/ActorUnkSHDL.hpp b/include/Actor/ActorUnkSHDL.hpp index 1315ec6b7..77930c3c2 100644 --- a/include/Actor/ActorUnkSHDL.hpp +++ b/include/Actor/ActorUnkSHDL.hpp @@ -9,7 +9,7 @@ class ActorUnkSHDL_C4 : public Actor_C4 { public: - ActorUnkSHDL_C4(Actor *param1); + ActorUnkSHDL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -111,7 +111,7 @@ class ActorProfileUnkSHDL : public ActorProfile { ActorProfileUnkSHDL(); ~ActorProfileUnkSHDL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSHDL *GetProfile(); + static ActorProfileUnkSHDL* GetProfile(); }; diff --git a/include/Actor/ActorUnkSHIT.hpp b/include/Actor/ActorUnkSHIT.hpp index ad4d51f71..3835abbd0 100644 --- a/include/Actor/ActorUnkSHIT.hpp +++ b/include/Actor/ActorUnkSHIT.hpp @@ -10,7 +10,7 @@ class ActorUnkSHIT_C4 : public Actor_C4 { public: - ActorUnkSHIT_C4(Actor *param1); + ActorUnkSHIT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -73,7 +73,7 @@ class ActorProfileUnkSHIT : public ActorProfile_Derived1 { ActorProfileUnkSHIT(); ~ActorProfileUnkSHIT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSHIT *GetProfile(); + static ActorProfileUnkSHIT* GetProfile(); }; diff --git a/include/Actor/ActorUnkSIRO_SIRS_SRNM_SRSL.hpp b/include/Actor/ActorUnkSIRO_SIRS_SRNM_SRSL.hpp index 65387600c..091dcd57d 100644 --- a/include/Actor/ActorUnkSIRO_SIRS_SRNM_SRSL.hpp +++ b/include/Actor/ActorUnkSIRO_SIRS_SRNM_SRSL.hpp @@ -11,7 +11,7 @@ class ActorUnkSIRO_C4 : public Actor_C4 { public: - ActorUnkSIRO_C4(Actor *param1); + ActorUnkSIRO_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkSIRO : public ActorProfile_Derived1 { ActorProfileUnkSIRO(); ~ActorProfileUnkSIRO(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSIRO *GetProfile(); + static ActorProfileUnkSIRO* GetProfile(); }; // --- Actor SIRS --- class ActorUnkSIRS_C4 : public Actor_C4 { public: - ActorUnkSIRS_C4(Actor *param1); + ActorUnkSIRS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,16 +70,16 @@ class ActorProfileUnkSIRS : public ActorProfile_Derived1 { ActorProfileUnkSIRS(); ~ActorProfileUnkSIRS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSIRS *GetProfile(); + static ActorProfileUnkSIRS* GetProfile(); }; // --- Actor SRNM --- class ActorUnkSRNM_C4 : public Actor_C4 { public: - ActorUnkSRNM_C4(Actor *param1); + ActorUnkSRNM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -104,16 +104,16 @@ class ActorProfileUnkSRNM : public ActorProfile_Derived1 { ActorProfileUnkSRNM(); ~ActorProfileUnkSRNM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSRNM *GetProfile(); + static ActorProfileUnkSRNM* GetProfile(); }; // --- Actor SRSL --- class ActorUnkSRSL_C4 : public Actor_C4 { public: - ActorUnkSRSL_C4(Actor *param1); + ActorUnkSRSL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -138,7 +138,7 @@ class ActorProfileUnkSRSL : public ActorProfile_Derived1 { ActorProfileUnkSRSL(); ~ActorProfileUnkSRSL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSRSL *GetProfile(); + static ActorProfileUnkSRSL* GetProfile(); }; diff --git a/include/Actor/ActorUnkSKDO.hpp b/include/Actor/ActorUnkSKDO.hpp index a9952f0af..3b9229fdd 100644 --- a/include/Actor/ActorUnkSKDO.hpp +++ b/include/Actor/ActorUnkSKDO.hpp @@ -19,14 +19,14 @@ class ActorUnkSKDO_ov031_02115ce8 : public UnkStruct_ov000_020b34c4 { UnkStruct_ov000_020b34c4(mapObjId) {} // data_ov031_02115ce8 - virtual bool vfunc_00(MapObject *param1); + virtual bool vfunc_00(MapObject* param1); }; class ActorUnkSKDO : public Actor { public: /* 00 (base) */ /* 94 */ unk32 mUnk_94; - /* 98 */ MapObjectUnkSKDI *mUnk_98; + /* 98 */ MapObjectUnkSKDI* mUnk_98; /* 9C */ ActorUnkSKDO(); @@ -43,7 +43,7 @@ class ActorProfileUnkSKDO : public ActorProfile { ActorProfileUnkSKDO(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSKDO *GetProfile(); + static ActorProfileUnkSKDO* GetProfile(); }; diff --git a/include/Actor/ActorUnkSMCT.hpp b/include/Actor/ActorUnkSMCT.hpp index 50695abc9..ebf58cbea 100644 --- a/include/Actor/ActorUnkSMCT.hpp +++ b/include/Actor/ActorUnkSMCT.hpp @@ -9,7 +9,7 @@ class ActorUnkSMCT_C4 : public Actor_C4 { public: - ActorUnkSMCT_C4(Actor *param1); + ActorUnkSMCT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkSMCT : public ActorProfile { ActorProfileUnkSMCT(); ~ActorProfileUnkSMCT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSMCT *GetProfile(); + static ActorProfileUnkSMCT* GetProfile(); }; diff --git a/include/Actor/ActorUnkSNMA.hpp b/include/Actor/ActorUnkSNMA.hpp index fce7eddaf..63decc61f 100644 --- a/include/Actor/ActorUnkSNMA.hpp +++ b/include/Actor/ActorUnkSNMA.hpp @@ -9,7 +9,7 @@ class ActorUnkSNMA_C4 : public Actor_C4 { public: - ActorUnkSNMA_C4(Actor *param1); + ActorUnkSNMA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -77,7 +77,7 @@ class ActorProfileUnkSNMA : public ActorProfile_Derived1 { ActorProfileUnkSNMA(); ~ActorProfileUnkSNMA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSNMA *GetProfile(); + static ActorProfileUnkSNMA* GetProfile(); }; diff --git a/include/Actor/ActorUnkSNMB.hpp b/include/Actor/ActorUnkSNMB.hpp index 3c99de265..889fdd4fb 100644 --- a/include/Actor/ActorUnkSNMB.hpp +++ b/include/Actor/ActorUnkSNMB.hpp @@ -9,7 +9,7 @@ class ActorUnkSNMB_C4 : public Actor_C4 { public: - ActorUnkSNMB_C4(Actor *param1); + ActorUnkSNMB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -42,7 +42,7 @@ class ActorProfileUnkSNMB : public ActorProfile_Derived1 { ActorProfileUnkSNMB(); ~ActorProfileUnkSNMB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSNMB *GetProfile(); + static ActorProfileUnkSNMB* GetProfile(); }; diff --git a/include/Actor/ActorUnkSNOW.hpp b/include/Actor/ActorUnkSNOW.hpp index b1b620a86..43b0cbc44 100644 --- a/include/Actor/ActorUnkSNOW.hpp +++ b/include/Actor/ActorUnkSNOW.hpp @@ -9,7 +9,7 @@ class ActorUnkSNOW_C4 : public Actor_C4 { public: - ActorUnkSNOW_C4(Actor *param1); + ActorUnkSNOW_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -43,7 +43,7 @@ class ActorProfileUnkSNOW : public ActorProfile { ActorProfileUnkSNOW(); ~ActorProfileUnkSNOW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSNOW *GetProfile(); + static ActorProfileUnkSNOW* GetProfile(); }; diff --git a/include/Actor/ActorUnkSNST.hpp b/include/Actor/ActorUnkSNST.hpp index fd381f7f0..acb1246f0 100644 --- a/include/Actor/ActorUnkSNST.hpp +++ b/include/Actor/ActorUnkSNST.hpp @@ -9,7 +9,7 @@ class ActorUnkSNST_C4 : public Actor_C4 { public: - ActorUnkSNST_C4(Actor *param1); + ActorUnkSNST_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -42,7 +42,7 @@ class ActorProfileUnkSNST : public ActorProfile_Derived1 { ActorProfileUnkSNST(); ~ActorProfileUnkSNST(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSNST *GetProfile(); + static ActorProfileUnkSNST* GetProfile(); }; diff --git a/include/Actor/ActorUnkSOGB_SOGC_SOLG.hpp b/include/Actor/ActorUnkSOGB_SOGC_SOLG.hpp index 396418d8b..c0a0b86db 100644 --- a/include/Actor/ActorUnkSOGB_SOGC_SOLG.hpp +++ b/include/Actor/ActorUnkSOGB_SOGC_SOLG.hpp @@ -11,7 +11,7 @@ class ActorUnkSOGB_C4 : public Actor_C4 { public: - ActorUnkSOGB_C4(Actor *param1); + ActorUnkSOGB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkSOGB : public ActorProfile { ActorProfileUnkSOGB(); ~ActorProfileUnkSOGB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSOGB *GetProfile(); + static ActorProfileUnkSOGB* GetProfile(); }; // --- Actor SOGC --- class ActorUnkSOGC_C4 : public Actor_C4 { public: - ActorUnkSOGC_C4(Actor *param1); + ActorUnkSOGC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,16 +70,16 @@ class ActorProfileUnkSOGC : public ActorProfile { ActorProfileUnkSOGC(); ~ActorProfileUnkSOGC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSOGC *GetProfile(); + static ActorProfileUnkSOGC* GetProfile(); }; // --- Actor SOLG --- class ActorUnkSOLG_C4 : public Actor_C4 { public: - ActorUnkSOLG_C4(Actor *param1); + ActorUnkSOLG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -104,7 +104,7 @@ class ActorProfileUnkSOLG : public ActorProfile { ActorProfileUnkSOLG(); ~ActorProfileUnkSOLG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSOLG *GetProfile(); + static ActorProfileUnkSOLG* GetProfile(); }; diff --git a/include/Actor/ActorUnkSOLB_SOLC_SOLD.hpp b/include/Actor/ActorUnkSOLB_SOLC_SOLD.hpp index 3130447d0..bf7d30b1b 100644 --- a/include/Actor/ActorUnkSOLB_SOLC_SOLD.hpp +++ b/include/Actor/ActorUnkSOLB_SOLC_SOLD.hpp @@ -11,7 +11,7 @@ class ActorUnkSOLB_C4 : public Actor_C4 { public: - ActorUnkSOLB_C4(Actor *param1); + ActorUnkSOLB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkSOLB : public ActorProfile_Derived1 { ActorProfileUnkSOLB(); ~ActorProfileUnkSOLB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSOLB *GetProfile(); + static ActorProfileUnkSOLB* GetProfile(); }; // --- Actor SOLC --- class ActorUnkSOLC_C4 : public Actor_C4 { public: - ActorUnkSOLC_C4(Actor *param1); + ActorUnkSOLC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,16 +70,16 @@ class ActorProfileUnkSOLC : public ActorProfile_Derived1 { ActorProfileUnkSOLC(); ~ActorProfileUnkSOLC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSOLC *GetProfile(); + static ActorProfileUnkSOLC* GetProfile(); }; // --- Actor SOLD --- class ActorUnkSOLD_C4 : public Actor_C4 { public: - ActorUnkSOLD_C4(Actor *param1); + ActorUnkSOLD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -104,7 +104,7 @@ class ActorProfileUnkSOLD : public ActorProfile_Derived1 { ActorProfileUnkSOLD(); ~ActorProfileUnkSOLD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSOLD *GetProfile(); + static ActorProfileUnkSOLD* GetProfile(); }; diff --git a/include/Actor/ActorUnkSOLF.hpp b/include/Actor/ActorUnkSOLF.hpp index 309ab52fe..bb1a01fea 100644 --- a/include/Actor/ActorUnkSOLF.hpp +++ b/include/Actor/ActorUnkSOLF.hpp @@ -9,7 +9,7 @@ class ActorUnkSOLF_C4 : public Actor_C4 { public: - ActorUnkSOLF_C4(Actor *param1); + ActorUnkSOLF_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -105,7 +105,7 @@ class ActorProfileUnkSOLF : public ActorProfile { ActorProfileUnkSOLF(); ~ActorProfileUnkSOLF(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSOLF *GetProfile(); + static ActorProfileUnkSOLF* GetProfile(); }; diff --git a/include/Actor/ActorUnkSOLT.hpp b/include/Actor/ActorUnkSOLT.hpp index 1fedc859a..413a48ca1 100644 --- a/include/Actor/ActorUnkSOLT.hpp +++ b/include/Actor/ActorUnkSOLT.hpp @@ -9,7 +9,7 @@ class ActorUnkSOLT_C4 : public Actor_C4 { public: - ActorUnkSOLT_C4(Actor *param1); + ActorUnkSOLT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -94,7 +94,7 @@ class ActorProfileUnkSOLT : public ActorProfile_Derived1 { ActorProfileUnkSOLT(); ~ActorProfileUnkSOLT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSOLT *GetProfile(); + static ActorProfileUnkSOLT* GetProfile(); }; diff --git a/include/Actor/ActorUnkSPID.hpp b/include/Actor/ActorUnkSPID.hpp index 9bc5c0910..4f7be0c9e 100644 --- a/include/Actor/ActorUnkSPID.hpp +++ b/include/Actor/ActorUnkSPID.hpp @@ -9,7 +9,7 @@ class ActorUnkSPID_C4 : public Actor_C4 { public: - ActorUnkSPID_C4(Actor *param1); + ActorUnkSPID_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -74,7 +74,7 @@ class ActorProfileUnkSPID : public ActorProfile_Derived1 { ActorProfileUnkSPID(); ~ActorProfileUnkSPID(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSPID *GetProfile(); + static ActorProfileUnkSPID* GetProfile(); }; diff --git a/include/Actor/ActorUnkSPTG.hpp b/include/Actor/ActorUnkSPTG.hpp index 9357d29fd..ccda1f317 100644 --- a/include/Actor/ActorUnkSPTG.hpp +++ b/include/Actor/ActorUnkSPTG.hpp @@ -9,7 +9,7 @@ class ActorUnkSPTG_C4 : public Actor_C4 { public: - ActorUnkSPTG_C4(Actor *param1); + ActorUnkSPTG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -59,7 +59,7 @@ class ActorProfileUnkSPTG : public ActorProfile_Derived1 { ActorProfileUnkSPTG(); ~ActorProfileUnkSPTG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSPTG *GetProfile(); + static ActorProfileUnkSPTG* GetProfile(); }; diff --git a/include/Actor/ActorUnkSPTT.hpp b/include/Actor/ActorUnkSPTT.hpp index da3c595dc..c37a3230c 100644 --- a/include/Actor/ActorUnkSPTT.hpp +++ b/include/Actor/ActorUnkSPTT.hpp @@ -9,7 +9,7 @@ class ActorUnkSPTT_C4 : public Actor_C4 { public: - ActorUnkSPTT_C4(Actor *param1); + ActorUnkSPTT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkSPTT : public ActorProfile { ActorProfileUnkSPTT(); ~ActorProfileUnkSPTT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSPTT *GetProfile(); + static ActorProfileUnkSPTT* GetProfile(); }; diff --git a/include/Actor/ActorUnkSRST.hpp b/include/Actor/ActorUnkSRST.hpp index 963a60bb8..e7683e2b0 100644 --- a/include/Actor/ActorUnkSRST.hpp +++ b/include/Actor/ActorUnkSRST.hpp @@ -9,7 +9,7 @@ class ActorUnkSRST_C4 : public Actor_C4 { public: - ActorUnkSRST_C4(Actor *param1); + ActorUnkSRST_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -71,7 +71,7 @@ class ActorProfileUnkSRST : public ActorProfile_Derived1 { ActorProfileUnkSRST(); ~ActorProfileUnkSRST(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSRST *GetProfile(); + static ActorProfileUnkSRST* GetProfile(); }; diff --git a/include/Actor/ActorUnkSSFC.hpp b/include/Actor/ActorUnkSSFC.hpp index e8da66960..34bf42883 100644 --- a/include/Actor/ActorUnkSSFC.hpp +++ b/include/Actor/ActorUnkSSFC.hpp @@ -9,7 +9,7 @@ class ActorUnkSSFC_C4 : public Actor_C4 { public: - ActorUnkSSFC_C4(Actor *param1); + ActorUnkSSFC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkSSFC : public ActorProfile { ActorProfileUnkSSFC(); ~ActorProfileUnkSSFC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSSFC *GetProfile(); + static ActorProfileUnkSSFC* GetProfile(); }; diff --git a/include/Actor/ActorUnkSTCT.hpp b/include/Actor/ActorUnkSTCT.hpp index e0cd2b6ba..99accdd59 100644 --- a/include/Actor/ActorUnkSTCT.hpp +++ b/include/Actor/ActorUnkSTCT.hpp @@ -9,7 +9,7 @@ class ActorUnkSTCT_C4 : public Actor_C4 { public: - ActorUnkSTCT_C4(Actor *param1); + ActorUnkSTCT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkSTCT : public ActorProfile_Derived1 { ActorProfileUnkSTCT(); ~ActorProfileUnkSTCT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSTCT *GetProfile(); + static ActorProfileUnkSTCT* GetProfile(); }; diff --git a/include/Actor/ActorUnkSTFB.hpp b/include/Actor/ActorUnkSTFB.hpp index 63f29a2ea..b967ad186 100644 --- a/include/Actor/ActorUnkSTFB.hpp +++ b/include/Actor/ActorUnkSTFB.hpp @@ -9,7 +9,7 @@ class ActorUnkSTFB_C4 : public Actor_C4 { public: - ActorUnkSTFB_C4(Actor *param1); + ActorUnkSTFB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -45,7 +45,7 @@ class ActorProfileUnkSTFB : public ActorProfile { ActorProfileUnkSTFB(); ~ActorProfileUnkSTFB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSTFB *GetProfile(); + static ActorProfileUnkSTFB* GetProfile(); }; diff --git a/include/Actor/ActorUnkSTFH.hpp b/include/Actor/ActorUnkSTFH.hpp index 5706d939c..116c5e782 100644 --- a/include/Actor/ActorUnkSTFH.hpp +++ b/include/Actor/ActorUnkSTFH.hpp @@ -9,7 +9,7 @@ class ActorUnkSTFH_C4 : public Actor_C4 { public: - ActorUnkSTFH_C4(Actor *param1); + ActorUnkSTFH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -86,7 +86,7 @@ class ActorProfileUnkSTFH : public ActorProfile_Derived1 { ActorProfileUnkSTFH(); ~ActorProfileUnkSTFH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSTFH *GetProfile(); + static ActorProfileUnkSTFH* GetProfile(); }; diff --git a/include/Actor/ActorUnkSTLF.hpp b/include/Actor/ActorUnkSTLF.hpp index 1ed3b7698..2c2223480 100644 --- a/include/Actor/ActorUnkSTLF.hpp +++ b/include/Actor/ActorUnkSTLF.hpp @@ -9,7 +9,7 @@ class ActorUnkSTLF_C4 : public Actor_C4 { public: - ActorUnkSTLF_C4(Actor *param1); + ActorUnkSTLF_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -98,7 +98,7 @@ class ActorProfileUnkSTLF : public ActorProfile_Derived1 { ActorProfileUnkSTLF(); ~ActorProfileUnkSTLF(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSTLF *GetProfile(); + static ActorProfileUnkSTLF* GetProfile(); }; diff --git a/include/Actor/ActorUnkSTLW.hpp b/include/Actor/ActorUnkSTLW.hpp index c8d022961..8ad28f717 100644 --- a/include/Actor/ActorUnkSTLW.hpp +++ b/include/Actor/ActorUnkSTLW.hpp @@ -9,7 +9,7 @@ class ActorUnkSTLW_C4 : public Actor_C4 { public: - ActorUnkSTLW_C4(Actor *param1); + ActorUnkSTLW_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -93,7 +93,7 @@ class ActorProfileUnkSTLW : public ActorProfile_Derived1 { ActorProfileUnkSTLW(); ~ActorProfileUnkSTLW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSTLW *GetProfile(); + static ActorProfileUnkSTLW* GetProfile(); }; diff --git a/include/Actor/ActorUnkSTTG.hpp b/include/Actor/ActorUnkSTTG.hpp index 3a30a94de..6413a1fae 100644 --- a/include/Actor/ActorUnkSTTG.hpp +++ b/include/Actor/ActorUnkSTTG.hpp @@ -14,23 +14,22 @@ class UnkStruct_ov094_02177670 : public ModelRender_ov000_020b1a1c { public: - /* 00 (vtable) */ - /* 60 */ + ActorUnkSTTG_C4(Actor* param1); - UnkStruct_ov094_02177670(G3d_Model *pModel) : + UnkStruct_ov094_02177670(G3d_Model* pModel) : ModelRender_ov000_020b1a1c(pModel) {}; }; class UnkStruct_ov094_02177610 : public UnkStruct_ov031_Items_00_Base { public: /* 00 (vtable) */ - /* 04 */ VecFx32 *mUnk_04; + /* 04 */ VecFx32* mUnk_04; - UnkStruct_ov094_02177610(VecFx32 *param1) : + UnkStruct_ov094_02177610(VecFx32* param1) : mUnk_04(param1) {} // /* 00 */ virtual ~UnkStruct_ov094_02177610(); - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2); + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2); }; class UnkStruct_ov094_02177600 : public Actor_9C { @@ -54,7 +53,7 @@ class ActorUnkSTTG : public Actor { public: /* 000 (base) */ /* 094 */ UnkStruct_ov094_02177670 mUnk_94; - /* 0F4 */ void *mUnk_F4; + /* 0F4 */ void* mUnk_F4; /* 0F8 */ unk16 mUnk_F8; /* 0FA */ unk16 mUnk_FA; /* 0FC */ unk32 mUnk_FC; @@ -62,7 +61,7 @@ class ActorUnkSTTG : public Actor { /* 104 */ unk32 mUnk_104; /* 108 */ unk32 mUnk_108; /* 10C */ UnkStruct_ov094_02177600 mUnk_10C; - /* 12C */ void *mUnk_12C; + /* 12C */ void* mUnk_12C; /* 130 */ MtxFx33 mUnk_130; /* 154 */ Sphere mUnk_154; /* 164 */ VecFx32Cpp mUnk_164; @@ -92,9 +91,9 @@ class ActorUnkSTTG : public Actor { void func_ov094_0216aa78(void); unk32 func_ov094_0216ab34(void); void func_ov094_0216ada8(void); - static void func_ov094_0216aec0(VecFx32 *vec, ActorUnkSTTG *actor); + static void func_ov094_0216aec0(VecFx32* vec, ActorUnkSTTG* actor); void func_ov094_0216aee8(void); - static void func_ov094_0216b150(VecFx32 *vec, ActorUnkSTTG *actor); + static void func_ov094_0216b150(VecFx32* vec, ActorUnkSTTG* actor); }; class ActorProfileUnkSTTG : public ActorProfile_Derived1 { @@ -104,7 +103,7 @@ class ActorProfileUnkSTTG : public ActorProfile_Derived1 { ActorProfileUnkSTTG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSTTG *GetProfile(); + static ActorProfileUnkSTTG* GetProfile(); }; diff --git a/include/Actor/ActorUnkSTWH.hpp b/include/Actor/ActorUnkSTWH.hpp index 0001443f8..4a76c2b35 100644 --- a/include/Actor/ActorUnkSTWH.hpp +++ b/include/Actor/ActorUnkSTWH.hpp @@ -9,7 +9,7 @@ class ActorUnkSTWH_C4 : public Actor_C4 { public: - ActorUnkSTWH_C4(Actor *param1); + ActorUnkSTWH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -88,7 +88,7 @@ class ActorProfileUnkSTWH : public ActorProfile_Derived1 { ActorProfileUnkSTWH(); ~ActorProfileUnkSTWH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSTWH *GetProfile(); + static ActorProfileUnkSTWH* GetProfile(); }; diff --git a/include/Actor/ActorUnkSWBM.hpp b/include/Actor/ActorUnkSWBM.hpp index fbb0d5cc1..31eeff1a0 100644 --- a/include/Actor/ActorUnkSWBM.hpp +++ b/include/Actor/ActorUnkSWBM.hpp @@ -21,32 +21,32 @@ class ActorUnkSWBM_94 : public UnkStruct_ov031_Items_00_Base { /* 04 */ // data_ov031_02113148 - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; }; class ActorUnkSWBM_98 : public UnkStruct_ov031_Items_01 { public: /* 00 (base) */ - /* 2C */ ActorUnkSWBM *mUnk_2C; + /* 2C */ ActorUnkSWBM* mUnk_2C; /* 30 */ - ActorUnkSWBM_98(ActorUnkSWBM *param1) : + ActorUnkSWBM_98(ActorUnkSWBM* param1) : mUnk_2C(param1) {} // data_ov031_0211312c - /* 0C */ virtual bool vfunc_0C(Actor *param1, VecFx32 *vector) override; - /* 10 */ virtual void vfunc_10(const Actor *actor) override; + /* 0C */ virtual bool vfunc_0C(Actor* param1, VecFx32* vector) override; + /* 10 */ virtual void vfunc_10(const Actor* actor) override; }; class ActorUnkSWBM_C8 : public UnkStruct_PlayerGet_74_base { public: /* 00 (base) */ - /* 14 */ ActorUnkSWBM *mUnk_14; + /* 14 */ ActorUnkSWBM* mUnk_14; /* 18 */ - ActorUnkSWBM_C8(ActorUnkSWBM *param1) : + ActorUnkSWBM_C8(ActorUnkSWBM* param1) : mUnk_14(param1) {} // data_ov031_02113110 @@ -75,7 +75,7 @@ class ActorUnkSWBM : public Actor { void func_ov031_020e6d48(); void func_ov031_020e6d80(unk32 param1); void func_ov031_020e6e84(ActorState state); - static void func_ov031_020e718c(const VecFx32 *param0, MtxFx33 *param1, s32 param2, s16 param3, s16 param4, s16 param5); + static void func_ov031_020e718c(const VecFx32* param0, MtxFx33* param1, s32 param2, s16 param3, s16 param4, s16 param5); }; class ActorProfileUnkSWBM : public ActorProfile { @@ -84,7 +84,7 @@ class ActorProfileUnkSWBM : public ActorProfile { ActorProfileUnkSWBM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSWBM *GetProfile(); + static ActorProfileUnkSWBM* GetProfile(); }; diff --git a/include/Actor/ActorUnkSWCH.hpp b/include/Actor/ActorUnkSWCH.hpp index 977af6407..d56977c87 100644 --- a/include/Actor/ActorUnkSWCH.hpp +++ b/include/Actor/ActorUnkSWCH.hpp @@ -25,7 +25,7 @@ class ActorProfileUnkSWCH : public ActorProfile { ActorProfileUnkSWCH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSWCH *GetProfile(); + static ActorProfileUnkSWCH* GetProfile(); }; diff --git a/include/Actor/ActorUnkSWDS.hpp b/include/Actor/ActorUnkSWDS.hpp index a9fa0d51f..bfe99a7c1 100644 --- a/include/Actor/ActorUnkSWDS.hpp +++ b/include/Actor/ActorUnkSWDS.hpp @@ -9,7 +9,7 @@ class ActorUnkSWDS_C4 : public Actor_C4 { public: - ActorUnkSWDS_C4(Actor *param1); + ActorUnkSWDS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkSWDS : public ActorProfile { ActorProfileUnkSWDS(); ~ActorProfileUnkSWDS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSWDS *GetProfile(); + static ActorProfileUnkSWDS* GetProfile(); }; diff --git a/include/Actor/ActorUnkSWHI.hpp b/include/Actor/ActorUnkSWHI.hpp index be5014042..78c1a5a4e 100644 --- a/include/Actor/ActorUnkSWHI.hpp +++ b/include/Actor/ActorUnkSWHI.hpp @@ -9,7 +9,7 @@ class ActorUnkSWHI_C4 : public Actor_C4 { public: - ActorUnkSWHI_C4(Actor *param1); + ActorUnkSWHI_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -47,7 +47,7 @@ class ActorProfileUnkSWHI : public ActorProfile { ActorProfileUnkSWHI(); ~ActorProfileUnkSWHI(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSWHI *GetProfile(); + static ActorProfileUnkSWHI* GetProfile(); }; diff --git a/include/Actor/ActorUnkSWOB.hpp b/include/Actor/ActorUnkSWOB.hpp index 098df9391..e299bfae4 100644 --- a/include/Actor/ActorUnkSWOB.hpp +++ b/include/Actor/ActorUnkSWOB.hpp @@ -41,7 +41,7 @@ class ActorProfileUnkSWOB : public ActorProfile { ActorProfileUnkSWOB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSWOB *GetProfile(); + static ActorProfileUnkSWOB* GetProfile(); }; diff --git a/include/Actor/ActorUnkSWON.hpp b/include/Actor/ActorUnkSWON.hpp index 61b1ff4f9..4f312b9b1 100644 --- a/include/Actor/ActorUnkSWON.hpp +++ b/include/Actor/ActorUnkSWON.hpp @@ -23,7 +23,7 @@ class ActorProfileUnkSWON : public ActorProfile { ActorProfileUnkSWON(); ~ActorProfileUnkSWON(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSWON *GetProfile(); + static ActorProfileUnkSWON* GetProfile(); }; diff --git a/include/Actor/ActorUnkSWTM.hpp b/include/Actor/ActorUnkSWTM.hpp index 22ee366cb..89fb47fa7 100644 --- a/include/Actor/ActorUnkSWTM.hpp +++ b/include/Actor/ActorUnkSWTM.hpp @@ -61,7 +61,7 @@ class ActorProfileUnkSWTM : public ActorProfile { ActorProfileUnkSWTM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSWTM *GetProfile(); + static ActorProfileUnkSWTM* GetProfile(); }; diff --git a/include/Actor/ActorUnkSYRN.hpp b/include/Actor/ActorUnkSYRN.hpp index 268e7b49d..8f4a320a5 100644 --- a/include/Actor/ActorUnkSYRN.hpp +++ b/include/Actor/ActorUnkSYRN.hpp @@ -9,7 +9,7 @@ class ActorUnkSYRN_C4 : public Actor_C4 { public: - ActorUnkSYRN_C4(Actor *param1); + ActorUnkSYRN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -54,7 +54,7 @@ class ActorProfileUnkSYRN : public ActorProfile_Derived1 { ActorProfileUnkSYRN(); ~ActorProfileUnkSYRN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSYRN *GetProfile(); + static ActorProfileUnkSYRN* GetProfile(); }; diff --git a/include/Actor/ActorUnkSZKL.hpp b/include/Actor/ActorUnkSZKL.hpp index b53805e3e..5f82b4ab9 100644 --- a/include/Actor/ActorUnkSZKL.hpp +++ b/include/Actor/ActorUnkSZKL.hpp @@ -9,7 +9,7 @@ class ActorUnkSZKL_C4 : public Actor_C4 { public: - ActorUnkSZKL_C4(Actor *param1); + ActorUnkSZKL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -52,7 +52,7 @@ class ActorProfileUnkSZKL : public ActorProfile_Derived1 { ActorProfileUnkSZKL(); ~ActorProfileUnkSZKL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSZKL *GetProfile(); + static ActorProfileUnkSZKL* GetProfile(); }; diff --git a/include/Actor/ActorUnkSZRD.hpp b/include/Actor/ActorUnkSZRD.hpp index 21b768b78..501c341b7 100644 --- a/include/Actor/ActorUnkSZRD.hpp +++ b/include/Actor/ActorUnkSZRD.hpp @@ -9,7 +9,7 @@ class ActorUnkSZRD_C4 : public Actor_C4 { public: - ActorUnkSZRD_C4(Actor *param1); + ActorUnkSZRD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -92,7 +92,7 @@ class ActorProfileUnkSZRD : public ActorProfile_Derived1 { ActorProfileUnkSZRD(); ~ActorProfileUnkSZRD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkSZRD *GetProfile(); + static ActorProfileUnkSZRD* GetProfile(); }; diff --git a/include/Actor/ActorUnkTBRD.hpp b/include/Actor/ActorUnkTBRD.hpp index b69cf447b..43a99cbe9 100644 --- a/include/Actor/ActorUnkTBRD.hpp +++ b/include/Actor/ActorUnkTBRD.hpp @@ -9,7 +9,7 @@ class ActorUnkTBRD_C4 : public Actor_C4 { public: - ActorUnkTBRD_C4(Actor *param1); + ActorUnkTBRD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -78,7 +78,7 @@ class ActorProfileUnkTBRD : public ActorProfile_Derived1 { ActorProfileUnkTBRD(); ~ActorProfileUnkTBRD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTBRD *GetProfile(); + static ActorProfileUnkTBRD* GetProfile(); }; diff --git a/include/Actor/ActorUnkTCAM.hpp b/include/Actor/ActorUnkTCAM.hpp index 157caa5a3..5ab90a595 100644 --- a/include/Actor/ActorUnkTCAM.hpp +++ b/include/Actor/ActorUnkTCAM.hpp @@ -9,7 +9,7 @@ class ActorUnkTCAM_C4 : public Actor_C4 { public: - ActorUnkTCAM_C4(Actor *param1); + ActorUnkTCAM_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkTCAM : public ActorProfile { ActorProfileUnkTCAM(); ~ActorProfileUnkTCAM(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTCAM *GetProfile(); + static ActorProfileUnkTCAM* GetProfile(); }; diff --git a/include/Actor/ActorUnkTCOW_WCAS.hpp b/include/Actor/ActorUnkTCOW_WCAS.hpp index 165ded5fa..f29d75968 100644 --- a/include/Actor/ActorUnkTCOW_WCAS.hpp +++ b/include/Actor/ActorUnkTCOW_WCAS.hpp @@ -11,7 +11,7 @@ class ActorUnkTCOW_C4 : public Actor_C4 { public: - ActorUnkTCOW_C4(Actor *param1); + ActorUnkTCOW_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkTCOW : public ActorProfile_Derived1 { ActorProfileUnkTCOW(); ~ActorProfileUnkTCOW(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTCOW *GetProfile(); + static ActorProfileUnkTCOW* GetProfile(); }; // --- Actor WCAS --- class ActorUnkWCAS_C4 : public Actor_C4 { public: - ActorUnkWCAS_C4(Actor *param1); + ActorUnkWCAS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,7 +70,7 @@ class ActorProfileUnkWCAS : public ActorProfile_Derived1 { ActorProfileUnkWCAS(); ~ActorProfileUnkWCAS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWCAS *GetProfile(); + static ActorProfileUnkWCAS* GetProfile(); }; diff --git a/include/Actor/ActorUnkTDKT.hpp b/include/Actor/ActorUnkTDKT.hpp index c4949f5fb..4cf0d42b0 100644 --- a/include/Actor/ActorUnkTDKT.hpp +++ b/include/Actor/ActorUnkTDKT.hpp @@ -9,7 +9,7 @@ class ActorUnkTDKT_C4 : public Actor_C4 { public: - ActorUnkTDKT_C4(Actor *param1); + ActorUnkTDKT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -47,7 +47,7 @@ class ActorProfileUnkTDKT : public ActorProfile { ActorProfileUnkTDKT(); ~ActorProfileUnkTDKT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTDKT *GetProfile(); + static ActorProfileUnkTDKT* GetProfile(); }; diff --git a/include/Actor/ActorUnkTEHT.hpp b/include/Actor/ActorUnkTEHT.hpp index c433b473c..b5a48641d 100644 --- a/include/Actor/ActorUnkTEHT.hpp +++ b/include/Actor/ActorUnkTEHT.hpp @@ -9,7 +9,7 @@ class ActorUnkTEHT_C4 : public Actor_C4 { public: - ActorUnkTEHT_C4(Actor *param1); + ActorUnkTEHT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkTEHT : public ActorProfile { ActorProfileUnkTEHT(); ~ActorProfileUnkTEHT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTEHT *GetProfile(); + static ActorProfileUnkTEHT* GetProfile(); }; diff --git a/include/Actor/ActorUnkTERY.hpp b/include/Actor/ActorUnkTERY.hpp index e41a9d36f..921c3aa13 100644 --- a/include/Actor/ActorUnkTERY.hpp +++ b/include/Actor/ActorUnkTERY.hpp @@ -9,7 +9,7 @@ class ActorUnkTERY_C4 : public Actor_C4 { public: - ActorUnkTERY_C4(Actor *param1); + ActorUnkTERY_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -43,7 +43,7 @@ class ActorProfileUnkTERY : public ActorProfile_Derived1 { ActorProfileUnkTERY(); ~ActorProfileUnkTERY(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTERY *GetProfile(); + static ActorProfileUnkTERY* GetProfile(); }; diff --git a/include/Actor/ActorUnkTEVT.hpp b/include/Actor/ActorUnkTEVT.hpp index aeb8cc5a5..8809c33e6 100644 --- a/include/Actor/ActorUnkTEVT.hpp +++ b/include/Actor/ActorUnkTEVT.hpp @@ -9,7 +9,7 @@ class ActorUnkTEVT_C4 : public Actor_C4 { public: - ActorUnkTEVT_C4(Actor *param1); + ActorUnkTEVT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkTEVT : public ActorProfile { ActorProfileUnkTEVT(); ~ActorProfileUnkTEVT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTEVT *GetProfile(); + static ActorProfileUnkTEVT* GetProfile(); }; diff --git a/include/Actor/ActorUnkTFAT.hpp b/include/Actor/ActorUnkTFAT.hpp index 5900a9b90..124302f14 100644 --- a/include/Actor/ActorUnkTFAT.hpp +++ b/include/Actor/ActorUnkTFAT.hpp @@ -9,7 +9,7 @@ class ActorUnkTFAT_C4 : public Actor_C4 { public: - ActorUnkTFAT_C4(Actor *param1); + ActorUnkTFAT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -41,7 +41,7 @@ class ActorProfileUnkTFAT : public ActorProfile { ActorProfileUnkTFAT(); ~ActorProfileUnkTFAT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTFAT *GetProfile(); + static ActorProfileUnkTFAT* GetProfile(); }; diff --git a/include/Actor/ActorUnkTGTZ.hpp b/include/Actor/ActorUnkTGTZ.hpp index e8f9f9cce..b8d827142 100644 --- a/include/Actor/ActorUnkTGTZ.hpp +++ b/include/Actor/ActorUnkTGTZ.hpp @@ -11,7 +11,7 @@ class ActorUnkTGTZ_ModelRender : public ModelRender_Derived1 { /* 00 (base) */ /* 6C */ - ActorUnkTGTZ_ModelRender(G3d_Model *pModel, unk32 param2, void *param3) : + ActorUnkTGTZ_ModelRender(G3d_Model* pModel, unk32 param2, void* param3) : ModelRender_Derived1(pModel, param2, param3) {} }; @@ -26,12 +26,12 @@ class ActorUnkTGTZ : public Actor { /* 104 */ PAD(0x104, 0x190); #endif /* 190 */ MtxFx33 mUnk_190; - /* 1B4 */ ActorUnkNTTZ *mUnk_1B4; + /* 1B4 */ ActorUnkNTTZ* mUnk_1B4; /* 1B8 */ unk32 mUnk_1B8; /* 1BC */ unk32 mUnk_1BC; /* 1C0 */ Timer mUnk_1C0; /* 1CC */ fx32 mUnk_1C4; - /* 1C8 */ UnkStruct_ov019_020d24c8_28_258_00 *mUnk_1C8; + /* 1C8 */ UnkStruct_ov019_020d24c8_28_258_00* mUnk_1C8; /* 1CC */ unk32 mUnk_1CC; /* 1D0 */ Timer mUnk_1D0; /* 1D4 */ u16 mUnk_1D4; @@ -46,7 +46,7 @@ class ActorUnkTGTZ : public Actor { /* 20 */ virtual void Update() override; /* 24 */ virtual void vfunc_24() override; /* 30 */ virtual void vfunc_2C(unk32 param1) override; - /* 34 */ virtual void vfunc_30(Actor_vfunc_30 *param1) override; + /* 34 */ virtual void vfunc_30(Actor_vfunc_30* param1) override; void func_ov031_020f6f20(unk32 param1); void func_ov031_020f7358(); @@ -54,7 +54,7 @@ class ActorUnkTGTZ : public Actor { void func_ov031_020f73f0(); static void func_ov031_020f6e5c(RefStruct param1); - static void func_ov031_020f6ea8(RefStruct *param0, u16 param1, const VecFx32 *param2, s16 param3, u16 param4); + static void func_ov031_020f6ea8(RefStruct* param0, u16 param1, const VecFx32* param2, s16 param3, u16 param4); }; class ActorProfileUnkTGTZ : public ActorProfile_Derived1 { @@ -63,7 +63,7 @@ class ActorProfileUnkTGTZ : public ActorProfile_Derived1 { ActorProfileUnkTGTZ(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTGTZ *GetProfile(); + static ActorProfileUnkTGTZ* GetProfile(); }; diff --git a/include/Actor/ActorUnkTHER.hpp b/include/Actor/ActorUnkTHER.hpp index 5d2b29522..eed893b10 100644 --- a/include/Actor/ActorUnkTHER.hpp +++ b/include/Actor/ActorUnkTHER.hpp @@ -9,7 +9,7 @@ class ActorUnkTHER_C4 : public Actor_C4 { public: - ActorUnkTHER_C4(Actor *param1); + ActorUnkTHER_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkTHER : public ActorProfile { ActorProfileUnkTHER(); ~ActorProfileUnkTHER(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTHER *GetProfile(); + static ActorProfileUnkTHER* GetProfile(); }; diff --git a/include/Actor/ActorUnkTKYT.hpp b/include/Actor/ActorUnkTKYT.hpp index 897c75e84..5ff97bc16 100644 --- a/include/Actor/ActorUnkTKYT.hpp +++ b/include/Actor/ActorUnkTKYT.hpp @@ -9,7 +9,7 @@ class ActorUnkTKYT_C4 : public Actor_C4 { public: - ActorUnkTKYT_C4(Actor *param1); + ActorUnkTKYT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -42,7 +42,7 @@ class ActorProfileUnkTKYT : public ActorProfile { ActorProfileUnkTKYT(); ~ActorProfileUnkTKYT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTKYT *GetProfile(); + static ActorProfileUnkTKYT* GetProfile(); }; diff --git a/include/Actor/ActorUnkTLKT.hpp b/include/Actor/ActorUnkTLKT.hpp index 4fd907855..4e31a58bc 100644 --- a/include/Actor/ActorUnkTLKT.hpp +++ b/include/Actor/ActorUnkTLKT.hpp @@ -33,7 +33,7 @@ class ActorUnkTLKTnCLLT_Base : public Actor { /* 5C */ virtual void vfunc_5C(); /* 60 */ virtual void vfunc_60(ActorState state); - Actor *func_ov031_020e3df8(); + Actor* func_ov031_020e3df8(); void func_ov031_020e3e6c(); }; @@ -80,7 +80,7 @@ class ActorProfileUnkTLKT : public ActorProfile { ActorProfileUnkTLKT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTLKT *GetProfile(); + static ActorProfileUnkTLKT* GetProfile(); }; diff --git a/include/Actor/ActorUnkTMNA.hpp b/include/Actor/ActorUnkTMNA.hpp index 4d9d23844..edfad7419 100644 --- a/include/Actor/ActorUnkTMNA.hpp +++ b/include/Actor/ActorUnkTMNA.hpp @@ -9,7 +9,7 @@ class ActorUnkTMNA_C4 : public Actor_C4 { public: - ActorUnkTMNA_C4(Actor *param1); + ActorUnkTMNA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -44,7 +44,7 @@ class ActorProfileUnkTMNA : public ActorProfile_Derived1 { ActorProfileUnkTMNA(); ~ActorProfileUnkTMNA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTMNA *GetProfile(); + static ActorProfileUnkTMNA* GetProfile(); }; diff --git a/include/Actor/ActorUnkTMNC.hpp b/include/Actor/ActorUnkTMNC.hpp index 531836324..d590326f7 100644 --- a/include/Actor/ActorUnkTMNC.hpp +++ b/include/Actor/ActorUnkTMNC.hpp @@ -9,7 +9,7 @@ class ActorUnkTMNC_C4 : public Actor_C4 { public: - ActorUnkTMNC_C4(Actor *param1); + ActorUnkTMNC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkTMNC : public ActorProfile_Derived1 { ActorProfileUnkTMNC(); ~ActorProfileUnkTMNC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTMNC *GetProfile(); + static ActorProfileUnkTMNC* GetProfile(); }; diff --git a/include/Actor/ActorUnkTMNP.hpp b/include/Actor/ActorUnkTMNP.hpp index ce19778f2..79e62ab9e 100644 --- a/include/Actor/ActorUnkTMNP.hpp +++ b/include/Actor/ActorUnkTMNP.hpp @@ -9,7 +9,7 @@ class ActorUnkTMNP_C4 : public Actor_C4 { public: - ActorUnkTMNP_C4(Actor *param1); + ActorUnkTMNP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -42,7 +42,7 @@ class ActorProfileUnkTMNP : public ActorProfile_Derived1 { ActorProfileUnkTMNP(); ~ActorProfileUnkTMNP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTMNP *GetProfile(); + static ActorProfileUnkTMNP* GetProfile(); }; diff --git a/include/Actor/ActorUnkTPDO.hpp b/include/Actor/ActorUnkTPDO.hpp index 6b8354399..886c5f78b 100644 --- a/include/Actor/ActorUnkTPDO.hpp +++ b/include/Actor/ActorUnkTPDO.hpp @@ -9,7 +9,7 @@ class ActorUnkTPDO_C4 : public Actor_C4 { public: - ActorUnkTPDO_C4(Actor *param1); + ActorUnkTPDO_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -47,7 +47,7 @@ class ActorProfileUnkTPDO : public ActorProfile_Derived1 { ActorProfileUnkTPDO(); ~ActorProfileUnkTPDO(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTPDO *GetProfile(); + static ActorProfileUnkTPDO* GetProfile(); }; diff --git a/include/Actor/ActorUnkTRAP.hpp b/include/Actor/ActorUnkTRAP.hpp index 06ebf5d55..2bd2c1678 100644 --- a/include/Actor/ActorUnkTRAP.hpp +++ b/include/Actor/ActorUnkTRAP.hpp @@ -9,7 +9,7 @@ class ActorUnkTRAP_C4 : public Actor_C4 { public: - ActorUnkTRAP_C4(Actor *param1); + ActorUnkTRAP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -64,7 +64,7 @@ class ActorProfileUnkTRAP : public ActorProfile_Derived1 { ActorProfileUnkTRAP(); ~ActorProfileUnkTRAP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTRAP *GetProfile(); + static ActorProfileUnkTRAP* GetProfile(); }; diff --git a/include/Actor/ActorUnkTRBC.hpp b/include/Actor/ActorUnkTRBC.hpp index 58f48f895..ca1449fc5 100644 --- a/include/Actor/ActorUnkTRBC.hpp +++ b/include/Actor/ActorUnkTRBC.hpp @@ -9,7 +9,7 @@ class ActorUnkTRBC_C4 : public Actor_C4 { public: - ActorUnkTRBC_C4(Actor *param1); + ActorUnkTRBC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -45,7 +45,7 @@ class ActorProfileUnkTRBC : public ActorProfile_Derived1 { ActorProfileUnkTRBC(); ~ActorProfileUnkTRBC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTRBC *GetProfile(); + static ActorProfileUnkTRBC* GetProfile(); }; diff --git a/include/Actor/ActorUnkTRCB.hpp b/include/Actor/ActorUnkTRCB.hpp index c08907bdc..5246cce39 100644 --- a/include/Actor/ActorUnkTRCB.hpp +++ b/include/Actor/ActorUnkTRCB.hpp @@ -9,7 +9,7 @@ class ActorUnkTRCB_C4 : public Actor_C4 { public: - ActorUnkTRCB_C4(Actor *param1); + ActorUnkTRCB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -51,7 +51,7 @@ class ActorProfileUnkTRCB : public ActorProfile { ActorProfileUnkTRCB(); ~ActorProfileUnkTRCB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTRCB *GetProfile(); + static ActorProfileUnkTRCB* GetProfile(); }; diff --git a/include/Actor/ActorUnkTRER.hpp b/include/Actor/ActorUnkTRER.hpp index 4c9eb9261..64afb5457 100644 --- a/include/Actor/ActorUnkTRER.hpp +++ b/include/Actor/ActorUnkTRER.hpp @@ -9,7 +9,7 @@ class ActorUnkTRER_C4 : public Actor_C4 { public: - ActorUnkTRER_C4(Actor *param1); + ActorUnkTRER_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkTRER : public ActorProfile_Derived1 { ActorProfileUnkTRER(); ~ActorProfileUnkTRER(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTRER *GetProfile(); + static ActorProfileUnkTRER* GetProfile(); }; diff --git a/include/Actor/ActorUnkTRIC.hpp b/include/Actor/ActorUnkTRIC.hpp index 7d5ae8160..ae6512de1 100644 --- a/include/Actor/ActorUnkTRIC.hpp +++ b/include/Actor/ActorUnkTRIC.hpp @@ -9,7 +9,7 @@ class ActorUnkTRIC_C4 : public Actor_C4 { public: - ActorUnkTRIC_C4(Actor *param1); + ActorUnkTRIC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -55,7 +55,7 @@ class ActorProfileUnkTRIC : public ActorProfile_Derived1 { ActorProfileUnkTRIC(); ~ActorProfileUnkTRIC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTRIC *GetProfile(); + static ActorProfileUnkTRIC* GetProfile(); }; diff --git a/include/Actor/ActorUnkTRLY.hpp b/include/Actor/ActorUnkTRLY.hpp index 24ec9ea21..d4aa4414d 100644 --- a/include/Actor/ActorUnkTRLY.hpp +++ b/include/Actor/ActorUnkTRLY.hpp @@ -9,7 +9,7 @@ class ActorUnkTRLY_C4 : public Actor_C4 { public: - ActorUnkTRLY_C4(Actor *param1); + ActorUnkTRLY_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -92,7 +92,7 @@ class ActorProfileUnkTRLY : public ActorProfile_Derived1 { ActorProfileUnkTRLY(); ~ActorProfileUnkTRLY(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTRLY *GetProfile(); + static ActorProfileUnkTRLY* GetProfile(); }; diff --git a/include/Actor/ActorUnkTRRL.hpp b/include/Actor/ActorUnkTRRL.hpp index 7419c7ff3..dc79148c7 100644 --- a/include/Actor/ActorUnkTRRL.hpp +++ b/include/Actor/ActorUnkTRRL.hpp @@ -9,7 +9,7 @@ class ActorUnkTRRL_C4 : public Actor_C4 { public: - ActorUnkTRRL_C4(Actor *param1); + ActorUnkTRRL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -81,7 +81,7 @@ class ActorProfileUnkTRRL : public ActorProfile_Derived1 { ActorProfileUnkTRRL(); ~ActorProfileUnkTRRL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTRRL *GetProfile(); + static ActorProfileUnkTRRL* GetProfile(); }; diff --git a/include/Actor/ActorUnkTRSG.hpp b/include/Actor/ActorUnkTRSG.hpp index d10896041..26146ea50 100644 --- a/include/Actor/ActorUnkTRSG.hpp +++ b/include/Actor/ActorUnkTRSG.hpp @@ -9,7 +9,7 @@ class ActorUnkTRSG_C4 : public Actor_C4 { public: - ActorUnkTRSG_C4(Actor *param1); + ActorUnkTRSG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkTRSG : public ActorProfile { ActorProfileUnkTRSG(); ~ActorProfileUnkTRSG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTRSG *GetProfile(); + static ActorProfileUnkTRSG* GetProfile(); }; diff --git a/include/Actor/ActorUnkTRSP.hpp b/include/Actor/ActorUnkTRSP.hpp index d88fdce90..84f7de93b 100644 --- a/include/Actor/ActorUnkTRSP.hpp +++ b/include/Actor/ActorUnkTRSP.hpp @@ -9,7 +9,7 @@ class ActorUnkTRSP_C4 : public Actor_C4 { public: - ActorUnkTRSP_C4(Actor *param1); + ActorUnkTRSP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -74,7 +74,7 @@ class ActorProfileUnkTRSP : public ActorProfile_Derived1 { ActorProfileUnkTRSP(); ~ActorProfileUnkTRSP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTRSP *GetProfile(); + static ActorProfileUnkTRSP* GetProfile(); }; diff --git a/include/Actor/ActorUnkTRTT.hpp b/include/Actor/ActorUnkTRTT.hpp index 2a271cc1b..bd2c6c013 100644 --- a/include/Actor/ActorUnkTRTT.hpp +++ b/include/Actor/ActorUnkTRTT.hpp @@ -9,7 +9,7 @@ class ActorUnkTRTT_C4 : public Actor_C4 { public: - ActorUnkTRTT_C4(Actor *param1); + ActorUnkTRTT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -80,7 +80,7 @@ class ActorProfileUnkTRTT : public ActorProfile_Derived1 { ActorProfileUnkTRTT(); ~ActorProfileUnkTRTT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTRTT *GetProfile(); + static ActorProfileUnkTRTT* GetProfile(); }; diff --git a/include/Actor/ActorUnkTRUP.hpp b/include/Actor/ActorUnkTRUP.hpp index de0c05c8f..a85540248 100644 --- a/include/Actor/ActorUnkTRUP.hpp +++ b/include/Actor/ActorUnkTRUP.hpp @@ -9,7 +9,7 @@ class ActorUnkTRUP_C4 : public Actor_C4 { public: - ActorUnkTRUP_C4(Actor *param1); + ActorUnkTRUP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkTRUP : public ActorProfile { ActorProfileUnkTRUP(); ~ActorProfileUnkTRUP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTRUP *GetProfile(); + static ActorProfileUnkTRUP* GetProfile(); }; diff --git a/include/Actor/ActorUnkTSCN.hpp b/include/Actor/ActorUnkTSCN.hpp index 6f2377887..1724de15f 100644 --- a/include/Actor/ActorUnkTSCN.hpp +++ b/include/Actor/ActorUnkTSCN.hpp @@ -9,7 +9,7 @@ class ActorUnkTSCN_C4 : public Actor_C4 { public: - ActorUnkTSCN_C4(Actor *param1); + ActorUnkTSCN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -37,7 +37,7 @@ class ActorProfileUnkTSCN : public ActorProfile { ActorProfileUnkTSCN(); ~ActorProfileUnkTSCN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTSCN *GetProfile(); + static ActorProfileUnkTSCN* GetProfile(); }; diff --git a/include/Actor/ActorUnkTSLB.hpp b/include/Actor/ActorUnkTSLB.hpp index af887c584..e70e07eff 100644 --- a/include/Actor/ActorUnkTSLB.hpp +++ b/include/Actor/ActorUnkTSLB.hpp @@ -9,7 +9,7 @@ class ActorUnkTSLB_C4 : public Actor_C4 { public: - ActorUnkTSLB_C4(Actor *param1); + ActorUnkTSLB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -53,7 +53,7 @@ class ActorProfileUnkTSLB : public ActorProfile_Derived1 { ActorProfileUnkTSLB(); ~ActorProfileUnkTSLB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTSLB *GetProfile(); + static ActorProfileUnkTSLB* GetProfile(); }; diff --git a/include/Actor/ActorUnkTSMT.hpp b/include/Actor/ActorUnkTSMT.hpp index 159e3243e..51071ec08 100644 --- a/include/Actor/ActorUnkTSMT.hpp +++ b/include/Actor/ActorUnkTSMT.hpp @@ -9,7 +9,7 @@ class ActorUnkTSMT_C4 : public Actor_C4 { public: - ActorUnkTSMT_C4(Actor *param1); + ActorUnkTSMT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkTSMT : public ActorProfile { ActorProfileUnkTSMT(); ~ActorProfileUnkTSMT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTSMT *GetProfile(); + static ActorProfileUnkTSMT* GetProfile(); }; diff --git a/include/Actor/ActorUnkTTET.hpp b/include/Actor/ActorUnkTTET.hpp index adebdbed2..1549d2994 100644 --- a/include/Actor/ActorUnkTTET.hpp +++ b/include/Actor/ActorUnkTTET.hpp @@ -9,7 +9,7 @@ class ActorUnkTTET_C4 : public Actor_C4 { public: - ActorUnkTTET_C4(Actor *param1); + ActorUnkTTET_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -44,7 +44,7 @@ class ActorProfileUnkTTET : public ActorProfile { ActorProfileUnkTTET(); ~ActorProfileUnkTTET(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTTET *GetProfile(); + static ActorProfileUnkTTET* GetProfile(); }; diff --git a/include/Actor/ActorUnkTTFT.hpp b/include/Actor/ActorUnkTTFT.hpp index 2ecbe2bb5..5ba9af755 100644 --- a/include/Actor/ActorUnkTTFT.hpp +++ b/include/Actor/ActorUnkTTFT.hpp @@ -9,7 +9,7 @@ class ActorUnkTTFT_C4 : public Actor_C4 { public: - ActorUnkTTFT_C4(Actor *param1); + ActorUnkTTFT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkTTFT : public ActorProfile { ActorProfileUnkTTFT(); ~ActorProfileUnkTTFT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTTFT *GetProfile(); + static ActorProfileUnkTTFT* GetProfile(); }; diff --git a/include/Actor/ActorUnkTTKB.hpp b/include/Actor/ActorUnkTTKB.hpp index 03439e3c4..1acdde173 100644 --- a/include/Actor/ActorUnkTTKB.hpp +++ b/include/Actor/ActorUnkTTKB.hpp @@ -9,7 +9,7 @@ class ActorUnkTTKB_C4 : public Actor_C4 { public: - ActorUnkTTKB_C4(Actor *param1); + ActorUnkTTKB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -121,7 +121,7 @@ class ActorProfileUnkTTKB : public ActorProfile_Derived1 { ActorProfileUnkTTKB(); ~ActorProfileUnkTTKB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTTKB *GetProfile(); + static ActorProfileUnkTTKB* GetProfile(); }; diff --git a/include/Actor/ActorUnkTTUT.hpp b/include/Actor/ActorUnkTTUT.hpp index 4daef67ed..73f0d0da9 100644 --- a/include/Actor/ActorUnkTTUT.hpp +++ b/include/Actor/ActorUnkTTUT.hpp @@ -9,7 +9,7 @@ class ActorUnkTTUT_C4 : public Actor_C4 { public: - ActorUnkTTUT_C4(Actor *param1); + ActorUnkTTUT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkTTUT : public ActorProfile { ActorProfileUnkTTUT(); ~ActorProfileUnkTTUT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTTUT *GetProfile(); + static ActorProfileUnkTTUT* GetProfile(); }; diff --git a/include/Actor/ActorUnkTUTO.hpp b/include/Actor/ActorUnkTUTO.hpp index b561ae737..00cd66c6a 100644 --- a/include/Actor/ActorUnkTUTO.hpp +++ b/include/Actor/ActorUnkTUTO.hpp @@ -9,7 +9,7 @@ class ActorUnkTUTO_C4 : public Actor_C4 { public: - ActorUnkTUTO_C4(Actor *param1); + ActorUnkTUTO_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -68,7 +68,7 @@ class ActorProfileUnkTUTO : public ActorProfile { ActorProfileUnkTUTO(); ~ActorProfileUnkTUTO(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTUTO *GetProfile(); + static ActorProfileUnkTUTO* GetProfile(); }; diff --git a/include/Actor/ActorUnkTVLR.hpp b/include/Actor/ActorUnkTVLR.hpp index 9b84dc7b2..c93603c47 100644 --- a/include/Actor/ActorUnkTVLR.hpp +++ b/include/Actor/ActorUnkTVLR.hpp @@ -9,7 +9,7 @@ class ActorUnkTVLR_C4 : public Actor_C4 { public: - ActorUnkTVLR_C4(Actor *param1); + ActorUnkTVLR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -49,7 +49,7 @@ class ActorProfileUnkTVLR : public ActorProfile_Derived1 { ActorProfileUnkTVLR(); ~ActorProfileUnkTVLR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkTVLR *GetProfile(); + static ActorProfileUnkTVLR* GetProfile(); }; diff --git a/include/Actor/ActorUnkVCCH.hpp b/include/Actor/ActorUnkVCCH.hpp index 15ca8d299..1a19457e1 100644 --- a/include/Actor/ActorUnkVCCH.hpp +++ b/include/Actor/ActorUnkVCCH.hpp @@ -10,7 +10,7 @@ class ActorUnkVCCH_C4 : public Actor_C4 { public: - ActorUnkVCCH_C4(Actor *param1); + ActorUnkVCCH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -60,7 +60,7 @@ class ActorProfileUnkVCCH : public ActorProfile_Derived1 { ActorProfileUnkVCCH(); ~ActorProfileUnkVCCH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkVCCH *GetProfile(); + static ActorProfileUnkVCCH* GetProfile(); }; diff --git a/include/Actor/ActorUnkVCFT.hpp b/include/Actor/ActorUnkVCFT.hpp index 9118c5aad..ab969bb0f 100644 --- a/include/Actor/ActorUnkVCFT.hpp +++ b/include/Actor/ActorUnkVCFT.hpp @@ -22,7 +22,7 @@ class ActorUnkVCFT_2BC : public UnkStruct_ov000_020b31a8 { /* 3C */ ActorUnkVCFT_2BC_3C mUnk_3C; /* 6C */ - ActorUnkVCFT_2BC(ModelRender_ov000_020b4d64 *param1, UnkActorFileSystem2 *param2) : + ActorUnkVCFT_2BC(ModelRender_ov000_020b4d64* param1, UnkActorFileSystem2* param2) : UnkStruct_ov000_020b31a8(&this->mUnk_1C, param1, param2), mUnk_1C(&this->mUnk_3C, NULL) { if (param2 != NULL) { @@ -40,10 +40,10 @@ class ActorUnkVCFT_328_Base { public: /* 00 (vtable) */ /* 04 */ unk8 mUnk_04[0x2C]; - /* 30 */ UnkDataStruct5 *mUnk_30; + /* 30 */ UnkDataStruct5* mUnk_30; /* 34 */ - ActorUnkVCFT_328_Base(UnkDataStruct5 *param2); + ActorUnkVCFT_328_Base(UnkDataStruct5* param2); /* 00 */ virtual ~ActorUnkVCFT_328_Base(); /* 08 */ virtual bool vfunc_08(); @@ -59,7 +59,7 @@ class ActorUnkVCFT_328_Base { class ActorUnkVCFT_328 : public ActorUnkVCFT_328_Base { public: /* 00 (base) */ - /* 34 */ ActorUnkVCFT *mUnk_34; + /* 34 */ ActorUnkVCFT* mUnk_34; /* 38 */ u32 mUnk_38; /* 3C */ unk32 mUnk_3C; /* 40 */ bool mUnk_40; @@ -77,14 +77,14 @@ class ActorUnkVCFT_328 : public ActorUnkVCFT_328_Base { this->UnknownAction1(true, true, param2); } - ActorUnkVCFT_328(ActorUnkVCFT *pActor); + ActorUnkVCFT_328(ActorUnkVCFT* pActor); // data_ov066_0215ffb0 /* 00 */ virtual ~ActorUnkVCFT_328() override; /* 08 */ virtual bool vfunc_08() override; void func_ov066_02158eb4(void); - void func_ov066_0215ac68(UnkDataStruct5 *param1); + void func_ov066_0215ac68(UnkDataStruct5* param1); unk32 func_ov089_02165a34(); }; @@ -153,7 +153,7 @@ class ActorProfileUnkVCFT : public ActorProfile_Derived1 { ActorProfileUnkVCFT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkVCFT *GetProfile(); + static ActorProfileUnkVCFT* GetProfile(); }; diff --git a/include/Actor/ActorUnkVLCR.hpp b/include/Actor/ActorUnkVLCR.hpp index a11cbdacd..2fe5128b4 100644 --- a/include/Actor/ActorUnkVLCR.hpp +++ b/include/Actor/ActorUnkVLCR.hpp @@ -9,7 +9,7 @@ class ActorUnkVLCR_C4 : public Actor_C4 { public: - ActorUnkVLCR_C4(Actor *param1); + ActorUnkVLCR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -48,7 +48,7 @@ class ActorProfileUnkVLCR : public ActorProfile_Derived1 { ActorProfileUnkVLCR(); ~ActorProfileUnkVLCR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkVLCR *GetProfile(); + static ActorProfileUnkVLCR* GetProfile(); }; diff --git a/include/Actor/ActorUnkVOLV.hpp b/include/Actor/ActorUnkVOLV.hpp index cb473e56a..f9cf3bcc6 100644 --- a/include/Actor/ActorUnkVOLV.hpp +++ b/include/Actor/ActorUnkVOLV.hpp @@ -9,7 +9,7 @@ class ActorUnkVOLV_C4 : public Actor_C4 { public: - ActorUnkVOLV_C4(Actor *param1); + ActorUnkVOLV_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -39,7 +39,7 @@ class ActorProfileUnkVOLV : public ActorProfile_Derived1 { ActorProfileUnkVOLV(); ~ActorProfileUnkVOLV(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkVOLV *GetProfile(); + static ActorProfileUnkVOLV* GetProfile(); }; diff --git a/include/Actor/ActorUnkVRGN.hpp b/include/Actor/ActorUnkVRGN.hpp index 9d32e1c20..b8a8d1f70 100644 --- a/include/Actor/ActorUnkVRGN.hpp +++ b/include/Actor/ActorUnkVRGN.hpp @@ -9,7 +9,7 @@ class ActorUnkVRGN_C4 : public Actor_C4 { public: - ActorUnkVRGN_C4(Actor *param1); + ActorUnkVRGN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkVRGN : public ActorProfile { ActorProfileUnkVRGN(); ~ActorProfileUnkVRGN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkVRGN *GetProfile(); + static ActorProfileUnkVRGN* GetProfile(); }; diff --git a/include/Actor/ActorUnkWAWA_WAWC.hpp b/include/Actor/ActorUnkWAWA_WAWC.hpp index 402a15dc9..59d38c16d 100644 --- a/include/Actor/ActorUnkWAWA_WAWC.hpp +++ b/include/Actor/ActorUnkWAWA_WAWC.hpp @@ -11,7 +11,7 @@ class ActorUnkWAWA_C4 : public Actor_C4 { public: - ActorUnkWAWA_C4(Actor *param1); + ActorUnkWAWA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkWAWA : public ActorProfile_Derived1 { ActorProfileUnkWAWA(); ~ActorProfileUnkWAWA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWAWA *GetProfile(); + static ActorProfileUnkWAWA* GetProfile(); }; // --- Actor WAWC --- class ActorUnkWAWC_C4 : public Actor_C4 { public: - ActorUnkWAWC_C4(Actor *param1); + ActorUnkWAWC_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,7 +70,7 @@ class ActorProfileUnkWAWC : public ActorProfile_Derived1 { ActorProfileUnkWAWC(); ~ActorProfileUnkWAWC(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWAWC *GetProfile(); + static ActorProfileUnkWAWC* GetProfile(); }; diff --git a/include/Actor/ActorUnkWAWB_WAWS.hpp b/include/Actor/ActorUnkWAWB_WAWS.hpp index 8b0d90242..b86c30b8b 100644 --- a/include/Actor/ActorUnkWAWB_WAWS.hpp +++ b/include/Actor/ActorUnkWAWB_WAWS.hpp @@ -11,7 +11,7 @@ class ActorUnkWAWB_C4 : public Actor_C4 { public: - ActorUnkWAWB_C4(Actor *param1); + ActorUnkWAWB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkWAWB : public ActorProfile_Derived1 { ActorProfileUnkWAWB(); ~ActorProfileUnkWAWB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWAWB *GetProfile(); + static ActorProfileUnkWAWB* GetProfile(); }; // --- Actor WAWS --- class ActorUnkWAWS_C4 : public Actor_C4 { public: - ActorUnkWAWS_C4(Actor *param1); + ActorUnkWAWS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,7 +70,7 @@ class ActorProfileUnkWAWS : public ActorProfile_Derived1 { ActorProfileUnkWAWS(); ~ActorProfileUnkWAWS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWAWS *GetProfile(); + static ActorProfileUnkWAWS* GetProfile(); }; diff --git a/include/Actor/ActorUnkWAWY.hpp b/include/Actor/ActorUnkWAWY.hpp index ad500f830..cb5379817 100644 --- a/include/Actor/ActorUnkWAWY.hpp +++ b/include/Actor/ActorUnkWAWY.hpp @@ -9,7 +9,7 @@ class ActorUnkWAWY_C4 : public Actor_C4 { public: - ActorUnkWAWY_C4(Actor *param1); + ActorUnkWAWY_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkWAWY : public ActorProfile_Derived1 { ActorProfileUnkWAWY(); ~ActorProfileUnkWAWY(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWAWY *GetProfile(); + static ActorProfileUnkWAWY* GetProfile(); }; diff --git a/include/Actor/ActorUnkWBEF.hpp b/include/Actor/ActorUnkWBEF.hpp index a4ab2f8cf..9910a36a8 100644 --- a/include/Actor/ActorUnkWBEF.hpp +++ b/include/Actor/ActorUnkWBEF.hpp @@ -9,7 +9,7 @@ class ActorUnkWBEF_C4 : public Actor_C4 { public: - ActorUnkWBEF_C4(Actor *param1); + ActorUnkWBEF_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -49,7 +49,7 @@ class ActorProfileUnkWBEF : public ActorProfile_Derived1 { ActorProfileUnkWBEF(); ~ActorProfileUnkWBEF(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWBEF *GetProfile(); + static ActorProfileUnkWBEF* GetProfile(); }; diff --git a/include/Actor/ActorUnkWBN2.hpp b/include/Actor/ActorUnkWBN2.hpp index 81c80a5da..6506e4826 100644 --- a/include/Actor/ActorUnkWBN2.hpp +++ b/include/Actor/ActorUnkWBN2.hpp @@ -9,7 +9,7 @@ class ActorUnkWBN2_C4 : public Actor_C4 { public: - ActorUnkWBN2_C4(Actor *param1); + ActorUnkWBN2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -67,7 +67,7 @@ class ActorProfileUnkWBN2 : public ActorProfile { ActorProfileUnkWBN2(); ~ActorProfileUnkWBN2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWBN2 *GetProfile(); + static ActorProfileUnkWBN2* GetProfile(); }; diff --git a/include/Actor/ActorUnkWBPS.hpp b/include/Actor/ActorUnkWBPS.hpp index 5936f6c2d..99bf252af 100644 --- a/include/Actor/ActorUnkWBPS.hpp +++ b/include/Actor/ActorUnkWBPS.hpp @@ -9,7 +9,7 @@ class ActorUnkWBPS_C4 : public Actor_C4 { public: - ActorUnkWBPS_C4(Actor *param1); + ActorUnkWBPS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -47,7 +47,7 @@ class ActorProfileUnkWBPS : public ActorProfile_Derived1 { ActorProfileUnkWBPS(); ~ActorProfileUnkWBPS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWBPS *GetProfile(); + static ActorProfileUnkWBPS* GetProfile(); }; diff --git a/include/Actor/ActorUnkWBTN.hpp b/include/Actor/ActorUnkWBTN.hpp index 9b7e48cd1..d6c3a2c86 100644 --- a/include/Actor/ActorUnkWBTN.hpp +++ b/include/Actor/ActorUnkWBTN.hpp @@ -9,7 +9,7 @@ class ActorUnkWBTN_C4 : public Actor_C4 { public: - ActorUnkWBTN_C4(Actor *param1); + ActorUnkWBTN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -73,7 +73,7 @@ class ActorProfileUnkWBTN : public ActorProfile_Derived1 { ActorProfileUnkWBTN(); ~ActorProfileUnkWBTN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWBTN *GetProfile(); + static ActorProfileUnkWBTN* GetProfile(); }; diff --git a/include/Actor/ActorUnkWDBA.hpp b/include/Actor/ActorUnkWDBA.hpp index 4d4e4459c..14f7ea386 100644 --- a/include/Actor/ActorUnkWDBA.hpp +++ b/include/Actor/ActorUnkWDBA.hpp @@ -9,7 +9,7 @@ class ActorUnkWDBA_C4 : public Actor_C4 { public: - ActorUnkWDBA_C4(Actor *param1); + ActorUnkWDBA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -97,7 +97,7 @@ class ActorProfileUnkWDBA : public ActorProfile_Derived1 { ActorProfileUnkWDBA(); ~ActorProfileUnkWDBA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWDBA *GetProfile(); + static ActorProfileUnkWDBA* GetProfile(); }; diff --git a/include/Actor/ActorUnkWDRD.hpp b/include/Actor/ActorUnkWDRD.hpp index 557469e37..bf2e8d4ba 100644 --- a/include/Actor/ActorUnkWDRD.hpp +++ b/include/Actor/ActorUnkWDRD.hpp @@ -9,7 +9,7 @@ class ActorUnkWDRD_C4 : public Actor_C4 { public: - ActorUnkWDRD_C4(Actor *param1); + ActorUnkWDRD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -67,7 +67,7 @@ class ActorProfileUnkWDRD : public ActorProfile_Derived1 { ActorProfileUnkWDRD(); ~ActorProfileUnkWDRD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWDRD *GetProfile(); + static ActorProfileUnkWDRD* GetProfile(); }; diff --git a/include/Actor/ActorUnkWHMA.hpp b/include/Actor/ActorUnkWHMA.hpp index 2364c040f..5707493a8 100644 --- a/include/Actor/ActorUnkWHMA.hpp +++ b/include/Actor/ActorUnkWHMA.hpp @@ -9,7 +9,7 @@ class ActorUnkWHMA_C4 : public Actor_C4 { public: - ActorUnkWHMA_C4(Actor *param1); + ActorUnkWHMA_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -103,7 +103,7 @@ class ActorProfileUnkWHMA : public ActorProfile_Derived1 { ActorProfileUnkWHMA(); ~ActorProfileUnkWHMA(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWHMA *GetProfile(); + static ActorProfileUnkWHMA* GetProfile(); }; diff --git a/include/Actor/ActorUnkWIDR.hpp b/include/Actor/ActorUnkWIDR.hpp index b92334ec5..454ce9a62 100644 --- a/include/Actor/ActorUnkWIDR.hpp +++ b/include/Actor/ActorUnkWIDR.hpp @@ -9,7 +9,7 @@ class ActorUnkWIDR_C4 : public Actor_C4 { public: - ActorUnkWIDR_C4(Actor *param1); + ActorUnkWIDR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -76,7 +76,7 @@ class ActorProfileUnkWIDR : public ActorProfile_Derived1 { ActorProfileUnkWIDR(); ~ActorProfileUnkWIDR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWIDR *GetProfile(); + static ActorProfileUnkWIDR* GetProfile(); }; diff --git a/include/Actor/ActorUnkWIDT.hpp b/include/Actor/ActorUnkWIDT.hpp index f163f8496..beb4d4cc0 100644 --- a/include/Actor/ActorUnkWIDT.hpp +++ b/include/Actor/ActorUnkWIDT.hpp @@ -9,7 +9,7 @@ class ActorUnkWIDT_C4 : public Actor_C4 { public: - ActorUnkWIDT_C4(Actor *param1); + ActorUnkWIDT_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -54,7 +54,7 @@ class ActorProfileUnkWIDT : public ActorProfile { ActorProfileUnkWIDT(); ~ActorProfileUnkWIDT(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWIDT *GetProfile(); + static ActorProfileUnkWIDT* GetProfile(); }; diff --git a/include/Actor/ActorUnkWKTR.hpp b/include/Actor/ActorUnkWKTR.hpp index d2f799fb1..aa43c79d4 100644 --- a/include/Actor/ActorUnkWKTR.hpp +++ b/include/Actor/ActorUnkWKTR.hpp @@ -9,7 +9,7 @@ class ActorUnkWKTR_C4 : public Actor_C4 { public: - ActorUnkWKTR_C4(Actor *param1); + ActorUnkWKTR_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -89,7 +89,7 @@ class ActorProfileUnkWKTR : public ActorProfile_Derived1 { ActorProfileUnkWKTR(); ~ActorProfileUnkWKTR(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWKTR *GetProfile(); + static ActorProfileUnkWKTR* GetProfile(); }; diff --git a/include/Actor/ActorUnkWPCH.hpp b/include/Actor/ActorUnkWPCH.hpp index 05c0cf750..1ef9fcf7a 100644 --- a/include/Actor/ActorUnkWPCH.hpp +++ b/include/Actor/ActorUnkWPCH.hpp @@ -9,7 +9,7 @@ class ActorUnkWPCH_C4 : public Actor_C4 { public: - ActorUnkWPCH_C4(Actor *param1); + ActorUnkWPCH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -42,7 +42,7 @@ class ActorProfileUnkWPCH : public ActorProfile { ActorProfileUnkWPCH(); ~ActorProfileUnkWPCH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWPCH *GetProfile(); + static ActorProfileUnkWPCH* GetProfile(); }; diff --git a/include/Actor/ActorUnkWPCL.hpp b/include/Actor/ActorUnkWPCL.hpp index 6077960cf..15d89ed7b 100644 --- a/include/Actor/ActorUnkWPCL.hpp +++ b/include/Actor/ActorUnkWPCL.hpp @@ -9,7 +9,7 @@ class ActorUnkWPCL_C4 : public Actor_C4 { public: - ActorUnkWPCL_C4(Actor *param1); + ActorUnkWPCL_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,7 +36,7 @@ class ActorProfileUnkWPCL : public ActorProfile { ActorProfileUnkWPCL(); ~ActorProfileUnkWPCL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWPCL *GetProfile(); + static ActorProfileUnkWPCL* GetProfile(); }; diff --git a/include/Actor/ActorUnkWTBS.hpp b/include/Actor/ActorUnkWTBS.hpp index e366c53f9..52fe36e29 100644 --- a/include/Actor/ActorUnkWTBS.hpp +++ b/include/Actor/ActorUnkWTBS.hpp @@ -9,7 +9,7 @@ class ActorUnkWTBS_C4 : public Actor_C4 { public: - ActorUnkWTBS_C4(Actor *param1); + ActorUnkWTBS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -134,7 +134,7 @@ class ActorProfileUnkWTBS : public ActorProfile_Derived1 { ActorProfileUnkWTBS(); ~ActorProfileUnkWTBS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWTBS *GetProfile(); + static ActorProfileUnkWTBS* GetProfile(); }; diff --git a/include/Actor/ActorUnkWTH2.hpp b/include/Actor/ActorUnkWTH2.hpp index 3786d841f..76fba0d4f 100644 --- a/include/Actor/ActorUnkWTH2.hpp +++ b/include/Actor/ActorUnkWTH2.hpp @@ -9,7 +9,7 @@ class ActorUnkWTH2_C4 : public Actor_C4 { public: - ActorUnkWTH2_C4(Actor *param1); + ActorUnkWTH2_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -62,7 +62,7 @@ class ActorProfileUnkWTH2 : public ActorProfile_Derived1 { ActorProfileUnkWTH2(); ~ActorProfileUnkWTH2(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWTH2 *GetProfile(); + static ActorProfileUnkWTH2* GetProfile(); }; diff --git a/include/Actor/ActorUnkWTH3.hpp b/include/Actor/ActorUnkWTH3.hpp index a409d120c..742a9772c 100644 --- a/include/Actor/ActorUnkWTH3.hpp +++ b/include/Actor/ActorUnkWTH3.hpp @@ -9,7 +9,7 @@ class ActorUnkWTH3_C4 : public Actor_C4 { public: - ActorUnkWTH3_C4(Actor *param1); + ActorUnkWTH3_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -62,7 +62,7 @@ class ActorProfileUnkWTH3 : public ActorProfile_Derived1 { ActorProfileUnkWTH3(); ~ActorProfileUnkWTH3(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWTH3 *GetProfile(); + static ActorProfileUnkWTH3* GetProfile(); }; diff --git a/include/Actor/ActorUnkWTTH.hpp b/include/Actor/ActorUnkWTTH.hpp index 2bc803f83..d544614ef 100644 --- a/include/Actor/ActorUnkWTTH.hpp +++ b/include/Actor/ActorUnkWTTH.hpp @@ -9,7 +9,7 @@ class ActorUnkWTTH_C4 : public Actor_C4 { public: - ActorUnkWTTH_C4(Actor *param1); + ActorUnkWTTH_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -74,7 +74,7 @@ class ActorProfileUnkWTTH : public ActorProfile_Derived1 { ActorProfileUnkWTTH(); ~ActorProfileUnkWTTH(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWTTH *GetProfile(); + static ActorProfileUnkWTTH* GetProfile(); }; diff --git a/include/Actor/ActorUnkWWFS.hpp b/include/Actor/ActorUnkWWFS.hpp index 7e8e5dbaa..482e2e4d6 100644 --- a/include/Actor/ActorUnkWWFS.hpp +++ b/include/Actor/ActorUnkWWFS.hpp @@ -9,7 +9,7 @@ class ActorUnkWWFS_C4 : public Actor_C4 { public: - ActorUnkWWFS_C4(Actor *param1); + ActorUnkWWFS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -96,7 +96,7 @@ class ActorProfileUnkWWFS : public ActorProfile_Derived1 { ActorProfileUnkWWFS(); ~ActorProfileUnkWWFS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkWWFS *GetProfile(); + static ActorProfileUnkWWFS* GetProfile(); }; diff --git a/include/Actor/ActorUnkYKAP_YKCP_YKEP.hpp b/include/Actor/ActorUnkYKAP_YKCP_YKEP.hpp index e64159346..81bc51537 100644 --- a/include/Actor/ActorUnkYKAP_YKCP_YKEP.hpp +++ b/include/Actor/ActorUnkYKAP_YKCP_YKEP.hpp @@ -11,7 +11,7 @@ class ActorUnkYKAP_C4 : public Actor_C4 { public: - ActorUnkYKAP_C4(Actor *param1); + ActorUnkYKAP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -36,16 +36,16 @@ class ActorProfileUnkYKAP : public ActorProfile_Derived1 { ActorProfileUnkYKAP(); ~ActorProfileUnkYKAP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkYKAP *GetProfile(); + static ActorProfileUnkYKAP* GetProfile(); }; // --- Actor YKCP --- class ActorUnkYKCP_C4 : public Actor_C4 { public: - ActorUnkYKCP_C4(Actor *param1); + ActorUnkYKCP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -70,16 +70,16 @@ class ActorProfileUnkYKCP : public ActorProfile_Derived1 { ActorProfileUnkYKCP(); ~ActorProfileUnkYKCP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkYKCP *GetProfile(); + static ActorProfileUnkYKCP* GetProfile(); }; // --- Actor YKEP --- class ActorUnkYKEP_C4 : public Actor_C4 { public: - ActorUnkYKEP_C4(Actor *param1); + ActorUnkYKEP_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -104,7 +104,7 @@ class ActorProfileUnkYKEP : public ActorProfile_Derived1 { ActorProfileUnkYKEP(); ~ActorProfileUnkYKEP(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkYKEP *GetProfile(); + static ActorProfileUnkYKEP* GetProfile(); }; diff --git a/include/Actor/ActorUnkYUKI.hpp b/include/Actor/ActorUnkYUKI.hpp index 13162ca0e..874aa19cb 100644 --- a/include/Actor/ActorUnkYUKI.hpp +++ b/include/Actor/ActorUnkYUKI.hpp @@ -9,7 +9,7 @@ class ActorUnkYUKI_C4 : public Actor_C4 { public: - ActorUnkYUKI_C4(Actor *param1); + ActorUnkYUKI_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -62,7 +62,7 @@ class ActorProfileUnkYUKI : public ActorProfile_Derived1 { ActorProfileUnkYUKI(); ~ActorProfileUnkYUKI(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkYUKI *GetProfile(); + static ActorProfileUnkYUKI* GetProfile(); }; diff --git a/include/Actor/ActorUnkYUKY.hpp b/include/Actor/ActorUnkYUKY.hpp index e885f8747..09ec3f87b 100644 --- a/include/Actor/ActorUnkYUKY.hpp +++ b/include/Actor/ActorUnkYUKY.hpp @@ -9,7 +9,7 @@ class ActorUnkYUKY_C4 : public Actor_C4 { public: - ActorUnkYUKY_C4(Actor *param1); + ActorUnkYUKY_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -38,7 +38,7 @@ class ActorProfileUnkYUKY : public ActorProfile_Derived1 { ActorProfileUnkYUKY(); ~ActorProfileUnkYUKY(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkYUKY *GetProfile(); + static ActorProfileUnkYUKY* GetProfile(); }; diff --git a/include/Actor/ActorUnkYWIS.hpp b/include/Actor/ActorUnkYWIS.hpp index f7352cd77..79ac3553c 100644 --- a/include/Actor/ActorUnkYWIS.hpp +++ b/include/Actor/ActorUnkYWIS.hpp @@ -9,7 +9,7 @@ class ActorUnkYWIS_C4 : public Actor_C4 { public: - ActorUnkYWIS_C4(Actor *param1); + ActorUnkYWIS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -40,7 +40,7 @@ class ActorProfileUnkYWIS : public ActorProfile { ActorProfileUnkYWIS(); ~ActorProfileUnkYWIS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkYWIS *GetProfile(); + static ActorProfileUnkYWIS* GetProfile(); }; diff --git a/include/Actor/ActorUnkZELD.hpp b/include/Actor/ActorUnkZELD.hpp index 2713a1275..421d0a7c2 100644 --- a/include/Actor/ActorUnkZELD.hpp +++ b/include/Actor/ActorUnkZELD.hpp @@ -9,7 +9,7 @@ class ActorUnkZELD_C4 : public Actor_C4 { public: - ActorUnkZELD_C4(Actor *param1); + ActorUnkZELD_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -59,7 +59,7 @@ class ActorProfileUnkZELD : public ActorProfile_Derived1 { ActorProfileUnkZELD(); ~ActorProfileUnkZELD(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkZELD *GetProfile(); + static ActorProfileUnkZELD* GetProfile(); }; diff --git a/include/Actor/ActorUnkZLBB.hpp b/include/Actor/ActorUnkZLBB.hpp index 18a1e1ad4..270912f2a 100644 --- a/include/Actor/ActorUnkZLBB.hpp +++ b/include/Actor/ActorUnkZLBB.hpp @@ -9,7 +9,7 @@ class ActorUnkZLBB_C4 : public Actor_C4 { public: - ActorUnkZLBB_C4(Actor *param1); + ActorUnkZLBB_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -50,7 +50,7 @@ class ActorProfileUnkZLBB : public ActorProfile_Derived1 { ActorProfileUnkZLBB(); ~ActorProfileUnkZLBB(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkZLBB *GetProfile(); + static ActorProfileUnkZLBB* GetProfile(); }; diff --git a/include/Actor/ActorUnkZLBS.hpp b/include/Actor/ActorUnkZLBS.hpp index 4c64747cc..f89c365b3 100644 --- a/include/Actor/ActorUnkZLBS.hpp +++ b/include/Actor/ActorUnkZLBS.hpp @@ -9,7 +9,7 @@ class ActorUnkZLBS_C4 : public Actor_C4 { public: - ActorUnkZLBS_C4(Actor *param1); + ActorUnkZLBS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -78,7 +78,7 @@ class ActorProfileUnkZLBS : public ActorProfile_Derived1 { ActorProfileUnkZLBS(); ~ActorProfileUnkZLBS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkZLBS *GetProfile(); + static ActorProfileUnkZLBS* GetProfile(); }; diff --git a/include/Actor/ActorUnkZLSL_ZSRS.hpp b/include/Actor/ActorUnkZLSL_ZSRS.hpp index 894588c62..23dc603f2 100644 --- a/include/Actor/ActorUnkZLSL_ZSRS.hpp +++ b/include/Actor/ActorUnkZLSL_ZSRS.hpp @@ -22,11 +22,11 @@ class ModelRender_ov000_020b4d64 : public ModelRender { /* 00 (base) */ /* 60 */ - ModelRender_ov000_020b4d64(G3d_Model *pModel); + ModelRender_ov000_020b4d64(G3d_Model* pModel); // data_ov000_020b4d64 /* 0C */ virtual void vfunc_0C() override; - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; }; class ModelRender_ov031_02113670 : public ModelRender_ov000_020b4d64 { @@ -34,7 +34,7 @@ class ModelRender_ov031_02113670 : public ModelRender_ov000_020b4d64 { /* 00 (base) */ /* 60 */ - ModelRender_ov031_02113670(G3d_Model *pModel); + ModelRender_ov031_02113670(G3d_Model* pModel); // data_ov031_02113670 /* 0C */ virtual void vfunc_0C() override; @@ -43,30 +43,30 @@ class ModelRender_ov031_02113670 : public ModelRender_ov000_020b4d64 { class UnkStruct_ov000_020b31a8 { public: /* 00 (vtable) */ - /* 04 */ UnkSystem5 *mUnk_04; - /* 08 */ ModelRender *mUnk_08; - /* 0C */ UnkActorFileSystem2 *mUnk_0C; - /* 10 */ G3d_Model *mUnk_10; + /* 04 */ UnkSystem5* mUnk_04; + /* 08 */ ModelRender* mUnk_08; + /* 0C */ UnkActorFileSystem2* mUnk_0C; + /* 10 */ G3d_Model* mUnk_10; /* 14 */ unk32 mUnk_14; /* 18 */ unk8 mUnk_18; /* 19 */ PAD(0x19, 0x1C); /* 1C */ - UnkStruct_ov000_020b31a8(UnkSystem5 *param1, ModelRender *param2, MapObjectProfile_Derived2_20_Base *param3); - UnkStruct_ov000_020b31a8(UnkSystem5 *param1, ModelRender_ov031_02113670 *param2, MapObjectProfile_Derived2_20_Base *param4, - G3d_Model *pModel, unk32 param3); + UnkStruct_ov000_020b31a8(UnkSystem5* param1, ModelRender* param2, MapObjectProfile_Derived2_20_Base* param3); + UnkStruct_ov000_020b31a8(UnkSystem5* param1, ModelRender_ov031_02113670* param2, MapObjectProfile_Derived2_20_Base* param4, + G3d_Model* pModel, unk32 param3); // data_ov000_020b31a8 /* 00 */ virtual ~UnkStruct_ov000_020b31a8(); - /* 08 */ virtual void vfunc_08(G3d_Model *param1); + /* 08 */ virtual void vfunc_08(G3d_Model* param1); /* 0C */ virtual void vfunc_0C(); - /* 10 */ virtual UnkSystem5 *vfunc_10(); + /* 10 */ virtual UnkSystem5* vfunc_10(); /* 14 */ virtual void vfunc_14(); /* 18 */ virtual void vfunc_18(); /* 1C */ virtual void vfunc_1C(G3d_AnimTag param1, unk32 param2, unk32 param3, unk32 param4); /* 20 */ virtual void vfunc_20(); /* 24 */ virtual void vfunc_24(unk32 param1); - /* 28 */ virtual UnkStruct_PlayerGet_50 *vfunc_28(); + /* 28 */ virtual UnkStruct_PlayerGet_50* vfunc_28(); /* 2C */ virtual void vfunc_2C(); /* 30 */ virtual s8 vfunc_30(); /* 34 */ virtual void vfunc_34(); @@ -96,7 +96,7 @@ class ActorUnkZLSL_2700 : public UnkStruct_ov000_020b31a8 { /* 60 */ PAD(0x60, 0x6C); /* 6C */ - ActorUnkZLSL_2700(ModelRender_ov031_02113670 *param1, G3d_Model *pModel, unk32 param3) : + ActorUnkZLSL_2700(ModelRender_ov031_02113670* param1, G3d_Model* pModel, unk32 param3) : UnkStruct_ov000_020b31a8(&this->mUnk_1C.mUnk_00, param1, data_027e0ce0->mUnk_1C->mUnk_08[PlayerCharacter_Zelda][1], pModel, param3) { if (pModel != NULL) { @@ -115,7 +115,7 @@ class ActorUnkZLSL_27CC : public UnkStruct_ov000_020b31a8 { /* 40 */ PAD(0x40, 0x5C); /* 5C */ - ActorUnkZLSL_27CC(ModelRender *param2, MapObjectProfile_Derived2_20_Base *param3) : + ActorUnkZLSL_27CC(ModelRender* param2, MapObjectProfile_Derived2_20_Base* param3) : UnkStruct_ov000_020b31a8(&this->mUnk_1C.mUnk_00, param2, param3) { if (param3 != NULL) { this->mUnk_1C.mUnk_00.mpModel = this->mUnk_10; @@ -132,7 +132,7 @@ class ActorUnkZLSL_27CC : public UnkStruct_ov000_020b31a8 { class UnkStruct_ov000_020b31f0 : public UnkStruct_ov000_020b31a8 { public: /* 00 (vtable) */ - /* 1C */ UnkSystem5 *mUnk_1C; + /* 1C */ UnkSystem5* mUnk_1C; /* 20 */ unk32 mUnk_20; /* 24 */ unk32 mUnk_24; /* 28 */ unk8 mUnk_28; // deduced from strb [..., 0x18] @@ -140,18 +140,18 @@ class UnkStruct_ov000_020b31f0 : public UnkStruct_ov000_020b31a8 { /* 2A */ unk16 mUnk_2A; /* 2C */ - UnkStruct_ov000_020b31f0(UnkSystem5 *param1, UnkSystem5 *param2, ModelRender *param3, UnkActorFileSystem2 *param4); + UnkStruct_ov000_020b31f0(UnkSystem5* param1, UnkSystem5* param2, ModelRender* param3, UnkActorFileSystem2* param4); // data_ov000_020b31f0 /* 00 */ virtual ~UnkStruct_ov000_020b31f0() override; // In thumb - /* 08 */ virtual void vfunc_08(G3d_Model *param1) override; + /* 08 */ virtual void vfunc_08(G3d_Model* param1) override; /* 0C */ virtual void vfunc_0C() override; - /* 10 */ virtual UnkSystem5 *vfunc_10() override; + /* 10 */ virtual UnkSystem5* vfunc_10() override; /* 14 */ virtual void vfunc_14() override; // TODO : I'm pretty sure that param2 and param3 (at least) are FX32, see ActorLokomo::func_ov058_02146d74 /* 1C */ virtual void vfunc_1C(G3d_AnimTag param1, unk32 param2, unk32 param3, unk32 param4) override; /* 20 */ virtual void vfunc_20() override; - /* 28 */ virtual UnkStruct_PlayerGet_50 *vfunc_28() override; + /* 28 */ virtual UnkStruct_PlayerGet_50* vfunc_28() override; /* 2C */ virtual void vfunc_2C() override; /* 30 */ virtual s8 vfunc_30() override; /* 34 */ virtual void vfunc_34() override; @@ -163,19 +163,19 @@ class UnkStruct_ov000_020b31f0 : public UnkStruct_ov000_020b31a8 { // --- Actor ZLSL --- enum ActorUnkZLSLState_ { - ActorUnkZLSLState_OpenArms = 0, // ZLSL arms are open - ActorUnkZLSLState_1 = 1, - ActorUnkZLSLState_2 = 2, - ActorUnkZLSLState_3 = 3, - ActorUnkZLSLState_RotateClosedArms = 4, // Rotate body towards Actor go to state 5 - ActorUnkZLSLState_ClosedArms = 5, // ZLSL arms are closed - ActorUnkZLSLState_FollowPath = 6, // used when ZLSL go ahead in first cave and encounter rats - ActorUnkZLSLState_RotateOpenArms = 7, // Rotate body towards Actor go to state 0 - ActorUnkZLSLState_Idle = 8, // always on the side of Link - ActorUnkZLSLState_TakePhantomControl = 9, // Control a Phantom - ActorUnkZLSLState_TakeHumanShape = 10, // Take human shape and go to state 5 called when exiting Link or Phantom - ActorUnkZLSLState_GoOrbShapeAndIdle = 11, // Return to Link in orb form and go to state idle - ActorUnkZLSLState_12 = 12, // Return to Link in orb form and go to state idle + ActorUnkZLSLState_OpenArms = 0, // ZLSL arms are open + ActorUnkZLSLState_1 = 1, + ActorUnkZLSLState_2 = 2, + ActorUnkZLSLState_3 = 3, + ActorUnkZLSLState_RotateClosedArms = 4, // Rotate body towards Actor go to state 5 + ActorUnkZLSLState_ClosedArms = 5, // ZLSL arms are closed + ActorUnkZLSLState_FollowPath = 6, // used when ZLSL go ahead in first cave and encounter rats + ActorUnkZLSLState_RotateOpenArms = 7, // Rotate body towards Actor go to state 0 + ActorUnkZLSLState_Idle = 8, // always on the side of Link + ActorUnkZLSLState_TakePhantomControl = 9, // Control a Phantom + ActorUnkZLSLState_TakeHumanShape = 10, // Take human shape and go to state 5 called when exiting Link or Phantom + ActorUnkZLSLState_GoOrbShapeAndIdle = 11, // Return to Link in orb form and go to state idle + ActorUnkZLSLState_12 = 12, // Return to Link in orb form and go to state idle ActorUnkZLSLState_TakeHumanShapeTrainStation = 13, // Take human shape and go to state 14 (train station) ActorUnkZLSLState_FollowLink = 14, ActorUnkZLSLState_DuetFinale = 15, @@ -196,19 +196,19 @@ class ActorUnkZLSL_1690 { class ActorUnkZSRS_120_Base : public UnkStruct_ov000_020b31f0 { public: - ActorUnkZSRS_120_Base(UnkSystem5 *param1, UnkSystem5 *param2, ModelRender *param3, UnkActorFileSystem2 *ptr, G3d_Model *, + ActorUnkZSRS_120_Base(UnkSystem5* param1, UnkSystem5* param2, ModelRender* param3, UnkActorFileSystem2* ptr, G3d_Model*, unk32 param4); /* 00 */ virtual ~ActorUnkZSRS_120_Base(); - /* 08 */ virtual void vfunc_08(G3d_Model *param1); + /* 08 */ virtual void vfunc_08(G3d_Model* param1); /* 0C */ virtual void vfunc_0C(); - /* 10 */ virtual UnkSystem5 *vfunc_10(); + /* 10 */ virtual UnkSystem5* vfunc_10(); /* 14 */ virtual void vfunc_14(); /* 18 */ virtual void vfunc_18(); /* 1C */ virtual void vfunc_1C(G3d_AnimTag param1, unk32 param2, unk32 param3, unk32 param4); /* 20 */ virtual void vfunc_20(); /* 24 */ virtual void vfunc_24(unk32 param1); - /* 28 */ virtual UnkStruct_PlayerGet_50 *vfunc_28(); + /* 28 */ virtual UnkStruct_PlayerGet_50* vfunc_28(); /* 2C */ virtual void vfunc_2C(); /* 30 */ virtual s8 vfunc_30(); /* 34 */ virtual void vfunc_34(); @@ -224,7 +224,7 @@ class ActorUnkZSRS_120 : public ActorUnkZSRS_120_Base { /* 14A0 */ UnkSystem5_Derived3 mUnk_14A0; /* 1500 */ - ActorUnkZSRS_120(ModelRender *param3, UnkActorFileSystem2 *ptr, G3d_Model *pModel, unk32 param4) : + ActorUnkZSRS_120(ModelRender* param3, UnkActorFileSystem2* ptr, G3d_Model* pModel, unk32 param4) : ActorUnkZSRS_120_Base(&mUnk_1440.mUnk_00, &mUnk_14A0.mUnk_00, param3, ptr, pModel, param4), mUnk_1440(NULL), mUnk_14A0(NULL) { @@ -234,15 +234,15 @@ class ActorUnkZSRS_120 : public ActorUnkZSRS_120_Base { } /* 00 */ virtual ~ActorUnkZSRS_120() {} - /* 08 */ virtual void vfunc_08(G3d_Model *param1); + /* 08 */ virtual void vfunc_08(G3d_Model* param1); /* 0C */ virtual void vfunc_0C(); - /* 10 */ virtual UnkSystem5 *vfunc_10(); + /* 10 */ virtual UnkSystem5* vfunc_10(); /* 14 */ virtual void vfunc_14(); /* 18 */ virtual void vfunc_18(); /* 1C */ virtual void vfunc_1C(G3d_AnimTag param1, unk32 param2, unk32 param3, unk32 param4); /* 20 */ virtual void vfunc_20(); /* 24 */ virtual void vfunc_24(unk32 param1); - /* 28 */ virtual UnkStruct_PlayerGet_50 *vfunc_28(); + /* 28 */ virtual UnkStruct_PlayerGet_50* vfunc_28(); /* 2C */ virtual void vfunc_2C(); /* 30 */ virtual s8 vfunc_30(); /* 34 */ virtual void vfunc_34(); @@ -256,7 +256,7 @@ class ActorUnkZSRS : public Actor_Derived1 { /* 0120 */ ActorUnkZSRS_120 mUnk_0120; /* 1620 */ - ActorUnkZSRS(ModelRender *param1, G3d_Model *pModel, UnkActorFileSystem2 *param2, unk32 param3) : + ActorUnkZSRS(ModelRender* param1, G3d_Model* pModel, UnkActorFileSystem2* param2, unk32 param3) : Actor_Derived1(param1, &this->mUnk_0120), mUnk_0120(param1, param2, pModel, param3) {} @@ -276,7 +276,7 @@ class ActorUnkZLSL_2828 { mUnk_08(0) {} }; -extern Actor *data_027e0d3c; +extern Actor* data_027e0d3c; class ActorUnkZLSL : public ActorUnkZSRS { public: @@ -328,7 +328,7 @@ class ActorUnkZLSL : public ActorUnkZSRS { ActorUnkZLSL(); // data_ov031_02113880 - /* 00 */ virtual void GetOffsetPos(VecFx32 *pPos) const override; + /* 00 */ virtual void GetOffsetPos(VecFx32* pPos) const override; /* 18 */ virtual bool Init(unk32 param1) override; /* 20 */ virtual void Update() override; /* 2C */ virtual void vfunc_2C(unk32 param1) override; @@ -370,7 +370,7 @@ class ActorUnkZLSL : public ActorUnkZSRS { bool func_ov031_020ee724(); static void func_ov031_020ea100(); - static void func_ov031_020ee1f4(Actor *param1, G3d_RenderState *param2); + static void func_ov031_020ee1f4(Actor* param1, G3d_RenderState* param2); // not sure where they go void func_ov031_020ea8c0(); @@ -384,7 +384,7 @@ class ActorUnkZLSL : public ActorUnkZSRS { void func_ov031_020eafb0(); void func_ov031_020eb158(); void func_ov031_020eb218(); - bool func_ov031_020eb2b0(VecFx32 *param1, unk32 param2); + bool func_ov031_020eb2b0(VecFx32* param1, unk32 param2); void func_ov031_020eb61c(); void func_ov031_020eba8c(); void func_ov031_020ec028(); @@ -407,7 +407,7 @@ class ActorUnkZLSL : public ActorUnkZSRS { bool func_ov031_020ed6cc(unk32 param1); bool func_ov031_020ed8ac(fx32 param1); void func_ov031_020edc80(); - void func_ov031_020edd14(VecFx32 *param1); + void func_ov031_020edd14(VecFx32* param1); void func_ov031_020edd54(RefStruct ref); void func_ov031_020ede30(RefStruct ref); void func_ov031_020edf98(RefStruct ref); @@ -423,9 +423,9 @@ class ActorProfileUnkZSRS : public ActorProfile_Derived2 { ActorProfileUnkZSRS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkZSRS *GetProfile(); + static ActorProfileUnkZSRS* GetProfile(); }; class ActorProfileUnkZLSL : public ActorProfile { @@ -434,7 +434,7 @@ class ActorProfileUnkZLSL : public ActorProfile { ActorProfileUnkZLSL(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkZLSL *GetProfile(); + static ActorProfileUnkZLSL* GetProfile(); }; diff --git a/include/Actor/ActorUnkZLSN.hpp b/include/Actor/ActorUnkZLSN.hpp index ab5db227f..e4ed9d6b7 100644 --- a/include/Actor/ActorUnkZLSN.hpp +++ b/include/Actor/ActorUnkZLSN.hpp @@ -9,7 +9,7 @@ class ActorUnkZLSN_C4 : public Actor_C4 { public: - ActorUnkZLSN_C4(Actor *param1); + ActorUnkZLSN_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -60,7 +60,7 @@ class ActorProfileUnkZLSN : public ActorProfile_Derived1 { ActorProfileUnkZLSN(); ~ActorProfileUnkZLSN(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkZLSN *GetProfile(); + static ActorProfileUnkZLSN* GetProfile(); }; diff --git a/include/Actor/ActorUnkZLSS.hpp b/include/Actor/ActorUnkZLSS.hpp index fcfb7764c..7f701677d 100644 --- a/include/Actor/ActorUnkZLSS.hpp +++ b/include/Actor/ActorUnkZLSS.hpp @@ -9,7 +9,7 @@ class ActorUnkZLSS_C4 : public Actor_C4 { public: - ActorUnkZLSS_C4(Actor *param1); + ActorUnkZLSS_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -76,7 +76,7 @@ class ActorProfileUnkZLSS : public ActorProfile { ActorProfileUnkZLSS(); ~ActorProfileUnkZLSS(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkZLSS *GetProfile(); + static ActorProfileUnkZLSS* GetProfile(); }; diff --git a/include/Actor/ActorUnkZSTG.hpp b/include/Actor/ActorUnkZSTG.hpp index 4342c409e..1415cfb16 100644 --- a/include/Actor/ActorUnkZSTG.hpp +++ b/include/Actor/ActorUnkZSTG.hpp @@ -9,7 +9,7 @@ class ActorUnkZSTG_C4 : public Actor_C4 { public: - ActorUnkZSTG_C4(Actor *param1); + ActorUnkZSTG_C4(Actor* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; /* 04 */ virtual bool vfunc_04() override; @@ -46,7 +46,7 @@ class ActorProfileUnkZSTG : public ActorProfile { ActorProfileUnkZSTG(); ~ActorProfileUnkZSTG(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileUnkZSTG *GetProfile(); + static ActorProfileUnkZSTG* GetProfile(); }; diff --git a/include/Actor/ActorWhipBird.hpp b/include/Actor/ActorWhipBird.hpp index da6cbb180..018ce9075 100644 --- a/include/Actor/ActorWhipBird.hpp +++ b/include/Actor/ActorWhipBird.hpp @@ -23,7 +23,7 @@ class ActorWhipBird_214 : public Actor_C4 { /* 00 (base) */ /* 24 */ - ActorWhipBird_214(ActorWhipBird *param1); + ActorWhipBird_214(ActorWhipBird* param1); /* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override; }; @@ -32,24 +32,24 @@ class ActorWhipBird_32C : public UnkStruct_ov031_Items_00 { public: /* 00 (base) */ /* 04 */ PAD(0x04, 0x08); - /* 08 */ ActorWhipBird *mUnk_08; + /* 08 */ ActorWhipBird* mUnk_08; /* 0C */ Timer mUnk_0C; /* 10 */ - ActorWhipBird_32C(ActorWhipBird *param1) : + ActorWhipBird_32C(ActorWhipBird* param1) : mUnk_08(param1), mUnk_0C(0, 0) {} - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; }; class ActorWhipBird_2CC : public UnkStruct_0204a060_Base { public: /* 00 (base) */ - /* 24 */ ActorWhipBird *mUnk_24; + /* 24 */ ActorWhipBird* mUnk_24; /* 28 */ - ActorWhipBird_2CC(ActorWhipBird *actor) : + ActorWhipBird_2CC(ActorWhipBird* actor) : mUnk_24(actor) {} /* 0C */ virtual void vfunc_0C() override; @@ -108,7 +108,7 @@ class ActorWhipBird : public Actor { void func_ov058_0214b620(); void func_ov058_0214b820(); void func_ov058_0214b8dc(); - void func_ov058_0214bbcc(VecFx32 *param1, fx32 newVelZ); + void func_ov058_0214bbcc(VecFx32* param1, fx32 newVelZ); void func_ov058_0214bd98(); void func_ov058_0214bfa4(); void func_ov058_0214c078(); @@ -127,7 +127,7 @@ class ActorWhipBird : public Actor { void func_ov058_0214ccd0(); void func_ov058_0214cd94(); void func_ov058_0214cfa4(unk32 param1); - static void func_ov058_0214d078(Actor *param1, G3d_RenderState *param2); + static void func_ov058_0214d078(Actor* param1, G3d_RenderState* param2); UnkStackStruct2::Inner func_ov058_0214d250(unk16 param3); bool func_ov058_0214d2c4(unk32 param1); }; @@ -138,7 +138,7 @@ class ActorProfileWhipBird : public ActorProfile_Derived1 { ActorProfileWhipBird(); - /* 0C */ virtual Actor *Create(); + /* 0C */ virtual Actor* Create(); - static ActorProfileWhipBird *GetProfile(); + static ActorProfileWhipBird* GetProfile(); }; diff --git a/include/Actor/Actor_Derived1.hpp b/include/Actor/Actor_Derived1.hpp index 03a9e9e16..b978e9fb6 100644 --- a/include/Actor/Actor_Derived1.hpp +++ b/include/Actor/Actor_Derived1.hpp @@ -12,7 +12,7 @@ class UnkStruct_ov000_020b31f0; class ActorUnk_vfunc_B0 { public: /* 00 */ bool mUnk_00; - /* 04 */ MapObject_UnkStruct1 *mUnk_04; + /* 04 */ MapObject_UnkStruct1* mUnk_04; /* 08 */ u16 mUnk_08; /* 0C */ unk32 mUnk_0C; /* 10 */ unk32 mUnk_10; @@ -24,9 +24,9 @@ class ActorUnk_vfunc_B0 { /* 21 */ bool mUnk_21; /* 22 */ unk8 mUnk_22; /* 23 */ unk8 mUnk_23; - /* 24 */ Actor *mpActor; + /* 24 */ Actor* mpActor; /* 28 */ unk32 mUnk_28; - /* 2C */ Actor *mUnk_2C; + /* 2C */ Actor* mUnk_2C; /* 30 */ unk16 mUnk_30; /* 32 */ unk16 mUnk_32; /* 34 */ VecFx32 mUnk_34; @@ -65,23 +65,23 @@ class Actor_Derived1_94 { class Actor_Derived1_94_Derived1 : public Actor_Derived1_94 { public: /* 00 (base) */ - /* 0C */ UnkStruct_ov000_020b31f0 *mUnk_0C; + /* 0C */ UnkStruct_ov000_020b31f0* mUnk_0C; /* 10 */ - Actor_Derived1_94_Derived1(UnkStruct_ov000_020b31f0 *param1) { + Actor_Derived1_94_Derived1(UnkStruct_ov000_020b31f0* param1) { this->mUnk_0C = param1; } }; class Actor_Derived1_a4 { public: - /* 00 */ ModelRender *mpModelRender; + /* 00 */ ModelRender* mpModelRender; /* 08 */ unk16 mUnk_04; /* 08 */ unk16 mUnk_06; /* 0A */ unk32 mUnk_08; /* 0C */ - Actor_Derived1_a4(ModelRender *pModelRender) { + Actor_Derived1_a4(ModelRender* pModelRender) { this->mpModelRender = pModelRender; this->mUnk_04 = 0; this->mUnk_08 = 0; @@ -92,7 +92,7 @@ class Actor_Derived1_a4 { class Actor_Derived1_EC { public: - /* 00 */ UnkStruct_027e0960_TableEntry *mUnk_00; + /* 00 */ UnkStruct_027e0960_TableEntry* mUnk_00; /* 04 */ u8 mUnk_04; /* 05 */ u8 mUnk_05; /* 06 */ bool mUnk_06; @@ -104,13 +104,13 @@ class Actor_Derived1_EC { Actor_Derived1_EC(); ~Actor_Derived1_EC() {} - void func_ov024_020d6680(const VecFx32 *param1, u8 *param2); - void func_ov024_020d66c0(const VecFx32 *param1, unk32 param2); + void func_ov024_020d6680(const VecFx32* param1, u8* param2); + void func_ov024_020d66c0(const VecFx32* param1, unk32 param2); bool func_ov024_020d6704(); void func_ov024_020d6730(); - u16 *func_ov024_020d69d8(VecFx32 *pPos, s16 *pAngle, VecFx32 *pVel, unk32 param4, s16 param5, unk32 param6); - u16 *func_ov024_020d6b7c(VecFx32 *pPos, s16 *pAngle, VecFx32 *pVel, unk32 param4, s16 param5, unk32 param6); - u16 *func_ov024_020d6d80(VecFx32 *pPos, VecFx32 *pVel); + u16* func_ov024_020d69d8(VecFx32* pPos, s16* pAngle, VecFx32* pVel, unk32 param4, s16 param5, unk32 param6); + u16* func_ov024_020d6b7c(VecFx32* pPos, s16* pAngle, VecFx32* pVel, unk32 param4, s16 param5, unk32 param6); + u16* func_ov024_020d6d80(VecFx32* pPos, VecFx32* pVel); }; class Actor_Derived1 : public Actor { @@ -120,7 +120,7 @@ class Actor_Derived1 : public Actor { /* 0A4 */ Actor_Derived1_a4 mUnk_0A4; /* 0B0 */ u16 mUnk_0B0; /* 0B4 */ unk32 mUnk_0B4; - /* 0B8 */ G3d_AnimTag *mUnk_0B8; + /* 0B8 */ G3d_AnimTag* mUnk_0B8; /* 0BC */ RefStruct mUnk_0BC; /* 0C0 */ VecFx32Cpp mUnk_0C0; /* 0CC */ unk16 mUnk_0CC; @@ -142,7 +142,7 @@ class Actor_Derived1 : public Actor { /* 11C */ unk32 mUnk_11C; /* 120 */ - /* 14 */ virtual bool vfunc_14(Cylinder *param1) override; + /* 14 */ virtual bool vfunc_14(Cylinder* param1) override; /* 18 */ virtual bool Init(unk32 param1) override; /* 1C */ virtual void Setup() override; /* 20 */ virtual void Update() override; @@ -177,7 +177,7 @@ class Actor_Derived1 : public Actor { /* B8 */ virtual void vfunc_B8(); /* BC */ - Actor_Derived1(ModelRender *param1, UnkStruct_ov000_020b31f0 *param2); + Actor_Derived1(ModelRender* param1, UnkStruct_ov000_020b31f0* param2); const u16 GetUnk0B0() const { return this->mUnk_0B0; @@ -188,9 +188,9 @@ class Actor_Derived1 : public Actor { bool func_ov000_020a8db0(); bool func_ov000_020a8dd0(); void func_ov000_020a8df0(RefStruct param1, unk32 param2); - void func_ov000_020a8e9c(VecFx32 *param1); - bool func_ov000_020a8ff4(VecFx32 *param1); - void func_ov000_020a91b8(VecFx32 *param1, unk32 param2); + void func_ov000_020a8e9c(VecFx32* param1); + bool func_ov000_020a8ff4(VecFx32* param1); + void func_ov000_020a91b8(VecFx32* param1, unk32 param2); void func_ov000_020a9200(); bool func_ov000_020a9248(unk32 param1); void func_ov000_020a94b0(); @@ -201,7 +201,7 @@ class Actor_Derived1 : public Actor { void func_ov000_020a9a94(); void func_ov000_020a9abc(); - static void func_ov000_020a9804(Actor *param1, G3d_RenderState *param2); + static void func_ov000_020a9804(Actor* param1, G3d_RenderState* param2); // overlay 1 void func_ov001_020bff2c(); diff --git a/include/Actor/Actor_ov031_02114438.hpp b/include/Actor/Actor_ov031_02114438.hpp index a085f5b94..2446818b5 100644 --- a/include/Actor/Actor_ov031_02114438.hpp +++ b/include/Actor/Actor_ov031_02114438.hpp @@ -7,5 +7,5 @@ class Actor_ov031_02114438 : public Actor { /* 94 */ VecFx32Cpp mUnk_94; /* A0 */ - void func_ov031_020f57e4(VecFx32 *param1, unk32 param2); + void func_ov031_020f57e4(VecFx32* param1, unk32 param2); }; diff --git a/include/CommonFuncs.hpp b/include/CommonFuncs.hpp index ad11e5e7e..35090acf9 100644 --- a/include/CommonFuncs.hpp +++ b/include/CommonFuncs.hpp @@ -69,60 +69,60 @@ union Vec2s; extern "C" { // itcm -bool func_01ff916c(fx32 *, unk32, unk32); -void func_01ff91b8(unk16 *, fx32, fx32); -void func_01ff9218(fx32 *, fx32, fx32); +bool func_01ff916c(fx32*, unk32, unk32); +void func_01ff91b8(unk16*, fx32, fx32); +void func_01ff9218(fx32*, fx32, fx32); unk32 func_01ff9258(fx32, fx32); -unk32 func_01ff930c(s16 *, s16, unk32); -void func_01ff9318(void *, unk32, unk32); -unk32 func_01ff9364(u16 *, UnkAngleStruct); -void func_01ff93c0(VecFx32 *, fx32); -void func_01ff941c(VecFx32 *, VecFx32 *); -void func_01ff94cc(VecFx32 *, VecFx32 *, VecFx32 *); -void func_01ff95a0(VecFx32 *, unk16); -void func_01ff9638(VecFx32 *vec, s16 angle); -void func_01ff9770(VecFx32 *, unk32); -void func_01ff97c8(VecFx32 *, int); -void func_01ff993c(VecFx32 *, VecFx32 *, unk32); -fx32 func_01ff9a5c(VecFx32 *, VecFx32 *, VecFx32 *); -void func_01ff9fbc(MtxFx22 *, unk32, MtxFx22 *); -void func_01ffa9e8(MtxFx43 *, MtxFx43 *); -void func_01ffad5c(MtxFx43 *, MtxFx43 *, MtxFx43 *); -void func_01ffaf74(VecFx32 *, MtxFx43 *, VecFx32 *); -void func_01ffb6e4(unk32, const void *, void *); -fx32 func_01ffb9cc(const VecFx32 *, const VecFx32 *); -void func_01ffcb94(unk16, unk16, MtxFx33 *); -bool func_01ffccf4(Sphere *, VecFx32 *, VecFx32 *, unk32 *); -void func_01ffce1c(Cylinder *, Sphere *); -int func_01ffcea0(Cylinder *, Sphere *); -void func_01ffcfcc(fx32 *, VecFx32 *, VecFx32 *); -void func_01ffd054(VecFx32 *, VecFx32 *); -void func_01ffd1b4(VecFx32 *, VecFx32 *); -fx32 func_01ffe868(VecFx32 *, unk32, unk32); -bool func_01ffecdc(unk32 param1, Sphere *param2); -void func_01ffedac(Vec2bCpp *, VecFx32 *); -void func_01fff05c(u32 *, MapManagerBase *, VecFx32 *); -void func_01fff17c(unk16 *, UnkStruct_027e0ce0 *, unk32); -void func_01fff6d0(void *, VecFx32 *param1, s32 *param2, s32 *param3); -void func_01ff9984(VecFx32 *, VecFx32 *, unk32, unk32, unk32); -bool func_01ffccc0(Sphere *param1, Sphere *param2); -bool func_01ffd218(Capsule *param1, Sphere *param2); +unk32 func_01ff930c(s16*, s16, unk32); +void func_01ff9318(void*, unk32, unk32); +unk32 func_01ff9364(u16*, UnkAngleStruct); +void func_01ff93c0(VecFx32*, fx32); +void func_01ff941c(VecFx32*, VecFx32*); +void func_01ff94cc(VecFx32*, VecFx32*, VecFx32*); +void func_01ff95a0(VecFx32*, unk16); +void func_01ff9638(VecFx32* vec, s16 angle); +void func_01ff9770(VecFx32*, unk32); +void func_01ff97c8(VecFx32*, int); +void func_01ff993c(VecFx32*, VecFx32*, unk32); +fx32 func_01ff9a5c(VecFx32*, VecFx32*, VecFx32*); +void func_01ff9fbc(MtxFx22*, unk32, MtxFx22*); +void func_01ffa9e8(MtxFx43*, MtxFx43*); +void func_01ffad5c(MtxFx43*, MtxFx43*, MtxFx43*); +void func_01ffaf74(VecFx32*, MtxFx43*, VecFx32*); +void func_01ffb6e4(unk32, const void*, void*); +fx32 func_01ffb9cc(const VecFx32*, const VecFx32*); +void func_01ffcb94(unk16, unk16, MtxFx33*); +bool func_01ffccf4(Sphere*, VecFx32*, VecFx32*, unk32*); +void func_01ffce1c(Cylinder*, Sphere*); +int func_01ffcea0(Cylinder*, Sphere*); +void func_01ffcfcc(fx32*, VecFx32*, VecFx32*); +void func_01ffd054(VecFx32*, VecFx32*); +void func_01ffd1b4(VecFx32*, VecFx32*); +fx32 func_01ffe868(VecFx32*, unk32, unk32); +bool func_01ffecdc(unk32 param1, Sphere* param2); +void func_01ffedac(Vec2bCpp*, VecFx32*); +void func_01fff05c(u32*, MapManagerBase*, VecFx32*); +void func_01fff17c(unk16*, UnkStruct_027e0ce0*, unk32); +void func_01fff6d0(void*, VecFx32* param1, s32* param2, s32* param3); +void func_01ff9984(VecFx32*, VecFx32*, unk32, unk32, unk32); +bool func_01ffccc0(Sphere* param1, Sphere* param2); +bool func_01ffd218(Capsule* param1, Sphere* param2); // main -unk32 func_020013ac(void *param1); +unk32 func_020013ac(void* param1); void func_02006aa8(unk32, unk32); void func_02006d8c(u16, unk32); -void func_0200b58c(G3d_RenderObject *); -void G3d_GetCurrentMtx(MtxFx43 *mtx1, MtxFx33 *mtx2); -void func_0200eab0(G3d_Model *, unk32, unk32); -void func_0200ef5c(G3d_Model *, unk32); -void func_0200ef9c(G3d_Model *, unk32); -UnkResourceStruct2 *func_0200f05c(G3d_NameList *, char *); -unk32 func_0200f218(G3d_NameList *, const char name[16]); -void *func_02012ec8(unk32, unk16, const char *, size_t *, unk32, u8); -void *func_02012ee4(const char *, unk32, unk32, size_t *, u8); -void *func_02012f6c(const char *, size_t *); -BOOL func_02012fa8(const char *); +void func_0200b58c(G3d_RenderObject*); +void G3d_GetCurrentMtx(MtxFx43* mtx1, MtxFx33* mtx2); +void func_0200eab0(G3d_Model*, unk32, unk32); +void func_0200ef5c(G3d_Model*, unk32); +void func_0200ef9c(G3d_Model*, unk32); +UnkResourceStruct2* func_0200f05c(G3d_NameList*, char*); +unk32 func_0200f218(G3d_NameList*, const char name[16]); +void* func_02012ec8(unk32, unk16, const char*, size_t*, unk32, u8); +void* func_02012ee4(const char*, unk32, unk32, size_t*, u8); +void* func_02012f6c(const char*, size_t*); +BOOL func_02012fa8(const char*); unk32 func_02012fc4(unk32); void func_020131ec(); void func_02013214(); @@ -131,33 +131,33 @@ void func_020132c8(); void func_020132dc(); void func_02013354(); unk32 func_020147a8(); -void func_02014d38(void *, int); +void func_02014d38(void*, int); unk32 func_02014fe0(); -void func_02015300(UnkStruct_PlayerGet_50 *); +void func_02015300(UnkStruct_PlayerGet_50*); HeapIndex16 func_02015338(); -void func_02015628(char *, char *, unk32, void *, size_t); -void func_02015644(char *); -void func_02015664(char *, unk32); -void func_020156c8(char *, char *, unk32); -void func_020156f4(char *); +void func_02015628(char*, char*, unk32, void*, size_t); +void func_02015644(char*); +void func_02015664(char*, unk32); +void func_020156c8(char*, char*, unk32); +void func_020156f4(char*); unk32 func_02015788(u16 param1); u8 func_020157c0(unk32 param1, unk32 param2); u8 func_020157f0(unk32 param1, unk32 param2); fx32 func_02015a18(u16, unk32, unk32, unk32, u16, unk32, unk32); -void func_02015ea8(u32 resourceId, void *); +void func_02015ea8(u32 resourceId, void*); void func_0201659c(); -unk16 func_02016958(VecFx32 *, VecFx32 *); -void func_020169d4(VecFx32 *, VecFx32 *, unk16 *, void *); -bool func_02016ae0(VecFx32 *, VecFx32 *, UnkAngleStruct, unk32, unk32); -bool func_02016b8c(VecFx32 *, VecFx32 *, unk32, UnkAngleStruct, u16, unk32); -bool func_02016c68(VecFx32 *, VecFx32 *, RefStruct, int, int); -bool func_02016cf0(VecFx32 *, VecFx32 *, RefStruct, int, int); -Actor *func_02016fbc(ActorId, VecFx32 *, unk32); +unk16 func_02016958(VecFx32*, VecFx32*); +void func_020169d4(VecFx32*, VecFx32*, unk16*, void*); +bool func_02016ae0(VecFx32*, VecFx32*, UnkAngleStruct, unk32, unk32); +bool func_02016b8c(VecFx32*, VecFx32*, unk32, UnkAngleStruct, u16, unk32); +bool func_02016c68(VecFx32*, VecFx32*, RefStruct, int, int); +bool func_02016cf0(VecFx32*, VecFx32*, RefStruct, int, int); +Actor* func_02016fbc(ActorId, VecFx32*, unk32); unk32 func_02017158(); -unk8 func_02017e8c(unk16 *); -void func_02017f38(u16 *); -fx32 func_02017f54(s16 *, UnkAngleStruct); -void func_02018114(unk16 *, unk16); +unk8 func_02017e8c(unk16*); +void func_02017f38(u16*); +fx32 func_02017f54(s16*, UnkAngleStruct); +void func_02018114(unk16*, unk16); s16 func_020196b0(unk32 param1); void func_020196fc(); void func_02019a74(); @@ -167,62 +167,62 @@ void func_02019cec(u16 param1, unk32 param2); unk16 func_0201a710(unk16); void func_0201b180(bool, bool); void func_0201b278(bool, bool); -void *func_02022884(unk32); +void* func_02022884(unk32); u32 func_0202447c(); u32 func_02024494(); -u16 func_02032920(void *param1, size_t param2); +u16 func_02032920(void* param1, size_t param2); unk32 func_02039d60(f32, unk32); f32 func_02039f04(fx32); f32 func_0203ab58(unk32, f32); f32 func_0203ad88(f32, unk32); void func_02097bb8(void); void func_02098388(void); -BOOL ZMB_020ba350(ZMBFileInfos *pFileInfos, u8 param2, MapManagerBase *pDst); -void ZMB_020ba388(CustomVector *pVector, size_t param2); -void ZMB_020ba408(CustomVector *pVector, size_t param2); +BOOL ZMB_020ba350(ZMBFileInfos* pFileInfos, u8 param2, MapManagerBase* pDst); +void ZMB_020ba388(CustomVector* pVector, size_t param2); +void ZMB_020ba408(CustomVector* pVector, size_t param2); void func_0201245c(); -void func_02027a28(void *param1, unk32 param2); +void func_02027a28(void* param1, unk32 param2); void func_02013184(); void func_020131b0(); -unk32 func_0202d624(void *param1, unk32 param2); -unk32 func_020011f4(void *); -void func_0200a7b0(unk32 param1, void *param2, void *param3, void *param4, unk32 param5, unk32 param6, unk32 param7, +unk32 func_0202d624(void* param1, unk32 param2); +unk32 func_020011f4(void*); +void func_0200a7b0(unk32 param1, void* param2, void* param3, void* param4, unk32 param5, unk32 param6, unk32 param7, unk32 param8); unk32 func_0200e234(); -void func_02029058(void *, void *); -u32 func_0202955c(void *, int, void *, int, void *); -void *func_020145b0(NNSiFndHeapHead *heap, s32 param2); -NNSiFndHeapHead *func_02014704(); -NNSiFndHeapHead *func_02014630(NNSiFndHeapHead *heap, void *param2); +void func_02029058(void*, void*); +u32 func_0202955c(void*, int, void*, int, void*); +void* func_020145b0(NNSiFndHeapHead* heap, s32 param2); +NNSiFndHeapHead* func_02014704(); +NNSiFndHeapHead* func_02014630(NNSiFndHeapHead* heap, void* param2); void func_0201bdd0(); void func_02004d2c(unk32 param1, unk32 param2); void func_02001778(unk32 param1); void func_02003f98(unk32 param1, unk32 param2); -void func_02005030(void *param1); -void func_020158e8(unk32 *, unk16 *, unk16 *, const VecFx32 *, const VecFx32 *); +void func_02005030(void* param1); +void func_020158e8(unk32*, unk16*, unk16*, const VecFx32*, const VecFx32*); // overlay 0 -void func_ov000_02052238(void *, void *); -void func_ov000_02052bcc(void *); -void func_ov000_02054548(void *, unk32); -unk32 func_ov000_020545d0(void *, void *); -UnkStruct_027e0cec_18_04 *func_ov000_02054690(void *, unk32, unk32, unk32, unk32, unk32); -void func_ov000_02057cc8(ModelRender *); -void func_ov000_02058c74(void *, int, int, int, int); -BMDSectionModel *func_ov000_0205abcc(void *, void *, unk32, unk32, void *); -void func_ov000_0205ad90(Vec2bCpp param1, VecFx32 *param2); -void func_ov000_0205ad64(VecFx32 *, VecFx32 *); -UnkStruct_ov000_02058a84 *func_ov000_0205ac34(UnkFileSystem1 *, unk32); -bool func_ov000_0205adfc(VecFx32 *, VecFx32 *); +void func_ov000_02052238(void*, void*); +void func_ov000_02052bcc(void*); +void func_ov000_02054548(void*, unk32); +unk32 func_ov000_020545d0(void*, void*); +UnkStruct_027e0cec_18_04* func_ov000_02054690(void*, unk32, unk32, unk32, unk32, unk32); +void func_ov000_02057cc8(ModelRender*); +void func_ov000_02058c74(void*, int, int, int, int); +BMDSectionModel* func_ov000_0205abcc(void*, void*, unk32, unk32, void*); +void func_ov000_0205ad90(Vec2bCpp param1, VecFx32* param2); +void func_ov000_0205ad64(VecFx32*, VecFx32*); +UnkStruct_ov000_02058a84* func_ov000_0205ac34(UnkFileSystem1*, unk32); +bool func_ov000_0205adfc(VecFx32*, VecFx32*); bool func_ov000_0205aeac(); unk32 func_ov000_0205b090(); unk32 func_ov000_0205b0ac(s16 param1); -void func_ov000_0205b1d8(ActorUnkRCFO_910 *param1, void *param2); -void func_ov000_0205be34(void *thisx, unk16 param1); -void func_ov000_0205be44(void *thisx, Vec2s *param1, Vec2s *param2, bool param3, bool param4); -void func_ov000_0205c1f0(unk32 *, u16); -void func_ov000_0205c204(void *, VecFx32 *, int, int, u8); -void func_ov000_0205c584(void *, int, int); +void func_ov000_0205b1d8(ActorUnkRCFO_910* param1, void* param2); +void func_ov000_0205be34(void* thisx, unk16 param1); +void func_ov000_0205be44(void* thisx, Vec2s* param1, Vec2s* param2, bool param3, bool param4); +void func_ov000_0205c1f0(unk32*, u16); +void func_ov000_0205c204(void*, VecFx32*, int, int, u8); +void func_ov000_0205c584(void*, int, int); bool func_ov000_0205c74c(unk32, unk32, unk32, unk32); unk32 func_ov000_0205c7ac(unk32, unk32); SceneIndex func_ov000_0205c984(); @@ -230,122 +230,122 @@ u32 func_ov000_0205c9b4(); bool func_ov000_0205c9d0(unk32 stationSceneIdx); bool func_ov000_0205ca18(unk32 param1, unk32 param2); void func_ov000_0205ca74(unk32); -VecFx32 *func_ov000_0205d524(unk32, unk32); -void func_ov000_0205d65c(void *, VecFx32 *, VecFx32 *, UnkAngleStruct); -void func_ov000_0205db44(void *, void *, unk32); +VecFx32* func_ov000_0205d524(unk32, unk32); +void func_ov000_0205d65c(void*, VecFx32*, VecFx32*, UnkAngleStruct); +void func_ov000_0205db44(void*, void*, unk32); void func_ov000_0205dbe4(u16); -void func_ov000_0205f298(unk32 *, VecFx32 *, unk32); -void func_ov000_0205f478(unk32 *); -void func_ov000_0205f4fc(unk32 *, MtxFx33 *); -void func_ov000_0205f6e4(VecFx32 *, VecFx32 *); -bool func_ov000_0205f7d4(VecFx32 *, VecFx32 *, VecFx32 *); -void func_ov000_0205f8e8(unk32 *, MtxFx33 *); -void func_ov000_02062e44(Vec2s *param1, void *param2); -void *func_ov000_02066294(); +void func_ov000_0205f298(unk32*, VecFx32*, unk32); +void func_ov000_0205f478(unk32*); +void func_ov000_0205f4fc(unk32*, MtxFx33*); +void func_ov000_0205f6e4(VecFx32*, VecFx32*); +bool func_ov000_0205f7d4(VecFx32*, VecFx32*, VecFx32*); +void func_ov000_0205f8e8(unk32*, MtxFx33*); +void func_ov000_02062e44(Vec2s* param1, void* param2); +void* func_ov000_02066294(); unk32 func_ov000_02068504(int); -void func_ov000_02072344(u16 *, UnkStruct_027e09ac_14 *); -void func_ov000_02072fd0(UnkStackStruct1 *); -void func_ov000_02073080(void *); -void func_ov000_0207f4e8(void *); -void func_ov000_0207f4fc(void *, fx32 *, unk32, unk32); +void func_ov000_02072344(u16*, UnkStruct_027e09ac_14*); +void func_ov000_02072fd0(UnkStackStruct1*); +void func_ov000_02073080(void*); +void func_ov000_0207f4e8(void*); +void func_ov000_0207f4fc(void*, fx32*, unk32, unk32); unk32 func_ov000_02077480(); fx32 func_ov000_020775d8(fx32); unk32 func_ov000_02078aec(); void func_ov000_0207b6c0(); -void Unknown_func_ov000_0207fd7c(void *, void *, unk32); +void Unknown_func_ov000_0207fd7c(void*, void*, unk32); fx32 func_ov000_02080068(fx32 x); fx32 func_ov000_02080080(fx32 x); -unk32 func_ov000_02080098(void *, void *, int, int, int, int); -bool func_ov000_02080998(VecFx32 *); -void func_ov000_020814ec(void *, void *); -void func_ov000_02081520(void *, void *, u8); -void func_ov000_02085d1c(void *); -bool func_ov000_020864f8(void *, UnkAngleStruct, void *, void *); +unk32 func_ov000_02080098(void*, void*, int, int, int, int); +bool func_ov000_02080998(VecFx32*); +void func_ov000_020814ec(void*, void*); +void func_ov000_02081520(void*, void*, u8); +void func_ov000_02085d1c(void*); +bool func_ov000_020864f8(void*, UnkAngleStruct, void*, void*); unk32 func_ov000_0208832c(s16, unk32); -void func_ov000_02089bbc(void *, unk32); -void func_ov000_0208a7a4(void *, void *); -void func_ov000_0208abc4(RefStruct *, void *, Vec2s *); -void func_ov000_0208ba10(void *, void *, unk32); -void func_ov000_0208bb84(u16 *param1, UnkStruct_027e0ce0 *param2, unk32 param3); -void func_ov000_0208dd60(void *, UnkStruct_027e0ce0_30_00 *); -const char *func_ov000_0208e830(int); -bool func_ov000_0208e874(const u8 *, int, int, int); +void func_ov000_02089bbc(void*, unk32); +void func_ov000_0208a7a4(void*, void*); +void func_ov000_0208abc4(RefStruct*, void*, Vec2s*); +void func_ov000_0208ba10(void*, void*, unk32); +void func_ov000_0208bb84(u16* param1, UnkStruct_027e0ce0* param2, unk32 param3); +void func_ov000_0208dd60(void*, UnkStruct_027e0ce0_30_00*); +const char* func_ov000_0208e830(int); +bool func_ov000_0208e874(const u8*, int, int, int); void func_ov000_0208f820(); void func_ov000_020977e4(); -void func_ov000_02097d4c(VecFx32 *); -void func_ov000_02097e04(VecFx32 *); -void func_ov000_02097ea0(VecFx32 *); -void func_ov000_02097f38(VecFx32 *); -void func_ov000_02097fcc(VecFx32 *); -void func_ov000_0209807c(void *); -void func_ov000_020980e0(void *); -void func_ov000_02098244(VecFx32 *); -void func_ov000_020986b4(s16 *param1, Actor *param2, unk32 param3); -void func_ov000_02099870(UnkStruct_ActorLobarrier_224 *, VecFx32 *, u16); -void func_ov000_02099e58(UnkStruct_ov000_020b31a8 *param1, G3d_AnimTag param2, unk32 param8); -void func_ov000_02099f64(UnkStruct_ov000_020b31a8 *param1, G3d_AnimTag param2, unk32 param3); +void func_ov000_02097d4c(VecFx32*); +void func_ov000_02097e04(VecFx32*); +void func_ov000_02097ea0(VecFx32*); +void func_ov000_02097f38(VecFx32*); +void func_ov000_02097fcc(VecFx32*); +void func_ov000_0209807c(void*); +void func_ov000_020980e0(void*); +void func_ov000_02098244(VecFx32*); +void func_ov000_020986b4(s16* param1, Actor* param2, unk32 param3); +void func_ov000_02099870(UnkStruct_ActorLobarrier_224*, VecFx32*, u16); +void func_ov000_02099e58(UnkStruct_ov000_020b31a8* param1, G3d_AnimTag param2, unk32 param8); +void func_ov000_02099f64(UnkStruct_ov000_020b31a8* param1, G3d_AnimTag param2, unk32 param3); bool func_ov000_020a0a90(size_t, unk32, size_t); void func_ov000_020a1330(u16, RefStruct, VecFx32, UnkAngleStruct, unk32, unk32); -void func_ov000_020a14e4(unk8, VecFx32 *); +void func_ov000_020a14e4(unk8, VecFx32*); u8 func_ov000_020a9a50(); -void func_ov000_0205bedc(void *param1, void *param2, void *param3, void *param4, unk32 param5, int); -void func_ov000_020623d8(void *param1, unk32 param2); -unk8 func_ov000_02070164(void *); //! TODO: turn to a class +void func_ov000_0205bedc(void* param1, void* param2, void* param3, void* param4, unk32 param5, int); +void func_ov000_020623d8(void* param1, unk32 param2); +unk8 func_ov000_02070164(void*); //! TODO: turn to a class void func_ov000_0205a950(u8 bgType, bool isTopScreen, bool); void func_ov000_0205a944(u8 bgType, bool isTopScreen, bool); -void *func_ov000_0208ea70(s32 /* PlayerCharacter */, unk32, bool); // returns pointer to .NSBTX -bool func_ov000_0205cbc4(RefStruct param1, VecFx32 *param2); -bool func_ov000_0205cf84(RefStruct param1, s16 *param2); +void* func_ov000_0208ea70(s32 /* PlayerCharacter */, unk32, bool); // returns pointer to .NSBTX +bool func_ov000_0205cbc4(RefStruct param1, VecFx32* param2); +bool func_ov000_0205cf84(RefStruct param1, s16* param2); void func_ov000_0205accc(); -Random *func_ov000_020704c8(); +Random* func_ov000_020704c8(); unk32 func_ov000_02090154(unk32); void func_ov000_0205ca34(); -void func_ov000_02088834(void *, void *, UnkAngleStruct); +void func_ov000_02088834(void*, void*, UnkAngleStruct); // overlay 2 -AdventureModeManager_160_14 *func_ov002_020b6520(void *, void *, int); -unk32 func_ov002_020b6cf4(void *, unk32 param1); -void func_ov002_020b6d50(void *); -void func_ov002_020b6d68(void *); +AdventureModeManager_160_14* func_ov002_020b6520(void*, void*, int); +unk32 func_ov002_020b6cf4(void*, unk32 param1); +void func_ov002_020b6d50(void*); +void func_ov002_020b6d68(void*); // overlay 3 -GameModeManagerBase_104 *func_ov003_020b6520(void *param1, void *param2); +GameModeManagerBase_104* func_ov003_020b6520(void* param1, void* param2); // overlay 4 -unk32 func_ov004_020b697c(void *, unk32 param1); +unk32 func_ov004_020b697c(void*, unk32 param1); // overlay 6 -AdventureModeManager_160_18 *func_ov006_020b6ab0(void *, void *); +AdventureModeManager_160_18* func_ov006_020b6ab0(void*, void*); // overlay 7 -void func_ov007_02102850(UnkStruct_027e0ce0 **); -void func_ov007_021028a0(UnkStruct_027e0ce0 **); +void func_ov007_02102850(UnkStruct_027e0ce0**); +void func_ov007_021028a0(UnkStruct_027e0ce0**); // overlay 8 -GameModeManagerBase_104 *func_ov008_020b6520(void *); +GameModeManagerBase_104* func_ov008_020b6520(void*); // overlay 9 -void func_ov009_020b669c(UnkStruct_ov031_02118fa4 *param1, unk32 param2, unk32 param3); -void func_ov009_020b675c(UnkStruct_ov031_02118fa4 *param1, unk32 param2); +void func_ov009_020b669c(UnkStruct_ov031_02118fa4* param1, unk32 param2, unk32 param3); +void func_ov009_020b675c(UnkStruct_ov031_02118fa4* param1, unk32 param2); // overlay 10 -AdventureModeManager_184_10 *func_ov010_020b6520(void *); -AdventureModeManager_184_10 *func_ov010_020b65fc(void *); -AdventureModeManager_184_14 *func_ov010_020b88c4(void *); +AdventureModeManager_184_10* func_ov010_020b6520(void*); +AdventureModeManager_184_10* func_ov010_020b65fc(void*); +AdventureModeManager_184_14* func_ov010_020b88c4(void*); // overlay 11 -AdventureModeManager_18C_10 *func_ov011_020b6520(void *, int); -void func_ov011_020b84f0(s16 *param1, void *, unk32 param2); -AdventureModeManager_190_10 *func_ov011_020b8e54(void *, int); +AdventureModeManager_18C_10* func_ov011_020b6520(void*, int); +void func_ov011_020b84f0(s16* param1, void*, unk32 param2); +AdventureModeManager_190_10* func_ov011_020b8e54(void*, int); // overlay 14 -unk32 func_ov014_020b6520(void *, int, int); +unk32 func_ov014_020b6520(void*, int, int); // overlay 20 -void func_ov020_020c86d8(void *); +void func_ov020_020c86d8(void*); // overlay 21 -const UnkStruct_ov021_02106c5c *func_ov021_020ea868(int index); +const UnkStruct_ov021_02106c5c* func_ov021_020ea868(int index); void func_ov021_020f8818(); // overlay 26 @@ -353,28 +353,28 @@ void func_ov026_020e9208(); void func_ov026_020efc40(unk32 param1); bool func_ov026_020f4be0(int, int); unk32 func_ov026_020f4c9c(SceneIndex); -u16 func_ov026_02106564(void *); +u16 func_ov026_02106564(void*); bool func_ov026_0210d664(SceneIndex sceneIndex, MapObjectId mapObjId); unk32 func_ov026_0212e54c(); // overlay 31 -void func_ov031_020dcea4(void *, UnkStruct_027e0ce0_40_Base_78 *, UnkAngleStruct); +void func_ov031_020dcea4(void*, UnkStruct_027e0ce0_40_Base_78*, UnkAngleStruct); void func_ov031_020e0f30(RefStruct); -unk16 func_ov031_020e3dd0(Actor *param0); -void func_ov031_020f439c(void *, Vec3s *, unk32); +unk16 func_ov031_020e3dd0(Actor* param0); +void func_ov031_020f439c(void*, Vec3s*, unk32); void func_ov031_0210acd4(Vec2bCpp); -unk32 func_ov031_0210af50(Vec2bCpp, unk32 *); +unk32 func_ov031_0210af50(Vec2bCpp, unk32*); void func_ov031_0210b0e4(Vec2bCpp, unk32); -void func_ov031_020e0d98(unk32 param1, RefStruct ref, VecFx32 *param3, Sphere *param4, UnkAngleStruct param5); +void func_ov031_020e0d98(unk32 param1, RefStruct ref, VecFx32* param3, Sphere* param4, UnkAngleStruct param5); // overlay 34 -void func_ov034_02121de4(void *); +void func_ov034_02121de4(void*); // overlay 40 void func_ov040_0212bab4(unk32); // might be in Actor class or one of its subclasses // overlay 70 -UnkStruct_ov070_0214dc74 *func_ov070_02143fe4(int index); +UnkStruct_ov070_0214dc74* func_ov070_02143fe4(int index); // overlay 71 void func_ov071_0215e8d4(); @@ -384,15 +384,15 @@ void func_ov084_0216122c(); void func_ov084_021612ac(); // overlay 89 -void func_ov089_02165b18(void *); -void func_ov089_02165c34(void *); +void func_ov089_02165b18(void*); +void func_ov089_02165c34(void*); // overlay 94 -void func_ov094_02170f7c(MapObjectUnkWLMS *, stack_ov000_02073578 *); +void func_ov094_02170f7c(MapObjectUnkWLMS*, stack_ov000_02073578*); unk32 func_ov094_02170fa0(); -void func_ov094_02170fd4(MapObjectUnkWLMS *); +void func_ov094_02170fd4(MapObjectUnkWLMS*); // overlay 95 -void func_ov095_0217aa88(void *, unk16 *, unk32, UnkAngleStruct); -void func_ov095_0217aaa8(void *, unk16 *, unk32); +void func_ov095_0217aa88(void*, unk16*, unk32, UnkAngleStruct); +void func_ov095_0217aaa8(void*, unk16*, unk32); } diff --git a/include/Course/CourseManager.hpp b/include/Course/CourseManager.hpp index 8e67c20ef..43833d217 100644 --- a/include/Course/CourseManager.hpp +++ b/include/Course/CourseManager.hpp @@ -20,8 +20,8 @@ class ActorUnkMLCK_A0; template class FixedVector { private: - /* 00 */ T *mpBegin; - /* 04 */ T *mpEnd; + /* 00 */ T* mpBegin; + /* 04 */ T* mpEnd; /* 08 */ size_t mCapacity; public: @@ -30,17 +30,17 @@ template class FixedVector { mpEnd(NULL), mCapacity(0) {} - void Init(T *pFrom, size_t capacity) { + void Init(T* pFrom, size_t capacity) { this->mpBegin = pFrom; this->mpEnd = pFrom; this->mCapacity = capacity; } - T *begin() { + T* begin() { return this->mpBegin; } - T *end() { + T* end() { return this->mpEnd; } @@ -77,7 +77,7 @@ class UnkStruct_ov001_020c40f4 { type(t), id(i) {} - bool operator()(const UnkStruct_ov001_020c40f4 &elem) const { + bool operator()(const UnkStruct_ov001_020c40f4& elem) const { return type == elem.mUnk_0E && id == elem.mUnk_14; } }; @@ -113,7 +113,7 @@ class UnkStruct_027e0cd8_0C_Base_148_00 : public UnkStruct_027e0cd8_0C_Base_148_ /* 14 */ VecFx32x2 mUnk_14; /* 2C */ - UnkStruct_027e0cd8_0C_Base_148_00(ZMBEntryARAB *pARAB); + UnkStruct_027e0cd8_0C_Base_148_00(ZMBEntryARAB* pARAB); ~UnkStruct_027e0cd8_0C_Base_148_00(); }; @@ -122,7 +122,7 @@ class UnkStruct_027e0cd8_0C_Base_148_01 : public UnkStruct_027e0cd8_0C_Base_148_ /* 00 (base) */ PAD(0x14, 0x28); /* 28 */ - UnkStruct_027e0cd8_0C_Base_148_01(ZMBEntryARAB *pARAB); + UnkStruct_027e0cd8_0C_Base_148_01(ZMBEntryARAB* pARAB); ~UnkStruct_027e0cd8_0C_Base_148_01(); }; @@ -131,7 +131,7 @@ class UnkStruct_027e0cd8_0C_Base_148_02 : public UnkStruct_027e0cd8_0C_Base_148_ /* 00 (base) */ PAD(0x14, 0x34); /* 34 */ - UnkStruct_027e0cd8_0C_Base_148_02(ZMBEntryARAB *pARAB); + UnkStruct_027e0cd8_0C_Base_148_02(ZMBEntryARAB* pARAB); ~UnkStruct_027e0cd8_0C_Base_148_02(); }; @@ -191,7 +191,7 @@ class MapManagerBase { }; }; /* 088 */ SkyboxManager mSkyboxMgr; - /* 098 */ UnkStruct_027e0cd8_0C_Base_98 *mUnk_098; + /* 098 */ UnkStruct_027e0cd8_0C_Base_98* mUnk_098; /* 09C */ Vec2us mUnk_09C; /* 0A0 */ VecFx32 mUnk_0A0; /* 0AC */ bool mUnk_0AC; @@ -202,10 +202,10 @@ class MapManagerBase { /* 0B1 */ u8 mUnk_0B1; /* 0B2 */ u8 mUnk_0B2; /* 0B3 */ u8 mUnk_0B3; - /* 0B4 */ ZeldaObjectList *mUnk_0B4; - /* 0B8 */ ZeldaObjectList *mUnk_0B8[8]; // map objects - /* 0D8 */ ZeldaObjectList *mUnk_0D8; - /* 0DC */ ZeldaObjectList *mUnk_0DC[8]; // actors + /* 0B4 */ ZeldaObjectList* mUnk_0B4; + /* 0B8 */ ZeldaObjectList* mUnk_0B8[8]; // map objects + /* 0D8 */ ZeldaObjectList* mUnk_0D8; + /* 0DC */ ZeldaObjectList* mUnk_0DC[8]; // actors /* 0FC */ unk32 mUnk_0FC; /* 100 */ volatile BOOL mIsCS; /* 104 */ UnkFlags1 mUnk_104; @@ -223,15 +223,15 @@ class MapManagerBase { /* 12C */ bool mUnk_12C; /* 12D */ bool mUnk_12D; /* 12E */ bool mUnk_12E; - /* 130 */ ZMBSectionROMB *mpROMB; - /* 134 */ ZMBSectionCAME *mpCAME; - /* 138 */ ZMBSectionCMPT *mpCMPT; - /* 13C */ FixedVector mUnk_13C; // related to player - /* 148 */ CustomVector mUnk_148; // related to "arrange" stuff - /* 154 */ CustomVector mUnk_154; // exit list? + /* 130 */ ZMBSectionROMB* mpROMB; + /* 134 */ ZMBSectionCAME* mpCAME; + /* 138 */ ZMBSectionCMPT* mpCMPT; + /* 13C */ FixedVector mUnk_13C; // related to player + /* 148 */ CustomVector mUnk_148; // related to "arrange" stuff + /* 154 */ CustomVector mUnk_154; // exit list? /* 160 */ - MapManagerBase(CourseManager *pCourseMgr); + MapManagerBase(CourseManager* pCourseMgr); /* 00 */ virtual ~MapManagerBase(); /* 08 */ virtual void vfunc_08(); @@ -239,47 +239,47 @@ class MapManagerBase { /* 10 */ virtual void vfunc_10(); /* 14 */ virtual void vfunc_14(); /* 18 */ virtual void vfunc_18(); - /* 1C */ virtual void vfunc_1C(const EntranceInfo *param1, bool param2, bool param3); + /* 1C */ virtual void vfunc_1C(const EntranceInfo* param1, bool param2, bool param3); /* 20 */ virtual void vfunc_20(); /* 24 */ virtual void vfunc_24(); - /* 28 */ virtual fx32 vfunc_28(VecFx32 *param1, unk32 param2, unk32 param3); + /* 28 */ virtual fx32 vfunc_28(VecFx32* param1, unk32 param2, unk32 param3); /* 2C */ virtual void vfunc_2C(); - /* 30 */ virtual void LoadSceneModel(const EntranceInfo *param1); - /* 34 */ virtual void ZMB_ParseROMB(ZMBSectionROMB *pROMB); + /* 30 */ virtual void LoadSceneModel(const EntranceInfo* param1); + /* 34 */ virtual void ZMB_ParseROMB(ZMBSectionROMB* pROMB); /* 38 */ virtual void vfunc_38(); /* 3C */ virtual void vfunc_3C(); /* 40 */ virtual void vfunc_40(u8 spawnIndex); // itcm - fx32 func_01ffedf4(Vec2bCpp *pPos); + fx32 func_01ffedf4(Vec2bCpp* pPos); // overlay 0 - unk32 func_ov000_02080180(Vec2bCpp *param1); - void func_ov000_020801b0(Vec2bCpp *param1, unk32 param2, unk32 param3); - bool func_ov000_020802ec(u16 param1, VecFx32 *param2); + unk32 func_ov000_02080180(Vec2bCpp* param1); + void func_ov000_020801b0(Vec2bCpp* param1, unk32 param2, unk32 param3); + bool func_ov000_020802ec(u16 param1, VecFx32* param2); void func_ov000_020803ec(u16 param1); void func_ov000_0208053c(u16 param1); - UnkStruct_027e0cd8_0C_Base_148_00 *func_ov000_02080620(unk32 param1); //! TODO wrong class? weirdness with mUnk_14 - bool func_ov000_02080658(unk32 param1, EntranceInfo *param2); - void func_ov000_020808f4(void *param1, Vec2bCpp *param2, u8 param3); + UnkStruct_027e0cd8_0C_Base_148_00* func_ov000_02080620(unk32 param1); //! TODO wrong class? weirdness with mUnk_14 + bool func_ov000_02080658(unk32 param1, EntranceInfo* param2); + void func_ov000_020808f4(void* param1, Vec2bCpp* param2, u8 param3); void func_ov000_020809d8(unk32 param1, unk32 param2); unk32 func_ov000_02080a44(); - void func_ov000_02080a5c(VecFx32 *param1); - void func_ov000_02080a78(VecFx32 *param1); - bool func_ov000_02082008(Vec2bCpp *param1); - bool func_ov000_0208217c(VecFx32 *param1, unk32 param2); + void func_ov000_02080a5c(VecFx32* param1); + void func_ov000_02080a78(VecFx32* param1); + bool func_ov000_02082008(Vec2bCpp* param1); + bool func_ov000_0208217c(VecFx32* param1, unk32 param2); // overlay 1 - void func_ov001_020b85d0(const EntranceInfo *param1); + void func_ov001_020b85d0(const EntranceInfo* param1); void func_ov001_020b88c0(unk32 param1); void func_ov001_020b88ec(); - const UnkStruct_ov001_020c40f4 *func_ov001_020b8a5c(unk32 spawnIndex, unk32 param1); + const UnkStruct_ov001_020c40f4* func_ov001_020b8a5c(unk32 spawnIndex, unk32 param1); void func_ov001_020b8aec(); - void func_ov001_020b8b94(ZMBEntryARAB *pARAB); - void func_ov001_020b8c30(const EntranceInfo ¶m1); - const EntranceInfo *func_ov001_020b8c80(unk32 param1); - void func_ov001_020b8c90(ZMBSectionCMPT *pCMPT); - void func_ov001_020b8c98(ZMBSectionCAME *pCAME); + void func_ov001_020b8b94(ZMBEntryARAB* pARAB); + void func_ov001_020b8c30(const EntranceInfo& param1); + const EntranceInfo* func_ov001_020b8c80(unk32 param1); + void func_ov001_020b8c90(ZMBSectionCMPT* pCMPT); + void func_ov001_020b8c98(ZMBSectionCAME* pCAME); void InitSkybox(); void func_ov001_020b8e24(); void func_ov001_020b8e54(); @@ -298,10 +298,10 @@ class UnkStruct_027e0cd8_0C_1D0 { /* ?? */ virtual ~UnkStruct_027e0cd8_0C_1D0(); // overlay 31 - void func_ov031_020d9314(unk32 param1, ActorUnkMLCK_A0 *param2); - void func_ov031_020d9398(void *param1); + void func_ov031_020d9314(unk32 param1, ActorUnkMLCK_A0* param2); + void func_ov031_020d9398(void* param1); - static void func_ov031_020d9368(Actor *pActor, Actor_vfunc_30 *param2); + static void func_ov031_020d9368(Actor* pActor, Actor_vfunc_30* param2); // overlay 101 void func_ov101_021837a0(); @@ -310,23 +310,23 @@ class UnkStruct_027e0cd8_0C_1D0 { class MapManagerLand : public MapManagerBase { public: /* 000 (base) */ - /* 160 */ UnkSystem3 *mUnk_160[4]; - /* 170 */ ModelRender_UnkSystem1 *mUnk_170[4][5]; + /* 160 */ UnkSystem3* mUnk_160[4]; + /* 170 */ ModelRender_UnkSystem1* mUnk_170[4][5]; /* 1C0 */ s32 mUnk_1C0[4]; - /* 1D0 */ UnkStruct_027e0cd8_0C_1D0 *mUnk_1D0; + /* 1D0 */ UnkStruct_027e0cd8_0C_1D0* mUnk_1D0; /* 1D4 */ unk32 mUnk_1D4; /* 1D8 */ unk32 mUnk_1D8; /* 1DC */ bool mUnk_1DC; /* 1DD */ bool mUnk_1DD; /* 1E0 */ - MapManagerLand(CourseManager *pCourseMgr); + MapManagerLand(CourseManager* pCourseMgr); // data_ov031_02112a0c /* 00 */ WEAK virtual ~MapManagerLand() override; /* 08 */ virtual void vfunc_08() override; /* 0C */ virtual void vfunc_0C() override; - /* 1C */ virtual void vfunc_1C(const EntranceInfo *param1, bool param2, bool param3) override; + /* 1C */ virtual void vfunc_1C(const EntranceInfo* param1, bool param2, bool param3) override; /* 38 */ virtual void vfunc_38() override; // overlay 31 @@ -335,8 +335,8 @@ class MapManagerLand : public MapManagerBase { void func_ov031_020d88c0(); void func_ov031_020d8ae4(); - static void func_ov031_020d8cb8(G3d_RenderState *param1); - static void func_ov031_020d8cd0(void *modelRender, G3d_RenderState *param1); + static void func_ov031_020d8cb8(G3d_RenderState* param1); + static void func_ov031_020d8cd0(void* modelRender, G3d_RenderState* param1); // overlay 102 void func_ov102_02184628(); @@ -347,7 +347,7 @@ class MapManagerTrain : public MapManagerBase { /* 00 (base) */ /* 04 */ PAD(0x160, 0x4F8); - MapManagerTrain(CourseManager *pCourseMgr); + MapManagerTrain(CourseManager* pCourseMgr); // data_ov026_02136598 /* 00 */ virtual ~MapManagerTrain() override; @@ -355,11 +355,11 @@ class MapManagerTrain : public MapManagerBase { /* 0C */ virtual void vfunc_0C() override; /* 10 */ virtual void vfunc_10() override; /* 14 */ virtual void vfunc_14() override; - /* 1C */ virtual void vfunc_1C(const EntranceInfo *param1, bool param2, bool param3) override; + /* 1C */ virtual void vfunc_1C(const EntranceInfo* param1, bool param2, bool param3) override; /* 20 */ virtual void vfunc_20() override; /* 24 */ virtual void vfunc_24() override; - /* 28 */ virtual fx32 vfunc_28(VecFx32 *param1, unk32 param2, unk32 param3) override; - /* 30 */ virtual void LoadSceneModel(const EntranceInfo *param1) override; + /* 28 */ virtual fx32 vfunc_28(VecFx32* param1, unk32 param2, unk32 param3) override; + /* 30 */ virtual void LoadSceneModel(const EntranceInfo* param1) override; /* 38 */ virtual void vfunc_38() override; /* 3C */ virtual void vfunc_3C() override; /* 40 */ virtual void vfunc_40(u8 spawnIndex) override; @@ -369,7 +369,7 @@ class MapManagerBattle : public MapManagerBase { public: /* 00 (base) */ - MapManagerBattle(CourseManager *pCourseMgr); + MapManagerBattle(CourseManager* pCourseMgr); }; class UnkStruct_027e0cd8_04_0C { @@ -393,7 +393,7 @@ class UnkStruct_027e0cd8_04 { /* 00 */ bool mUnk_01; /* 04 */ unk32 mUnk_04; /* 08 */ unk32 mUnk_08; - /* 0C */ UnkStruct_027e0cd8_04_0C *mUnk_0C; + /* 0C */ UnkStruct_027e0cd8_04_0C* mUnk_0C; /* 10 */ u8 mUnk_10; /* 10 */ u8 mUnk_11; /* 12 */ u8 mUnk_12; @@ -411,12 +411,12 @@ class UnkStruct_027e0cd8_04 { UnkStruct_027e0cd8_04(); ~UnkStruct_027e0cd8_04(); - void func_ov000_02081354(const CourseListEntry *pEntry, const UnkStruct_func_ov000_020702a8 *pUnk1, - SaveFile_00000_0000_Data_184 *param3, bool param4); + void func_ov000_02081354(const CourseListEntry* pEntry, const UnkStruct_func_ov000_020702a8* pUnk1, + SaveFile_00000_0000_Data_184* param3, bool param4); void func_ov000_02081874(u16 nEntries); - void func_ov000_020819a4(const UnkStruct_func_ov000_020702a8 *pUnk1); - void func_ov000_020818d0(CourseListRoomEntry *param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5); - void func_ov000_0208199c(SceneIndex sceneIndex, void *param2, unk32 param3); + void func_ov000_020819a4(const UnkStruct_func_ov000_020702a8* pUnk1); + void func_ov000_020818d0(CourseListRoomEntry* param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5); + void func_ov000_0208199c(SceneIndex sceneIndex, void* param2, unk32 param3); }; class UnkStruct_027e0cd8_10 : public UnkDataStruct4 { @@ -432,10 +432,10 @@ class UnkStruct_027e0cd8_10 : public UnkDataStruct4 { class CourseManager : public AutoInstance { public: /* 00 */ Vec2s mUnk_00; - /* 04 */ UnkStruct_027e0cd8_04 *mUnk_04; // stage flags - /* 08 */ UnkStruct_027e0cd8_04 *mUnk_08; - /* 0C */ MapManagerBase *mpMapMgr; - /* 10 */ UnkStruct_027e0cd8_10 *mUnk_10; + /* 04 */ UnkStruct_027e0cd8_04* mUnk_04; // stage flags + /* 08 */ UnkStruct_027e0cd8_04* mUnk_08; + /* 0C */ MapManagerBase* mpMapMgr; + /* 10 */ UnkStruct_027e0cd8_10* mUnk_10; /* 14 */ unk16 mUnk_14; /* 16 */ bool mUnk_16; /* 16 */ bool mUnk_17; @@ -447,16 +447,16 @@ class CourseManager : public AutoInstance { /* 48 */ bool mUnk_48[2]; /* 4C */ - MapManagerLand *GetMapMgrLand() { - return (MapManagerLand *) this->mpMapMgr; + MapManagerLand* GetMapMgrLand() { + return (MapManagerLand*) this->mpMapMgr; } - MapManagerTrain *GetMapMgrTrain() { - return (MapManagerTrain *) this->mpMapMgr; + MapManagerTrain* GetMapMgrTrain() { + return (MapManagerTrain*) this->mpMapMgr; } - MapManagerBattle *GetMapMgrBattle() { - return (MapManagerBattle *) this->mpMapMgr; + MapManagerBattle* GetMapMgrBattle() { + return (MapManagerBattle*) this->mpMapMgr; } CourseManager(); @@ -477,23 +477,23 @@ class CourseManager : public AutoInstance { void func_ov000_02081eec(unk16 param1, unk32 param2, unk32 param3); bool func_ov000_02081f3c(unk16 param1, unk32 param2); bool func_ov000_02082124(); - UnkStruct_027e0cd8_0C_1D0 *func_ov000_02082164(); // specifically for land + UnkStruct_027e0cd8_0C_1D0* func_ov000_02082164(); // specifically for land // overlay 1 - void func_ov001_020b7830(const EntranceInfo *param1); + void func_ov001_020b7830(const EntranceInfo* param1); void func_ov001_020b7a7c(); - void func_ov001_020b7b38(const CourseListEntry *pEntry, const UnkStruct_func_ov000_020702a8 *pUnk1); - void func_ov001_020b7c08(const EntranceInfo *param1, const UnkStruct_WarpUnk1_A0 *param2); - void func_ov001_020b7d64(const EntranceInfo *param1); + void func_ov001_020b7b38(const CourseListEntry* pEntry, const UnkStruct_func_ov000_020702a8* pUnk1); + void func_ov001_020b7c08(const EntranceInfo* param1, const UnkStruct_WarpUnk1_A0* param2); + void func_ov001_020b7d64(const EntranceInfo* param1); void func_ov001_020b7e50(); - void func_ov001_020b7e68(const EntranceInfo *param1, bool param2); + void func_ov001_020b7e68(const EntranceInfo* param1, bool param2); void func_ov001_020b803c(); bool func_ov001_020b80fc(SceneIndex sceneIndex); void func_ov001_020b8120(SceneIndex sceneIndex); void func_ov001_020b818c(); - static CourseManager *Create(); + static CourseManager* Create(); static void Destroy(); }; -extern CourseManager *gpCourseManager; +extern CourseManager* gpCourseManager; diff --git a/include/Cutscene/Cutscene.hpp b/include/Cutscene/Cutscene.hpp index d313d5b9c..7be7082b9 100644 --- a/include/Cutscene/Cutscene.hpp +++ b/include/Cutscene/Cutscene.hpp @@ -56,7 +56,7 @@ enum CutsceneIndex_ { }; struct CutsceneParamsEntry { - /* 00 */ const char *mUnk_00; + /* 00 */ const char* mUnk_00; /* 04 */ u8 mSceneIndex; /* 05 */ u8 mRoomIndex; /* 06 */ u8 mSpawnIndex; @@ -75,7 +75,7 @@ struct CutsceneParamsEntry { /* 1C */ }; -CutsceneParamsEntry *Cutscene_GetParamEntry(s32 csIndex); +CutsceneParamsEntry* Cutscene_GetParamEntry(s32 csIndex); s32 func_ov000_020a7840(unk32 param1, unk32 param2); bool Cutscene_IsAdventureFlagSet(s32 csIndex); diff --git a/include/FileSelect/FileSelect.hpp b/include/FileSelect/FileSelect.hpp index 082a7638e..ab4f1fa2a 100644 --- a/include/FileSelect/FileSelect.hpp +++ b/include/FileSelect/FileSelect.hpp @@ -71,18 +71,18 @@ class FileSelectSubScreen : public FileSelect_UnkClass2_Sub4_Base { // data_ov019_020d22b8 vtable /* 00 */ virtual ~FileSelectSubScreen() override {} - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl) override; - /* 10 */ virtual void vfunc_10(unk8 *param1) override; + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl) override; + /* 10 */ virtual void vfunc_10(unk8* param1) override; }; class FileSelectManager : public GameModeManagerBase { // 0x02262DBC public: /* 000 (base) */ - /* 154 */ GameModeManagerBase_104 *mUnk_154; - /* 158 */ FileSelectMain *mUnk_158; - /* 15C */ FileSelectSubScreen *mUnk_15C; - /* 160 */ FileSelectManager_160 *mUnk_160; - /* 164 */ FileSelectManager_164 *mUnk_164; + /* 154 */ GameModeManagerBase_104* mUnk_154; + /* 158 */ FileSelectMain* mUnk_158; + /* 15C */ FileSelectSubScreen* mUnk_15C; + /* 160 */ FileSelectManager_160* mUnk_160; + /* 164 */ FileSelectManager_164* mUnk_164; /* 168 */ UnkSystem1_ov019_Derived2 mUnk_168; /* 180 */ @@ -113,10 +113,10 @@ class FileSelectManager : public GameModeManagerBase { // 0x02262DBC /* 08 */ virtual ~FileSelectManager() override; /* 10 */ virtual void vfunc_10(unk32 param1, unk32 param2, unk32 param3) override; /* 24 */ virtual void vfunc_24() override; - /* 28 */ virtual void vfunc_28(unk8 *param1) override; - /* 2C */ virtual void DrawUI(unk8 *param1) override; + /* 28 */ virtual void vfunc_28(unk8* param1) override; + /* 2C */ virtual void DrawUI(unk8* param1) override; - static GameModeManagerBase *Create(UnkStruct_0204a110_Sub2 *param1); + static GameModeManagerBase* Create(UnkStruct_0204a110_Sub2* param1); }; // static initializers classes diff --git a/include/FileSelect/FileSelectMain.hpp b/include/FileSelect/FileSelectMain.hpp index 53cadf7af..c6a6dd04c 100644 --- a/include/FileSelect/FileSelectMain.hpp +++ b/include/FileSelect/FileSelectMain.hpp @@ -152,11 +152,11 @@ class FileSelectMain : public GameModeManagerBase_104 { // 022E5F70 /* 1C04 */ UnkSystem1_ov019_Derived3 mUnk_1C04; /* 1C28 */ - UnkSubStruct9 &GetUnk03E0(int saveSlotIndex) { + UnkSubStruct9& GetUnk03E0(int saveSlotIndex) { return this->mUnk_03E0.Get(saveSlotIndex); } - UnkSubStruct9 &GetUnk03E0() { + UnkSubStruct9& GetUnk03E0() { return this->GetUnk03E0(this->mSaveSlotIndex); } @@ -267,7 +267,7 @@ class FileSelectMain : public GameModeManagerBase_104 { // 022E5F70 // data_ov019_020d1ec0 vtable /* 00 */ virtual ~FileSelectMain() override; - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl) override; - /* 10 */ virtual void vfunc_10(unk8 *param1) override; + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl) override; + /* 10 */ virtual void vfunc_10(unk8* param1) override; /* 18 */ virtual void vfunc_18(void) override; }; diff --git a/include/FileSelect/FileSelectMicTest.hpp b/include/FileSelect/FileSelectMicTest.hpp index 41ca62c07..f860b0b5f 100644 --- a/include/FileSelect/FileSelectMicTest.hpp +++ b/include/FileSelect/FileSelectMicTest.hpp @@ -55,7 +55,7 @@ class UnkStruct_ov019_020d24c8_28_304 { UnkStruct_ov019_020d24c8_28_304(unk32 buttonID, unk32 param2, unk32 param3, unk32 param4, unk32 param5, unk32 param6) : mUnk_044(buttonID, param2, param3, param4, param5, param6), mUnk_0A4(&mUnk_044) {} - void func_0201e874(unk32 buttonID, void *param2, void *param3, unk32 param4); + void func_0201e874(unk32 buttonID, void* param2, void* param3, unk32 param4); }; // defines the mic test screen (0x022E9B84) @@ -87,7 +87,7 @@ class FileSelectMicTest : public GameModeManagerBase_104 { // data_ov019_020d2284 vtable /* 00 */ virtual ~FileSelectMicTest() override; - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl) override; - /* 10 */ virtual void vfunc_10(unk8 *param1) override; - /* 14 */ virtual void vfunc_14(unk8 *param1) override; + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl) override; + /* 10 */ virtual void vfunc_10(unk8* param1) override; + /* 14 */ virtual void vfunc_14(unk8* param1) override; }; diff --git a/include/FileSelect/FileSelectOptions.hpp b/include/FileSelect/FileSelectOptions.hpp index 77a72d0c3..66e0097e4 100644 --- a/include/FileSelect/FileSelectOptions.hpp +++ b/include/FileSelect/FileSelectOptions.hpp @@ -30,7 +30,7 @@ class UnkStruct_ov019_020d24c8_2C_24_FC3 { class UnkStruct_ov019_020d24c8_2C_24_FB0 { public: - /* 00 */ UnkSystem2_UnkSubSystem5 *mUnk_00[6]; + /* 00 */ UnkSystem2_UnkSubSystem5* mUnk_00[6]; /* 18 */ UnkStruct_ov019_020d24c8_2C_24_FB0() {} @@ -38,7 +38,7 @@ class UnkStruct_ov019_020d24c8_2C_24_FB0 { class UnkStruct_ov019_020d24c8_2C_24_FB8 { public: - /* 00 */ UnkSystem2_UnkSubSystem1_Derived1 *mUnk_00[6]; + /* 00 */ UnkSystem2_UnkSubSystem1_Derived1* mUnk_00[6]; /* 18 */ UnkStruct_ov019_020d24c8_2C_24_FB8() {} @@ -68,10 +68,10 @@ class UnkStruct_ov019_020d24c8_2C_24 { /* 0EF0 */ UnkSystem2_UnkSubSystem1_Derived1 mUnk_EF0; // left arrow /* 0F50 */ UnkSystem2_UnkSubSystem1_Derived1 mUnk_F50; // right arrow - /* 0FB0 */ UnkStruct_ov019_020d24c8_2C_24_FB0 *mUnk_FB0; - /* 0FB4 */ UnkStruct_ov019_020d24c8_2C_24_FB0 *mUnk_FB4; - /* 0FB8 */ UnkStruct_ov019_020d24c8_2C_24_FB8 *mUnk_FB8; - /* 0FBC */ UnkStruct_ov019_020d24c8_2C_24_FB8 *mUnk_FBC; + /* 0FB0 */ UnkStruct_ov019_020d24c8_2C_24_FB0* mUnk_FB0; + /* 0FB4 */ UnkStruct_ov019_020d24c8_2C_24_FB0* mUnk_FB4; + /* 0FB8 */ UnkStruct_ov019_020d24c8_2C_24_FB8* mUnk_FB8; + /* 0FBC */ UnkStruct_ov019_020d24c8_2C_24_FB8* mUnk_FBC; /* 0FC0 */ u8 mUnk_FC0; /* 0FC1 */ u8 mUnk_FC1; /* 0FC2 */ u8 mUnk_FC2; @@ -80,7 +80,7 @@ class UnkStruct_ov019_020d24c8_2C_24 { /* 103E */ unk16 mUnk_103E; /* 1040 */ - UnkStruct_ov019_020d24c8_2C_24(GameModeManagerBase_104_0C *param1, s32 saveSlotIndex); + UnkStruct_ov019_020d24c8_2C_24(GameModeManagerBase_104_0C* param1, s32 saveSlotIndex); ~UnkStruct_ov019_020d24c8_2C_24(); void func_ov019_020ce414(); @@ -163,8 +163,8 @@ class FileSelectOptions : public GameModeManagerBase_104 { // data_ov019_020d2200 vtable /* 00 */ virtual ~FileSelectOptions() override; - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl) override; - /* 10 */ virtual void vfunc_10(unk8 *param1) override; + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl) override; + /* 10 */ virtual void vfunc_10(unk8* param1) override; - static GameModeManagerBase_104 *Create(void *param1, s32 saveSlotIndex); + static GameModeManagerBase_104* Create(void* param1, s32 saveSlotIndex); }; diff --git a/include/FileSelect/FileSelectOptionsManager.hpp b/include/FileSelect/FileSelectOptionsManager.hpp index bb1149d45..9f5019e35 100644 --- a/include/FileSelect/FileSelectOptionsManager.hpp +++ b/include/FileSelect/FileSelectOptionsManager.hpp @@ -24,20 +24,20 @@ class FileSelectOptionsManager : public OptionsManagerAssessor, /* 21 */ unk8 mUnk_21; /* 22 */ unk8 mUnk_22; /* 23 */ unk8 mUnk_23; - /* 24 */ GameModeManagerBase_104 *mUnk_24; - /* 28 */ FileSelectMicTest *mpMicTest; - /* 2C */ FileSelectOptions *mpOptions; + /* 24 */ GameModeManagerBase_104* mUnk_24; + /* 28 */ FileSelectMicTest* mpMicTest; + /* 2C */ FileSelectOptions* mpOptions; /* 30 */ - FileSelectOptionsManager(void *param1, unk32 param2); + FileSelectOptionsManager(void* param1, unk32 param2); void func_ov019_020cc85c(unk32 param1); unk32 func_ov019_020cc874(); // data_ov019_020d2224 vtable /* 00 */ virtual ~FileSelectOptionsManager() override; - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl) override; + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl) override; - static GameModeManagerBase_104 *Create(void *param1, s32 saveSlotIndex); + static GameModeManagerBase_104* Create(void* param1, s32 saveSlotIndex); }; -extern FileSelectOptionsManager *gpFSOptionsManager; +extern FileSelectOptionsManager* gpFSOptionsManager; diff --git a/include/FileSelect/FileSelectUnkDraw.hpp b/include/FileSelect/FileSelectUnkDraw.hpp index 2578d3ea7..56dcc83eb 100644 --- a/include/FileSelect/FileSelectUnkDraw.hpp +++ b/include/FileSelect/FileSelectUnkDraw.hpp @@ -30,13 +30,13 @@ class FileSelectManager_160 : public FileSelectManager_UnkDrawBase { public: /* 00 (vtable) */ /* 0C */ unk32 mUnk_0C; - /* 10 */ FileSelectMain *mUnk_10; - /* 14 */ GameModeManagerBase_104 *mUnk_14; - /* 18 */ GameModeManagerBase_104 *mUnk_18; - /* 1C */ void *mUnk_1C; + /* 10 */ FileSelectMain* mUnk_10; + /* 14 */ GameModeManagerBase_104* mUnk_14; + /* 18 */ GameModeManagerBase_104* mUnk_18; + /* 1C */ void* mUnk_1C; /* 20 */ - FileSelectManager_160(GameModeManagerBase_104 *param1, FileSelectMain *param2); + FileSelectManager_160(GameModeManagerBase_104* param1, FileSelectMain* param2); // data_ov019_020d23e0 vtable /* 00 */ virtual ~FileSelectManager_160() override; @@ -55,12 +55,12 @@ class FileSelectManager_164 : public FileSelectManager_UnkDrawBase { public: /* 00 (base) */ /* 0C */ unk32 mUnk_0C; - /* 10 */ FileSelectMain *mUnk_10; - /* 14 */ GameModeManagerBase_104 *mUnk_14; - /* 18 */ GameModeManagerBase_104 *mUnk_18; + /* 10 */ FileSelectMain* mUnk_10; + /* 14 */ GameModeManagerBase_104* mUnk_14; + /* 18 */ GameModeManagerBase_104* mUnk_18; /* 1C */ - FileSelectManager_164(GameModeManagerBase_104 *param1, FileSelectMain *param2); + FileSelectManager_164(GameModeManagerBase_104* param1, FileSelectMain* param2); // data_ov019_020d2410 vtable /* 04 */ virtual ~FileSelectManager_164() override; diff --git a/include/FileSelect/UnkSubStruct9.hpp b/include/FileSelect/UnkSubStruct9.hpp index c60ec3728..afda6d9a8 100644 --- a/include/FileSelect/UnkSubStruct9.hpp +++ b/include/FileSelect/UnkSubStruct9.hpp @@ -35,7 +35,7 @@ class UnkSubStruct9 { u16 param1; u16 param2; - void operator=(stack_struct2 &from) { + void operator=(stack_struct2& from) { this->param1 = from.param1; this->param2 = from.param2; } @@ -49,7 +49,7 @@ class UnkSubStruct9 { void func_ov019_020cbb40(); void func_ov019_020cbb94(); void func_ov019_020cbc0c(); - void func_ov019_020cc5ac(Vec2us *param1); + void func_ov019_020cc5ac(Vec2us* param1); void func_ov000_02062be0(); }; diff --git a/include/Game/Game.hpp b/include/Game/Game.hpp index 9483c656f..f47815319 100644 --- a/include/Game/Game.hpp +++ b/include/Game/Game.hpp @@ -22,7 +22,7 @@ class UnkStruct_02049a2c_1C { /* CC */ UnkStruct_02049a2c_1C(); - unk32 func_02013e18(void *param1, unk32 param2); + unk32 func_02013e18(void* param1, unk32 param2); // data_020437d8 vtable /* 00 */ virtual ~UnkStruct_02049a2c_1C(); @@ -31,11 +31,11 @@ class UnkStruct_02049a2c_1C { class Game { public: - /* 00 */ GameModeBase *mpCurrentGameMode; + /* 00 */ GameModeBase* mpCurrentGameMode; /* 04 */ GameModeCreateCallback createCallback; /* 08 */ GameUnkCallback1 mUnk_08; // seems related to entering and leaving houses/grottos?? /* 0C */ unk32 mFrameCounter; - /* 10 */ GameSaveSlot *mpSaveSlot; + /* 10 */ GameSaveSlot* mpSaveSlot; /* 14 */ GameUnkCallback2 mUnk_14; // only set for wireless stuff? /* 18 */ GameUnkCallback3 mUnk_18; // same as above /* 1C */ UnkStruct_02049a2c_1C mUnk_1C; @@ -53,11 +53,11 @@ class Game { void func_ov018_020c48a4(); void func_ov018_020c48f8(); // loads overlay 0 - GameModeFileSelect *GetGameModeFileSelect() { - return (GameModeFileSelect *) this->mpCurrentGameMode; + GameModeFileSelect* GetGameModeFileSelect() { + return (GameModeFileSelect*) this->mpCurrentGameMode; } - static GameModeStartUp *func_ov018_020c4ba8(); + static GameModeStartUp* func_ov018_020c4ba8(); }; extern Game gGame; diff --git a/include/Game/GameMode.hpp b/include/Game/GameMode.hpp index f822cb813..8178879e5 100644 --- a/include/Game/GameMode.hpp +++ b/include/Game/GameMode.hpp @@ -23,4 +23,4 @@ class GameModeBase { /* 28 */ }; -typedef GameModeBase *(*GameModeCreateCallback)(void); +typedef GameModeBase* (*GameModeCreateCallback)(void); diff --git a/include/Game/GameModeAdventure.hpp b/include/Game/GameModeAdventure.hpp index 8846a0ca0..6b4d6f6e9 100644 --- a/include/Game/GameModeAdventure.hpp +++ b/include/Game/GameModeAdventure.hpp @@ -22,5 +22,5 @@ class GameModeAdventure : public GameModeBase { /* 20 */ virtual void vfunc_20() override; // overlay 1 - static GameModeBase *Create(); + static GameModeBase* Create(); }; diff --git a/include/Game/GameModeBattle.hpp b/include/Game/GameModeBattle.hpp index f2f112612..ed00cddd6 100644 --- a/include/Game/GameModeBattle.hpp +++ b/include/Game/GameModeBattle.hpp @@ -25,5 +25,5 @@ class GameModeBattle : public GameModeBase { // overlay 1 void func_ov001_020bfd84(unk32 param1); - static GameModeBase *Create(); + static GameModeBase* Create(); }; diff --git a/include/Game/GameModeContactMode.hpp b/include/Game/GameModeContactMode.hpp index a35942d66..04f6aa1cd 100644 --- a/include/Game/GameModeContactMode.hpp +++ b/include/Game/GameModeContactMode.hpp @@ -16,8 +16,8 @@ class GameModeContactMode : public GameModeBase { /* 00 */ virtual ~GameModeContactMode() override; // overlay 1 - static GameModeBase *Create(); + static GameModeBase* Create(); // overlay 23 - static GameModeBase *CreateInstance(); + static GameModeBase* CreateInstance(); }; diff --git a/include/Game/GameModeDownloadPlay.hpp b/include/Game/GameModeDownloadPlay.hpp index 620087145..b5e35acd0 100644 --- a/include/Game/GameModeDownloadPlay.hpp +++ b/include/Game/GameModeDownloadPlay.hpp @@ -20,7 +20,7 @@ class GameModeDownloadPlay : public GameModeBase { public: /* 00 (base) */ /* 04 */ PAD(0x04, 0x48); - /* 48 */ UnkStruct_ov001_020c46fc *mUnk_48; + /* 48 */ UnkStruct_ov001_020c46fc* mUnk_48; /* 4C */ PAD(0x4C, 0x6C); /* 6C */ @@ -31,8 +31,8 @@ class GameModeDownloadPlay : public GameModeBase { // overlay 1 void func_ov001_020c09dc(); - static GameModeBase *Create(); + static GameModeBase* Create(); // overlay 22 - static GameModeBase *CreateInstance(); + static GameModeBase* CreateInstance(); }; diff --git a/include/Game/GameModeFileSelect.hpp b/include/Game/GameModeFileSelect.hpp index cf5e1be7d..533a7cce0 100644 --- a/include/Game/GameModeFileSelect.hpp +++ b/include/Game/GameModeFileSelect.hpp @@ -37,5 +37,5 @@ class GameModeFileSelect : public GameModeBase { /* 20 */ virtual void vfunc_20() override; /* 30 */ - static GameModeFileSelect *Create(); + static GameModeFileSelect* Create(); }; diff --git a/include/Game/GameModeManager.hpp b/include/Game/GameModeManager.hpp index 82772bb10..33b7cd693 100644 --- a/include/Game/GameModeManager.hpp +++ b/include/Game/GameModeManager.hpp @@ -27,7 +27,7 @@ class GameModeManagerBase_004_00 { class GameModeManagerBase_004 { public: - /* 00 */ GameModeManagerBase_004_00 *mUnk_00[60]; + /* 00 */ GameModeManagerBase_004_00* mUnk_00[60]; /* F0 */ GameModeManagerBase_004(); @@ -49,7 +49,7 @@ class GameModeManagerBase_004 { bool func_0201c2b0(unk32 param1); // overlay 1 - void func_ov001_020bd734(const s16 *param1); + void func_ov001_020bd734(const s16* param1); void func_ov001_020bd784(); }; @@ -61,8 +61,8 @@ class GameModeManagerBase_104_0C : public LinkList { // data_ov000_020b1e48 vtable /* 00 */ virtual ~GameModeManagerBase_104_0C(); - /* 08 */ virtual void vfunc_08(void *param1); - /* 0C */ virtual void vfunc_0C(void *param1); + /* 08 */ virtual void vfunc_08(void* param1); + /* 0C */ virtual void vfunc_0C(void* param1); }; class AdventureModeManager_160_14; @@ -83,10 +83,10 @@ class GameModeManagerBase_104 : public LinkList { // data_ov000_020b1e60 vtable /* 00 */ virtual ~GameModeManagerBase_104(); - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl); + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl); /* 0C */ virtual void vfunc_0C(unk32 param1); - /* 10 */ virtual void vfunc_10(unk8 *param1); - /* 14 */ virtual void vfunc_14(unk8 *param1); + /* 10 */ virtual void vfunc_10(unk8* param1); + /* 14 */ virtual void vfunc_14(unk8* param1); /* 18 */ virtual void vfunc_18(void); void func_ov088_0217230c(); @@ -102,7 +102,7 @@ class GameModeManagerBase { /* 0F4 */ unk8 mUnk_0F7; /* 0F8 */ unk32 mUnk_0F8; /* 0FC */ unk32 mUnk_0FC; - /* 100 */ UnkStruct_0204a110_Sub2 *mUnk_100; + /* 100 */ UnkStruct_0204a110_Sub2* mUnk_100; /* 104 */ GameModeManagerBase_104 mUnk_104; /* 120 */ Input mButtons; /* 126 */ TouchControl mTouchControl; @@ -118,28 +118,28 @@ class GameModeManagerBase { return this->mUnk_150; } - GameModeManagerBase(UnkStruct_0204a110_Sub2 *param1); + GameModeManagerBase(UnkStruct_0204a110_Sub2* param1); void func_02018550(void); void func_02018554(void); void func_02018634(u16 speed); - void *func_020186f8(unk32 param1); + void* func_020186f8(unk32 param1); void func_02018704(void); void func_02018714(unk32 param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5); void func_0201873c(void); void func_0201874c(void); void func_0201875c(void); - void func_02018830(unk8 *param1); + void func_02018830(unk8* param1); void func_02018908(); - void func_02018984(unk8 *param1); - void func_02018a14(unk8 *param1); + void func_02018984(unk8* param1); + void func_02018a14(unk8* param1); void func_02018a8c(void); void func_02018a9c(unk32 param1, unk32 param2); void func_02018aac(unk32 param1, bool param2); void func_02018ac4(unk16 param1); bool func_02018ad4(void); - bool func_02018af0(GameModeManagerBase_104 *param1); - bool func_02018b54(GameModeManagerBase_104 *param1); - bool func_02018b90(GameModeManagerBase_104 *param1, unk8 *param2); + bool func_02018af0(GameModeManagerBase_104* param1); + bool func_02018b54(GameModeManagerBase_104* param1); + bool func_02018b90(GameModeManagerBase_104* param1, unk8* param2); void func_02018bc4(unk32 param1); // data_02044064 vtable @@ -152,12 +152,12 @@ class GameModeManagerBase { /* 1C */ virtual void vfunc_1C(); /* 20 */ virtual void vfunc_20(); /* 24 */ virtual void vfunc_24(); - /* 28 */ virtual void vfunc_28(unk8 *param1); - /* 2C */ virtual void DrawUI(unk8 *param1); + /* 28 */ virtual void vfunc_28(unk8* param1); + /* 2C */ virtual void DrawUI(unk8* param1); /* 30 */ virtual void vfunc_30(unk32 param1); /* 34 */ virtual void vfunc_34(unk32 param1, unk32 param2); - static GameModeManagerBase *Create(UnkStruct_0204a110_Sub2 *param1); + static GameModeManagerBase* Create(UnkStruct_0204a110_Sub2* param1); }; class TitleScreenManager_Base : public GameModeManagerBase { @@ -179,10 +179,10 @@ class TitleScreenManager_Base : public GameModeManagerBase { void func_ov000_02060fc8(unk32 param1, unk32 param2, unk32 param3, unk32 param4); }; -extern TitleScreenManager_Base *gpCurrentGameModeMgr; +extern TitleScreenManager_Base* gpCurrentGameModeMgr; class AdventureModeManager; -static inline AdventureModeManager *GetAdventureModeManager() { - return (AdventureModeManager *) gpCurrentGameModeMgr; +static inline AdventureModeManager* GetAdventureModeManager() { + return (AdventureModeManager*) gpCurrentGameModeMgr; } diff --git a/include/Game/GameModeStartUp.hpp b/include/Game/GameModeStartUp.hpp index 82897796e..de8ebaf1c 100644 --- a/include/Game/GameModeStartUp.hpp +++ b/include/Game/GameModeStartUp.hpp @@ -24,8 +24,8 @@ class GameModeStartUp : public GameModeBase { /* 20 */ virtual void vfunc_20() override; // gets rid of the operator delete call in D0 - void operator delete(void *ptr) {} + void operator delete(void* ptr) {} }; -extern void func_ov018_020c4b08(unk16 *param1); +extern void func_ov018_020c4b08(unk16* param1); extern void func_ov018_020c4e8c(void); diff --git a/include/Game/GameModeTitleScreen.hpp b/include/Game/GameModeTitleScreen.hpp index 0cd16047b..49b3646e6 100644 --- a/include/Game/GameModeTitleScreen.hpp +++ b/include/Game/GameModeTitleScreen.hpp @@ -23,8 +23,8 @@ class GameModeTitleScreen : public GameModeBase { /* 20 */ virtual void vfunc_20() override; // overlay 1 - static GameModeBase *Create(); + static GameModeBase* Create(); }; -extern void func_ov018_020c4b08(unk16 *param1); +extern void func_ov018_020c4b08(unk16* param1); extern void func_ov018_020c4e8c(void); diff --git a/include/Item/ItemManager.hpp b/include/Item/ItemManager.hpp index 840f20d8f..2ac38224b 100644 --- a/include/Item/ItemManager.hpp +++ b/include/Item/ItemManager.hpp @@ -57,10 +57,10 @@ class UnkStruct_ItemManager_20_00_20 { // overlay 31 void func_ov031_020e096c(); - unk32 func_ov031_020e098c(VecFx32 *param1); + unk32 func_ov031_020e098c(VecFx32* param1); void func_ov031_020e09ec(bool param1, bool param2); - void func_ov031_020e0ad4(VecFx32 *param1); - void func_ov031_020e0b08(VecFx32 *param1); + void func_ov031_020e0ad4(VecFx32* param1); + void func_ov031_020e0b08(VecFx32* param1); void func_ov031_020e0b38(RefStruct ref, unk32 param1); }; @@ -88,19 +88,19 @@ class UnkStruct_ItemManager_20_00 { void func_ov031_020d9bd0(); void func_ov031_020dba40(); void func_ov031_020dba74(ItemFlag itemFlag); - bool func_ov031_020dba8c(bool param1, VecFx32 *param2); - bool func_ov031_020dbb38(bool param1, VecFx32 *param2); - bool func_ov031_020dbb54(const VecFx32 *pInitialPos, UnkAngleStruct initialAngle, RefStruct ref); + bool func_ov031_020dba8c(bool param1, VecFx32* param2); + bool func_ov031_020dbb38(bool param1, VecFx32* param2); + bool func_ov031_020dbb54(const VecFx32* pInitialPos, UnkAngleStruct initialAngle, RefStruct ref); bool func_ov031_020dbc18(u16 param1); void func_ov031_020dbc80(bool param1, bool param2); bool func_ov031_020dbd24(unk32 param1, unk32 param2, bool param3); - bool func_ov031_020dbd98(RefStruct ref, VecFx32 *param2, VecFx32 *param3); + bool func_ov031_020dbd98(RefStruct ref, VecFx32* param2, VecFx32* param3); }; class UnkStruct_ItemManager_20_04_08_310 { public: - /* 00 */ VecFx32 *mUnk_00; - /* 04 */ VecFx32 *mUnk_04; + /* 00 */ VecFx32* mUnk_00; + /* 04 */ VecFx32* mUnk_04; /* 08 */ unk32 mUnk_08; /* 0C */ bool mUnk_0C; /* 0D */ PAD(0x0D, 0x10); @@ -114,11 +114,11 @@ class UnkStruct_ItemManager_20_04_08_310 { return this->GetCount() - 1; } - VecFx32 *GetLast() const { + VecFx32* GetLast() const { return &this->mUnk_00[this->GetSecondToLastIndex()]; } - const fx32 GetMax(const VecFx32 *param1, VecFx32 *param2) const { + const fx32 GetMax(const VecFx32* param1, VecFx32* param2) const { if (func_01ffb9cc(this->GetLast(), param1) >= FX32_HALF) { VEC_Subtract(param1, this->GetLast(), param2); fx32 max = VEC_Mag(param2) / FX32_HALF; @@ -135,11 +135,11 @@ class UnkStruct_ItemManager_20_04_08_310 { return 0; } - UnkStruct_ItemManager_20_04_08_310(void *param1, unk32 param2, bool param3); + UnkStruct_ItemManager_20_04_08_310(void* param1, unk32 param2, bool param3); // overlay 0 - void func_ov000_0205b39c(const VecFx32 *param1); - void func_ov000_0205b3f4(void *param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5, u16 param6); + void func_ov000_0205b39c(const VecFx32* param1); + void func_ov000_0205b3f4(void* param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5, u16 param6); }; struct UnkStruct_ItemManager_20_04_32C_00 { @@ -149,7 +149,7 @@ struct UnkStruct_ItemManager_20_04_32C_00 { /* 14 */ UnkStruct_ItemManager_20_04_32C_00() {} - UnkStruct_ItemManager_20_04_32C_00(const UnkStruct_ItemManager_20_04_32C_00 *other) { + UnkStruct_ItemManager_20_04_32C_00(const UnkStruct_ItemManager_20_04_32C_00* other) { this->mRef = other->mRef; this->mUnk_04 = other->mUnk_04; this->mUnk_08 = other->mUnk_08; @@ -159,7 +159,7 @@ struct UnkStruct_ItemManager_20_04_32C_00 { class UnkStruct_ItemManager_20_04_32C { public: /* 00 */ UnkStruct_ItemManager_20_04_32C_00 mUnk_00[8]; - /* A0 */ UnkStruct_ItemManager_20_04_32C_00 *mUnk_A0; + /* A0 */ UnkStruct_ItemManager_20_04_32C_00* mUnk_A0; /* A4 */ RefStruct mUnk_A4; /* A8 */ @@ -167,11 +167,11 @@ class UnkStruct_ItemManager_20_04_32C { mUnk_A0(this->mUnk_00), mUnk_A4(0) {} - UnkStruct_ItemManager_20_04_32C_00 *GetUnk00() const { - return (UnkStruct_ItemManager_20_04_32C_00 *) this->mUnk_00; + UnkStruct_ItemManager_20_04_32C_00* GetUnk00() const { + return (UnkStruct_ItemManager_20_04_32C_00*) this->mUnk_00; } - const UnkStruct_ItemManager_20_04_32C_00 *GetUnkA0() const { + const UnkStruct_ItemManager_20_04_32C_00* GetUnkA0() const { return this->mUnk_A0; } @@ -179,7 +179,7 @@ class UnkStruct_ItemManager_20_04_32C { return this->mUnk_A0 - this->mUnk_00; } - void UnkAction1(UnkStruct_ItemManager_20_04_32C_00 *pEntry) { + void UnkAction1(UnkStruct_ItemManager_20_04_32C_00* pEntry) { this->mUnk_A0--; while (pEntry != this->mUnk_A0) { @@ -197,11 +197,11 @@ class UnkStruct_ItemManager_20_04_32C { s32 func_ov031_020d9ccc(RefStruct ref); bool func_ov031_020d9d10(RefStruct ref, u16 param2); bool func_ov031_020d9f34(RefStruct ref); - bool func_ov031_020d9fd0(u16 param1, const VecFx32 *param2); - void func_ov031_020da144(void *param1); + bool func_ov031_020d9fd0(u16 param1, const VecFx32* param2); + void func_ov031_020da144(void* param1); - static Actor *func_ov031_020d9c64(RefStruct ref); - static void func_ov031_020da104(RefStruct *pRef, UnkStruct_ItemManager_20_04_32C *thisx, u16 param3); + static Actor* func_ov031_020d9c64(RefStruct ref); + static void func_ov031_020da104(RefStruct* pRef, UnkStruct_ItemManager_20_04_32C* thisx, u16 param3); }; class UnkStruct_ItemManager_20_04_08 : public LinkList { @@ -212,7 +212,7 @@ class UnkStruct_ItemManager_20_04_08 : public LinkListmUnk_310; } @@ -234,10 +234,10 @@ class UnkStruct_ItemManager_20_04_08 : public LinkList { ~TreasureManager(); // overlay 0 - void func_ov000_020a9b10(void *param1); + void func_ov000_020a9b10(void* param1); static unk32 func_ov000_020a9b2c(unk32 param1); static unk32 func_ov000_020a9b3c(unk32 param1); unk32 func_ov000_020a9b4c(unk32 param1); @@ -592,7 +592,7 @@ class TreasureManager : public AutoInstance { unk32 func_ov000_020a9c90(TreasureType type); bool func_ov000_020a9ca4(TreasureType type); void func_ov000_020a9cbc(TreasureType type, s32 amount); - static u32 func_ov000_020a9cfc(u8 *param1, u8 param2); + static u32 func_ov000_020a9cfc(u8* param1, u8 param2); static unk32 func_ov000_020a9d78(unk32 param1); static unk32 func_ov000_020a9e14(unk32 param1); static unk32 func_ov000_020a9eb0(unk32 param1); @@ -600,13 +600,13 @@ class TreasureManager : public AutoInstance { ItemId func_ov000_020aa02c(ItemId itemId); void func_ov000_020aa0ac(ItemId itemId); - static TreasureManager *Create(); + static TreasureManager* Create(); // overlay 1 static void Destroy(); }; -extern TreasureManager *gpTreasureManager; +extern TreasureManager* gpTreasureManager; extern UnkStruct_ov000_020afc48 data_ov000_020afc48[ItemFlag_EQUIP_COUNT]; extern const u8 gQuiverCapacities[UpgradeCapacity_Max]; extern const u8 gBombBagCapacities[UpgradeCapacity_Max]; diff --git a/include/LinkList.hpp b/include/LinkList.hpp index fec5c1938..7435f582b 100644 --- a/include/LinkList.hpp +++ b/include/LinkList.hpp @@ -8,69 +8,69 @@ class LinkListNode { private: - /* 00 */ LinkListNode *mpNext; - /* 04 */ LinkListNode *mpPrev; + /* 00 */ LinkListNode* mpNext; + /* 04 */ LinkListNode* mpPrev; /* 08 */ public: - LinkListNode *GetNext() { + LinkListNode* GetNext() { return this->mpNext; } - LinkListNode *GetPrev() { + LinkListNode* GetPrev() { return this->mpPrev; } - void **GetPrevRef() { - return (void **) &this->mpPrev; + void** GetPrevRef() { + return (void**) &this->mpPrev; } - void SetNext(LinkListNode *pNext) { + void SetNext(LinkListNode* pNext) { this->mpNext = pNext; } - void SetPrev(LinkListNode *pPrev) { + void SetPrev(LinkListNode* pPrev) { this->mpPrev = pPrev; } }; class LinkListIterImpl { private: - LinkListNode *mPointer; + LinkListNode* mPointer; public: - LinkListIterImpl(LinkListNode *pNode) { + LinkListIterImpl(LinkListNode* pNode) { this->mPointer = pNode; } - LinkListNode *operator->() { + LinkListNode* operator->() { return this->mPointer; } - LinkListNode &operator*() { + LinkListNode& operator*() { return *this->mPointer; } - LinkListIterImpl &operator++() { - this->mPointer = (LinkListNode *) ((u8 *) this->mPointer + 4); + LinkListIterImpl& operator++() { + this->mPointer = (LinkListNode*) ((u8*) this->mPointer + 4); return *this; } - LinkListIterImpl &operator++(int) { + LinkListIterImpl& operator++(int) { this->mPointer = this->mPointer->GetNext(); return *this; } - LinkListIterImpl &operator--(int) { + LinkListIterImpl& operator--(int) { this->mPointer = mPointer->GetPrev(); return *this; } - friend bool operator==(LinkListIterImpl &left, LinkListNode *right) { + friend bool operator==(LinkListIterImpl& left, LinkListNode* right) { return left.mPointer == right; } - friend bool operator!=(LinkListIterImpl &left, LinkListNode *right) { + friend bool operator!=(LinkListIterImpl& left, LinkListNode* right) { return left.mPointer != right; } }; @@ -84,34 +84,34 @@ class LinkListImpl : public LinkListNode { LinkListImpl(); ~LinkListImpl(); - LinkListNode *GetOriginNode() { - return (LinkListNode *) this; + LinkListNode* GetOriginNode() { + return (LinkListNode*) this; } - LinkListNode *GetBeginIterImpl() { + LinkListNode* GetBeginIterImpl() { return this->GetNext(); } - LinkListNode *GetEndIterImpl() { + LinkListNode* GetEndIterImpl() { return this; } // insert B (`node`) between A (`this`) and C (`this->mNext`) - void Append(LinkListNode *node); + void Append(LinkListNode* node); // insert B (`node`) between A (`this->mPrev`) and C (`this`) - void Prepend(LinkListNode *node); + void Prepend(LinkListNode* node); // links list `node` to list `this` (append) - void Extend(LinkListNode *node); + void Extend(LinkListNode* node); // returns the number of how many nodes are following `this` s32 GetListLength(); // search through the list to determine if the node is inside it - bool Contains(LinkListNode *node); + bool Contains(LinkListNode* node); - static void Detach(LinkListNode *pNode); + static void Detach(LinkListNode* pNode); }; #define GetBeginIter(l) (GetLinkListRef(l)->GetNextTarget()) @@ -122,29 +122,29 @@ class LinkListImpl : public LinkListNode { template class LinkListIter { private: - T *mPointer; + T* mPointer; public: LinkListIter() {} - LinkListIter(T *pNode) { + LinkListIter(T* pNode) { this->mPointer = pNode; } - LinkListNode *GetNode() const { + LinkListNode* GetNode() const { return this->mPointer; } - T *operator->() const { + T* operator->() const { return this->mPointer; } - T &operator*() const { + T& operator*() const { return *this->mPointer; } void operator++() { - this->mPointer = (T *) ((u8 *) this->mPointer + 4); + this->mPointer = (T*) ((u8*) this->mPointer + 4); } void operator++(int) { @@ -155,19 +155,19 @@ template class LinkListIter { this->mPointer = mPointer->GetPrevTarget(); } - friend const bool operator==(LinkListIter &left, T *right) { + friend const bool operator==(LinkListIter& left, T* right) { return left.mPointer == right; } - friend const bool operator!=(LinkListIter &left, T *right) { + friend const bool operator!=(LinkListIter& left, T* right) { return left.mPointer != right; } - friend const bool operator==(LinkListIter &left, T &right) { + friend const bool operator==(LinkListIter& left, T& right) { return left.mPointer == &right; } - friend const bool operator!=(LinkListIter &left, T &right) { + friend const bool operator!=(LinkListIter& left, T& right) { return left.mPointer != &right; } }; @@ -181,24 +181,24 @@ template class LinkList : public LinkListImpl { LinkList() {} ~LinkList() {} - LinkListNode *GetNextNode() { + LinkListNode* GetNextNode() { return this->GetNext(); } - LinkListNode *GetPrevNode() { + LinkListNode* GetPrevNode() { return this->GetPrev(); } - T *GetNextTarget() { - return (T *) this->GetNextNode(); + T* GetNextTarget() { + return (T*) this->GetNextNode(); } - T *GetPrevTarget() { - return (T *) this->GetPrevNode(); + T* GetPrevTarget() { + return (T*) this->GetPrevNode(); } - T *GetRef() { - return (T *) this; + T* GetRef() { + return (T*) this; } void Detach() { diff --git a/include/MainGame/AdventureMode.hpp b/include/MainGame/AdventureMode.hpp index 233d80897..2386a67e3 100644 --- a/include/MainGame/AdventureMode.hpp +++ b/include/MainGame/AdventureMode.hpp @@ -16,8 +16,8 @@ class AdventureModeManager_15C_20_00 : public GameModeManagerBase_104 { public: /* 000 (vtable) */ /* 01C */ unk32 mUnk_01C; - /* 020 */ UnkSystem2_UnkSubSystem1_Base *mUnk_020; - /* 024 */ UnkSystem2_UnkSubSystem1_Base *mUnk_024; + /* 020 */ UnkSystem2_UnkSubSystem1_Base* mUnk_020; + /* 024 */ UnkSystem2_UnkSubSystem1_Base* mUnk_024; /* 028 */ UnkSystem2_UnkSubSystem8 mUnk_028; /* 078 */ UnkSystem2_UnkSubSystem8 mUnk_078; /* 0C8 */ UnkSubStruct1_Derived1 mUnk_0C8; @@ -38,8 +38,8 @@ class AdventureModeManager_15C_20_00 : public GameModeManagerBase_104 { AdventureModeManager_15C_20_00(bool param1); /* 00 */ virtual ~AdventureModeManager_15C_20_00() override; - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl) override; - /* 10 */ virtual void vfunc_10(unk8 *param1) override; + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl) override; + /* 10 */ virtual void vfunc_10(unk8* param1) override; // overlay 17 unk16 func_ov017_020c18c4(); @@ -59,7 +59,7 @@ class AdventureModeManager_15C_20_00 : public GameModeManagerBase_104 { class AdventureModeManager_15C_28 : public UnkSystem1_ov000_Derived1 { public: /* 00 (base) */ - /* 14 */ GameSaveSlot *mUnk_14; + /* 14 */ GameSaveSlot* mUnk_14; /* 18 */ unk8 mUnk_18; /* 19 */ unk8 mUnk_19; // pad? /* 1A */ unk8 mUnk_1A; // pad? @@ -78,10 +78,10 @@ class AdventureModeManager_15C_28 : public UnkSystem1_ov000_Derived1 { class AdventureModeManager_15C_20 { public: - AdventureModeManager_15C_20_00 *mUnk_00; - GameModeManagerBase_104 *mUnk_04; + AdventureModeManager_15C_20_00* mUnk_00; + GameModeManagerBase_104* mUnk_04; - AdventureModeManager_15C_20(GameModeManagerBase_104 *param1) { + AdventureModeManager_15C_20(GameModeManagerBase_104* param1) { this->mUnk_04 = param1; this->mUnk_00 = NULL; } @@ -110,7 +110,7 @@ class AdventureModeManager_15C { // overlay 17 void func_ov017_020c39f0(unk32 param1); bool func_ov017_020c39f8(); - bool func_ov017_020c3a00(Input *pButtons, TouchControl *pTouchControl); + bool func_ov017_020c3a00(Input* pButtons, TouchControl* pTouchControl); bool func_ov017_020c3a38(); bool func_ov017_020c3b58(); void func_ov017_020c3bc0(); @@ -153,7 +153,7 @@ class AdventureModeManager_160_14 { /* 00 */ PAD(0x00, 0x1C); /* 1C */ unk32 mUnk_1C; /* 20 */ PAD(0x20, 0x40); - /* 40 */ AdventureModeManager_160_18 *mUnk_40; + /* 40 */ AdventureModeManager_160_18* mUnk_40; /* 44 */ unk32 mUnk_44; /* 48 */ unk32 mUnk_48; /* 4C */ unk32 mUnk_4C; @@ -191,10 +191,10 @@ class AdventureModeManager_160 : public FileSelectManager_UnkDrawBase { public: /* 00 (base) */ /* 0C */ unk32 mUnk_0C; - /* 10 */ GameModeManagerBase_104 *mUnk_10; - /* 14 */ AdventureModeManager_160_14 *mUnk_14; - /* 18 */ AdventureModeManager_160_18 *mUnk_18; - /* 1C */ AdventureModeManager_1B8 *mUnk_1C; + /* 10 */ GameModeManagerBase_104* mUnk_10; + /* 14 */ AdventureModeManager_160_14* mUnk_14; + /* 18 */ AdventureModeManager_160_18* mUnk_18; + /* 1C */ AdventureModeManager_1B8* mUnk_1C; /* 20 */ unk32 mUnk_20; /* 24 */ Vec2s mUnk_24; /* 28 */ AdventureModeManager_160_28 mUnk_28; @@ -202,7 +202,7 @@ class AdventureModeManager_160 : public FileSelectManager_UnkDrawBase { /* 70 */ AdventureModeManager_160_70 mUnk_70; /* 98 */ - AdventureModeManager_160(GameModeManagerBase_104 *param1, AdventureModeManager_1B8 *param2); + AdventureModeManager_160(GameModeManagerBase_104* param1, AdventureModeManager_1B8* param2); // data_ov024_020d7cc0 /* 00 */ virtual ~AdventureModeManager_160() override; @@ -231,7 +231,7 @@ class AdventureModeManager_164 : public FileSelectManager_UnkDrawBase { /* 0C */ PAD(0x0C, 0x1C); /* 1C */ - AdventureModeManager_164(GameModeManagerBase_104 *param1, GameModeManagerBase_004 *param2); // overlay 26 + AdventureModeManager_164(GameModeManagerBase_104* param1, GameModeManagerBase_004* param2); // overlay 26 // data_ov026_0213528c /* 00 */ virtual ~AdventureModeManager_164() override; @@ -250,7 +250,7 @@ class AdventureModeManager_168 : public FileSelectManager_UnkDrawBase { /* 21 */ bool mUnk_21; /* 24 */ - AdventureModeManager_168(GameModeManagerBase_104 *param1); // overlay 31 + AdventureModeManager_168(GameModeManagerBase_104* param1); // overlay 31 // data_ov031_02116254 /* 00 */ virtual ~AdventureModeManager_168() override; @@ -273,7 +273,7 @@ class AdventureModeManager_16C : public FileSelectManager_UnkDrawBase { /* 1C */ bool mUnk_1C; /* 20 */ - AdventureModeManager_16C(GameModeManagerBase_104 *param1); // overlay 26 + AdventureModeManager_16C(GameModeManagerBase_104* param1); // overlay 26 // data_ov026_021352bc /* 00 */ virtual ~AdventureModeManager_16C() override; @@ -301,13 +301,13 @@ class AdventureModeManager_170_14 : public UnkStruct_0204a060_Base { class AdventureModeManager_170 : public FileSelectManager_UnkDrawBase { public: /* 00 (base) */ - /* 0C */ GameModeManagerBase_104 *mUnk_0C; // related to game over, set to data_ov008_020b6b5c - /* 10 */ GameModeManagerBase_104 *mUnk_10; + /* 0C */ GameModeManagerBase_104* mUnk_0C; // related to game over, set to data_ov008_020b6b5c + /* 10 */ GameModeManagerBase_104* mUnk_10; /* 14 */ AdventureModeManager_170_14 mUnk_14; /* 38 */ unk32 mUnk_38; /* 3C */ - AdventureModeManager_170(GameModeManagerBase_104 *param1); // overlay 24 + AdventureModeManager_170(GameModeManagerBase_104* param1); // overlay 24 // data_ov024_020d7d0c /* 00 */ virtual ~AdventureModeManager_170() override; @@ -330,7 +330,7 @@ class AdventureModeManager_174_Base_10 : public UnkStruct_0204a060_Base { class AdventureModeManager_174_Base : public FileSelectManager_UnkDrawBase { public: /* 00 (base) */ - /* 0C */ GameModeManagerBase_104 *mUnk_0C; + /* 0C */ GameModeManagerBase_104* mUnk_0C; /* 10 */ AdventureModeManager_174_Base_10 mUnk_10; /* 34 */ unk32 mUnk_34; /* 38 */ u16 mUnk_38; @@ -345,7 +345,7 @@ class AdventureModeManager_174_Base : public FileSelectManager_UnkDrawBase { /* B4 */ Vec2s mUnk_B4; /* B8 */ - AdventureModeManager_174_Base(GameModeManagerBase_104 *param1); + AdventureModeManager_174_Base(GameModeManagerBase_104* param1); // data_ov024_020d7d58 (vtable) @@ -358,7 +358,7 @@ class AdventureModeManager_178_Base : public AdventureModeManager_174_Base { /* 00 (base) */ /* B8 */ - AdventureModeManager_178_Base(GameModeManagerBase_104 *param1); + AdventureModeManager_178_Base(GameModeManagerBase_104* param1); // data_ov024_020d7db8 /* 08 */ virtual void vfunc2_08(unk32 param1) override; @@ -374,7 +374,7 @@ class AdventureModeManager_174 : public AdventureModeManager_174_Base { /* BC */ unk32 mUnk_BC; /* C0 */ - AdventureModeManager_174(GameModeManagerBase_104 *param1); // overlay 24 + AdventureModeManager_174(GameModeManagerBase_104* param1); // overlay 24 // data_ov024_020d7d88 /* 00 */ virtual ~AdventureModeManager_174() override; @@ -393,7 +393,7 @@ class AdventureModeManager_178 : public AdventureModeManager_178_Base { /* B8 */ unk32 mUnk_B8; /* BC */ - AdventureModeManager_178(GameModeManagerBase_104 *param1); // overlay 24 + AdventureModeManager_178(GameModeManagerBase_104* param1); // overlay 24 // data_ov024_020d7de8 /* 10 */ virtual void vfunc_54(unk32 param1, unk32 param2) override; @@ -406,7 +406,7 @@ class AdventureModeManager_17C : public AdventureModeManager_178_Base { /* B8 */ unk32 mUnk_B8; /* BC */ - AdventureModeManager_17C(GameModeManagerBase_104 *param1); // overlay 62 + AdventureModeManager_17C(GameModeManagerBase_104* param1); // overlay 62 // data_ov062_02160790 /* 00 */ virtual ~AdventureModeManager_17C() override; @@ -434,7 +434,7 @@ class AdventureModeManager_180 : public FileSelectManager_UnkDrawBase { /* 00 (base) */ /* 0C */ unk32 mUnk_0C; /* 10 */ unk32 mUnk_10; - /* 14 */ GameModeManagerBase_104 *mUnk_14; + /* 14 */ GameModeManagerBase_104* mUnk_14; /* 18 */ AdventureModeManager_180_18 mUnk_18; /* 3C */ unk32 mUnk_3C; /* 40 */ unk32 mUnk_40; @@ -442,7 +442,7 @@ class AdventureModeManager_180 : public FileSelectManager_UnkDrawBase { /* 44 */ bool mUnk_45; /* 48 */ - AdventureModeManager_180(GameModeManagerBase_104 *param1); // overlay 24 + AdventureModeManager_180(GameModeManagerBase_104* param1); // overlay 24 // data_ov024_020d7e34 /* 00 */ virtual ~AdventureModeManager_180() override; @@ -467,8 +467,8 @@ class AdventureModeManager_184_10_Base : public GameModeManagerBase_104 { // data_ov010_020b8dd0 vtable /* 00 */ virtual ~AdventureModeManager_184_10_Base() override; - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl) override; - /* 10 */ virtual void vfunc_10(unk8 *param1) override; + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl) override; + /* 10 */ virtual void vfunc_10(unk8* param1) override; /* 1C */ virtual void vfunc_1C(); /* 20 */ virtual bool vfunc_20(); /* 24 */ virtual void vfunc_24(); @@ -494,15 +494,15 @@ class AdventureModeManager_184_14 { class AdventureModeManager_184 : public FileSelectManager_UnkDrawBase { public: /* 00 (base) */ - /* 0C */ GameModeManagerBase_104 *mUnk_0C; - /* 10 */ AdventureModeManager_184_10 *mUnk_10; - /* 14 */ AdventureModeManager_184_14 *mUnk_14; + /* 0C */ GameModeManagerBase_104* mUnk_0C; + /* 10 */ AdventureModeManager_184_10* mUnk_10; + /* 14 */ AdventureModeManager_184_14* mUnk_14; /* 18 */ bool mUnk_18; /* 19 */ unk8 mUnk_19; // pad? /* 1A */ unk8 mUnk_1A; // pad? /* 1B */ unk8 mUnk_1B; // pad? - AdventureModeManager_184(GameModeManagerBase_104 *param1); // overlay 24 + AdventureModeManager_184(GameModeManagerBase_104* param1); // overlay 24 // data_ov024_020d7e64 /* 00 */ virtual ~AdventureModeManager_184(); @@ -523,7 +523,7 @@ class AdventureModeManager_188 : public FileSelectManager_UnkDrawBase { /* 00 (base) */ /* 0C */ PAD(0x0C, 0x38); - AdventureModeManager_188(GameModeManagerBase_104 *param1); // overlay 31 + AdventureModeManager_188(GameModeManagerBase_104* param1); // overlay 31 // data_ov031_021162a0 /* 00 */ virtual ~AdventureModeManager_188() override; @@ -562,8 +562,8 @@ class AdventureModeManager_18C_10 { class AdventureModeManager_18C : public FileSelectManager_UnkDrawBase { public: /* 00 (base) */ - /* 0C */ GameModeManagerBase_104 *mUnk_0C; - /* 0C */ AdventureModeManager_18C_10 *mUnk_10; + /* 0C */ GameModeManagerBase_104* mUnk_0C; + /* 0C */ AdventureModeManager_18C_10* mUnk_10; /* 14 */ AdventureModeManager_18C_14 mUnk_14; /* 38 */ bool mUnk_38; /* 39 */ bool mUnk_39; @@ -578,7 +578,7 @@ class AdventureModeManager_18C : public FileSelectManager_UnkDrawBase { /* 52 */ unk16 mUnk_52; /* 50 */ unk32 mUnk_54; - AdventureModeManager_18C(GameModeManagerBase_104 *param1); + AdventureModeManager_18C(GameModeManagerBase_104* param1); // data_ov024_020d7eb0 /* 00 */ virtual ~AdventureModeManager_18C() override; @@ -615,10 +615,10 @@ class AdventureModeManager_190; class AdventureModeManager_190_38 : public UnkStruct_0204a060_Base { public: /* 00 (base) */ - /* 24 */ AdventureModeManager_190 *mpParent; + /* 24 */ AdventureModeManager_190* mpParent; /* 28 */ - AdventureModeManager_190_38(AdventureModeManager_190 *pParent) { + AdventureModeManager_190_38(AdventureModeManager_190* pParent) { this->mpParent = pParent; } @@ -629,14 +629,14 @@ class AdventureModeManager_190_38 : public UnkStruct_0204a060_Base { class AdventureModeManager_190 : public FileSelectManager_UnkDrawBase { public: /* 00 (base) */ - /* 0C */ GameModeManagerBase_104 *mUnk_0C; - /* 10 */ AdventureModeManager_190_10 *mUnk_10; + /* 0C */ GameModeManagerBase_104* mUnk_0C; + /* 10 */ AdventureModeManager_190_10* mUnk_10; /* 14 */ AdventureModeManager_190_14 mUnk_14; /* 38 */ AdventureModeManager_190_38 mUnk_38; /* 60 */ unk32 mUnk_60; /* 64 */ - AdventureModeManager_190(GameModeManagerBase_104 *param1); // overlay 24 + AdventureModeManager_190(GameModeManagerBase_104* param1); // overlay 24 // data_ov024_020d7f18 /* 08 */ virtual void vfunc2_08(unk32 param1) override; @@ -661,11 +661,11 @@ class AdventureModeManager_194_0C { class AdventureModeManager_194 : public FileSelectManager_UnkDrawBase { public: /* 00 (base) */ - /* 0C */ AdventureModeManager_194_0C *mUnk_0C; + /* 0C */ AdventureModeManager_194_0C* mUnk_0C; /* 10 */ PAD(0x10, 0x48); /* 48 */ - AdventureModeManager_194(GameModeManagerBase_104 *param1); + AdventureModeManager_194(GameModeManagerBase_104* param1); // data_ov031_021162ec /* 00 */ virtual ~AdventureModeManager_194() override; @@ -683,7 +683,7 @@ class AdventureModeManager_198 : public FileSelectManager_UnkDrawBase { /* 00 (base) */ /* 0C */ PAD(0x0C, 0x3C); - AdventureModeManager_198(GameModeManagerBase_104 *param1); // overlay 58 + AdventureModeManager_198(GameModeManagerBase_104* param1); // overlay 58 // data_ov058_02155e08 /* 00 */ virtual ~AdventureModeManager_198() override; @@ -702,7 +702,7 @@ class AdventureModeManager_19C : public FileSelectManager_UnkDrawBase { /* 0C */ PAD(0x0C, 0x14); /* 14 */ - AdventureModeManager_19C(GameModeManagerBase_104 *param1); // overlay 26 + AdventureModeManager_19C(GameModeManagerBase_104* param1); // overlay 26 // data_ov026_021352ec /* 00 */ virtual ~AdventureModeManager_19C() override; @@ -720,7 +720,7 @@ class AdventureModeManager_1A0 : public AdventureModeManager_174_Base { /* B8 */ unk32 mUnk_B8; /* BC */ - AdventureModeManager_1A0(GameModeManagerBase_104 *param1); // overlay 62 + AdventureModeManager_1A0(GameModeManagerBase_104* param1); // overlay 62 // data_ov062_021607c0 /* 00 */ virtual ~AdventureModeManager_1A0() override; @@ -738,7 +738,7 @@ class AdventureModeManager_1A4 : public AdventureModeManager_174_Base { /* B8 */ unk32 mUnk_B8; /* BC */ - AdventureModeManager_1A4(GameModeManagerBase_104 *param1); // overlay 62 + AdventureModeManager_1A4(GameModeManagerBase_104* param1); // overlay 62 // data_ov062_021607f0 /* 00 */ virtual ~AdventureModeManager_1A4() override; @@ -755,7 +755,7 @@ class AdventureModeManager_1A8 : public FileSelectManager_UnkDrawBase { /* 00 (base) */ /* 0C */ PAD(0x0C, 0x38); - AdventureModeManager_1A8(GameModeManagerBase_104 *param1); // overlay 88 + AdventureModeManager_1A8(GameModeManagerBase_104* param1); // overlay 88 // data_ov088_02176068 /* 00 */ virtual ~AdventureModeManager_1A8() override; @@ -775,9 +775,9 @@ class AdventureModeManager_1AC : public GameModeManagerBase_104 { // data_ov024_020d7bf4 /* 00 */ virtual ~AdventureModeManager_1AC() override; - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl) override; - /* 10 */ virtual void vfunc_10(unk8 *param1) override; - /* 14 */ virtual void vfunc_14(unk8 *param1) override; + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl) override; + /* 10 */ virtual void vfunc_10(unk8* param1) override; + /* 14 */ virtual void vfunc_14(unk8* param1) override; }; class AdventureModeManager_1B0 : public GameModeManagerBase_104 { @@ -791,8 +791,8 @@ class AdventureModeManager_1B0 : public GameModeManagerBase_104 { // data_ov031_02116358 /* 00 */ virtual ~AdventureModeManager_1B0() override; - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl) override; - /* 10 */ virtual void vfunc_10(unk8 *param1) override; + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl) override; + /* 10 */ virtual void vfunc_10(unk8* param1) override; }; struct AdventureModeManager_1B8_Base_1C { @@ -828,7 +828,7 @@ class AdventureModeManager_1B8_Base { /* 12 */ unk8 mUnk_12; // pad? /* 13 */ unk8 mUnk_13; // pad? /* 14 */ s32 mUnk_14; - /* 18 */ u8 *mUnk_18; + /* 18 */ u8* mUnk_18; /* 1C */ AdventureModeManager_1B8_Base_1C mUnk_1C; /* 24 */ @@ -856,23 +856,23 @@ class AdventureModeManager_1B8_Base { return 0; } - AdventureModeManager_1B8_Base(u8 bgType, bool param2, const AdventureModeManager_1B8_Base_1C ¶m3, bool param4, + AdventureModeManager_1B8_Base(u8 bgType, bool param2, const AdventureModeManager_1B8_Base_1C& param3, bool param4, bool param5); ~AdventureModeManager_1B8_Base(); void func_ov024_020d0698(); void func_ov024_020d06d0(); - void func_ov024_020d072c(unk8 *param1); + void func_ov024_020d072c(unk8* param1); bool func_ov024_020d0744(s32 arg1, s32 arg2, s32 arg3, s32 arg4, u8 arg5, u8 arg6); bool func_ov024_020d0924(unk32 param1, unk32 param2, u8 param3, u8 param4); void func_ov024_020d0a64(); - void TryLoadBGChar(void *ptr, u32 offset, u32 size); + void TryLoadBGChar(void* ptr, u32 offset, u32 size); unk32 func_ov024_020d0db4(unk32 param1, unk32 param2); bool func_ov024_020d0df8(unk32 param1, unk32 param2); - void func_ov024_020d0e64(void *ptr, u32 size); + void func_ov024_020d0e64(void* ptr, u32 size); bool func_ov024_020d0e98(); - static void func_ov024_020d0ec0(s32 *pFlags, s32 position, bool doSet); - static bool func_ov024_020d0f0c(s32 *pFlags, s32 position); + static void func_ov024_020d0ec0(s32* pFlags, s32 position, bool doSet); + static bool func_ov024_020d0f0c(s32* pFlags, s32 position); static unk32 func_ov024_020d0f2c(unk32 param1, unk32 param2); }; @@ -881,20 +881,20 @@ class AdventureModeManager_1B8 : public AdventureModeManager_1B8_Base { /* 00 (base) */ /* 24 */ u16 mUnk_24; /* 24 */ unk16 mUnk_26; // pad? - /* 24 */ GameSaveSlot *mUnk_28; + /* 24 */ GameSaveSlot* mUnk_28; /* 2C */ AdventureModeManager_1B8(u8 bgType, bool param2, bool param3); // overlay 24 ~AdventureModeManager_1B8(); - void func_ov024_020d0fb4(unk32 param1, unk32 param2, u8 param3, u8 param4, TouchControl *param5); + void func_ov024_020d0fb4(unk32 param1, unk32 param2, u8 param3, u8 param4, TouchControl* param5); void func_ov024_020d114c(); bool func_ov024_020d1160(); void func_ov024_020d1364(); void func_ov024_020d13cc(s32 param1); - bool func_ov024_020d14a8(AdventureModeManager_1B8_Base_1C *param1, unk32 param2, s32 *pFlags); - void func_ov024_020d1564(const AdventureModeManager_1B8_Base_1C *param1, unk32 param2, s32 *pFlags, const u8 param4); - void func_ov024_020d1614(GameSaveSlot *param1); + bool func_ov024_020d14a8(AdventureModeManager_1B8_Base_1C* param1, unk32 param2, s32* pFlags); + void func_ov024_020d1564(const AdventureModeManager_1B8_Base_1C* param1, unk32 param2, s32* pFlags, const u8 param4); + void func_ov024_020d1614(GameSaveSlot* param1); void func_ov024_020d1638(); }; @@ -925,35 +925,35 @@ class AdventureModeManager : public TitleScreenManager_Base { public: /* 000 (base) */ /* 154 */ unk32 mUnk_154; - /* 158 */ GameModeManagerBase_104 *mUnk_158; - /* 15C */ AdventureModeManager_15C *mUnk_15C; - /* 160 */ AdventureModeManager_160 *mUnk_160; // related to the minimap? - /* 164 */ AdventureModeManager_164 *mUnk_164; - /* 168 */ AdventureModeManager_168 *mUnk_168; - /* 16C */ AdventureModeManager_16C *mUnk_16C; - /* 170 */ AdventureModeManager_170 *mUnk_170; // related to game over? - /* 174 */ AdventureModeManager_174 *mUnk_174; // related to the minimap? - /* 178 */ AdventureModeManager_178 *mUnk_178; // related to factory ovl? - /* 17C */ AdventureModeManager_17C *mUnk_17C; - /* 180 */ AdventureModeManager_180 *mUnk_180; // related to stamps? - /* 184 */ AdventureModeManager_184 *mUnk_184; // related to WDST actor? - /* 188 */ AdventureModeManager_188 *mUnk_188; - /* 18C */ AdventureModeManager_18C *mUnk_18C; // related to world map? - /* 190 */ AdventureModeManager_190 *mUnk_190; // related to world map? - /* 194 */ AdventureModeManager_194 *mUnk_194; - /* 198 */ AdventureModeManager_198 *mUnk_198; - /* 19C */ AdventureModeManager_19C *mUnk_19C; - /* 1A0 */ AdventureModeManager_1A0 *mUnk_1A0; - /* 1A4 */ AdventureModeManager_1A4 *mUnk_1A4; - /* 1A8 */ AdventureModeManager_1A8 *mUnk_1A8; - /* 1AC */ AdventureModeManager_1AC *mUnk_1AC; - /* 1B0 */ AdventureModeManager_1B0 *mUnk_1B0; + /* 158 */ GameModeManagerBase_104* mUnk_158; + /* 15C */ AdventureModeManager_15C* mUnk_15C; + /* 160 */ AdventureModeManager_160* mUnk_160; // related to the minimap? + /* 164 */ AdventureModeManager_164* mUnk_164; + /* 168 */ AdventureModeManager_168* mUnk_168; + /* 16C */ AdventureModeManager_16C* mUnk_16C; + /* 170 */ AdventureModeManager_170* mUnk_170; // related to game over? + /* 174 */ AdventureModeManager_174* mUnk_174; // related to the minimap? + /* 178 */ AdventureModeManager_178* mUnk_178; // related to factory ovl? + /* 17C */ AdventureModeManager_17C* mUnk_17C; + /* 180 */ AdventureModeManager_180* mUnk_180; // related to stamps? + /* 184 */ AdventureModeManager_184* mUnk_184; // related to WDST actor? + /* 188 */ AdventureModeManager_188* mUnk_188; + /* 18C */ AdventureModeManager_18C* mUnk_18C; // related to world map? + /* 190 */ AdventureModeManager_190* mUnk_190; // related to world map? + /* 194 */ AdventureModeManager_194* mUnk_194; + /* 198 */ AdventureModeManager_198* mUnk_198; + /* 19C */ AdventureModeManager_19C* mUnk_19C; + /* 1A0 */ AdventureModeManager_1A0* mUnk_1A0; + /* 1A4 */ AdventureModeManager_1A4* mUnk_1A4; + /* 1A8 */ AdventureModeManager_1A8* mUnk_1A8; + /* 1AC */ AdventureModeManager_1AC* mUnk_1AC; + /* 1B0 */ AdventureModeManager_1B0* mUnk_1B0; /* 1B4 */ bool mUnk_1B4; /* 1B4 */ bool mUnk_1B5; /* 1B4 */ unk8 mUnk_1B6; // pad? /* 1B4 */ unk8 mUnk_1B7; // pad? - /* 1B8 */ AdventureModeManager_1B8 *mUnk_1B8; - /* 1BC */ AdventureModeManager_1BC *mUnk_1BC; + /* 1B8 */ AdventureModeManager_1B8* mUnk_1B8; + /* 1BC */ AdventureModeManager_1BC* mUnk_1BC; /* 1C0 */ bool mUnk_1C0; /* 1C1 */ bool mAllowMapPaint; /* 1C2 */ unk8 mUnk_1C2; // pad? @@ -962,7 +962,7 @@ class AdventureModeManager : public TitleScreenManager_Base { /* 1C4 */ SceneInfos mUnk_1CC; /* 1D4 */ - AdventureModeManager(UnkStruct_0204a110_Sub2 *param1); + AdventureModeManager(UnkStruct_0204a110_Sub2* param1); // data_ov024_020d7c18 vtable /* 08 */ virtual ~AdventureModeManager() override; @@ -972,8 +972,8 @@ class AdventureModeManager : public TitleScreenManager_Base { /* 1C */ virtual void vfunc_1C() override; /* 20 */ virtual void vfunc_20() override; /* 24 */ virtual void vfunc_24() override; - /* 28 */ virtual void vfunc_28(unk8 *param1) override; - /* 2C */ virtual void DrawUI(unk8 *param1) override; + /* 28 */ virtual void vfunc_28(unk8* param1) override; + /* 2C */ virtual void DrawUI(unk8* param1) override; /* 34 */ virtual void vfunc_34(unk32 param1, unk32 param2) override; /* 38 */ virtual void vfunc_38(u32 sceneIndex, u8 roomIndex, unk16 param3, unk16 param4) override; @@ -1001,7 +1001,7 @@ class AdventureModeManager : public TitleScreenManager_Base { void func_ov024_020c6770(SceneIndex sceneIndex, u8 roomIndex, unk16 param3, unk16 param4); bool func_ov024_020c681c(); void func_ov024_020c6840(SceneIndex sceneIndex); - void func_ov024_020c68d4(Vec2s *param1, unk32 param2); + void func_ov024_020c68d4(Vec2s* param1, unk32 param2); bool func_ov024_020c68ec(unk32 param1, unk32 param2); void func_ov024_020c6930(); bool func_ov024_020c6940(unk32 param1, unk32 param2); @@ -1013,7 +1013,7 @@ class AdventureModeManager : public TitleScreenManager_Base { void func_ov024_020c6c60(); void func_ov024_020c6cd4(); bool func_ov024_020c6ce4(); - AdventureModeManager_194_0C *func_ov024_020c6d04(); + AdventureModeManager_194_0C* func_ov024_020c6d04(); void func_ov024_020c6d10(); void func_ov024_020c6d20(unk32 param1); void func_ov024_020c6d2c(unk32 param1); @@ -1022,7 +1022,7 @@ class AdventureModeManager : public TitleScreenManager_Base { bool func_ov024_020c6dec(); void func_ov024_020c699c(); - static GameModeManagerBase *Create(UnkStruct_0204a110_Sub2 *param1); + static GameModeManagerBase* Create(UnkStruct_0204a110_Sub2* param1); static void func_ov001_020c00d4(); static void func_ov001_020c0104(); static void func_ov001_020c0194(); @@ -1048,11 +1048,11 @@ extern const UnkStruct_ov024_020d86a8 data_ov024_020d78b8; extern void SetCreditsEndingType(u16 value); extern u16 GetCreditsEndingType(); -extern void func_ov024_020d51dc(Vec2s *param1, SceneIndex sceneIndex); -extern void func_ov024_020d524c(Vec2s *param1, SceneIndex sceneIndex); +extern void func_ov024_020d51dc(Vec2s* param1, SceneIndex sceneIndex); +extern void func_ov024_020d524c(Vec2s* param1, SceneIndex sceneIndex); extern bool func_ov024_020d5304(SceneIndex sceneIndex); extern bool func_ov024_020d5340(SceneIndex sceneIndex); -extern bool func_ov024_020d5354(s32 *pFlagPos, s16 *pFlagValue, ItemId itemId); +extern bool func_ov024_020d5354(s32* pFlagPos, s16* pFlagValue, ItemId itemId); extern bool func_ov024_020d5410(SceneIndex sceneIndex); extern bool func_ov024_020d5434(SceneIndex sceneIndex); extern bool func_ov024_020d5458(SceneIndex sceneIndex); diff --git a/include/MainGame/CargoManager.hpp b/include/MainGame/CargoManager.hpp index 75dd71e1b..6f5d71c38 100644 --- a/include/MainGame/CargoManager.hpp +++ b/include/MainGame/CargoManager.hpp @@ -59,7 +59,7 @@ class CargoManager : public AutoInstance { /* 1C */ bool mUnk_1C; /* 20 */ - Cargo *GetCargo() { + Cargo* GetCargo() { return &this->mCargo; } @@ -85,11 +85,11 @@ class CargoManager : public AutoInstance { // overlay 24 void SetCargo(unk32 type, unk32 amount); - void GetTypeAndAmount(unk32 *pType, unk32 *pAmount); + void GetTypeAndAmount(unk32* pType, unk32* pAmount); void func_ov024_020d5900(); void func_ov024_020d591c(); - static CargoManager *Create(); + static CargoManager* Create(); }; struct UnkCargoStruct { @@ -97,5 +97,5 @@ struct UnkCargoStruct { u16 requiredAmount; }; -extern CargoManager *gpCargoManager; +extern CargoManager* gpCargoManager; extern const UnkCargoStruct data_ov024_020d78c0[]; diff --git a/include/MainGame/MiscAdvManager.hpp b/include/MainGame/MiscAdvManager.hpp index 7a6657aaf..6f435efa6 100644 --- a/include/MainGame/MiscAdvManager.hpp +++ b/include/MainGame/MiscAdvManager.hpp @@ -93,26 +93,26 @@ class MiscAdvManager : public AutoInstance { } // overlay 24 - void func_ov024_020d6310(MiscAdvManager *pSrc); + void func_ov024_020d6310(MiscAdvManager* pSrc); void GiveLetterOrPriceCard(ItemId itemId); void GiveLetter(AdventureFlag_Half flag); unk32 GetObtainedLetterCount(); bool GotUnreadLetters(); unk32 func_ov024_020d6468(); unk32 GetStamp(unk32 index); - u16 *GetStampDate(unk32 index); - Vec2bCpp *GetStampPos(unk32 index); - void func_ov024_020d64b4(s8 param1, unk32 param2, const u16 *param3); + u16* GetStampDate(unk32 index); + Vec2bCpp* GetStampPos(unk32 index); + void func_ov024_020d64b4(s8 param1, unk32 param2, const u16* param3); void func_ov024_020d6530(); unk32 GetNumPostcards(); void GivePriceCard(unk32 amount); void PostPriceCard(unk32 amount, unk32 param2); void func_ov024_020d6610(); - static MiscAdvManager *Create(); + static MiscAdvManager* Create(); // overlay 1 static void Destroy(); }; -extern MiscAdvManager *gpMiscAdvManager; +extern MiscAdvManager* gpMiscAdvManager; diff --git a/include/MainGame/PassengerManager.hpp b/include/MainGame/PassengerManager.hpp index cc75f0b11..3a93cb5a7 100644 --- a/include/MainGame/PassengerManager.hpp +++ b/include/MainGame/PassengerManager.hpp @@ -60,8 +60,8 @@ class PassengerManager : public AutoInstance { static bool func_ov001_020bf870(); // overlay 24 - void func_ov024_020d41bc(const UnkStruct_Param1 *pActorId); - void func_ov024_020d41f4(UnkStruct_Param1 *param1); + void func_ov024_020d41bc(const UnkStruct_Param1* pActorId); + void func_ov024_020d41f4(UnkStruct_Param1* param1); void func_ov024_020d4228(); void func_ov024_020d4258(); bool TryBoardTrain(ActorId actorId, SceneIndex sceneIndex, u32 roomIndex); @@ -76,7 +76,7 @@ class PassengerManager : public AutoInstance { bool CanCompleteTrip(); bool IsCaughtByPirates(); ActorId GetActorId(); - PassengerManager *GetInstance(); + PassengerManager* GetInstance(); void func_ov024_020d4554(); void Reset(); bool IsDateUnset(); @@ -87,8 +87,8 @@ class PassengerManager : public AutoInstance { static u32 GetPassengerInfoIndex(ActorId actorId); static AdventureFlag GetBoardFlag(ActorId actorId); static AdventureFlag GetFailFlag(ActorId actorId); - static PassengerManager *Create(); + static PassengerManager* Create(); }; -extern PassengerManager *gpPassengerManager; +extern PassengerManager* gpPassengerManager; extern const s16 data_ov024_020d7598[]; diff --git a/include/MainGame/UnkAdventureModeSystem1.hpp b/include/MainGame/UnkAdventureModeSystem1.hpp index a38b6af4f..d6ea71eb1 100644 --- a/include/MainGame/UnkAdventureModeSystem1.hpp +++ b/include/MainGame/UnkAdventureModeSystem1.hpp @@ -14,16 +14,16 @@ class UnkAdventureModeSystem1 { public: /* 00 (vtable) */ /* 04 */ UnkSystem2_UnkSubSystem9 mUnk_04; - /* 48 */ UnkAdventureModeSystem1_48 *mUnk_48; + /* 48 */ UnkAdventureModeSystem1_48* mUnk_48; /* 4A */ - UnkAdventureModeSystem1(Vec2s *param1, Vec2s *param2, bool param3); + UnkAdventureModeSystem1(Vec2s* param1, Vec2s* param2, bool param3); UnkAdventureModeSystem1(bool param3); // data_ov024_020d7f7c /* 00 */ virtual unk32 vfunc_00(unk32 param1) = 0; - void func_ov024_020cab58(Vec2s *param1, Vec2s *param2); + void func_ov024_020cab58(Vec2s* param1, Vec2s* param2); bool func_ov024_020caba4(unk32 param1); bool func_ov024_020cad7c(unk32 param1); }; diff --git a/include/MainGame/UnkTrainSystems.hpp b/include/MainGame/UnkTrainSystems.hpp index 4b1c4ec1a..853ea5aa8 100644 --- a/include/MainGame/UnkTrainSystems.hpp +++ b/include/MainGame/UnkTrainSystems.hpp @@ -19,7 +19,7 @@ class UnkTrainSystem1 { ~UnkTrainSystem1(); void func_ov024_020d54f4(); - void func_ov024_020d562c(const VecFx32 *param1, fx32 param2); + void func_ov024_020d562c(const VecFx32* param1, fx32 param2); bool func_ov024_020d586c(); static u8 func_ov024_020d54a0(s32 param1); @@ -36,18 +36,18 @@ class UnkTrainSystem2 { this->mModelRender.vfunc_08(NNS_G3dGetMdl(data_027e0d00->mUnk_0F4->mUnk_50)); } - void SetTransform(const MtxFx33 *param1, const VecFx32 *param2, fx32 param3) { + void SetTransform(const MtxFx33* param1, const VecFx32* param2, fx32 param3) { VecFx32 temp; temp.x = param3; temp.y = param3; temp.z = param3; - this->mModelRender.vfunc_10(&temp, (MtxFx33 *) param1, (VecFx32 *) param2); + this->mModelRender.vfunc_10(&temp, (MtxFx33*) param1, (VecFx32*) param2); } UnkTrainSystem2(); ~UnkTrainSystem2(); void func_ov024_020d5990(); - void func_ov024_020d5afc(const MtxFx33 *param1, const VecFx32 *param2, unk32 param3); + void func_ov024_020d5afc(const MtxFx33* param1, const VecFx32* param2, unk32 param3); bool func_ov024_020d5c40(); }; diff --git a/include/MapObject/MapObject.hpp b/include/MapObject/MapObject.hpp index 99eb8926a..e177a8e3a 100644 --- a/include/MapObject/MapObject.hpp +++ b/include/MapObject/MapObject.hpp @@ -68,10 +68,10 @@ class MapObject_10_Base { /* 04 */ virtual void vfunc_04() = 0; /* 08 */ virtual void vfunc_08() = 0; /* 0C */ virtual void vfunc_0C() = 0; - /* 10 */ virtual void vfunc_10(Sphere *param1) = 0; + /* 10 */ virtual void vfunc_10(Sphere* param1) = 0; /* 14 */ virtual void vfunc_14() = 0; - /* 18 */ virtual void vfunc_18(VecFx32 *param1) = 0; - /* 1C */ virtual void vfunc_1C(VecFx32 *param1) = 0; + /* 18 */ virtual void vfunc_18(VecFx32* param1) = 0; + /* 1C */ virtual void vfunc_1C(VecFx32* param1) = 0; /* 20 */ }; @@ -88,10 +88,10 @@ class MapObject_10 : public MapObject_10_Base { /* 04 */ virtual void vfunc_04(); /* 08 */ virtual void vfunc_08(); /* 0C */ virtual void vfunc_0C(); - /* 10 */ virtual void vfunc_10(Sphere *param1); + /* 10 */ virtual void vfunc_10(Sphere* param1); /* 14 */ virtual void vfunc_14(); - /* 18 */ virtual void vfunc_18(VecFx32 *param1); - /* 1C */ virtual void vfunc_1C(VecFx32 *param1); + /* 18 */ virtual void vfunc_18(VecFx32* param1); + /* 1C */ virtual void vfunc_1C(VecFx32* param1); /* 20 */ }; @@ -114,7 +114,7 @@ class MapObject_20 { void Init(); - static void func_ov000_0209c790(MapObjectId mapObjId, MapObjectProfile *pProfile); + static void func_ov000_0209c790(MapObjectId mapObjId, MapObjectProfile* pProfile); static void func_ov000_0209c7ac(MapObjectId mapObjId); }; @@ -125,7 +125,7 @@ class MapObject { public: /* 00 (vtable) */ /* 04 */ VecFx32 mPos; - /* 10 */ MapObject_10_Base *mUnk_10; + /* 10 */ MapObject_10_Base* mUnk_10; /* 14 */ UnkAngleStruct mAngle; /* 16 */ MapObjState mState; /* 18 */ unk8 mUnk_18[2]; // related to Link walking to the map object when touched @@ -135,7 +135,7 @@ class MapObject { /* 1E */ unk16 mUnk_1E; /* 20 */ MapObject_20 mUnk_20; // parameters /* 38 */ RefStruct mRef; - /* 3C */ MapObjectProfile *mpProfile; + /* 3C */ MapObjectProfile* mpProfile; /* 40 */ // data_ov000_020b3590 @@ -145,12 +145,12 @@ class MapObject { /* 0C */ virtual void vfunc_0C(); /* 10 */ virtual void vfunc_10(); /* 14 */ virtual void vfunc_14(unk32 param1); - /* 18 */ virtual void vfunc_18(s8 *param1); - /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3); + /* 18 */ virtual void vfunc_18(s8* param1); + /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3); /* 20 */ virtual void vfunc_20(RefStruct param1); - /* 24 */ virtual void vfunc_24(MapObject *param1, VecFx32 param2); + /* 24 */ virtual void vfunc_24(MapObject* param1, VecFx32 param2); /* 28 */ virtual unk32 vfunc_28(PlayerType playerType, unk32 param2, unk32 param3); - /* 2C */ virtual bool vfunc_2C(VecFx32 *param1); + /* 2C */ virtual bool vfunc_2C(VecFx32* param1); /* 30 */ virtual ~MapObject(); /* 38 */ @@ -217,21 +217,21 @@ class MapObject { // overlay 0 bool func_ov000_0209d114(); bool func_ov000_0209d12c(); - bool func_ov000_0209d144(Vec2s *param1, unk32 param2, UnkStruct_027e09bc_0C *param3); + bool func_ov000_0209d144(Vec2s* param1, unk32 param2, UnkStruct_027e09bc_0C* param3); fx32 func_ov000_0209d274(PlayerType playerType); bool func_ov000_0209d29c(unk32 param1); void func_ov000_0209d2c4(unk32 param1, bool param2); - void func_ov000_0209d2f0(unk32 param1, unk32 param2, Vec2bCpp *param3); + void func_ov000_0209d2f0(unk32 param1, unk32 param2, Vec2bCpp* param3); unk32 func_ov000_0209d3b4(unk32 param1, fx32 size); - void func_ov000_0209d434(s8 *param1, UnkStruct_ov019_020d24c8_28_258_00 *param2, unk32 param3); - void func_ov000_0209d518(VecFx32 *param1, unk32 param2, unk32 param3, u8 param4); + void func_ov000_0209d434(s8* param1, UnkStruct_ov019_020d24c8_28_258_00* param2, unk32 param3); + void func_ov000_0209d518(VecFx32* param1, unk32 param2, unk32 param3, u8 param4); void func_ov000_0209d5c8(RefStruct ref); void func_ov000_0209d614(unk32 param1); bool func_ov000_0209d668(); - void func_ov000_0209d6ac(VecFx32 *param1); + void func_ov000_0209d6ac(VecFx32* param1); - static void func_ov000_0209d0bc(Vec2bCpp *param1, MapObject *thisx); - static void func_ov000_0209d22c(unk16 *param1, MapObject *thisx, PlayerType playerType); - static void func_ov000_0209d54c(RefStruct *param1, MapObject *thisx, u16 param2, const VecFx32 *pPos, s16 param3, + static void func_ov000_0209d0bc(Vec2bCpp* param1, MapObject* thisx); + static void func_ov000_0209d22c(unk16* param1, MapObject* thisx, PlayerType playerType); + static void func_ov000_0209d54c(RefStruct* param1, MapObject* thisx, u16 param2, const VecFx32* pPos, s16 param3, u16 param4); }; diff --git a/include/MapObject/MapObjectBombFlower.hpp b/include/MapObject/MapObjectBombFlower.hpp index 3b948b5ad..9c2f6789a 100644 --- a/include/MapObject/MapObjectBombFlower.hpp +++ b/include/MapObject/MapObjectBombFlower.hpp @@ -35,12 +35,12 @@ class MapObjectBombFlower : public MapObjectPot_Base { /* 08 */ virtual void vfunc_08() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) override; + /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) override; /* 28 */ virtual unk32 vfunc_28(PlayerType playerType, unk32 param2, unk32 param3) override; /* 38 */ virtual void vfunc_38() override; /* 44 */ virtual bool SetState(MapObjState state, unk32) override; /* 48 */ virtual void vfunc_48() override; - /* 50 */ virtual void vfunc_50(RefStruct *param1, MapObjectPot_Base *thisx) override; + /* 50 */ virtual void vfunc_50(RefStruct* param1, MapObjectPot_Base* thisx) override; /* 58 */ virtual void vfunc_58(); void func_ov031_02102728(unk32 param1); @@ -52,7 +52,7 @@ class MapObjectProfileBombFlower : public MapObjectProfile_Derived2 { MapObjectProfileBombFlower(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileBombFlower *GetProfile(); + static MapObjectProfileBombFlower* GetProfile(); }; diff --git a/include/MapObject/MapObjectChestBase.hpp b/include/MapObject/MapObjectChestBase.hpp index 55cf38d32..8b678511c 100644 --- a/include/MapObject/MapObjectChestBase.hpp +++ b/include/MapObject/MapObjectChestBase.hpp @@ -16,11 +16,11 @@ class MapObjectTreasureSpawned_74 : public ModelRender { /* 63 */ unk8 mUnk_63; // pad? /* 64 */ - MapObjectTreasureSpawned_74(G3d_Model *param1); + MapObjectTreasureSpawned_74(G3d_Model* param1); // data_ov031_02115844 /* 00 */ virtual ~MapObjectTreasureSpawned_74() override {} - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; void func_ov000_0209dde0(void); @@ -63,7 +63,7 @@ class MapObjectChestBase : public MapObject { /* 08 */ virtual void vfunc_08() override; /* 0C */ virtual void vfunc_0C() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 18 */ virtual void vfunc_18(s8 *param1) override; + /* 18 */ virtual void vfunc_18(s8* param1) override; /* 28 */ virtual ItemId vfunc_28(PlayerType playerType, unk32 param2, unk32 param3) override; /* 30 */ virtual ~MapObjectChestBase() override; /* 38 */ virtual void vfunc_38(unk32 param1, unk32 param2); @@ -72,7 +72,7 @@ class MapObjectChestBase : public MapObject { /* 44 */ virtual bool vfunc_44(); /* 4C */ virtual void vfunc_4C(); /* 50 */ virtual void vfunc_50(); - /* 54 */ virtual Vec2p *vfunc_54(); + /* 54 */ virtual Vec2p* vfunc_54(); /* 58 */ unk32 func_ov031_021037d0(); diff --git a/include/MapObject/MapObjectDoorBase.hpp b/include/MapObject/MapObjectDoorBase.hpp index 91df657a5..2d13dda56 100644 --- a/include/MapObject/MapObjectDoorBase.hpp +++ b/include/MapObject/MapObjectDoorBase.hpp @@ -82,13 +82,13 @@ class MapObjectDoorBase : public MapObject, public MapObject_UnkStruct1_Derived2 /* 78 */ virtual void vfunc_78(); /* 7C */ virtual void vfunc_7C(); /* 80 */ virtual void vfunc_80(); - /* 84 */ virtual void vfunc_84(unk32 param1, VecFx32 *param2, UnkAngleStruct *param3); + /* 84 */ virtual void vfunc_84(unk32 param1, VecFx32* param2, UnkAngleStruct* param3); /* 88 */ virtual bool vfunc_88(); /* 8C */ virtual unk32 vfunc_8C(); /* 90 */ void func_ov031_020fbf10(bool param1, bool param2); - void func_ov031_020fcb78(s8 *param1); + void func_ov031_020fcb78(s8* param1); void func_ov031_020fcd40(); void func_ov031_020fcf0c(unk32 param1); bool func_ov031_020fcf30(); diff --git a/include/MapObject/MapObjectDoorClick.hpp b/include/MapObject/MapObjectDoorClick.hpp index 2354a60a8..90664be4b 100644 --- a/include/MapObject/MapObjectDoorClick.hpp +++ b/include/MapObject/MapObjectDoorClick.hpp @@ -12,9 +12,9 @@ class MapObjectProfileDoorClick : public MapObjectProfile_Derived1 { MapObjectProfileDoorClick(); ~MapObjectProfileDoorClick() {} - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileDoorClick *GetProfile(); + static MapObjectProfileDoorClick* GetProfile(); }; enum MapObjDoorClickState_ { @@ -44,7 +44,7 @@ class MapObjectDoorClick : public MapObjectDoorBase { /* 00 */ virtual bool Init() override; /* 08 */ virtual void vfunc_08() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 18 */ virtual void vfunc_18(s8 *param1) override; + /* 18 */ virtual void vfunc_18(s8* param1) override; /* 28 */ virtual unk32 vfunc_28(PlayerType playerType, unk32 param2, unk32 param3) override; /* 30 */ virtual ~MapObjectDoorClick() override {} /* 40 */ virtual void vfunc_40() override; @@ -60,7 +60,7 @@ class MapObjectDoorClick : public MapObjectDoorBase { /* 7C */ virtual void vfunc_7C() override; /* 10 */ virtual void vfunc2_10(); - /* 14 */ virtual MapObject_10 *vfunc2_14(); + /* 14 */ virtual MapObject_10* vfunc2_14(); /* 18 */ virtual void vfunc2_18(); /* 1C */ virtual u16 vfunc2_1C(unk32 param2); diff --git a/include/MapObject/MapObjectDoorDangerSpawn.hpp b/include/MapObject/MapObjectDoorDangerSpawn.hpp index 33edda9e7..1744af794 100644 --- a/include/MapObject/MapObjectDoorDangerSpawn.hpp +++ b/include/MapObject/MapObjectDoorDangerSpawn.hpp @@ -13,7 +13,7 @@ class MapObjectDoorDangerSpawn_ov031_02116e24 : public UnkStruct_ov000_020b34c4 MapObjectDoorDangerSpawn_ov031_02116e24(MapObjectId mapObjectId) : UnkStruct_ov000_020b34c4(mapObjectId) {} - bool vfunc_00(MapObject *param1) override; + bool vfunc_00(MapObject* param1) override; }; class MapObjectProfileDoorDangerSpawn : public MapObjectProfile_Derived2 { @@ -23,9 +23,9 @@ class MapObjectProfileDoorDangerSpawn : public MapObjectProfile_Derived2 { MapObjectProfileDoorDangerSpawn(); ~MapObjectProfileDoorDangerSpawn(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileDoorDangerSpawn *GetProfile(); + static MapObjectProfileDoorDangerSpawn* GetProfile(); }; enum MapObjDoorDangerSpawnState_ { @@ -61,7 +61,7 @@ class MapObjectDoorDangerSpawn : public MapObjectDoorBase { /* 08 */ virtual void vfunc_08() override; /* 0C */ virtual void vfunc_0C() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 18 */ virtual void vfunc_18(s8 *param1) override; + /* 18 */ virtual void vfunc_18(s8* param1) override; /* 30 */ virtual ~MapObjectDoorDangerSpawn() override; // (MapObject_UnkStruct1_Derived1) @@ -79,7 +79,7 @@ class MapObjectDoorDangerSpawn : public MapObjectDoorBase { /* 6C */ virtual bool vfunc_6C() override; /* 74 */ virtual void vfunc_74() override; /* 7C */ virtual void vfunc_7C() override; - /* 84 */ virtual void vfunc_84(unk32 param1, VecFx32 *param2, UnkAngleStruct *param3) override; + /* 84 */ virtual void vfunc_84(unk32 param1, VecFx32* param2, UnkAngleStruct* param3) override; /* 88 */ virtual bool vfunc_88() override; /* 8C */ virtual unk32 vfunc_8C() override; @@ -88,5 +88,5 @@ class MapObjectDoorDangerSpawn : public MapObjectDoorBase { bool func_ov031_020fdec8(void); - static void func_ov031_020fe5fc(VecFx32 *param1, MapObjectDoorDangerSpawn *thisx); + static void func_ov031_020fe5fc(VecFx32* param1, MapObjectDoorDangerSpawn* thisx); }; diff --git a/include/MapObject/MapObjectDoorKey.hpp b/include/MapObject/MapObjectDoorKey.hpp index a843f20de..c6b17077b 100644 --- a/include/MapObject/MapObjectDoorKey.hpp +++ b/include/MapObject/MapObjectDoorKey.hpp @@ -35,7 +35,7 @@ class MapObjectDoorKey : public MapObjectDoorBase { /* 00 */ virtual bool Init() override; /* 08 */ virtual void vfunc_08() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 18 */ virtual void vfunc_18(s8 *param1) override; + /* 18 */ virtual void vfunc_18(s8* param1) override; /* 28 */ virtual unk32 vfunc_28(PlayerType playerType, unk32 param2, unk32 param3) override; /* 30 */ virtual ~MapObjectDoorKey() override; /* 40 */ virtual void vfunc_40() override; @@ -60,7 +60,7 @@ class MapObjectProfileDoorKey : public MapObjectProfile_Derived2 { MapObjectProfileDoorKey(); ~MapObjectProfileDoorKey(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileDoorKey *GetProfile(); + static MapObjectProfileDoorKey* GetProfile(); }; diff --git a/include/MapObject/MapObjectDoorSwitch.hpp b/include/MapObject/MapObjectDoorSwitch.hpp index e585932be..5ba9839d2 100644 --- a/include/MapObject/MapObjectDoorSwitch.hpp +++ b/include/MapObject/MapObjectDoorSwitch.hpp @@ -43,7 +43,7 @@ class MapObjectDoorSwitch : public MapObjectDoorBase { /* 00 */ virtual bool Init() override; /* 08 */ virtual void vfunc_08() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 18 */ virtual void vfunc_18(s8 *param1) override; + /* 18 */ virtual void vfunc_18(s8* param1) override; /* 30 */ virtual ~MapObjectDoorSwitch() override; /* 40 */ virtual void vfunc_40() override; /* 44 */ virtual void vfunc_44() override; @@ -57,7 +57,7 @@ class MapObjectDoorSwitch : public MapObjectDoorBase { /* 74 */ virtual void vfunc_74() override; // (MapObject_UnkStruct1_Derived1) - /* 10 */ virtual G3d_Model *GetModel(); + /* 10 */ virtual G3d_Model* GetModel(); }; class MapObjectProfileDoorSwitch : public MapObjectProfile_Derived2 { @@ -67,7 +67,7 @@ class MapObjectProfileDoorSwitch : public MapObjectProfile_Derived2 { MapObjectProfileDoorSwitch(); ~MapObjectProfileDoorSwitch(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileDoorSwitch *GetProfile(); + static MapObjectProfileDoorSwitch* GetProfile(); }; diff --git a/include/MapObject/MapObjectDoorTouch.hpp b/include/MapObject/MapObjectDoorTouch.hpp index 527e048cb..fa8c9f648 100644 --- a/include/MapObject/MapObjectDoorTouch.hpp +++ b/include/MapObject/MapObjectDoorTouch.hpp @@ -30,7 +30,7 @@ class MapObjectProfileDoorTouch : public MapObjectProfile_Derived1 { MapObjectProfileDoorTouch(); ~MapObjectProfileDoorTouch(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileDoorTouch *GetProfile(); + static MapObjectProfileDoorTouch* GetProfile(); }; diff --git a/include/MapObject/MapObjectGrass.hpp b/include/MapObject/MapObjectGrass.hpp index 9db4e1081..f50c6c218 100644 --- a/include/MapObject/MapObjectGrass.hpp +++ b/include/MapObject/MapObjectGrass.hpp @@ -40,16 +40,16 @@ class MapObjectGrass : public MapObject { /* 00 */ virtual bool Init() override; /* 08 */ virtual void vfunc_08() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) override; + /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) override; /* 38 */ virtual bool vfunc_38(MapObjState state, unk32 param2); - /* 3C */ virtual void vfunc_3C(VecFx32 *param1); + /* 3C */ virtual void vfunc_3C(VecFx32* param1); bool func_ov031_021016b4(); bool func_ov031_02101778(); void func_ov031_021018a4(unk16 param1); unk32 func_ov031_02101950(); void func_ov031_02101968(unk32 param1); - void func_ov031_02101978(unk32 param1, VecFx32 *param2); + void func_ov031_02101978(unk32 param1, VecFx32* param2); }; class MapObjectProfileGrass : public MapObjectProfilePot_Base { @@ -58,7 +58,7 @@ class MapObjectProfileGrass : public MapObjectProfilePot_Base { MapObjectProfileGrass(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileGrass *GetProfile(); + static MapObjectProfileGrass* GetProfile(); }; diff --git a/include/MapObject/MapObjectManager.hpp b/include/MapObject/MapObjectManager.hpp index e8bdfe38f..249cae099 100644 --- a/include/MapObject/MapObjectManager.hpp +++ b/include/MapObject/MapObjectManager.hpp @@ -9,7 +9,7 @@ struct MapObject; -typedef void (*UnkCallback_func_01fff4cc)(void *, void *); +typedef void (*UnkCallback_func_01fff4cc)(void*, void*); struct UnkStruct_MapObjCreateData { /* 00 */ u16 unk_00; @@ -22,12 +22,12 @@ struct UnkStruct_MapObjCreateData { class MapObjectManager : public AutoInstance { public: - /* 00 */ MapObject **mMapObjTable; - /* 04 */ MapObject **mMapObjTableEnd; - /* 08 */ MapObject **mUnk_08; // pointer to first available slot? - /* 0C */ s16 **mUnk_0C; // unknown table - /* 10 */ s16 **mUnk_10; // unknown table end - /* 14 */ s16 *mUnk_14; + /* 00 */ MapObject** mMapObjTable; + /* 04 */ MapObject** mMapObjTableEnd; + /* 08 */ MapObject** mUnk_08; // pointer to first available slot? + /* 0C */ s16** mUnk_0C; // unknown table + /* 10 */ s16** mUnk_10; // unknown table end + /* 14 */ s16* mUnk_14; /* 18 */ unk16 mUnk_18; /* 1A */ unk16 mUnk_1A; /* 1C */ unk16 mUnk_1C; @@ -35,38 +35,38 @@ class MapObjectManager : public AutoInstance { /* 20 */ unk16 mUnk_20; /* 22 */ unk16 mUnk_22; /* 24 */ PAD(0x24, 0x6C); - /* 6C */ void *mUnk_6C; + /* 6C */ void* mUnk_6C; /* 70 */ MapObjectManager(); ~MapObjectManager(); // itcm - MapObject *func_01fff498(Vec2bCpp param1); - void func_01fff4cc(UnkCallback_func_01fff4cc param1, void *param2); - MapObject **func_01fff520(UnkStruct_ov000_020b34c4 *param1, MapObject **param2); + MapObject* func_01fff498(Vec2bCpp param1); + void func_01fff4cc(UnkCallback_func_01fff4cc param1, void* param2); + MapObject** func_01fff520(UnkStruct_ov000_020b34c4* param1, MapObject** param2); // overlay 0 - MapObjectId func_ov000_0209c3a8(Vec2bCpp *param1); + MapObjectId func_ov000_0209c3a8(Vec2bCpp* param1); void func_ov000_0209c3e8(); void func_ov000_0209c444(unk32 param1); - MapObject *AllocateMapObject(MapObjectId mapObjId, Vec2b param2, u16 param3, unk32 param4, u8 param5); + MapObject* AllocateMapObject(MapObjectId mapObjId, Vec2b param2, u16 param3, unk32 param4, u8 param5); static void func_ov000_0209c490(); // overlay 1 void func_ov001_020bac9c(); - void func_ov001_020bacd8(ZOBHeader *pHeader); + void func_ov001_020bacd8(ZOBHeader* pHeader); void func_ov001_020bad80(); void func_ov001_020bada0(); void func_ov001_020badb4(); void func_ov001_020bade0(); - void func_ov001_020bae40(ZeldaObjectList *pObjList); + void func_ov001_020bae40(ZeldaObjectList* pObjList); void func_ov001_020bae6c(); - void func_ov001_020baea0(u16 *param1); + void func_ov001_020baea0(u16* param1); void func_ov001_020baf28(); - static MapObjectManager *Create(); + static MapObjectManager* Create(); static void Destroy(); // overlay 5 @@ -75,14 +75,14 @@ class MapObjectManager : public AutoInstance { // overlay 17 bool func_ov017_020c007c(unk32 param1); void func_ov017_020c00dc(unk32 param1); - void func_ov017_020c01c8(void *param1); + void func_ov017_020c01c8(void* param1); void func_ov017_020c01cc(unk32 param1); - void func_ov017_020c023c(s8 *param1); + void func_ov017_020c023c(s8* param1); void func_ov017_020c02ac(volatile unk32 param1, Vec2bCpp param2); - void func_ov017_020c02f4(volatile unk32 param1, VecFx32 *param2); + void func_ov017_020c02f4(volatile unk32 param1, VecFx32* param2); unk32 func_ov017_020c050c(unk32 param1, PlayerType playerType, unk32 param3, unk32 param4); - static void func_ov017_020c033c(unk32 *param1, MapObjectManager *thisx, const Vec2s *param2, unk32 param3, unk32 param4); + static void func_ov017_020c033c(unk32* param1, MapObjectManager* thisx, const Vec2s* param2, unk32 param3, unk32 param4); }; -extern MapObjectManager *gpMapObjManager; +extern MapObjectManager* gpMapObjManager; diff --git a/include/MapObject/MapObjectMiniBlocks.hpp b/include/MapObject/MapObjectMiniBlocks.hpp index 10e9503f2..116b330f2 100644 --- a/include/MapObject/MapObjectMiniBlocks.hpp +++ b/include/MapObject/MapObjectMiniBlocks.hpp @@ -25,8 +25,8 @@ class MapObjectProfileMiniBlocks : public MapObjectProfile_Derived1 { MapObjectProfileMiniBlocks(); - /* 00 */ virtual MapObject *Create(); + /* 00 */ virtual MapObject* Create(); /* 1C */ virtual ~MapObjectProfileMiniBlocks() override; - static MapObjectProfileMiniBlocks *GetProfile(); + static MapObjectProfileMiniBlocks* GetProfile(); }; diff --git a/include/MapObject/MapObjectPot.hpp b/include/MapObject/MapObjectPot.hpp index 7bf51b71a..48fd69f96 100644 --- a/include/MapObject/MapObjectPot.hpp +++ b/include/MapObject/MapObjectPot.hpp @@ -15,8 +15,8 @@ class MapObjectPot : public MapObjectPot_Base { /* 04 */ virtual void Setup() override; // func_ov031_02105088 /* 14 */ virtual void vfunc_14(unk32 param1) override; // func_ov031_021052cc - /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3); // func_ov031_021050b4 - /* 24 */ virtual void vfunc_24(MapObject *param1, VecFx32 param2) override; // func_ov031_02105348 + /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3); // func_ov031_021050b4 + /* 24 */ virtual void vfunc_24(MapObject* param1, VecFx32 param2) override; // func_ov031_02105348 /* 3C */ virtual bool vfunc_3C() override; // func_ov031_021053b4 /* 40 */ virtual bool vfunc_40() override; // func_ov031_021053fc /* 48 */ virtual void vfunc_48() override; // func_ov031_021051d4 @@ -29,7 +29,7 @@ class MapObjectProfilePot : public MapObjectProfilePot_Base { MapObjectProfilePot(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfilePot *GetProfile(); + static MapObjectProfilePot* GetProfile(); }; diff --git a/include/MapObject/MapObjectPot_Base.hpp b/include/MapObject/MapObjectPot_Base.hpp index 52dbe83f3..57139b1ed 100644 --- a/include/MapObject/MapObjectPot_Base.hpp +++ b/include/MapObject/MapObjectPot_Base.hpp @@ -21,7 +21,7 @@ class MapObjectPot_Base : public MapObject { // data_ov000_020b35d0 /* 00 */ virtual bool Init(); - /* 24 */ virtual void vfunc_24(MapObject *param1, VecFx32 param2) override; + /* 24 */ virtual void vfunc_24(MapObject* param1, VecFx32 param2) override; /* 28 */ virtual unk32 vfunc_28(PlayerType playerType, unk32 param2, unk32 param3) override; /* 30 */ virtual ~MapObjectPot_Base() = 0 override; /* 38 */ virtual void vfunc_38() override; @@ -30,7 +30,7 @@ class MapObjectPot_Base : public MapObject { /* 44 */ virtual bool SetState(MapObjState state, unk32 param2) override; /* 48 */ virtual void vfunc_48() override; /* 4C */ virtual bool vfunc_4C() override; - /* 50 */ virtual void vfunc_50(RefStruct *param1, MapObjectPot_Base *thisx) override; + /* 50 */ virtual void vfunc_50(RefStruct* param1, MapObjectPot_Base* thisx) override; /* 54 */ virtual unk32 vfunc_54() override; void func_ov000_0209da78(unk32 param1, unk32 param2); diff --git a/include/MapObject/MapObjectProfile.hpp b/include/MapObject/MapObjectProfile.hpp index bd113ffc1..f64c6fc73 100644 --- a/include/MapObject/MapObjectProfile.hpp +++ b/include/MapObject/MapObjectProfile.hpp @@ -35,26 +35,26 @@ class MapObjectProfile { ~MapObjectProfile(); // data_ov000_020b3524 - /* 00 */ virtual MapObject *Create() = 0; - /* 04 */ virtual MapObjectProfile_Derived2_20 *vfunc_04(); + /* 00 */ virtual MapObject* Create() = 0; + /* 04 */ virtual MapObjectProfile_Derived2_20* vfunc_04(); /* 08 */ virtual void vfunc_08(); /* 0C */ virtual void vfunc_0C(); /* 10 */ virtual void vfunc_10(); /* 14 */ - unk32 func_ov000_0209c8e4(MapObject_20 *param1); + unk32 func_ov000_0209c8e4(MapObject_20* param1); void func_ov000_0209c95c(); void func_ov000_0209c970(); static unk32 func_ov000_0209c820(); - static void func_ov000_0209c8ec(MapObjectProfile *thisx); + static void func_ov000_0209c8ec(MapObjectProfile* thisx); void func_ov000_0209c8ec(); }; class MapObjectProfile_Derived1 : public MapObjectProfile { public: /* 00 (base) */ - /* 20 */ MapObjectProfile_Derived2_20 *mUnk_20[16]; + /* 20 */ MapObjectProfile_Derived2_20* mUnk_20[16]; /* 60 */ unk32 mUnk_60; /* 64 */ unk16 mUnk_64; /* 66 */ unk16 mUnk_66; @@ -63,12 +63,12 @@ class MapObjectProfile_Derived1 : public MapObjectProfile { MapObjectProfile_Derived1(MapObjectId mapObjId, unk32 param2, unk32 param3); // func_ov000_0209cb4c // data_ov000_020b3540 - /* 04 */ virtual MapObjectProfile_Derived2_20 *vfunc_04(); + /* 04 */ virtual MapObjectProfile_Derived2_20* vfunc_04(); /* 08 */ virtual void vfunc_08(); /* 0C */ virtual void vfunc_0C(); /* 10 */ virtual void vfunc_10(); /* 14 */ virtual ~MapObjectProfile_Derived1(); - /* 1C */ virtual MapObjectProfile_Derived2_20 *vfunc_1C(unk32 param1); + /* 1C */ virtual MapObjectProfile_Derived2_20* vfunc_1C(unk32 param1); void func_ov000_0209ccd8(unk32 param1, u32 param2); }; @@ -83,7 +83,7 @@ class MapObjectProfile_Derived2 : public MapObjectProfile { ~MapObjectProfile_Derived2(); // data_ov000_020b3508 - /* 04 */ virtual MapObjectProfile_Derived2_20 *vfunc_04() override; + /* 04 */ virtual MapObjectProfile_Derived2_20* vfunc_04() override; /* 08 */ virtual void vfunc_08() override; /* 0C */ virtual void vfunc_0C() override; /* 10 */ virtual void vfunc_10() override; @@ -92,14 +92,14 @@ class MapObjectProfile_Derived2 : public MapObjectProfile { class MapObjectProfile_Derived3 : public MapObjectProfile { public: /* 00 (base) */ - /* 20 */ MapObjectProfile_Derived2_20 *mUnk_20; + /* 20 */ MapObjectProfile_Derived2_20* mUnk_20; /* 24 */ MapObjectProfile_Derived3(MapObjectId mapObjId1, MapObjectId mapObjId2); // func_ov000_0209ca88 ~MapObjectProfile_Derived3() {} // data_ov000_020b34ec - /* 04 */ virtual MapObjectProfile_Derived2_20 *vfunc_04() override; + /* 04 */ virtual MapObjectProfile_Derived2_20* vfunc_04() override; /* 08 */ virtual void vfunc_08() override; }; @@ -124,4 +124,4 @@ class MapObjectProfile_Derived6 : public MapObjectProfile_Derived2 { /* 0C */ virtual void vfunc_10() override; }; -typedef MapObjectProfile *(*GetMapObjectProfile)(); +typedef MapObjectProfile* (*GetMapObjectProfile)(); diff --git a/include/MapObject/MapObjectSwitchStep.hpp b/include/MapObject/MapObjectSwitchStep.hpp index 4c66abaff..007d85032 100644 --- a/include/MapObject/MapObjectSwitchStep.hpp +++ b/include/MapObject/MapObjectSwitchStep.hpp @@ -21,7 +21,7 @@ class MapObjectSwitchStep_40 : public ModelRender { // data_ov000_020b36e0 /* 00 */ virtual ~MapObjectSwitchStep_40() override {} - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; void func_ov000_0209dde0(void); }; @@ -52,7 +52,7 @@ class MapObjectSwitchStep : public MapObject { /* 00 */ virtual bool Init() override; /* 08 */ virtual void vfunc_08() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 18 */ virtual void vfunc_18(s8 *param1) override; + /* 18 */ virtual void vfunc_18(s8* param1) override; /* 20 */ virtual void vfunc_20(RefStruct param1) override; /* 30 */ virtual ~MapObjectSwitchStep() override; @@ -81,7 +81,7 @@ class MapObjectProfileSwitchStep : public MapObjectProfileSwitchStep_Base { MapObjectProfileSwitchStep(); ~MapObjectProfileSwitchStep() {} - /* 00 */ virtual MapObject *Create(); + /* 00 */ virtual MapObject* Create(); - static MapObjectProfileSwitchStep *GetProfile(); + static MapObjectProfileSwitchStep* GetProfile(); }; diff --git a/include/MapObject/MapObjectTreasureSpawned.hpp b/include/MapObject/MapObjectTreasureSpawned.hpp index b02938640..763e0e5ad 100644 --- a/include/MapObject/MapObjectTreasureSpawned.hpp +++ b/include/MapObject/MapObjectTreasureSpawned.hpp @@ -13,7 +13,7 @@ class MapObjectTreasureSpawned : public MapObjectChestBase { /* 30 */ virtual ~MapObjectTreasureSpawned() override; /* 3C */ virtual unk32 vfunc_3C() override; /* 40 */ virtual bool vfunc_40() override; - /* 54 */ virtual Vec2p *vfunc_54() override; + /* 54 */ virtual Vec2p* vfunc_54() override; void func_ov031_02102f64(void); void func_ov031_02102f90(void); @@ -27,7 +27,7 @@ class MapObjectProfileTreasureSpawned : public MapObjectProfile_Derived2 { MapObjectProfileTreasureSpawned(); ~MapObjectProfileTreasureSpawned(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileTreasureSpawned *GetProfile(); + static MapObjectProfileTreasureSpawned* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkARWL.hpp b/include/MapObject/MapObjectUnkARWL.hpp index 5f9c30434..3e1c56429 100644 --- a/include/MapObject/MapObjectUnkARWL.hpp +++ b/include/MapObject/MapObjectUnkARWL.hpp @@ -35,7 +35,7 @@ class MapObjectProfileUnkARWL : public MapObjectProfile { MapObjectProfileUnkARWL(); ~MapObjectProfileUnkARWL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkARWL *GetProfile(); + static MapObjectProfileUnkARWL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBAPL.hpp b/include/MapObject/MapObjectUnkBAPL.hpp index 0c982f088..6e334db7b 100644 --- a/include/MapObject/MapObjectUnkBAPL.hpp +++ b/include/MapObject/MapObjectUnkBAPL.hpp @@ -52,7 +52,7 @@ class MapObjectProfileUnkBAPL : public MapObjectProfile { MapObjectProfileUnkBAPL(); ~MapObjectProfileUnkBAPL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBAPL *GetProfile(); + static MapObjectProfileUnkBAPL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBBFL.hpp b/include/MapObject/MapObjectUnkBBFL.hpp index c02c882fd..e19bf863f 100644 --- a/include/MapObject/MapObjectUnkBBFL.hpp +++ b/include/MapObject/MapObjectUnkBBFL.hpp @@ -31,7 +31,7 @@ class MapObjectProfileUnkBBFL : public MapObjectProfile { MapObjectProfileUnkBBFL(); ~MapObjectProfileUnkBBFL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBBFL *GetProfile(); + static MapObjectProfileUnkBBFL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBFFL.hpp b/include/MapObject/MapObjectUnkBFFL.hpp index b1a75ec90..5585fe31e 100644 --- a/include/MapObject/MapObjectUnkBFFL.hpp +++ b/include/MapObject/MapObjectUnkBFFL.hpp @@ -36,7 +36,7 @@ class MapObjectProfileUnkBFFL : public MapObjectProfile { MapObjectProfileUnkBFFL(); ~MapObjectProfileUnkBFFL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBFFL *GetProfile(); + static MapObjectProfileUnkBFFL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBFSP.hpp b/include/MapObject/MapObjectUnkBFSP.hpp index 6d0e0050a..d6cbaaaed 100644 --- a/include/MapObject/MapObjectUnkBFSP.hpp +++ b/include/MapObject/MapObjectUnkBFSP.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkBFSP : public MapObjectProfile { MapObjectProfileUnkBFSP(); ~MapObjectProfileUnkBFSP(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBFSP *GetProfile(); + static MapObjectProfileUnkBFSP* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBLCC.hpp b/include/MapObject/MapObjectUnkBLCC.hpp index 3cb3b1b50..9a235938b 100644 --- a/include/MapObject/MapObjectUnkBLCC.hpp +++ b/include/MapObject/MapObjectUnkBLCC.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkBLCC : public MapObjectProfile { MapObjectProfileUnkBLCC(); ~MapObjectProfileUnkBLCC(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBLCC *GetProfile(); + static MapObjectProfileUnkBLCC* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBLCE.hpp b/include/MapObject/MapObjectUnkBLCE.hpp index a6c424185..34bcc1161 100644 --- a/include/MapObject/MapObjectUnkBLCE.hpp +++ b/include/MapObject/MapObjectUnkBLCE.hpp @@ -26,7 +26,7 @@ class MapObjectProfileUnkBLCE : public MapObjectProfile { MapObjectProfileUnkBLCE(); ~MapObjectProfileUnkBLCE(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBLCE *GetProfile(); + static MapObjectProfileUnkBLCE* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBLCK.hpp b/include/MapObject/MapObjectUnkBLCK.hpp index 1105682f9..70c4a8ca3 100644 --- a/include/MapObject/MapObjectUnkBLCK.hpp +++ b/include/MapObject/MapObjectUnkBLCK.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkBLCK : public MapObjectProfile { MapObjectProfileUnkBLCK(); ~MapObjectProfileUnkBLCK(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBLCK *GetProfile(); + static MapObjectProfileUnkBLCK* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBLCT.hpp b/include/MapObject/MapObjectUnkBLCT.hpp index d11a21496..fc37bf1f8 100644 --- a/include/MapObject/MapObjectUnkBLCT.hpp +++ b/include/MapObject/MapObjectUnkBLCT.hpp @@ -31,7 +31,7 @@ class MapObjectProfileUnkBLCT : public MapObjectProfile { MapObjectProfileUnkBLCT(); ~MapObjectProfileUnkBLCT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBLCT *GetProfile(); + static MapObjectProfileUnkBLCT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBLHL.hpp b/include/MapObject/MapObjectUnkBLHL.hpp index 409c86c8b..bb58c3bd4 100644 --- a/include/MapObject/MapObjectUnkBLHL.hpp +++ b/include/MapObject/MapObjectUnkBLHL.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkBLHL : public MapObjectProfile { MapObjectProfileUnkBLHL(); ~MapObjectProfileUnkBLHL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBLHL *GetProfile(); + static MapObjectProfileUnkBLHL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBLRB.hpp b/include/MapObject/MapObjectUnkBLRB.hpp index 0c926098f..a6db4b5e6 100644 --- a/include/MapObject/MapObjectUnkBLRB.hpp +++ b/include/MapObject/MapObjectUnkBLRB.hpp @@ -34,7 +34,7 @@ class MapObjectProfileUnkBLRB : public MapObjectProfile { MapObjectProfileUnkBLRB(); ~MapObjectProfileUnkBLRB(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBLRB *GetProfile(); + static MapObjectProfileUnkBLRB* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBLSR.hpp b/include/MapObject/MapObjectUnkBLSR.hpp index b3b585b0e..83693d788 100644 --- a/include/MapObject/MapObjectUnkBLSR.hpp +++ b/include/MapObject/MapObjectUnkBLSR.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkBLSR : public MapObjectProfile { MapObjectProfileUnkBLSR(); ~MapObjectProfileUnkBLSR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBLSR *GetProfile(); + static MapObjectProfileUnkBLSR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBOGN.hpp b/include/MapObject/MapObjectUnkBOGN.hpp index 29639f2a1..b3a365084 100644 --- a/include/MapObject/MapObjectUnkBOGN.hpp +++ b/include/MapObject/MapObjectUnkBOGN.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkBOGN : public MapObjectProfile { MapObjectProfileUnkBOGN(); ~MapObjectProfileUnkBOGN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBOGN *GetProfile(); + static MapObjectProfileUnkBOGN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBREX.hpp b/include/MapObject/MapObjectUnkBREX.hpp index 8602a5fc5..781571529 100644 --- a/include/MapObject/MapObjectUnkBREX.hpp +++ b/include/MapObject/MapObjectUnkBREX.hpp @@ -39,7 +39,7 @@ class MapObjectProfileUnkBREX : public MapObjectProfile { MapObjectProfileUnkBREX(); ~MapObjectProfileUnkBREX(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBREX *GetProfile(); + static MapObjectProfileUnkBREX* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBRGL.hpp b/include/MapObject/MapObjectUnkBRGL.hpp index c20f86d61..b10c684d0 100644 --- a/include/MapObject/MapObjectUnkBRGL.hpp +++ b/include/MapObject/MapObjectUnkBRGL.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkBRGL : public MapObjectProfile { MapObjectProfileUnkBRGL(); ~MapObjectProfileUnkBRGL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBRGL *GetProfile(); + static MapObjectProfileUnkBRGL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBRGS.hpp b/include/MapObject/MapObjectUnkBRGS.hpp index 69501b85e..2c73ee2f1 100644 --- a/include/MapObject/MapObjectUnkBRGS.hpp +++ b/include/MapObject/MapObjectUnkBRGS.hpp @@ -35,7 +35,7 @@ class MapObjectProfileUnkBRGS : public MapObjectProfile { MapObjectProfileUnkBRGS(); ~MapObjectProfileUnkBRGS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBRGS *GetProfile(); + static MapObjectProfileUnkBRGS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkBRGW.hpp b/include/MapObject/MapObjectUnkBRGW.hpp index 6baee382c..a1d1ba64f 100644 --- a/include/MapObject/MapObjectUnkBRGW.hpp +++ b/include/MapObject/MapObjectUnkBRGW.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkBRGW : public MapObjectProfile { MapObjectProfileUnkBRGW(); ~MapObjectProfileUnkBRGW(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkBRGW *GetProfile(); + static MapObjectProfileUnkBRGW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkCLMN.hpp b/include/MapObject/MapObjectUnkCLMN.hpp index d4d6e50f8..05e392a19 100644 --- a/include/MapObject/MapObjectUnkCLMN.hpp +++ b/include/MapObject/MapObjectUnkCLMN.hpp @@ -26,7 +26,7 @@ class MapObjectProfileUnkCLMN : public MapObjectProfile { MapObjectProfileUnkCLMN(); ~MapObjectProfileUnkCLMN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkCLMN *GetProfile(); + static MapObjectProfileUnkCLMN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkCRWL.hpp b/include/MapObject/MapObjectUnkCRWL.hpp index 546e94154..4834de2ce 100644 --- a/include/MapObject/MapObjectUnkCRWL.hpp +++ b/include/MapObject/MapObjectUnkCRWL.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkCRWL : public MapObjectProfile { MapObjectProfileUnkCRWL(); ~MapObjectProfileUnkCRWL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkCRWL *GetProfile(); + static MapObjectProfileUnkCRWL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkCSTL.hpp b/include/MapObject/MapObjectUnkCSTL.hpp index e3f7f5900..a5e65c5be 100644 --- a/include/MapObject/MapObjectUnkCSTL.hpp +++ b/include/MapObject/MapObjectUnkCSTL.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkCSTL : public MapObjectProfile { MapObjectProfileUnkCSTL(); ~MapObjectProfileUnkCSTL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkCSTL *GetProfile(); + static MapObjectProfileUnkCSTL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkCTPT.hpp b/include/MapObject/MapObjectUnkCTPT.hpp index 2d21472e3..9efaacbf3 100644 --- a/include/MapObject/MapObjectUnkCTPT.hpp +++ b/include/MapObject/MapObjectUnkCTPT.hpp @@ -38,7 +38,7 @@ class MapObjectProfileUnkCTPT : public MapObjectProfile { MapObjectProfileUnkCTPT(); ~MapObjectProfileUnkCTPT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkCTPT *GetProfile(); + static MapObjectProfileUnkCTPT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDFNC.hpp b/include/MapObject/MapObjectUnkDFNC.hpp index e8a0af3d7..9a68ce32e 100644 --- a/include/MapObject/MapObjectUnkDFNC.hpp +++ b/include/MapObject/MapObjectUnkDFNC.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkDFNC : public MapObjectProfile { MapObjectProfileUnkDFNC(); ~MapObjectProfileUnkDFNC(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDFNC *GetProfile(); + static MapObjectProfileUnkDFNC* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDOPA.hpp b/include/MapObject/MapObjectUnkDOPA.hpp index d058ffc53..fa6f6e101 100644 --- a/include/MapObject/MapObjectUnkDOPA.hpp +++ b/include/MapObject/MapObjectUnkDOPA.hpp @@ -48,7 +48,7 @@ class MapObjectProfileUnkDOPA : public MapObjectProfile { MapObjectProfileUnkDOPA(); ~MapObjectProfileUnkDOPA(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDOPA *GetProfile(); + static MapObjectProfileUnkDOPA* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRBK.hpp b/include/MapObject/MapObjectUnkDRBK.hpp index 53967c67e..1d1f315d1 100644 --- a/include/MapObject/MapObjectUnkDRBK.hpp +++ b/include/MapObject/MapObjectUnkDRBK.hpp @@ -41,7 +41,7 @@ class MapObjectProfileUnkDRBK : public MapObjectProfile { MapObjectProfileUnkDRBK(); ~MapObjectProfileUnkDRBK(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRBK *GetProfile(); + static MapObjectProfileUnkDRBK* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRBR.hpp b/include/MapObject/MapObjectUnkDRBR.hpp index 46d7d5c78..f245a13af 100644 --- a/include/MapObject/MapObjectUnkDRBR.hpp +++ b/include/MapObject/MapObjectUnkDRBR.hpp @@ -26,7 +26,7 @@ class MapObjectProfileUnkDRBR : public MapObjectProfile { MapObjectProfileUnkDRBR(); ~MapObjectProfileUnkDRBR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRBR *GetProfile(); + static MapObjectProfileUnkDRBR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRGN.hpp b/include/MapObject/MapObjectUnkDRGN.hpp index 76d57082e..282d07a40 100644 --- a/include/MapObject/MapObjectUnkDRGN.hpp +++ b/include/MapObject/MapObjectUnkDRGN.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkDRGN : public MapObjectProfile { MapObjectProfileUnkDRGN(); ~MapObjectProfileUnkDRGN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRGN *GetProfile(); + static MapObjectProfileUnkDRGN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRHS.hpp b/include/MapObject/MapObjectUnkDRHS.hpp index 536f5e43e..02b6c439f 100644 --- a/include/MapObject/MapObjectUnkDRHS.hpp +++ b/include/MapObject/MapObjectUnkDRHS.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkDRHS : public MapObjectProfile { MapObjectProfileUnkDRHS(); ~MapObjectProfileUnkDRHS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRHS *GetProfile(); + static MapObjectProfileUnkDRHS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRMC.hpp b/include/MapObject/MapObjectUnkDRMC.hpp index 46b8e9172..c9a6a2c3a 100644 --- a/include/MapObject/MapObjectUnkDRMC.hpp +++ b/include/MapObject/MapObjectUnkDRMC.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkDRMC : public MapObjectProfile { MapObjectProfileUnkDRMC(); ~MapObjectProfileUnkDRMC(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRMC *GetProfile(); + static MapObjectProfileUnkDRMC* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRRS.hpp b/include/MapObject/MapObjectUnkDRRS.hpp index 742ccf6fd..2b36c84cc 100644 --- a/include/MapObject/MapObjectUnkDRRS.hpp +++ b/include/MapObject/MapObjectUnkDRRS.hpp @@ -36,7 +36,7 @@ class MapObjectProfileUnkDRRS : public MapObjectProfile { MapObjectProfileUnkDRRS(); ~MapObjectProfileUnkDRRS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRRS *GetProfile(); + static MapObjectProfileUnkDRRS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRSN.hpp b/include/MapObject/MapObjectUnkDRSN.hpp index 184b3069e..1ed637f34 100644 --- a/include/MapObject/MapObjectUnkDRSN.hpp +++ b/include/MapObject/MapObjectUnkDRSN.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkDRSN : public MapObjectProfile { MapObjectProfileUnkDRSN(); ~MapObjectProfileUnkDRSN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRSN *GetProfile(); + static MapObjectProfileUnkDRSN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRST.hpp b/include/MapObject/MapObjectUnkDRST.hpp index f63f35c2f..75392c920 100644 --- a/include/MapObject/MapObjectUnkDRST.hpp +++ b/include/MapObject/MapObjectUnkDRST.hpp @@ -37,7 +37,7 @@ class MapObjectProfileUnkDRST : public MapObjectProfile { MapObjectProfileUnkDRST(); ~MapObjectProfileUnkDRST(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRST *GetProfile(); + static MapObjectProfileUnkDRST* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRTK.hpp b/include/MapObject/MapObjectUnkDRTK.hpp index 974852cad..497ce3bb5 100644 --- a/include/MapObject/MapObjectUnkDRTK.hpp +++ b/include/MapObject/MapObjectUnkDRTK.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkDRTK : public MapObjectProfile { MapObjectProfileUnkDRTK(); ~MapObjectProfileUnkDRTK(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRTK *GetProfile(); + static MapObjectProfileUnkDRTK* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRTW.hpp b/include/MapObject/MapObjectUnkDRTW.hpp index 22d46bce6..44355f2aa 100644 --- a/include/MapObject/MapObjectUnkDRTW.hpp +++ b/include/MapObject/MapObjectUnkDRTW.hpp @@ -36,7 +36,7 @@ class MapObjectProfileUnkDRTW : public MapObjectProfile { MapObjectProfileUnkDRTW(); ~MapObjectProfileUnkDRTW(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRTW *GetProfile(); + static MapObjectProfileUnkDRTW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRTY.hpp b/include/MapObject/MapObjectUnkDRTY.hpp index f82607d71..46458f6ff 100644 --- a/include/MapObject/MapObjectUnkDRTY.hpp +++ b/include/MapObject/MapObjectUnkDRTY.hpp @@ -42,7 +42,7 @@ class MapObjectProfileUnkDRTY : public MapObjectProfile { MapObjectProfileUnkDRTY(); ~MapObjectProfileUnkDRTY(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRTY *GetProfile(); + static MapObjectProfileUnkDRTY* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRVC.hpp b/include/MapObject/MapObjectUnkDRVC.hpp index 0f7b7b689..821d9a0ae 100644 --- a/include/MapObject/MapObjectUnkDRVC.hpp +++ b/include/MapObject/MapObjectUnkDRVC.hpp @@ -38,7 +38,7 @@ class MapObjectProfileUnkDRVC : public MapObjectProfile { MapObjectProfileUnkDRVC(); ~MapObjectProfileUnkDRVC(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRVC *GetProfile(); + static MapObjectProfileUnkDRVC* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkDRVT.hpp b/include/MapObject/MapObjectUnkDRVT.hpp index 4c685964f..7320ff879 100644 --- a/include/MapObject/MapObjectUnkDRVT.hpp +++ b/include/MapObject/MapObjectUnkDRVT.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkDRVT : public MapObjectProfile { MapObjectProfileUnkDRVT(); ~MapObjectProfileUnkDRVT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkDRVT *GetProfile(); + static MapObjectProfileUnkDRVT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkEBRD.hpp b/include/MapObject/MapObjectUnkEBRD.hpp index 7ee1ae736..b2a2758de 100644 --- a/include/MapObject/MapObjectUnkEBRD.hpp +++ b/include/MapObject/MapObjectUnkEBRD.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkEBRD : public MapObjectProfile { MapObjectProfileUnkEBRD(); ~MapObjectProfileUnkEBRD(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkEBRD *GetProfile(); + static MapObjectProfileUnkEBRD* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkEFRF.hpp b/include/MapObject/MapObjectUnkEFRF.hpp index 138f92b94..662a90e23 100644 --- a/include/MapObject/MapObjectUnkEFRF.hpp +++ b/include/MapObject/MapObjectUnkEFRF.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkEFRF : public MapObjectProfile { MapObjectProfileUnkEFRF(); ~MapObjectProfileUnkEFRF(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkEFRF *GetProfile(); + static MapObjectProfileUnkEFRF* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkEFRS.hpp b/include/MapObject/MapObjectUnkEFRS.hpp index dc367cbda..e9d96c9e6 100644 --- a/include/MapObject/MapObjectUnkEFRS.hpp +++ b/include/MapObject/MapObjectUnkEFRS.hpp @@ -33,7 +33,7 @@ class MapObjectProfileUnkEFRS : public MapObjectProfile { MapObjectProfileUnkEFRS(); ~MapObjectProfileUnkEFRS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkEFRS *GetProfile(); + static MapObjectProfileUnkEFRS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETDD.hpp b/include/MapObject/MapObjectUnkETDD.hpp index 1e1d287c6..15d861155 100644 --- a/include/MapObject/MapObjectUnkETDD.hpp +++ b/include/MapObject/MapObjectUnkETDD.hpp @@ -31,7 +31,7 @@ class MapObjectProfileUnkETDD : public MapObjectProfile { MapObjectProfileUnkETDD(); ~MapObjectProfileUnkETDD(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETDD *GetProfile(); + static MapObjectProfileUnkETDD* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETDK.hpp b/include/MapObject/MapObjectUnkETDK.hpp index 3a23aedbb..9dc2f03df 100644 --- a/include/MapObject/MapObjectUnkETDK.hpp +++ b/include/MapObject/MapObjectUnkETDK.hpp @@ -43,7 +43,7 @@ class MapObjectProfileUnkETDK : public MapObjectProfile { MapObjectProfileUnkETDK(); ~MapObjectProfileUnkETDK(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETDK *GetProfile(); + static MapObjectProfileUnkETDK* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETET.hpp b/include/MapObject/MapObjectUnkETET.hpp index e04a28b78..46acb1c13 100644 --- a/include/MapObject/MapObjectUnkETET.hpp +++ b/include/MapObject/MapObjectUnkETET.hpp @@ -34,7 +34,7 @@ class MapObjectProfileUnkETET : public MapObjectProfile { MapObjectProfileUnkETET(); ~MapObjectProfileUnkETET(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETET *GetProfile(); + static MapObjectProfileUnkETET* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETFD.hpp b/include/MapObject/MapObjectUnkETFD.hpp index e6b770cee..90664f274 100644 --- a/include/MapObject/MapObjectUnkETFD.hpp +++ b/include/MapObject/MapObjectUnkETFD.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkETFD : public MapObjectProfile { MapObjectProfileUnkETFD(); ~MapObjectProfileUnkETFD(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETFD *GetProfile(); + static MapObjectProfileUnkETFD* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETMW.hpp b/include/MapObject/MapObjectUnkETMW.hpp index 9e71151ae..c2c53eb44 100644 --- a/include/MapObject/MapObjectUnkETMW.hpp +++ b/include/MapObject/MapObjectUnkETMW.hpp @@ -34,7 +34,7 @@ class MapObjectProfileUnkETMW : public MapObjectProfile { MapObjectProfileUnkETMW(); ~MapObjectProfileUnkETMW(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETMW *GetProfile(); + static MapObjectProfileUnkETMW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETNL.hpp b/include/MapObject/MapObjectUnkETNL.hpp index 36f71a547..b9007f119 100644 --- a/include/MapObject/MapObjectUnkETNL.hpp +++ b/include/MapObject/MapObjectUnkETNL.hpp @@ -34,7 +34,7 @@ class MapObjectProfileUnkETNL : public MapObjectProfile { MapObjectProfileUnkETNL(); ~MapObjectProfileUnkETNL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETNL *GetProfile(); + static MapObjectProfileUnkETNL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETNM.hpp b/include/MapObject/MapObjectUnkETNM.hpp index 2fa75ba81..15de44393 100644 --- a/include/MapObject/MapObjectUnkETNM.hpp +++ b/include/MapObject/MapObjectUnkETNM.hpp @@ -26,7 +26,7 @@ class MapObjectProfileUnkETNM : public MapObjectProfile { MapObjectProfileUnkETNM(); ~MapObjectProfileUnkETNM(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETNM *GetProfile(); + static MapObjectProfileUnkETNM* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETNS.hpp b/include/MapObject/MapObjectUnkETNS.hpp index fc02251b8..4e49dc0c9 100644 --- a/include/MapObject/MapObjectUnkETNS.hpp +++ b/include/MapObject/MapObjectUnkETNS.hpp @@ -26,7 +26,7 @@ class MapObjectProfileUnkETNS : public MapObjectProfile { MapObjectProfileUnkETNS(); ~MapObjectProfileUnkETNS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETNS *GetProfile(); + static MapObjectProfileUnkETNS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETSD.hpp b/include/MapObject/MapObjectUnkETSD.hpp index f646e7655..1e005fbf0 100644 --- a/include/MapObject/MapObjectUnkETSD.hpp +++ b/include/MapObject/MapObjectUnkETSD.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkETSD : public MapObjectProfile { MapObjectProfileUnkETSD(); ~MapObjectProfileUnkETSD(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETSD *GetProfile(); + static MapObjectProfileUnkETSD* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETSW.hpp b/include/MapObject/MapObjectUnkETSW.hpp index 66fe35df7..60a65122b 100644 --- a/include/MapObject/MapObjectUnkETSW.hpp +++ b/include/MapObject/MapObjectUnkETSW.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkETSW : public MapObjectProfile { MapObjectProfileUnkETSW(); ~MapObjectProfileUnkETSW(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETSW *GetProfile(); + static MapObjectProfileUnkETSW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETTV.hpp b/include/MapObject/MapObjectUnkETTV.hpp index 9bbd67a03..2bfd8ddd9 100644 --- a/include/MapObject/MapObjectUnkETTV.hpp +++ b/include/MapObject/MapObjectUnkETTV.hpp @@ -46,7 +46,7 @@ class MapObjectProfileUnkETTV : public MapObjectProfile { MapObjectProfileUnkETTV(); ~MapObjectProfileUnkETTV(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETTV *GetProfile(); + static MapObjectProfileUnkETTV* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETUS.hpp b/include/MapObject/MapObjectUnkETUS.hpp index 621982e1e..2da1b53c5 100644 --- a/include/MapObject/MapObjectUnkETUS.hpp +++ b/include/MapObject/MapObjectUnkETUS.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkETUS : public MapObjectProfile { MapObjectProfileUnkETUS(); ~MapObjectProfileUnkETUS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETUS *GetProfile(); + static MapObjectProfileUnkETUS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkETYG.hpp b/include/MapObject/MapObjectUnkETYG.hpp index ebbe00807..35783e9dc 100644 --- a/include/MapObject/MapObjectUnkETYG.hpp +++ b/include/MapObject/MapObjectUnkETYG.hpp @@ -36,7 +36,7 @@ class MapObjectProfileUnkETYG : public MapObjectProfile { MapObjectProfileUnkETYG(); ~MapObjectProfileUnkETYG(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkETYG *GetProfile(); + static MapObjectProfileUnkETYG* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkEXCT.hpp b/include/MapObject/MapObjectUnkEXCT.hpp index 3e9cde6ed..f1ca60a6f 100644 --- a/include/MapObject/MapObjectUnkEXCT.hpp +++ b/include/MapObject/MapObjectUnkEXCT.hpp @@ -26,7 +26,7 @@ class MapObjectProfileUnkEXCT : public MapObjectProfile { MapObjectProfileUnkEXCT(); ~MapObjectProfileUnkEXCT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkEXCT *GetProfile(); + static MapObjectProfileUnkEXCT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkEXHS.hpp b/include/MapObject/MapObjectUnkEXHS.hpp index 7846a846f..75c1ec639 100644 --- a/include/MapObject/MapObjectUnkEXHS.hpp +++ b/include/MapObject/MapObjectUnkEXHS.hpp @@ -26,7 +26,7 @@ class MapObjectProfileUnkEXHS : public MapObjectProfile { MapObjectProfileUnkEXHS(); ~MapObjectProfileUnkEXHS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkEXHS *GetProfile(); + static MapObjectProfileUnkEXHS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkEXIT.hpp b/include/MapObject/MapObjectUnkEXIT.hpp index edb7cea1e..c2157eb10 100644 --- a/include/MapObject/MapObjectUnkEXIT.hpp +++ b/include/MapObject/MapObjectUnkEXIT.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkEXIT : public MapObjectProfile { MapObjectProfileUnkEXIT(); ~MapObjectProfileUnkEXIT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkEXIT *GetProfile(); + static MapObjectProfileUnkEXIT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkEXTR.hpp b/include/MapObject/MapObjectUnkEXTR.hpp index cac43c7b6..8c0aef63f 100644 --- a/include/MapObject/MapObjectUnkEXTR.hpp +++ b/include/MapObject/MapObjectUnkEXTR.hpp @@ -26,7 +26,7 @@ class MapObjectProfileUnkEXTR : public MapObjectProfile { MapObjectProfileUnkEXTR(); ~MapObjectProfileUnkEXTR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkEXTR *GetProfile(); + static MapObjectProfileUnkEXTR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFLSP.hpp b/include/MapObject/MapObjectUnkFLSP.hpp index ee42d4abc..06c5d330f 100644 --- a/include/MapObject/MapObjectUnkFLSP.hpp +++ b/include/MapObject/MapObjectUnkFLSP.hpp @@ -43,7 +43,7 @@ class MapObjectProfileUnkFLSP : public MapObjectProfile { MapObjectProfileUnkFLSP(); ~MapObjectProfileUnkFLSP(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFLSP *GetProfile(); + static MapObjectProfileUnkFLSP* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFNCE.hpp b/include/MapObject/MapObjectUnkFNCE.hpp index c22b04a68..ce1fb6b1a 100644 --- a/include/MapObject/MapObjectUnkFNCE.hpp +++ b/include/MapObject/MapObjectUnkFNCE.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkFNCE : public MapObjectProfile { MapObjectProfileUnkFNCE(); ~MapObjectProfileUnkFNCE(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFNCE *GetProfile(); + static MapObjectProfileUnkFNCE* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFRAI.hpp b/include/MapObject/MapObjectUnkFRAI.hpp index ace57f0f1..364b40bd5 100644 --- a/include/MapObject/MapObjectUnkFRAI.hpp +++ b/include/MapObject/MapObjectUnkFRAI.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkFRAI : public MapObjectProfile { MapObjectProfileUnkFRAI(); ~MapObjectProfileUnkFRAI(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFRAI *GetProfile(); + static MapObjectProfileUnkFRAI* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFRSH.hpp b/include/MapObject/MapObjectUnkFRSH.hpp index e73f0b8fb..3af994499 100644 --- a/include/MapObject/MapObjectUnkFRSH.hpp +++ b/include/MapObject/MapObjectUnkFRSH.hpp @@ -26,7 +26,7 @@ class MapObjectProfileUnkFRSH : public MapObjectProfile { MapObjectProfileUnkFRSH(); ~MapObjectProfileUnkFRSH(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFRSH *GetProfile(); + static MapObjectProfileUnkFRSH* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFRWL.hpp b/include/MapObject/MapObjectUnkFRWL.hpp index 5ac274552..cf420dc77 100644 --- a/include/MapObject/MapObjectUnkFRWL.hpp +++ b/include/MapObject/MapObjectUnkFRWL.hpp @@ -36,7 +36,7 @@ class MapObjectProfileUnkFRWL : public MapObjectProfile { MapObjectProfileUnkFRWL(); ~MapObjectProfileUnkFRWL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFRWL *GetProfile(); + static MapObjectProfileUnkFRWL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFSCT.hpp b/include/MapObject/MapObjectUnkFSCT.hpp index 267c387cf..a0a98a9ba 100644 --- a/include/MapObject/MapObjectUnkFSCT.hpp +++ b/include/MapObject/MapObjectUnkFSCT.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkFSCT : public MapObjectProfile { MapObjectProfileUnkFSCT(); ~MapObjectProfileUnkFSCT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFSCT *GetProfile(); + static MapObjectProfileUnkFSCT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFSFR.hpp b/include/MapObject/MapObjectUnkFSFR.hpp index ea994e558..df84eee36 100644 --- a/include/MapObject/MapObjectUnkFSFR.hpp +++ b/include/MapObject/MapObjectUnkFSFR.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkFSFR : public MapObjectProfile { MapObjectProfileUnkFSFR(); ~MapObjectProfileUnkFSFR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFSFR *GetProfile(); + static MapObjectProfileUnkFSFR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFSFS.hpp b/include/MapObject/MapObjectUnkFSFS.hpp index a99bcfdbf..f4cf994a3 100644 --- a/include/MapObject/MapObjectUnkFSFS.hpp +++ b/include/MapObject/MapObjectUnkFSFS.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkFSFS : public MapObjectProfile { MapObjectProfileUnkFSFS(); ~MapObjectProfileUnkFSFS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFSFS *GetProfile(); + static MapObjectProfileUnkFSFS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFSPS.hpp b/include/MapObject/MapObjectUnkFSPS.hpp index 61a691e2b..f943ac6ed 100644 --- a/include/MapObject/MapObjectUnkFSPS.hpp +++ b/include/MapObject/MapObjectUnkFSPS.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkFSPS : public MapObjectProfile { MapObjectProfileUnkFSPS(); ~MapObjectProfileUnkFSPS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFSPS *GetProfile(); + static MapObjectProfileUnkFSPS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFSSN.hpp b/include/MapObject/MapObjectUnkFSSN.hpp index f6412d975..ed1d8c627 100644 --- a/include/MapObject/MapObjectUnkFSSN.hpp +++ b/include/MapObject/MapObjectUnkFSSN.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkFSSN : public MapObjectProfile { MapObjectProfileUnkFSSN(); ~MapObjectProfileUnkFSSN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFSSN *GetProfile(); + static MapObjectProfileUnkFSSN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFSSV.hpp b/include/MapObject/MapObjectUnkFSSV.hpp index f0d51e822..e33021508 100644 --- a/include/MapObject/MapObjectUnkFSSV.hpp +++ b/include/MapObject/MapObjectUnkFSSV.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkFSSV : public MapObjectProfile { MapObjectProfileUnkFSSV(); ~MapObjectProfileUnkFSSV(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFSSV *GetProfile(); + static MapObjectProfileUnkFSSV* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFSTA.hpp b/include/MapObject/MapObjectUnkFSTA.hpp index 75c29e233..af27bb2e8 100644 --- a/include/MapObject/MapObjectUnkFSTA.hpp +++ b/include/MapObject/MapObjectUnkFSTA.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkFSTA : public MapObjectProfile { MapObjectProfileUnkFSTA(); ~MapObjectProfileUnkFSTA(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFSTA *GetProfile(); + static MapObjectProfileUnkFSTA* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFSVC.hpp b/include/MapObject/MapObjectUnkFSVC.hpp index fea1e2166..da745a296 100644 --- a/include/MapObject/MapObjectUnkFSVC.hpp +++ b/include/MapObject/MapObjectUnkFSVC.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkFSVC : public MapObjectProfile { MapObjectProfileUnkFSVC(); ~MapObjectProfileUnkFSVC(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFSVC *GetProfile(); + static MapObjectProfileUnkFSVC* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkFSWT.hpp b/include/MapObject/MapObjectUnkFSWT.hpp index fa4acfc64..3dfcf1821 100644 --- a/include/MapObject/MapObjectUnkFSWT.hpp +++ b/include/MapObject/MapObjectUnkFSWT.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkFSWT : public MapObjectProfile { MapObjectProfileUnkFSWT(); ~MapObjectProfileUnkFSWT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkFSWT *GetProfile(); + static MapObjectProfileUnkFSWT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkGATE.hpp b/include/MapObject/MapObjectUnkGATE.hpp index 55e57cedc..45ae81d1f 100644 --- a/include/MapObject/MapObjectUnkGATE.hpp +++ b/include/MapObject/MapObjectUnkGATE.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkGATE : public MapObjectProfile { MapObjectProfileUnkGATE(); ~MapObjectProfileUnkGATE(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkGATE *GetProfile(); + static MapObjectProfileUnkGATE* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkGBDR.hpp b/include/MapObject/MapObjectUnkGBDR.hpp index 1eac51734..a47d4424d 100644 --- a/include/MapObject/MapObjectUnkGBDR.hpp +++ b/include/MapObject/MapObjectUnkGBDR.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkGBDR : public MapObjectProfile { MapObjectProfileUnkGBDR(); ~MapObjectProfileUnkGBDR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkGBDR *GetProfile(); + static MapObjectProfileUnkGBDR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkGELG.hpp b/include/MapObject/MapObjectUnkGELG.hpp index 60853edb8..5072bc05c 100644 --- a/include/MapObject/MapObjectUnkGELG.hpp +++ b/include/MapObject/MapObjectUnkGELG.hpp @@ -33,7 +33,7 @@ class MapObjectProfileUnkGELG : public MapObjectProfile { MapObjectProfileUnkGELG(); ~MapObjectProfileUnkGELG(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkGELG *GetProfile(); + static MapObjectProfileUnkGELG* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkGRSG.hpp b/include/MapObject/MapObjectUnkGRSG.hpp index 8a651e458..73d31b385 100644 --- a/include/MapObject/MapObjectUnkGRSG.hpp +++ b/include/MapObject/MapObjectUnkGRSG.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkGRSG : public MapObjectProfile { MapObjectProfileUnkGRSG(); ~MapObjectProfileUnkGRSG(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkGRSG *GetProfile(); + static MapObjectProfileUnkGRSG* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkGRSV.hpp b/include/MapObject/MapObjectUnkGRSV.hpp index f4da4ae8c..3c9cefeb9 100644 --- a/include/MapObject/MapObjectUnkGRSV.hpp +++ b/include/MapObject/MapObjectUnkGRSV.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkGRSV : public MapObjectProfile { MapObjectProfileUnkGRSV(); ~MapObjectProfileUnkGRSV(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkGRSV *GetProfile(); + static MapObjectProfileUnkGRSV* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkGSST.hpp b/include/MapObject/MapObjectUnkGSST.hpp index 105ea016b..7b57141c9 100644 --- a/include/MapObject/MapObjectUnkGSST.hpp +++ b/include/MapObject/MapObjectUnkGSST.hpp @@ -45,7 +45,7 @@ class MapObjectProfileUnkGSST : public MapObjectProfile { MapObjectProfileUnkGSST(); ~MapObjectProfileUnkGSST(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkGSST *GetProfile(); + static MapObjectProfileUnkGSST* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkGTAT.hpp b/include/MapObject/MapObjectUnkGTAT.hpp index 579c8bd7b..df0eaf2e8 100644 --- a/include/MapObject/MapObjectUnkGTAT.hpp +++ b/include/MapObject/MapObjectUnkGTAT.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkGTAT : public MapObjectProfile { MapObjectProfileUnkGTAT(); ~MapObjectProfileUnkGTAT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkGTAT *GetProfile(); + static MapObjectProfileUnkGTAT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkGTRB.hpp b/include/MapObject/MapObjectUnkGTRB.hpp index 4da810848..700d173aa 100644 --- a/include/MapObject/MapObjectUnkGTRB.hpp +++ b/include/MapObject/MapObjectUnkGTRB.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkGTRB : public MapObjectProfile { MapObjectProfileUnkGTRB(); ~MapObjectProfileUnkGTRB(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkGTRB *GetProfile(); + static MapObjectProfileUnkGTRB* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkGTRK.hpp b/include/MapObject/MapObjectUnkGTRK.hpp index 16c51c9dd..0d6c39114 100644 --- a/include/MapObject/MapObjectUnkGTRK.hpp +++ b/include/MapObject/MapObjectUnkGTRK.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkGTRK : public MapObjectProfile { MapObjectProfileUnkGTRK(); ~MapObjectProfileUnkGTRK(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkGTRK *GetProfile(); + static MapObjectProfileUnkGTRK* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkGTSN.hpp b/include/MapObject/MapObjectUnkGTSN.hpp index 95596788b..c85a3f517 100644 --- a/include/MapObject/MapObjectUnkGTSN.hpp +++ b/include/MapObject/MapObjectUnkGTSN.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkGTSN : public MapObjectProfile { MapObjectProfileUnkGTSN(); ~MapObjectProfileUnkGTSN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkGTSN *GetProfile(); + static MapObjectProfileUnkGTSN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkGTTN.hpp b/include/MapObject/MapObjectUnkGTTN.hpp index 63f8a22c1..edccc4a83 100644 --- a/include/MapObject/MapObjectUnkGTTN.hpp +++ b/include/MapObject/MapObjectUnkGTTN.hpp @@ -33,7 +33,7 @@ class MapObjectProfileUnkGTTN : public MapObjectProfile { MapObjectProfileUnkGTTN(); ~MapObjectProfileUnkGTTN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkGTTN *GetProfile(); + static MapObjectProfileUnkGTTN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkHOF0.hpp b/include/MapObject/MapObjectUnkHOF0.hpp index ca533d6cb..7e0b849e8 100644 --- a/include/MapObject/MapObjectUnkHOF0.hpp +++ b/include/MapObject/MapObjectUnkHOF0.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkHOF0 : public MapObjectProfile { MapObjectProfileUnkHOF0(); ~MapObjectProfileUnkHOF0(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkHOF0 *GetProfile(); + static MapObjectProfileUnkHOF0* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkHOF1.hpp b/include/MapObject/MapObjectUnkHOF1.hpp index 3e44d845e..c13348098 100644 --- a/include/MapObject/MapObjectUnkHOF1.hpp +++ b/include/MapObject/MapObjectUnkHOF1.hpp @@ -26,7 +26,7 @@ class MapObjectProfileUnkHOF1 : public MapObjectProfile { MapObjectProfileUnkHOF1(); ~MapObjectProfileUnkHOF1(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkHOF1 *GetProfile(); + static MapObjectProfileUnkHOF1* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkHOL0.hpp b/include/MapObject/MapObjectUnkHOL0.hpp index b16932ef5..886dc7c30 100644 --- a/include/MapObject/MapObjectUnkHOL0.hpp +++ b/include/MapObject/MapObjectUnkHOL0.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkHOL0 : public MapObjectProfile { MapObjectProfileUnkHOL0(); ~MapObjectProfileUnkHOL0(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkHOL0 *GetProfile(); + static MapObjectProfileUnkHOL0* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkHOL1.hpp b/include/MapObject/MapObjectUnkHOL1.hpp index 4f41ab92f..183461345 100644 --- a/include/MapObject/MapObjectUnkHOL1.hpp +++ b/include/MapObject/MapObjectUnkHOL1.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkHOL1 : public MapObjectProfile { MapObjectProfileUnkHOL1(); ~MapObjectProfileUnkHOL1(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkHOL1 *GetProfile(); + static MapObjectProfileUnkHOL1* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkHOL2.hpp b/include/MapObject/MapObjectUnkHOL2.hpp index c181e6754..60dde0c3f 100644 --- a/include/MapObject/MapObjectUnkHOL2.hpp +++ b/include/MapObject/MapObjectUnkHOL2.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkHOL2 : public MapObjectProfile { MapObjectProfileUnkHOL2(); ~MapObjectProfileUnkHOL2(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkHOL2 *GetProfile(); + static MapObjectProfileUnkHOL2* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkHOLB.hpp b/include/MapObject/MapObjectUnkHOLB.hpp index a8958136e..1be5bc457 100644 --- a/include/MapObject/MapObjectUnkHOLB.hpp +++ b/include/MapObject/MapObjectUnkHOLB.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkHOLB : public MapObjectProfile { MapObjectProfileUnkHOLB(); ~MapObjectProfileUnkHOLB(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkHOLB *GetProfile(); + static MapObjectProfileUnkHOLB* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkHOSB.hpp b/include/MapObject/MapObjectUnkHOSB.hpp index 0d4ed83c5..b16405812 100644 --- a/include/MapObject/MapObjectUnkHOSB.hpp +++ b/include/MapObject/MapObjectUnkHOSB.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkHOSB : public MapObjectProfile { MapObjectProfileUnkHOSB(); ~MapObjectProfileUnkHOSB(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkHOSB *GetProfile(); + static MapObjectProfileUnkHOSB* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkHOSO.hpp b/include/MapObject/MapObjectUnkHOSO.hpp index 06a759f51..d64ba5db1 100644 --- a/include/MapObject/MapObjectUnkHOSO.hpp +++ b/include/MapObject/MapObjectUnkHOSO.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkHOSO : public MapObjectProfile { MapObjectProfileUnkHOSO(); ~MapObjectProfileUnkHOSO(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkHOSO *GetProfile(); + static MapObjectProfileUnkHOSO* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkHOST.hpp b/include/MapObject/MapObjectUnkHOST.hpp index 84a0715dd..7c2321c22 100644 --- a/include/MapObject/MapObjectUnkHOST.hpp +++ b/include/MapObject/MapObjectUnkHOST.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkHOST : public MapObjectProfile { MapObjectProfileUnkHOST(); ~MapObjectProfileUnkHOST(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkHOST *GetProfile(); + static MapObjectProfileUnkHOST* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkHOUS.hpp b/include/MapObject/MapObjectUnkHOUS.hpp index 5e094d231..113198551 100644 --- a/include/MapObject/MapObjectUnkHOUS.hpp +++ b/include/MapObject/MapObjectUnkHOUS.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkHOUS : public MapObjectProfile { MapObjectProfileUnkHOUS(); ~MapObjectProfileUnkHOUS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkHOUS *GetProfile(); + static MapObjectProfileUnkHOUS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkHOW0.hpp b/include/MapObject/MapObjectUnkHOW0.hpp index 9e09ac5bb..c9788013f 100644 --- a/include/MapObject/MapObjectUnkHOW0.hpp +++ b/include/MapObject/MapObjectUnkHOW0.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkHOW0 : public MapObjectProfile { MapObjectProfileUnkHOW0(); ~MapObjectProfileUnkHOW0(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkHOW0 *GetProfile(); + static MapObjectProfileUnkHOW0* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkHOW1.hpp b/include/MapObject/MapObjectUnkHOW1.hpp index 2779acb07..222ab933a 100644 --- a/include/MapObject/MapObjectUnkHOW1.hpp +++ b/include/MapObject/MapObjectUnkHOW1.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkHOW1 : public MapObjectProfile { MapObjectProfileUnkHOW1(); ~MapObjectProfileUnkHOW1(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkHOW1 *GetProfile(); + static MapObjectProfileUnkHOW1* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkICEB.hpp b/include/MapObject/MapObjectUnkICEB.hpp index eb93f5bf6..483d60425 100644 --- a/include/MapObject/MapObjectUnkICEB.hpp +++ b/include/MapObject/MapObjectUnkICEB.hpp @@ -38,7 +38,7 @@ class MapObjectProfileUnkICEB : public MapObjectProfile { MapObjectProfileUnkICEB(); ~MapObjectProfileUnkICEB(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkICEB *GetProfile(); + static MapObjectProfileUnkICEB* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkICGR.hpp b/include/MapObject/MapObjectUnkICGR.hpp index d25517f25..48289a46a 100644 --- a/include/MapObject/MapObjectUnkICGR.hpp +++ b/include/MapObject/MapObjectUnkICGR.hpp @@ -33,7 +33,7 @@ class MapObjectProfileUnkICGR : public MapObjectProfile { MapObjectProfileUnkICGR(); ~MapObjectProfileUnkICGR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkICGR *GetProfile(); + static MapObjectProfileUnkICGR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkITFL.hpp b/include/MapObject/MapObjectUnkITFL.hpp index be7b67034..9c8a93df1 100644 --- a/include/MapObject/MapObjectUnkITFL.hpp +++ b/include/MapObject/MapObjectUnkITFL.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkITFL : public MapObjectProfile { MapObjectProfileUnkITFL(); ~MapObjectProfileUnkITFL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkITFL *GetProfile(); + static MapObjectProfileUnkITFL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkKNBN.hpp b/include/MapObject/MapObjectUnkKNBN.hpp index 4738bbc25..2f8e16a86 100644 --- a/include/MapObject/MapObjectUnkKNBN.hpp +++ b/include/MapObject/MapObjectUnkKNBN.hpp @@ -42,7 +42,7 @@ class MapObjectProfileUnkKNBN : public MapObjectProfile { MapObjectProfileUnkKNBN(); ~MapObjectProfileUnkKNBN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkKNBN *GetProfile(); + static MapObjectProfileUnkKNBN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkLEVN.hpp b/include/MapObject/MapObjectUnkLEVN.hpp index 5a06903cc..076f4fbf3 100644 --- a/include/MapObject/MapObjectUnkLEVN.hpp +++ b/include/MapObject/MapObjectUnkLEVN.hpp @@ -26,7 +26,7 @@ class MapObjectProfileUnkLEVN : public MapObjectProfile { MapObjectProfileUnkLEVN(); ~MapObjectProfileUnkLEVN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkLEVN *GetProfile(); + static MapObjectProfileUnkLEVN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkLEVS.hpp b/include/MapObject/MapObjectUnkLEVS.hpp index c9ce1d5c3..7ae1c295a 100644 --- a/include/MapObject/MapObjectUnkLEVS.hpp +++ b/include/MapObject/MapObjectUnkLEVS.hpp @@ -44,7 +44,7 @@ class MapObjectProfileUnkLEVS : public MapObjectProfile { MapObjectProfileUnkLEVS(); ~MapObjectProfileUnkLEVS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkLEVS *GetProfile(); + static MapObjectProfileUnkLEVS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkLTRW.hpp b/include/MapObject/MapObjectUnkLTRW.hpp index 52491d015..4dec6349d 100644 --- a/include/MapObject/MapObjectUnkLTRW.hpp +++ b/include/MapObject/MapObjectUnkLTRW.hpp @@ -33,7 +33,7 @@ class MapObjectUnkLTRW : public MapObject { /* 00 */ virtual bool Init() override; /* 08 */ virtual void vfunc_08() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) override; + /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) override; /* 28 */ virtual unk32 vfunc_28(PlayerType playerType, unk32 param2, unk32 param3) override; void func_ov063_02160d18(unk32 param1); @@ -60,7 +60,7 @@ class MapObjectProfileUnkLTRW : public MapObjectProfileUnkLTRW_Base { MapObjectProfileUnkLTRW(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkLTRW *GetProfile(); + static MapObjectProfileUnkLTRW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkLVCM.hpp b/include/MapObject/MapObjectUnkLVCM.hpp index 8a209afd4..33ed149cf 100644 --- a/include/MapObject/MapObjectUnkLVCM.hpp +++ b/include/MapObject/MapObjectUnkLVCM.hpp @@ -37,7 +37,7 @@ class MapObjectProfileUnkLVCM : public MapObjectProfile { MapObjectProfileUnkLVCM(); ~MapObjectProfileUnkLVCM(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkLVCM *GetProfile(); + static MapObjectProfileUnkLVCM* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkLVVT.hpp b/include/MapObject/MapObjectUnkLVVT.hpp index a53add476..a0df2c044 100644 --- a/include/MapObject/MapObjectUnkLVVT.hpp +++ b/include/MapObject/MapObjectUnkLVVT.hpp @@ -38,7 +38,7 @@ class MapObjectProfileUnkLVVT : public MapObjectProfile { MapObjectProfileUnkLVVT(); ~MapObjectProfileUnkLVVT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkLVVT *GetProfile(); + static MapObjectProfileUnkLVVT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMBBS.hpp b/include/MapObject/MapObjectUnkMBBS.hpp index 676e68fc7..01e1cb3d1 100644 --- a/include/MapObject/MapObjectUnkMBBS.hpp +++ b/include/MapObject/MapObjectUnkMBBS.hpp @@ -36,7 +36,7 @@ class MapObjectProfileUnkMBBS : public MapObjectProfile { MapObjectProfileUnkMBBS(); ~MapObjectProfileUnkMBBS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMBBS *GetProfile(); + static MapObjectProfileUnkMBBS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMBRG.hpp b/include/MapObject/MapObjectUnkMBRG.hpp index 8c2febc0f..bd628c3bf 100644 --- a/include/MapObject/MapObjectUnkMBRG.hpp +++ b/include/MapObject/MapObjectUnkMBRG.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkMBRG : public MapObjectProfile { MapObjectProfileUnkMBRG(); ~MapObjectProfileUnkMBRG(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMBRG *GetProfile(); + static MapObjectProfileUnkMBRG* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMLVC.hpp b/include/MapObject/MapObjectUnkMLVC.hpp index b7db98efd..c7b85f7e0 100644 --- a/include/MapObject/MapObjectUnkMLVC.hpp +++ b/include/MapObject/MapObjectUnkMLVC.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkMLVC : public MapObjectProfile { MapObjectProfileUnkMLVC(); ~MapObjectProfileUnkMLVC(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMLVC *GetProfile(); + static MapObjectProfileUnkMLVC* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMSCL.hpp b/include/MapObject/MapObjectUnkMSCL.hpp index ea6b64a4f..35b7bf8f5 100644 --- a/include/MapObject/MapObjectUnkMSCL.hpp +++ b/include/MapObject/MapObjectUnkMSCL.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkMSCL : public MapObjectProfile { MapObjectProfileUnkMSCL(); ~MapObjectProfileUnkMSCL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMSCL *GetProfile(); + static MapObjectProfileUnkMSCL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMTFS.hpp b/include/MapObject/MapObjectUnkMTFS.hpp index 990d94d9d..e0be43af1 100644 --- a/include/MapObject/MapObjectUnkMTFS.hpp +++ b/include/MapObject/MapObjectUnkMTFS.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkMTFS : public MapObjectProfile { MapObjectProfileUnkMTFS(); ~MapObjectProfileUnkMTFS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMTFS *GetProfile(); + static MapObjectProfileUnkMTFS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMTGT.hpp b/include/MapObject/MapObjectUnkMTGT.hpp index f5ed601f9..54db81ba8 100644 --- a/include/MapObject/MapObjectUnkMTGT.hpp +++ b/include/MapObject/MapObjectUnkMTGT.hpp @@ -38,7 +38,7 @@ class MapObjectProfileUnkMTGT : public MapObjectProfile { MapObjectProfileUnkMTGT(); ~MapObjectProfileUnkMTGT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMTGT *GetProfile(); + static MapObjectProfileUnkMTGT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMTIC.hpp b/include/MapObject/MapObjectUnkMTIC.hpp index 07b452721..d7f0d07bb 100644 --- a/include/MapObject/MapObjectUnkMTIC.hpp +++ b/include/MapObject/MapObjectUnkMTIC.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkMTIC : public MapObjectProfile { MapObjectProfileUnkMTIC(); ~MapObjectProfileUnkMTIC(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMTIC *GetProfile(); + static MapObjectProfileUnkMTIC* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMTIR.hpp b/include/MapObject/MapObjectUnkMTIR.hpp index a84f441d9..f2105a197 100644 --- a/include/MapObject/MapObjectUnkMTIR.hpp +++ b/include/MapObject/MapObjectUnkMTIR.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkMTIR : public MapObjectProfile { MapObjectProfileUnkMTIR(); ~MapObjectProfileUnkMTIR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMTIR *GetProfile(); + static MapObjectProfileUnkMTIR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMTJR.hpp b/include/MapObject/MapObjectUnkMTJR.hpp index 05c500298..5551cebf4 100644 --- a/include/MapObject/MapObjectUnkMTJR.hpp +++ b/include/MapObject/MapObjectUnkMTJR.hpp @@ -24,7 +24,7 @@ class MapObjectUnkMTJR : public MapObject { /* 08 */ virtual void vfunc_08() override; /* 0C */ virtual void vfunc_0C() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) override; + /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) override; void func_ov063_02161254(unk32 param1); void func_ov063_02161288(void); @@ -37,7 +37,7 @@ class MapObjectProfileUnkMTJR : public MapObjectProfileUnkSTAT_Base { MapObjectProfileUnkMTJR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMTJR *GetProfile(); + static MapObjectProfileUnkMTJR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMTOR.hpp b/include/MapObject/MapObjectUnkMTOR.hpp index 0fd5a39be..2c23af461 100644 --- a/include/MapObject/MapObjectUnkMTOR.hpp +++ b/include/MapObject/MapObjectUnkMTOR.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkMTOR : public MapObjectProfile { MapObjectProfileUnkMTOR(); ~MapObjectProfileUnkMTOR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMTOR *GetProfile(); + static MapObjectProfileUnkMTOR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMTWD.hpp b/include/MapObject/MapObjectUnkMTWD.hpp index 5dbed2563..b40cfe275 100644 --- a/include/MapObject/MapObjectUnkMTWD.hpp +++ b/include/MapObject/MapObjectUnkMTWD.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkMTWD : public MapObjectProfile { MapObjectProfileUnkMTWD(); ~MapObjectProfileUnkMTWD(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMTWD *GetProfile(); + static MapObjectProfileUnkMTWD* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMTWR.hpp b/include/MapObject/MapObjectUnkMTWR.hpp index a865d4b3f..55fd60d80 100644 --- a/include/MapObject/MapObjectUnkMTWR.hpp +++ b/include/MapObject/MapObjectUnkMTWR.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkMTWR : public MapObjectProfile { MapObjectProfileUnkMTWR(); ~MapObjectProfileUnkMTWR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMTWR *GetProfile(); + static MapObjectProfileUnkMTWR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMZFE.hpp b/include/MapObject/MapObjectUnkMZFE.hpp index 983a33859..e039b2d6e 100644 --- a/include/MapObject/MapObjectUnkMZFE.hpp +++ b/include/MapObject/MapObjectUnkMZFE.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkMZFE : public MapObjectProfile { MapObjectProfileUnkMZFE(); ~MapObjectProfileUnkMZFE(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMZFE *GetProfile(); + static MapObjectProfileUnkMZFE* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMZFX.hpp b/include/MapObject/MapObjectUnkMZFX.hpp index de5abe1e3..09de445ed 100644 --- a/include/MapObject/MapObjectUnkMZFX.hpp +++ b/include/MapObject/MapObjectUnkMZFX.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkMZFX : public MapObjectProfile { MapObjectProfileUnkMZFX(); ~MapObjectProfileUnkMZFX(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMZFX *GetProfile(); + static MapObjectProfileUnkMZFX* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkMZTR.hpp b/include/MapObject/MapObjectUnkMZTR.hpp index 9b781074b..43d618b2a 100644 --- a/include/MapObject/MapObjectUnkMZTR.hpp +++ b/include/MapObject/MapObjectUnkMZTR.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkMZTR : public MapObjectProfile { MapObjectProfileUnkMZTR(); ~MapObjectProfileUnkMZTR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkMZTR *GetProfile(); + static MapObjectProfileUnkMZTR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkNPST.hpp b/include/MapObject/MapObjectUnkNPST.hpp index c6e332ed6..baf212d6b 100644 --- a/include/MapObject/MapObjectUnkNPST.hpp +++ b/include/MapObject/MapObjectUnkNPST.hpp @@ -48,7 +48,7 @@ class MapObjectProfileUnkNPST : public MapObjectProfile { MapObjectProfileUnkNPST(); ~MapObjectProfileUnkNPST(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkNPST *GetProfile(); + static MapObjectProfileUnkNPST* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkPLCT.hpp b/include/MapObject/MapObjectUnkPLCT.hpp index ffb011841..d6f4a8773 100644 --- a/include/MapObject/MapObjectUnkPLCT.hpp +++ b/include/MapObject/MapObjectUnkPLCT.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkPLCT : public MapObjectProfile { MapObjectProfileUnkPLCT(); ~MapObjectProfileUnkPLCT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkPLCT *GetProfile(); + static MapObjectProfileUnkPLCT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkPLFA.hpp b/include/MapObject/MapObjectUnkPLFA.hpp index 653daf9a6..12b0179bd 100644 --- a/include/MapObject/MapObjectUnkPLFA.hpp +++ b/include/MapObject/MapObjectUnkPLFA.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkPLFA : public MapObjectProfile { MapObjectProfileUnkPLFA(); ~MapObjectProfileUnkPLFA(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkPLFA *GetProfile(); + static MapObjectProfileUnkPLFA* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkPLFM.hpp b/include/MapObject/MapObjectUnkPLFM.hpp index 9b8822382..357bb6dc3 100644 --- a/include/MapObject/MapObjectUnkPLFM.hpp +++ b/include/MapObject/MapObjectUnkPLFM.hpp @@ -42,7 +42,7 @@ class MapObjectProfileUnkPLFM : public MapObjectProfile { MapObjectProfileUnkPLFM(); ~MapObjectProfileUnkPLFM(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkPLFM *GetProfile(); + static MapObjectProfileUnkPLFM* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkPLFR.hpp b/include/MapObject/MapObjectUnkPLFR.hpp index 13ead2764..bdf1da13e 100644 --- a/include/MapObject/MapObjectUnkPLFR.hpp +++ b/include/MapObject/MapObjectUnkPLFR.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkPLFR : public MapObjectProfile { MapObjectProfileUnkPLFR(); ~MapObjectProfileUnkPLFR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkPLFR *GetProfile(); + static MapObjectProfileUnkPLFR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkPLV2.hpp b/include/MapObject/MapObjectUnkPLV2.hpp index 5be3461f9..091c894b2 100644 --- a/include/MapObject/MapObjectUnkPLV2.hpp +++ b/include/MapObject/MapObjectUnkPLV2.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkPLV2 : public MapObjectProfile { MapObjectProfileUnkPLV2(); ~MapObjectProfileUnkPLV2(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkPLV2 *GetProfile(); + static MapObjectProfileUnkPLV2* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkPRSH.hpp b/include/MapObject/MapObjectUnkPRSH.hpp index 4a3b42fe7..b47947eb3 100644 --- a/include/MapObject/MapObjectUnkPRSH.hpp +++ b/include/MapObject/MapObjectUnkPRSH.hpp @@ -37,7 +37,7 @@ class MapObjectProfileUnkPRSH : public MapObjectProfile { MapObjectProfileUnkPRSH(); ~MapObjectProfileUnkPRSH(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkPRSH *GetProfile(); + static MapObjectProfileUnkPRSH* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkPTFL.hpp b/include/MapObject/MapObjectUnkPTFL.hpp index b1cff0cc4..7acb6ed43 100644 --- a/include/MapObject/MapObjectUnkPTFL.hpp +++ b/include/MapObject/MapObjectUnkPTFL.hpp @@ -61,7 +61,7 @@ class MapObjectProfileUnkPTFL : public MapObjectProfile { MapObjectProfileUnkPTFL(); ~MapObjectProfileUnkPTFL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkPTFL *GetProfile(); + static MapObjectProfileUnkPTFL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkRBBL.hpp b/include/MapObject/MapObjectUnkRBBL.hpp index b3d56f2cf..f377ab003 100644 --- a/include/MapObject/MapObjectUnkRBBL.hpp +++ b/include/MapObject/MapObjectUnkRBBL.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkRBBL : public MapObjectProfile { MapObjectProfileUnkRBBL(); ~MapObjectProfileUnkRBBL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkRBBL *GetProfile(); + static MapObjectProfileUnkRBBL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkRBMR.hpp b/include/MapObject/MapObjectUnkRBMR.hpp index 4458bd6e0..89394db32 100644 --- a/include/MapObject/MapObjectUnkRBMR.hpp +++ b/include/MapObject/MapObjectUnkRBMR.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkRBMR : public MapObjectProfile { MapObjectProfileUnkRBMR(); ~MapObjectProfileUnkRBMR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkRBMR *GetProfile(); + static MapObjectProfileUnkRBMR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkRBRC.hpp b/include/MapObject/MapObjectUnkRBRC.hpp index 7b4d02b10..994fb68e5 100644 --- a/include/MapObject/MapObjectUnkRBRC.hpp +++ b/include/MapObject/MapObjectUnkRBRC.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkRBRC : public MapObjectProfile { MapObjectProfileUnkRBRC(); ~MapObjectProfileUnkRBRC(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkRBRC *GetProfile(); + static MapObjectProfileUnkRBRC* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkRBSR.hpp b/include/MapObject/MapObjectUnkRBSR.hpp index 869075d19..661e3a1b5 100644 --- a/include/MapObject/MapObjectUnkRBSR.hpp +++ b/include/MapObject/MapObjectUnkRBSR.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkRBSR : public MapObjectProfile { MapObjectProfileUnkRBSR(); ~MapObjectProfileUnkRBSR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkRBSR *GetProfile(); + static MapObjectProfileUnkRBSR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkRCFL.hpp b/include/MapObject/MapObjectUnkRCFL.hpp index 4b20b7561..e51730eb8 100644 --- a/include/MapObject/MapObjectUnkRCFL.hpp +++ b/include/MapObject/MapObjectUnkRCFL.hpp @@ -39,7 +39,7 @@ class MapObjectProfileUnkRCFL : public MapObjectProfile { MapObjectProfileUnkRCFL(); ~MapObjectProfileUnkRCFL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkRCFL *GetProfile(); + static MapObjectProfileUnkRCFL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkRDSD.hpp b/include/MapObject/MapObjectUnkRDSD.hpp index 3e9e49498..2cfe99406 100644 --- a/include/MapObject/MapObjectUnkRDSD.hpp +++ b/include/MapObject/MapObjectUnkRDSD.hpp @@ -33,7 +33,7 @@ class MapObjectProfileUnkRDSD : public MapObjectProfile { MapObjectProfileUnkRDSD(); ~MapObjectProfileUnkRDSD(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkRDSD *GetProfile(); + static MapObjectProfileUnkRDSD* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkRKAG.hpp b/include/MapObject/MapObjectUnkRKAG.hpp index b39ad5e9b..8215ebdd1 100644 --- a/include/MapObject/MapObjectUnkRKAG.hpp +++ b/include/MapObject/MapObjectUnkRKAG.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkRKAG : public MapObjectProfile { MapObjectProfileUnkRKAG(); ~MapObjectProfileUnkRKAG(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkRKAG *GetProfile(); + static MapObjectProfileUnkRKAG* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkRLPT.hpp b/include/MapObject/MapObjectUnkRLPT.hpp index fca458cc6..d49aa11f7 100644 --- a/include/MapObject/MapObjectUnkRLPT.hpp +++ b/include/MapObject/MapObjectUnkRLPT.hpp @@ -31,7 +31,7 @@ class MapObjectProfileUnkRLPT : public MapObjectProfile { MapObjectProfileUnkRLPT(); ~MapObjectProfileUnkRLPT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkRLPT *GetProfile(); + static MapObjectProfileUnkRLPT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkRLSG.hpp b/include/MapObject/MapObjectUnkRLSG.hpp index 0607d4ab8..bcf1b352e 100644 --- a/include/MapObject/MapObjectUnkRLSG.hpp +++ b/include/MapObject/MapObjectUnkRLSG.hpp @@ -40,7 +40,7 @@ class MapObjectProfileUnkRLSG : public MapObjectProfile { MapObjectProfileUnkRLSG(); ~MapObjectProfileUnkRLSG(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkRLSG *GetProfile(); + static MapObjectProfileUnkRLSG* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkRNBO.hpp b/include/MapObject/MapObjectUnkRNBO.hpp index 49121d10d..e3d301d0d 100644 --- a/include/MapObject/MapObjectUnkRNBO.hpp +++ b/include/MapObject/MapObjectUnkRNBO.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkRNBO : public MapObjectProfile { MapObjectProfileUnkRNBO(); ~MapObjectProfileUnkRNBO(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkRNBO *GetProfile(); + static MapObjectProfileUnkRNBO* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkRPFL.hpp b/include/MapObject/MapObjectUnkRPFL.hpp index 6a0fd1bd6..60feb5409 100644 --- a/include/MapObject/MapObjectUnkRPFL.hpp +++ b/include/MapObject/MapObjectUnkRPFL.hpp @@ -43,7 +43,7 @@ class MapObjectProfileUnkRPFL : public MapObjectProfile { MapObjectProfileUnkRPFL(); ~MapObjectProfileUnkRPFL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkRPFL *GetProfile(); + static MapObjectProfileUnkRPFL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSAND.hpp b/include/MapObject/MapObjectUnkSAND.hpp index 1da380e3c..14aeacd38 100644 --- a/include/MapObject/MapObjectUnkSAND.hpp +++ b/include/MapObject/MapObjectUnkSAND.hpp @@ -22,8 +22,8 @@ class MapObjectUnkSAND_40 { /* 04 */ unk16 mUnk_04; /* 06 */ - void func_ov102_021835c4(VecFx32 *param1); - void func_ov102_021837a8(Vec2bCpp param1, VecFx32 *param2); + void func_ov102_021835c4(VecFx32* param1); + void func_ov102_021837a8(Vec2bCpp param1, VecFx32* param2); }; class MapObjectUnkSAND : public MapObject { @@ -55,8 +55,8 @@ class MapObjectUnkSAND : public MapObject { void func_ov031_0210b32c(void); void func_ov031_0210b34c(void); - static bool func_ov031_0210ae00(Vec2bCpp param1, void *param2); - static void func_ov031_0210b17c(MapObjectUnkSAND_40 *param1, unk32 param2); + static bool func_ov031_0210ae00(Vec2bCpp param1, void* param2); + static void func_ov031_0210b17c(MapObjectUnkSAND_40* param1, unk32 param2); }; class MapObjectProfileUnkSAND : public MapObjectProfile_Derived6 { @@ -66,8 +66,8 @@ class MapObjectProfileUnkSAND : public MapObjectProfile_Derived6 { MapObjectProfileUnkSAND(); ~MapObjectProfileUnkSAND(); - /* 00 */ virtual MapObject *Create(); + /* 00 */ virtual MapObject* Create(); /* 10 */ virtual void vfunc_10() override; - static MapObjectProfileUnkSAND *GetProfile(); + static MapObjectProfileUnkSAND* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSBDE.hpp b/include/MapObject/MapObjectUnkSBDE.hpp index ba3c33f5f..5395b75bd 100644 --- a/include/MapObject/MapObjectUnkSBDE.hpp +++ b/include/MapObject/MapObjectUnkSBDE.hpp @@ -31,7 +31,7 @@ class MapObjectProfileUnkSBDE : public MapObjectProfile { MapObjectProfileUnkSBDE(); ~MapObjectProfileUnkSBDE(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSBDE *GetProfile(); + static MapObjectProfileUnkSBDE* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSHWB.hpp b/include/MapObject/MapObjectUnkSHWB.hpp index 3e2012650..1d03b573e 100644 --- a/include/MapObject/MapObjectUnkSHWB.hpp +++ b/include/MapObject/MapObjectUnkSHWB.hpp @@ -33,7 +33,7 @@ class MapObjectProfileUnkSHWB : public MapObjectProfile { MapObjectProfileUnkSHWB(); ~MapObjectProfileUnkSHWB(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSHWB *GetProfile(); + static MapObjectProfileUnkSHWB* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSKBN.hpp b/include/MapObject/MapObjectUnkSKBN.hpp index 77870b1ce..59cc7f6c5 100644 --- a/include/MapObject/MapObjectUnkSKBN.hpp +++ b/include/MapObject/MapObjectUnkSKBN.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkSKBN : public MapObjectProfile { MapObjectProfileUnkSKBN(); ~MapObjectProfileUnkSKBN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSKBN *GetProfile(); + static MapObjectProfileUnkSKBN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSKDI.hpp b/include/MapObject/MapObjectUnkSKDI.hpp index c768eca32..6b6bcf0fa 100644 --- a/include/MapObject/MapObjectUnkSKDI.hpp +++ b/include/MapObject/MapObjectUnkSKDI.hpp @@ -42,7 +42,7 @@ class MapObjectUnkSKDI : public MapObject { /* 08 */ virtual void vfunc_08() override; /* 0C */ virtual void vfunc_0C() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) override; + /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) override; /* 38 */ virtual unk32 vfunc_38(); /* 3C */ virtual unk32 vfunc_3C(); /* 40 */ virtual s16 vfunc_40(); @@ -62,7 +62,7 @@ class MapObjectProfileUnkSKDI : public MapObjectProfile_Derived2 { MapObjectProfileUnkSKDI(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSKDI *GetProfile(); + static MapObjectProfileUnkSKDI* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSPTB.hpp b/include/MapObject/MapObjectUnkSPTB.hpp index 4a04741cb..e12e0d001 100644 --- a/include/MapObject/MapObjectUnkSPTB.hpp +++ b/include/MapObject/MapObjectUnkSPTB.hpp @@ -38,7 +38,7 @@ class MapObjectProfileUnkSPTB : public MapObjectProfile { MapObjectProfileUnkSPTB(); ~MapObjectProfileUnkSPTB(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSPTB *GetProfile(); + static MapObjectProfileUnkSPTB* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTAL.hpp b/include/MapObject/MapObjectUnkSTAL.hpp index f05ca29ef..68de43749 100644 --- a/include/MapObject/MapObjectUnkSTAL.hpp +++ b/include/MapObject/MapObjectUnkSTAL.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkSTAL : public MapObjectProfile { MapObjectProfileUnkSTAL(); ~MapObjectProfileUnkSTAL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTAL *GetProfile(); + static MapObjectProfileUnkSTAL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTAT.hpp b/include/MapObject/MapObjectUnkSTAT.hpp index 19e10263f..6293390f1 100644 --- a/include/MapObject/MapObjectUnkSTAT.hpp +++ b/include/MapObject/MapObjectUnkSTAT.hpp @@ -63,7 +63,7 @@ class MapObjectProfileUnkSTAT : public MapObjectProfileUnkSTAT_Base { MapObjectProfileUnkSTAT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTAT *GetProfile(); + static MapObjectProfileUnkSTAT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTDE.hpp b/include/MapObject/MapObjectUnkSTDE.hpp index fd06c29b5..c3ac26175 100644 --- a/include/MapObject/MapObjectUnkSTDE.hpp +++ b/include/MapObject/MapObjectUnkSTDE.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkSTDE : public MapObjectProfile { MapObjectProfileUnkSTDE(); ~MapObjectProfileUnkSTDE(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTDE *GetProfile(); + static MapObjectProfileUnkSTDE* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTDS.hpp b/include/MapObject/MapObjectUnkSTDS.hpp index efedd7bf9..eed6680bf 100644 --- a/include/MapObject/MapObjectUnkSTDS.hpp +++ b/include/MapObject/MapObjectUnkSTDS.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkSTDS : public MapObjectProfile { MapObjectProfileUnkSTDS(); ~MapObjectProfileUnkSTDS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTDS *GetProfile(); + static MapObjectProfileUnkSTDS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTIR.hpp b/include/MapObject/MapObjectUnkSTIR.hpp index 6b743f3ed..6ed02f233 100644 --- a/include/MapObject/MapObjectUnkSTIR.hpp +++ b/include/MapObject/MapObjectUnkSTIR.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkSTIR : public MapObjectProfile { MapObjectProfileUnkSTIR(); ~MapObjectProfileUnkSTIR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTIR *GetProfile(); + static MapObjectProfileUnkSTIR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTNE.hpp b/include/MapObject/MapObjectUnkSTNE.hpp index 551052c38..4f7432d90 100644 --- a/include/MapObject/MapObjectUnkSTNE.hpp +++ b/include/MapObject/MapObjectUnkSTNE.hpp @@ -21,8 +21,8 @@ class MapObjectUnkSTNE : public MapObjectPot_Base { /* 08 */ virtual void vfunc_08() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) override; - /* 24 */ virtual void vfunc_24(MapObject *param1, VecFx32 param2) override; + /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) override; + /* 24 */ virtual void vfunc_24(MapObject* param1, VecFx32 param2) override; /* 30 */ virtual ~MapObjectUnkSTNE() override; /* 44 */ virtual bool SetState(MapObjState state, unk32 param2) override; /* 48 */ virtual void vfunc_48() override; @@ -39,7 +39,7 @@ class MapObjectProfileUnkSTNE : public MapObjectProfileUnkSTNE_Base { MapObjectProfileUnkSTNE(); ~MapObjectProfileUnkSTNE(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTNE *GetProfile(); + static MapObjectProfileUnkSTNE* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTSD.hpp b/include/MapObject/MapObjectUnkSTSD.hpp index e7bd3f403..5c8ca626f 100644 --- a/include/MapObject/MapObjectUnkSTSD.hpp +++ b/include/MapObject/MapObjectUnkSTSD.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkSTSD : public MapObjectProfile { MapObjectProfileUnkSTSD(); ~MapObjectProfileUnkSTSD(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTSD *GetProfile(); + static MapObjectProfileUnkSTSD* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTSF.hpp b/include/MapObject/MapObjectUnkSTSF.hpp index 84b0dc8b1..5e667d9bb 100644 --- a/include/MapObject/MapObjectUnkSTSF.hpp +++ b/include/MapObject/MapObjectUnkSTSF.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkSTSF : public MapObjectProfile { MapObjectProfileUnkSTSF(); ~MapObjectProfileUnkSTSF(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTSF *GetProfile(); + static MapObjectProfileUnkSTSF* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTSH.hpp b/include/MapObject/MapObjectUnkSTSH.hpp index 106435f5b..b058541f2 100644 --- a/include/MapObject/MapObjectUnkSTSH.hpp +++ b/include/MapObject/MapObjectUnkSTSH.hpp @@ -55,7 +55,7 @@ class MapObjectProfileUnkSTSH : public MapObjectProfile { MapObjectProfileUnkSTSH(); ~MapObjectProfileUnkSTSH(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTSH *GetProfile(); + static MapObjectProfileUnkSTSH* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTSP.hpp b/include/MapObject/MapObjectUnkSTSP.hpp index 9553ca9fd..2423018cb 100644 --- a/include/MapObject/MapObjectUnkSTSP.hpp +++ b/include/MapObject/MapObjectUnkSTSP.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkSTSP : public MapObjectProfile { MapObjectProfileUnkSTSP(); ~MapObjectProfileUnkSTSP(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTSP *GetProfile(); + static MapObjectProfileUnkSTSP* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTSS.hpp b/include/MapObject/MapObjectUnkSTSS.hpp index 5a383b4ee..182df84ea 100644 --- a/include/MapObject/MapObjectUnkSTSS.hpp +++ b/include/MapObject/MapObjectUnkSTSS.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkSTSS : public MapObjectProfile { MapObjectProfileUnkSTSS(); ~MapObjectProfileUnkSTSS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTSS *GetProfile(); + static MapObjectProfileUnkSTSS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTSV.hpp b/include/MapObject/MapObjectUnkSTSV.hpp index e34ec6782..d06ebd87d 100644 --- a/include/MapObject/MapObjectUnkSTSV.hpp +++ b/include/MapObject/MapObjectUnkSTSV.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkSTSV : public MapObjectProfile { MapObjectProfileUnkSTSV(); ~MapObjectProfileUnkSTSV(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTSV *GetProfile(); + static MapObjectProfileUnkSTSV* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSTTR.hpp b/include/MapObject/MapObjectUnkSTTR.hpp index fa58b1f72..6bc9d80a5 100644 --- a/include/MapObject/MapObjectUnkSTTR.hpp +++ b/include/MapObject/MapObjectUnkSTTR.hpp @@ -34,7 +34,7 @@ class MapObjectProfileUnkSTTR : public MapObjectProfile { MapObjectProfileUnkSTTR(); ~MapObjectProfileUnkSTTR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSTTR *GetProfile(); + static MapObjectProfileUnkSTTR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSWBR.hpp b/include/MapObject/MapObjectUnkSWBR.hpp index f8360e391..aefc334d8 100644 --- a/include/MapObject/MapObjectUnkSWBR.hpp +++ b/include/MapObject/MapObjectUnkSWBR.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkSWBR : public MapObjectProfile { MapObjectProfileUnkSWBR(); ~MapObjectProfileUnkSWBR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSWBR *GetProfile(); + static MapObjectProfileUnkSWBR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSWCB.hpp b/include/MapObject/MapObjectUnkSWCB.hpp index be8fc5a4d..ba9acaab6 100644 --- a/include/MapObject/MapObjectUnkSWCB.hpp +++ b/include/MapObject/MapObjectUnkSWCB.hpp @@ -43,7 +43,7 @@ class MapObjectProfileUnkSWCB : public MapObjectProfile { MapObjectProfileUnkSWCB(); ~MapObjectProfileUnkSWCB(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSWCB *GetProfile(); + static MapObjectProfileUnkSWCB* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSWCR.hpp b/include/MapObject/MapObjectUnkSWCR.hpp index d1b50f66c..ead7e4cc2 100644 --- a/include/MapObject/MapObjectUnkSWCR.hpp +++ b/include/MapObject/MapObjectUnkSWCR.hpp @@ -12,10 +12,10 @@ class MapObjectUnkSWCR_160 : public ActorUnkMLCK_A0 { public: /* 00 (base) */ - /* 04 */ MapObject *mUnk_04; + /* 04 */ MapObject* mUnk_04; /* 08 */ - MapObjectUnkSWCR_160(MapObject *param1); + MapObjectUnkSWCR_160(MapObject* param1); /* 00 */ virtual void vfunc_00(); /* 04 */ virtual bool vfunc_04(); @@ -80,7 +80,7 @@ class MapObjectProfileUnkSWCR : public MapObjectProfileUnkSTAT_Base { MapObjectProfileUnkSWCR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSWCR *GetProfile(); + static MapObjectProfileUnkSWCR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSWEY.hpp b/include/MapObject/MapObjectUnkSWEY.hpp index 31897aaee..12c52572a 100644 --- a/include/MapObject/MapObjectUnkSWEY.hpp +++ b/include/MapObject/MapObjectUnkSWEY.hpp @@ -31,7 +31,7 @@ class MapObjectProfileUnkSWEY : public MapObjectProfile { MapObjectProfileUnkSWEY(); ~MapObjectProfileUnkSWEY(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSWEY *GetProfile(); + static MapObjectProfileUnkSWEY* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSWFS.hpp b/include/MapObject/MapObjectUnkSWFS.hpp index 108c2dcce..8d3f7c49e 100644 --- a/include/MapObject/MapObjectUnkSWFS.hpp +++ b/include/MapObject/MapObjectUnkSWFS.hpp @@ -31,9 +31,9 @@ class MapObjectUnkSWFS : public MapObject { void func_ov031_0210d710(void); void func_ov031_0210d750(void); #if IS_JP - void func_ov031_0210d794(VecFx32 *param1, unk32 param2); + void func_ov031_0210d794(VecFx32* param1, unk32 param2); #else - void func_ov031_0210d794(VecFx32 *param1, unk32 param2, unk32 param3); + void func_ov031_0210d794(VecFx32* param1, unk32 param2, unk32 param3); #endif void func_ov031_0210d924(void); void func_ov031_0210d968(void); @@ -46,7 +46,7 @@ class MapObjectProfileUnkSWFS : public MapObjectProfile { MapObjectProfileUnkSWFS(); ~MapObjectProfileUnkSWFS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSWFS *GetProfile(); + static MapObjectProfileUnkSWFS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSWHT.hpp b/include/MapObject/MapObjectUnkSWHT.hpp index 310681fc2..77fe788de 100644 --- a/include/MapObject/MapObjectUnkSWHT.hpp +++ b/include/MapObject/MapObjectUnkSWHT.hpp @@ -35,7 +35,7 @@ class MapObjectUnkSWHT : public MapObject { /* 08 */ virtual void vfunc_08() override; /* 0C */ virtual void vfunc_0C() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) override; + /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) override; /* 30 */ virtual ~MapObjectUnkSWHT() override; void func_ov031_02101dd8(); @@ -50,7 +50,7 @@ class MapObjectProfileUnkSWHT : public MapObjectProfilePot_Base { MapObjectProfileUnkSWHT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSWHT *GetProfile(); + static MapObjectProfileUnkSWHT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSWRA.hpp b/include/MapObject/MapObjectUnkSWRA.hpp index a5e8c8903..3e9828898 100644 --- a/include/MapObject/MapObjectUnkSWRA.hpp +++ b/include/MapObject/MapObjectUnkSWRA.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkSWRA : public MapObjectProfile { MapObjectProfileUnkSWRA(); ~MapObjectProfileUnkSWRA(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSWRA *GetProfile(); + static MapObjectProfileUnkSWRA* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSWRB.hpp b/include/MapObject/MapObjectUnkSWRB.hpp index b120e3bd2..27d45f37d 100644 --- a/include/MapObject/MapObjectUnkSWRB.hpp +++ b/include/MapObject/MapObjectUnkSWRB.hpp @@ -31,7 +31,7 @@ class MapObjectProfileUnkSWRB : public MapObjectProfile { MapObjectProfileUnkSWRB(); ~MapObjectProfileUnkSWRB(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSWRB *GetProfile(); + static MapObjectProfileUnkSWRB* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSWSW.hpp b/include/MapObject/MapObjectUnkSWSW.hpp index 2acc19cd2..ef6a1d91d 100644 --- a/include/MapObject/MapObjectUnkSWSW.hpp +++ b/include/MapObject/MapObjectUnkSWSW.hpp @@ -17,10 +17,10 @@ class MapObjectUnkSWSW_40 : public ModelRender { /* 6A */ unk16 mUnk_6A; /* 6C */ - MapObjectUnkSWSW_40(G3d_Model *pModel); + MapObjectUnkSWSW_40(G3d_Model* pModel); // data_ov032_021227ac - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; void func_ov032_021210a0(fx32 param1); }; @@ -33,7 +33,7 @@ class MapObjectUnkSWSW : public MapObject { /* 0CC */ unk32 mUnk_0CC; /* 0E0 */ PAD(0xD0, 0xEC); /* 0EC */ VecFx32Cpp mUnk_0EC; - /* 0F8 */ ActorUnkNSSW *mUnk_0F8; + /* 0F8 */ ActorUnkNSSW* mUnk_0F8; /* 0FC */ unk32 mUnk_0FC; /* 100 */ Timer mUnk_100; /* 104 */ u8 mUnk_104; @@ -42,7 +42,7 @@ class MapObjectUnkSWSW : public MapObject { /* 108 */ fx32 mUnk_108; /* 10C */ unk16 mUnk_10C; /* 10E */ Timer mUnk_10E; - /* 114 */ ActorUnkNSSW *mUnk_114; + /* 114 */ ActorUnkNSSW* mUnk_114; /* 118 */ MapObjectUnkSWSW(); @@ -50,12 +50,12 @@ class MapObjectUnkSWSW : public MapObject { /* 00 */ virtual bool Init() override; /* 08 */ virtual void vfunc_08() override; /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) override; + /* 1C */ virtual bool vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) override; /* 38 */ virtual void vfunc_38(); /* 3C */ virtual void vfunc_3C(unk32 param1); void func_ov032_02121b90(); - ActorUnkNSSW *func_ov032_02121dc8(VecFx32 *param1); + ActorUnkNSSW* func_ov032_02121dc8(VecFx32* param1); }; class MapObject_10_SWSW : public MapObject_10 { @@ -80,7 +80,7 @@ class MapObjectProfileUnkSWSW : public MapObjectProfileUnkSWSW_Base { MapObjectProfileUnkSWSW(); - /* 00 */ virtual MapObject *Create(); + /* 00 */ virtual MapObject* Create(); - static MapObjectProfileUnkSWSW *GetProfile(); + static MapObjectProfileUnkSWSW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkSWWN.hpp b/include/MapObject/MapObjectUnkSWWN.hpp index 667030561..026119f7f 100644 --- a/include/MapObject/MapObjectUnkSWWN.hpp +++ b/include/MapObject/MapObjectUnkSWWN.hpp @@ -36,7 +36,7 @@ class MapObjectProfileUnkSWWN : public MapObjectProfile { MapObjectProfileUnkSWWN(); ~MapObjectProfileUnkSWWN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkSWWN *GetProfile(); + static MapObjectProfileUnkSWWN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTATZ.hpp b/include/MapObject/MapObjectUnkTATZ.hpp index 10e581c75..225a7e1b3 100644 --- a/include/MapObject/MapObjectUnkTATZ.hpp +++ b/include/MapObject/MapObjectUnkTATZ.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTATZ : public MapObjectProfile { MapObjectProfileUnkTATZ(); ~MapObjectProfileUnkTATZ(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTATZ *GetProfile(); + static MapObjectProfileUnkTATZ* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTBSD.hpp b/include/MapObject/MapObjectUnkTBSD.hpp index b2382dd78..242df9f58 100644 --- a/include/MapObject/MapObjectUnkTBSD.hpp +++ b/include/MapObject/MapObjectUnkTBSD.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTBSD : public MapObjectProfile { MapObjectProfileUnkTBSD(); ~MapObjectProfileUnkTBSD(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTBSD *GetProfile(); + static MapObjectProfileUnkTBSD* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTBSF.hpp b/include/MapObject/MapObjectUnkTBSF.hpp index 75fde9b46..72b93876a 100644 --- a/include/MapObject/MapObjectUnkTBSF.hpp +++ b/include/MapObject/MapObjectUnkTBSF.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTBSF : public MapObjectProfile { MapObjectProfileUnkTBSF(); ~MapObjectProfileUnkTBSF(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTBSF *GetProfile(); + static MapObjectProfileUnkTBSF* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTBSS.hpp b/include/MapObject/MapObjectUnkTBSS.hpp index ab612f1d9..7dcbceeb8 100644 --- a/include/MapObject/MapObjectUnkTBSS.hpp +++ b/include/MapObject/MapObjectUnkTBSS.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTBSS : public MapObjectProfile { MapObjectProfileUnkTBSS(); ~MapObjectProfileUnkTBSS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTBSS *GetProfile(); + static MapObjectProfileUnkTBSS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTCBT.hpp b/include/MapObject/MapObjectUnkTCBT.hpp index a409b6c48..b2ff3f904 100644 --- a/include/MapObject/MapObjectUnkTCBT.hpp +++ b/include/MapObject/MapObjectUnkTCBT.hpp @@ -44,7 +44,7 @@ class MapObjectProfileUnkTCBT : public MapObjectProfile { MapObjectProfileUnkTCBT(); ~MapObjectProfileUnkTCBT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTCBT *GetProfile(); + static MapObjectProfileUnkTCBT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTDBP.hpp b/include/MapObject/MapObjectUnkTDBP.hpp index 28984b145..715d867c0 100644 --- a/include/MapObject/MapObjectUnkTDBP.hpp +++ b/include/MapObject/MapObjectUnkTDBP.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkTDBP : public MapObjectProfile { MapObjectProfileUnkTDBP(); ~MapObjectProfileUnkTDBP(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTDBP *GetProfile(); + static MapObjectProfileUnkTDBP* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTDBR.hpp b/include/MapObject/MapObjectUnkTDBR.hpp index ce4e78e73..8924b0091 100644 --- a/include/MapObject/MapObjectUnkTDBR.hpp +++ b/include/MapObject/MapObjectUnkTDBR.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkTDBR : public MapObjectProfile { MapObjectProfileUnkTDBR(); ~MapObjectProfileUnkTDBR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTDBR *GetProfile(); + static MapObjectProfileUnkTDBR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTDDR.hpp b/include/MapObject/MapObjectUnkTDDR.hpp index b46d3d7a2..15e8cd7c1 100644 --- a/include/MapObject/MapObjectUnkTDDR.hpp +++ b/include/MapObject/MapObjectUnkTDDR.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkTDDR : public MapObjectProfile { MapObjectProfileUnkTDDR(); ~MapObjectProfileUnkTDDR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTDDR *GetProfile(); + static MapObjectProfileUnkTDDR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTHAW.hpp b/include/MapObject/MapObjectUnkTHAW.hpp index 1514b7b58..8a968e486 100644 --- a/include/MapObject/MapObjectUnkTHAW.hpp +++ b/include/MapObject/MapObjectUnkTHAW.hpp @@ -34,7 +34,7 @@ class MapObjectProfileUnkTHAW : public MapObjectProfile { MapObjectProfileUnkTHAW(); ~MapObjectProfileUnkTHAW(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTHAW *GetProfile(); + static MapObjectProfileUnkTHAW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTMDE.hpp b/include/MapObject/MapObjectUnkTMDE.hpp index deb974cab..ba6a282f2 100644 --- a/include/MapObject/MapObjectUnkTMDE.hpp +++ b/include/MapObject/MapObjectUnkTMDE.hpp @@ -38,7 +38,7 @@ class MapObjectProfileUnkTMDE : public MapObjectProfile { MapObjectProfileUnkTMDE(); ~MapObjectProfileUnkTMDE(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTMDE *GetProfile(); + static MapObjectProfileUnkTMDE* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTMFR.hpp b/include/MapObject/MapObjectUnkTMFR.hpp index fce477d31..d179a41e5 100644 --- a/include/MapObject/MapObjectUnkTMFR.hpp +++ b/include/MapObject/MapObjectUnkTMFR.hpp @@ -40,7 +40,7 @@ class MapObjectProfileUnkTMFR : public MapObjectProfile { MapObjectProfileUnkTMFR(); ~MapObjectProfileUnkTMFR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTMFR *GetProfile(); + static MapObjectProfileUnkTMFR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTMLV.hpp b/include/MapObject/MapObjectUnkTMLV.hpp index 80eea4d11..6975830b2 100644 --- a/include/MapObject/MapObjectUnkTMLV.hpp +++ b/include/MapObject/MapObjectUnkTMLV.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTMLV : public MapObjectProfile { MapObjectProfileUnkTMLV(); ~MapObjectProfileUnkTMLV(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTMLV *GetProfile(); + static MapObjectProfileUnkTMLV* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTMSB.hpp b/include/MapObject/MapObjectUnkTMSB.hpp index 468310af0..0916437c3 100644 --- a/include/MapObject/MapObjectUnkTMSB.hpp +++ b/include/MapObject/MapObjectUnkTMSB.hpp @@ -38,7 +38,7 @@ class MapObjectProfileUnkTMSB : public MapObjectProfile { MapObjectProfileUnkTMSB(); ~MapObjectProfileUnkTMSB(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTMSB *GetProfile(); + static MapObjectProfileUnkTMSB* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTMSN.hpp b/include/MapObject/MapObjectUnkTMSN.hpp index be8260952..9f5f5eb45 100644 --- a/include/MapObject/MapObjectUnkTMSN.hpp +++ b/include/MapObject/MapObjectUnkTMSN.hpp @@ -34,7 +34,7 @@ class MapObjectProfileUnkTMSN : public MapObjectProfile { MapObjectProfileUnkTMSN(); ~MapObjectProfileUnkTMSN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTMSN *GetProfile(); + static MapObjectProfileUnkTMSN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTMWT.hpp b/include/MapObject/MapObjectUnkTMWT.hpp index 8a7ce9075..512dc32d4 100644 --- a/include/MapObject/MapObjectUnkTMWT.hpp +++ b/include/MapObject/MapObjectUnkTMWT.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkTMWT : public MapObjectProfile { MapObjectProfileUnkTMWT(); ~MapObjectProfileUnkTMWT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTMWT *GetProfile(); + static MapObjectProfileUnkTMWT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRBL.hpp b/include/MapObject/MapObjectUnkTRBL.hpp index cc10b5ade..4d8e99a94 100644 --- a/include/MapObject/MapObjectUnkTRBL.hpp +++ b/include/MapObject/MapObjectUnkTRBL.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTRBL : public MapObjectProfile { MapObjectProfileUnkTRBL(); ~MapObjectProfileUnkTRBL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRBL *GetProfile(); + static MapObjectProfileUnkTRBL* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRBM.hpp b/include/MapObject/MapObjectUnkTRBM.hpp index d10241886..e8f383c9e 100644 --- a/include/MapObject/MapObjectUnkTRBM.hpp +++ b/include/MapObject/MapObjectUnkTRBM.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTRBM : public MapObjectProfile { MapObjectProfileUnkTRBM(); ~MapObjectProfileUnkTRBM(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRBM *GetProfile(); + static MapObjectProfileUnkTRBM* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRBR.hpp b/include/MapObject/MapObjectUnkTRBR.hpp index 95a4f4dd6..7f856fd5b 100644 --- a/include/MapObject/MapObjectUnkTRBR.hpp +++ b/include/MapObject/MapObjectUnkTRBR.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTRBR : public MapObjectProfile { MapObjectProfileUnkTRBR(); ~MapObjectProfileUnkTRBR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRBR *GetProfile(); + static MapObjectProfileUnkTRBR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRCC.hpp b/include/MapObject/MapObjectUnkTRCC.hpp index e0447748e..4408959a8 100644 --- a/include/MapObject/MapObjectUnkTRCC.hpp +++ b/include/MapObject/MapObjectUnkTRCC.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkTRCC : public MapObjectProfile { MapObjectProfileUnkTRCC(); ~MapObjectProfileUnkTRCC(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRCC *GetProfile(); + static MapObjectProfileUnkTRCC* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRDA.hpp b/include/MapObject/MapObjectUnkTRDA.hpp index 3e37b0110..7542a3815 100644 --- a/include/MapObject/MapObjectUnkTRDA.hpp +++ b/include/MapObject/MapObjectUnkTRDA.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTRDA : public MapObjectProfile { MapObjectProfileUnkTRDA(); ~MapObjectProfileUnkTRDA(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRDA *GetProfile(); + static MapObjectProfileUnkTRDA* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRDR.hpp b/include/MapObject/MapObjectUnkTRDR.hpp index a1e491755..88917b903 100644 --- a/include/MapObject/MapObjectUnkTRDR.hpp +++ b/include/MapObject/MapObjectUnkTRDR.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTRDR : public MapObjectProfile { MapObjectProfileUnkTRDR(); ~MapObjectProfileUnkTRDR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRDR *GetProfile(); + static MapObjectProfileUnkTRDR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRDT.hpp b/include/MapObject/MapObjectUnkTRDT.hpp index bd390b259..0e64f14ef 100644 --- a/include/MapObject/MapObjectUnkTRDT.hpp +++ b/include/MapObject/MapObjectUnkTRDT.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkTRDT : public MapObjectProfile { MapObjectProfileUnkTRDT(); ~MapObjectProfileUnkTRDT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRDT *GetProfile(); + static MapObjectProfileUnkTRDT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRED.hpp b/include/MapObject/MapObjectUnkTRED.hpp index be6de0e45..034d9da0d 100644 --- a/include/MapObject/MapObjectUnkTRED.hpp +++ b/include/MapObject/MapObjectUnkTRED.hpp @@ -27,7 +27,7 @@ class MapObjectProfileUnkTRED : public MapObjectProfile { MapObjectProfileUnkTRED(); ~MapObjectProfileUnkTRED(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRED *GetProfile(); + static MapObjectProfileUnkTRED* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTREE.hpp b/include/MapObject/MapObjectUnkTREE.hpp index b65f8be58..0170c0f71 100644 --- a/include/MapObject/MapObjectUnkTREE.hpp +++ b/include/MapObject/MapObjectUnkTREE.hpp @@ -39,7 +39,7 @@ class MapObjectProfileUnkTREE : public MapObjectProfile { MapObjectProfileUnkTREE(); ~MapObjectProfileUnkTREE(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTREE *GetProfile(); + static MapObjectProfileUnkTREE* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTREN.hpp b/include/MapObject/MapObjectUnkTREN.hpp index cb185e1db..484637586 100644 --- a/include/MapObject/MapObjectUnkTREN.hpp +++ b/include/MapObject/MapObjectUnkTREN.hpp @@ -26,7 +26,7 @@ class MapObjectProfileUnkTREN : public MapObjectProfile { MapObjectProfileUnkTREN(); ~MapObjectProfileUnkTREN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTREN *GetProfile(); + static MapObjectProfileUnkTREN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRET.hpp b/include/MapObject/MapObjectUnkTRET.hpp index 73bf5a812..057329990 100644 --- a/include/MapObject/MapObjectUnkTRET.hpp +++ b/include/MapObject/MapObjectUnkTRET.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkTRET : public MapObjectProfile { MapObjectProfileUnkTRET(); ~MapObjectProfileUnkTRET(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRET *GetProfile(); + static MapObjectProfileUnkTRET* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTREW.hpp b/include/MapObject/MapObjectUnkTREW.hpp index 32358992f..000ec6643 100644 --- a/include/MapObject/MapObjectUnkTREW.hpp +++ b/include/MapObject/MapObjectUnkTREW.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTREW : public MapObjectProfile { MapObjectProfileUnkTREW(); ~MapObjectProfileUnkTREW(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTREW *GetProfile(); + static MapObjectProfileUnkTREW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRFI.hpp b/include/MapObject/MapObjectUnkTRFI.hpp index 7fa01193c..528fdec60 100644 --- a/include/MapObject/MapObjectUnkTRFI.hpp +++ b/include/MapObject/MapObjectUnkTRFI.hpp @@ -37,7 +37,7 @@ class MapObjectProfileUnkTRFI : public MapObjectProfile { MapObjectProfileUnkTRFI(); ~MapObjectProfileUnkTRFI(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRFI *GetProfile(); + static MapObjectProfileUnkTRFI* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRFO.hpp b/include/MapObject/MapObjectUnkTRFO.hpp index d5ceae739..4364f971d 100644 --- a/include/MapObject/MapObjectUnkTRFO.hpp +++ b/include/MapObject/MapObjectUnkTRFO.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTRFO : public MapObjectProfile { MapObjectProfileUnkTRFO(); ~MapObjectProfileUnkTRFO(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRFO *GetProfile(); + static MapObjectProfileUnkTRFO* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRFS.hpp b/include/MapObject/MapObjectUnkTRFS.hpp index c05eeab4f..c40533d9b 100644 --- a/include/MapObject/MapObjectUnkTRFS.hpp +++ b/include/MapObject/MapObjectUnkTRFS.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkTRFS : public MapObjectProfile { MapObjectProfileUnkTRFS(); ~MapObjectProfileUnkTRFS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRFS *GetProfile(); + static MapObjectProfileUnkTRFS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRFV.hpp b/include/MapObject/MapObjectUnkTRFV.hpp index 33324edfc..98d62164f 100644 --- a/include/MapObject/MapObjectUnkTRFV.hpp +++ b/include/MapObject/MapObjectUnkTRFV.hpp @@ -33,7 +33,7 @@ class MapObjectProfileUnkTRFV : public MapObjectProfile { MapObjectProfileUnkTRFV(); ~MapObjectProfileUnkTRFV(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRFV *GetProfile(); + static MapObjectProfileUnkTRFV* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRGM.hpp b/include/MapObject/MapObjectUnkTRGM.hpp index 22a49b5bc..7c3e50ebf 100644 --- a/include/MapObject/MapObjectUnkTRGM.hpp +++ b/include/MapObject/MapObjectUnkTRGM.hpp @@ -33,7 +33,7 @@ class MapObjectProfileUnkTRGM : public MapObjectProfile { MapObjectProfileUnkTRGM(); ~MapObjectProfileUnkTRGM(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRGM *GetProfile(); + static MapObjectProfileUnkTRGM* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRGW.hpp b/include/MapObject/MapObjectUnkTRGW.hpp index 63a3dd0de..e810fa427 100644 --- a/include/MapObject/MapObjectUnkTRGW.hpp +++ b/include/MapObject/MapObjectUnkTRGW.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTRGW : public MapObjectProfile { MapObjectProfileUnkTRGW(); ~MapObjectProfileUnkTRGW(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRGW *GetProfile(); + static MapObjectProfileUnkTRGW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRH0.hpp b/include/MapObject/MapObjectUnkTRH0.hpp index 23481d682..ac400b558 100644 --- a/include/MapObject/MapObjectUnkTRH0.hpp +++ b/include/MapObject/MapObjectUnkTRH0.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTRH0 : public MapObjectProfile { MapObjectProfileUnkTRH0(); ~MapObjectProfileUnkTRH0(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRH0 *GetProfile(); + static MapObjectProfileUnkTRH0* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRH1.hpp b/include/MapObject/MapObjectUnkTRH1.hpp index 82fd5b9dc..8cd97aa90 100644 --- a/include/MapObject/MapObjectUnkTRH1.hpp +++ b/include/MapObject/MapObjectUnkTRH1.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTRH1 : public MapObjectProfile { MapObjectProfileUnkTRH1(); ~MapObjectProfileUnkTRH1(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRH1 *GetProfile(); + static MapObjectProfileUnkTRH1* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRH2.hpp b/include/MapObject/MapObjectUnkTRH2.hpp index 2b617b444..8460acf7d 100644 --- a/include/MapObject/MapObjectUnkTRH2.hpp +++ b/include/MapObject/MapObjectUnkTRH2.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTRH2 : public MapObjectProfile { MapObjectProfileUnkTRH2(); ~MapObjectProfileUnkTRH2(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRH2 *GetProfile(); + static MapObjectProfileUnkTRH2* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRH3.hpp b/include/MapObject/MapObjectUnkTRH3.hpp index 374e58db6..54bf50bf9 100644 --- a/include/MapObject/MapObjectUnkTRH3.hpp +++ b/include/MapObject/MapObjectUnkTRH3.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTRH3 : public MapObjectProfile { MapObjectProfileUnkTRH3(); ~MapObjectProfileUnkTRH3(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRH3 *GetProfile(); + static MapObjectProfileUnkTRH3* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRLD.hpp b/include/MapObject/MapObjectUnkTRLD.hpp index 9af583681..f427f1dae 100644 --- a/include/MapObject/MapObjectUnkTRLD.hpp +++ b/include/MapObject/MapObjectUnkTRLD.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkTRLD : public MapObjectProfile { MapObjectProfileUnkTRLD(); ~MapObjectProfileUnkTRLD(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRLD *GetProfile(); + static MapObjectProfileUnkTRLD* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRLN.hpp b/include/MapObject/MapObjectUnkTRLN.hpp index fd8d3a0fa..e2c7107a7 100644 --- a/include/MapObject/MapObjectUnkTRLN.hpp +++ b/include/MapObject/MapObjectUnkTRLN.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkTRLN : public MapObjectProfile { MapObjectProfileUnkTRLN(); ~MapObjectProfileUnkTRLN(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRLN *GetProfile(); + static MapObjectProfileUnkTRLN* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRLS.hpp b/include/MapObject/MapObjectUnkTRLS.hpp index 5f6ae21dc..0b965e5bf 100644 --- a/include/MapObject/MapObjectUnkTRLS.hpp +++ b/include/MapObject/MapObjectUnkTRLS.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTRLS : public MapObjectProfile { MapObjectProfileUnkTRLS(); ~MapObjectProfileUnkTRLS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRLS *GetProfile(); + static MapObjectProfileUnkTRLS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRLW.hpp b/include/MapObject/MapObjectUnkTRLW.hpp index d636b4f39..9c3a2ec0c 100644 --- a/include/MapObject/MapObjectUnkTRLW.hpp +++ b/include/MapObject/MapObjectUnkTRLW.hpp @@ -31,7 +31,7 @@ class MapObjectProfileUnkTRLW : public MapObjectProfile { MapObjectProfileUnkTRLW(); ~MapObjectProfileUnkTRLW(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRLW *GetProfile(); + static MapObjectProfileUnkTRLW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRMA.hpp b/include/MapObject/MapObjectUnkTRMA.hpp index 35cdaafb5..a7ff8556a 100644 --- a/include/MapObject/MapObjectUnkTRMA.hpp +++ b/include/MapObject/MapObjectUnkTRMA.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTRMA : public MapObjectProfile { MapObjectProfileUnkTRMA(); ~MapObjectProfileUnkTRMA(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRMA *GetProfile(); + static MapObjectProfileUnkTRMA* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRMR.hpp b/include/MapObject/MapObjectUnkTRMR.hpp index 86fe50f56..9e7abdd00 100644 --- a/include/MapObject/MapObjectUnkTRMR.hpp +++ b/include/MapObject/MapObjectUnkTRMR.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkTRMR : public MapObjectProfile { MapObjectProfileUnkTRMR(); ~MapObjectProfileUnkTRMR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRMR *GetProfile(); + static MapObjectProfileUnkTRMR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRPI.hpp b/include/MapObject/MapObjectUnkTRPI.hpp index 6fe8800e2..bc2d10501 100644 --- a/include/MapObject/MapObjectUnkTRPI.hpp +++ b/include/MapObject/MapObjectUnkTRPI.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTRPI : public MapObjectProfile { MapObjectProfileUnkTRPI(); ~MapObjectProfileUnkTRPI(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRPI *GetProfile(); + static MapObjectProfileUnkTRPI* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRPT.hpp b/include/MapObject/MapObjectUnkTRPT.hpp index 10f6e82c5..36e57c505 100644 --- a/include/MapObject/MapObjectUnkTRPT.hpp +++ b/include/MapObject/MapObjectUnkTRPT.hpp @@ -31,7 +31,7 @@ class MapObjectProfileUnkTRPT : public MapObjectProfile { MapObjectProfileUnkTRPT(); ~MapObjectProfileUnkTRPT(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRPT *GetProfile(); + static MapObjectProfileUnkTRPT* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRRA.hpp b/include/MapObject/MapObjectUnkTRRA.hpp index 10eab6b2f..92e002d39 100644 --- a/include/MapObject/MapObjectUnkTRRA.hpp +++ b/include/MapObject/MapObjectUnkTRRA.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTRRA : public MapObjectProfile { MapObjectProfileUnkTRRA(); ~MapObjectProfileUnkTRRA(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRRA *GetProfile(); + static MapObjectProfileUnkTRRA* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRRC.hpp b/include/MapObject/MapObjectUnkTRRC.hpp index 8a778caaf..9b5ac9411 100644 --- a/include/MapObject/MapObjectUnkTRRC.hpp +++ b/include/MapObject/MapObjectUnkTRRC.hpp @@ -34,7 +34,7 @@ class MapObjectProfileUnkTRRC : public MapObjectProfile { MapObjectProfileUnkTRRC(); ~MapObjectProfileUnkTRRC(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRRC *GetProfile(); + static MapObjectProfileUnkTRRC* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRRD.hpp b/include/MapObject/MapObjectUnkTRRD.hpp index 8490a778b..e408d851a 100644 --- a/include/MapObject/MapObjectUnkTRRD.hpp +++ b/include/MapObject/MapObjectUnkTRRD.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTRRD : public MapObjectProfile { MapObjectProfileUnkTRRD(); ~MapObjectProfileUnkTRRD(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRRD *GetProfile(); + static MapObjectProfileUnkTRRD* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRRS.hpp b/include/MapObject/MapObjectUnkTRRS.hpp index b876996fa..2ee9d1516 100644 --- a/include/MapObject/MapObjectUnkTRRS.hpp +++ b/include/MapObject/MapObjectUnkTRRS.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTRRS : public MapObjectProfile { MapObjectProfileUnkTRRS(); ~MapObjectProfileUnkTRRS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRRS *GetProfile(); + static MapObjectProfileUnkTRRS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRRW.hpp b/include/MapObject/MapObjectUnkTRRW.hpp index 6e024a493..10c8a3077 100644 --- a/include/MapObject/MapObjectUnkTRRW.hpp +++ b/include/MapObject/MapObjectUnkTRRW.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTRRW : public MapObjectProfile { MapObjectProfileUnkTRRW(); ~MapObjectProfileUnkTRRW(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRRW *GetProfile(); + static MapObjectProfileUnkTRRW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRSA.hpp b/include/MapObject/MapObjectUnkTRSA.hpp index 849cf08e9..2bd544078 100644 --- a/include/MapObject/MapObjectUnkTRSA.hpp +++ b/include/MapObject/MapObjectUnkTRSA.hpp @@ -41,7 +41,7 @@ class MapObjectProfileUnkTRSA : public MapObjectProfile { MapObjectProfileUnkTRSA(); ~MapObjectProfileUnkTRSA(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRSA *GetProfile(); + static MapObjectProfileUnkTRSA* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRSD.hpp b/include/MapObject/MapObjectUnkTRSD.hpp index 9cdbcd74d..f9cba69b8 100644 --- a/include/MapObject/MapObjectUnkTRSD.hpp +++ b/include/MapObject/MapObjectUnkTRSD.hpp @@ -29,7 +29,7 @@ class MapObjectProfileUnkTRSD : public MapObjectProfile { MapObjectProfileUnkTRSD(); ~MapObjectProfileUnkTRSD(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRSD *GetProfile(); + static MapObjectProfileUnkTRSD* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRSH.hpp b/include/MapObject/MapObjectUnkTRSH.hpp index 44683b9a2..6603f04b8 100644 --- a/include/MapObject/MapObjectUnkTRSH.hpp +++ b/include/MapObject/MapObjectUnkTRSH.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTRSH : public MapObjectProfile { MapObjectProfileUnkTRSH(); ~MapObjectProfileUnkTRSH(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRSH *GetProfile(); + static MapObjectProfileUnkTRSH* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRSR.hpp b/include/MapObject/MapObjectUnkTRSR.hpp index d7104549e..147f06540 100644 --- a/include/MapObject/MapObjectUnkTRSR.hpp +++ b/include/MapObject/MapObjectUnkTRSR.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkTRSR : public MapObjectProfile { MapObjectProfileUnkTRSR(); ~MapObjectProfileUnkTRSR(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRSR *GetProfile(); + static MapObjectProfileUnkTRSR* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRSS.hpp b/include/MapObject/MapObjectUnkTRSS.hpp index 12599177c..a882cf9f9 100644 --- a/include/MapObject/MapObjectUnkTRSS.hpp +++ b/include/MapObject/MapObjectUnkTRSS.hpp @@ -37,7 +37,7 @@ class MapObjectProfileUnkTRSS : public MapObjectProfile { MapObjectProfileUnkTRSS(); ~MapObjectProfileUnkTRSS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRSS *GetProfile(); + static MapObjectProfileUnkTRSS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRST.hpp b/include/MapObject/MapObjectUnkTRST.hpp index 806711c93..52eda0c07 100644 --- a/include/MapObject/MapObjectUnkTRST.hpp +++ b/include/MapObject/MapObjectUnkTRST.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTRST : public MapObjectProfile { MapObjectProfileUnkTRST(); ~MapObjectProfileUnkTRST(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRST *GetProfile(); + static MapObjectProfileUnkTRST* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRSW.hpp b/include/MapObject/MapObjectUnkTRSW.hpp index e03e4cda4..34a080ee7 100644 --- a/include/MapObject/MapObjectUnkTRSW.hpp +++ b/include/MapObject/MapObjectUnkTRSW.hpp @@ -38,7 +38,7 @@ class MapObjectProfileUnkTRSW : public MapObjectProfile { MapObjectProfileUnkTRSW(); ~MapObjectProfileUnkTRSW(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRSW *GetProfile(); + static MapObjectProfileUnkTRSW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRTF.hpp b/include/MapObject/MapObjectUnkTRTF.hpp index b4b120870..db5ed9535 100644 --- a/include/MapObject/MapObjectUnkTRTF.hpp +++ b/include/MapObject/MapObjectUnkTRTF.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkTRTF : public MapObjectProfile { MapObjectProfileUnkTRTF(); ~MapObjectProfileUnkTRTF(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRTF *GetProfile(); + static MapObjectProfileUnkTRTF* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRTS.hpp b/include/MapObject/MapObjectUnkTRTS.hpp index 20c401632..c22748798 100644 --- a/include/MapObject/MapObjectUnkTRTS.hpp +++ b/include/MapObject/MapObjectUnkTRTS.hpp @@ -28,7 +28,7 @@ class MapObjectProfileUnkTRTS : public MapObjectProfile { MapObjectProfileUnkTRTS(); ~MapObjectProfileUnkTRTS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRTS *GetProfile(); + static MapObjectProfileUnkTRTS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRWA.hpp b/include/MapObject/MapObjectUnkTRWA.hpp index 6f9050025..a9d93be8f 100644 --- a/include/MapObject/MapObjectUnkTRWA.hpp +++ b/include/MapObject/MapObjectUnkTRWA.hpp @@ -30,7 +30,7 @@ class MapObjectProfileUnkTRWA : public MapObjectProfile { MapObjectProfileUnkTRWA(); ~MapObjectProfileUnkTRWA(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRWA *GetProfile(); + static MapObjectProfileUnkTRWA* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTRWS.hpp b/include/MapObject/MapObjectUnkTRWS.hpp index d5cf7c725..c13f462c1 100644 --- a/include/MapObject/MapObjectUnkTRWS.hpp +++ b/include/MapObject/MapObjectUnkTRWS.hpp @@ -42,7 +42,7 @@ class MapObjectProfileUnkTRWS : public MapObjectProfile { MapObjectProfileUnkTRWS(); ~MapObjectProfileUnkTRWS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTRWS *GetProfile(); + static MapObjectProfileUnkTRWS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTSGM.hpp b/include/MapObject/MapObjectUnkTSGM.hpp index 9352d5539..a243554c5 100644 --- a/include/MapObject/MapObjectUnkTSGM.hpp +++ b/include/MapObject/MapObjectUnkTSGM.hpp @@ -32,7 +32,7 @@ class MapObjectProfileUnkTSGM : public MapObjectProfile { MapObjectProfileUnkTSGM(); ~MapObjectProfileUnkTSGM(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTSGM *GetProfile(); + static MapObjectProfileUnkTSGM* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTWGS.hpp b/include/MapObject/MapObjectUnkTWGS.hpp index a899b4d78..3495ad384 100644 --- a/include/MapObject/MapObjectUnkTWGS.hpp +++ b/include/MapObject/MapObjectUnkTWGS.hpp @@ -37,7 +37,7 @@ class MapObjectProfileUnkTWGS : public MapObjectProfile { MapObjectProfileUnkTWGS(); ~MapObjectProfileUnkTWGS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTWGS *GetProfile(); + static MapObjectProfileUnkTWGS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTWPC.hpp b/include/MapObject/MapObjectUnkTWPC.hpp index 54f9b8440..82c5b46c2 100644 --- a/include/MapObject/MapObjectUnkTWPC.hpp +++ b/include/MapObject/MapObjectUnkTWPC.hpp @@ -37,7 +37,7 @@ class MapObjectProfileUnkTWPC : public MapObjectProfile { MapObjectProfileUnkTWPC(); ~MapObjectProfileUnkTWPC(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTWPC *GetProfile(); + static MapObjectProfileUnkTWPC* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkTWPG.hpp b/include/MapObject/MapObjectUnkTWPG.hpp index a00573e96..81a1fc26a 100644 --- a/include/MapObject/MapObjectUnkTWPG.hpp +++ b/include/MapObject/MapObjectUnkTWPG.hpp @@ -42,7 +42,7 @@ class MapObjectProfileUnkTWPG : public MapObjectProfile { MapObjectProfileUnkTWPG(); ~MapObjectProfileUnkTWPG(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkTWPG *GetProfile(); + static MapObjectProfileUnkTWPG* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkWDST.hpp b/include/MapObject/MapObjectUnkWDST.hpp index 111f61993..f2bc4cd9a 100644 --- a/include/MapObject/MapObjectUnkWDST.hpp +++ b/include/MapObject/MapObjectUnkWDST.hpp @@ -60,7 +60,7 @@ class MapObjectProfileUnkWDST : public MapObjectProfile { MapObjectProfileUnkWDST(); ~MapObjectProfileUnkWDST(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkWDST *GetProfile(); + static MapObjectProfileUnkWDST* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkWHSW.hpp b/include/MapObject/MapObjectUnkWHSW.hpp index edebbd2a0..6b0309290 100644 --- a/include/MapObject/MapObjectUnkWHSW.hpp +++ b/include/MapObject/MapObjectUnkWHSW.hpp @@ -31,7 +31,7 @@ class MapObjectProfileUnkWHSW : public MapObjectProfile { MapObjectProfileUnkWHSW(); ~MapObjectProfileUnkWHSW(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkWHSW *GetProfile(); + static MapObjectProfileUnkWHSW* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkWLMP.hpp b/include/MapObject/MapObjectUnkWLMP.hpp index 58d0692a7..627530a16 100644 --- a/include/MapObject/MapObjectUnkWLMP.hpp +++ b/include/MapObject/MapObjectUnkWLMP.hpp @@ -34,7 +34,7 @@ class MapObjectProfileUnkWLMP : public MapObjectProfile { MapObjectProfileUnkWLMP(); ~MapObjectProfileUnkWLMP(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkWLMP *GetProfile(); + static MapObjectProfileUnkWLMP* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkWLMS.hpp b/include/MapObject/MapObjectUnkWLMS.hpp index 537e6062b..1269e51be 100644 --- a/include/MapObject/MapObjectUnkWLMS.hpp +++ b/include/MapObject/MapObjectUnkWLMS.hpp @@ -15,7 +15,7 @@ class UnkStruct_ov063_02163910 : public ActorUnkTLKT_9C_Base { public: - UnkStruct_ov063_02163910(Actor *param1); + UnkStruct_ov063_02163910(Actor* param1); /* 00 */ virtual void vfunc2_00() override; /* 04 */ virtual void vfunc2_04() override; @@ -55,7 +55,7 @@ class MapObjectUnkWLMS : public UnkStruct_ov094_02177ff8 { /* 08 */ virtual void vfunc_08() override; #endif /* 14 */ virtual void vfunc_14(unk32 param1) override; - /* 18 */ virtual void vfunc_18(s8 *param1) override; + /* 18 */ virtual void vfunc_18(s8* param1) override; /* 28 */ virtual unk32 vfunc_28(PlayerType playerType, unk32 param2, unk32 param3) override; /* 38 */ virtual void vfunc_38(void) override; /* 60 */ virtual void vfunc_60(void); @@ -75,7 +75,7 @@ class MapObjectProfileUnkWLMS : public MapObjectProfileUnkSTAT_Base { MapObjectProfileUnkWLMS(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkWLMS *GetProfile(); + static MapObjectProfileUnkWLMS* GetProfile(); }; diff --git a/include/MapObject/MapObjectUnkWPHL.hpp b/include/MapObject/MapObjectUnkWPHL.hpp index 8768f8cc6..bf7961a2d 100644 --- a/include/MapObject/MapObjectUnkWPHL.hpp +++ b/include/MapObject/MapObjectUnkWPHL.hpp @@ -37,7 +37,7 @@ class MapObjectProfileUnkWPHL : public MapObjectProfile { MapObjectProfileUnkWPHL(); ~MapObjectProfileUnkWPHL(); - /* 0C */ virtual MapObject *Create(); + /* 0C */ virtual MapObject* Create(); - static MapObjectProfileUnkWPHL *GetProfile(); + static MapObjectProfileUnkWPHL* GetProfile(); }; diff --git a/include/MapObject/MapObject_10_Pot.hpp b/include/MapObject/MapObject_10_Pot.hpp index 587d4034a..bbb8ac386 100644 --- a/include/MapObject/MapObject_10_Pot.hpp +++ b/include/MapObject/MapObject_10_Pot.hpp @@ -14,10 +14,10 @@ class MapObject_10_Pot_Base : public MapObject_10_Base { /* 04 */ virtual void vfunc_04(); /* 08 */ virtual void vfunc_08(); /* 0C */ virtual void vfunc_0C(); - /* 10 */ virtual void vfunc_10(Sphere *param1); + /* 10 */ virtual void vfunc_10(Sphere* param1); /* 14 */ virtual void vfunc_14(); - /* 18 */ virtual void vfunc_18(VecFx32 *param1); - /* 1C */ virtual void vfunc_1C(VecFx32 *param1); + /* 18 */ virtual void vfunc_18(VecFx32* param1); + /* 1C */ virtual void vfunc_1C(VecFx32* param1); }; class MapObject_10_Pot : public MapObject_10_Pot_Base { diff --git a/include/MapObject/MapObject_ov031.hpp b/include/MapObject/MapObject_ov031.hpp index 619d82fb1..9c02e8adc 100644 --- a/include/MapObject/MapObject_ov031.hpp +++ b/include/MapObject/MapObject_ov031.hpp @@ -11,7 +11,7 @@ class MapObjectPot_Base : public MapObject { // data_ov000_020b35d0 /* 00 */ virtual bool Init(); // func_ov000_0209d780 - /* 24 */ virtual void vfunc_24(MapObject *param1, VecFx32 param2) override; // func_ov000_0209d8e8 + /* 24 */ virtual void vfunc_24(MapObject* param1, VecFx32 param2) override; // func_ov000_0209d8e8 /* 28 */ virtual unk32 vfunc_28(unk32 param1) override; // func_ov000_0209d9f8 /* 30 */ virtual ~MapObjectPot_Base() = 0 override; /* 38 */ virtual void vfunc_38() override; // func_ov000_0209d9ac @@ -24,7 +24,7 @@ class MapObjectPot_Base : public MapObject { /* 54 */ virtual unk32 vfunc_54() override; // func_ov000_0209da64 // overlay 0 - void func_ov000_0209d8e8(MapObjectPot_Base *param1, fx32 param2); + void func_ov000_0209d8e8(MapObjectPot_Base* param1, fx32 param2); unk32 func_ov000_0209da64(); }; diff --git a/include/Message/BMG.hpp b/include/Message/BMG.hpp index 4f4c76ce0..af3dac389 100644 --- a/include/Message/BMG.hpp +++ b/include/Message/BMG.hpp @@ -102,7 +102,7 @@ struct SectionINF1 { /* 0C */ u16 groupId; /* 0E */ u8 colorId; /* 0F */ u8 mUnk_0F[0x1]; // alignment padding? - /* 10 */ EntryINF1 *entries; + /* 10 */ EntryINF1* entries; /* 14 */ }; @@ -151,9 +151,9 @@ struct SectionFLW1 { /* 04 */ u16 numInstructions; /* 08 */ u16 numLabels; /* 0C */ u32 mUnk_0C; // always zero? - /* 10 */ FLW1Instr *instructions; - /* 14 */ s16 *flwEntries; - /* 18 */ s8 *bmgFileIndices; + /* 10 */ FLW1Instr* instructions; + /* 14 */ s16* flwEntries; + /* 18 */ s8* bmgFileIndices; /* 1C */ }; @@ -168,28 +168,28 @@ struct SectionFLI1 { /* 04 */ u16 numEntries; /* 08 */ u16 entrySize; /* 0C */ u32 mUnk_0C; // always zero? - /* 10 */ EntryFLI1 *entries; + /* 10 */ EntryFLI1* entries; /* 14 */ }; struct EntryDAT1 { - /* 00 */ char *text; + /* 00 */ char* text; /* 04 */ }; struct SectionDAT1 { /* 00 */ SectionBase base; - /* 08 */ EntryDAT1 *entries; + /* 08 */ EntryDAT1* entries; /* 0C */ }; struct BMGFileInfo { - /* 00 */ BMGHeader *pHeader; // pointer to the file's header - /* 04 */ SectionINF1 *pINF1; // pointer to the data informations (INF -> informations) - /* 08 */ SectionFLW1 *pFLW1; // pointer to the message flow data (FLW -> flow) - /* 0C */ SectionFLI1 *pFLI1; // pointer to the message flow index table (FLI -> flow index table) - /* 10 */ SectionDAT1 *pDAT1; // pointer to the data (DAT -> data) - /* 14 */ BMGHeader *mUnk_14; // same as pHeader (?) + /* 00 */ BMGHeader* pHeader; // pointer to the file's header + /* 04 */ SectionINF1* pINF1; // pointer to the data informations (INF -> informations) + /* 08 */ SectionFLW1* pFLW1; // pointer to the message flow data (FLW -> flow) + /* 0C */ SectionFLI1* pFLI1; // pointer to the message flow index table (FLI -> flow index table) + /* 10 */ SectionDAT1* pDAT1; // pointer to the data (DAT -> data) + /* 14 */ BMGHeader* mUnk_14; // same as pHeader (?) /* 18 */ s16 mUnk_18; // stores `func_020372F0`->param3 value (currently undetermined purpose) /* 1A */ s16 groupId; // stores the group id /* 1C */ @@ -197,7 +197,7 @@ struct BMGFileInfo { class BMGGroups { public: - /* 00 */ BMGFileInfo *entries; // accessed with `groupId` + /* 00 */ BMGFileInfo* entries; // accessed with `groupId` /* 04 */ s32 numEntries; /* 08 */ diff --git a/include/Physics/Sphere.hpp b/include/Physics/Sphere.hpp index ffd9b71d8..f492966a6 100644 --- a/include/Physics/Sphere.hpp +++ b/include/Physics/Sphere.hpp @@ -35,7 +35,7 @@ struct Sphere { this->radius = size; } - void Init(VecFx32 *vec, fx32 size) { + void Init(VecFx32* vec, fx32 size) { VecFx32_Copy(vec, &this->center); this->radius = size; diff --git a/include/Player/LinkStateActorPush.hpp b/include/Player/LinkStateActorPush.hpp index a637c03ae..a92ae2022 100644 --- a/include/Player/LinkStateActorPush.hpp +++ b/include/Player/LinkStateActorPush.hpp @@ -10,6 +10,6 @@ class LinkStateActorPush : public LinkStateBase { // data_ov048_02137a04 /* 04 */ virtual ~LinkStateActorPush() override; - /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1) override; /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) override; }; diff --git a/include/Player/LinkStateBase.hpp b/include/Player/LinkStateBase.hpp index 4f1cb3bf0..a61116a31 100644 --- a/include/Player/LinkStateBase.hpp +++ b/include/Player/LinkStateBase.hpp @@ -20,7 +20,7 @@ class UnkStruct_ov000_0208a38c { /* 14 */ unk32 mUnk_14; /* 18 */ - UnkStruct_ov000_0208a38c(const VecFx32 *param1); + UnkStruct_ov000_0208a38c(const VecFx32* param1); }; class LinkStateBase_14 { @@ -43,7 +43,7 @@ class UnkStruct_PlayerGet_64_2 { public: /* 00 */ unk32 mUnk_00; - UnkStruct_PlayerGet_64_2(void *param1, unk32 param2); + UnkStruct_PlayerGet_64_2(void* param1, unk32 param2); ~UnkStruct_PlayerGet_64_2(); void func_ov000_0208a100(); @@ -89,7 +89,7 @@ struct LinkStateParams_Type1 { /* 08 */ unk32 unk_08; /* 0C */ ItemId itemId; /* 10 */ unk32 unk_10; - /* 14 */ LinkStateBase_14 *unk_14; //! TODO: here? + /* 14 */ LinkStateBase_14* unk_14; //! TODO: here? RefStruct GetRef1() const { return this->ref1; @@ -115,7 +115,7 @@ struct LinkStateParams_Type3 { // potions struct LinkStateParams_Type4 { /* 00 */ unk32 unk_00; - /* 04 */ void *unk_04; + /* 04 */ void* unk_04; }; // talk to character @@ -169,7 +169,7 @@ struct UnkStruct_PlayerGet_vfunc_0C_param1 { class LinkStateBase_44 { public: - void *mUnk_00; + void* mUnk_00; }; class LinkStateBase { @@ -180,37 +180,37 @@ class LinkStateBase { /* 21 */ u8 mUnk_21; /* 22 */ u8 mUnk_22; /* 23 */ u8 mUnk_23; - /* 24 */ UnkStruct_027e0ce0_40 *mUnk_24; - /* 28 */ PlayerLinkActor *mpLink; - /* 2C */ LinkStateBase_2C *mUnk_2C; - /* 30 */ PlayerLinkActor_A0 *mUnk_30; - /* 34 */ VecFx32 *mUnk_34; - /* 38 */ VecFx32 *mUnk_38; - /* 3C */ VecFx32 *mUnk_3C; - /* 40 */ UnkAngleStruct *mUnk_40; - /* 44 */ LinkStateBase_44 *mUnk_44; - /* 48 */ PlayerActorBase_70 *mUnk_48; - /* 4C */ UnkStruct_PlayerGet_50 *mUnk_4C; - /* 50 */ UnkStruct_PlayerGet_50 *mUnk_50; + /* 24 */ UnkStruct_027e0ce0_40* mUnk_24; + /* 28 */ PlayerLinkActor* mpLink; + /* 2C */ LinkStateBase_2C* mUnk_2C; + /* 30 */ PlayerLinkActor_A0* mUnk_30; + /* 34 */ VecFx32* mUnk_34; + /* 38 */ VecFx32* mUnk_38; + /* 3C */ VecFx32* mUnk_3C; + /* 40 */ UnkAngleStruct* mUnk_40; + /* 44 */ LinkStateBase_44* mUnk_44; + /* 48 */ PlayerActorBase_70* mUnk_48; + /* 4C */ UnkStruct_PlayerGet_50* mUnk_4C; + /* 50 */ UnkStruct_PlayerGet_50* mUnk_50; /* 54 */ // data_ov000_020b2c7c /* 00 */ virtual unk32 vfunc_00(); /* 04 */ virtual ~LinkStateBase(); - /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) = 0; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1) = 0; /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) = 0; /* 14 */ virtual void vfunc_14(); /* 18 */ virtual void vfunc_18(unk32 param1, LinkState state, unk32 param3); - /* 1C */ virtual bool vfunc_1C(VecFx32 *param1); + /* 1C */ virtual bool vfunc_1C(VecFx32* param1); /* 20 */ - LinkStateBase(PlayerLinkActor_A0_84 *param1); + LinkStateBase(PlayerLinkActor_A0_84* param1); // overlay 0 LinkState func_ov000_0208fe9c(bool param1); - LinkState func_ov000_0208ff38(unk32 param1, UnkAngleStruct *param2, void *param3); - LinkState func_ov000_020901f4(void *param1, unk32 param2); + LinkState func_ov000_0208ff38(unk32 param1, UnkAngleStruct* param2, void* param3); + LinkState func_ov000_020901f4(void* param1, unk32 param2); LinkState func_ov000_0209078c(unk32 param1); - bool func_ov000_020914b0(unk32 param1, VecFx32 *param2, unk32 param3); + bool func_ov000_020914b0(unk32 param1, VecFx32* param2, unk32 param3); bool func_ov000_02091e68(unk32 param1); }; diff --git a/include/Player/LinkStateDamage.hpp b/include/Player/LinkStateDamage.hpp index af452ed8d..668c4fb1b 100644 --- a/include/Player/LinkStateDamage.hpp +++ b/include/Player/LinkStateDamage.hpp @@ -8,11 +8,11 @@ struct PlayerLinkActor_70; class LinkStateDamage_60 { public: /* 00 */ PAD(0x00, 0x24); - /* 00 */ PlayerLinkActor *mpLink; - /* 04 */ LinkStateBase_2C *mUnk_04; - /* 08 */ PlayerLinkActor_70 *mUnk_08; - /* 08 */ PlayerLinkActor *mpLink2; - /* 0C */ VecFx32 *mUnk_10; + /* 00 */ PlayerLinkActor* mpLink; + /* 04 */ LinkStateBase_2C* mUnk_04; + /* 08 */ PlayerLinkActor_70* mUnk_08; + /* 08 */ PlayerLinkActor* mpLink2; + /* 0C */ VecFx32* mUnk_10; /* 10 */ unk32 mUnk_14; /* 14 */ unk16 mUnk_18; /* 16 */ unk8 mUnk_1A; @@ -21,7 +21,7 @@ class LinkStateDamage_60 { /* 20 */ unk32 mUnk_20; /* 24 */ - LinkStateDamage_60(PlayerLinkActor *pLink, LinkStateBase_2C *param2); + LinkStateDamage_60(PlayerLinkActor* pLink, LinkStateBase_2C* param2); }; class LinkStateDamage_84_10 : public UnkSystem7 { @@ -37,14 +37,14 @@ class LinkStateDamage_84_10 : public UnkSystem7 { class LinkStateDamage_84 { public: - /* 00 */ PlayerLinkActor *mpLink; - /* 04 */ UnkStruct_PlayerGet_50 *mUnk_04; - /* 08 */ UnkStruct_PlayerGet_50 *mUnk_08; + /* 00 */ PlayerLinkActor* mpLink; + /* 04 */ UnkStruct_PlayerGet_50* mUnk_04; + /* 08 */ UnkStruct_PlayerGet_50* mUnk_08; /* 0C */ unk32 mUnk_0C; /* 10 */ LinkStateDamage_84_10 mUnk_10[2]; /* 28 */ - LinkStateDamage_84(PlayerLinkActor *pLink, UnkStruct_PlayerGet_50 *param2, UnkStruct_PlayerGet_50 *param3); + LinkStateDamage_84(PlayerLinkActor* pLink, UnkStruct_PlayerGet_50* param2, UnkStruct_PlayerGet_50* param3); // overlay 31 void func_ov031_020dac20(); @@ -54,19 +54,19 @@ class LinkStateDamage_84 { }; struct LinkStateDamage_AC_14 { - /* 00 */ PlayerLinkActor *mpLink; - /* 04 */ LinkStateBase_2C *mUnk_04; - /* 08 */ PlayerActorBase_70 *mUnk_08; + /* 00 */ PlayerLinkActor* mpLink; + /* 04 */ LinkStateBase_2C* mUnk_04; + /* 08 */ PlayerActorBase_70* mUnk_08; /* 0C */ }; class LinkStateDamage_AC : public UnkStruct_PlayerGet_74_base { public: /* 00 (base) */ - /* 14 */ PlayerLinkActor *mpLink; - /* 18 */ LinkStateBase_2C *mUnk_18; - /* 1C */ PlayerActorBase_70 *mUnk_1C; - /* 20 */ PlayerLinkActor *mpLink2; + /* 14 */ PlayerLinkActor* mpLink; + /* 18 */ LinkStateBase_2C* mUnk_18; + /* 1C */ PlayerActorBase_70* mUnk_1C; + /* 20 */ PlayerLinkActor* mpLink2; /* 24 */ u32 mUnk_24; /* 28 */ unk32 mUnk_28; /* 2C */ ModelRender mUnk_2C; @@ -78,7 +78,7 @@ class LinkStateDamage_AC : public UnkStruct_PlayerGet_74_base { /* D4 */ unk32 mUnk_D4; /* D8 */ - LinkStateDamage_AC(PlayerLinkActor *pLink, LinkStateBase_2C *param2); + LinkStateDamage_AC(PlayerLinkActor* pLink, LinkStateBase_2C* param2); // data_ov000_020b2b10 /* 00 */ virtual void vfunc_00(unk32 param1, unk32 param2) override; @@ -87,17 +87,17 @@ class LinkStateDamage_AC : public UnkStruct_PlayerGet_74_base { void func_ov031_020dad80(); void func_ov031_020dad98(); void func_ov031_020dae3c(); - bool func_ov031_020dae8c(UnkStruct_027e0ce0_40 *param1); + bool func_ov031_020dae8c(UnkStruct_027e0ce0_40* param1); void func_ov031_020dafe8(bool param1); void func_ov031_020db028(); }; class LinkStateDamage_184 { public: - /* 00 */ PlayerLinkActor *mUnk_00; - /* 04 */ LinkStateBase_2C *mUnk_04; - /* 08 */ PlayerLinkActor *mUnk_08; - /* 0C */ VecFx32 *mUnk_0C; + /* 00 */ PlayerLinkActor* mUnk_00; + /* 04 */ LinkStateBase_2C* mUnk_04; + /* 08 */ PlayerLinkActor* mUnk_08; + /* 0C */ VecFx32* mUnk_0C; /* 10 */ unk32 mUnk_10; /* 14 */ unk16 mUnk_14; /* 16 */ unk8 mUnk_16; @@ -105,7 +105,7 @@ class LinkStateDamage_184 { /* 18 */ unk32 mUnk_18; /* 20 */ - LinkStateDamage_184(PlayerLinkActor *pLink, LinkStateBase_2C *param2); + LinkStateDamage_184(PlayerLinkActor* pLink, LinkStateBase_2C* param2); }; // related to the player receiving damages @@ -128,13 +128,13 @@ class LinkStateDamage : public LinkStateBase { /* 1A4 */ PAD(0x1A4, 0x1E0); /* 1E0 */ - LinkStateDamage(PlayerLinkActor_A0_84 *param1); + LinkStateDamage(PlayerLinkActor_A0_84* param1); // data_ov000_020b2ca4 /* 04 */ virtual ~LinkStateDamage() override; - /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1) override; /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) override; /* 14 */ virtual void vfunc_14() override; /* 18 */ virtual void vfunc_18(unk32 param1, LinkState state, unk32 param3) override; - /* 1C */ virtual bool vfunc_1C(VecFx32 *param1) override; + /* 1C */ virtual bool vfunc_1C(VecFx32* param1) override; }; diff --git a/include/Player/LinkStateGrabbed.hpp b/include/Player/LinkStateGrabbed.hpp index 09860c691..e1b7af46e 100644 --- a/include/Player/LinkStateGrabbed.hpp +++ b/include/Player/LinkStateGrabbed.hpp @@ -20,11 +20,11 @@ class LinkStateGrabbed : public LinkStateBase { /* 70 */ unk32 mUnk_70; /* 74 */ - LinkStateGrabbed(PlayerLinkActor_A0_84 *param1); + LinkStateGrabbed(PlayerLinkActor_A0_84* param1); // data_ov031_02112b8c /* 04 */ virtual ~LinkStateGrabbed(); - /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1); + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1); /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2); // overlay 31 diff --git a/include/Player/LinkStateHit.hpp b/include/Player/LinkStateHit.hpp index 589368ba2..7d1dc84df 100644 --- a/include/Player/LinkStateHit.hpp +++ b/include/Player/LinkStateHit.hpp @@ -12,7 +12,7 @@ class LinkStateHit_BC { LinkStateHit_BC(unk32 param1); // overlay 31 - void func_ov031_020e0284(UnkAngleStruct param1, unk32 param2, VecFx32 *param3); + void func_ov031_020e0284(UnkAngleStruct param1, unk32 param2, VecFx32* param3); void func_ov031_020e0368(UnkAngleStruct param1, unk32 param2); void func_ov031_020e0550(UnkAngleStruct param1, unk32 param2); void func_ov031_020e05fc(); @@ -48,22 +48,22 @@ class LinkStateHit : public LinkStateBase { return this->mUnk_54; } - LinkStateHit(PlayerLinkActor_A0_84 *param1); + LinkStateHit(PlayerLinkActor_A0_84* param1); // data_ov031_02112bb4 /* 00 */ virtual unk32 vfunc_00() override; /* 04 */ virtual ~LinkStateHit() override; - /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1) override; /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) override; // overlay 31 - void func_ov031_020de388(fx32 param1, VecFx32 *param2); - void func_ov031_020de458(fx32 param1, VecFx32 *param2); - bool func_ov031_020de664(fx32 param1, Sphere *param2, Sphere *param3); + void func_ov031_020de388(fx32 param1, VecFx32* param2); + void func_ov031_020de458(fx32 param1, VecFx32* param2); + bool func_ov031_020de664(fx32 param1, Sphere* param2, Sphere* param3); void func_ov031_020de80c(unk32 param1); - bool func_ov031_020de838(VecFx32 *param1, VecFx32 *param2, UnkStruct_ov031_02112b40 *param3); + bool func_ov031_020de838(VecFx32* param1, VecFx32* param2, UnkStruct_ov031_02112b40* param3); void func_ov031_020de8ec(unk32 arg1); - unk32 func_ov031_020de9a8(const UnkStruct_ov000_0208a38c *param1); + unk32 func_ov031_020de9a8(const UnkStruct_ov000_0208a38c* param1); bool func_ov031_020e0110(unk32 param1, fx32 param2); static LinkState func_ov031_020de944(LinkState state); diff --git a/include/Player/PlayerActorBase.hpp b/include/Player/PlayerActorBase.hpp index a5e73f307..ede6569a3 100644 --- a/include/Player/PlayerActorBase.hpp +++ b/include/Player/PlayerActorBase.hpp @@ -20,7 +20,7 @@ class PlayerLinkActor_A0_28; class ItemManager; struct ActorGrabParams; -extern "C" void func_ov000_0205d500(ActorGrabParams *, unk32, unk32); +extern "C" void func_ov000_0205d500(ActorGrabParams*, unk32, unk32); bool PlayerCharacter_IsNotLink(s32 character); struct ActorGrabParams { @@ -35,8 +35,8 @@ struct ActorGrabParams { *this = local_1c; } - void operator=(ActorGrabParams &from) { - *(u32 *) this = *(u32 *) &from; + void operator=(ActorGrabParams& from) { + *(u32*) this = *(u32*) &from; } }; @@ -59,14 +59,14 @@ struct UnkStruct_ov000_020ab4dc_54 { }; struct UnkStruct_ov000_020ab4dc { - /* 00 */ const char *mpDirectory; + /* 00 */ const char* mpDirectory; /* 04 */ const char mUnk_04[16]; /* 14 */ const char mUnk_14[16]; /* 24 */ const char mUnk_24[16]; /* 34 */ const char mUnk_34[16]; /* 44 */ const char mUnk_44[16]; - /* 54 */ UnkStruct_ov000_020ab4dc_54 *mUnk_54; - /* 58 */ void *mUnk_58; + /* 54 */ UnkStruct_ov000_020ab4dc_54* mUnk_54; + /* 58 */ void* mUnk_58; /* 5C */ PAD(0x5C, 0x66); /* 66 */ s16 mUnk_66; /* 66 */ unk16 mUnk_68; @@ -87,12 +87,12 @@ struct UnkStruct_ov000_020ab4dc { }; extern const UnkStruct_ov000_020ab4dc data_ov000_020ab4dc[PlayerCharacter_Max]; -inline const UnkStruct_ov000_020ab4dc *Get_ov000_020ab4dc(PlayerCharacter index) { +inline const UnkStruct_ov000_020ab4dc* Get_ov000_020ab4dc(PlayerCharacter index) { return &data_ov000_020ab4dc[index]; } -extern "C" G3d_Model *func_ov000_0208eadc(PlayerCharacter, unk32, bool); -extern "C" G3d_Model *func_ov000_0208eb44(PlayerCharacter, unk32, bool); +extern "C" G3d_Model* func_ov000_0208eadc(PlayerCharacter, unk32, bool); +extern "C" G3d_Model* func_ov000_0208eb44(PlayerCharacter, unk32, bool); inline bool PlayerCharacter_IsNotLink(PlayerCharacter character) { bool ret = false; @@ -116,13 +116,13 @@ inline bool PlayerCharacter_IsNotLink2(PlayerCharacter character) { class UnkStruct_PlayerGet_64 { public: - /* 00 */ RefStruct *mUnk_00; + /* 00 */ RefStruct* mUnk_00; /* 04 */ unk32 mUnk_04; /* 08 */ u16 mUnk_08; // makes link invisible when set /* 0A */ unk16 mUnk_0A; /* 0C */ - UnkStruct_PlayerGet_64(void *param1); + UnkStruct_PlayerGet_64(void* param1); ~UnkStruct_PlayerGet_64(); void func_ov000_0208a100(); @@ -133,7 +133,7 @@ class ModelRender_Derived3 : public ModelRender { /* 00 (base) */ /* 60 */ - ModelRender_Derived3(PlayerCharacter character, G3d_Model *pModel); + ModelRender_Derived3(PlayerCharacter character, G3d_Model* pModel); // data_ov000_020b2b44 /* 00 */ virtual ~ModelRender_Derived3() override {} @@ -151,16 +151,16 @@ class ModelRender_Derived4 : public ModelRender_Derived3 { /* 78 */ unk32 mUnk_78; /* 7C */ unk32 mUnk_7C[9]; /* A0 */ unk32 mUnk_A0[7]; - /* BC */ MtxFx43 *mUnk_BC; + /* BC */ MtxFx43* mUnk_BC; /* C0 */ - ModelRender_Derived4(PlayerCharacter character, unk32 param2, G3d_Model *pModel, G3d_BoneMtxStruct *pCacheJntAnm); + ModelRender_Derived4(PlayerCharacter character, unk32 param2, G3d_Model* pModel, G3d_BoneMtxStruct* pCacheJntAnm); // data_ov000_020b2b70 - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; // overlay 0 - void func_ov000_02057fe8(UnkAngleStruct param1, UnkAngleStruct param2, VecFx32 *param3); + void func_ov000_02057fe8(UnkAngleStruct param1, UnkAngleStruct param2, VecFx32* param3); // overlay 93 void func_ov093_0216ca38(bool param1, bool param2, bool param3, bool param4); @@ -172,18 +172,18 @@ class ModelRender_Derived5 : public ModelRender_Derived3 { /* 60 */ PAD(0x60, 0xA8); /* A8 */ - ModelRender_Derived5(PlayerCharacter character, G3d_Model *pModel, G3d_BoneMtxStruct *pCacheJntAnm); + ModelRender_Derived5(PlayerCharacter character, G3d_Model* pModel, G3d_BoneMtxStruct* pCacheJntAnm); // data_ov093_021787e8 /* 00 */ virtual ~ModelRender_Derived5() override {} - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; }; class PlayerActorBase_38 { public: /* 00 */ UnkStruct_PlayerGet_64 mUnk_00; - PlayerActorBase_38(void *param1) : + PlayerActorBase_38(void* param1) : mUnk_00(param1) { this->mUnk_00.mUnk_08 = 0; } @@ -204,7 +204,7 @@ class PlayerActorBase_5C { /* 04 */ unk32 mUnk_04; /* 08 */ unk32 mUnk_08; /* 0C */ unk32 mUnk_0C; - /* 10 */ void *mUnk_10; + /* 10 */ void* mUnk_10; /* 14 */ void func_ov000_02089dc4(); @@ -214,10 +214,10 @@ class PlayerActorBase_5C { class PlayerActorBase_70_0C { private: - /* 00 */ G3d_Model *mpModel1; - /* 04 */ G3d_Model *mpModel2; - /* 08 */ ModelRender_Derived3 *mUnk_08; - /* 0C */ ModelRender_Derived3 *mUnk_0C; + /* 00 */ G3d_Model* mpModel1; + /* 04 */ G3d_Model* mpModel2; + /* 08 */ ModelRender_Derived3* mUnk_08; + /* 0C */ ModelRender_Derived3* mUnk_0C; /* 10 */ public: @@ -228,20 +228,20 @@ class PlayerActorBase_70_0C { ModelRender_Derived3* GetUnk0C() const { return this->mUnk_0C; } // clang-format on - ModelRender_Derived4 *GetUnk08OrUnk0C(bool cond) const { + ModelRender_Derived4* GetUnk08OrUnk0C(bool cond) const { if (cond) { - return (ModelRender_Derived4 *) this->GetUnk0C(); + return (ModelRender_Derived4*) this->GetUnk0C(); } - return (ModelRender_Derived4 *) this->GetUnk08(); + return (ModelRender_Derived4*) this->GetUnk08(); } PlayerActorBase_70_0C(PlayerCharacter character, unk32 param2) : mpModel1(func_ov000_0208eadc(character, param2, true)), mpModel2(func_ov000_0208eb44(character, param2, true)) { - ModelRender_Derived3 *unk_08; - ModelRender_Derived3 *unk_0C; - G3d_Model *pModel; + ModelRender_Derived3* unk_08; + ModelRender_Derived3* unk_0C; + G3d_Model* pModel; { pModel = mpModel1; @@ -275,14 +275,14 @@ class PlayerActorBase_70_1C : public UnkStruct_PlayerGet_74_base { /* 14 */ PAD(0x14, 0x2C); /* 2C */ - PlayerActorBase_70_1C(PlayerActorBase_70 *pParent); + PlayerActorBase_70_1C(PlayerActorBase_70* pParent); // data_ov000_020b2b9c /* 00 */ virtual void vfunc_00(unk32 param1, unk32 param2) override; // overlay 0 void func_ov000_0208c7f0(); - void func_ov000_0208c7b0(VecFx32 *param1, UnkAngleStruct param2); + void func_ov000_0208c7b0(VecFx32* param1, UnkAngleStruct param2); }; class PlayerActorBase_70_30 { @@ -297,7 +297,7 @@ class PlayerActorBase_70_30 { /* 18 */ unk32 mUnk_18; /* 1C */ - PlayerActorBase_70_30(PlayerCharacter character, ModelRender_UnkSystem1 *param2, ModelRender_UnkSystem1 *param3); + PlayerActorBase_70_30(PlayerCharacter character, ModelRender_UnkSystem1* param2, ModelRender_UnkSystem1* param3); }; class PlayerActorBase_70_6C { @@ -307,7 +307,7 @@ class PlayerActorBase_70_6C { /* 70 */ public: - PlayerActorBase_70_6C(PlayerCharacter character, void *pBTX, G3d_Model *pModel); + PlayerActorBase_70_6C(PlayerCharacter character, void* pBTX, G3d_Model* pModel); ~PlayerActorBase_70_6C(); }; @@ -318,7 +318,7 @@ class PlayerActorBase_70_DC { /* 60 */ public: - PlayerActorBase_70_DC(PlayerCharacter character, G3d_Model *pModel); + PlayerActorBase_70_DC(PlayerCharacter character, G3d_Model* pModel); ~PlayerActorBase_70_DC(); }; @@ -327,7 +327,7 @@ class PlayerActorBase_70_E0 { /* 00 */ unk32 mUnk_00; public: - PlayerActorBase_70_E0(ModelRender_Derived3 *pUnk_08, PlayerCharacter character) { + PlayerActorBase_70_E0(ModelRender_Derived3* pUnk_08, PlayerCharacter character) { unk32 value; if (pUnk_08->mpModel != NULL) { @@ -371,20 +371,20 @@ class PlayerActorBase_70 { /* 004 */ PlayerCharacter mCharacter; /* 008 */ unk32 mUnk_008; /* 014 */ PlayerActorBase_70_0C mUnk_00C; - /* 01C */ PlayerActorBase_70_1C *mUnk_01C; - /* 020 */ ModelRender_UnkSystem1 *mUnk_020; - /* 024 */ ModelRender_UnkSystem1 *mUnk_024; - /* 028 */ ModelRender_UnkSystem1 *mUnk_028; - /* 02C */ ModelRender_UnkSystem1 *mUnk_02C; + /* 01C */ PlayerActorBase_70_1C* mUnk_01C; + /* 020 */ ModelRender_UnkSystem1* mUnk_020; + /* 024 */ ModelRender_UnkSystem1* mUnk_024; + /* 028 */ ModelRender_UnkSystem1* mUnk_028; + /* 02C */ ModelRender_UnkSystem1* mUnk_02C; /* 030 */ PlayerActorBase_70_30 mUnk_030; /* 04C */ PlayerActorBase_70_30 mUnk_04C; /* 068 */ unk16 mUnk_068; /* 06A */ unk16 mUnk_06A; /* 06C */ PlayerActorBase_70_6C mUnk_06C; - /* 0DC */ PlayerActorBase_70_DC *mUnk_0DC; + /* 0DC */ PlayerActorBase_70_DC* mUnk_0DC; /* 0E0 */ PlayerActorBase_70_E0 mUnk_0E0; /* 0E4 */ PlayerActorBase_70_E4 mUnk_0E4; - /* 114 */ MtxFx43 *mUnk_114; // allocated array, size = PlayerCharacter_Max + /* 114 */ MtxFx43* mUnk_114; // allocated array, size = PlayerCharacter_Max /* 118 */ VecFx32Cpp mUnk_118; /* 124 */ UnkAngleStruct mUnk_124; /* 126 */ s8 mUnk_126; @@ -412,16 +412,16 @@ class PlayerActorBase_70 { void func_ov000_02082c58(unk32 param1, UnkAngleStruct param2, unk32 param3, unk32 param4); void func_ov000_02082e54(); void func_ov000_02082e78(unk32 param1, unk32 param2, unk32 param3, unk32 param4); - void func_ov000_020830d4(UnkAngleStruct param1, u32 param2, u8 param3, PlayerLinkActor_A0_28 *param4); + void func_ov000_020830d4(UnkAngleStruct param1, u32 param2, u8 param3, PlayerLinkActor_A0_28* param4); void func_ov000_020830a4(unk32 param1, PlayerCharacter character, unk32 param3, unk32 param4, unk32 param5); // overlay 1 void func_ov001_020bbe18(unk32 param1, UnkAngleStruct param2, u32 param3, u8 param4); // overlay 17 - void func_ov017_020bbaa8(VecFx32 *param1, UnkAngleStruct param2); - void func_ov017_020bbcd8(VecFx32 *param1, UnkAngleStruct param2); - void func_ov017_020bbef4(VecFx32 *param1, UnkAngleStruct param2); + void func_ov017_020bbaa8(VecFx32* param1, UnkAngleStruct param2); + void func_ov017_020bbcd8(VecFx32* param1, UnkAngleStruct param2); + void func_ov017_020bbef4(VecFx32* param1, UnkAngleStruct param2); void func_ov017_020bbf6c(); }; @@ -437,14 +437,14 @@ class PlayerActorBase_74 { this->func_ov031_020db190(); } - inline bool UnknownInline1(u32 index, VecFx32 *pVec); + inline bool UnknownInline1(u32 index, VecFx32* pVec); // overlay 31 void func_ov031_020db190(); // overlay 102 - void func_ov102_02182c20(unk32 param1, MtxFx43 *param2); - void func_ov102_02182c84(bool param1, unk32 param2, UnkAngleStruct param3, MtxFx43 *param4, MtxFx43 *param5); + void func_ov102_02182c20(unk32 param1, MtxFx43* param2); + void func_ov102_02182c84(bool param1, unk32 param2, UnkAngleStruct param3, MtxFx43* param4, MtxFx43* param5); }; struct PlayerActorBase_78_04 { @@ -461,7 +461,7 @@ class PlayerActorBase_78 { /* 0C */ void func_ov000_0205c584(volatile unk32 param1, volatile unk32 param2); - void func_ov000_0205c5d0(unk32 param1, PlayerActorBase *pPlayer); + void func_ov000_0205c5d0(unk32 param1, PlayerActorBase* pPlayer); }; class PlayerLinkActor_9C_34 { @@ -471,7 +471,7 @@ class PlayerLinkActor_9C_34 { /* 10 */ VecFx32 mUnk_10; /* 1C */ - void func_ov000_0208efd0(VecFx32 *pVec); + void func_ov000_0208efd0(VecFx32* pVec); }; class PlayerLinkActor_9C { @@ -501,7 +501,7 @@ class PlayerLinkActor_9C { /* 0E8 */ unk32 mUnk_0E8; /* 0EC */ unk32 mUnk_0EC; /* 0F0 */ unk32 mUnk_0F0; - /* 0F4 */ PlayerActorBase *pZelda; + /* 0F4 */ PlayerActorBase* pZelda; /* 0F8 */ unk32 mUnk_0F8; /* 0FC */ bool mUnk_0FC; /* 100 */ unk32 mUnk_100; @@ -513,28 +513,28 @@ class PlayerLinkActor_9C { /* 13E */ PAD(0x13E, 0x154); /* 154 */ - PlayerLinkActor_9C(UnkStruct_027e0ce0_40 *param1, u32 rawGrabParams, PlayerCharacter character); + PlayerLinkActor_9C(UnkStruct_027e0ce0_40* param1, u32 rawGrabParams, PlayerCharacter character); // data_ov000_020b2a8c /* 00 */ virtual ~PlayerLinkActor_9C(); // overlay 0 unk32 func_ov000_02084944(); - unk32 func_ov000_020849d0(VecFx32 *pAccel, VecFx32 *pVel); - unk32 func_ov000_02084ac8(unk32 param1, VecFx32 *pPos, VecFx32 *pAccel, VecFx32 *pVel); - void func_ov000_02084c3c(unk32 param1, unk32 param2, VecFx32 *param3, VecFx32 *param4); - unk32 func_ov000_02084e58(unk32 param1, u8 param2, VecFx32 *param3, VecFx32 *pPos, VecFx32 *pAccel, VecFx32 *pVel, + unk32 func_ov000_020849d0(VecFx32* pAccel, VecFx32* pVel); + unk32 func_ov000_02084ac8(unk32 param1, VecFx32* pPos, VecFx32* pAccel, VecFx32* pVel); + void func_ov000_02084c3c(unk32 param1, unk32 param2, VecFx32* param3, VecFx32* param4); + unk32 func_ov000_02084e58(unk32 param1, u8 param2, VecFx32* param3, VecFx32* pPos, VecFx32* pAccel, VecFx32* pVel, unk32 param7); - void func_ov000_02085274(unk32 param1, unk32 param2, unk32 param3, VecFx32 *param4, VecFx32 *param5, VecFx32 *param6); - void func_ov000_02085578(unk32 param1, unk32 param2, unk32 param3, unk32 param4, VecFx32 *param5); - void func_ov000_02085718(VecFx32 *param1); - void func_ov000_02085840(VecFx32 *param1, VecFx32 *param2, VecFx32 *param3); + void func_ov000_02085274(unk32 param1, unk32 param2, unk32 param3, VecFx32* param4, VecFx32* param5, VecFx32* param6); + void func_ov000_02085578(unk32 param1, unk32 param2, unk32 param3, unk32 param4, VecFx32* param5); + void func_ov000_02085718(VecFx32* param1); + void func_ov000_02085840(VecFx32* param1, VecFx32* param2, VecFx32* param3); void func_ov000_02086758(); void func_ov000_020867f4(); // overlay 17 - bool func_ov017_020bc640(u32 param1, bool param2, bool param3, u8 param4, u8 param5, VecFx32 *pAccel, VecFx32 *pPos, - VecFx32 *pVel); + bool func_ov017_020bc640(u32 param1, bool param2, bool param3, u8 param4, u8 param5, VecFx32* pAccel, VecFx32* pPos, + VecFx32* pVel); }; class PlayerActorBase { @@ -552,42 +552,42 @@ class PlayerActorBase { /* 48 */ PlayerCharacter mCharacter; /* 4C */ unk32 mUnk_4C; /* 50 */ ActorGrabParams mUnk_50; - /* 54 */ ItemManager *mUnk_54; - /* 58 */ UnkStruct_027e0ce0_40 *mUnk_58; + /* 54 */ ItemManager* mUnk_54; + /* 58 */ UnkStruct_027e0ce0_40* mUnk_58; /* 5C */ PlayerActorBase_5C mUnk_5C; - /* 70 */ PlayerActorBase_70 *mUnk_70; - /* 74 */ PlayerActorBase_74 *mUnk_74; + /* 70 */ PlayerActorBase_70* mUnk_70; + /* 74 */ PlayerActorBase_74* mUnk_74; /* 78 */ PlayerActorBase_78 mUnk_78; /* 84 */ UnkStruct_ov019_020d24c8_28_258_00 mUnk_84; /* 8C */ unk32 mUnk_8C; - /* 90 */ PlayerLinkActor_9C *mUnk_90; + /* 90 */ PlayerLinkActor_9C* mUnk_90; /* 94 */ - PlayerActorBase(PlayerCharacter character, unk32 param2, ItemManager *pItemMgr, UnkStruct_027e0ce0_40 *param4); + PlayerActorBase(PlayerCharacter character, unk32 param2, ItemManager* pItemMgr, UnkStruct_027e0ce0_40* param4); ~PlayerActorBase(); // overlay 0 - void func_ov000_0208c8f8(VecFx32 *pVec); + void func_ov000_0208c8f8(VecFx32* pVec); void func_ov000_0208c914(); - void func_ov000_0208c99c(VecFx32 *param1, UnkAngleStruct param2); - void func_ov000_0208cac8(VecFx32 *, unk32); - void func_ov000_0208cb08(VecFx32 *param1, bool param2); + void func_ov000_0208c99c(VecFx32* param1, UnkAngleStruct param2); + void func_ov000_0208cac8(VecFx32*, unk32); + void func_ov000_0208cb08(VecFx32* param1, bool param2); void func_ov000_0208cbf0(); - void func_ov000_0208cc20(VecFx32 *param1); + void func_ov000_0208cc20(VecFx32* param1); bool func_ov000_0208cc90(); void func_ov000_0208cf20(unk32 param1, unk32 param2); void func_ov000_0208d12c(); unk32 func_ov000_0208d3a8(); - void func_ov000_0208d3d0(Vec2s *param1, unk32 param2, void *param3); + void func_ov000_0208d3d0(Vec2s* param1, unk32 param2, void* param3); void func_ov000_0208d3fc(); void func_ov000_0208d48c(RefStruct ref); void func_ov000_0208d5a0(); void func_ov000_0208d60c(); bool func_ov000_0208d754(); void func_ov000_0208d7f0(bool param1); - void func_ov000_0208d8f0(const VecFx32 *param1, VecFx32 *param2); + void func_ov000_0208d8f0(const VecFx32* param1, VecFx32* param2); void func_ov000_0208d928(); - void func_ov000_0208d940(VecFx32 *param1); + void func_ov000_0208d940(VecFx32* param1); bool func_ov000_0208db08(); bool func_ov000_0208dc04(); bool func_ov000_0208dc48(); @@ -596,14 +596,14 @@ class PlayerActorBase { void func_ov000_0208dc88(); unk32 func_ov000_0208dc98(); void func_ov000_0208dcf0(); - unk32 func_ov000_0208dd60(UnkStruct_027e0ce0_30_00 *param1); - bool func_ov000_0208dd70(unk32 param1, unk32 param2, Sphere *param3, const VecFx32 *param4, unk32 param5); + unk32 func_ov000_0208dd60(UnkStruct_027e0ce0_30_00* param1); + bool func_ov000_0208dd70(unk32 param1, unk32 param2, Sphere* param3, const VecFx32* param4, unk32 param5); bool func_ov000_0208e538(); - bool func_ov000_0208e548(VecFx32 *param1, BOOL param2, BOOL param3); + bool func_ov000_0208e548(VecFx32* param1, BOOL param2, BOOL param3); bool func_ov000_0208e558(unk32 param1, fx32 param2); - bool func_ov000_0208e568(unk32 param1, unk32 param2, VecFx32 *param3); + bool func_ov000_0208e568(unk32 param1, unk32 param2, VecFx32* param3); - static void func_ov000_0208dc58(unk32 *param1, PlayerActorBase *pPlayer); + static void func_ov000_0208dc58(unk32* param1, PlayerActorBase* pPlayer); // overlay 1 void func_ov001_020bc96c(); // ResetState? or just Reset? idk @@ -617,26 +617,26 @@ class PlayerActorBase { // overlay 93 //! TODO: move to PlayerZeldaActor? - unk32 func_ov093_0216e8e4(UnkStruct_027e0ce0_30_00 *param1); + unk32 func_ov093_0216e8e4(UnkStruct_027e0ce0_30_00* param1); void func_ov093_0216d0d4(); void func_ov093_0216d160(); - void func_ov093_0216d1cc(unk32 param1, const UnkStruct_ov001_020c40f4 *param2, bool param3, bool param4); + void func_ov093_0216d1cc(unk32 param1, const UnkStruct_ov001_020c40f4* param2, bool param3, bool param4); void func_ov093_0216d5b8(bool param1); - void func_ov093_0216f71c(const VecFx32 *param1); + void func_ov093_0216f71c(const VecFx32* param1); void func_ov093_0216de30(unk32 param1, unk32 param2); - void func_ov093_0216dec8(void *param1); - void func_ov093_0216e1a4(void *param1); + void func_ov093_0216dec8(void* param1); + void func_ov093_0216e1a4(void* param1); bool func_ov093_0216e31c(); bool func_ov093_0216e334(); bool func_ov093_0216e6c0(RefStruct ref); void func_ov093_0216e768(bool param1); bool func_ov093_0216e778(); void func_ov093_0216e788(); - bool func_ov093_0216eac4(unk32 param2, unk32 param3, Sphere *param4, const VecFx32 *param5, unk32 param6); - void func_ov093_0216f76c(VecFx32 *param1, unk32 param2); - void func_ov093_0216f86c(VecFx32 *param1); + bool func_ov093_0216eac4(unk32 param2, unk32 param3, Sphere* param4, const VecFx32* param5, unk32 param6); + void func_ov093_0216f76c(VecFx32* param1, unk32 param2); + void func_ov093_0216f86c(VecFx32* param1); bool func_ov093_0216f2a4(); bool func_ov093_0216f548(unk32 param1, fx32 param2); - static void func_ov093_0216e758(unk32 *param1, PlayerActorBase *pPlayer); + static void func_ov093_0216e758(unk32* param1, PlayerActorBase* pPlayer); }; diff --git a/include/Player/PlayerGet.hpp b/include/Player/PlayerGet.hpp index d302a84cb..2b6ccc65f 100644 --- a/include/Player/PlayerGet.hpp +++ b/include/Player/PlayerGet.hpp @@ -103,18 +103,18 @@ class UnkStruct_ov110_021861ec { class UnkStruct_PlayerGet_74 : public UnkStruct_PlayerGet_74_base { public: /* 00 (base) */ - /* 14 */ LinkStateBase *mUnk_14; + /* 14 */ LinkStateBase* mUnk_14; /* 00 */ virtual void vfunc_00(unk32 param1, unk32 param2) override; - UnkStruct_PlayerGet_74(LinkStateBase *param1) { + UnkStruct_PlayerGet_74(LinkStateBase* param1) { this->mUnk_14 = param1; } }; class UnkStruct_PlayerGet_fc { public: - /* 00 */ UnkStruct_PlayerGet_ec *mUnk_00; + /* 00 */ UnkStruct_PlayerGet_ec* mUnk_00; }; class PlayerGet_04 { @@ -146,15 +146,15 @@ class PlayerGet : public LinkStateBase { /* 074 */ UnkStruct_PlayerGet_74 mUnk_74; /* 08C */ ModelRender mUnk_8C; /* 0EC */ UnkStruct_PlayerGet_ec mUnk_EC[4]; - /* 0FC */ void *mUnk_FC; + /* 0FC */ void* mUnk_FC; /* 100 */ /* 04 */ virtual ~PlayerGet() override; - /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1) override; /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) override; /* 18 */ virtual void vfunc_18(unk32 param1, LinkState state, unk32 param3) override; - PlayerGet(PlayerLinkActor_A0_84 *param1); + PlayerGet(PlayerLinkActor_A0_84* param1); #if IS_JP bool func_ov110_02186b8c(); diff --git a/include/Player/PlayerLink.hpp b/include/Player/PlayerLink.hpp index 4cda67da9..ed1186874 100644 --- a/include/Player/PlayerLink.hpp +++ b/include/Player/PlayerLink.hpp @@ -47,7 +47,7 @@ class PlayerLinkActor_A0_14 : public PlayerLinkActor_A0_14_Base { // overlay 31 void func_ov031_020dd124(); - void func_ov031_020dd1a4(bool param1, VecFx32 *param2, UnkAngleStruct param3); + void func_ov031_020dd1a4(bool param1, VecFx32* param2, UnkAngleStruct param3); }; class PlayerLinkActor_A0_18 { @@ -62,14 +62,14 @@ class PlayerLinkActor_A0_18 { class PlayerLinkActor_A0_1C { public: - /* 00 */ UnkStruct_027e0ce0_40 *mUnk_00; + /* 00 */ UnkStruct_027e0ce0_40* mUnk_00; /* 04 */ unk16 mUnk_04; /* 06 */ bool mUnk_06; /* 07 */ PAD(0x07, 0x0C); /* 0C */ RefStruct mUnk_0C; /* 10 */ - PlayerLinkActor_A0_1C(UnkStruct_027e0ce0_40 *param1); + PlayerLinkActor_A0_1C(UnkStruct_027e0ce0_40* param1); // overlay 101 void func_ov101_02183290(); @@ -82,7 +82,7 @@ class PlayerLinkActor_A0_28 { /* 08 */ unk32 mUnk_08; /* 0C */ - PlayerLinkActor_A0_28(PlayerLinkActor_A0_10 *param1, PlayerLinkActor_A0_14 *param2); + PlayerLinkActor_A0_28(PlayerLinkActor_A0_10* param1, PlayerLinkActor_A0_14* param2); ~PlayerLinkActor_A0_28(); }; @@ -114,10 +114,10 @@ class PlayerLinkActor_A0_38_04_Base : public LinkListmUnk_0C = 0; this->mUnk_10 = param1; } @@ -131,7 +131,7 @@ class PlayerLinkActor_A0_38_04 : public PlayerLinkActor_A0_38_04_Base { /* 04 (base) */ /* 0C */ - PlayerLinkActor_A0_38_04(PlayerLinkActor_A0_38 *param1) : + PlayerLinkActor_A0_38_04(PlayerLinkActor_A0_38* param1) : PlayerLinkActor_A0_38_04_Base(param1) {} // data_ov024_020d8250 @@ -144,7 +144,7 @@ class PlayerLinkActor_A0_38_18 : public PlayerLinkActor_A0_38_04_Base { /* 04 (base) */ /* 0C */ - PlayerLinkActor_A0_38_18(PlayerLinkActor_A0_38 *param1) : + PlayerLinkActor_A0_38_18(PlayerLinkActor_A0_38* param1) : PlayerLinkActor_A0_38_04_Base(param1) {} // data_ov024_020d8244 @@ -183,7 +183,7 @@ class PlayerLinkActor_A0_38 { // overlay 17 void func_ov017_020be0a8(unk32 param1); - void func_ov017_020be0e0(s32 param1, VecFx32 *param2, bool param3, bool param4); + void func_ov017_020be0e0(s32 param1, VecFx32* param2, bool param3, bool param4); // overlay 24 void func_ov024_020d19d8(); @@ -191,22 +191,22 @@ class PlayerLinkActor_A0_38 { class PlayerLinkActor_A0 { public: - /* 00 */ ItemManager *mpItemMgr; - /* 04 */ UnkStruct_027e0ce0_40 *mUnk_04; - /* 08 */ PlayerLinkActor *mpLink; - /* 0C */ PlayerLinkActor_9C *mUnk_0C; - /* 10 */ PlayerLinkActor_A0_10 *mUnk_10; - /* 14 */ PlayerLinkActor_A0_14 *mUnk_14; - /* 18 */ PlayerLinkActor_A0_18 *mUnk_18; - /* 1C */ PlayerLinkActor_A0_1C *mUnk_1C; - /* 20 */ PlayerLinkActor_A0_38 *mUnk_20; - /* 24 */ void *mUnk_24; - /* 28 */ PlayerLinkActor_A0_28 *mUnk_28; + /* 00 */ ItemManager* mpItemMgr; + /* 04 */ UnkStruct_027e0ce0_40* mUnk_04; + /* 08 */ PlayerLinkActor* mpLink; + /* 0C */ PlayerLinkActor_9C* mUnk_0C; + /* 10 */ PlayerLinkActor_A0_10* mUnk_10; + /* 14 */ PlayerLinkActor_A0_14* mUnk_14; + /* 18 */ PlayerLinkActor_A0_18* mUnk_18; + /* 1C */ PlayerLinkActor_A0_1C* mUnk_1C; + /* 20 */ PlayerLinkActor_A0_38* mUnk_20; + /* 24 */ void* mUnk_24; + /* 28 */ PlayerLinkActor_A0_28* mUnk_28; /* 2C */ PlayerLinkActor_A0_2C mUnk_2C; /* 30 */ u16 mUnk_30; /* 32 */ unk16 mUnk_32; /* 34 */ PlayerLinkActor_A0_34 mUnk_34; - /* 38 */ PlayerLinkActor_A0_38 *mUnk_38; + /* 38 */ PlayerLinkActor_A0_38* mUnk_38; /* 3C */ PAD(0x3C, 0x5C); /* 5C */ UnkStruct_PlayerGet_64 mUnk_5C; /* 68 */ LinkState mState; @@ -217,7 +217,7 @@ class PlayerLinkActor_A0 { /* 79 */ PAD(0x79, 0x7D); /* 7D */ bool mUnk_7D; /* 7E */ bool mUnk_7E; - /* 80 */ LinkStateBase *mUnk_80; // see `UnkStruct_ov000_020b2cec` + /* 80 */ LinkStateBase* mUnk_80; // see `UnkStruct_ov000_020b2cec` /* 84 */ PlayerLinkActor_A0_84 mUnk_84; /* 94 */ @@ -226,8 +226,8 @@ class PlayerLinkActor_A0 { return (u32) this->mState - LinkState_ActorThrow <= 2; } - PlayerLinkActor_A0(ItemManager *pItemMgr, UnkStruct_027e0ce0_40 *param2, PlayerActorBase *pPlayer, - PlayerLinkActor_9C *param4); + PlayerLinkActor_A0(ItemManager* pItemMgr, UnkStruct_027e0ce0_40* param2, PlayerActorBase* pPlayer, + PlayerLinkActor_9C* param4); ~PlayerLinkActor_A0(); // overlay 0 @@ -237,7 +237,7 @@ class PlayerLinkActor_A0 { void func_ov000_02092e38(); void func_ov000_02092648(unk32 param1); void func_ov000_02092ea8(unk32 param1, unk32 param2); - void func_ov000_02092ecc(void *param1, bool param2); + void func_ov000_02092ecc(void* param1, bool param2); bool func_ov000_02093068(); bool func_ov000_020930b8(bool param1); unk32 func_ov000_0209316c(); @@ -254,7 +254,7 @@ class PlayerLinkActor_A0 { unk32 func_ov000_020938d0(); void func_ov000_02093a04(); unk32 func_ov000_02093ad8(); - RefStruct *func_ov000_02093b84(); + RefStruct* func_ov000_02093b84(); bool func_ov000_02093bc8(unk32 param1); void func_ov000_02093d0c(); bool func_ov000_02093da0(bool param1); @@ -306,17 +306,17 @@ class PlayerLinkActor_A0 { bool func_ov031_020dda94(); void func_ov031_020ddaf0(u32 data1, u32 data2); void func_ov031_020ddb10(); - void func_ov031_020ddbe4(const VecFx32 *param1, fx32 param2, UnkAngleStruct param3, u8 param4); - void func_ov031_020ddc5c(s32 direction, const VecFx32 *param2, LinkState state1, LinkState state2); - void func_ov031_020ddcd8(VecFx32 *param1, UnkAngleStruct param2); - void func_ov031_020ddda8(VecFx32 *param1, UnkAngleStruct param2); + void func_ov031_020ddbe4(const VecFx32* param1, fx32 param2, UnkAngleStruct param3, u8 param4); + void func_ov031_020ddc5c(s32 direction, const VecFx32* param2, LinkState state1, LinkState state2); + void func_ov031_020ddcd8(VecFx32* param1, UnkAngleStruct param2); + void func_ov031_020ddda8(VecFx32* param1, UnkAngleStruct param2); void func_ov031_020dddf8(); void func_ov031_020dde30(unk32 param1, unk32 param2, unk32 param3); void func_ov031_020dde6c(); void func_ov031_020ddf20(unk8 param1); void func_ov031_020ddf44(); - void func_ov031_020ddf6c(unk32 param1, const VecFx32 *param2); - void func_ov031_020ddfac(unk32 param1, const VecFx32 *param2); + void func_ov031_020ddf6c(unk32 param1, const VecFx32* param2); + void func_ov031_020ddfac(unk32 param1, const VecFx32* param2); bool func_ov031_020ddfec(unk32 param1, RefStruct ref); // overlay 82 @@ -335,7 +335,7 @@ class PlayerLinkActor_A4 { /* 0B */ unk8 mUnk_0B; /* 0C */ - PlayerLinkActor_A4(PlayerActorBase *pPlayer, PlayerLinkActor_A0 *param2); + PlayerLinkActor_A4(PlayerActorBase* pPlayer, PlayerLinkActor_A0* param2); ~PlayerLinkActor_A4(); void func_ov000_02089998(bool param1); @@ -358,7 +358,7 @@ class PlayerLinkActor_134 { // overlay 31 void func_ov031_020db0fc(); - void func_ov031_020db120(VecFx32 *param1); + void func_ov031_020db120(VecFx32* param1); void func_ov031_020db160(bool param1); }; @@ -376,10 +376,10 @@ class PlayerLinkActor_1B0 : public UnkSystem7 { class PlayerLinkActor : public PlayerActorBase { public: /* 000 (base) */ - /* 094 */ UnkStruct_027e0ce0_40_150 *mUnk_094; - /* 098 */ PlayerActorBase *mpZelda; - /* 09C */ PlayerLinkActor_9C *mUnk_09C; - /* 0A0 */ PlayerLinkActor_A0 *mUnk_0A0; + /* 094 */ UnkStruct_027e0ce0_40_150* mUnk_094; + /* 098 */ PlayerActorBase* mpZelda; + /* 09C */ PlayerLinkActor_9C* mUnk_09C; + /* 0A0 */ PlayerLinkActor_A0* mUnk_0A0; /* 0A4 */ PlayerLinkActor_A4 mUnk_0A4; /* 0B0 */ u32 mUnk_0B0; /* 0B4 */ bool mUnk_0B4; @@ -391,19 +391,19 @@ class PlayerLinkActor : public PlayerActorBase { /* 0BA */ bool mUnk_0BA; /* 0BB */ bool mUnk_0BB; /* 0BC */ CellAnimObject mUnk_0BC; - /* 134 */ PlayerLinkActor_134 *mUnk_134; + /* 134 */ PlayerLinkActor_134* mUnk_134; /* 138 */ CellAnimObject mUnk_138; // sanctuary link icon animation /* 1B0 */ PlayerLinkActor_1B0 mUnk_1B0[3]; /* 1D4 */ - PlayerLinkActor(unk32 param1, ItemManager *param2, UnkStruct_027e0ce0_40 *param3, UnkStruct_027e0ce0_40_150 *param4); + PlayerLinkActor(unk32 param1, ItemManager* param2, UnkStruct_027e0ce0_40* param3, UnkStruct_027e0ce0_40_150* param4); ~PlayerLinkActor(); // overlay 1 - void func_ov001_020bcb60(PlayerActorBase *pZelda); + void func_ov001_020bcb60(PlayerActorBase* pZelda); void func_ov001_020bcb70(); void func_ov001_020bcba8(); - void func_ov001_020bcbd0(VecFx32 *pVec); + void func_ov001_020bcbd0(VecFx32* pVec); // overlay 17 bool func_ov017_020bd6b8(); @@ -411,8 +411,8 @@ class PlayerLinkActor : public PlayerActorBase { void func_ov017_020bd758(); void func_ov017_020bd788(bool param1); void func_ov017_020bdcf4(unk32 param1, unk32 param2); - void func_ov017_020bdd84(void *param1, unk32 param2); - void func_ov017_020bdf48(s8 *param1, unk32 param2, void *param3, UnkStruct_ov019_020d24c8_28_258_00 *param4); + void func_ov017_020bdd84(void* param1, unk32 param2); + void func_ov017_020bdf48(s8* param1, unk32 param2, void* param3, UnkStruct_ov019_020d24c8_28_258_00* param4); void func_ov017_020be098(); // overlay 21 @@ -432,5 +432,5 @@ class PlayerLinkActor : public PlayerActorBase { void func_ov058_021529c4(); // overlay 93 - void func_ov093_0216ce24(const VecFx32 *param1); + void func_ov093_0216ce24(const VecFx32* param1); }; diff --git a/include/Player/PlayerPhantom.hpp b/include/Player/PlayerPhantom.hpp index eeb61cdcf..4bc69da72 100644 --- a/include/Player/PlayerPhantom.hpp +++ b/include/Player/PlayerPhantom.hpp @@ -13,5 +13,5 @@ class PlayerPhantomActor : public PlayerActorBase { /* 09C */ PAD(0x9C, 0x154); /* 154 */ - PlayerPhantomActor(unk32 param1, unk32 param2, UnkStruct_027e0ce0_40 *param3, bool *param4); + PlayerPhantomActor(unk32 param1, unk32 param2, UnkStruct_027e0ce0_40* param3, bool* param4); }; diff --git a/include/Player/PlayerSceneChange.hpp b/include/Player/PlayerSceneChange.hpp index cc69e7255..c43d47408 100644 --- a/include/Player/PlayerSceneChange.hpp +++ b/include/Player/PlayerSceneChange.hpp @@ -31,14 +31,14 @@ class PlayerSceneChange : public LinkStateBase { /* AD */ bool mUnk_AD; /* AE */ s16 mUnk_AE; - PlayerSceneChange(PlayerLinkActor_A0_84 *param1); + PlayerSceneChange(PlayerLinkActor_A0_84* param1); s16 func_ov112_02184bbc(s16 param1); /* 04 */ virtual ~PlayerSceneChange() override; - /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1) override; /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) override; - /* 1C */ virtual bool vfunc_1C(VecFx32 *param1) override; + /* 1C */ virtual bool vfunc_1C(VecFx32* param1) override; }; class PlayerSceneChange2 : public LinkStateBase { @@ -47,9 +47,9 @@ class PlayerSceneChange2 : public LinkStateBase { /* 54 */ VecFx32 mUnk_54; /* 60 */ VecFx32 mUnk_60; - PlayerSceneChange2(PlayerLinkActor_A0_84 *param1); + PlayerSceneChange2(PlayerLinkActor_A0_84* param1); /* 04 */ virtual ~PlayerSceneChange2() override; - /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) override; + /* 0C */ virtual void vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1) override; /* 10 */ virtual void vfunc_10(LinkState state, unk32 param2) override; }; diff --git a/include/Player/PlayerZelda.hpp b/include/Player/PlayerZelda.hpp index 802f53f25..2cfb5de2c 100644 --- a/include/Player/PlayerZelda.hpp +++ b/include/Player/PlayerZelda.hpp @@ -17,7 +17,7 @@ class PlayerZeldaActor_CC { PlayerZeldaActor_CC(); // overlay 31 - void func_ov031_020dcd70(const VecFx32 *pPosLink, const VecFx32 *pPosZelda); + void func_ov031_020dcd70(const VecFx32* pPosLink, const VecFx32* pPosZelda); }; class PlayerZeldaActor_E8 { @@ -32,13 +32,13 @@ class PlayerZeldaActor : public PlayerActorBase { public: /* 000 (base) */ /* 094 */ unk32 mUnk_94; - /* 098 */ PlayerActorBase *mpPlayer; + /* 098 */ PlayerActorBase* mpPlayer; /* 09C */ PAD(0x9C, 0xCC); /* 0CC */ PlayerZeldaActor_CC mUnk_CC; /* 0E8 */ PlayerZeldaActor_E8 mUnk_E8; /* 0EC */ PAD(0xEC, 0x154); /* 154 */ - PlayerZeldaActor(void *param1, UnkStruct_027e0ce0_40 *param2, UnkStruct_027e0ce0_40_150 *param3, ActorId *pPhantomId); + PlayerZeldaActor(void* param1, UnkStruct_027e0ce0_40* param2, UnkStruct_027e0ce0_40_150* param3, ActorId* pPhantomId); ~PlayerZeldaActor(); }; diff --git a/include/Player/TouchControl.hpp b/include/Player/TouchControl.hpp index fbedbb628..19e344492 100644 --- a/include/Player/TouchControl.hpp +++ b/include/Player/TouchControl.hpp @@ -51,20 +51,20 @@ class TouchControl { return this->mFlags; } - const Vec2s &GetTouchPosLast() const { + const Vec2s& GetTouchPosLast() const { return this->mTouchPosLast; } void Init(); void IncreaseSpeed(u16 increase); void UpdateFlags(u16 speed); - void UpdateWithStateFlags(TPData *state, u16 speed); - void Update(const TouchState *state, u16 speed); + void UpdateWithStateFlags(TPData* state, u16 speed); + void Update(const TouchState* state, u16 speed); void func_02014414(u16 speedIncrease, bool shouldIncrease); - void func_02014478(TouchState *state, u16 speed); + void func_02014478(TouchState* state, u16 speed); static bool func_020143f0(); - static void UpdateState(TouchState *state, const TPData *stateFlags); + static void UpdateState(TouchState* state, const TPData* stateFlags); }; extern TouchState data_02049b4c; diff --git a/include/RefStruct.hpp b/include/RefStruct.hpp index c48604240..bf364364f 100644 --- a/include/RefStruct.hpp +++ b/include/RefStruct.hpp @@ -137,8 +137,8 @@ struct MapObjRef { u32 data; }; - Vec2bCpp &GetUnk02() { - return *(Vec2bCpp *) &this->unk_02; + Vec2bCpp& GetUnk02() { + return *(Vec2bCpp*) &this->unk_02; } }; @@ -167,18 +167,18 @@ struct RefStruct { void Init() { u32 zero = 0; - this->data = *(u32 *) &zero; + this->data = *(u32*) &zero; } - const bool operator==(const RefStruct &other) const { + const bool operator==(const RefStruct& other) const { return other.data == this->data; } - const bool operator!=(const RefStruct &other) const { + const bool operator!=(const RefStruct& other) const { return !(*this == other); } - RefStruct &operator=(const RefStruct &other) { + RefStruct& operator=(const RefStruct& other) { this->data = other.data; return *this; } @@ -193,7 +193,7 @@ struct RefStruct { const bool IsEmpty() const { u32 zero = 0; //! TODO: why????? I hate this... - return this->data == *(u32 *) &zero; + return this->data == *(u32*) &zero; } }; diff --git a/include/Render/ModelRender.hpp b/include/Render/ModelRender.hpp index d06a6e22d..3291c5d84 100644 --- a/include/Render/ModelRender.hpp +++ b/include/Render/ModelRender.hpp @@ -12,38 +12,38 @@ class UnkSystem5; class UnkStruct_PlayerGet_50; class Actor; -extern "C" void *func_ov000_02057750(size_t allocSize); +extern "C" void* func_ov000_02057750(size_t allocSize); -typedef void (*UnkSystem4_UnkCallback)(Actor *, G3d_RenderState *); +typedef void (*UnkSystem4_UnkCallback)(Actor*, G3d_RenderState*); class ModelRenderBase { public: /* 00 (vtable) */ - /* 04 */ G3d_Model *mpModel; + /* 04 */ G3d_Model* mpModel; /* 08 */ - ModelRenderBase(G3d_Model *pModel) : + ModelRenderBase(G3d_Model* pModel) : mpModel(pModel) {} // data_ov000_020b1a98 /* 00 */ virtual ~ModelRenderBase(); - /* 08 */ virtual void vfunc_08(G3d_Model *pModel); + /* 08 */ virtual void vfunc_08(G3d_Model* pModel); /* 0C */ virtual void vfunc_0C() = 0; - /* 10 */ virtual void vfunc_10(VecFx32 *param1, MtxFx33 *param2, VecFx32 *param3) = 0; - /* 14 */ virtual void vfunc_14(MtxFx33 *param1, VecFx32 *param2) = 0; - /* 18 */ virtual void vfunc_18(VecFx32 *param1) = 0; + /* 10 */ virtual void vfunc_10(VecFx32* param1, MtxFx33* param2, VecFx32* param3) = 0; + /* 14 */ virtual void vfunc_14(MtxFx33* param1, VecFx32* param2) = 0; + /* 18 */ virtual void vfunc_18(VecFx32* param1) = 0; /* 1C */ // itcm - void func_01ffc5a0(unk32 param1, UnkAngleStruct param2, VecFx32 *param3); - void func_01ffc634(VecFx32 *param1, UnkAngleStruct param2, VecFx32 *param3); - void func_01ffc6d4(UnkAngleStruct angleStruct, VecFx32 *pos); + void func_01ffc5a0(unk32 param1, UnkAngleStruct param2, VecFx32* param3); + void func_01ffc634(VecFx32* param1, UnkAngleStruct param2, VecFx32* param3); + void func_01ffc6d4(UnkAngleStruct angleStruct, VecFx32* pos); // overlay 0 void func_ov000_02057cb0(); - unk32 func_ov000_02057f18(const void *param1); - unk32 func_ov000_02057f40(const void *param1); - const G3d_Model_14 *func_ov000_02057ee0() const; + unk32 func_ov000_02057f18(const void* param1); + unk32 func_ov000_02057f40(const void* param1); + const G3d_Model_14* func_ov000_02057ee0() const; }; class ModelRender : public ModelRenderBase { @@ -53,24 +53,24 @@ class ModelRender : public ModelRenderBase { /* 5C */ unk32 mUnk_5C; // G3d_BoneMtxStruct? /* 60 */ - ModelRender(G3d_Model *pModel); + ModelRender(G3d_Model* pModel); // data_ov000_020b1a6c /* 00 */ virtual ~ModelRender(); - /* 08 */ virtual void vfunc_08(G3d_Model *pModel) override; + /* 08 */ virtual void vfunc_08(G3d_Model* pModel) override; /* 0C */ virtual void vfunc_0C() override; - /* 10 */ virtual void vfunc_10(VecFx32 *param1, MtxFx33 *param2, VecFx32 *param3) override; // SetTransform? - /* 14 */ virtual void vfunc_14(MtxFx33 *param1, VecFx32 *param2) override; // SetRotationTranslation? - /* 18 */ virtual void vfunc_18(VecFx32 *param1) override; - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1); + /* 10 */ virtual void vfunc_10(VecFx32* param1, MtxFx33* param2, VecFx32* param3) override; // SetTransform? + /* 14 */ virtual void vfunc_14(MtxFx33* param1, VecFx32* param2) override; // SetRotationTranslation? + /* 18 */ virtual void vfunc_18(VecFx32* param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1); /* 20 */ virtual void vfunc_20(); void func_ov000_02057c38(unk32 param1, unk32 param2); void func_ov000_02057d20(u8 numBones); - void func_ov000_02057d3c(G3d_BoneMtxStruct *pCacheJntAnm); + void func_ov000_02057d3c(G3d_BoneMtxStruct* pCacheJntAnm); void func_ov000_02057d9c(); - void func_ov000_0209a7b8(void *param1, UnkSystem4_UnkCallback param2); - void func_ov000_02057c98(UnkSystem5 *param1); + void func_ov000_0209a7b8(void* param1, UnkSystem4_UnkCallback param2); + void func_ov000_02057c98(UnkSystem5* param1); void func_ov000_02057cc8(); void func_ov000_02057cf4(); }; @@ -80,14 +80,14 @@ class UnkSystem6_Derived1 : public ModelRenderBase { /* 00 (base) */ /* 08 */ - UnkSystem6_Derived1(G3d_Model *pModel) : + UnkSystem6_Derived1(G3d_Model* pModel) : ModelRenderBase(pModel) {} // data_ov000_020b1a48 /* 00 */ virtual ~UnkSystem6_Derived1() override {} - /* 10 */ virtual void vfunc_10(VecFx32 *param1, MtxFx33 *param2, VecFx32 *param3) override; - /* 14 */ virtual void vfunc_14(MtxFx33 *param1, VecFx32 *param2) override; - /* 18 */ virtual void vfunc_18(VecFx32 *param1) override; + /* 10 */ virtual void vfunc_10(VecFx32* param1, MtxFx33* param2, VecFx32* param3) override; + /* 14 */ virtual void vfunc_14(MtxFx33* param1, VecFx32* param2) override; + /* 18 */ virtual void vfunc_18(VecFx32* param1) override; }; class UnkSystem6_Derived2 : public UnkSystem6_Derived1 { @@ -99,10 +99,10 @@ class UnkSystem6_Derived2 : public UnkSystem6_Derived1 { UnkSystem6_Derived2() : UnkSystem6_Derived1(NULL) {} - UnkSystem6_Derived2(G3d_Model *pModel) : + UnkSystem6_Derived2(G3d_Model* pModel) : UnkSystem6_Derived1(pModel) {} - UnkSystem6_Derived2(G3d_Model *pModel, bool param2) : + UnkSystem6_Derived2(G3d_Model* pModel, bool param2) : UnkSystem6_Derived1(pModel), mUnk_08(param2) {} @@ -125,16 +125,16 @@ class ModelRender_ov000_020b198c : public ModelRenderBase { /* 0E */ // func_ov000_020578e8 - ModelRender_ov000_020b198c(G3d_Model *pModel, unk8 param2); + ModelRender_ov000_020b198c(G3d_Model* pModel, unk8 param2); // data_ov000_020b198c - /* 08 */ virtual void vfunc_08(G3d_Model *pModel) override; // func_ov000_02057908 + /* 08 */ virtual void vfunc_08(G3d_Model* pModel) override; // func_ov000_02057908 /* 0C */ virtual void vfunc_0C() override; // func_ov000_0205793c - /* 10 */ virtual void vfunc_10(VecFx32 *param1, MtxFx33 *param2, VecFx32 *param3) override; - /* 14 */ virtual void vfunc_14(MtxFx33 *param1, VecFx32 *param2) override; - /* 18 */ virtual void vfunc_18(VecFx32 *param1) override; + /* 10 */ virtual void vfunc_10(VecFx32* param1, MtxFx33* param2, VecFx32* param3) override; + /* 14 */ virtual void vfunc_14(MtxFx33* param1, VecFx32* param2) override; + /* 18 */ virtual void vfunc_18(VecFx32* param1) override; - void func_ov000_02057ed8(G3d_Model *pModel); + void func_ov000_02057ed8(G3d_Model* pModel); unk32 func_ov000_02057ef4(); }; @@ -157,17 +157,17 @@ class UnkStruct_PlayerGet_50 { class UnkSystem5 { public: - /* 00 */ G3d_Model *mpModel; + /* 00 */ G3d_Model* mpModel; /* 04 */ UnkStruct_PlayerGet_50 mUnk_04; - /* 1C */ G3d_Animation *mUnk_1C; // this is param1 + /* 1C */ G3d_Animation* mUnk_1C; // this is param1 /* 20 */ //! TODO: change type of param1 - UnkSystem5(void *param1, G3d_Model *pModel); + UnkSystem5(void* param1, G3d_Model* pModel); void func_01ffc3b4(); - void func_ov000_020577a4(UnkStruct_ov000_02058a84 *param1, unk32 param2, BOOL param3); + void func_ov000_020577a4(UnkStruct_ov000_02058a84* param1, unk32 param2, BOOL param3); void func_ov000_020577f8(unk32 param1); void func_ov000_020578a4(unk32 param1, unk32 param2); }; @@ -176,7 +176,7 @@ class UnkSystem5_Derived1 { public: /* 00 */ UnkSystem5 mUnk_00; - UnkSystem5_Derived1(void *param1, G3d_Model *param2, UnkStruct_ov000_02058a84 *param3) : + UnkSystem5_Derived1(void* param1, G3d_Model* param2, UnkStruct_ov000_02058a84* param3) : mUnk_00(param1, param2) { BOOL value = false; @@ -195,7 +195,7 @@ class UnkSystem5_Derived2 { /* 24 */ PAD(0x24, 0x40); /* 40 */ - UnkSystem5_Derived2(UnkStruct_ov000_02058a84 *param1, G3d_Model *param2) : + UnkSystem5_Derived2(UnkStruct_ov000_02058a84* param1, G3d_Model* param2) : mUnk_00(&this->mUnk_20, param2) { this->mUnk_00.func_ov000_020577a4(param1, 0, false); } @@ -208,7 +208,7 @@ class UnkSystem5_Derived3 { /* 24 */ PAD(0x24, 0x60); /* 60 */ - UnkSystem5_Derived3(G3d_Model *param1) : + UnkSystem5_Derived3(G3d_Model* param1) : mUnk_00(&this->mUnk_20, param1) {} }; @@ -220,15 +220,15 @@ class ModelRender_Derived1 : public ModelRender { /* 68 */ unk32 mUnk_68; /* 6C */ - ModelRender_Derived1(G3d_Model *pModel, unk32 param2, void *param3); + ModelRender_Derived1(G3d_Model* pModel, unk32 param2, void* param3); // data_ov000_020b1be4 /* 00 */ virtual ~ModelRender_Derived1() override {} - /* 08 */ virtual void vfunc_08(G3d_Model *pModel) override; - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 08 */ virtual void vfunc_08(G3d_Model* pModel) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; - unk32 func_ov000_0205a778(const char *param1); - VecFx32 *func_ov000_0205a7a8(unk32 param1); + unk32 func_ov000_0205a778(const char* param1); + VecFx32* func_ov000_0205a7a8(unk32 param1); }; class ModelRender_Derived2 : public ModelRender_Derived1 { @@ -236,7 +236,7 @@ class ModelRender_Derived2 : public ModelRender_Derived1 { /* 00 (base) */ /* 6C */ - ModelRender_Derived2(G3d_Model *pModel, unk32 param2, void *param3) : + ModelRender_Derived2(G3d_Model* pModel, unk32 param2, void* param3) : ModelRender_Derived1(pModel, param2, param3) {} // data_ov024_020d84bc @@ -248,7 +248,7 @@ class ModelRender_UnkSystem1 { /* 00 */ UnkSystem5 mUnk_00; /* 20 */ - ModelRender_UnkSystem1(G3d_Model *pModel, size_t allocSize) : + ModelRender_UnkSystem1(G3d_Model* pModel, size_t allocSize) : mUnk_00(func_ov000_02057750(allocSize), pModel) {} ~ModelRender_UnkSystem1(); @@ -259,16 +259,16 @@ class ModelRender_UnkSystem1_Derived1 : public ModelRender_UnkSystem1 { /* 00 (base) */ /* 20 */ - ModelRender_UnkSystem1_Derived1(G3d_Model *pModel, size_t allocSize); + ModelRender_UnkSystem1_Derived1(G3d_Model* pModel, size_t allocSize); }; -extern "C" size_t func_0200b150(UnkStruct_ov000_02058a84 *param1, G3d_Model *pModel); +extern "C" size_t func_0200b150(UnkStruct_ov000_02058a84* param1, G3d_Model* pModel); class ModelRender_UnkSystem1_Derived2 : public ModelRender_UnkSystem1 { public: /* 00 (base) */ /* 20 */ - ModelRender_UnkSystem1_Derived2(UnkStruct_ov000_02058a84 *param2, G3d_Model *pModel) : + ModelRender_UnkSystem1_Derived2(UnkStruct_ov000_02058a84* param2, G3d_Model* pModel) : ModelRender_UnkSystem1(pModel, func_0200b150(param2, pModel)) { this->mUnk_00.func_ov000_020577a4(param2, 0, false); } @@ -279,7 +279,7 @@ class ModelRender_UnkSystem1_Derived3 { /* 00 */ ModelRender_UnkSystem1 mUnk_00; /* 20 */ - ModelRender_UnkSystem1_Derived3(UnkStruct_ov000_02058a84 *param2, G3d_Model *pModel) : + ModelRender_UnkSystem1_Derived3(UnkStruct_ov000_02058a84* param2, G3d_Model* pModel) : mUnk_00(pModel, func_0200b150(param2, pModel)) { bool value = false; @@ -298,14 +298,14 @@ class PlayerLinkActor_A0_14_04 : public ModelRenderBase { /* 0C */ unk32 mUnk_0C; /* 10 */ - PlayerLinkActor_A0_14_04(G3d_Model *pModel); + PlayerLinkActor_A0_14_04(G3d_Model* pModel); // data_ov000_020b1b2c /* 00 */ WEAK virtual ~PlayerLinkActor_A0_14_04() override {} - /* 08 */ virtual void vfunc_08(G3d_Model *pModel) override; + /* 08 */ virtual void vfunc_08(G3d_Model* pModel) override; /* 0C */ virtual void vfunc_0C() override; - /* 10 */ virtual void vfunc_10(VecFx32 *param1, MtxFx33 *param2, VecFx32 *param3) override; - /* 14 */ virtual void vfunc_14(MtxFx33 *param1, VecFx32 *param2) override; - /* 18 */ virtual void vfunc_18(VecFx32 *param1) override; + /* 10 */ virtual void vfunc_10(VecFx32* param1, MtxFx33* param2, VecFx32* param3) override; + /* 14 */ virtual void vfunc_14(MtxFx33* param1, VecFx32* param2) override; + /* 18 */ virtual void vfunc_18(VecFx32* param1) override; /* 1C */ }; diff --git a/include/Render/Skybox.hpp b/include/Render/Skybox.hpp index 8dde42007..8f8eb91f4 100644 --- a/include/Render/Skybox.hpp +++ b/include/Render/Skybox.hpp @@ -36,10 +36,10 @@ class SkyboxManager_00 : public MapObjectProfile_Derived2_20_Base { class SkyboxBase : public ModelRender { public: /* 00 (base) */ - /* 60 */ SkyboxManager_00 *mUnk_60; + /* 60 */ SkyboxManager_00* mUnk_60; /* 64 */ - SkyboxBase(SkyboxManager_00 *param1); + SkyboxBase(SkyboxManager_00* param1); // data_ov000_020b2964 /* 00 */ virtual ~SkyboxBase() override; @@ -55,11 +55,11 @@ class SkyboxTrain : public SkyboxBase { /* 84 */ PAD(0x84, 0xA4); /* A4 */ - SkyboxTrain(SkyboxManager_00 *param1); + SkyboxTrain(SkyboxManager_00* param1); // data_ov026_02136770 /* 00 */ virtual ~SkyboxTrain() override; - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; /* 24 */ virtual void vfunc_24() override; }; @@ -71,11 +71,11 @@ class SkyboxSnowRealmA : public SkyboxBase { /* 84 */ PAD(0x84, 0xC4); /* C4 */ - SkyboxSnowRealmA(SkyboxManager_00 *param1); + SkyboxSnowRealmA(SkyboxManager_00* param1); // data_ov026_021367a4 /* 00 */ virtual ~SkyboxSnowRealmA() override; - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; /* 24 */ virtual void vfunc_24() override; }; @@ -87,11 +87,11 @@ class SkyboxSnowRealmB : public SkyboxBase { /* 84 */ PAD(0x84, 0xA4); /* A4 */ - SkyboxSnowRealmB(SkyboxManager_00 *param1); + SkyboxSnowRealmB(SkyboxManager_00* param1); // data_ov028_021473c4 /* 00 */ virtual ~SkyboxSnowRealmB() override; - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; /* 24 */ virtual void vfunc_24() override; }; @@ -102,11 +102,11 @@ class SkyboxFireRealmA : public SkyboxBase { /* 64 */ PAD(0x64, 0x6C); /* 6C */ - SkyboxFireRealmA(SkyboxManager_00 *param1); + SkyboxFireRealmA(SkyboxManager_00* param1); // data_ov030_02150fc8 /* 00 */ virtual ~SkyboxFireRealmA() override; - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; /* 24 */ virtual void vfunc_24() override; }; @@ -117,11 +117,11 @@ class SkyboxFireRealmB : public SkyboxBase { /* 64 */ PAD(0x64, 0x84); /* 84 */ - SkyboxFireRealmB(SkyboxManager_00 *param1); + SkyboxFireRealmB(SkyboxManager_00* param1); // data_ov030_02150ffc /* 00 */ virtual ~SkyboxFireRealmB() override; - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; /* 24 */ virtual void vfunc_24() override; }; @@ -132,7 +132,7 @@ class SkyboxDarkRealm : public SkyboxBase { /* 64 */ PAD(0x64, 0x84); /* 84 */ - SkyboxDarkRealm(SkyboxManager_00 *param1); + SkyboxDarkRealm(SkyboxManager_00* param1); // data_ov092_0217ba34 /* 00 */ virtual ~SkyboxDarkRealm() override; @@ -150,19 +150,19 @@ class SkyboxLand : public SkyboxBase { /* AC */ bool mUnk_AC; /* B0 */ - SkyboxLand(SkyboxManager_00 *param1); + SkyboxLand(SkyboxManager_00* param1); // data_ov031_02112aa0 /* 00 */ virtual ~SkyboxLand() override; - /* 18 */ virtual void vfunc_18(VecFx32 *param1) override; - /* 1C */ virtual void vfunc_1C(G3d_RenderState *param1) override; + /* 18 */ virtual void vfunc_18(VecFx32* param1) override; + /* 1C */ virtual void vfunc_1C(G3d_RenderState* param1) override; /* 24 */ virtual void vfunc_24() override; }; class SkyboxManager { public: - /* 00 */ SkyboxManager_00 *mUnk_00; - /* 04 */ SkyboxBase *mpSkybox; + /* 00 */ SkyboxManager_00* mUnk_00; + /* 04 */ SkyboxBase* mpSkybox; /* 08 */ SkyboxType mSkyboxType; /* 0C */ bool mIsVisible; /* 10 */ diff --git a/include/Save/AdventureFlags.hpp b/include/Save/AdventureFlags.hpp index 737452979..d5662fb84 100644 --- a/include/Save/AdventureFlags.hpp +++ b/include/Save/AdventureFlags.hpp @@ -33,17 +33,15 @@ enum AdventureFlag_ { FLAG(0, 21), // hyrule castle guard tells Link to get lost (before Cole shows up) /* 0x016 */ AdventureFlag_HyruleGuardMovesAfterCole = FLAG(0, 22), // hyrule castle guard moves out of the way of stairs leading to throne room - /* 0x017 */ AdventureFlag_WatchedHyruleGuardColeCS = - FLAG(0, 23), // hyrule castle intro Cole walks into throne room cs over + /* 0x017 */ AdventureFlag_WatchedHyruleGuardColeCS = FLAG(0, 23), // hyrule castle intro Cole walks into throne room cs over /* 0x018 */ AdventureFlag_ObtainedEngineerCertificate = FLAG(0, 24), /* 0x019 */ AdventureFlag_WatchedZeldasBedroomFirstCS = FLAG(0, 25), // zelda bedroom conversation pre-spirit zelda /* 0x01A */ AdventureFlag_WatchedSpiritTowerSplitCS = FLAG(0, 26), /* 0x01B */ AdventureFlag_MayscoreLostWoodsHintBranches = FLAG(0, 27), /* 0x01C */ AdventureFlag_MayscoreLostWoodsHint4thTree = FLAG(0, 28), - /* 0x01D */ AdventureFlag_TalkedToYamahikoFirstTime = - FLAG(0, 29), // talk to yellow guy (?) in Mayascore for the first time - /* 0x01E */ AdventureFlag_EnteredForestTemple = FLAG(0, 30), - /* 0x01F */ AdventureFlag_ObtainedTrainCannon = FLAG(0, 31), // set after alfonzo text, but before cannon exits garage + /* 0x01D */ AdventureFlag_TalkedToYamahikoFirstTime = FLAG(0, 29), // talk to yellow guy (?) in Mayascore for the first time + /* 0x01E */ AdventureFlag_EnteredForestTemple = FLAG(0, 30), + /* 0x01F */ AdventureFlag_ObtainedTrainCannon = FLAG(0, 31), // set after alfonzo text, but before cannon exits garage /* 0x020 */ AdventureFlag_ObtainedSpiritTrainCar = FLAG(1, 0), /* 0x021 */ AdventureFlag_ObtainedTrainWagon = FLAG(1, 1), diff --git a/include/Save/SaveFile.hpp b/include/Save/SaveFile.hpp index a2e5ba608..e9f12daf2 100644 --- a/include/Save/SaveFile.hpp +++ b/include/Save/SaveFile.hpp @@ -373,7 +373,7 @@ class SaveSlot { return GET_FLAG(this->mInfoData[0].inventory.adventureFlags, flag); } - wchar_t *GetPlayerName() { + wchar_t* GetPlayerName() { return this->mInfoData[0].unk_D9C.mPlayerName; } @@ -381,7 +381,7 @@ class SaveSlot { return this->mInfoData[0].unk_D9C.mPlayerName[0] != L'\0'; } - SaveFile_00000_2600_Data *Get2600Ptr() { + SaveFile_00000_2600_Data* Get2600Ptr() { return this->mUnk_2600; } @@ -397,15 +397,15 @@ class SaveSlot { return this->mUnk_2600[0].unk_02; } - static void func_ov000_020a1028(SaveInfoData *param1); - static void func_ov000_020a10f4(SaveFile_00000_2600_Data *param1); - static void func_ov000_020a12a0(SaveFile_00000_1D00_Data *param1); + static void func_ov000_020a1028(SaveInfoData* param1); + static void func_ov000_020a10f4(SaveFile_00000_2600_Data* param1); + static void func_ov000_020a12a0(SaveFile_00000_1D00_Data* param1); - static void func_ov019_020d14c0(SaveFile_00000_1D00_Data *param1); - static void func_ov019_020d14fc(SaveInfoData *param1); - static void func_ov019_020d15cc(SaveFile_00000_2500_Data *param1); - static void func_ov019_020d1400(SaveFile_00000_2600_Data *param1); - static void func_ov019_020d1600(SaveTreasureData *param1); + static void func_ov019_020d14c0(SaveFile_00000_1D00_Data* param1); + static void func_ov019_020d14fc(SaveInfoData* param1); + static void func_ov019_020d15cc(SaveFile_00000_2500_Data* param1); + static void func_ov019_020d1400(SaveFile_00000_2600_Data* param1); + static void func_ov019_020d1600(SaveTreasureData* param1); }; struct SaveFile_04E00 { @@ -440,6 +440,6 @@ class SaveFile { void func_ov019_020d16d0(); void func_ov019_020d17e0(); void func_ov019_020d1808(unk32 param1); - void func_ov019_020d1aac(unk32 param1, const wchar_t *param2); + void func_ov019_020d1aac(unk32 param1, const wchar_t* param2); void func_ov019_020d1b14(unk32 param1); }; diff --git a/include/Save/SaveManager.hpp b/include/Save/SaveManager.hpp index 20dddab6a..3a36dae50 100644 --- a/include/Save/SaveManager.hpp +++ b/include/Save/SaveManager.hpp @@ -13,7 +13,7 @@ #include #define SAVE_DATA_SIZE (sizeof(SaveSlot) + sizeof(u8) * NUM_UNK_BLOCKS * SIZE_UNK_BLOCK) -#define SAVE_FILE_OFFSET(slot) FILE_BUFFER_OFFSETOF(slot *SAVE_DATA_SIZE) +#define SAVE_FILE_OFFSET(slot) FILE_BUFFER_OFFSETOF(slot* SAVE_DATA_SIZE) enum { SaveDataIndex_SaveInfo, @@ -49,7 +49,7 @@ class SaveManager_244 { class SaveManager { public: - /* 000 */ SaveManager_00 *mUnk_000; // related to mUnk_184, allocated from func_ov001_020ba670 + /* 000 */ SaveManager_00* mUnk_000; // related to mUnk_184, allocated from func_ov001_020ba670 /* 004 */ unk32 mUnk_004; /* 008 */ PAD(0x08, 0x204); /* 204 */ u16 mCardId; @@ -60,10 +60,10 @@ class SaveManager { /* 20C */ CARDResult mResultCode; /* 210 */ unk32 mUnk_210; /* 214 */ unk32 mUnk_214; - /* 218 */ SaveFile *mpSaveFile; + /* 218 */ SaveFile* mpSaveFile; /* 21C */ SaveFile_00000_0000_Data_D9C mUnk_21C; /* 23C */ PTMF::PTMFCallback mUnk_23C; - /* 244 */ SaveManager_244 *mUnk_244; + /* 244 */ SaveManager_244* mUnk_244; /* 248 */ const size_t GetOffset() const { @@ -78,24 +78,24 @@ class SaveManager { return this->mUnk_210 == 0; } - SaveSlot *GetSaveSlot(int saveSlotIndex) { + SaveSlot* GetSaveSlot(int saveSlotIndex) { return &this->mpSaveFile->mSlots[saveSlotIndex]; } - SaveSlot *GetSaveSlots() { + SaveSlot* GetSaveSlots() { return this->mpSaveFile->mSlots; } - SaveManager_00 *GetUnk000() { + SaveManager_00* GetUnk000() { return this->mUnk_000; } SaveManager(); // overlay 0 - void func_ov000_020a0b2c(UnkCallback param1, GameSaveSlot *param2); + void func_ov000_020a0b2c(UnkCallback param1, GameSaveSlot* param2); void func_ov000_020a0b58(); - bool func_ov000_020a0b70(void *param1, unk32 param2); + bool func_ov000_020a0b70(void* param1, unk32 param2); // overlay 1 void func_ov001_020ba670(); @@ -103,9 +103,9 @@ class SaveManager { void func_ov001_020ba7c8(u16 saveSlotIndex); // overlay 17 - void func_ov017_020c2c08(GameSaveSlot *param1); - bool func_ov017_020c2f88(GameSaveSlot *param1); - bool func_ov017_020c3040(GameSaveSlot *param1, unk32 param2); + void func_ov017_020c2c08(GameSaveSlot* param1); + bool func_ov017_020c2f88(GameSaveSlot* param1); + bool func_ov017_020c3040(GameSaveSlot* param1, unk32 param2); static void func_ov017_020c2b68(u16 param1); static void func_ov017_020c2fc4(u16 param1); diff --git a/include/System/OverlayManager.hpp b/include/System/OverlayManager.hpp index 65267963b..c33bcf11e 100644 --- a/include/System/OverlayManager.hpp +++ b/include/System/OverlayManager.hpp @@ -426,7 +426,7 @@ class OverlayManager { void Load(OverlaySlot slot, OverlayIndex index); void LoadIfNotLoaded(OverlaySlot slot, OverlayIndex index); void Unload(OverlaySlot slot); - OverlaySlot func_02014878(void *addr); + OverlaySlot func_02014878(void* addr); void func_020148d0(OverlayIndex index); void func_02014918(OverlayIndex index); void func_02014944(OverlayIndex index); @@ -439,4 +439,4 @@ class OverlayManager { extern OverlayManager gOverlayManager; extern OverlayManager data_02049ba0; -extern char *data_02043c88[OverlayIndex_COUNT]; +extern char* data_02043c88[OverlayIndex_COUNT]; diff --git a/include/System/Random.hpp b/include/System/Random.hpp index 2280f4f23..ac6bad307 100644 --- a/include/System/Random.hpp +++ b/include/System/Random.hpp @@ -14,21 +14,21 @@ struct Random { * @brief Gets the seed's value */ u64 GetRandomValue() { - return *(u64 *) this->mRandomValue; + return *(u64*) this->mRandomValue; } /** * @brief Sets the seed's value from a u64 */ void SetRandomValue(u64 value) { - *(u64 *) this->mRandomValue = value; + *(u64*) this->mRandomValue = value; } /** * @brief Sets the seed's value from a u16 array */ - void SetRandomValue(u16 *value) { - this->SetRandomValue(*(u64 *) value); + void SetRandomValue(u16* value) { + this->SetRandomValue(*(u64*) value); } /** @@ -42,7 +42,7 @@ struct Random { /** * @brief Setup the randomizer with a set seed as a u16 array */ - void Setup(u16 *initial) { + void Setup(u16* initial) { this->SetRandomValue(initial); this->SetFactorAddend(); } @@ -67,7 +67,7 @@ struct Random { * @brief Updates the seed's value */ void UpdateRandomValue() { - *(u64 *) this->mRandomValue = this->mAddend + (this->mFactor * this->GetRandomValue()); + *(u64*) this->mRandomValue = this->mAddend + (this->mFactor * this->GetRandomValue()); } /** diff --git a/include/System/SysFault.hpp b/include/System/SysFault.hpp index 666ea5ee3..9b19814cb 100644 --- a/include/System/SysFault.hpp +++ b/include/System/SysFault.hpp @@ -8,7 +8,7 @@ class SysFault { /* 04 */ u8 mUnk_04; /* 05 */ u8 mUnk_05; - void func_020125a4(char *file, u16 line, char *msg, ...); + void func_020125a4(char* file, u16 line, char* msg, ...); void func_020127f0(unk32 param1); void func_ov018_020c4840(); diff --git a/include/System/SysNew.hpp b/include/System/SysNew.hpp index 32545247b..25acdcae1 100644 --- a/include/System/SysNew.hpp +++ b/include/System/SysNew.hpp @@ -27,14 +27,14 @@ enum HeapIndex_ { HeapIndex_Max = 9 }; -void *operator new(size_t length, u32 id, u32 alignment = 4); -inline void *operator new[](size_t length, u32 id, u32 alignment = 4) { +void* operator new(size_t length, u32 id, u32 alignment = 4); +inline void* operator new[](size_t length, u32 id, u32 alignment = 4) { return ::operator new(length, id, alignment); } class UnkStruct_02011e10_2C { public: - /* 00 */ NNSiFndHeapHead *mUnk_00; + /* 00 */ NNSiFndHeapHead* mUnk_00; /* 04 */ PAD(0x04, 0x18); /* 18 */ @@ -47,14 +47,14 @@ class UnkStruct_02011e10_2C { class UnkStruct_02011e10 { public: - /* 00 */ NNSiFndHeapHead *mUnk_00[HeapIndex_Max]; // the pointer seems to match arena lo + /* 00 */ NNSiFndHeapHead* mUnk_00[HeapIndex_Max]; // the pointer seems to match arena lo /* 24 */ unk32 mUnk_24[2]; /* 2C */ UnkStruct_02011e10_2C mUnk_2C; /* 44 */ UnkStruct_02011e10_2C mUnk_44; /* 5C */ unk32 mUnk_5C; /* 60 */ unk32 mUnk_60; - /* 64 */ void *mUnk_64; - /* 68 */ void *mUnk_68; + /* 64 */ void* mUnk_64; + /* 68 */ void* mUnk_68; /* 6C */ unk32 mUnk_6C; /* 70 */ unk32 mUnk_70; /* 74 */ unk32 mUnk_74; @@ -94,7 +94,7 @@ class UnkStruct_02011e10 { extern UnkStruct_02011e10 data_0204999c; -void *SysNew(NNSiFndHeapHead *param1, u32 length, u32 alignment); -void SysDelete(void *ptr); -void *func_02011f10(s32 length); -void *func_02011f30(s32 length); +void* SysNew(NNSiFndHeapHead* param1, u32 length, u32 alignment); +void SysDelete(void* ptr); +void* func_02011f10(s32 length); +void* func_02011f30(s32 length); diff --git a/include/TitleScreen/TitleScreen.hpp b/include/TitleScreen/TitleScreen.hpp index c258d48e3..e5cc1c06b 100644 --- a/include/TitleScreen/TitleScreen.hpp +++ b/include/TitleScreen/TitleScreen.hpp @@ -8,7 +8,7 @@ #include #include -DECL_PTMF(TitleScreenPTMF, Input *pButtons, TouchControl *pTouchControl); +DECL_PTMF(TitleScreenPTMF, Input* pButtons, TouchControl* pTouchControl); typedef u32 TitleScreenState; enum TitleScreenState_ { @@ -96,28 +96,28 @@ class TitleScreen : public GameModeManagerBase_104 { // 0233c6d4 void func_ov025_020c5988(); // data_ov025_020c5aec - void func_ov025_020c5200(Input *pButtons, TouchControl *pTouchControl); - void func_ov025_020c5204(Input *pButtons, TouchControl *pTouchControl); - void func_ov025_020c5240(Input *pButtons, TouchControl *pTouchControl); - void func_ov025_020c53d0(Input *pButtons, TouchControl *pTouchControl); - void func_ov025_020c55a4(Input *pButtons, TouchControl *pTouchControl); - void func_ov025_020c55e4(Input *pButtons, TouchControl *pTouchControl); + void func_ov025_020c5200(Input* pButtons, TouchControl* pTouchControl); + void func_ov025_020c5204(Input* pButtons, TouchControl* pTouchControl); + void func_ov025_020c5240(Input* pButtons, TouchControl* pTouchControl); + void func_ov025_020c53d0(Input* pButtons, TouchControl* pTouchControl); + void func_ov025_020c55a4(Input* pButtons, TouchControl* pTouchControl); + void func_ov025_020c55e4(Input* pButtons, TouchControl* pTouchControl); // data_ov025_020c5b30 vtable /* 00 */ virtual ~TitleScreen() override; - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl) override; + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl) override; /* 0C */ virtual void vfunc_0C(unk32 param1) override; - /* 10 */ virtual void vfunc_10(unk8 *param1) override; - /* 14 */ virtual void vfunc_14(unk8 *param1) override; + /* 10 */ virtual void vfunc_10(unk8* param1) override; + /* 14 */ virtual void vfunc_14(unk8* param1) override; }; class TitleScreenManager : public TitleScreenManager_Base { public: /* 000 (base) */ - /* 154 */ GameModeBase *mpGameMode; + /* 154 */ GameModeBase* mpGameMode; /* 158 */ - TitleScreenManager(UnkStruct_0204a110_Sub2 *param1) NO_INLINE { + TitleScreenManager(UnkStruct_0204a110_Sub2* param1) NO_INLINE { this->mpGameMode = NULL; GX_SetGraphicsMode(1, 0, 1); GXS_SetGraphicsMode(5); @@ -133,9 +133,9 @@ class TitleScreenManager : public TitleScreenManager_Base { /* 14 */ virtual void vfunc_14() override; /* 18 */ virtual void vfunc_18() override; /* 24 */ virtual void vfunc_24() override; - /* 28 */ virtual void vfunc_28(unk8 *param1) override; - /* 2C */ virtual void DrawUI(unk8 *param1) override; + /* 28 */ virtual void vfunc_28(unk8* param1) override; + /* 2C */ virtual void DrawUI(unk8* param1) override; /* 38 */ virtual void vfunc_38(u32 sceneIndex, u8 roomIndex, unk16 param3, unk16 param4) override; - static GameModeManagerBase *Create(UnkStruct_0204a110_Sub2 *param1); + static GameModeManagerBase* Create(UnkStruct_0204a110_Sub2* param1); }; diff --git a/include/Unknown/Common.hpp b/include/Unknown/Common.hpp index c7d633885..196c6c4c7 100644 --- a/include/Unknown/Common.hpp +++ b/include/Unknown/Common.hpp @@ -14,7 +14,7 @@ #include class UnkDataStruct2; -extern "C" void func_0201e8d4(void *param1, void *param2); +extern "C" void func_0201e8d4(void* param1, void* param2); //! TODO: make this work with templates? #define UnkSubStruct1_Methods \ @@ -99,13 +99,13 @@ extern "C" void func_0201e8d4(void *param1, void *param2); } \ } \ \ - void UpdatePosition(Vec2s *pOutPos) { \ + void UpdatePosition(Vec2s* pOutPos) { \ Vec2s fetch; \ func_0201e8d4(&fetch, this); \ Vec2s_Set(&fetch, pOutPos); \ } \ \ - void Update(Vec2s *pOutPos) { \ + void Update(Vec2s* pOutPos) { \ this->UpdateLogic(); \ this->UpdatePosition(pOutPos); \ } @@ -214,13 +214,13 @@ class UnkSubStruct1_Derived1 : public UnkSubStruct1_Base { }; struct UnkStruct_ov019_020d24c8_28_258_00 { - /* 00 */ void *mUnk_00; + /* 00 */ void* mUnk_00; /* 04 */ unk32 mUnk_04; /* 08 */ UnkStruct_ov019_020d24c8_28_258_00() {} - UnkStruct_ov019_020d24c8_28_258_00(void *param1, unk32 param2) : + UnkStruct_ov019_020d24c8_28_258_00(void* param1, unk32 param2) : mUnk_00(param1), mUnk_04(param2) {} @@ -229,7 +229,7 @@ struct UnkStruct_ov019_020d24c8_28_258_00 { this->mUnk_04 = 0; } - void func_ov000_0205fc20(unk32 param1, unk32 param2, void *param3, void *param4); + void func_ov000_0205fc20(unk32 param1, unk32 param2, void* param3, void* param4); }; struct UnkStruct_ov019_020d24c8_28_258_00_Derived1 : public UnkStruct_ov019_020d24c8_28_258_00 { @@ -474,7 +474,7 @@ class UnkStruct_ov019_020d24c8_28_258 : public UnkStruct_ov019_020d24c8_28_258_0 class UnkSystem2_UnkSubSystem1_Base : public LinkList { public: /* 00 (vtable) */ - /* 0C */ void *mUnk_0C; + /* 0C */ void* mUnk_0C; /* 10 */ unk32 mButtonID; /* 14 */ Vec2s mPos; // image position (among other things) /* 18 */ unk32 mUnk_18; @@ -544,14 +544,14 @@ class UnkSystem2_UnkSubSystem7_Derived2 { class UnkSystem2_UnkSubSystem1_Derived2 : public UnkSystem2_UnkSubSystem1_Base { public: /* 00 (vtable) */ - /* 30 */ void *mUnk_30; // related to the background texture draw (idle) + /* 30 */ void* mUnk_30; // related to the background texture draw (idle) /* 34 */ UnkSystem2_UnkSubSystem7 mUnk_34; // related to the texture draw /* 38 */ unk16 mUnk_38; // related to the texture draw /* 3C */ Vec2us mUnk_3A; // overlaid elements position (text, icons etc...), relative to background position /* 40 */ unk16 mUnk_3E; /* 40 */ unk32 mUnk_40; /* 44 */ unk32 mUnk_44; - /* 48 */ void *mUnk_48; // related to the background texture draw (selected) + /* 48 */ void* mUnk_48; // related to the background texture draw (selected) /* 4C */ unk32 mUnk_4C; /* 50 */ unk16 mUnk_50; // related to the texture draw /* 50 */ unk16 mUnk_52; @@ -596,9 +596,9 @@ class UnkSystem2_UnkSubSystem1_Derived4 : public UnkSystem2_UnkSubSystem1_Derive class UnkSystem2_UnkSubSystem5_Base_10 { public: /* 000 (vtable) */ - /* 014 */ void *mUnk_004; + /* 014 */ void* mUnk_004; /* 018 */ unk32 mUnk_008; - /* 01C */ void *mUnk_00C; + /* 01C */ void* mUnk_00C; /* 020 */ unk32 mUnk_010; /* 024 */ unk16 mUnk_014; /* 026 */ u16 mUnk_016; @@ -630,7 +630,7 @@ class UnkSystem2_UnkSubSystem5_Base_10 { /* 00 */ virtual ~UnkSystem2_UnkSubSystem5_Base_10(); /* 08 */ virtual void vfunc_08(); /* 0C */ virtual void vfunc_0C(); - /* 10 */ virtual void vfunc_10(void *param1); + /* 10 */ virtual void vfunc_10(void* param1); /* 14 */ virtual void vfunc_14(unk32 param1); //! TODO: fix type (unk32 -> void*) /* 18 */ virtual void vfunc_18(); /* 1C */ virtual void vfunc_1C(); @@ -647,15 +647,15 @@ class UnkSystem2_UnkSubSystem5_Base_10 { /* 48 */ virtual void vfunc_48(); /* 4C */ - unk32 func_ov000_020691e0(void *param1); - void func_ov000_02068798(Vec2s *param1); - void func_ov000_02068798(void *, void *); + unk32 func_ov000_020691e0(void* param1); + void func_ov000_02068798(Vec2s* param1); + void func_ov000_02068798(void*, void*); }; struct Font_UnkStruct1; struct UnkSystem2_UnkSubSystem11_Base_1C { /* 00 */ unk32 mUnk_00; - /* 04 */ Font_UnkStruct1 *mUnk_04; + /* 04 */ Font_UnkStruct1* mUnk_04; /* 08 */ unk32 mUnk_08; /* 0C */ unk32 mUnk_0C; /* 10 */ @@ -701,9 +701,9 @@ class UnkSystem2_UnkSubSystem11_Derived1 : public UnkSystem2_UnkSubSystem11_Base void func_ov000_02061f8c(); void func_ov000_02062144(); - void func_ov000_0206216c(Vec2s *param1, unk32 param2, unk32 param3); + void func_ov000_0206216c(Vec2s* param1, unk32 param2, unk32 param3); void func_ov000_02062228(); - void func_ov000_02062838(void *param1); + void func_ov000_02062838(void* param1); }; class UnkSystem2_UnkSubSystem11_Derived2 : public UnkSystem2_UnkSubSystem11_Derived1 { @@ -717,17 +717,17 @@ class UnkSystem2_UnkSubSystem11_Derived2 : public UnkSystem2_UnkSubSystem11_Deri // data_020443a8 (vtable) - void func_ov000_020626e4(void *param1, bool param2, unk32 *param3, void *param4); - void func_ov000_020626e4(void *param1, bool param2, unk32 *param3, unk32 param4, unk32 param5, unk32 param6, unk32 param7); + void func_ov000_020626e4(void* param1, bool param2, unk32* param3, void* param4); + void func_ov000_020626e4(void* param1, bool param2, unk32* param3, unk32 param4, unk32 param5, unk32 param6, unk32 param7); }; class UnkSystem2_UnkSubSystem5_Base { public: /* 000 (vtable) */ - /* 004 */ wchar_t *mpString; // in this context it points to the player's name + /* 004 */ wchar_t* mpString; // in this context it points to the player's name /* 008 */ unk16 mUnk_008; // UnkSystem2_UnkSubSystem5()'s param1 /* 00A */ unk16 mUnk_00A; // UnkSystem2_UnkSubSystem5()'s param2 - /* 00C */ void *mUnk_00C; + /* 00C */ void* mUnk_00C; /* 010 */ UnkSystem2_UnkSubSystem5_Base_10 mUnk_010; /* 140 */ unk16 mUnk_140; /* 142 */ unk16 mUnk_142; @@ -739,7 +739,7 @@ class UnkSystem2_UnkSubSystem5_Base { /* 14E */ unk8 mUnk_14E; // 0x546 /* 14F */ unk8 mUnk_14F; // 0x547 - UnkSystem2_UnkSubSystem5_Base(UnkSystem2_UnkSubSystem11_Derived2 *param1, unk32 param2, unk32 param3); // func_0201f288 + UnkSystem2_UnkSubSystem5_Base(UnkSystem2_UnkSubSystem11_Derived2* param1, unk32 param2, unk32 param3); // func_0201f288 ~UnkSystem2_UnkSubSystem5_Base(); /* 00 */ virtual void vfunc_00(); @@ -760,10 +760,10 @@ class UnkSystem2_UnkSubSystem5 : public UnkSystem2_UnkSubSystem5_Base { void func_0201f498(); void func_0201f4b4(unk32 param1); - void func_0201f500(void *param1); + void func_0201f500(void* param1); void func_0201f730(unk32 param1); void func_0201f9c4(); - void func_0201fb78(wchar_t *param1); + void func_0201fb78(wchar_t* param1); void func_0201fa70(unk32 param1); // data_0204439c vtable @@ -773,27 +773,27 @@ class UnkSystem2_UnkSubSystem5 : public UnkSystem2_UnkSubSystem5_Base { class UnkSystem2_UnkSubSystem3 { public: - /* 00 */ UnkSystem2_UnkSubSystem1_Base *mUnk_00; + /* 00 */ UnkSystem2_UnkSubSystem1_Base* mUnk_00; /* 04 */ UnkSystem2_UnkSubSystem5 mUnk_04; UnkSystem2_UnkSubSystem3(); - UnkSystem2_UnkSubSystem3(UnkSystem2_UnkSubSystem1_Base *param1, unk32 param2, unk32 param3, unk32 param4); + UnkSystem2_UnkSubSystem3(UnkSystem2_UnkSubSystem1_Base* param1, unk32 param2, unk32 param3, unk32 param4); void func_ov000_02062f30(); - void func_ov000_02062f18(void *param1, unk32 param2, unk32 param3); + void func_ov000_02062f18(void* param1, unk32 param2, unk32 param3); }; class UnkSystem2_UnkSubSystem8_Base { public: /* 00 (vtable) */ - /* 04 */ UnkSystem2_UnkSubSystem1_Base *mUnk_04; + /* 04 */ UnkSystem2_UnkSubSystem1_Base* mUnk_04; /* 08 */ bool mUnk_08; /* 09 */ unk8 mUnk_09; /* 0A */ unk8 mUnk_0A; /* 0B */ unk8 mUnk_0B; /* 0C */ - UnkSystem2_UnkSubSystem8_Base(UnkSystem2_UnkSubSystem1_Derived2 *param1); + UnkSystem2_UnkSubSystem8_Base(UnkSystem2_UnkSubSystem1_Derived2* param1); // data_ov000_020b1fac vtable /* 00 */ virtual void vfunc_00() = 0; @@ -820,7 +820,7 @@ class UnkSystem2_UnkSubSystem9 : public UnkSubStruct1 { /* 0C */ //! TODO: conflict with UnkStruct_ov019_020d24c8_28_304 - void func_0201e874(unk32 buttonID, void *param2, void *param3, unk32 param4); + void func_0201e874(unk32 buttonID, void* param2, void* param3, unk32 param4); }; class UnkSystem2_UnkSubSystem8 : public UnkSystem2_UnkSubSystem8_Base { @@ -832,14 +832,14 @@ class UnkSystem2_UnkSubSystem8 : public UnkSystem2_UnkSubSystem8_Base { UnkSystem2_UnkSubSystem8() : UnkSystem2_UnkSubSystem8_Base(NULL) {} - UnkSystem2_UnkSubSystem8(UnkSystem2_UnkSubSystem1_Derived2 *param1) : + UnkSystem2_UnkSubSystem8(UnkSystem2_UnkSubSystem1_Derived2* param1) : UnkSystem2_UnkSubSystem8_Base(param1) {} - UnkSystem2_UnkSubSystem8(UnkSystem2_UnkSubSystem1_Derived1 *param1) : - UnkSystem2_UnkSubSystem8_Base((UnkSystem2_UnkSubSystem1_Derived2 *) param1) {} + UnkSystem2_UnkSubSystem8(UnkSystem2_UnkSubSystem1_Derived1* param1) : + UnkSystem2_UnkSubSystem8_Base((UnkSystem2_UnkSubSystem1_Derived2*) param1) {} - void func_ov000_02064080(void *param1, void *param2, unk32 param3, u16 param4); - void func_ov000_0206415c(void *param1, unk32 param2, unk32 param3, unk32 param4); + void func_ov000_02064080(void* param1, void* param2, unk32 param3, u16 param4); + void func_ov000_0206415c(void* param1, unk32 param2, unk32 param3, unk32 param4); void func_ov000_02063f64(); // data_ov000_020b1f8c vtable @@ -850,40 +850,40 @@ class UnkSystem2_UnkSubSystem8 : public UnkSystem2_UnkSubSystem8_Base { class UnkStruct2 { public: /* 00 */ unk32 mUnk_00; - /* 04 */ const char *mUnk_04; + /* 04 */ const char* mUnk_04; /* 08 */ PAD(0x08, 0x10); /* 10 */ - UnkStruct2(const char *path, unk32 param2); + UnkStruct2(const char* path, unk32 param2); ~UnkStruct2(); - void func_020154ec(const char *param1); + void func_020154ec(const char* param1); }; struct UnkResult { - void *mUnk_00; - void *mUnk_04; - void *mUnk_08; + void* mUnk_00; + void* mUnk_04; + void* mUnk_08; UnkFileSystem3 mUnk_0C; UnkFileSystem3 mUnk_1C; UnkFileSystem3 mUnk_2C; UnkResult(); - UnkResult(const char *path); - UnkResult(const char *path, const char *param2, const char *param3); + UnkResult(const char* path); + UnkResult(const char* path, const char* param2, const char* param3); ~UnkResult() {} - void func_02017520(const char *nscrPath, const char *ncgrPath, const char *nclrPath); + void func_02017520(const char* nscrPath, const char* ncgrPath, const char* nclrPath); }; struct UnkStruct_StackTitleScreen { /* 00 */ unk32 pad[5]; /* 14 */ - UnkStruct_StackTitleScreen(const char *path, unk32 param1); + UnkStruct_StackTitleScreen(const char* path, unk32 param1); ~UnkStruct_StackTitleScreen(); - void func_ov000_02059270(unk32 param1, char *param2, unk32 param3); - void func_ov000_02059288(unk32 param1, char *param2, unk32 param3); + void func_ov000_02059270(unk32 param1, char* param2, unk32 param3); + void func_ov000_02059288(unk32 param1, char* param2, unk32 param3); }; class MapObject; @@ -905,7 +905,7 @@ class MapObject_UnkStruct1 { //! TODO: figure these out PlayerType mPlayerType; unk32 mUnk_04; - void *mUnk_04p; + void* mUnk_04p; }; /* 08 */ @@ -947,7 +947,7 @@ class MapObject_UnkStruct1_Derived2 : public MapObject_UnkStruct1_Derived1 { }; union UnkStackStruct2; -extern "C" UnkStackStruct2 *func_ov000_02077590(unk32); +extern "C" UnkStackStruct2* func_ov000_02077590(unk32); union UnkStackStruct2 { struct Inner { /* 00 */ unk16 mUnk_00; @@ -965,7 +965,7 @@ union UnkStackStruct2 { u32 data[8]; void Copy(unk32 param1) { - UnkStackStruct2 *r3 = func_ov000_02077590(param1); + UnkStackStruct2* r3 = func_ov000_02077590(param1); this->s.mUnk_00 = r3->s.mUnk_00; this->s.mUnk_02 = r3->s.mUnk_02; this->s.mUnk_04 = r3->s.mUnk_04; @@ -973,12 +973,12 @@ union UnkStackStruct2 { this->s.mUnk_08 = r3->s.mUnk_08; this->s.mUnk_0C = r3->s.mUnk_0C; - u16 unk_18 = *(volatile u16 *) &r3->s.mUnk_18; //! TODO: Timer? + u16 unk_18 = *(volatile u16*) &r3->s.mUnk_18; //! TODO: Timer? u16 unk_1A = r3->s.mUnk_1A; this->s.mUnk_18 = unk_18; this->s.mUnk_1A = unk_1A; - u16 unk_1C = *(volatile u16 *) &r3->s.mUnk_1C; //! TODO: Timer? + u16 unk_1C = *(volatile u16*) &r3->s.mUnk_1C; //! TODO: Timer? u16 unk_1E = r3->s.mUnk_1E; this->s.mUnk_1C = unk_1C; this->s.mUnk_1E = unk_1E; @@ -990,7 +990,7 @@ struct UnkStackStruct1 { /* 01 */ unk8 mUnk_01; /* 02 */ unk8 mUnk_02; /* 03 */ unk8 mUnk_03; - /* 04 */ MapObject_UnkStruct1 *mUnk_04; + /* 04 */ MapObject_UnkStruct1* mUnk_04; /* 08 */ unk32 mUnk_08; /* 0C */ VecFx32 mUnk_0C; /* 18 */ UnkStackStruct2 mUnk_18; @@ -1007,13 +1007,13 @@ struct UnkSystem7_UnkStruct_00_20_00 { }; struct UnkSystem7_UnkStruct_00_20 { - /* 00 */ UnkSystem7_UnkStruct_00_20_00 *mUnk_00; - /* 04 */ VecFx32 *mUnk_04; + /* 00 */ UnkSystem7_UnkStruct_00_20_00* mUnk_00; + /* 04 */ VecFx32* mUnk_04; }; struct UnkSystem7_UnkStruct_00 { /* 00 */ PAD(0x00, 0x20); - /* 20 */ UnkSystem7_UnkStruct_00_20 *mUnk_20; + /* 20 */ UnkSystem7_UnkStruct_00_20* mUnk_20; /* 24 */ unk32 mUnk_24; /* 28 */ VecFx32 mUnk_28; /* 34 */ PAD(0x34, 0x50); @@ -1024,26 +1024,26 @@ struct UnkSystem7_UnkStruct_00 { /* A0 */ unk32 mUnk_A0; /* A4 */ unk16 mUnk_A4; - void func_ov000_02052c48(VecFx32 *param1, VecFx32 *param2); + void func_ov000_02052c48(VecFx32* param1, VecFx32* param2); }; class UnkSystem7 { public: - /* 00 */ UnkSystem7_UnkStruct_00 *mUnk_00; + /* 00 */ UnkSystem7_UnkStruct_00* mUnk_00; /* 04 */ WEAK UnkSystem7() { this->mUnk_00 = NULL; } - UnkSystem7(UnkSystem7_UnkStruct_00 *param1) { + UnkSystem7(UnkSystem7_UnkStruct_00* param1) { this->mUnk_00 = param1; } ~UnkSystem7(); void func_ov000_020a0334(); - void func_ov000_020a036c(VecFx32 *param1); + void func_ov000_020a036c(VecFx32* param1); }; class UnkSystem7_Derived2 : public UnkSystem7 { @@ -1053,7 +1053,7 @@ class UnkSystem7_Derived2 : public UnkSystem7 { /* 08 */ unk32 mUnk_08; /* 0C */ - UnkSystem7_Derived2(UnkSystem7_UnkStruct_00 *param1, unk32 param2, unk32 param3) : + UnkSystem7_Derived2(UnkSystem7_UnkStruct_00* param1, unk32 param2, unk32 param3) : UnkSystem7(param1), mUnk_04(param2), mUnk_08(param3) {} @@ -1064,7 +1064,7 @@ class UnkStruct_PlayerGet_ec { /* 00 */ UnkSystem7 mUnk_00; /* 04 */ - UnkStruct_PlayerGet_ec(UnkSystem7_UnkStruct_00 *param1) : + UnkStruct_PlayerGet_ec(UnkSystem7_UnkStruct_00* param1) : mUnk_00(param1) {} UnkStruct_PlayerGet_ec(); @@ -1083,8 +1083,8 @@ class UnkActorSystem2 : public GameModeManagerBase_104 { // data_ov024_020d7bd0 /* 00 */ virtual ~UnkActorSystem2() override; - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl) override; - /* 10 */ virtual void vfunc_10(unk8 *param1) override; + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl) override; + /* 10 */ virtual void vfunc_10(unk8* param1) override; void func_ov024_020c4ec0(); void func_ov024_020c4ed8(); @@ -1101,7 +1101,7 @@ class UnkActorSystem2 : public GameModeManagerBase_104 { }; struct UnkDataStruct1 { - /* 00 */ void *mUnk_00; + /* 00 */ void* mUnk_00; /* 04 */ u8 mUnk_04; /* 05 */ unk8 mUnk_05; /* 06 */ u16 mUnk_06; @@ -1113,7 +1113,7 @@ struct UnkDataStruct1 { this->mUnk_06 |= param1; } - UnkDataStruct1(void *param1, u16 param2) { + UnkDataStruct1(void* param1, u16 param2) { this->Init(); this->mUnk_06 |= param2; this->mUnk_00 = param1; @@ -1132,7 +1132,7 @@ struct UnkDataStruct1 { struct UnkDataStruct4_14_2; struct UnkDataStruct2 { - /* 00 */ UnkDataStruct4_14_2 *unk_00; + /* 00 */ UnkDataStruct4_14_2* unk_00; /* 04 */ UnkDataStruct2(unk32 param1); @@ -1153,7 +1153,7 @@ struct UnkDataStruct4_14 { /* 13 */ u8 mUnk_13; /* 14 */ - s32 func_ov024_020d1c3c(unk32 *param1, unk32 param2) const; + s32 func_ov024_020d1c3c(unk32* param1, unk32 param2) const; void func_ov024_020d1c84(); bool func_ov024_020d1cc8(unk32 param1, unk32 param2) const; bool func_ov024_020d1cf4(unk32 param1) const; @@ -1187,10 +1187,10 @@ struct UnkDataStruct4_14 { static const u8 func_ov024_020d1a18(unk32 param1); static unk32 func_ov024_020d1a28(u8 param1); static u8 func_ov024_020d1a98(unk32 param1, unk32 param2); - static void func_ov024_020d1ab8(unk32 param1, unk32 *param2, unk32 *param3); - static s32 func_ov024_020d1b98(unk32 *param1, unk32 param2); + static void func_ov024_020d1ab8(unk32 param1, unk32* param2, unk32* param3); + static s32 func_ov024_020d1b98(unk32* param1, unk32 param2); static s32 func_ov024_020d1be0(s32 param1); - static void func_ov024_020d1e20(unk16 *param1, unk32 param2); + static void func_ov024_020d1e20(unk16* param1, unk32 param2); static u8 func_ov024_020d1eac(const unk32 param1); }; @@ -1207,10 +1207,10 @@ struct UnkDataStruct4 { /* 08 */ unk32 mUnk_08; /* 0C */ unk32 mUnk_0C; /* 10 */ unk32 mUnk_10; - /* 14 */ UnkDataStruct4_14_2 *mUnk_14[20]; - /* 64 */ UnkDataStruct4_14_2 *mUnk_64; + /* 14 */ UnkDataStruct4_14_2* mUnk_14[20]; + /* 64 */ UnkDataStruct4_14_2* mUnk_64; /* 68 */ VecFx32 mUnk_68[8]; - /* C8 */ VecFx32 *mUnk_C8; + /* C8 */ VecFx32* mUnk_C8; /* CC */ u32 mSceneIndex; /* D0 */ @@ -1223,8 +1223,8 @@ struct UnkDataStruct4 { void func_ov024_020d2518(); void func_ov024_020d251c(); - void func_ov024_020d2520(EntranceInfo *param1); - void func_ov024_020d2538(u32 sceneIndex, u8 roomIndex, UnkDataStruct4_14_2 *param3); + void func_ov024_020d2520(EntranceInfo* param1); + void func_ov024_020d2538(u32 sceneIndex, u8 roomIndex, UnkDataStruct4_14_2* param3); void func_ov024_020d2564(); void func_ov024_020d258c(u32 sceneIndex, u8 roomIndex); void func_ov024_020d26b0(unk32 param1); @@ -1233,16 +1233,16 @@ struct UnkDataStruct4 { void func_ov024_020d280c(); void func_ov024_020d29b0(unk32 param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5); bool func_ov024_020d2a18(unk32 param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5); - void func_ov024_020d2b08(unk32 param1, unk32 param2, VecFx32 *param3) const; + void func_ov024_020d2b08(unk32 param1, unk32 param2, VecFx32* param3) const; void func_ov024_020d2c54(UnkArrayDataType1 param1, unk32 param2); void func_ov024_020d2cfc(UnkArrayDataType1 param1, unk32 param2, unk32 param3); s32 func_ov024_020d3068() const; - bool func_ov024_020d308c(fx32 *param1, fx32 *param2, unk16 param3) const; + bool func_ov024_020d308c(fx32* param1, fx32* param2, unk16 param3) const; void func_ov024_020d3100(); void func_ov024_020d3140(); - static void func_ov024_020d2b40(Vec2s *param1, const UnkDataStruct4 *thisx); - static void func_ov024_020d2bcc(Vec2s *param1, const UnkDataStruct4 *thisx); + static void func_ov024_020d2b40(Vec2s* param1, const UnkDataStruct4* thisx); + static void func_ov024_020d2bcc(Vec2s* param1, const UnkDataStruct4* thisx); }; struct UnkDataStruct3 { @@ -1255,10 +1255,10 @@ struct UnkDataStruct3 { }; struct InputInformations { - void *unk_00; - void *unk_04; - void *unk_08; - void *unk_0C; + void* unk_00; + void* unk_04; + void* unk_08; + void* unk_0C; }; class MapObjectProfile_Derived5 : public MapObjectProfile_Derived2_20_Base { @@ -1268,7 +1268,7 @@ class MapObjectProfile_Derived5 : public MapObjectProfile_Derived2_20_Base { MapObjectProfile_Derived5(s32 param1); MapObjectProfile_Derived5(u32 param1); - MapObjectProfile_Derived5(const char *directory, const char *archiveName, const char *param3, const char *param4, + MapObjectProfile_Derived5(const char* directory, const char* archiveName, const char* param3, const char* param4, unk32 param5, unk32 param6) : MapObjectProfile_Derived2_20_Base(directory, archiveName, param3, param4, param5, param6) {} @@ -1372,7 +1372,7 @@ struct UnkStackStruct_ov000_02084344 { /* 02 */ s16 mUnk_02; /* 04 */ unk32 mUnk_04; }; -extern "C" UnkStackStruct_ov000_02084344 *func_ov000_02084344(unk32); +extern "C" UnkStackStruct_ov000_02084344* func_ov000_02084344(unk32); struct UnkStackStruct_ov017_020c1104 { /* 00 */ VecFx32 unk_00; @@ -1382,8 +1382,8 @@ struct UnkStackStruct_ov017_020c1104 { /* 14 */ s16 unk_14[30]; /* 50 */ - void func_ov017_020c1104(const VecFx32 *param2, s32 param3, u16 param4); - void func_ov017_020c117c(const VecFx32 *param2, unk16 param3); + void func_ov017_020c1104(const VecFx32* param2, s32 param3, u16 param4); + void func_ov017_020c117c(const VecFx32* param2, unk16 param3); void func_ov017_020c12fc(u8 param2, unk16 param3); void func_ov017_020c13b4(); }; @@ -1398,16 +1398,16 @@ struct UnkStruct_ov021_02106c5c { class UnkStruct_ov031_Items_00_Base; struct UnkStruct_ov031_020e5d18_00 { /* 00 */ RefStruct mUnk_00; - /* 04 */ const VecFx32 *mUnk_04; - /* 08 */ const VecFx32 *mUnk_08; + /* 04 */ const VecFx32* mUnk_04; + /* 08 */ const VecFx32* mUnk_08; /* 0C */ s16 mUnk_0C; - /* 10 */ VecFx32 *mUnk_10; - /* 14 */ UnkStruct_ov031_Items_00_Base *mUnk_14; + /* 10 */ VecFx32* mUnk_10; + /* 14 */ UnkStruct_ov031_Items_00_Base* mUnk_14; /* 18 */ // itcm - void func_01ffe6c4(RefStruct ref, const VecFx32 *param2, const VecFx32 *param3, s16 param4, VecFx32 *param5, - UnkStruct_ov031_Items_00_Base *param6); + void func_01ffe6c4(RefStruct ref, const VecFx32* param2, const VecFx32* param3, s16 param4, VecFx32* param5, + UnkStruct_ov031_Items_00_Base* param6); }; class ActorBomb_unk : public UnkSystem7 { @@ -1421,7 +1421,7 @@ class ActorBomb_unk : public UnkSystem7 { }; struct UnkDataStruct5 { - const char *entries[64]; + const char* entries[64]; u32 numEntries; }; @@ -1445,9 +1445,9 @@ class PlayerLinkActor; class PlayerLinkActor_9C; class PlayerLinkActor_A0; struct PlayerLinkActor_A0_84 { - /* 00 */ UnkStruct_027e0ce0_40 *unk_00; - /* 04 */ PlayerLinkActor *mpLink; - /* 08 */ PlayerLinkActor_9C *unk_08; - /* 0C */ PlayerLinkActor_A0 *unk_0C; + /* 00 */ UnkStruct_027e0ce0_40* unk_00; + /* 04 */ PlayerLinkActor* mpLink; + /* 08 */ PlayerLinkActor_9C* unk_08; + /* 0C */ PlayerLinkActor_A0* unk_0C; /* 10 */ }; diff --git a/include/Unknown/UICounterManager.hpp b/include/Unknown/UICounterManager.hpp index ba70cee52..486c6bd06 100644 --- a/include/Unknown/UICounterManager.hpp +++ b/include/Unknown/UICounterManager.hpp @@ -77,13 +77,13 @@ class UnkStruct_020d8698_24_5C_Base { /* 94 */ unk32 mUnk_94; /* 98 */ - UnkStruct_020d8698_24_5C_Base(unk32 param1, const u16 *param2, u16 param3, unk32 param4); + UnkStruct_020d8698_24_5C_Base(unk32 param1, const u16* param2, u16 param3, unk32 param4); void func_ov000_02065884(); void func_ov000_0206590c(u16 param1, unk32 param2); void func_ov000_02065930(); - void func_ov000_02065988(u16 param1, const u16 *param2); - void func_ov000_020659d0(unk8 *param1, UnkDataStruct1 *param2); + void func_ov000_02065988(u16 param1, const u16* param2); + void func_ov000_020659d0(unk8* param1, UnkDataStruct1* param2); }; class UnkStruct_020d8698_24_5C : public UnkStruct_020d8698_24_5C_Base { @@ -93,7 +93,7 @@ class UnkStruct_020d8698_24_5C : public UnkStruct_020d8698_24_5C_Base { /* 98 */ unk32 mUnk_9C; /* A0 */ - UnkStruct_020d8698_24_5C(unk32 param1, const u16 *param2, u16 param3, unk32 param4); + UnkStruct_020d8698_24_5C(unk32 param1, const u16* param2, u16 param3, unk32 param4); void func_ov000_02065b48(unk32 param1, unk32 param2); void func_ov000_02065b8c(); @@ -116,7 +116,7 @@ class UICounter_Rupees { void func_ov024_020ce518(); void func_ov024_020ce570(); void func_ov024_020ce5cc(); - void func_ov024_020ce88c(unk8 *param1); + void func_ov024_020ce88c(unk8* param1); void func_ov024_020ce990(bool param1, bool param2); void func_ov024_020ce9ac(); }; @@ -137,12 +137,12 @@ class UnkStruct_020d8698_2C_14C { UnkStruct_020d8698_2C_14C(); - void func_ov000_02060c50(const wchar_t *path, UnkStruct_020d8698_2C_198 *param2, unk32 param3, - UnkStruct_ov019_020d24c8_28_258_00 *param4); // is param3 sizeof(param2)? + void func_ov000_02060c50(const wchar_t* path, UnkStruct_020d8698_2C_198* param2, unk32 param3, + UnkStruct_ov019_020d24c8_28_258_00* param4); // is param3 sizeof(param2)? void func_ov000_02060c7c(unk32 param1); void func_ov000_02060d7c(unk32 param1, u16 param2); void func_ov000_02060db8(u16 param1); - void func_ov000_02060e3c(unk32 param1, const char *filename, wchar_t *param3); + void func_ov000_02060e3c(unk32 param1, const char* filename, wchar_t* param3); }; class UICounter_Cargo { @@ -178,7 +178,7 @@ class UICounter_Cargo { void func_ov024_020cee64(); void func_ov024_020cee84(); void func_ov024_020cef58(); - void func_ov024_020cf2b8(unk8 *param1); + void func_ov024_020cf2b8(unk8* param1); void func_ov024_020cf494(bool param1); void func_ov024_020cf4c4(); void func_ov024_020cf514(); @@ -237,24 +237,24 @@ class UICounter_Items : public LinkList { class UICounterManager : public GameModeManagerBase_104, AutoInstance { public: /* 000 (base) */ - /* 01C */ UICounter_Health *mpHealth; + /* 01C */ UICounter_Health* mpHealth; /* 020 */ bool mUnk_020; - /* 024 */ UICounter_Rupees *mpRupees; + /* 024 */ UICounter_Rupees* mpRupees; /* 028 */ bool mUnk_028; - /* 02C */ UICounter_Cargo *mpCargo; + /* 02C */ UICounter_Cargo* mpCargo; /* 030 */ bool mUnk_030; - /* 034 */ UICounter_SmallKeys *mpKeys; + /* 034 */ UICounter_SmallKeys* mpKeys; /* 038 */ bool mUnk_038; - /* 03C */ UICounter_TearsOfLight *mpTears; + /* 03C */ UICounter_TearsOfLight* mpTears; /* 040 */ bool mUnk_040; - /* 044 */ UICounter_Items *mpItems; + /* 044 */ UICounter_Items* mpItems; /* 048 */ bool mUnk_048; UICounterManager(); /* 00 */ virtual ~UICounterManager(); - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl); - /* 10 */ virtual void vfunc_10(unk8 *param1); + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl); + /* 10 */ virtual void vfunc_10(unk8* param1); void func_ov024_020cd094(); void func_ov024_020cd150(); @@ -274,7 +274,7 @@ class UICounterManager : public GameModeManagerBase_104, AutoInstancedata = from.data; #else @@ -31,11 +31,11 @@ union Date { return !(*this == other); } - bool operator==(Date &other) { + bool operator==(Date& other) { return this->data[0] == other.data[0]; } - bool operator!=(Date &other) { + bool operator!=(Date& other) { return !(*this == other); } }; @@ -49,7 +49,7 @@ class UnkStruct_02049bac { UnkStruct_02049bac(); ~UnkStruct_02049bac(); - void func_02014a34(Date *param1); + void func_02014a34(Date* param1); u64 func_02014b00(); }; diff --git a/include/Unknown/UnkStruct_02049be0.hpp b/include/Unknown/UnkStruct_02049be0.hpp index a74dd6774..d24d5ccd2 100644 --- a/include/Unknown/UnkStruct_02049be0.hpp +++ b/include/Unknown/UnkStruct_02049be0.hpp @@ -10,7 +10,7 @@ class UnkStruct_02049be0 { UnkStruct_02049be0(); ~UnkStruct_02049be0(); - char *func_02014ff4(); + char* func_02014ff4(); }; extern UnkStruct_02049be0 data_02049be0; diff --git a/include/Unknown/UnkStruct_0204a060.hpp b/include/Unknown/UnkStruct_0204a060.hpp index e3ba6a36c..2ee69f1c2 100644 --- a/include/Unknown/UnkStruct_0204a060.hpp +++ b/include/Unknown/UnkStruct_0204a060.hpp @@ -74,7 +74,7 @@ class UnkStruct_0204a060 : public UnkStruct_0204a060_Base { void func_020183c0(void); bool func_020183d4(bool param1, GameModeCreateCallback createFunc, unk32 param3); - static GameModeFileSelect *func_02018424(void); + static GameModeFileSelect* func_02018424(void); // data_02044048 vtable /* 00 */ virtual ~UnkStruct_0204a060() override; diff --git a/include/Unknown/UnkStruct_0204a088.hpp b/include/Unknown/UnkStruct_0204a088.hpp index 348ed2f21..c2ea18254 100644 --- a/include/Unknown/UnkStruct_0204a088.hpp +++ b/include/Unknown/UnkStruct_0204a088.hpp @@ -39,14 +39,14 @@ class UnkStruct_0204a088 : public AutoInstance { } const bool IsUnknownCheck3(unk32 value1, unk32 value2) const { - return *(volatile u32 *) &this->mUnk_04 != value1 || this->mUnk_08 != value2; + return *(volatile u32*) &this->mUnk_04 != value1 || this->mUnk_08 != value2; } UnkStruct_0204a088(); // overlay 0 void func_ov000_02061098(void); - void func_ov000_020611dc(FileSelectManager_UnkDrawBase *param1, unk32 param2); + void func_ov000_020611dc(FileSelectManager_UnkDrawBase* param1, unk32 param2); bool func_ov000_020611fc(unk32 param2); // sets new index void func_ov000_02061224(void); void func_ov000_02061230(void); @@ -55,7 +55,7 @@ class UnkStruct_0204a088 : public AutoInstance { // overlay 1 void func_ov001_020bd6f8(); - static UnkStruct_0204a088 *Create(); + static UnkStruct_0204a088* Create(); }; -extern UnkStruct_0204a088 *data_0204a088; +extern UnkStruct_0204a088* data_0204a088; diff --git a/include/Unknown/UnkStruct_0204a110.hpp b/include/Unknown/UnkStruct_0204a110.hpp index 1c7dafd85..9adc079d5 100644 --- a/include/Unknown/UnkStruct_0204a110.hpp +++ b/include/Unknown/UnkStruct_0204a110.hpp @@ -10,7 +10,7 @@ class GameModeManagerBase; class UnkStruct_0204a110_Sub2; -typedef GameModeManagerBase *(*GameModeMgrCreateCallback)(UnkStruct_0204a110_Sub2 *param1); +typedef GameModeManagerBase* (*GameModeMgrCreateCallback)(UnkStruct_0204a110_Sub2* param1); struct UnkStruct_0204a110_Sub2_000_158 { u32 mUnk_00[3]; @@ -86,7 +86,7 @@ struct UnkStruct_0204a110_Sub3_400 { /* 00 */ unk32 mUnk_00; /* 04 */ unk32 mUnk_04; /* 08 */ unk32 mUnk_08; - /* 0C */ UnkStruct_0204a110_Sub3_00 *mUnk_0C; + /* 0C */ UnkStruct_0204a110_Sub3_00* mUnk_0C; /* 10 */ }; @@ -176,16 +176,16 @@ class UnkStruct_0204a110_Sub7 { /* 01 */ unk8 mUnk_01; /* 02 */ unk8 mUnk_02; /* 03 */ unk8 mUnk_03; - /* 04 */ UnkSystem2_UnkSubSystem9 *mUnk_04; - /* 08 */ UnkStruct_0204a110_Sub7_08 *mUnk_08; + /* 04 */ UnkSystem2_UnkSubSystem9* mUnk_04; + /* 08 */ UnkStruct_0204a110_Sub7_08* mUnk_08; /* 0C */ MtxFx22 mUnk_0C; /* 1C */ UnkStruct_0204a110_Sub7(); - void func_0201db14(unk32 param1, unk32 param2, Vec2s *param3, Vec2s *param4, unk32 param5, unk32 param6); + void func_0201db14(unk32 param1, unk32 param2, Vec2s* param3, Vec2s* param4, unk32 param5, unk32 param6); void func_0201dd58(unk32 param1, unk32 param2); - void func_0201dc10(s16 *param1, unk32 param2, unk32 param3); + void func_0201dc10(s16* param1, unk32 param2, unk32 param3); void func_0201d628(); }; @@ -197,9 +197,9 @@ class UnkStruct_0204a110_Sub8 { /* 08 */ unk8 mUnk_09; /* 08 */ unk8 mUnk_0A; /* 08 */ unk8 mUnk_0B; - /* 0C */ UnkSystem2_UnkSubSystem9 *mUnk_0C; + /* 0C */ UnkSystem2_UnkSubSystem9* mUnk_0C; - UnkSystem2_UnkSubSystem9 *GetUnk0C() { + UnkSystem2_UnkSubSystem9* GetUnk0C() { return this->mUnk_0C; } @@ -245,7 +245,7 @@ class UnkStruct_0204a110 { /* DBC */ PAD(0xDBC, 0xDC0); /* DC0 */ UnkStruct_0204a110_Sub7 mUnk_DC0; /* DDC */ UnkStruct_0204a110_Sub8 mUnk_DDC; - /* DEC */ GameModeManagerBase *mpManager; + /* DEC */ GameModeManagerBase* mpManager; /* DF0 */ u16 mUnk_DF0; /* DF2 */ s8 mUnk_DF2; /* DF3 */ unk8 mUnk_DF3; @@ -262,11 +262,11 @@ class UnkStruct_0204a110 { /* E06 */ unk16 mUnk_E06; // pad? /* E08 */ - UnkStruct_0204a110_Sub5 *GetUnkD9C() { + UnkStruct_0204a110_Sub5* GetUnkD9C() { return &this->mUnk_D9C; } - UnkStruct_0204a110_Sub8 *GetUnkDDC() { + UnkStruct_0204a110_Sub8* GetUnkDDC() { return &this->mUnk_DDC; } @@ -282,7 +282,7 @@ class UnkStruct_0204a110 { void func_02018c90(unk32 param1); void func_02018d34(); void func_02018d78(unk32 param1); - void func_020195a0(const char *param1, unk32 param2, unk32 param3, unk32 param4); + void func_020195a0(const char* param1, unk32 param2, unk32 param3, unk32 param4); void func_0201967c(unk32 param2, unk32 param3, unk32 param4, unk32 param5, unk32 param6); void func_02019538(unk32 param1, unk32 param2); unk32 func_02019300(unk32 param1); @@ -294,7 +294,7 @@ class UnkStruct_0204a110 { bool func_02019514(); void func_02019528(); bool func_02019548(); - UnkStruct_func_02019590 *func_02019590(unk16 param1, unk32 param2); + UnkStruct_func_02019590* func_02019590(unk16 param1, unk32 param2); unk32 func_01ff9b64(); unk32 func_01ff9b78(); diff --git a/include/Unknown/UnkStruct_0204af1c.hpp b/include/Unknown/UnkStruct_0204af1c.hpp index 8304d9b3f..21e27aae5 100644 --- a/include/Unknown/UnkStruct_0204af1c.hpp +++ b/include/Unknown/UnkStruct_0204af1c.hpp @@ -22,9 +22,9 @@ class UnkStruct_0204af1c { UnkStruct_0204af1c(); void func_0201a800(); - void func_0201aa44(UnkStruct_ov019_020d24c8_28_258_00 *param1, void *param2, unk32 param3, void *param4); - void func_0201aad0(CellAnimObject *param1, void *param2, unk32 param3, void *param4); - void func_0201aa8c(UnkStruct_ov019_020d24c8_28_258_00 *param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5); + void func_0201aa44(UnkStruct_ov019_020d24c8_28_258_00* param1, void* param2, unk32 param3, void* param4); + void func_0201aad0(CellAnimObject* param1, void* param2, unk32 param3, void* param4); + void func_0201aa8c(UnkStruct_ov019_020d24c8_28_258_00* param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5); }; extern UnkStruct_0204af1c data_0204af1c; diff --git a/include/Unknown/UnkStruct_0204e5f8.hpp b/include/Unknown/UnkStruct_0204e5f8.hpp index d85e8032a..635229d5f 100644 --- a/include/Unknown/UnkStruct_0204e5f8.hpp +++ b/include/Unknown/UnkStruct_0204e5f8.hpp @@ -42,7 +42,7 @@ class UnkStruct_0204e5f8 { /* 3E */ u16 mUnk_3E; UnkStruct_0204e5f8(); - void func_0201b9a8(void *param1); + void func_0201b9a8(void* param1); }; extern UnkStruct_0204e5f8 data_0204e5f8; diff --git a/include/Unknown/UnkStruct_027e0954.hpp b/include/Unknown/UnkStruct_027e0954.hpp index 2f252352f..d3595e15c 100644 --- a/include/Unknown/UnkStruct_027e0954.hpp +++ b/include/Unknown/UnkStruct_027e0954.hpp @@ -23,8 +23,8 @@ class UnkStruct_027e0954 : public AutoInstance { ~UnkStruct_027e0954() {} // overlay 0 - static UnkStruct_027e0954 *Create(); + static UnkStruct_027e0954* Create(); static void Destroy(); }; -extern UnkStruct_027e0954 *data_027e0954; +extern UnkStruct_027e0954* data_027e0954; diff --git a/include/Unknown/UnkStruct_027e0958.hpp b/include/Unknown/UnkStruct_027e0958.hpp index 930682e19..56cffb17b 100644 --- a/include/Unknown/UnkStruct_027e0958.hpp +++ b/include/Unknown/UnkStruct_027e0958.hpp @@ -11,10 +11,10 @@ class UnkStruct_027e0958 : public AutoInstance { ~UnkStruct_027e0958() {} // overlay 0 - static UnkStruct_027e0958 *Create(); + static UnkStruct_027e0958* Create(); static void Destroy(); - void func_ov000_02058fc4(UnkStruct_PlayerGet_74_base *param1, VecFx32 *param2); + void func_ov000_02058fc4(UnkStruct_PlayerGet_74_base* param1, VecFx32* param2); }; -extern UnkStruct_027e0958 *data_027e0958; +extern UnkStruct_027e0958* data_027e0958; diff --git a/include/Unknown/UnkStruct_027e095c.hpp b/include/Unknown/UnkStruct_027e095c.hpp index 9cd3c2049..2d4cb2662 100644 --- a/include/Unknown/UnkStruct_027e095c.hpp +++ b/include/Unknown/UnkStruct_027e095c.hpp @@ -11,19 +11,19 @@ class UnkStruct_027e095c : public AutoInstance { /* 000 */ VecFx32 mUnk_000[64]; /* 300 */ unk32 mUnk_2F4; /* 304 */ PAD(0x304, 0x900); - /* 900 */ void *mUnk_8DC; + /* 900 */ void* mUnk_8DC; /* 904 */ unk32 mUnk_8E0; /* 908 */ PAD(0x908, 0x964); - /* 960 */ void *mUnk_940; + /* 960 */ void* mUnk_940; /* 968 */ #else /* 000 */ VecFx32 mUnk_000[63]; //! TODO: used for G3_TexImageParam/G3_TexPlttBase operations, right type? /* 2F4 */ unk32 mUnk_2F4; /* 2F8 */ PAD(0x2F8, 0x8DC); - /* 8DC */ void *mUnk_8DC; + /* 8DC */ void* mUnk_8DC; /* 8E0 */ unk32 mUnk_8E0; /* 8E4 */ PAD(0x8E4, 0x940); - /* 940 */ void *mUnk_940; + /* 940 */ void* mUnk_940; /* 944 */ #endif @@ -35,8 +35,8 @@ class UnkStruct_027e095c : public AutoInstance { void func_ov000_020592a0(); // overlay 1 - static UnkStruct_027e095c *Create(); + static UnkStruct_027e095c* Create(); static void Destroy(); }; -extern UnkStruct_027e095c *data_027e095c; +extern UnkStruct_027e095c* data_027e095c; diff --git a/include/Unknown/UnkStruct_027e0960.hpp b/include/Unknown/UnkStruct_027e0960.hpp index a7a5ed001..ae4b8d2b7 100644 --- a/include/Unknown/UnkStruct_027e0960.hpp +++ b/include/Unknown/UnkStruct_027e0960.hpp @@ -10,7 +10,7 @@ class UnkStruct_027e0960_TableEntry_04_Base { /* 00 (vtable) */ /* 04 */ unk8 mUnk_04; /* 08 */ unk32 mUnk_08; - /* 0C */ UnkStruct_027e0960_TableEntry_04_Base *mUnk_0C; + /* 0C */ UnkStruct_027e0960_TableEntry_04_Base* mUnk_0C; /* 10 */ unk32 mUnk_10; /* 14 */ @@ -19,21 +19,21 @@ class UnkStruct_027e0960_TableEntry_04_Base { // data_02043ff0 /* 00 */ virtual ~UnkStruct_027e0960_TableEntry_04_Base(); /* 08 */ virtual void vfunc_08(); - /* 0C */ virtual void vfunc_0C(VecFx32 *param1) = 0; + /* 0C */ virtual void vfunc_0C(VecFx32* param1) = 0; /* 10 */ virtual void vfunc_10() = 0; /* 14 */ virtual void vfunc_14() = 0; - /* 18 */ virtual UnkStruct_027e0960_TableEntry_04_Base *vfunc_18(unk32 param1) = 0; + /* 18 */ virtual UnkStruct_027e0960_TableEntry_04_Base* vfunc_18(unk32 param1) = 0; /* 1C */ virtual u32 vfunc_1C() = 0; /* 20 */ // main - bool func_02017930(UnkStruct_027e0960_TableEntry_04_Base *param1); + bool func_02017930(UnkStruct_027e0960_TableEntry_04_Base* param1); }; class UnkStruct_027e0960_TableEntry_04 : public UnkStruct_027e0960_TableEntry_04_Base { public: /* 00 (base) */ - /* 14 */ UnkStruct_027e0960_TableEntry_04_Base *mUnk_14[2]; + /* 14 */ UnkStruct_027e0960_TableEntry_04_Base* mUnk_14[2]; /* 1C */ unk32 mUnk_1C; /* 20 */ unk16 mUnk_20; /* 22 */ unk16 mUnk_22; @@ -42,10 +42,10 @@ class UnkStruct_027e0960_TableEntry_04 : public UnkStruct_027e0960_TableEntry_04 // data_ov000_020b1bbc /* 00 */ virtual ~UnkStruct_027e0960_TableEntry_04() override; /* 08 */ virtual void vfunc_08() override; - /* 0C */ virtual void vfunc_0C(VecFx32 *param1) override; + /* 0C */ virtual void vfunc_0C(VecFx32* param1) override; /* 10 */ virtual void vfunc_10() override; /* 14 */ virtual void vfunc_14() override; - /* 18 */ virtual UnkStruct_027e0960_TableEntry_04 *vfunc_18(unk32 param1) override; + /* 18 */ virtual UnkStruct_027e0960_TableEntry_04* vfunc_18(unk32 param1) override; /* 1C */ virtual u32 vfunc_1C() override; }; @@ -58,7 +58,7 @@ class UnkStruct_027e0960_TableEntry_04_Base_Derived1 : public UnkStruct_027e0960 class UnkStruct_027e0960_TableEntry { public: - /* 00 */ ZMBEntryRALB *pRALB; + /* 00 */ ZMBEntryRALB* pRALB; /* 04 */ Iterator mTable; /* 0C */ @@ -66,7 +66,7 @@ class UnkStruct_027e0960_TableEntry { ~UnkStruct_027e0960_TableEntry(); bool func_ov000_02059ccc(u8 param1, u8 param2); - u8 func_ov000_02059da4(const VecFx32 *param1); + u8 func_ov000_02059da4(const VecFx32* param1); }; class UnkStruct_027e0960 : public AutoInstance { @@ -84,17 +84,17 @@ class UnkStruct_027e0960 : public AutoInstance { void func_ov000_0205a164(); void func_ov000_0205a1a4(); void func_ov000_0205a1fc(u8 nEntries); - void func_ov000_0205a288(unk32 index, const ZMBEntryRALB *pEntry); - void func_ov000_0205a2a4(volatile unk32 index, ZMBRALBPoint *pPoint); + void func_ov000_0205a288(unk32 index, const ZMBEntryRALB* pEntry); + void func_ov000_0205a2a4(volatile unk32 index, ZMBRALBPoint* pPoint); void func_ov000_0205a2c8(); - UnkStruct_027e0960_TableEntry *func_ov000_0205a390(u8 param1); - UnkStruct_027e0960_TableEntry *func_ov000_0205a3fc(VecFx32 param1, unk32 param2); + UnkStruct_027e0960_TableEntry* func_ov000_0205a390(u8 param1); + UnkStruct_027e0960_TableEntry* func_ov000_0205a3fc(VecFx32 param1, unk32 param2); - static UnkStruct_027e0960 *Create(); + static UnkStruct_027e0960* Create(); // overlay 1 static void Destroy(); }; // path manager? -extern UnkStruct_027e0960 *data_027e0960; +extern UnkStruct_027e0960* data_027e0960; diff --git a/include/Unknown/UnkStruct_027e0998.hpp b/include/Unknown/UnkStruct_027e0998.hpp index 6240bdc05..47eac56e4 100644 --- a/include/Unknown/UnkStruct_027e0998.hpp +++ b/include/Unknown/UnkStruct_027e0998.hpp @@ -17,17 +17,17 @@ class UnkStruct_027e0998_Base { UnkStruct_027e0998_Base(); // data_ov000_020b1e08 - /* 00 */ virtual bool vfunc_00(VecFx32 *pPos, Vec2s *param2, RefStruct *param3); + /* 00 */ virtual bool vfunc_00(VecFx32* pPos, Vec2s* param2, RefStruct* param3); /* 04 */ void func_ov000_02061760(); void func_ov000_02061764(); void func_ov000_02061768(); void func_ov000_02061850(unk32 param1); - bool func_ov000_02061a48(VecFx32 *param1, Vec2s *param2, Vec2s *param3); + bool func_ov000_02061a48(VecFx32* param1, Vec2s* param2, Vec2s* param3); unk32 func_ov000_02061a70(); - static void SetInstance(UnkStruct_027e0998_Base *pInstance); + static void SetInstance(UnkStruct_027e0998_Base* pInstance); }; class UnkStruct_027e0998 : public UnkStruct_027e0998_Base { @@ -38,17 +38,17 @@ class UnkStruct_027e0998 : public UnkStruct_027e0998_Base { ~UnkStruct_027e0998(); // ClearInstance // data_ov024_020d7c98 - /* 00 */ virtual bool vfunc_00(VecFx32 *pPos, Vec2s *param2, RefStruct *param3) override; + /* 00 */ virtual bool vfunc_00(VecFx32* pPos, Vec2s* param2, RefStruct* param3) override; /* 04 */ bool func_ov024_020c716c(); - bool func_ov024_020c7214(VecFx32 *pPos, Vec2s *param2, RefStruct *param3); - bool func_ov024_020c727c(Vec2s *param1, RefStruct *param2); + bool func_ov024_020c7214(VecFx32* pPos, Vec2s* param2, RefStruct* param3); + bool func_ov024_020c727c(Vec2s* param1, RefStruct* param2); bool func_ov024_020c7300(unk32 param1); bool func_ov024_020c7354(); static void Destroy(); - static UnkStruct_027e0998 *Create(); + static UnkStruct_027e0998* Create(); }; -extern UnkStruct_027e0998 *data_027e0998; +extern UnkStruct_027e0998* data_027e0998; diff --git a/include/Unknown/UnkStruct_027e09a0.hpp b/include/Unknown/UnkStruct_027e09a0.hpp index 90a6dba16..164335129 100644 --- a/include/Unknown/UnkStruct_027e09a0.hpp +++ b/include/Unknown/UnkStruct_027e09a0.hpp @@ -30,27 +30,27 @@ class CourseInitBinary { class UnkStruct_027e09a0 : public AutoInstance { public: - /* 00 */ CourseListEntry **mpCourseTable; // elements from courselist.clb - /* 04 */ UnkFileSystem5 *mpCourseFile; + /* 00 */ CourseListEntry** mpCourseTable; // elements from courselist.clb + /* 04 */ UnkFileSystem5* mpCourseFile; /* 08 */ unk8 mUnk_08[0x10]; /* 18 */ UnkStruct_027e09a0(); ~UnkStruct_027e09a0(); - CourseListEntry *GetCourseEntry(u32 sceneIndex); - UnkStruct_func_ov000_020702a8 *func_ov000_020702a8(u32 sceneIndex); + CourseListEntry* GetCourseEntry(u32 sceneIndex); + UnkStruct_func_ov000_020702a8* func_ov000_020702a8(u32 sceneIndex); unk32 GetRoomEntryIndex(); - CourseListRoomEntry *GetRoomEntry(u32 sceneIndex, unk32 param2); - u32 GetSceneIndexFromName(const char *sceneName); + CourseListRoomEntry* GetRoomEntry(u32 sceneIndex, unk32 param2); + u32 GetSceneIndexFromName(const char* sceneName); bool func_ov000_02070378(u32 param1); - void func_ov000_02070310(u32 sceneIndex, u8 roomIndex, void *param3); + void func_ov000_02070310(u32 sceneIndex, u8 roomIndex, void* param3); // overlay 1 void InitCourseTable(); - static UnkStruct_027e09a0 *Create(); + static UnkStruct_027e09a0* Create(); static void Destroy(); }; -extern UnkStruct_027e09a0 *data_027e09a0; +extern UnkStruct_027e09a0* data_027e09a0; diff --git a/include/Unknown/UnkStruct_027e09a4.hpp b/include/Unknown/UnkStruct_027e09a4.hpp index 6ee78c15e..79ef2db0a 100644 --- a/include/Unknown/UnkStruct_027e09a4.hpp +++ b/include/Unknown/UnkStruct_027e09a4.hpp @@ -48,7 +48,7 @@ struct EntranceInfo { this->unk_10 = 0; } - EntranceInfo(CutsceneParamsEntry *pEntry, bool isCS) { + EntranceInfo(CutsceneParamsEntry* pEntry, bool isCS) { u8 sceneIndex = pEntry->mSceneIndex; u8 cutsceneIndex = pEntry->mCutsceneIndex; u8 spawnIndex = pEntry->mSpawnIndex; @@ -66,7 +66,7 @@ struct EntranceInfo { this->unk_10 = 0; } - EntranceInfo(const ZMBEntryWARP *pEntry) { + EntranceInfo(const ZMBEntryWARP* pEntry) { SceneIndex sceneIndex = data_027e09a0->GetSceneIndexFromName(pEntry->destName); u8 unk_04 = pEntry->unk_01; s32 cutsceneIndex = CutsceneIndex_None; @@ -92,12 +92,12 @@ struct EntranceInfo { this->unk_10 = unk_10; } - EntranceInfo(const EntranceInfo *pSource) { - MI_CpuCopy32((void *) pSource, this, sizeof(EntranceInfo)); + EntranceInfo(const EntranceInfo* pSource) { + MI_CpuCopy32((void*) pSource, this, sizeof(EntranceInfo)); } - EntranceInfo(const EntranceInfo &refSource) { - MI_CpuCopy32((void *) &refSource, this, sizeof(EntranceInfo)); + EntranceInfo(const EntranceInfo& refSource) { + MI_CpuCopy32((void*) &refSource, this, sizeof(EntranceInfo)); } EntranceInfo(s32 sceneIndex, unk32 param2, unk16 param3, u8 roomIndex, u8 spawnIndex, bool isCS, u8 param7) { @@ -267,14 +267,14 @@ class UnkStruct_027e09a4_54_Base { /* 33 */ unk8 mUnk_33; /* 34 */ - UnkStruct_027e09a4_54_Base(unk32 *param1); + UnkStruct_027e09a4_54_Base(unk32* param1); - /* 00 */ virtual bool vfunc_00(void *param1); + /* 00 */ virtual bool vfunc_00(void* param1); /* 04 */ virtual ~UnkStruct_027e09a4_54_Base(); /* 0C */ virtual void vfunc_0C(); /* 10 */ - void func_ov001_020b6fa0(CourseListEntry *pCourseEntry); + void func_ov001_020b6fa0(CourseListEntry* pCourseEntry); void func_ov001_020b7048(); }; @@ -283,37 +283,37 @@ class UnkStruct_027e09a4_54_Derived1 : public UnkStruct_027e09a4_54_Base { /* 00 (base) */ /* 34 */ - UnkStruct_027e09a4_54_Derived1(unk32 *param1); + UnkStruct_027e09a4_54_Derived1(unk32* param1); // data_ov101_02183914 /* 0C */ virtual void vfunc_0C() override; - /* 10 */ virtual void vfunc_10(UnkStruct_StackTitleScreen *param1); + /* 10 */ virtual void vfunc_10(UnkStruct_StackTitleScreen* param1); /* 14 */ }; class UnkStruct_027e09a4_54_Type1 : public UnkStruct_027e09a4_54_Derived1 { public: - UnkStruct_027e09a4_54_Type1(UnkStruct_027e09a4 *param1); + UnkStruct_027e09a4_54_Type1(UnkStruct_027e09a4* param1); }; class UnkStruct_027e09a4_54_Type2 : public UnkStruct_027e09a4_54_Base { public: - UnkStruct_027e09a4_54_Type2(UnkStruct_027e09a4 *param1); + UnkStruct_027e09a4_54_Type2(UnkStruct_027e09a4* param1); }; class UnkStruct_027e09a4_54_Type3 : public UnkStruct_027e09a4_54_Base { public: - UnkStruct_027e09a4_54_Type3(UnkStruct_027e09a4 *param1); + UnkStruct_027e09a4_54_Type3(UnkStruct_027e09a4* param1); }; class UnkStruct_027e09a4_54_Type4 : public UnkStruct_027e09a4_54_Derived1 { public: - UnkStruct_027e09a4_54_Type4(UnkStruct_027e09a4 *param1); + UnkStruct_027e09a4_54_Type4(UnkStruct_027e09a4* param1); }; class UnkStruct_027e09a4_54_Type5 : public UnkStruct_027e09a4_54_Derived1 { public: - UnkStruct_027e09a4_54_Type5(UnkStruct_027e09a4 *param1); + UnkStruct_027e09a4_54_Type5(UnkStruct_027e09a4* param1); }; // loaded scene's game mode @@ -331,8 +331,8 @@ class UnkStruct_027e09a4 : public AutoInstance { /* 28 */ unk32 mUnk_28; /* 2C */ UnkStruct_027e09a4_2C mUnk_2C; /* 40 */ UnkStruct_027e09a4_2C mUnk_40; - /* 54 */ UnkStruct_027e09a4_54_Base *mUnk_54; - /* 58 */ UnkStruct_WarpUnk1 *mpWarpUnk1; + /* 54 */ UnkStruct_027e09a4_54_Base* mUnk_54; + /* 58 */ UnkStruct_WarpUnk1* mpWarpUnk1; /* 5C */ u16 mUnk_5C; /* 5E */ unk16 mUnk_5E; /* 60 */ SceneMode mSceneMode; @@ -407,45 +407,45 @@ class UnkStruct_027e09a4 : public AutoInstance { // itcm bool IsLand(); bool IsTrain(); - CourseListEntry *GetCurrentCourseEntry() const; + CourseListEntry* GetCurrentCourseEntry() const; // overlay 0 unk8 func_ov000_02070bd0(unk32 csIndex, unk32 param2); - EntranceInfo *func_ov000_02070560(); - void func_ov000_020707a8(void *param1); - void func_ov000_02070834(void *param1); + EntranceInfo* func_ov000_02070560(); + void func_ov000_020707a8(void* param1); + void func_ov000_02070834(void* param1); void func_ov000_0207087c(unk32 param1); void func_ov000_020708d8(unk32 param1); void func_ov000_02070938(unk32 param1); void func_ov000_02070a4c(unk32 param1); EntryTransitionType GetEntryTransitionType(); // func_ov000_02070554 - UnkStruct_WarpUnk1_A0 *func_ov000_02070538(); - bool func_ov000_02070a9c(EntranceInfo *param1); - bool func_ov000_02072154(EntranceInfo *param1, unk32 param2); + UnkStruct_WarpUnk1_A0* func_ov000_02070538(); + bool func_ov000_02070a9c(EntranceInfo* param1); + bool func_ov000_02072154(EntranceInfo* param1, unk32 param2); bool func_ov000_0207056c(); bool func_ov000_0207059c(); - void func_ov000_020705e8(GameSaveSlot *param1, unk32 param2); - unk32 func_ov000_02070c84(VecFx32 *, unk16); - void func_ov000_02070cc0(VecFx32 *, unk16); + void func_ov000_020705e8(GameSaveSlot* param1, unk32 param2); + unk32 func_ov000_02070c84(VecFx32*, unk16); + void func_ov000_02070cc0(VecFx32*, unk16); // overlay 1 void func_ov001_020b662c(); void func_ov001_020b66dc(); - void func_ov001_020b6758(const EntranceInfo *param1, bool param2); + void func_ov001_020b6758(const EntranceInfo* param1, bool param2); void func_ov001_020b68a4(bool param1, bool param2, bool param3); - void func_ov001_020b6924(const EntranceInfo *param1, bool param2); - void func_ov001_020b69b4(const EntranceInfo *param1, bool param2); + void func_ov001_020b6924(const EntranceInfo* param1, bool param2); + void func_ov001_020b69b4(const EntranceInfo* param1, bool param2); - static UnkStruct_027e09a4 *Create(unk32 param1); + static UnkStruct_027e09a4* Create(unk32 param1); // overlay 17 void func_ov017_020bb660(unk32 param1); - void func_ov017_020bb7f8(void *param1); - void func_ov017_020bb934(void *param1); - void func_ov017_020bb994(s8 *param1); + void func_ov017_020bb7f8(void* param1); + void func_ov017_020bb934(void* param1); + void func_ov017_020bb994(s8* param1); static void func_ov025_020c4a60(); static void Destroy(); }; -extern UnkStruct_027e09a4 *data_027e09a4; +extern UnkStruct_027e09a4* data_027e09a4; diff --git a/include/Unknown/UnkStruct_027e09a8.hpp b/include/Unknown/UnkStruct_027e09a8.hpp index c085ef304..16f3cc5f6 100644 --- a/include/Unknown/UnkStruct_027e09a8.hpp +++ b/include/Unknown/UnkStruct_027e09a8.hpp @@ -12,21 +12,21 @@ class UnkStruct_027e09a8 : public AutoInstance { // overlay 0 void func_ov000_020713bc(); void func_ov000_020716dc(unk32 param1); - void func_ov000_02071700(unk32 param1, VecFx32 *pPos); - void func_ov000_02071774(RefStruct *pRef, unk32 param2, VecFx32 *pPos); - void func_ov000_020717cc(unk32 param1, VecFx32 *pPos); - void func_ov000_02071934(u32 param1, VecFx32 *pPos, ActorId param3, unk32 param4); - u16 func_ov000_02071b30(unk32 param1, VecFx32 *pPos, unk32 param3); - void func_ov000_02071bd4(unk32 param1, VecFx32 *pPos, unk32 param3); + void func_ov000_02071700(unk32 param1, VecFx32* pPos); + void func_ov000_02071774(RefStruct* pRef, unk32 param2, VecFx32* pPos); + void func_ov000_020717cc(unk32 param1, VecFx32* pPos); + void func_ov000_02071934(u32 param1, VecFx32* pPos, ActorId param3, unk32 param4); + u16 func_ov000_02071b30(unk32 param1, VecFx32* pPos, unk32 param3); + void func_ov000_02071bd4(unk32 param1, VecFx32* pPos, unk32 param3); void func_ov000_02071c64(unk32 param1, s16 param2); - void func_ov000_02071c90(unk32 param1, VecFx32 *pPos, unk32 param3); - void func_ov000_02071d34(RefStruct *pRef, unk32 param2, VecFx32 *pPos, unk32 param4); - void func_ov000_02071eac(VecFx32 *pPos); + void func_ov000_02071c90(unk32 param1, VecFx32* pPos, unk32 param3); + void func_ov000_02071d34(RefStruct* pRef, unk32 param2, VecFx32* pPos, unk32 param4); + void func_ov000_02071eac(VecFx32* pPos); - static UnkStruct_027e09a8 *Create(); + static UnkStruct_027e09a8* Create(); // overlay 1 static void Destroy(); }; -extern UnkStruct_027e09a8 *data_027e09a8; +extern UnkStruct_027e09a8* data_027e09a8; diff --git a/include/Unknown/UnkStruct_027e09ac.hpp b/include/Unknown/UnkStruct_027e09ac.hpp index caeafc3a4..6c9653d2e 100644 --- a/include/Unknown/UnkStruct_027e09ac.hpp +++ b/include/Unknown/UnkStruct_027e09ac.hpp @@ -79,17 +79,17 @@ class UnkStruct_027e09ac : public AutoInstance, public UnkSt // overlay 0 void func_ov000_020723f4(); - void func_ov000_02072684(void *param1); + void func_ov000_02072684(void* param1); void func_ov000_020726f0(u16 param1, unk32 param2, unk32 param3); - void func_ov000_020729c4(UnkStruct_027e09ac_14 *param1, u16 param2, u16 param3, s16 param4, s16 param5); + void func_ov000_020729c4(UnkStruct_027e09ac_14* param1, u16 param2, u16 param3, s16 param4, s16 param5); void func_ov000_02072b08(unk32 param1, unk32 param2); // overlay 1 void func_ov001_020bebb8(); void func_ov001_020bec8c(); - static UnkStruct_027e09ac *Create(); + static UnkStruct_027e09ac* Create(); static void Destroy(); }; -extern UnkStruct_027e09ac *data_027e09ac; +extern UnkStruct_027e09ac* data_027e09ac; diff --git a/include/Unknown/UnkStruct_027e09b0.hpp b/include/Unknown/UnkStruct_027e09b0.hpp index ede6b1b74..9158d704b 100644 --- a/include/Unknown/UnkStruct_027e09b0.hpp +++ b/include/Unknown/UnkStruct_027e09b0.hpp @@ -11,12 +11,12 @@ class UnkStruct_027e09b0 : public AutoInstance { ~UnkStruct_027e09b0(); // overlay 0 - unk16 *func_ov000_02072cb4(unk32 param1); + unk16* func_ov000_02072cb4(unk32 param1); void func_ov000_02072cc4(unk32 param1, unk32 param2); // overlay 1 - static UnkStruct_027e09b0 *Create(); + static UnkStruct_027e09b0* Create(); static void Destroy(); }; -extern UnkStruct_027e09b0 *data_027e09b0; +extern UnkStruct_027e09b0* data_027e09b0; diff --git a/include/Unknown/UnkStruct_027e09b4.hpp b/include/Unknown/UnkStruct_027e09b4.hpp index d246c5fb8..958e52f6b 100644 --- a/include/Unknown/UnkStruct_027e09b4.hpp +++ b/include/Unknown/UnkStruct_027e09b4.hpp @@ -18,7 +18,7 @@ struct UnkStruct_027e09b4_00 { class UnkStruct_027e09b4 : public AutoInstance { public: /* 000 */ UnkStruct_027e09b4_00 mUnk_000[32]; - /* 300 */ UnkStruct_027e09b4_00 *mUnk_300; + /* 300 */ UnkStruct_027e09b4_00* mUnk_300; /* 304 */ unk32 mUnk_304; /* 308 */ unk16 mUnk_308; /* 30A */ unk16 mUnk_30A; @@ -27,28 +27,28 @@ class UnkStruct_027e09b4 : public AutoInstance { UnkStruct_027e09b4(); // main - void func_01fff60c(VecFx32 *param1, unk32 param2, unk32 param3, s32 param4, unk32 param5, unk32 param6); + void func_01fff60c(VecFx32* param1, unk32 param2, unk32 param3, s32 param4, unk32 param5, unk32 param6); // overlay 1 void func_ov001_020bea84(); - static UnkStruct_027e09b4 *Create(); + static UnkStruct_027e09b4* Create(); static void Destroy(); // overlay 17 - bool func_ov017_020c08c4(const VecFx32 *param1, unk32 param2, unk32 param3, s32 param4, s16 param5, u8 param6); - void func_ov017_020c0970(const VecFx32 *param1, unk32 param2, unk32 param3, u16 param4, u16 param5, u32 param6, + bool func_ov017_020c08c4(const VecFx32* param1, unk32 param2, unk32 param3, s32 param4, s16 param5, u8 param6); + void func_ov017_020c0970(const VecFx32* param1, unk32 param2, unk32 param3, u16 param4, u16 param5, u32 param6, fx32 param7); - void func_ov017_020c0a30(const VecFx32 *param1, unk32 param2, unk32 param3, u16 param4, u16 param5); - void func_ov017_020c0a6c(const VecFx32 *param1, s32 param2, s32 param3, s32 param4, u16 param5, u16 param6, s32 param7, + void func_ov017_020c0a30(const VecFx32* param1, unk32 param2, unk32 param3, u16 param4, u16 param5); + void func_ov017_020c0a6c(const VecFx32* param1, s32 param2, s32 param3, s32 param4, u16 param5, u16 param6, s32 param7, u16 param8); void func_ov017_020c0edc(); static void func_ov017_020c0774(s32 param1, s32 param2, s32 param3, s32 param4); static s32 func_ov017_020c08a4(void); - static void func_ov017_020c0b24(const VecFx32 *param1, s32 param2, s32 param3); + static void func_ov017_020c0b24(const VecFx32* param1, s32 param2, s32 param3); static void func_ov017_020c0c50(u16 param1); static void func_ov017_020c0dec(void); }; -extern UnkStruct_027e09b4 *data_027e09b4; +extern UnkStruct_027e09b4* data_027e09b4; diff --git a/include/Unknown/UnkStruct_027e09b8.hpp b/include/Unknown/UnkStruct_027e09b8.hpp index 641bda71d..115ce6ea7 100644 --- a/include/Unknown/UnkStruct_027e09b8.hpp +++ b/include/Unknown/UnkStruct_027e09b8.hpp @@ -74,7 +74,7 @@ class UnkStruct_027e09b8_08 : public UnkStruct_027e09b8_04_Base { /* 04 */ PAD(0x04, 0x30); /* 30 */ - UnkStruct_027e09b8_08(void *param1); + UnkStruct_027e09b8_08(void* param1); ~UnkStruct_027e09b8_08(); /* 10 */ virtual void vfunc_10() override; @@ -129,29 +129,29 @@ class UnkStruct_027e09b8_98 { class UnkStruct_027e09b8 : public AutoInstance { public: - /* 00 */ UnkStruct_027e09b8_00 *mUnk_00; - /* 04 */ UnkStruct_027e09b8_04_Base *mUnk_04[4]; + /* 00 */ UnkStruct_027e09b8_00* mUnk_00; + /* 04 */ UnkStruct_027e09b8_04_Base* mUnk_04[4]; /* 14 */ u32 mAdventureFlags[32]; //! TODO /* 94 */ u16 mUnk_94; /* 96 */ bool mUnk_96; /* 97 */ bool mUnk_97; - /* 98 */ UnkStruct_027e09b8_98 *mUnk_98; + /* 98 */ UnkStruct_027e09b8_98* mUnk_98; /* 9C */ - UnkStruct_027e09b8_04 *GetUnk04() { - return (UnkStruct_027e09b8_04 *) this->mUnk_04[0]; + UnkStruct_027e09b8_04* GetUnk04() { + return (UnkStruct_027e09b8_04*) this->mUnk_04[0]; } - UnkStruct_027e09b8_08 *GetUnk08() { - return (UnkStruct_027e09b8_08 *) this->mUnk_04[1]; + UnkStruct_027e09b8_08* GetUnk08() { + return (UnkStruct_027e09b8_08*) this->mUnk_04[1]; } - UnkStruct_027e09b8_0C *GetUnk0C() { - return (UnkStruct_027e09b8_0C *) this->mUnk_04[2]; + UnkStruct_027e09b8_0C* GetUnk0C() { + return (UnkStruct_027e09b8_0C*) this->mUnk_04[2]; } - UnkStruct_027e09b8_10 *GetUnk10() { - return (UnkStruct_027e09b8_10 *) this->mUnk_04[3]; + UnkStruct_027e09b8_10* GetUnk10() { + return (UnkStruct_027e09b8_10*) this->mUnk_04[3]; } bool HasAdventureFlag(AdventureFlag flag) { @@ -170,23 +170,23 @@ class UnkStruct_027e09b8 : public AutoInstance { bool func_ov000_020732dc(unk32 param1); unk32 func_ov000_0207330c(); void func_ov000_0207332c(); - PlayerType func_ov000_02073388(void *param1, unk32 param2); //! TODO: real return type? - PlayerType func_ov000_02073470(void *param1, unk32 param2); //! TODO: real return type? - void func_ov000_02073578(void *param1, unk32 param2); - void func_ov000_02073610(void *param1, unk32 param2); + PlayerType func_ov000_02073388(void* param1, unk32 param2); //! TODO: real return type? + PlayerType func_ov000_02073470(void* param1, unk32 param2); //! TODO: real return type? + void func_ov000_02073578(void* param1, unk32 param2); + void func_ov000_02073610(void* param1, unk32 param2); #if IS_JP || IS_EUR1 void func_ov000_02074d78(unk32 param1); #endif // overlay 1 - void ImportAdventureFlags(AdventureFlag *pAdventureFlags); + void ImportAdventureFlags(AdventureFlag* pAdventureFlags); void func_ov001_020b76c0(CutsceneIndex csIndex); void func_ov001_020b7700(); void func_ov001_020b7728(); - static UnkStruct_027e09b8 *Create(); + static UnkStruct_027e09b8* Create(); static void Destroy(); }; -extern UnkStruct_027e09b8 *data_027e09b8; +extern UnkStruct_027e09b8* data_027e09b8; diff --git a/include/Unknown/UnkStruct_027e09bc.hpp b/include/Unknown/UnkStruct_027e09bc.hpp index ed34f0a58..ea7ccab0a 100644 --- a/include/Unknown/UnkStruct_027e09bc.hpp +++ b/include/Unknown/UnkStruct_027e09bc.hpp @@ -33,14 +33,14 @@ class UnkStruct_027e09bc_0C_0C { /* 00 (base) */ /* 04 */ - void func_ov000_020786dc(VecFx32 *param1); + void func_ov000_020786dc(VecFx32* param1); }; class UnkStruct_027e09bc_0C { public: /* 000 (vtable) */ /* 004 */ PAD(0x04, 0x0C); - /* 00C */ UnkStruct_027e09bc_0C_0C *mUnk_0C; + /* 00C */ UnkStruct_027e09bc_0C_0C* mUnk_0C; /* 010 */ PAD(0x10, 0x34); /* 034 */ VecFx32 mUnk_034; /* 040 */ VecFx32 mUnk_040; @@ -49,7 +49,7 @@ class UnkStruct_027e09bc_0C { /* 05C */ PAD(0x5C, 0xCA); /* 0CA */ unk16 mUnk_0CA; /* 0CC */ PAD(0xCC, 0x230); - /* 230 */ UnkStruct_027e09bc_0C_230 *mUnk_230; + /* 230 */ UnkStruct_027e09bc_0C_230* mUnk_230; /* 234 */ PAD(0x234, 0x264); /* 264 */ unk32 mUnk_264; /* 268 */ UnkStruct_027e09bc_0C_268 mUnk_268; @@ -66,26 +66,26 @@ class UnkStruct_027e09bc_0C { /* 10 */ // itcm - bool func_01ffd43c(Vec2s *param1, VecFx32 *param2, unk32 param3); - bool func_01ffd640(UnkVecFx32Struct *param1); - bool func_01ffd768(void *param1, Vec2s *param2, unk8 param3); + bool func_01ffd43c(Vec2s* param1, VecFx32* param2, unk32 param3); + bool func_01ffd640(UnkVecFx32Struct* param1); + bool func_01ffd768(void* param1, Vec2s* param2, unk8 param3); // overlay 0 - void func_ov000_020767b4(VecFx32 *param1, Vec2s *touchPos, fx32 param3, unk32 param4, VecFx32 *param5); + void func_ov000_020767b4(VecFx32* param1, Vec2s* touchPos, fx32 param3, unk32 param4, VecFx32* param5); void func_ov000_02078230(unk32 param1); - bool func_ov000_0207834c(VecFx32 *param1, UnkStackStruct2 *param2, unk32 param3); - void func_ov000_020786dc(VecFx32 *, unk32); + bool func_ov000_0207834c(VecFx32* param1, UnkStackStruct2* param2, unk32 param3); + void func_ov000_020786dc(VecFx32*, unk32); unk16 func_ov000_0207868c(); unk16 func_ov000_02078698(); - void func_ov000_02078534(VecFx32 *param1, unk32 param2); - bool func_ov000_02078764(VecFx32 *param1, void *param2, unk32 param3); - void func_ov000_02078834(VecFx32 *param1, VecFx32 *param2, unk32 param3, unk32 param4); - void func_ov000_02078a70(VecFx32 *param1, unk32 param2); - void func_ov000_02078aa4(UnkStruct_027e0ce0_30_00 *param1, unk32 param2, unk32 param3, unk32 param4); + void func_ov000_02078534(VecFx32* param1, unk32 param2); + bool func_ov000_02078764(VecFx32* param1, void* param2, unk32 param3); + void func_ov000_02078834(VecFx32* param1, VecFx32* param2, unk32 param3, unk32 param4); + void func_ov000_02078a70(VecFx32* param1, unk32 param2); + void func_ov000_02078aa4(UnkStruct_027e0ce0_30_00* param1, unk32 param2, unk32 param3, unk32 param4); void func_ov000_02078ba4(); void func_ov000_02078cec(); void func_ov000_0207a1e0(unk32 param1); - unk32 func_ov000_02076fa8(void *param1, void *param2, unk32 param3, fx32 param4); + unk32 func_ov000_02076fa8(void* param1, void* param2, unk32 param3, fx32 param4); }; class UnkStruct_027e09bc_24 : public UnkStruct_0204a060_Base { @@ -102,7 +102,7 @@ class UnkStruct_027e09bc_24 : public UnkStruct_0204a060_Base { class UnkStruct_027e09bc : public AutoInstance { public: /* 00 (vtable) */ - /* 04 */ UnkStruct_027e09bc_0C *mUnk_04[4][2]; + /* 04 */ UnkStruct_027e09bc_0C* mUnk_04[4][2]; /* 24 */ UnkStruct_027e09bc_24 mUnk_24; /* 48 */ UnkSystem9 mUnk_48; @@ -115,7 +115,7 @@ class UnkStruct_027e09bc : public AutoInstance { // overlay 0 void func_ov000_020771b8(unk32 param1); void func_ov000_020771c8(); - UnkStruct_027e09bc_0C *func_ov000_02077468(unk32 param1, unk32 param2); + UnkStruct_027e09bc_0C* func_ov000_02077468(unk32 param1, unk32 param2); // overlay 1 void func_ov001_020bab5c(); @@ -123,8 +123,8 @@ class UnkStruct_027e09bc : public AutoInstance { void func_ov001_020babe8(); void func_ov001_020bac08(); - static UnkStruct_027e09bc *Create(); + static UnkStruct_027e09bc* Create(); static void Destroy(); }; -extern UnkStruct_027e09bc *data_027e09bc; +extern UnkStruct_027e09bc* data_027e09bc; diff --git a/include/Unknown/UnkStruct_027e09c0.hpp b/include/Unknown/UnkStruct_027e09c0.hpp index 9bf958e96..a47057977 100644 --- a/include/Unknown/UnkStruct_027e09c0.hpp +++ b/include/Unknown/UnkStruct_027e09c0.hpp @@ -37,20 +37,20 @@ class UnkStruct_027e09c0_04 { class UnkStruct_027e09c0 : public AutoInstance { public: /* 000 */ unk32 mUnk_000; - /* 004 */ UnkStruct_027e09c0_04 *mUnk_004[16]; - /* 044 */ UnkStruct_027e09c0_04 **mUnk_044; - /* 048 */ void *mUnk_048; - /* 04C */ void *mUnk_04C; + /* 004 */ UnkStruct_027e09c0_04* mUnk_004[16]; + /* 044 */ UnkStruct_027e09c0_04** mUnk_044; + /* 048 */ void* mUnk_048; + /* 04C */ void* mUnk_04C; /* 050 */ unk32 mUnk_050; - /* 054 */ void *mUnk_054; - /* 058 */ void *mUnk_058; + /* 054 */ void* mUnk_054; + /* 058 */ void* mUnk_058; /* 05C */ unk32 mUnk_05C; /* 060 */ UnkStruct_027e09c0_60 mUnk_060[64]; - /* 760 */ void *mUnk_760; - /* 764 */ void *mUnk_764; + /* 760 */ void* mUnk_760; + /* 764 */ void* mUnk_764; /* 768 */ unk32 mUnk_768; - /* 76C */ void *mUnk_76C; - /* 770 */ void *mUnk_770; + /* 76C */ void* mUnk_76C; + /* 770 */ void* mUnk_770; /* 774 */ unk32 mUnk_774; /* 778 */ unk32 mUnk_778; /* 77C */ PAD(0x77C, 0x878); @@ -62,21 +62,21 @@ class UnkStruct_027e09c0 : public AutoInstance { // overlay 0 void func_ov000_0207da40(); - s16 func_ov000_0207dc88(const UnkStruct_ov031_020e5d18_00 *param1, Actor_38 *param2); - void func_ov000_0207de98(RefStruct param1, Cylinder *param2, Actor_38 *param3); - void func_ov000_0207e20c(UnkStruct_027e09c0_04 *, void *); - void func_ov000_0207e240(ActorUnkSCCN_B8 *param1); - void func_ov000_0207e254(ActorUnkSCCN_B8 *param1); - void func_ov000_0207e58c(RefStruct param1, unk32 param2, u32 param3, UnkStruct_ov031_Items_01 *param4); - bool func_ov000_0207e458(unk32 param1, unk32 param2, VecFx32 *param3, unk32 param4, VecFx32 *param5, RefStruct param6); + s16 func_ov000_0207dc88(const UnkStruct_ov031_020e5d18_00* param1, Actor_38* param2); + void func_ov000_0207de98(RefStruct param1, Cylinder* param2, Actor_38* param3); + void func_ov000_0207e20c(UnkStruct_027e09c0_04*, void*); + void func_ov000_0207e240(ActorUnkSCCN_B8* param1); + void func_ov000_0207e254(ActorUnkSCCN_B8* param1); + void func_ov000_0207e58c(RefStruct param1, unk32 param2, u32 param3, UnkStruct_ov031_Items_01* param4); + bool func_ov000_0207e458(unk32 param1, unk32 param2, VecFx32* param3, unk32 param4, VecFx32* param5, RefStruct param6); // overlay 1 void func_ov001_020be394(); void func_ov001_020be3c4(); - void func_ov001_020be3dc(UnkFileSystem3 *param1, MapManagerBase *param2); + void func_ov001_020be3dc(UnkFileSystem3* param1, MapManagerBase* param2); void func_ov001_020be400(); - static UnkStruct_027e09c0 *Create(); + static UnkStruct_027e09c0* Create(); static void Destroy(); static void DestroyImpl(); @@ -84,4 +84,4 @@ class UnkStruct_027e09c0 : public AutoInstance { void func_ov017_020c30b0(); }; -extern UnkStruct_027e09c0 *data_027e09c0; +extern UnkStruct_027e09c0* data_027e09c0; diff --git a/include/Unknown/UnkStruct_027e09e8.hpp b/include/Unknown/UnkStruct_027e09e8.hpp index b05ca4b04..9e5a4c23b 100644 --- a/include/Unknown/UnkStruct_027e09e8.hpp +++ b/include/Unknown/UnkStruct_027e09e8.hpp @@ -9,14 +9,14 @@ class UnkStruct_027e09e8 { public: /* 00 */ unk32 mUnk_00; /* 04 */ PAD(0x04, 0x24); - /* 24 */ ZCBEntryPLCB *mpPolyClassTable; - /* 28 */ ZCBEntryPLCB *mpPolyClassTableEnd; + /* 24 */ ZCBEntryPLCB* mpPolyClassTable; + /* 28 */ ZCBEntryPLCB* mpPolyClassTableEnd; /* 2C */ u32 mNumPolyClasses; - /* 30 */ VecFx32 *mpVerticesTable; - /* 34 */ VecFx32 *mpVerticesTableEnd; + /* 30 */ VecFx32* mpVerticesTable; + /* 34 */ VecFx32* mpVerticesTableEnd; /* 38 */ u32 mNumVertices; - /* 3C */ ZCBEntryNRMB *mpNormalTable; - /* 40 */ ZCBEntryNRMB *mpNormalTableEnd; + /* 3C */ ZCBEntryNRMB* mpNormalTable; + /* 40 */ ZCBEntryNRMB* mpNormalTableEnd; /* 44 */ u32 mNumNormals; /* 48 */ VecFx32 mUnk_48; /* 54 */ VecFx32 mUnk_54; @@ -26,10 +26,10 @@ class UnkStruct_027e09e8 { ~UnkStruct_027e09e8(); // overlay 0 - void func_ov000_0207ba84(UnkFileSystem1 *param1, MapManagerBase *param2); // calls `ZCB_ParseFile` + void func_ov000_0207ba84(UnkFileSystem1* param1, MapManagerBase* param2); // calls `ZCB_ParseFile` void func_ov000_0207baa0(); - void func_ov000_0207bab4(ZCBEntryTRIB *pEntries, u16 nEntries); - void func_ov000_0207e99c(ZCBSectionGRDB *pSection, MapManagerBase *param2); + void func_ov000_0207bab4(ZCBEntryTRIB* pEntries, u16 nEntries); + void func_ov000_0207e99c(ZCBSectionGRDB* pSection, MapManagerBase* param2); }; //! TODO: gCollisionManager? also not a pointer? diff --git a/include/Unknown/UnkStruct_027e0a48.hpp b/include/Unknown/UnkStruct_027e0a48.hpp index 2d41e2bce..a0945b77d 100644 --- a/include/Unknown/UnkStruct_027e0a48.hpp +++ b/include/Unknown/UnkStruct_027e0a48.hpp @@ -15,7 +15,7 @@ class UnkStruct_027e0a48 { void func_ov000_0207ef30(); void func_ov000_0207f048(); void func_ov000_0207f1f0(); - void func_ov000_0207f280(MapManagerBase *param1); + void func_ov000_0207f280(MapManagerBase* param1); void func_ov000_0207f2d8(); }; diff --git a/include/Unknown/UnkStruct_027e0b48.hpp b/include/Unknown/UnkStruct_027e0b48.hpp index f0858c4f6..86f3949c0 100644 --- a/include/Unknown/UnkStruct_027e0b48.hpp +++ b/include/Unknown/UnkStruct_027e0b48.hpp @@ -7,7 +7,7 @@ class UnkStruct_027e0b48_IteratorEntry { public: /* 00 */ PAD(0x00, 0x70); - /* 70 */ void *mUnk_70; + /* 70 */ void* mUnk_70; /* 74 */ UnkStruct_027e0b48_IteratorEntry() { diff --git a/include/Unknown/UnkStruct_027e0cdc.hpp b/include/Unknown/UnkStruct_027e0cdc.hpp index c50e596c9..4739f57b4 100644 --- a/include/Unknown/UnkStruct_027e0cdc.hpp +++ b/include/Unknown/UnkStruct_027e0cdc.hpp @@ -7,7 +7,7 @@ class UnkStruct_027e0cdc : public AutoInstance { public: /* 00 */ unk32 mUnk_00; - /* 04 */ UnkStruct_027e0ce0_40 *mUnk_04; + /* 04 */ UnkStruct_027e0ce0_40* mUnk_04; UnkStruct_027e0cdc(); @@ -15,10 +15,10 @@ class UnkStruct_027e0cdc : public AutoInstance { bool func_ov000_02082a28(unk32 param1); unk32 func_ov000_02082a48(unk32 param1); - static UnkStruct_027e0cdc *Create(UnkStruct_027e0ce0_30 *param1); + static UnkStruct_027e0cdc* Create(UnkStruct_027e0ce0_30* param1); // overlay 1 static void Destroy(); }; -extern UnkStruct_027e0cdc *data_027e0cdc; +extern UnkStruct_027e0cdc* data_027e0cdc; diff --git a/include/Unknown/UnkStruct_027e0ce0.hpp b/include/Unknown/UnkStruct_027e0ce0.hpp index b6e1f134f..1bdfcf1ab 100644 --- a/include/Unknown/UnkStruct_027e0ce0.hpp +++ b/include/Unknown/UnkStruct_027e0ce0.hpp @@ -32,10 +32,10 @@ class UnkStruct_027e0ce0_0C : public LinkList { public: /* 00 (vtable) */ /* 04 (base) */ - /* 0C */ UnkStruct_027e0ce0 *mUnk_0C; + /* 0C */ UnkStruct_027e0ce0* mUnk_0C; /* 10 */ - UnkStruct_027e0ce0_0C(UnkStruct_027e0ce0 *param1) : + UnkStruct_027e0ce0_0C(UnkStruct_027e0ce0* param1) : mUnk_0C(param1) {} // data_ov000_020b2b38 @@ -81,19 +81,19 @@ class UnkStruct_027e0ce0_1C { public: /* 00 */ UnkStruct_027e0ce0_1C_00 mUnk_00[PlayerCharacter_Max]; /* 06 */ unk16 mUnk_06; // pad? - /* 08 */ UnkStruct_027e0ce0_1C_08 *mUnk_08[PlayerCharacter_Max][7]; - /* 5C */ UnkFileSystem5 *mUnk_5C[PlayerCharacter_Max][9]; - /* C8 */ UnkStruct_027e0ce0_1C_C8 *mUnk_C8[PlayerCharacter_Max]; - /* D4 */ UnkStruct_027e0ce0_1C_D4 *mUnk_D4; //! TODO: array of 2? - /* D8 */ UnkStruct_027e0ce0_1C_D4 *mUnk_D8; + /* 08 */ UnkStruct_027e0ce0_1C_08* mUnk_08[PlayerCharacter_Max][7]; + /* 5C */ UnkFileSystem5* mUnk_5C[PlayerCharacter_Max][9]; + /* C8 */ UnkStruct_027e0ce0_1C_C8* mUnk_C8[PlayerCharacter_Max]; + /* D4 */ UnkStruct_027e0ce0_1C_D4* mUnk_D4; //! TODO: array of 2? + /* D8 */ UnkStruct_027e0ce0_1C_D4* mUnk_D8; /* DC */ UnkStruct_027e0ce0_1C(); ~UnkStruct_027e0ce0_1C(); // overlay 0 - G3d_Model *func_ov000_0208ed30(unk32 param1, unk32 param2, const char *param3); - UnkStruct_ov000_02058a84 *func_ov000_0208ee94(unk32 param1, unk32 param2, const char *param3, unk32 param4); + G3d_Model* func_ov000_0208ed30(unk32 param1, unk32 param2, const char* param3); + UnkStruct_ov000_02058a84* func_ov000_0208ee94(unk32 param1, unk32 param2, const char* param3, unk32 param4); // overlay 1 void func_ov001_020bccec(); @@ -122,15 +122,15 @@ class UnkStruct_027e0ce0_24 { ~UnkStruct_027e0ce0_24(); // overlay 21 - void func_ov021_020eaa08(UnkStruct_027e0ce0_20 *param1); + void func_ov021_020eaa08(UnkStruct_027e0ce0_20* param1); void func_ov021_020eaac4(); - void func_ov021_020eab14(unk32 param1, const UnkStruct_ov001_020c40f4 *param2, UnkStruct_027e0ce0_30 *param3); + void func_ov021_020eab14(unk32 param1, const UnkStruct_ov001_020c40f4* param2, UnkStruct_027e0ce0_30* param3); void func_ov021_020eab6c(bool param1); void func_ov021_020eae2c(unk32 param1); void func_ov021_020eae84(); unk32 func_ov021_020eaef0(unk32 param1, bool param2); void func_ov021_020eb010(); - unk32 func_ov021_020eb870(unk32 param1, unk32 param2, unk32 param3, void *param4); + unk32 func_ov021_020eb870(unk32 param1, unk32 param2, unk32 param3, void* param4); }; class UnkStruct_027e0ce0_30_00 { @@ -141,21 +141,21 @@ class UnkStruct_027e0ce0_30_00 { /* 20 */ u32 mUnk_20; /* 24 */ unk32 mUnk_24; /* 28 */ bool mUnk_28; - /* 2C */ UnkStruct_027e0ce0_38 *mUnk_2C; - /* 30 */ UnkStruct_027e0ce0_3C *mUnk_30; - /* 34 */ UnkStruct_027e0ce0_40 *mUnk_34; - /* 38 */ PlayerActorBase *mPlayerActors[PlayerType_Max]; + /* 2C */ UnkStruct_027e0ce0_38* mUnk_2C; + /* 30 */ UnkStruct_027e0ce0_3C* mUnk_30; + /* 34 */ UnkStruct_027e0ce0_40* mUnk_34; + /* 38 */ PlayerActorBase* mPlayerActors[PlayerType_Max]; /* 40 */ - UnkStruct_027e0ce0_30_00(UnkStruct_027e0ce0_38 *param1, UnkStruct_027e0ce0_3C *param2, UnkStruct_027e0ce0_40 *param3, - PlayerLinkActor *pLink, PlayerActorBase *pZelda); + UnkStruct_027e0ce0_30_00(UnkStruct_027e0ce0_38* param1, UnkStruct_027e0ce0_3C* param2, UnkStruct_027e0ce0_40* param3, + PlayerLinkActor* pLink, PlayerActorBase* pZelda); ~UnkStruct_027e0ce0_30_00(); // overlay 0 void func_ov000_020a8af4(unk32 param1); // overlay 17 - void func_ov017_020bbf7c(ItemManager *pItemMgr); + void func_ov017_020bbf7c(ItemManager* pItemMgr); }; class UnkStruct_027e0ce0_30_04 { @@ -183,9 +183,9 @@ class UnkStruct_027e0ce0_30_08 { class UnkStruct_027e0ce0_30 { private: - /* 00 */ UnkStruct_027e0ce0_30_00 *mUnk_00; // only used for adventure mode? - /* 04 */ UnkStruct_027e0ce0_30_04 *mUnk_04; // only used for adventure mode? - /* 08 */ UnkStruct_027e0ce0_30_08 *mUnk_08[4]; // only used for battle mode? + /* 00 */ UnkStruct_027e0ce0_30_00* mUnk_00; // only used for adventure mode? + /* 04 */ UnkStruct_027e0ce0_30_04* mUnk_04; // only used for adventure mode? + /* 08 */ UnkStruct_027e0ce0_30_08* mUnk_08[4]; // only used for battle mode? /* 18 */ public: @@ -194,14 +194,14 @@ class UnkStruct_027e0ce0_30 { // overlay 1 void func_ov001_020bbf00(int index, unk32 param2); - void func_ov001_020bbf24(UnkStruct_027e0ce0_38 *param1); - void func_ov001_020bbf50(UnkStruct_027e0ce0_3C *param1); - void func_ov001_020bbf7c(UnkStruct_027e0ce0_40 *param1, PlayerLinkActor *param2, PlayerActorBase *param3); + void func_ov001_020bbf24(UnkStruct_027e0ce0_38* param1); + void func_ov001_020bbf50(UnkStruct_027e0ce0_3C* param1); + void func_ov001_020bbf7c(UnkStruct_027e0ce0_40* param1, PlayerLinkActor* param2, PlayerActorBase* param3); void func_ov001_020bbfcc(); - void func_ov001_020bbff4(UnkStruct_027e0ce0_38 *param1); + void func_ov001_020bbff4(UnkStruct_027e0ce0_38* param1); // overlay 17 - void func_ov017_020bc5fc(ItemManager *pItemMgr); + void func_ov017_020bc5fc(ItemManager* pItemMgr); }; class UnkStruct_027e0ce0_34_20 { @@ -221,7 +221,7 @@ class UnkStruct_027e0ce0_34 { public: /* 00 */ unk32 mUnk_00[4]; /* 10 */ unk32 mUnk_10[4]; - /* 20 */ UnkStruct_027e0ce0_34_20 *mUnk_20; + /* 20 */ UnkStruct_027e0ce0_34_20* mUnk_20; /* 24 */ unk32 mUnk_24; /* 28 */ unk32 mUnk_28; /* 2C */ s32 mUnk_2C; @@ -238,7 +238,7 @@ class UnkStruct_027e0ce0_34 { ~UnkStruct_027e0ce0_34(); // overlay 1 - void func_ov001_020bf22c(SaveFile_00000_0000_Data_D8 *param1, unk32 param2); + void func_ov001_020bf22c(SaveFile_00000_0000_Data_D8* param1, unk32 param2); void func_ov001_020bf2b8(bool param1); void func_ov001_020bf378(); void func_ov001_020bf3bc(); @@ -249,7 +249,7 @@ class UnkStruct_027e0ce0_34 { void func_ov008_020b6a50(); // overlay 24 - void func_ov024_020d3c60(SaveFile_00000_0000_Data_D8 *param1); + void func_ov024_020d3c60(SaveFile_00000_0000_Data_D8* param1); unk32 func_ov024_020d3cf4(unk32 param1); unk32 func_ov024_020d3d20(); void func_ov024_020d3d80(unk32 param1); @@ -260,14 +260,14 @@ class UnkStruct_027e0ce0_34 { unk32 func_ov024_020d3dec(unk32 param1); unk32 func_ov024_020d3e0c(unk32 param1); void func_ov024_020d3e30(unk32 param1, unk32 param2); - void *func_ov024_020d3e68(unk32 param1); + void* func_ov024_020d3e68(unk32 param1); void SetTrackFlag(s32 flagPos, u16 flagValue, bool doSet); bool func_ov024_020d3f4c(s8 param1, u16 param2); void func_ov024_020d3f8c(); void func_ov024_020d3fc8(); void func_ov024_020d4008(unk32 param1); void func_ov024_020d404c(); - void func_ov024_020d4098(s32 *param1, s32 *param2); + void func_ov024_020d4098(s32* param1, s32* param2); static s8 func_ov024_020d3c54(unk32 param1); @@ -285,7 +285,7 @@ class UnkStruct_027e0ce0_3C { ~UnkStruct_027e0ce0_3C(); // overlay 88 - void func_ov088_0216fbc4(unk32 param1, const UnkStruct_ov001_020c40f4 *param2); + void func_ov088_0216fbc4(unk32 param1, const UnkStruct_ov001_020c40f4* param2); void func_ov088_0216fca0(); void func_ov088_0216ff10(); void func_ov088_0216fbf0(unk32 param1); @@ -301,7 +301,7 @@ class UnkStruct_ov031_020f3310_00 { class UnkStruct_ov031_020f3310_04 { public: /* 00 */ PAD(0x00, 0x24); - /* 24 */ u32 *mUnk_24; + /* 24 */ u32* mUnk_24; /* 28 */ unk32 mUnk_28; /* 2C */ unk32 mUnk_2C; /* 30 */ unk32 mUnk_30; @@ -310,8 +310,8 @@ class UnkStruct_ov031_020f3310_04 { class UnkStruct_ov031_020f3310 { public: - /* 00 */ UnkStruct_ov031_020f3310_00 *mUnk_00; - /* 04 */ UnkStruct_ov031_020f3310_04 *mUnk_04; + /* 00 */ UnkStruct_ov031_020f3310_00* mUnk_00; + /* 04 */ UnkStruct_ov031_020f3310_04* mUnk_04; /* 08 */ VecFx16 mUnk_08; /* 20 */ }; @@ -326,8 +326,8 @@ class UnkStruct_ov031_020e54d4 { /* 04 */ virtual void vfunc_04(); /* 08 */ virtual void vfunc_08(); /* 0C */ virtual void vfunc_0C(); - /* 10 */ virtual void vfunc_10(const VecFx32 *param1); - /* 14 */ virtual void vfunc_14(const VecFx32 *param1); + /* 10 */ virtual void vfunc_10(const VecFx32* param1); + /* 14 */ virtual void vfunc_14(const VecFx32* param1); }; class UnkStruct_027e0ce0_38_10 { @@ -420,10 +420,10 @@ class UnkStruct_027e0ce0_38_1C8 { class UnkStruct_027e0ce0_38 : public UnkStruct_027e0ce0_38_Base { public: /* 000 (base) */ - /* 04 */ void *mUnk_04; - /* 08 */ void *mUnk_08; + /* 04 */ void* mUnk_04; + /* 08 */ void* mUnk_08; /* 0C */ unk32 mUnk_0C; - /* 010 */ UnkStruct_027e0ce0_38_10 *mUnk_010; + /* 010 */ UnkStruct_027e0ce0_38_10* mUnk_010; /* 014 */ Input mUnk_014; /* 01C */ VecFx32 mPos; /* 028 */ VecFx32 mPrevPos; @@ -433,8 +433,8 @@ class UnkStruct_027e0ce0_38 : public UnkStruct_027e0ce0_38_Base { /* 050 */ unk32 mUnk_050; /* 054 */ unk16 mUnk_054; /* 056 */ unk16 mUnk_056; - /* 058 */ UnkStruct_027e0ce0_38_58 *mUnk_058; // related to train invicibility state in the dark realm (+0x35C/+0x360) - /* 05C */ UnkStruct_027e0ce0_38_5C *mUnk_05C; + /* 058 */ UnkStruct_027e0ce0_38_58* mUnk_058; // related to train invicibility state in the dark realm (+0x35C/+0x360) + /* 05C */ UnkStruct_027e0ce0_38_5C* mUnk_05C; /* 060 */ UnkStruct_027e0ce0_38_60 mUnk_060; /* 138 */ unk32 mUnk_138; /* 13C */ unk32 mUnk_13C; @@ -449,7 +449,7 @@ class UnkStruct_027e0ce0_38 : public UnkStruct_027e0ce0_38_Base { /* 14C */ unk8 mUnk_14C; /* 150 */ unk32 mUnk_150; /* 154 */ unk32 mUnk_154; - /* 158 */ UnkStruct_027e0ce0_38_158 *mUnk_158; + /* 158 */ UnkStruct_027e0ce0_38_158* mUnk_158; /* 15C */ PAD(0x15C, 0x170); /* 170 */ unk32 mUnk_170; /* 174 */ UnkStruct_027e0ce0_38_174 mUnk_174; @@ -463,18 +463,18 @@ class UnkStruct_027e0ce0_38 : public UnkStruct_027e0ce0_38_Base { // data_ov026_0213562c /* 00 */ virtual ~UnkStruct_027e0ce0_38() override; - /* 0C */ virtual bool vfunc_0C(const UnkStruct_ov031_020e54d4 *param1, unk32 param2) override; + /* 0C */ virtual bool vfunc_0C(const UnkStruct_ov031_020e54d4* param1, unk32 param2) override; // overlay 26 void func_ov026_020dc8f0(); void func_ov026_020dc918(); void func_ov026_020dc9b0(); - void func_ov026_020dc9bc(const UnkStruct_ov001_020c40f4 *param1); + void func_ov026_020dc9bc(const UnkStruct_ov001_020c40f4* param1); void func_ov026_020de19c(unk32 param1, bool param2); - void func_ov026_020de45c(void *param1); + void func_ov026_020de45c(void* param1); void func_ov026_020de46c(); void func_ov026_020de49c(); - void func_ov026_020de908(UnkStruct_027e0ce0_30_00 *param1); + void func_ov026_020de908(UnkStruct_027e0ce0_30_00* param1); }; class UnkStruct_027e0ce0_40_Base_14 { @@ -498,7 +498,7 @@ class UnkStruct_027e0ce0_40_Base_14 { UnkStruct_027e0ce0_40_Base_14() : mTouchControl(false) { - UnkStruct_027e0ce0_40_Base_14 *ptr = this; + UnkStruct_027e0ce0_40_Base_14* ptr = this; ptr->mTouchControl.Init(); ptr->func_ov000_02096a9c(); } @@ -528,7 +528,7 @@ class UnkStruct_027e0ce0_40_Base_74 { void func_ov031_020e0c34(); // overlay 102 - void func_ov102_0218323c(UnkStruct_027e0ce0_40_Base_14 *param1, BOOL param2); + void func_ov102_0218323c(UnkStruct_027e0ce0_40_Base_14* param1, BOOL param2); }; class UnkStruct_027e0ce0_40_Base_78 { @@ -538,7 +538,7 @@ class UnkStruct_027e0ce0_40_Base_78 { const bool HasValue() const { u32 var_r2 = 0; - return *(u32 *) &this->mRef != *(u32 *) &var_r2; + return *(u32*) &this->mRef != *(u32*) &var_r2; } const bool UnkCheck1() { @@ -549,10 +549,10 @@ class UnkStruct_027e0ce0_40_Base_78 { ~UnkStruct_027e0ce0_40_Base_78(); // overlay 31 - bool func_ov031_020dcfb4(VecFx32 *param1); - void func_ov031_020dcd9c(const VecFx32 *param1, VecFx32 *param2); + bool func_ov031_020dcfb4(VecFx32* param1); + void func_ov031_020dcd9c(const VecFx32* param1, VecFx32* param2); - static void func_ov031_020dcea4(UnkAngleStruct *pAngle, UnkStruct_027e0ce0_40_Base_78 *thisx, UnkAngleStruct angle); + static void func_ov031_020dcea4(UnkAngleStruct* pAngle, UnkStruct_027e0ce0_40_Base_78* thisx, UnkAngleStruct angle); }; class UnkStruct_027e0ce0_40_Base_7C_04_Base_64 { @@ -561,7 +561,7 @@ class UnkStruct_027e0ce0_40_Base_7C_04_Base_64 { /* 20 */ unk32 mUnk_20; /* 24 */ - UnkStruct_027e0ce0_40_Base_7C_04_Base_64(G3d_Model *pModel) : + UnkStruct_027e0ce0_40_Base_7C_04_Base_64(G3d_Model* pModel) : mUnk_00(&this->mUnk_20, pModel) {} }; @@ -572,13 +572,13 @@ class UnkStruct_027e0ce0_40_Base_7C_04_Base { /* 64 */ UnkStruct_027e0ce0_40_Base_7C_04_Base_64 mUnk_64; /* 84 */ PAD(0x88, 0xA4); /* A4 */ unk32 mUnk_A4; - /* A8 */ UnkStruct_ov000_02058a84 *mUnk_A8[3]; + /* A8 */ UnkStruct_ov000_02058a84* mUnk_A8[3]; /* B4 */ const u32 GetRef() const { //! TODO: better solution - u32 ref = *(u32 *) &this->mUnk_00; - return *(u32 *) &ref; + u32 ref = *(u32*) &this->mUnk_00; + return *(u32*) &ref; } UnkStruct_027e0ce0_40_Base_7C_04_Base(); @@ -605,7 +605,7 @@ class UnkStruct_027e0ce0_40_Base_7C_04 : public UnkStruct_027e0ce0_40_Base_7C_04 class UnkStruct_027e0ce0_40_Base_7C { public: /* 00 */ unk32 mUnk_00; - /* 04 */ UnkStruct_027e0ce0_40_Base_7C_04 *mUnk_04; + /* 04 */ UnkStruct_027e0ce0_40_Base_7C_04* mUnk_04; /* 08 */ UnkSystem7_Derived2 mUnk_08; /* 14 */ unk32 mUnk_14; /* 18 */ @@ -619,7 +619,7 @@ class UnkStruct_027e0ce0_40_Base_7C { bool func_ov000_020968fc(); // overlay 17 - void func_ov017_020be2ec(UnkStruct_027e0ce0_40_Base_14 *param1, bool param2, RefStruct param3); + void func_ov017_020be2ec(UnkStruct_027e0ce0_40_Base_14* param1, bool param2, RefStruct param3); void func_ov017_020be434(); }; @@ -632,7 +632,7 @@ class UnkStruct_027e0ce0_40_Base_94_50_Base { /* 10 */ unk32 mUnk_10; /* 14 */ - UnkStruct_027e0ce0_40_Base_94_50_Base(unk32 param1, unk32 param2, RefElem *param3, unk32 param4); + UnkStruct_027e0ce0_40_Base_94_50_Base(unk32 param1, unk32 param2, RefElem* param3, unk32 param4); }; class UnkStruct_027e0ce0_40_Base_94_50 : public UnkStruct_027e0ce0_40_Base_94_50_Base { @@ -641,7 +641,7 @@ class UnkStruct_027e0ce0_40_Base_94_50 : public UnkStruct_027e0ce0_40_Base_94_50 /* 14 */ RefElem mUnk_14[4]; /* 24 */ unk32 mUnk_24; /* 28 */ unk32 mUnk_28; - /* 2C */ unk32 *mUnk_2C; + /* 2C */ unk32* mUnk_2C; UnkStruct_027e0ce0_40_Base_94_50(unk32 param1) : UnkStruct_027e0ce0_40_Base_94_50_Base(0x01, param1, this->mUnk_14, 0x04), @@ -669,9 +669,9 @@ class UnkStruct_027e0ce0_40_Base_94_Base : public UnkStruct_027e0ce0_40_Base_94_ class UnkStruct_027e0ce0_40_Base_94 : public UnkStruct_027e0ce0_40_Base_94_Base { public: /* 00 (base) */ - /* 50 */ UnkStruct_027e0ce0_40_Base_94_50 *mUnk_50; - /* 54 */ UnkStruct_027e0ce0_40_Base_94 *mUnk_54; - /* 58 */ UnkStruct_027e0ce0_40_Base_94_50 *mUnk_58; + /* 50 */ UnkStruct_027e0ce0_40_Base_94_50* mUnk_50; + /* 54 */ UnkStruct_027e0ce0_40_Base_94* mUnk_54; + /* 58 */ UnkStruct_027e0ce0_40_Base_94_50* mUnk_58; /* 5C */ unk32 mUnk_5C; // seems to be the walking speed of link?? /* 60 */ Vec2s mUnk_60; /* 64 */ u8 mUnk_64; @@ -688,12 +688,12 @@ class UnkStruct_027e0ce0_40_Base_94 : public UnkStruct_027e0ce0_40_Base_94_Base ~UnkStruct_027e0ce0_40_Base_94(); // overlay 0 - bool func_ov000_0208a82c(unk32 param1, unk32 param2, VecFx32 *paramm3); + bool func_ov000_0208a82c(unk32 param1, unk32 param2, VecFx32* paramm3); void func_ov000_0208aee4(); // overlay 17 void func_ov017_020bd478(); - void func_ov017_020bd300(const UnkStruct_027e0ce0_40_Base_14 *param1, unk32 param2, bool param3); + void func_ov017_020bd300(const UnkStruct_027e0ce0_40_Base_14* param1, unk32 param2, bool param3); }; typedef u16 UnkFlags3; @@ -717,13 +717,13 @@ enum UnkFlags3_ { class UnkStruct_027e0ce0_40_Base { public: /* 000 */ unk32 mUnk_000; - /* 004 */ void *mUnk_004; - /* 008 */ ItemManager *mpItemManager; + /* 004 */ void* mUnk_004; + /* 008 */ ItemManager* mpItemManager; /* 00C */ Input mButtons; /* 012 */ unk16 mUnk_012; /* 014 */ UnkStruct_027e0ce0_40_Base_14 mUnk_014; - /* 074 */ UnkStruct_027e0ce0_40_Base_74 *mUnk_074; - /* 078 */ UnkStruct_027e0ce0_40_Base_78 *mUnk_078; + /* 074 */ UnkStruct_027e0ce0_40_Base_74* mUnk_074; + /* 078 */ UnkStruct_027e0ce0_40_Base_78* mUnk_078; /* 07C */ UnkStruct_027e0ce0_40_Base_7C mUnk_07C; /* 094 */ UnkStruct_027e0ce0_40_Base_94 mUnk_094; /* 104 */ UnkFlags3 mUnk_104; // set to 0 on idle, set to 3 when pulling out an item @@ -731,11 +731,11 @@ class UnkStruct_027e0ce0_40_Base { /* 107 */ unk8 mUnk_107; /* 108 */ - ItemManager *GetItemMgr() const { + ItemManager* GetItemMgr() const { return this->mpItemManager; } - UnkStruct_027e0ce0_40_Base_78 *GetUnk78() const { + UnkStruct_027e0ce0_40_Base_78* GetUnk78() const { return this->mUnk_078; } @@ -763,7 +763,7 @@ class UnkStruct_027e0ce0_40_Base { inline const bool UnknownInline1(bool param1, unk32 param2); - UnkStruct_027e0ce0_40_Base(unk32 param1, void *param2, ItemManager *pItemMgr); + UnkStruct_027e0ce0_40_Base(unk32 param1, void* param2, ItemManager* pItemMgr); ~UnkStruct_027e0ce0_40_Base(); void func_ov001_020bc0e0(bool param1); @@ -797,7 +797,7 @@ class UnkStruct_027e0ce0_40_108 : public UnkStruct_027e0ce0_40_108_Base { public: /* 00 (base) */ /* 10 */ UnkStruct_027e0ce0_40_108_10 mUnk_10[8]; - /* 40 */ UnkStruct_027e0ce0_40_108_10 *mUnk_40; + /* 40 */ UnkStruct_027e0ce0_40_108_10* mUnk_40; /* 44 */ UnkStruct_027e0ce0_40_108() : @@ -815,7 +815,7 @@ class UnkStruct_027e0ce0_40_108 : public UnkStruct_027e0ce0_40_108_Base { /* 00 */ virtual void vfunc_00() override; // overlay 102 - void func_ov102_02182e54(unk32 param1, VecFx32 *param2, unk32 param3); + void func_ov102_02182e54(unk32 param1, VecFx32* param2, unk32 param3); }; class UnkStruct_027e0ce0_40_14C { @@ -829,11 +829,11 @@ class UnkStruct_027e0ce0_40_14C { ~UnkStruct_027e0ce0_40_14C(); // overlay 17 - void func_ov093_02168e24(void *param1); + void func_ov093_02168e24(void* param1); // overlay 93 void func_ov093_02168850(); - bool func_ov092_021689e8(bool param1, UnkStruct_027e0ce0_40 *param2, PlayerLinkActor *pPlayer, PlayerActorBase *pZelda); + bool func_ov092_021689e8(bool param1, UnkStruct_027e0ce0_40* param2, PlayerLinkActor* pPlayer, PlayerActorBase* pZelda); }; class UnkStruct_027e0ce0_40_150 { @@ -855,11 +855,11 @@ class UnkStruct_027e0ce0_40 : public UnkStruct_027e0ce0_40_Base { public: /* 000 (base) */ /* 108 */ UnkStruct_027e0ce0_40_108 mUnk_108; - /* 14C */ UnkStruct_027e0ce0_40_14C *mUnk_14C; - /* 150 */ UnkStruct_027e0ce0_40_150 *mUnk_150; + /* 14C */ UnkStruct_027e0ce0_40_14C* mUnk_14C; + /* 150 */ UnkStruct_027e0ce0_40_150* mUnk_150; /* 154 */ PlayerLinkActor mPlayer; - /* 328 */ PlayerZeldaActor *mpZelda; - /* 32C */ PlayerActorBase *mPlayerActors[PlayerType_Max]; + /* 328 */ PlayerZeldaActor* mpZelda; + /* 32C */ PlayerActorBase* mPlayerActors[PlayerType_Max]; /* 334 */ ActorId mPhantomId; /* 338 */ bool mIsSceneTowerInsideStairs; /* 339 */ bool mIsSceneTowerOutsideStairs; @@ -867,17 +867,17 @@ class UnkStruct_027e0ce0_40 : public UnkStruct_027e0ce0_40_Base { /* 33B */ bool mUnk_33B; /* 33C */ - UnkStruct_027e0ce0_40(bool param1, UnkStruct_027e0ce0_20 *param2, ActorId *pPhantomId, ItemManager *pItemMgr); + UnkStruct_027e0ce0_40(bool param1, UnkStruct_027e0ce0_20* param2, ActorId* pPhantomId, ItemManager* pItemMgr); ~UnkStruct_027e0ce0_40(); // overlay 0 void func_ov000_02087ee8(); void func_ov000_02088060(bool param1); void func_ov000_02088268(); - bool func_ov000_02088524(unk32 param1, vu32 param2, void *param3); - bool func_ov000_02088700(UnkStruct_ov000_0208a38c *param1); + bool func_ov000_02088524(unk32 param1, vu32 param2, void* param3); + bool func_ov000_02088700(UnkStruct_ov000_0208a38c* param1); bool func_ov000_02088854(); - void func_ov000_02088d10(VecFx32 *param1); + void func_ov000_02088d10(VecFx32* param1); // overlay 17 bool func_ov017_020bc95c(bool param1); @@ -885,8 +885,8 @@ class UnkStruct_027e0ce0_40 : public UnkStruct_027e0ce0_40_Base { bool func_ov017_020bcde8(bool param1); // overlay 31 - void func_ov031_020dbe5c(PlayerType playerType, VecFx32 *param2); - VecFx32 *func_ov031_020dbe88(PlayerType playerType); + void func_ov031_020dbe5c(PlayerType playerType, VecFx32* param2); + VecFx32* func_ov031_020dbe88(PlayerType playerType); bool func_ov031_020dbe9c(PlayerType playerType); bool func_ov031_020dbebc(PlayerType playerType); s16 func_ov031_020dbed0(PlayerType playerType); @@ -894,23 +894,23 @@ class UnkStruct_027e0ce0_40 : public UnkStruct_027e0ce0_40_Base { void func_ov031_020dbf2c(PlayerType playerType, bool param1); bool func_ov031_020dbf58(PlayerType playerType); void func_ov031_020dbf7c(PlayerType playerType); - void func_ov031_020dbfa0(PlayerType playerType, VecFx32 *param2); - void func_ov031_020dc058(PlayerType playerType, VecFx32 *param2, UnkAngleStruct param3); - bool func_ov031_020dc12c(PlayerType playerType, unk32 param2, unk32 param3, Sphere *param4, const VecFx32 *param5, + void func_ov031_020dbfa0(PlayerType playerType, VecFx32* param2); + void func_ov031_020dc058(PlayerType playerType, VecFx32* param2, UnkAngleStruct param3); + bool func_ov031_020dc12c(PlayerType playerType, unk32 param2, unk32 param3, Sphere* param4, const VecFx32* param5, unk32 param6); bool func_ov031_020dc1bc(PlayerType playerType, unk32 param2, fx32 param3); - bool func_ov031_020dc1f0(PlayerType playerType, unk32 param2, unk32 param3, VecFx32 *param4); + bool func_ov031_020dc1f0(PlayerType playerType, unk32 param2, unk32 param3, VecFx32* param4); void func_ov031_020dc218(RefStruct ref, unk32 param2); bool func_ov031_020dc258(PlayerType playerType); bool func_ov031_020dc288(PlayerType playerType, bool param2); - bool func_ov031_020dc2a0(PlayerType playerType, VecFx32 *param2, BOOL param3, BOOL param4); - void func_ov031_020dc2d4(PlayerType playerType, const VecFx32 *param2); + bool func_ov031_020dc2a0(PlayerType playerType, VecFx32* param2, BOOL param3, BOOL param4); + void func_ov031_020dc2d4(PlayerType playerType, const VecFx32* param2); void func_ov031_020dc2fc(PlayerType playerType, unk32 param2, unk32 param3, unk32 param4); void func_ov031_020dc384(PlayerType playerType, bool param2); bool func_ov031_020dc3e0(RefStruct ref); bool func_ov031_020dc400(); - static void func_ov031_020dbf08(unk32 *param1, UnkStruct_027e0ce0_40 *thisx, PlayerType playerType); + static void func_ov031_020dbf08(unk32* param1, UnkStruct_027e0ce0_40* thisx, PlayerType playerType); // overlay 93 void func_ov093_02168020(unk32 param1); @@ -921,14 +921,14 @@ class UnkStruct_027e0ce0_40 : public UnkStruct_027e0ce0_40_Base { // overlay 101 bool func_ov101_02182fb4(bool param1); void func_ov101_02183004(); - void func_ov101_02183024(const UnkStruct_ov001_020c40f4 *param1, const UnkStruct_ov001_020c40f4 *param2, unk32 param3, - unk32 param4, ItemManager *pItemMgr, UnkStruct_027e0ce0_30 *param6, bool param7, bool param8); + void func_ov101_02183024(const UnkStruct_ov001_020c40f4* param1, const UnkStruct_ov001_020c40f4* param2, unk32 param3, + unk32 param4, ItemManager* pItemMgr, UnkStruct_027e0ce0_30* param6, bool param7, bool param8); // overlay 102 - void func_ov102_0218303c(bool param1, ItemManager *pItemMgr); + void func_ov102_0218303c(bool param1, ItemManager* pItemMgr); void func_ov102_02183180(unk32 param1, bool param2); - void func_ov102_021831b4(void *param1); - void func_ov102_021831f0(void *param1); + void func_ov102_021831b4(void* param1); + void func_ov102_021831f0(void* param1); }; union UnkStruct_027e0478 { @@ -957,20 +957,20 @@ class UnkStruct_027e0ce0 : public AutoInstance, public UnkSt /* 04 */ ActorId mPhantomId; /* 08 */ bool mUnk_08; /* 0C */ UnkStruct_027e0ce0_0C mUnk_0C; - /* 1C */ UnkStruct_027e0ce0_1C *mUnk_1C; - /* 20 */ UnkStruct_027e0ce0_20 *mUnk_20; - /* 24 */ UnkStruct_027e0ce0_24 *mUnk_24; // only for battle mode - /* 28 */ ItemManager *mUnk_28; // only for title screen or adventure mode - /* 2C */ ItemManager *mUnk_2C; // same as above - /* 30 */ UnkStruct_027e0ce0_30 *mUnk_30; - /* 34 */ UnkStruct_027e0ce0_34 *mUnk_34; // only for adventure mode - /* 38 */ UnkStruct_027e0ce0_38 *mUnk_38; // pointer to data_027e0478 when on train - /* 3C */ UnkStruct_027e0ce0_3C *mUnk_3C; // cutscene related - /* 40 */ UnkStruct_027e0ce0_40 *mUnk_40; // pointer to data_027e0478 when on land + /* 1C */ UnkStruct_027e0ce0_1C* mUnk_1C; + /* 20 */ UnkStruct_027e0ce0_20* mUnk_20; + /* 24 */ UnkStruct_027e0ce0_24* mUnk_24; // only for battle mode + /* 28 */ ItemManager* mUnk_28; // only for title screen or adventure mode + /* 2C */ ItemManager* mUnk_2C; // same as above + /* 30 */ UnkStruct_027e0ce0_30* mUnk_30; + /* 34 */ UnkStruct_027e0ce0_34* mUnk_34; // only for adventure mode + /* 38 */ UnkStruct_027e0ce0_38* mUnk_38; // pointer to data_027e0478 when on train + /* 3C */ UnkStruct_027e0ce0_3C* mUnk_3C; // cutscene related + /* 40 */ UnkStruct_027e0ce0_40* mUnk_40; // pointer to data_027e0478 when on land /* 44 */ - unk32 UnknownInline1(VecFx32 *param1, PlayerType playerType) { - VecFx32 *temp_r0 = this->func_01fff148(playerType); + unk32 UnknownInline1(VecFx32* param1, PlayerType playerType) { + VecFx32* temp_r0 = this->func_01fff148(playerType); return func_01ff9258(temp_r0->x - param1->x, temp_r0->z - param1->z); } @@ -978,59 +978,59 @@ class UnkStruct_027e0ce0 : public AutoInstance, public UnkSt ~UnkStruct_027e0ce0(); // itcm - VecFx32 *func_01fff148(PlayerType playerType); - VecFx32 *func_01fff168(PlayerType playerType); + VecFx32* func_01fff148(PlayerType playerType); + VecFx32* func_01fff168(PlayerType playerType); bool func_01fff1a4(); bool func_01fff1e0(); // overlay 0 - void func_ov000_0208a218(InvImportData *pInvData); + void func_ov000_0208a218(InvImportData* pInvData); void func_ov000_0208a2c4(unk32 param1, unk32 param2); void func_ov000_0208a318(unk32 param1, unk32 param2, unk32 param3); - void func_ov000_0208ba40(SaveInventoryData *param1); - void func_ov000_0208ba94(unk32 param1, VecFx32 *param2); - void func_ov000_0208bacc(unk32 param1, VecFx32 *param2); + void func_ov000_0208ba40(SaveInventoryData* param1); + void func_ov000_0208ba94(unk32 param1, VecFx32* param2); + void func_ov000_0208bacc(unk32 param1, VecFx32* param2); void func_ov000_0208bb94(unk32 param2, unk32 param3); bool func_ov000_0208bba4(unk32 param2); - void func_ov000_0208bbc4(unk32 param1, void *param2); - void func_ov000_0208bbd4(PlayerType playerType, VecFx32 *param2, UnkAngleStruct param3); - void func_ov000_0208bc00(unk16 param1, Sphere *param2); - bool func_ov000_0208bc1c(PlayerType playerType, unk32 param2, unk32 param3, Sphere *param4, void *param5, unk32 param6); + void func_ov000_0208bbc4(unk32 param1, void* param2); + void func_ov000_0208bbd4(PlayerType playerType, VecFx32* param2, UnkAngleStruct param3); + void func_ov000_0208bc00(unk16 param1, Sphere* param2); + bool func_ov000_0208bc1c(PlayerType playerType, unk32 param2, unk32 param3, Sphere* param4, void* param5, unk32 param6); void func_ov000_0208bc9c(unk32 param1, unk32 param2); void func_ov000_0208bd20(PlayerType playerType, unk32 param2, unk32 param3); void func_ov000_0208bd30(PlayerType playerType, unk32 param2, unk32 param3, unk32 param4); - void func_ov000_0208bdd4(unk32, void *param2); - void func_ov000_0208bde4(unk32 param1, unk32 param2, VecFx32 *param5, unk32 param3); + void func_ov000_0208bdd4(unk32, void* param2); + void func_ov000_0208bde4(unk32 param1, unk32 param2, VecFx32* param5, unk32 param3); bool func_ov000_0208be0c(RefStruct param1); bool func_ov000_0208be70(); bool func_ov000_0208bee8(); bool func_ov000_0208bf34(unk32 param1); void func_ov000_0208bf88(unk32 param1); - void func_ov000_0208bfd0(void *param1, VecFx32 *param2, unk32 param3); + void func_ov000_0208bfd0(void* param1, VecFx32* param2, unk32 param3); - static UnkStruct_027e0ce0_34 *func_ov000_0205c904(); + static UnkStruct_027e0ce0_34* func_ov000_0205c904(); // overlay 1 - void func_ov001_020bc4d8(InvImportData *pInvData, SaveFile_00000_0000_Data_D8 *param2, unk32 param3); + void func_ov001_020bc4d8(InvImportData* pInvData, SaveFile_00000_0000_Data_D8* param2, unk32 param3); void func_ov001_020bc524(bool param1); void func_ov001_020bc5f8(); void func_ov001_020bc65c(); void func_ov001_020bc69c(); - void func_ov001_020bc6d8(unk32 param1, const UnkStruct_ov001_020c40f4 *param2); - void func_ov001_020bc6e8(const UnkStruct_ov001_020c40f4 *param1); - void func_ov001_020bc6fc(const UnkStruct_ov001_020c40f4 *param1, const UnkStruct_ov001_020c40f4 *param2, unk32 param3, + void func_ov001_020bc6d8(unk32 param1, const UnkStruct_ov001_020c40f4* param2); + void func_ov001_020bc6e8(const UnkStruct_ov001_020c40f4* param1); + void func_ov001_020bc6fc(const UnkStruct_ov001_020c40f4* param1, const UnkStruct_ov001_020c40f4* param2, unk32 param3, unk32 param4); - static UnkStruct_027e0ce0 *Create(); + static UnkStruct_027e0ce0* Create(); static void Destroy(); // overlay 17 void func_ov017_020bd4a0(unk32 param1, bool param2); void func_ov017_020bd568(unk32 param1); - void func_ov017_020bd5c4(void *param1); - void func_ov017_020bd5dc(void *param1); - void func_ov017_020bd644(void *param1); + void func_ov017_020bd5c4(void* param1); + void func_ov017_020bd5dc(void* param1); + void func_ov017_020bd644(void* param1); void func_ov017_020bd69c(); }; -extern UnkStruct_027e0ce0 *data_027e0ce0; +extern UnkStruct_027e0ce0* data_027e0ce0; diff --git a/include/Unknown/UnkStruct_027e0cec.hpp b/include/Unknown/UnkStruct_027e0cec.hpp index f7cb675b8..d3021ad48 100644 --- a/include/Unknown/UnkStruct_027e0cec.hpp +++ b/include/Unknown/UnkStruct_027e0cec.hpp @@ -24,11 +24,11 @@ class UnkStruct_027e0cec_00_00 : public LinkList { class UnkStruct_027e0cec_00 : public UnkStruct_027e0cec_00_00 { public: /* 00 (base) */ - /* 10 */ UnkStruct_027e0cec *mUnk_10; + /* 10 */ UnkStruct_027e0cec* mUnk_10; /* 14 */ unk32 mUnk_14; /* 18 */ - UnkStruct_027e0cec_00(UnkStruct_027e0cec *param1); + UnkStruct_027e0cec_00(UnkStruct_027e0cec* param1); // data_ov017_020c3f38 /* 00 */ virtual void vfunc_00(); @@ -51,7 +51,7 @@ class UnkStruct_027e0cec_18_04 : public LinkList { /* 14 */ unk32 mUnk_14; /* 18 */ unk32 mUnk_18; /* 1C */ unk32 mUnk_1C; - /* 20 */ UnkStruct_027e0cec_18_04_20 **mUnk_20; + /* 20 */ UnkStruct_027e0cec_18_04_20** mUnk_20; /* 24 */ u32 mUnk_24_00 : 1; /* 24 */ u32 mUnk_24_01 : 1; /* 24 */ u32 mUnk_24_02 : 1; @@ -63,7 +63,7 @@ class UnkStruct_027e0cec_18_04 : public LinkList { /* 34 */ unk32 mUnk_34; /* 38 */ unk32 mUnk_38; /* 3C */ unk32 mUnk_3C; - /* 40 */ LinkList mUnk_40; + /* 40 */ LinkList mUnk_40; /* 48 */ u16 mUnk_48; /* 48 */ u16 mUnk_4A; /* 48 */ u16 mUnk_4C; @@ -80,19 +80,19 @@ class UnkStruct_027e0cec_18_04 : public LinkList { // overlay 0 void func_ov000_02054a78(); void func_ov000_02054a88(); - void func_ov000_0205498c(void *pFile); - void func_ov000_02054998(void *param1); + void func_ov000_0205498c(void* pFile); + void func_ov000_02054998(void* param1); }; class UnkStruct_027e0cec_18 { public: /* 00 (vtable) */ - /* 04 */ UnkStruct_027e0cec_18_04 *mUnk_04; + /* 04 */ UnkStruct_027e0cec_18_04* mUnk_04; /* 08 */ unk16 mUnk_08; /* 0A */ unk16 mUnk_0A; // pad? /* 0C */ - UnkStruct_027e0cec_18(UnkFileSystem1 *param1, bool param2, unk32 param3); + UnkStruct_027e0cec_18(UnkFileSystem1* param1, bool param2, unk32 param3); // data_ov001_020c2fcc /* 00 */ virtual ~UnkStruct_027e0cec_18(); @@ -102,17 +102,17 @@ class UnkStruct_027e0cec_18 { void func_ov000_020a0460(); // overlay 1 - static void *func_ov001_020bf0a0(size_t length); + static void* func_ov001_020bf0a0(size_t length); // overlay 17 void func_ov017_020c297c(unk32 param1, unk32 param2); - bool func_ov017_020c2ad8(void *param1, unk32 param2, unk32 param3); + bool func_ov017_020c2ad8(void* param1, unk32 param2, unk32 param3); }; class UnkStruct_027e0cec : public AutoInstance { public: /* 00 */ UnkStruct_027e0cec_00 mUnk_00; - /* 18 */ UnkStruct_027e0cec_18 *mUnk_18[2]; + /* 18 */ UnkStruct_027e0cec_18* mUnk_18[2]; /* 20 */ unk32 mUnk_20; /* 24 */ @@ -120,21 +120,21 @@ class UnkStruct_027e0cec : public AutoInstance { ~UnkStruct_027e0cec(); // overlay 0 - void func_ov000_0209feac(unk32 param1, VecFx32 *param2, unk32 param3, unk32 param4, unk32 param5); - void func_ov000_0209ff24(unk32 param1, VecFx32 *param2, VecFx16 *param3, unk32 param4); - void func_ov000_0209ff8c(UnkSystem7 *param1, unk32 param2, VecFx32 *param3, unk32 param4); - void func_ov000_020a0000(UnkSystem7 *param1, void *param2, unk32 *param3, VecFx32 *param4, unk32 param5); - void func_ov000_020a00d4(UnkSystem7 *param1, unk32 param2, unk32 param3, unk32 param4, VecFx32 *param5, unk32 param6); - void func_ov000_020a0110(UnkSystem7 *param1); - void func_ov000_020a0140(UnkSystem7 *param1, VecFx32 *param2); - void func_ov000_020a0220(void *param1, void *param2); - void func_ov000_0209ff4c(unk32 param1, VecFx32 *param2, UnkAngleStruct param3, unk32 param4); + void func_ov000_0209feac(unk32 param1, VecFx32* param2, unk32 param3, unk32 param4, unk32 param5); + void func_ov000_0209ff24(unk32 param1, VecFx32* param2, VecFx16* param3, unk32 param4); + void func_ov000_0209ff8c(UnkSystem7* param1, unk32 param2, VecFx32* param3, unk32 param4); + void func_ov000_020a0000(UnkSystem7* param1, void* param2, unk32* param3, VecFx32* param4, unk32 param5); + void func_ov000_020a00d4(UnkSystem7* param1, unk32 param2, unk32 param3, unk32 param4, VecFx32* param5, unk32 param6); + void func_ov000_020a0110(UnkSystem7* param1); + void func_ov000_020a0140(UnkSystem7* param1, VecFx32* param2); + void func_ov000_020a0220(void* param1, void* param2); + void func_ov000_0209ff4c(unk32 param1, VecFx32* param2, UnkAngleStruct param3, unk32 param4); // overlay 1 - const char *func_ov001_020bef98(); + const char* func_ov001_020bef98(); void func_ov001_020bf028(); - static UnkStruct_027e0cec *Create(); + static UnkStruct_027e0cec* Create(); static void func_ov001_020bed34(); // overlay 17 @@ -143,4 +143,4 @@ class UnkStruct_027e0cec : public AutoInstance { void func_ov017_020c1fc0(unk32 param1, unk32 param2); }; -extern UnkStruct_027e0cec *data_027e0cec; +extern UnkStruct_027e0cec* data_027e0cec; diff --git a/include/Unknown/UnkStruct_027e0cf0.hpp b/include/Unknown/UnkStruct_027e0cf0.hpp index a66e71e09..ae239a278 100644 --- a/include/Unknown/UnkStruct_027e0cf0.hpp +++ b/include/Unknown/UnkStruct_027e0cf0.hpp @@ -17,4 +17,4 @@ class UnkStruct_027e0cf0 { ~UnkStruct_027e0cf0(); }; -extern UnkStruct_027e0cf0 *data_027e0cf0; +extern UnkStruct_027e0cf0* data_027e0cf0; diff --git a/include/Unknown/UnkStruct_027e0cf4.hpp b/include/Unknown/UnkStruct_027e0cf4.hpp index 9e2ce5708..137a76e5b 100644 --- a/include/Unknown/UnkStruct_027e0cf4.hpp +++ b/include/Unknown/UnkStruct_027e0cf4.hpp @@ -8,10 +8,10 @@ class UnkStruct_027e0cf4 { ~UnkStruct_027e0cf4(); // overlay 21 - void func_ov021_020f6f58(unk32 param1, unk32 param2, void *param3, unk32 param4, unk32 param5); + void func_ov021_020f6f58(unk32 param1, unk32 param2, void* param3, unk32 param4, unk32 param5); void func_ov021_020f8cdc(); void func_ov021_020f8d20(); }; // gBattleGame? -extern UnkStruct_027e0cf4 *data_027e0cf4; +extern UnkStruct_027e0cf4* data_027e0cf4; diff --git a/include/Unknown/UnkStruct_027e0cf8.hpp b/include/Unknown/UnkStruct_027e0cf8.hpp index 5087df8f9..f9ee02986 100644 --- a/include/Unknown/UnkStruct_027e0cf8.hpp +++ b/include/Unknown/UnkStruct_027e0cf8.hpp @@ -26,7 +26,7 @@ class UnkStruct_027e0cf8_00 { public: /* 0000 */ Random mRandom; /* 0018 */ UnkStruct_027e0cf8_00_18 mUnk_0018; - /* 2238 */ Vec2p *mUnk_2238; + /* 2238 */ Vec2p* mUnk_2238; /* 223C */ unk32 mUnk_223C; /* 2240 */ Vec2s mUnk_2240; /* 2244 */ unk32 mUnk_2244; @@ -51,14 +51,14 @@ class UnkStruct_027e0cf8_00 { // overlay 17 void func_ov017_020c3414(); - void func_ov017_020c3574(unk8 *param1); - void func_ov017_020c3644(UnkStruct_027e0cf8_00_18_00 *param1); - void func_ov017_020c3668(const UnkStruct_027e0cf8_00_18_00 *param1, const unk8 *param2) const; + void func_ov017_020c3574(unk8* param1); + void func_ov017_020c3644(UnkStruct_027e0cf8_00_18_00* param1); + void func_ov017_020c3668(const UnkStruct_027e0cf8_00_18_00* param1, const unk8* param2) const; s32 func_ov017_020c35e8(); // overlay 24 - void func_ov024_020cf9d4(UnkStruct_027e0cf8_00_18_00 *param1); - void func_ov024_020cfb7c(UnkDataStruct4 *param1, Vec2s *param2, unk32 param3, u16 param4, unk32 param5, unk32 param6); + void func_ov024_020cf9d4(UnkStruct_027e0cf8_00_18_00* param1); + void func_ov024_020cfb7c(UnkDataStruct4* param1, Vec2s* param2, unk32 param3, u16 param4, unk32 param5, unk32 param6); static s32 func_ov024_020cfd54(s32 param1, s32 stationSceneIdx, s32 param3, s32 param4); static bool func_ov024_020cfe24(s16 stationSceneIdx); @@ -97,7 +97,7 @@ class UnkStruct_027e0cf8_08_00 : public AdventureModeManager_1B8_Base { /* 13C */ UnkArrayDataType2 mUnk_13C; /* 158 */ UnkArrayDataType2 mUnk_158; /* 174 */ Vec2s mUnk_174; - /* 178 */ Vec2s *mUnk_178[4][4]; + /* 178 */ Vec2s* mUnk_178[4][4]; /* 1B8 */ UnkStruct_027e0cf8_08_00(u8 bgType); @@ -107,21 +107,21 @@ class UnkStruct_027e0cf8_08_00 : public AdventureModeManager_1B8_Base { void func_ov001_020bfb20(); // overlay 24 - void func_ov024_020d3adc(Vec2s *param1, unk32 param2, unk32 param3, u8 param4, bool param5, u8 param6); + void func_ov024_020d3adc(Vec2s* param1, unk32 param2, unk32 param3, u8 param4, bool param5, u8 param6); unk32 func_ov024_020d3bfc(UnkArrayDataType2 param1, unk32 param2, unk32 param3, bool param4); - static bool func_ov024_020d3900(Vec2s *param1, fx32 *param2, fx32 *param3, unk32 param4, unk32 param5); - static bool func_ov024_020d3914(Vec2s *param1, Vec2s *param2, Vec2s *param3); - static bool func_ov024_020d3970(Vec2s *param1, fx32 *param2, fx32 *param3, unk32 param4, unk32 param5); - static bool func_ov024_020d39fc(Vec2s *param1, unk32 param2, unk32 param3); - static bool func_ov024_020d3a34(Vec2s *param1, unk32 param2, unk32 param3); - static void func_ov024_020d3a60(Vec2s *param1, Vec2s *param2, unk32 param3, unk32 param4); - static bool func_ov024_020d3a8c(Vec2s *param1); + static bool func_ov024_020d3900(Vec2s* param1, fx32* param2, fx32* param3, unk32 param4, unk32 param5); + static bool func_ov024_020d3914(Vec2s* param1, Vec2s* param2, Vec2s* param3); + static bool func_ov024_020d3970(Vec2s* param1, fx32* param2, fx32* param3, unk32 param4, unk32 param5); + static bool func_ov024_020d39fc(Vec2s* param1, unk32 param2, unk32 param3); + static bool func_ov024_020d3a34(Vec2s* param1, unk32 param2, unk32 param3); + static void func_ov024_020d3a60(Vec2s* param1, Vec2s* param2, unk32 param3, unk32 param4); + static bool func_ov024_020d3a8c(Vec2s* param1); }; class UnkStruct_027e0cf8_08 { public: - /* 000 */ UnkStruct_027e0cf8_08_00 *mUnk_000; + /* 000 */ UnkStruct_027e0cf8_08_00* mUnk_000; /* 004 */ unk32 mUnk_004; // volatile? /* 008 */ unk32 mUnk_008; /* 00C */ unk32 mUnk_00C; @@ -139,17 +139,17 @@ class UnkStruct_027e0cf8_08 { void func_ov017_020be8a8(); // overlay 24 - void func_ov024_020d32b4(unk8 *param1); + void func_ov024_020d32b4(unk8* param1); void func_ov024_020d32d8(); - void func_ov024_020d32e8(Vec2s *param1); - void func_ov024_020d3324(UnkDataStruct4 *param1); - void func_ov024_020d3348(UnkDataStruct4 *param1, unk32 param2, u16 param3, unk32 param4, unk32 param5); - void func_ov024_020d336c(UnkDataStruct4 *param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5); + void func_ov024_020d32e8(Vec2s* param1); + void func_ov024_020d3324(UnkDataStruct4* param1); + void func_ov024_020d3348(UnkDataStruct4* param1, unk32 param2, u16 param3, unk32 param4, unk32 param5); + void func_ov024_020d336c(UnkDataStruct4* param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5); void func_ov024_020d340c(); void func_ov024_020d341c(bool param1); - void func_ov024_020d3428(const UnkDataStruct4 *param1, unk32 param2, u8 param3); + void func_ov024_020d3428(const UnkDataStruct4* param1, unk32 param2, u8 param3); void func_ov024_020d34a0(UnkArrayDataType1 param1, u8 param2); - void func_ov024_020d351c(unk32 param1, unk32 param2, unk32 *param3, unk32 param4, u8 param5); + void func_ov024_020d351c(unk32 param1, unk32 param2, unk32* param3, unk32 param4, u8 param5); static u8 func_ov024_020d3158(SceneIndex sceneIndex); }; @@ -188,18 +188,18 @@ class UnkStruct_027e0cf8_0C { ~UnkStruct_027e0cf8_0C(); // overlay 17 - void func_ov017_020c3748(unk8 *param1); - void func_ov017_020c378c(const unk8 *param1, const UnkStruct_027e0cf8_0C_00 *param2) const; + void func_ov017_020c3748(unk8* param1); + void func_ov017_020c378c(const unk8* param1, const UnkStruct_027e0cf8_0C_00* param2) const; // overlay 24 - void func_ov024_020cff8c(UnkDataStruct4 *param1, Vec2s *param2); + void func_ov024_020cff8c(UnkDataStruct4* param1, Vec2s* param2); void func_ov024_020d0004(); - void func_ov024_020d002c(const UnkDataStruct4 *param1); - void func_ov024_020d01c0(const UnkDataStruct4 *param1); - bool func_ov024_020d02e0(fx32 *pX, fx32 *pZ, s32 param3); - bool func_ov024_020d0340(Vec2s *param1, unk32 param2); - void func_ov024_020d03f8(Vec2s *param1); - s32 func_ov024_020d041c(Vec2s *param1); + void func_ov024_020d002c(const UnkDataStruct4* param1); + void func_ov024_020d01c0(const UnkDataStruct4* param1); + bool func_ov024_020d02e0(fx32* pX, fx32* pZ, s32 param3); + bool func_ov024_020d0340(Vec2s* param1, unk32 param2); + void func_ov024_020d03f8(Vec2s* param1); + s32 func_ov024_020d041c(Vec2s* param1); void func_ov024_020d05d0(unk32 param1, bool param2); static bool func_ov024_020d0510(s16 param1); @@ -207,10 +207,10 @@ class UnkStruct_027e0cf8_0C { class UnkStruct_027e0cf8 : public AutoInstance { public: - /* 00 */ UnkStruct_027e0cf8_00 *mUnk_00; - /* 04 */ UnkStruct_027e0cf8_04 *mUnk_04; - /* 08 */ UnkStruct_027e0cf8_08 *mUnk_08; - /* 0C */ UnkStruct_027e0cf8_0C *mUnk_0C; + /* 00 */ UnkStruct_027e0cf8_00* mUnk_00; + /* 04 */ UnkStruct_027e0cf8_04* mUnk_04; + /* 08 */ UnkStruct_027e0cf8_08* mUnk_08; + /* 0C */ UnkStruct_027e0cf8_0C* mUnk_0C; /* 10 */ Vec2s mUnk_10; /* 14 */ Vec2s mUnk_14; /* 18 */ unk32 mUnk_18; @@ -228,31 +228,31 @@ class UnkStruct_027e0cf8 : public AutoInstance { ~UnkStruct_027e0cf8(); // overlay 17 - void func_ov017_020c390c(Input *pButtons, TouchControl *pTouchControl); - void func_ov017_020c397c(unk8 *param1); - void func_ov017_020c39d4(unk8 *param1); + void func_ov017_020c390c(Input* pButtons, TouchControl* pTouchControl); + void func_ov017_020c397c(unk8* param1); + void func_ov017_020c39d4(unk8* param1); // overlay 24 - void func_ov024_020c755c(UnkDataStruct4 *param1); - void func_ov024_020c75d0(UnkDataStruct4 *param1, unk32 param2, u16 param3); + void func_ov024_020c755c(UnkDataStruct4* param1); + void func_ov024_020c75d0(UnkDataStruct4* param1, unk32 param2, u16 param3); void func_ov024_020c7724(); void func_ov024_020c7750(); void func_ov024_020c7780(); void func_ov024_020c77b0(bool param1); - bool func_ov024_020c77c0(fx32 *pX, fx32 *pZ, s32 param3); - bool func_ov024_020c77d0(Vec2s *param1, unk32 param2); - void func_ov024_020c77e0(Vec2s *param1); - void func_ov024_020c7804(Vec2s *param1); + bool func_ov024_020c77c0(fx32* pX, fx32* pZ, s32 param3); + bool func_ov024_020c77d0(Vec2s* param1, unk32 param2); + void func_ov024_020c77e0(Vec2s* param1); + void func_ov024_020c7804(Vec2s* param1); void func_ov024_020c7828(ItemId itemId); void func_ov024_020c7878(unk32 param1, u16 param2); void func_ov024_020c7884(); void func_ov024_020c7898(); - bool func_ov024_020c78ac(unk32 *param1, unk16 *param2); + bool func_ov024_020c78ac(unk32* param1, unk16* param2); void func_ov024_020c78d0(); void func_ov024_020c78e4(unk32 param1); void func_ov024_020c7900(unk32 param1); - static UnkStruct_027e0cf8 *Create(); + static UnkStruct_027e0cf8* Create(); }; struct UnkStruct_ov024_020d8098 { @@ -279,4 +279,4 @@ struct UnkStruct_ov024_020d7454 { /* 0E */ }; -extern UnkStruct_027e0cf8 *data_027e0cf8; +extern UnkStruct_027e0cf8* data_027e0cf8; diff --git a/include/Unknown/UnkStruct_027e0d00.hpp b/include/Unknown/UnkStruct_027e0d00.hpp index 66828884b..4e5f78a11 100644 --- a/include/Unknown/UnkStruct_027e0d00.hpp +++ b/include/Unknown/UnkStruct_027e0d00.hpp @@ -40,11 +40,11 @@ class UnkStruct_027e0d00_20 : public MapObjectProfile_Derived2_20_Base { /* 00 */ virtual ~UnkStruct_027e0d00_20() override {} - void func_ov024_020d4fa0(void *param1, unk32 param2); + void func_ov024_020d4fa0(void* param1, unk32 param2); void func_ov024_020d5174(); - static void func_ov024_020d4e9c(wchar_t *param1, unk32 param2, bool param3); - static void func_ov024_020d4edc(wchar_t *param1, wchar_t *param2, unk32 param3); + static void func_ov024_020d4e9c(wchar_t* param1, unk32 param2, bool param3); + static void func_ov024_020d4edc(wchar_t* param1, wchar_t* param2, unk32 param3); }; class UnkStruct_027e0d00_E0 : public MapObjectProfile_Derived2_20_Base { @@ -67,17 +67,17 @@ struct UnkStruct_027e0d00_FC { class UnkStruct_027e0d00 : public AutoInstance { public: - /* 000 */ UnkStruct_027e0d00_00 *mUnk_000[MAX_TRAIN_PARTS]; - /* 010 */ UnkStruct_027e0d00_10 *mUnk_010[MAX_TRAIN_PARTS]; - /* 020 */ UnkStruct_027e0d00_20 *mUnk_020[MAX_TRAIN_PARTS][MAX_TRAIN_SETS]; - /* 0A0 */ void *mUnk_0A0[MAX_TRAIN_PARTS]; - /* 0B0 */ MapObjectProfile_Derived5 *mUnk_0B0[12]; // train parts models - /* 0E0 */ UnkStruct_027e0d00_E0 *mUnk_0E0; - /* 0E4 */ UnkStruct_027e0d00_20 *mUnk_0E4[MAX_TRAIN_PARTS]; - /* 0F4 */ MapObjectProfile_Derived5 *mUnk_0F4; // cargo models - /* 0F8 */ UnkStruct_027e0d00_00 *mUnk_0F8; - /* 0FC */ UnkStruct_027e0d00_FC *mUnk_0FC; - /* 100 */ MapObjectProfile_Derived5 *mUnk_100; + /* 000 */ UnkStruct_027e0d00_00* mUnk_000[MAX_TRAIN_PARTS]; + /* 010 */ UnkStruct_027e0d00_10* mUnk_010[MAX_TRAIN_PARTS]; + /* 020 */ UnkStruct_027e0d00_20* mUnk_020[MAX_TRAIN_PARTS][MAX_TRAIN_SETS]; + /* 0A0 */ void* mUnk_0A0[MAX_TRAIN_PARTS]; + /* 0B0 */ MapObjectProfile_Derived5* mUnk_0B0[12]; // train parts models + /* 0E0 */ UnkStruct_027e0d00_E0* mUnk_0E0; + /* 0E4 */ UnkStruct_027e0d00_20* mUnk_0E4[MAX_TRAIN_PARTS]; + /* 0F4 */ MapObjectProfile_Derived5* mUnk_0F4; // cargo models + /* 0F8 */ UnkStruct_027e0d00_00* mUnk_0F8; + /* 0FC */ UnkStruct_027e0d00_FC* mUnk_0FC; + /* 100 */ MapObjectProfile_Derived5* mUnk_100; /* 104 */ bool mUnk_104; /* 104 */ unk8 mUnk_105; /* 104 */ unk8 mUnk_106; @@ -104,7 +104,7 @@ class UnkStruct_027e0d00 : public AutoInstance { UnkStruct_027e0d00(); ~UnkStruct_027e0d00(); - static UnkStruct_027e0d00 *GetInstance(); + static UnkStruct_027e0d00* GetInstance(); // overlay 1 void func_ov001_020bf530(); @@ -133,13 +133,13 @@ class UnkStruct_027e0d00 : public AutoInstance { void func_ov024_020d4d44(); void func_ov024_020d4d6c(unk32 param1); void func_ov024_020d4df8(); - G3d_Model *func_ov024_020d4e3c(unk32 param1); + G3d_Model* func_ov024_020d4e3c(unk32 param1); - static void func_ov024_020d47c4(unk32 *param1, unk32 *param2, unk32 param3); - static UnkStruct_027e0d00 *Create(); + static void func_ov024_020d47c4(unk32* param1, unk32* param2, unk32 param3); + static UnkStruct_027e0d00* Create(); }; -extern UnkStruct_027e0d00 *data_027e0d00; +extern UnkStruct_027e0d00* data_027e0d00; extern const unk32 data_ov024_020d766c[]; diff --git a/include/Unknown/UnkStruct_027e0d08.hpp b/include/Unknown/UnkStruct_027e0d08.hpp index a82dd4b7e..14e589c92 100644 --- a/include/Unknown/UnkStruct_027e0d08.hpp +++ b/include/Unknown/UnkStruct_027e0d08.hpp @@ -7,11 +7,11 @@ class UnkStruct_027e0d08 : public AutoInstance { public: - /* 00 */ void *mUnk_00; - /* 04 */ s16 *mUnk_04; - /* 08 */ s16 *mUnk_08; - /* 0C */ s16 *mUnk_0C; - /* 10 */ s16 *mUnk_10; + /* 00 */ void* mUnk_00; + /* 04 */ s16* mUnk_04; + /* 08 */ s16* mUnk_08; + /* 0C */ s16* mUnk_0C; + /* 10 */ s16* mUnk_10; /* 14 */ u32 mUnk_14; /* 18 */ u32 mUnk_18; /* 1C */ unk32 mUnk_1C; @@ -42,10 +42,10 @@ class UnkStruct_027e0d08 : public AutoInstance { void func_ov024_020d5dd4(unk32 param1); void func_ov024_020d5e20(); void func_ov024_020d5fac(); - void func_ov024_020d5fe4(s16 *param1, s16 *param2, u32 param3); + void func_ov024_020d5fe4(s16* param1, s16* param2, u32 param3); - static UnkStruct_027e0d08 *Create(); - static void func_ov024_020d5fb8(s16 *param1, s16 *param2, u32 param3); + static UnkStruct_027e0d08* Create(); + static void func_ov024_020d5fb8(s16* param1, s16* param2, u32 param3); }; -extern UnkStruct_027e0d08 *data_027e0d08; +extern UnkStruct_027e0d08* data_027e0d08; diff --git a/include/Unknown/UnkStruct_027e0d2c.hpp b/include/Unknown/UnkStruct_027e0d2c.hpp index 52918e2fc..5c4ec12fd 100644 --- a/include/Unknown/UnkStruct_027e0d2c.hpp +++ b/include/Unknown/UnkStruct_027e0d2c.hpp @@ -8,23 +8,23 @@ class UnkStruct_ItemManager_20_04; class UnkStruct_027e0d2c : public AutoInstance { public: - /* 00 */ UnkStruct_ItemManager_20_04 *mUnk_00; + /* 00 */ UnkStruct_ItemManager_20_04* mUnk_00; /* 04 */ - UnkStruct_027e0d2c(UnkStruct_ItemManager_20_04 *param1) : + UnkStruct_027e0d2c(UnkStruct_ItemManager_20_04* param1) : mUnk_00(param1) {} // overlay 31 void func_ov031_020d95b4(); void func_ov031_020d95c8(RefStruct ref); bool func_ov031_020d95ec(RefStruct ref); - bool func_ov031_020d962c(VecFx32 *param1, unk32 param2, VecFx32 *param3, RefStruct *param4); + bool func_ov031_020d962c(VecFx32* param1, unk32 param2, VecFx32* param3, RefStruct* param4); - static void Create(UnkStruct_ItemManager_20_04 *param1); - static void func_ov031_020d961c(RefStruct *pRef, UnkStruct_027e0d2c *thisx); + static void Create(UnkStruct_ItemManager_20_04* param1); + static void func_ov031_020d961c(RefStruct* pRef, UnkStruct_027e0d2c* thisx); // overlay 101 static void Destroy(); }; -extern UnkStruct_027e0d2c *data_027e0d2c; +extern UnkStruct_027e0d2c* data_027e0d2c; diff --git a/include/Unknown/UnkStruct_027e0d30.hpp b/include/Unknown/UnkStruct_027e0d30.hpp index b7b390d46..fb5350474 100644 --- a/include/Unknown/UnkStruct_027e0d30.hpp +++ b/include/Unknown/UnkStruct_027e0d30.hpp @@ -7,20 +7,20 @@ class UnkStruct_027e0d30 : public AutoInstance { public: - /* 00 */ UnkStruct_ItemManager_20_08 *mUnk_00; + /* 00 */ UnkStruct_ItemManager_20_08* mUnk_00; /* 04 */ - UnkStruct_027e0d30(UnkStruct_ItemManager_20_08 *param1) : + UnkStruct_027e0d30(UnkStruct_ItemManager_20_08* param1) : mUnk_00(param1) {} // overlay 31 u16 func_ov031_020d9674(); - void func_ov031_020d9684(u16 param1, VecFx32 *param2); + void func_ov031_020d9684(u16 param1, VecFx32* param2); - static void Create(UnkStruct_ItemManager_20_08 *param1); + static void Create(UnkStruct_ItemManager_20_08* param1); // overlay 101 static void Destroy(); }; -extern UnkStruct_027e0d30 *data_027e0d30; +extern UnkStruct_027e0d30* data_027e0d30; diff --git a/include/Unknown/UnkStruct_027e0d34.hpp b/include/Unknown/UnkStruct_027e0d34.hpp index 3fe398dec..9060c7c3f 100644 --- a/include/Unknown/UnkStruct_027e0d34.hpp +++ b/include/Unknown/UnkStruct_027e0d34.hpp @@ -14,19 +14,19 @@ class UnkStruct_027e0ce0_40; class UnkStruct_027e0d34 : public AutoInstance { public: - /* 00 */ PlayerLinkActor *mpPlayer; - /* 04 */ PlayerLinkActor_A0 *mUnk_04; - /* 08 */ UnkStruct_027e0ce0_40 *mUnk_08; + /* 00 */ PlayerLinkActor* mpPlayer; + /* 04 */ PlayerLinkActor_A0* mUnk_04; + /* 08 */ UnkStruct_027e0ce0_40* mUnk_08; /* 0C */ - UnkStruct_027e0d34(PlayerLinkActor *pPlayer, PlayerLinkActor_A0 *param2, UnkStruct_027e0ce0_40 *param3); + UnkStruct_027e0d34(PlayerLinkActor* pPlayer, PlayerLinkActor_A0* param2, UnkStruct_027e0ce0_40* param3); // overlay 1 static void Destroy(); // overlay 31 bool func_ov031_020d96e0(); - void func_ov031_020d96e4(const VecFx32 *param1, VecFx32 *param2); + void func_ov031_020d96e4(const VecFx32* param1, VecFx32* param2); void func_ov031_020d96f4(); void func_ov031_020d9704(); bool func_ov031_020d9714(); @@ -46,12 +46,12 @@ class UnkStruct_027e0d34 : public AutoInstance { void func_ov031_020d9824(unk32 param1, unk32 param2); bool TryItemGive(ItemId itemId); void func_ov031_020d9844(); - void func_ov031_020d9854(VecFx32 *param1, fx32 param2); - void func_ov031_020d9888(VecFx32 *param1, fx32 param2, UnkAngleStruct param3); - void func_ov031_020d98bc(unk32 param1, const VecFx32 *param2); - void func_ov031_020d98d8(unk32 param1, const VecFx32 *param2); - void func_ov031_020d98f4(VecFx32 *param1, UnkAngleStruct param2); - void func_ov031_020d9920(VecFx32 *param1, UnkAngleStruct param2); + void func_ov031_020d9854(VecFx32* param1, fx32 param2); + void func_ov031_020d9888(VecFx32* param1, fx32 param2, UnkAngleStruct param3); + void func_ov031_020d98bc(unk32 param1, const VecFx32* param2); + void func_ov031_020d98d8(unk32 param1, const VecFx32* param2); + void func_ov031_020d98f4(VecFx32* param1, UnkAngleStruct param2); + void func_ov031_020d9920(VecFx32* param1, UnkAngleStruct param2); void func_ov031_020d994c(); void func_ov031_020d995c(unk32 param1, unk32 param2, unk32 param3); void func_ov031_020d996c(); @@ -59,13 +59,13 @@ class UnkStruct_027e0d34 : public AutoInstance { void func_ov031_020d99ac(unk8 param1); void func_ov031_020d99bc(); unk32 func_ov031_020d99cc(); - void func_ov031_020d99dc(unk32 param1, const VecFx32 *param2); - void func_ov031_020d99ec(unk32 param1, const VecFx32 *param2); + void func_ov031_020d99dc(unk32 param1, const VecFx32* param2); + void func_ov031_020d99ec(unk32 param1, const VecFx32* param2); bool func_ov031_020d99fc(unk32 param1, RefStruct ref); void func_ov031_020d9a1c(s32 param1); bool func_ov031_020d9a34(s32 param1); bool func_ov031_020d9a4c(bool param1); - void func_ov031_020d9a5c(const VecFx32 *param1); + void func_ov031_020d9a5c(const VecFx32* param1); bool func_ov031_020d9a78(RefStruct ref); void func_ov031_020d9a98(); void func_ov031_020d9aa8(); @@ -78,7 +78,7 @@ class UnkStruct_027e0d34 : public AutoInstance { void func_ov031_020d9ba8(); void func_ov031_020d9bb4(); - static UnkStruct_027e0d34 *Create(PlayerLinkActor *pPlayer, PlayerLinkActor_A0 *param2, UnkStruct_027e0ce0_40 *param3); + static UnkStruct_027e0d34* Create(PlayerLinkActor* pPlayer, PlayerLinkActor_A0* param2, UnkStruct_027e0ce0_40* param3); }; -extern UnkStruct_027e0d34 *data_027e0d34; +extern UnkStruct_027e0d34* data_027e0d34; diff --git a/include/Unknown/UnkStruct_027e0d38.hpp b/include/Unknown/UnkStruct_027e0d38.hpp index 3d06964fc..3f8488867 100644 --- a/include/Unknown/UnkStruct_027e0d38.hpp +++ b/include/Unknown/UnkStruct_027e0d38.hpp @@ -9,25 +9,25 @@ class UnkStruct_ItemManager_20_00; class UnkStruct_027e0d38 : public AutoInstance { public: - /* 00 */ UnkStruct_ItemManager_20_00 *mUnk_00; + /* 00 */ UnkStruct_ItemManager_20_00* mUnk_00; - UnkStruct_027e0d38(UnkStruct_ItemManager_20_00 *param1) : + UnkStruct_027e0d38(UnkStruct_ItemManager_20_00* param1) : mUnk_00(param1) {} // overlay 26 - unk32 func_ov026_020d9c14(RefStruct ref, VecFx32 *pPos, VecFx32 *pVel); + unk32 func_ov026_020d9c14(RefStruct ref, VecFx32* pPos, VecFx32* pVel); // overlay 31 bool func_ov031_020d9bec(); bool func_ov031_020d9c04(unk32 param1, unk32 param2, bool param3); - void func_ov031_020d9c14(RefStruct ref, VecFx32 *param2, VecFx32 *param3); - bool func_ov031_020d9c34(bool param1, VecFx32 *param2); + void func_ov031_020d9c14(RefStruct ref, VecFx32* param2, VecFx32* param3); + bool func_ov031_020d9c34(bool param1, VecFx32* param2); void func_ov031_020d9c44(u16 param1); - static void Create(UnkStruct_ItemManager_20_00 *param1); + static void Create(UnkStruct_ItemManager_20_00* param1); // overlay 101 static void Destroy(); }; -extern UnkStruct_027e0d38 *data_027e0d38; +extern UnkStruct_027e0d38* data_027e0d38; diff --git a/include/Unknown/UnkStruct_027e0d70.hpp b/include/Unknown/UnkStruct_027e0d70.hpp index 3ad239740..19eab106a 100644 --- a/include/Unknown/UnkStruct_027e0d70.hpp +++ b/include/Unknown/UnkStruct_027e0d70.hpp @@ -12,4 +12,4 @@ class UnkStruct_027e0d70 { void func_ov071_0215eb18(); }; -extern UnkStruct_027e0d70 *data_027e0d70; +extern UnkStruct_027e0d70* data_027e0d70; diff --git a/include/Unknown/UnkStruct_027e0d8c.hpp b/include/Unknown/UnkStruct_027e0d8c.hpp index b9f87dc79..8ec21c88a 100644 --- a/include/Unknown/UnkStruct_027e0d8c.hpp +++ b/include/Unknown/UnkStruct_027e0d8c.hpp @@ -8,9 +8,9 @@ class PlayerActorBase; class UnkStruct_027e0d8c { public: - /* 00 */ PlayerActorBase *mpZelda; - /* 04 */ void *mUnk_04; // pointer to `PlayerZeldaActor::mUnk_0BC`? - /* 08 */ void *mUnk_08; // pointer to `PlayerZeldaActor::mUnk_0B8` + /* 00 */ PlayerActorBase* mpZelda; + /* 04 */ void* mUnk_04; // pointer to `PlayerZeldaActor::mUnk_0BC`? + /* 08 */ void* mUnk_08; // pointer to `PlayerZeldaActor::mUnk_0B8` /* 0C */ unk32 mUnk_0C; // pointer? /* 10 */ @@ -31,4 +31,4 @@ class UnkStruct_027e0d8c { void func_ov093_02166220(); }; -extern UnkStruct_027e0d8c *data_027e0d8c; +extern UnkStruct_027e0d8c* data_027e0d8c; diff --git a/include/Unknown/UnkStruct_ov000_0207f47c.hpp b/include/Unknown/UnkStruct_ov000_0207f47c.hpp index 5b5a47683..ed7040551 100644 --- a/include/Unknown/UnkStruct_ov000_0207f47c.hpp +++ b/include/Unknown/UnkStruct_ov000_0207f47c.hpp @@ -6,7 +6,7 @@ class UnkStruct_ov000_0207f47c : public UnkStruct_027e09c0_04 { public: - /* 00 */ unk32 *mUnk_00; + /* 00 */ unk32* mUnk_00; /* 04 */ PAD(0x4, 0x10); /* 10 */ diff --git a/include/Unknown/UnkStruct_ov000_020b19f0.hpp b/include/Unknown/UnkStruct_ov000_020b19f0.hpp index bc9f5221b..338c8fff6 100644 --- a/include/Unknown/UnkStruct_ov000_020b19f0.hpp +++ b/include/Unknown/UnkStruct_ov000_020b19f0.hpp @@ -7,7 +7,7 @@ class UnkStruct_ov000_020b19f0 : public ModelRender_ov000_020b4d64 { /* 00 (base) */ /* 60 */ - UnkStruct_ov000_020b19f0(G3d_Model *pModel); + UnkStruct_ov000_020b19f0(G3d_Model* pModel); /* 0C */ virtual void vfunc_0C() override; }; diff --git a/include/Unknown/UnkStruct_ov000_020b1c10.hpp b/include/Unknown/UnkStruct_ov000_020b1c10.hpp index d34273f2c..511e5b247 100644 --- a/include/Unknown/UnkStruct_ov000_020b1c10.hpp +++ b/include/Unknown/UnkStruct_ov000_020b1c10.hpp @@ -12,7 +12,7 @@ class UnkStruct_ov000_020b1c10 : public LinkList { /* 20 */ u16 mUnk_20; /* 22 */ - UnkStruct_ov000_020b1c10(Vec2s *param1, unk32 param2); + UnkStruct_ov000_020b1c10(Vec2s* param1, unk32 param2); /* 00 */ virtual void vfunc_00(void); }; diff --git a/include/Unknown/UnkStruct_ov000_020b3000.hpp b/include/Unknown/UnkStruct_ov000_020b3000.hpp index e547ff24c..596639a7f 100644 --- a/include/Unknown/UnkStruct_ov000_020b3000.hpp +++ b/include/Unknown/UnkStruct_ov000_020b3000.hpp @@ -4,7 +4,7 @@ #include "Actor/ActorId.hpp" class UnkStruct_ov000_020b3000_Base { - /* 00 */ virtual bool vfunc_00(Actor *pActor); + /* 00 */ virtual bool vfunc_00(Actor* pActor); }; class UnkStruct_ov000_020b3000 : public UnkStruct_ov000_020b3000_Base { @@ -16,7 +16,7 @@ class UnkStruct_ov000_020b3000 : public UnkStruct_ov000_020b3000_Base { UnkStruct_ov000_020b3000(ActorId actorId) : mActorId(actorId) {} - /* 00 */ virtual bool vfunc_00(Actor *pActor) override; + /* 00 */ virtual bool vfunc_00(Actor* pActor) override; }; class UnkStruct_ov031_02112ad4 : public UnkStruct_ov000_020b3000 { @@ -29,7 +29,7 @@ class UnkStruct_ov031_02112ad4 : public UnkStruct_ov000_020b3000 { UnkStruct_ov000_020b3000(actorId), mUnk_08(param2) {} - /* 00 */ virtual bool vfunc_00(Actor *pActor) override; + /* 00 */ virtual bool vfunc_00(Actor* pActor) override; }; class UnkStruct_ov031_02112b18 : public UnkStruct_ov000_020b3000_Base { @@ -38,12 +38,12 @@ class UnkStruct_ov031_02112b18 : public UnkStruct_ov000_020b3000_Base { /* 04 */ // data_ov031_02112b18 - /* 00 */ virtual bool vfunc_00(Actor *pActor) override; + /* 00 */ virtual bool vfunc_00(Actor* pActor) override; }; class UnkStruct_ov031_0211361c : public UnkStruct_ov000_020b3000_Base { public: - /* 00 */ virtual bool vfunc_00(Actor *pActor) override; + /* 00 */ virtual bool vfunc_00(Actor* pActor) override; }; class UnkStruct_ov102_02184a24 : public UnkStruct_ov000_020b3000 { @@ -54,5 +54,5 @@ class UnkStruct_ov102_02184a24 : public UnkStruct_ov000_020b3000 { UnkStruct_ov102_02184a24(ActorId actorId) : UnkStruct_ov000_020b3000(actorId) {} - /* 00 */ virtual bool vfunc_00(Actor *pActor) override; + /* 00 */ virtual bool vfunc_00(Actor* pActor) override; }; diff --git a/include/Unknown/UnkStruct_ov000_020b3268.hpp b/include/Unknown/UnkStruct_ov000_020b3268.hpp index db1a2ae9e..c9fba1174 100644 --- a/include/Unknown/UnkStruct_ov000_020b3268.hpp +++ b/include/Unknown/UnkStruct_ov000_020b3268.hpp @@ -4,5 +4,5 @@ class UnkStruct_ov000_020b3268 : public UnkStruct_ov000_020b19f0 { public: - UnkStruct_ov000_020b3268(G3d_Model *pModel); + UnkStruct_ov000_020b3268(G3d_Model* pModel); }; diff --git a/include/Unknown/UnkStruct_ov000_020b34c4.hpp b/include/Unknown/UnkStruct_ov000_020b34c4.hpp index 91694cf2a..f63390860 100644 --- a/include/Unknown/UnkStruct_ov000_020b34c4.hpp +++ b/include/Unknown/UnkStruct_ov000_020b34c4.hpp @@ -16,7 +16,7 @@ class UnkStruct_ov000_020b34c4 { mUnk_04(mapObjId) {} // data_ov000_020b34c4 - /* 00 */ virtual bool vfunc_00(MapObject *param1); + /* 00 */ virtual bool vfunc_00(MapObject* param1); }; extern UnkStruct_ov000_020b34c4 data_ov000_020b34c4; diff --git a/include/Unknown/UnkStruct_ov000_020b4eec.hpp b/include/Unknown/UnkStruct_ov000_020b4eec.hpp index ee82fea91..c0fe0452e 100644 --- a/include/Unknown/UnkStruct_ov000_020b4eec.hpp +++ b/include/Unknown/UnkStruct_ov000_020b4eec.hpp @@ -11,7 +11,7 @@ class UnkStruct_ov000_020b4eec { UnkStruct_ov000_020b4eec(); - GameSaveSlot *func_ov001_020be12c(); + GameSaveSlot* func_ov001_020be12c(); }; extern UnkStruct_ov000_020b4eec data_ov000_020b4eec; diff --git a/include/Unknown/UnkStruct_ov000_020b4f70.hpp b/include/Unknown/UnkStruct_ov000_020b4f70.hpp index 5cca3d250..47bd4274e 100644 --- a/include/Unknown/UnkStruct_ov000_020b4f70.hpp +++ b/include/Unknown/UnkStruct_ov000_020b4f70.hpp @@ -13,9 +13,9 @@ class UnkStruct_ov000_020b4f70 { void func_ov000_020662e8(); void func_ov000_02066364(); void func_ov000_02066370(); - void func_ov000_0206645c(unk8 *param1); + void func_ov000_0206645c(unk8* param1); void func_ov000_0206654c(); void func_ov000_020665b8(); }; -extern UnkStruct_ov000_020b4f70 *data_ov000_020b4f70; +extern UnkStruct_ov000_020b4f70* data_ov000_020b4f70; diff --git a/include/Unknown/UnkStruct_ov000_020b4f84.hpp b/include/Unknown/UnkStruct_ov000_020b4f84.hpp index 944d6cb8a..f114bf5b9 100644 --- a/include/Unknown/UnkStruct_ov000_020b4f84.hpp +++ b/include/Unknown/UnkStruct_ov000_020b4f84.hpp @@ -26,7 +26,7 @@ class UnkStruct_ov000_020b4f84_00 { UnkStruct_ov000_020b4f84_00(); ~UnkStruct_ov000_020b4f84_00(); - void func_ov000_02066610(const char *fontPath, unk32 param2, unk32 param3); + void func_ov000_02066610(const char* fontPath, unk32 param2, unk32 param3); }; // FontManager? diff --git a/include/Unknown/UnkStruct_ov000_020b504c.hpp b/include/Unknown/UnkStruct_ov000_020b504c.hpp index 82e226c5b..d5760a082 100644 --- a/include/Unknown/UnkStruct_ov000_020b504c.hpp +++ b/include/Unknown/UnkStruct_ov000_020b504c.hpp @@ -55,20 +55,20 @@ typedef void (*UnkCallback2)(); class BMGEntry { public: - /* 00 */ SectionINF1 *mpINF1; - /* 04 */ SectionFLW1 *mpFLW1; - /* 08 */ SectionFLI1 *mpFLI1; - /* 0C */ SectionDAT1 *mpDAT1; + /* 00 */ SectionINF1* mpINF1; + /* 04 */ SectionFLW1* mpFLW1; + /* 08 */ SectionFLI1* mpFLI1; + /* 0C */ SectionDAT1* mpDAT1; /* 10 */ unk32 mBMGGroup; /* 14 */ }; class UnkStruct_ov000_020b504c_Sub3 { public: - /* 00 */ BMGEntry **mpBMGTable; - /* 04 */ BMGHeader **mUnk_04; - /* 08 */ BMGHeader **mUnk_08; - /* 0C */ SectionINF1 *mUnk_0C; + /* 00 */ BMGEntry** mpBMGTable; + /* 04 */ BMGHeader** mUnk_04; + /* 08 */ BMGHeader** mUnk_08; + /* 0C */ SectionINF1* mUnk_0C; /* 10 */ s16 mUnk_10; /* 12 */ unk16 mUnk_12; /* 14 */ @@ -76,10 +76,10 @@ class UnkStruct_ov000_020b504c_Sub3 { UnkStruct_ov000_020b504c_Sub3(unk32 param1); // overlay 0 - void func_ov000_020676f8(const char *bmgFileName, HeapIndex heapIndex); - void func_ov000_020677b0(const char *bmgFileName, HeapIndex heapIndex); - void func_ov000_02067804(const char *bmgFileName, void *pDst, size_t size); // load BMG at specified address - EntryINF1 *func_ov000_02067a2c(u32 msgId); + void func_ov000_020676f8(const char* bmgFileName, HeapIndex heapIndex); + void func_ov000_020677b0(const char* bmgFileName, HeapIndex heapIndex); + void func_ov000_02067804(const char* bmgFileName, void* pDst, size_t size); // load BMG at specified address + EntryINF1* func_ov000_02067a2c(u32 msgId); void func_ov000_02068f0c(); }; @@ -139,8 +139,8 @@ class UnkStruct_ov000_020b504c_08 : public GameModeManagerBase_104 { // data_ov000_020b1e60 vtable /* 00 */ virtual ~UnkStruct_ov000_020b504c_08() override; - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl) override; - /* 10 */ virtual void vfunc_10(unk8 *param1) override; + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl) override; + /* 10 */ virtual void vfunc_10(unk8* param1) override; // overlay 0 void func_ov000_020a4764(); @@ -148,8 +148,8 @@ class UnkStruct_ov000_020b504c_08 : public GameModeManagerBase_104 { class UnkStruct_ov000_020b504c_0C_Base { public: - /* 04 */ UnkSystem2_UnkSubSystem11_Derived2 *mUnk_04; - /* 08 */ UnkStruct_ov000_020b504c_08 *mUnk_08; + /* 04 */ UnkSystem2_UnkSubSystem11_Derived2* mUnk_04; + /* 08 */ UnkStruct_ov000_020b504c_08* mUnk_08; /* 0C */ PAD(0x0C, 0x1C); /* 1C */ @@ -355,12 +355,12 @@ class UnkStruct_ov000_020b504c_2C : public UnkStruct_ov000_020b504c_28_Base { class UnkStruct_ov000_020b504c { public: - /* 000 */ UnkStruct_ov000_020b504c_Sub3 *mUnk_000; - /* 004 */ GameModeManagerBase_004 *mUnk_004; - /* 008 */ UnkStruct_ov000_020b504c_08 *mUnk_008; - /* 00C */ UnkStruct_ov000_020b504c_0C_Base *mUnk_00C[7]; - /* 028 */ UnkStruct_ov000_020b504c_28 *mUnk_028; // pointer to the subsystem that handles drawing the textboxes - /* 02C */ UnkStruct_ov000_020b504c_2C *mUnk_02C; + /* 000 */ UnkStruct_ov000_020b504c_Sub3* mUnk_000; + /* 004 */ GameModeManagerBase_004* mUnk_004; + /* 008 */ UnkStruct_ov000_020b504c_08* mUnk_008; + /* 00C */ UnkStruct_ov000_020b504c_0C_Base* mUnk_00C[7]; + /* 028 */ UnkStruct_ov000_020b504c_28* mUnk_028; // pointer to the subsystem that handles drawing the textboxes + /* 02C */ UnkStruct_ov000_020b504c_2C* mUnk_02C; /* 030 */ unk32 mUnk_030; /* 034 */ Input mButtons; /* 03A */ TouchControl mTouchControl; @@ -372,17 +372,17 @@ class UnkStruct_ov000_020b504c { UnkStruct_ov000_020b504c(); // overlay 0 - void *func_ov000_02067bb4(unk32 param1); - UnkStruct_ov000_020b504c_28 *func_ov000_02067bc4(unk32 param1); - unk8 func_ov000_02067cf8(unk32 param1, unk32 param2, UnkTextStruct1 *param3); // ShowText? + void* func_ov000_02067bb4(unk32 param1); + UnkStruct_ov000_020b504c_28* func_ov000_02067bc4(unk32 param1); + unk8 func_ov000_02067cf8(unk32 param1, unk32 param2, UnkTextStruct1* param3); // ShowText? void func_ov000_02067e60(u8 param1, unk32 param2); unk32 func_ov000_020682c0(unk32 param1); void func_ov000_02067f5c(unk32 param1); bool func_ov000_02067f88(unk32 param1, unk32 param2); - UnkStruct_ov000_020b504c_Sub4_00 *func_ov000_02067bf0(); + UnkStruct_ov000_020b504c_Sub4_00* func_ov000_02067bf0(); void func_ov000_02067b20(); void func_ov000_02068068(unk32 param1); - bool func_ov000_0206807c(unk32 param1, void *param2); + bool func_ov000_0206807c(unk32 param1, void* param2); void func_ov000_02067b60(); // overlay 1 @@ -396,7 +396,7 @@ class UnkStruct_ov000_020b504c { void func_ov001_020be82c(u32 sceneIndex); void func_ov001_020be880(u32 sceneIndex); void func_ov001_020be8e0(void); - void func_ov001_020be92c(UnkStruct_027e0cd8_04_0C *param1); + void func_ov001_020be92c(UnkStruct_027e0cd8_04_0C* param1); void func_ov001_020be94c(void); void func_ov001_020be998(void); void func_ov001_020be9fc(void); @@ -407,9 +407,9 @@ class UnkStruct_ov000_020b504c { extern UnkStruct_ov000_020b504c data_ov000_020b504c; struct UnkMsgDataStruct1 { - void *mUnk_00; + void* mUnk_00; - void func_ov000_02067a60(void *, int); + void func_ov000_02067a60(void*, int); - static void func_ov066_0215b2f4(UnkMsgDataStruct1 *thisx, s32 param1); + static void func_ov066_0215b2f4(UnkMsgDataStruct1* thisx, s32 param1); }; diff --git a/include/Unknown/UnkStruct_ov000_020b50c0.hpp b/include/Unknown/UnkStruct_ov000_020b50c0.hpp index b206bb7a0..5754157a3 100644 --- a/include/Unknown/UnkStruct_ov000_020b50c0.hpp +++ b/include/Unknown/UnkStruct_ov000_020b50c0.hpp @@ -19,19 +19,19 @@ class UnkStruct_ov018_020c5ac0 { // overlay 1 void func_ov001_020bde6c(); void func_ov001_020bde7c(); - void func_ov001_020bde90(const EntranceInfo *param1); - void func_ov001_020bdfa0(const EntranceInfo *param1); - void func_ov001_020bdfb8(const EntranceInfo *param1); + void func_ov001_020bde90(const EntranceInfo* param1); + void func_ov001_020bdfa0(const EntranceInfo* param1); + void func_ov001_020bdfb8(const EntranceInfo* param1); void func_ov001_020be030(); // overlay 18 UnkStruct_ov018_020c5ac0(); void SetInstance(); - static UnkStruct_ov018_020c5ac0 *Create(void); + static UnkStruct_ov018_020c5ac0* Create(void); }; -extern UnkStruct_ov018_020c5ac0 *data_027e099c; +extern UnkStruct_ov018_020c5ac0* data_027e099c; class UnkStruct_ov000_020b50c0 { public: @@ -48,12 +48,12 @@ class UnkStruct_ov000_020b50c0 { /* A4 */ unk16 mUnk_A4; /* A6 */ unk16 mUnk_A6; /* A8 */ unk32 mUnk_A8[9]; - /* CC */ void *mUnk_CC; - /* D0 */ void *mUnk_D0; - /* D4 */ void *mUnk_D4; - /* D8 */ void *mUnk_D8; - /* DC */ void *mUnk_DC; - /* E0 */ void *mUnk_E0; + /* CC */ void* mUnk_CC; + /* D0 */ void* mUnk_D0; + /* D4 */ void* mUnk_D4; + /* D8 */ void* mUnk_D8; + /* DC */ void* mUnk_DC; + /* E0 */ void* mUnk_E0; /* E4 */ unk32 mUnk_E4; UnkStruct_ov000_020b50c0(); @@ -67,7 +67,7 @@ class UnkStruct_ov000_020b50c0 { void func_ov000_0206a260(unk32 param1, unk32 param2, unk32 param3); void func_ov000_0206a52c(unk32 param1); bool func_ov000_0206a5cc(unk32 param1); - void *func_ov000_0206a5d8(unk32 param1); + void* func_ov000_0206a5d8(unk32 param1); void func_ov000_0206a5fc(void); void func_ov000_0206a6a4(unk32 param1); void func_ov000_0206a704(unk32 param1); @@ -83,13 +83,13 @@ class UnkStruct_ov000_020b50c0 { void func_ov001_020bd8e8(void); void func_ov001_020bd910(void); void func_ov001_020bd934(bool param1); - void func_ov001_020bd970(const EntranceInfo *param1); + void func_ov001_020bd970(const EntranceInfo* param1); void func_ov001_020bde5c(void); - void func_ov001_020bde04(const EntranceInfo *param1); - void func_ov001_020bde4c(const EntranceInfo *param1); + void func_ov001_020bde04(const EntranceInfo* param1); + void func_ov001_020bde4c(const EntranceInfo* param1); // overlay 18 - UnkStruct_ov018_020c5ac0 *func_ov018_020c5718(void); + UnkStruct_ov018_020c5ac0* func_ov018_020c5718(void); }; extern UnkStruct_ov000_020b50c0 data_ov000_020b50c0; diff --git a/include/Unknown/UnkStruct_ov000_020b51b8.hpp b/include/Unknown/UnkStruct_ov000_020b51b8.hpp index 0c144d102..44c7799d2 100644 --- a/include/Unknown/UnkStruct_ov000_020b51b8.hpp +++ b/include/Unknown/UnkStruct_ov000_020b51b8.hpp @@ -10,7 +10,7 @@ class UnkStruct_ov000_020b51b8_00 { /* 00 (vtable) */ /* 04 */ PAD(0x04, 0xA0); - UnkStruct_ov000_020b51b8_00(void *param1); + UnkStruct_ov000_020b51b8_00(void* param1); // data_ov000_020b215c vtable /* 00 */ virtual ~UnkStruct_ov000_020b51b8_00(); @@ -23,7 +23,7 @@ class UnkStruct_ov000_020b51b8_04 { /* 00 (vtable) */ /* 04 */ PAD(0x04, 0x98); - UnkStruct_ov000_020b51b8_04(void *param1); + UnkStruct_ov000_020b51b8_04(void* param1); // data_ov000_020b2174 vtable /* 00 */ virtual ~UnkStruct_ov000_020b51b8_04(); @@ -33,9 +33,9 @@ class UnkStruct_ov000_020b51b8_04 { class UnkStruct_ov000_020b51b8 { public: - /* 00 */ UnkStruct_ov000_020b51b8_00 *mUnk_00; - /* 04 */ UnkStruct_ov000_020b51b8_04 *mUnk_04; - /* 08 */ UnkStruct_ov000_020b5214 *mUnk_08[3]; + /* 00 */ UnkStruct_ov000_020b51b8_00* mUnk_00; + /* 04 */ UnkStruct_ov000_020b51b8_04* mUnk_04; + /* 08 */ UnkStruct_ov000_020b5214* mUnk_08[3]; /* 14 */ unk32 mUnk_14; /* 18 */ unk32 mUnk_18; /* 1C */ unk16 mUnk_1C; @@ -75,7 +75,7 @@ class UnkStruct_ov000_020b51b8 { void func_ov000_0206d0ec(unk32 param1, unk32 param2, unk32 param3, unk32 param4); void func_ov000_0206d134(unk32 param1); void func_ov000_0206d274(unk32 param1); // play seq? - void func_ov000_0206bdd4(PlayerLinkActor *pPlayer); + void func_ov000_0206bdd4(PlayerLinkActor* pPlayer); // overlay 1 void func_ov000_0206bbfc(unk32 param1); diff --git a/include/Unknown/UnkStruct_ov000_020b5214.hpp b/include/Unknown/UnkStruct_ov000_020b5214.hpp index db2f9b7cc..6c2d2bca2 100644 --- a/include/Unknown/UnkStruct_ov000_020b5214.hpp +++ b/include/Unknown/UnkStruct_ov000_020b5214.hpp @@ -55,8 +55,8 @@ class UnkStruct_ov000_020b5214 { void func_ov000_0206db44(unk32 param1); // play sfx? void func_ov000_0206dc4c(unk32 param1); void func_ov000_0206e7e8(unk32 param1); - void func_ov000_0206ed1c(PlayerLinkActor *pPlayer); - void func_ov000_0206edd8(PlayerLinkActor *pPlayer); + void func_ov000_0206ed1c(PlayerLinkActor* pPlayer); + void func_ov000_0206edd8(PlayerLinkActor* pPlayer); }; extern UnkStruct_ov000_020b5214 data_ov000_020b5214_eur; diff --git a/include/Unknown/UnkStruct_ov000_020b52e8.hpp b/include/Unknown/UnkStruct_ov000_020b52e8.hpp index a1c4726b2..aebcf8a12 100644 --- a/include/Unknown/UnkStruct_ov000_020b52e8.hpp +++ b/include/Unknown/UnkStruct_ov000_020b52e8.hpp @@ -18,7 +18,7 @@ class UnkStruct_ov000_020b52e8 { ~UnkStruct_ov000_020b52e8(); // overlay 0 - ActorUnkMLCK_C4_00 *func_ov000_0206f980(unk32 param1); + ActorUnkMLCK_C4_00* func_ov000_0206f980(unk32 param1); void func_ov000_0206f994(); }; diff --git a/include/Unknown/UnkStruct_ov000_020b5300.hpp b/include/Unknown/UnkStruct_ov000_020b5300.hpp index 8d6cd189b..5fcf3758b 100644 --- a/include/Unknown/UnkStruct_ov000_020b5300.hpp +++ b/include/Unknown/UnkStruct_ov000_020b5300.hpp @@ -7,13 +7,13 @@ class UnkStruct_ov000_020b5300 { public: /* 00 */ unk32 mUnk_00; - /* 04 */ void *mUnk_04; + /* 04 */ void* mUnk_04; /* 08 */ unk32 mUnk_08; /* 0C */ unk32 mUnk_0C; /* 10 */ unk32 mUnk_10; /* 14 */ unk32 mUnk_14; /* 18 */ unk32 mUnk_18; - /* 1C */ void *mUnk_1C; + /* 1C */ void* mUnk_1C; /* 20 */ unk16 mUnk_20; /* 20 */ unk16 mUnk_22; /* 24 */ unk32 mUnk_24; @@ -32,7 +32,7 @@ class UnkStruct_ov000_020b5300 { UnkStruct_ov000_020b5300(); ~UnkStruct_ov000_020b5300(); - void func_ov018_020c583c(void *param1); + void func_ov018_020c583c(void* param1); }; extern UnkStruct_ov000_020b5300 data_ov000_020b5300; diff --git a/include/Unknown/UnkStruct_ov000_020b5340.hpp b/include/Unknown/UnkStruct_ov000_020b5340.hpp index ec95300e2..61a7c11cf 100644 --- a/include/Unknown/UnkStruct_ov000_020b5340.hpp +++ b/include/Unknown/UnkStruct_ov000_020b5340.hpp @@ -6,7 +6,7 @@ class UnkStruct_ov000_020b5340 { public: - /* 00 */ UnkStruct_ov000_020b5300 *mUnk_00; + /* 00 */ UnkStruct_ov000_020b5300* mUnk_00; /* 04 */ unk8 mUnk_04; /* 05 */ unk8 mUnk_05; /* 06 */ unk8 mUnk_06; diff --git a/include/Unknown/UnkStruct_ov000_020b5d34.hpp b/include/Unknown/UnkStruct_ov000_020b5d34.hpp index d8b234356..6ad856a91 100644 --- a/include/Unknown/UnkStruct_ov000_020b5d34.hpp +++ b/include/Unknown/UnkStruct_ov000_020b5d34.hpp @@ -10,17 +10,17 @@ class MapObjectProfile; class UnkStruct_ov000_020b5d34_00 { public: - /* 00 */ unk32 *mUnk_00; - /* 04 */ MapObject_20 *mUnk_04; - /* 08 */ VecFx32 *mUnk_08; - /* 0C */ s16 *mUnk_0C; + /* 00 */ unk32* mUnk_00; + /* 04 */ MapObject_20* mUnk_04; + /* 08 */ VecFx32* mUnk_08; + /* 0C */ s16* mUnk_0C; /* 10 */ }; class UnkStruct_ov000_020b5d34 { public: - /* 00 */ UnkStruct_ov000_020b5d34_00 *mUnk_00; - /* 04 */ MapObjectProfile *mpProfile; + /* 00 */ UnkStruct_ov000_020b5d34_00* mUnk_00; + /* 04 */ MapObjectProfile* mpProfile; /* 08 */ UnkStruct_ov000_020b5d34() { @@ -30,10 +30,10 @@ class UnkStruct_ov000_020b5d34 { ~UnkStruct_ov000_020b5d34() {} - MapObjectProfile *GetProfileFromId(MapObjectId mapObjId); - MapObject *CreateMapObject(MapObjectId mapObjId); - MapObjectProfile **func_ov000_0209c6a0(); - MapObjectProfile **func_ov000_0209c6ac(); + MapObjectProfile* GetProfileFromId(MapObjectId mapObjId); + MapObject* CreateMapObject(MapObjectId mapObjId); + MapObjectProfile** func_ov000_0209c6a0(); + MapObjectProfile** func_ov000_0209c6ac(); static unk32 func_ov000_0209c718(u32 param1); }; diff --git a/include/Unknown/UnkStruct_ov003_020ba740.hpp b/include/Unknown/UnkStruct_ov003_020ba740.hpp index 81e38a8d6..051a18815 100644 --- a/include/Unknown/UnkStruct_ov003_020ba740.hpp +++ b/include/Unknown/UnkStruct_ov003_020ba740.hpp @@ -10,4 +10,4 @@ class UnkStruct_ov003_020ba740 { void func_ov003_020b69d8(unk32 param1); }; -extern UnkStruct_ov003_020ba740 *data_ov003_020ba740; +extern UnkStruct_ov003_020ba740* data_ov003_020ba740; diff --git a/include/Unknown/UnkStruct_ov016_020b8310.hpp b/include/Unknown/UnkStruct_ov016_020b8310.hpp index f6fac4706..109a02bda 100644 --- a/include/Unknown/UnkStruct_ov016_020b8310.hpp +++ b/include/Unknown/UnkStruct_ov016_020b8310.hpp @@ -13,8 +13,8 @@ class UnkStruct_ov016_020b8310 { /* 00 */ virtual void vfunc_00(); /* 04 */ virtual void vfunc_04(); /* 08 */ virtual void vfunc_08(); - /* 0C */ virtual void vfunc_0C(void *param1); - /* 10 */ virtual void vfunc_10(void *param1); + /* 0C */ virtual void vfunc_0C(void* param1); + /* 10 */ virtual void vfunc_10(void* param1); }; extern UnkStruct_ov016_020b8310 data_ov016_020b8310; diff --git a/include/Unknown/UnkStruct_ov017_020c3f70.hpp b/include/Unknown/UnkStruct_ov017_020c3f70.hpp index dc127613d..0019c1850 100644 --- a/include/Unknown/UnkStruct_ov017_020c3f70.hpp +++ b/include/Unknown/UnkStruct_ov017_020c3f70.hpp @@ -14,7 +14,7 @@ class UnkStruct_ov017_020c3f70_Base { /* C8 */ unk32 mUnk_C8; /* CC */ - UnkStruct_ov017_020c3f70_Base(void *param1, unk32 param2, unk32 param3); // func_02013c24 + UnkStruct_ov017_020c3f70_Base(void* param1, unk32 param2, unk32 param3); // func_02013c24 // data_0204375c /* 00 */ virtual ~UnkStruct_ov017_020c3f70_Base(); // func_02013cd4 & func_02013d30 @@ -26,7 +26,7 @@ class UnkStruct_ov017_020c3f70 : public UnkStruct_ov017_020c3f70_Base { /* 00 (base) */ /* CC */ - UnkStruct_ov017_020c3f70(void *param1, unk32 param2, unk32 param3) : + UnkStruct_ov017_020c3f70(void* param1, unk32 param2, unk32 param3) : UnkStruct_ov017_020c3f70_Base(param1, param2, param3) {} // data_ov017_020c3f08 diff --git a/include/Unknown/UnkStruct_ov020_020e8544.hpp b/include/Unknown/UnkStruct_ov020_020e8544.hpp index b2e4bb8be..b5f11d4c9 100644 --- a/include/Unknown/UnkStruct_ov020_020e8544.hpp +++ b/include/Unknown/UnkStruct_ov020_020e8544.hpp @@ -37,4 +37,4 @@ class UnkStruct_ov020_020e8544_Derived2 : public UnkStruct_ov020_020e8544_Base { UnkStruct_ov020_020e8544_Derived2(); }; -extern UnkStruct_ov020_020e8544_Base *data_ov020_020e8544; +extern UnkStruct_ov020_020e8544_Base* data_ov020_020e8544; diff --git a/include/Unknown/UnkStruct_ov023_020f1d94.hpp b/include/Unknown/UnkStruct_ov023_020f1d94.hpp index 4162cd84d..dd7c63ede 100644 --- a/include/Unknown/UnkStruct_ov023_020f1d94.hpp +++ b/include/Unknown/UnkStruct_ov023_020f1d94.hpp @@ -50,7 +50,7 @@ class UnkStruct_ov001_020c46f4_Derived2 : public UnkStruct_ov001_020c46f4_Base { class UnkStruct_ov023_020f1d94 { public: /* 00 */ unk32 mUnk_00; - /* 04 */ UnkStruct_ov001_020c46f4_Base *mUnk_04; + /* 04 */ UnkStruct_ov001_020c46f4_Base* mUnk_04; /* 08 */ UnkStruct_ov023_020f1d94(); diff --git a/include/Unknown/UnkStruct_ov024_020d8660.hpp b/include/Unknown/UnkStruct_ov024_020d8660.hpp index e92661e7d..b49bad5b1 100644 --- a/include/Unknown/UnkStruct_ov024_020d8660.hpp +++ b/include/Unknown/UnkStruct_ov024_020d8660.hpp @@ -17,7 +17,7 @@ class UnkActorSystem1 { /* 0C */ virtual void vfunc_0C(); /* 10 */ virtual void vfunc_10(unk32 param1); /* 14 */ virtual void vfunc_14(unk32 param1); - /* 18 */ virtual void vfunc_18(unk8 *param1); + /* 18 */ virtual void vfunc_18(unk8* param1); /* 1C */ virtual void vfunc_1C(unk32 param1); /* 20 */ virtual void vfunc_20(unk32 param1); /* 24 */ virtual unk32 vfunc_24() = 0; @@ -49,7 +49,7 @@ struct UnkActorSystem_Infos1 { class UnkStruct_ov024_020d8660 : public AutoInstance { public: - /* 00 */ UnkActorSystem1 *mUnk_00; + /* 00 */ UnkActorSystem1* mUnk_00; /* 04 */ ActorId mActorId; /* 08 */ unk32 mUnk_08; /* 0C */ UnkActorSystem_Infos1 mUnk_0C; @@ -58,7 +58,7 @@ class UnkStruct_ov024_020d8660 : public AutoInstance { UnkStruct_ov024_020d8660(); ~UnkStruct_ov024_020d8660(); - void func_ov024_020c4a8c(UnkActorSystem1 *param1); + void func_ov024_020c4a8c(UnkActorSystem1* param1); void func_ov024_020c4b10(); void func_ov024_020c4b24(); void func_ov024_020c4b4c(unk32 param1); @@ -66,12 +66,12 @@ class UnkStruct_ov024_020d8660 : public AutoInstance { void func_ov024_020c4cc8(); bool func_ov024_020c4d74(); void func_ov024_020c4d88(ActorId actorId, unk32 param2); - void func_ov024_020c4dac(ActorId actorId, unk32 param2, UnkActorSystem_Infos1 *param3); + void func_ov024_020c4dac(ActorId actorId, unk32 param2, UnkActorSystem_Infos1* param3); static void func_ov024_020c4ac0(); - static void SetInstance(UnkStruct_ov024_020d8660 *pInstance); + static void SetInstance(UnkStruct_ov024_020d8660* pInstance); static bool ClearInstance(); }; // related to minigames -extern UnkStruct_ov024_020d8660 *data_ov024_020d8660; +extern UnkStruct_ov024_020d8660* data_ov024_020d8660; diff --git a/include/Unknown/UnkStruct_ov024_020d8694.hpp b/include/Unknown/UnkStruct_ov024_020d8694.hpp index b4b0a279d..b2a6f26f9 100644 --- a/include/Unknown/UnkStruct_ov024_020d8694.hpp +++ b/include/Unknown/UnkStruct_ov024_020d8694.hpp @@ -64,10 +64,10 @@ class UnkTitleCardSystem1 { /* 000 (vtable) */ /* 004 */ unk16 mUnk_004; /* 006 */ unk16 mUnk_006; // pad? - /* 008 */ UnkSystem2_UnkSubSystem11_Derived2 *mUnk_008; - /* 00C */ UnkSystem2_UnkSubSystem5_Base_10 *mUnk_00C; + /* 008 */ UnkSystem2_UnkSubSystem11_Derived2* mUnk_008; + /* 00C */ UnkSystem2_UnkSubSystem5_Base_10* mUnk_00C; /* 010 */ unk32 mUnk_010; - /* 014 */ GameModeManagerBase_004 *mUnk_014; + /* 014 */ GameModeManagerBase_004* mUnk_014; /* 018 */ UnkStruct_ov019_020d24c8_28_258 mUnk_018; /* 030 */ UnkStruct_ov019_020d24c8_28_258 mUnk_030; /* 048 */ UnkStruct_ov019_020d24c8_28_258 mUnk_048; @@ -82,11 +82,11 @@ class UnkTitleCardSystem1 { /* 137 */ unk8 mUnk_137; // pad? /* 138 */ - UnkTitleCardSystem1(GameModeManagerBase_004 *param1); + UnkTitleCardSystem1(GameModeManagerBase_004* param1); // data_ov024_020d7fd0 /* 00 */ virtual void vfunc_00(); - /* 04 */ virtual void vfunc_04(unk8 *param1); + /* 04 */ virtual void vfunc_04(unk8* param1); /* 08 */ virtual unk32 vfunc_08(); /* 0C */ virtual void vfunc_0C(); /* 10 */ virtual void vfunc_10(); @@ -94,13 +94,13 @@ class UnkTitleCardSystem1 { /* 18 */ virtual unk32 vfunc_18(); /* 1C */ - void func_ov024_020cb274(UnkSystem2_UnkSubSystem11_Derived2 *param1, UnkSystem2_UnkSubSystem5_Base_10 *param2); + void func_ov024_020cb274(UnkSystem2_UnkSubSystem11_Derived2* param1, UnkSystem2_UnkSubSystem5_Base_10* param2); void func_ov024_020cb280(); void func_ov024_020cb284(unk32 param1, unk32 param2); - void func_ov024_020cb490(UnkDataStruct2 *param1, unk32 *param2); - void func_ov024_020cb490(UnkDataStruct2 *param1, unk32 *param2, void *); + void func_ov024_020cb490(UnkDataStruct2* param1, unk32* param2); + void func_ov024_020cb490(UnkDataStruct2* param1, unk32* param2, void*); void func_ov024_020cb5bc(); - void func_ov024_020cb654(unk8 *param1, UnkDataStruct1 *param2); + void func_ov024_020cb654(unk8* param1, UnkDataStruct1* param2); }; class UnkTitleCardSystem1_Derived1 : public UnkTitleCardSystem1 { @@ -115,7 +115,7 @@ class UnkTitleCardSystem1_Derived1 : public UnkTitleCardSystem1 { /* 143 */ unk8 mUnk_143; // pad? /* 144 */ - UnkTitleCardSystem1_Derived1(GameModeManagerBase_004 *param1); + UnkTitleCardSystem1_Derived1(GameModeManagerBase_004* param1); // data_ov024_020d8044 /* 08 */ virtual unk32 vfunc_08() override; @@ -144,7 +144,7 @@ class UnkStruct_ov024_020d8694_01C : public UnkTitleCardSystem1_Derived1 { /* 16B */ unk8 mUnk_16B; // pad? /* 16C */ - UnkStruct_ov024_020d8694_01C(GameModeManagerBase_004 *param1); + UnkStruct_ov024_020d8694_01C(GameModeManagerBase_004* param1); // data_ov024_020d7ff4 /* 00 */ virtual void vfunc_00() override; @@ -157,11 +157,11 @@ class UnkStruct_ov024_020d8694_188 : public UnkTitleCardSystem1_Derived1 { /* 144 */ UnkStruct_0204a110_Sub7_08 mUnk_144; /* 174 */ - UnkStruct_ov024_020d8694_188(GameModeManagerBase_004 *param1); + UnkStruct_ov024_020d8694_188(GameModeManagerBase_004* param1); // data_ov024_020d801c /* 00 */ virtual void vfunc_00() override; - /* 04 */ virtual void vfunc_04(unk8 *param1) override; + /* 04 */ virtual void vfunc_04(unk8* param1) override; /* 14 */ virtual bool vfunc_14() override; /* 1C */ virtual void vfunc_1C(u32 msgId, unk32 param2, bool param3) override; }; @@ -171,7 +171,7 @@ class UnkStruct_ov024_020d8694_2FC : public UnkTitleCardSystem1 { /* 000 (base) */ /* 138 */ - UnkStruct_ov024_020d8694_2FC(GameModeManagerBase_004 *param1); + UnkStruct_ov024_020d8694_2FC(GameModeManagerBase_004* param1); // data_ov024_020d7fac /* 00 */ virtual void vfunc_00() override; @@ -179,7 +179,7 @@ class UnkStruct_ov024_020d8694_2FC : public UnkTitleCardSystem1 { /* 0C */ virtual void vfunc_0C() override; /* 10 */ virtual void vfunc_10() override; - void func_ov024_020ccb10(unk32 param1, Vec2s *param2, Vec2s *param3); + void func_ov024_020ccb10(unk32 param1, Vec2s* param2, Vec2s* param3); }; class UnkStruct_ov024_020d8694 : public GameModeManagerBase_104, public AutoInstance { @@ -188,31 +188,31 @@ class UnkStruct_ov024_020d8694 : public GameModeManagerBase_104, public AutoInst /* 01C */ UnkStruct_ov024_020d8694_01C mUnk_01C; /* 188 */ UnkStruct_ov024_020d8694_188 mUnk_188; /* 2FC */ UnkStruct_ov024_020d8694_2FC mUnk_2FC; - /* 434 */ UnkSystem2_UnkSubSystem11_Derived2 *mUnk_434; - /* 438 */ UnkSystem2_UnkSubSystem5_Base_10 *mUnk_438; - /* 43C */ GameModeManagerBase_004 *mUnk_43C; + /* 434 */ UnkSystem2_UnkSubSystem11_Derived2* mUnk_434; + /* 438 */ UnkSystem2_UnkSubSystem5_Base_10* mUnk_438; + /* 43C */ GameModeManagerBase_004* mUnk_43C; /* 440 */ - UnkStruct_ov024_020d8694(GameModeManagerBase_004 *param1); + UnkStruct_ov024_020d8694(GameModeManagerBase_004* param1); // data_ov024_020d7f88 /* 00 */ virtual ~UnkStruct_ov024_020d8694(); - /* 08 */ virtual void vfunc_08(Input *pButtons, TouchControl *pTouchControl); - /* 10 */ virtual void vfunc_10(unk8 *param1); + /* 08 */ virtual void vfunc_08(Input* pButtons, TouchControl* pTouchControl); + /* 10 */ virtual void vfunc_10(unk8* param1); void func_ov024_020cafb8(unk32 param1); void func_ov024_020cafd8(unk32 param1); void func_ov024_020cb000(unk32 param1); void func_ov024_020cb020(unk32 param1); void func_ov024_020cb040(); - void func_ov024_020cb054(unk32 param1, Vec2s *param2, Vec2s *param3); + void func_ov024_020cb054(unk32 param1, Vec2s* param2, Vec2s* param3); u32 GetMessageID(int index); void func_ov024_020cb0c4(); void func_ov024_020cb178(unk32 param1); void func_ov024_020cb194(unk16 param1); - static UnkStruct_ov024_020d8694 *Create(GameModeManagerBase_004 *param1); + static UnkStruct_ov024_020d8694* Create(GameModeManagerBase_004* param1); }; // related to title cards -extern UnkStruct_ov024_020d8694 *data_ov024_020d8694; +extern UnkStruct_ov024_020d8694* data_ov024_020d8694; diff --git a/include/Unknown/UnkStruct_ov024_020d86a0.hpp b/include/Unknown/UnkStruct_ov024_020d86a0.hpp index 7b17492f7..f3c03118e 100644 --- a/include/Unknown/UnkStruct_ov024_020d86a0.hpp +++ b/include/Unknown/UnkStruct_ov024_020d86a0.hpp @@ -10,10 +10,10 @@ class UnkStruct_ov024_020d86a0; class UnkStruct_ov024_020d86a0_00 : public UnkStruct_0204a060_Base { public: /* 00 (base) */ - /* 24 */ UnkStruct_ov024_020d86a0 *mpInstance; + /* 24 */ UnkStruct_ov024_020d86a0* mpInstance; /* 28 */ - UnkStruct_ov024_020d86a0_00(UnkStruct_ov024_020d86a0 *pInstance); + UnkStruct_ov024_020d86a0_00(UnkStruct_ov024_020d86a0* pInstance); // data_ov024_020d8210 /* 00 */ virtual ~UnkStruct_ov024_020d86a0_00() override; @@ -22,7 +22,7 @@ class UnkStruct_ov024_020d86a0_00 : public UnkStruct_0204a060_Base { class UnkStruct_ov024_020d86a0 : public AutoInstance { public: - /* 00 */ UnkStruct_ov024_020d86a0_00 *mUnk_00; + /* 00 */ UnkStruct_ov024_020d86a0_00* mUnk_00; /* 04 */ SceneInfos mSceneInfos; /* 0C */ bool mUnk_0C; /* 0D */ bool mUnk_0D; @@ -49,8 +49,8 @@ class UnkStruct_ov024_020d86a0 : public AutoInstance { // overlay 24 void func_ov024_020d167c(); - static UnkStruct_ov024_020d86a0 *Create(); + static UnkStruct_ov024_020d86a0* Create(); static void Destroy(); }; -extern UnkStruct_ov024_020d86a0 *data_ov024_020d86a0; +extern UnkStruct_ov024_020d86a0* data_ov024_020d86a0; diff --git a/include/Unknown/UnkStruct_ov026_02138d10.hpp b/include/Unknown/UnkStruct_ov026_02138d10.hpp index 6e71bcd13..402014c07 100644 --- a/include/Unknown/UnkStruct_ov026_02138d10.hpp +++ b/include/Unknown/UnkStruct_ov026_02138d10.hpp @@ -20,4 +20,4 @@ class UnkStruct_ov026_02138d10 { bool func_ov026_020e6a6c(); }; -extern UnkStruct_ov026_02138d10 *data_ov026_02138d10; +extern UnkStruct_ov026_02138d10* data_ov026_02138d10; diff --git a/include/Unknown/UnkStruct_ov026_0213f578.hpp b/include/Unknown/UnkStruct_ov026_0213f578.hpp index d5aa6296a..b4ea44c8c 100644 --- a/include/Unknown/UnkStruct_ov026_0213f578.hpp +++ b/include/Unknown/UnkStruct_ov026_0213f578.hpp @@ -13,4 +13,4 @@ class UnkStruct_ov026_0213f578 { void func_ov026_020f4844(); }; -extern UnkStruct_ov026_0213f578 *data_ov026_0213f578; +extern UnkStruct_ov026_0213f578* data_ov026_0213f578; diff --git a/include/Unknown/UnkStruct_ov031_02114870.hpp b/include/Unknown/UnkStruct_ov031_02114870.hpp index 5e9d87cf6..d4a407715 100644 --- a/include/Unknown/UnkStruct_ov031_02114870.hpp +++ b/include/Unknown/UnkStruct_ov031_02114870.hpp @@ -12,5 +12,5 @@ class UnkStruct_ov031_02114870 : public UnkStruct_ov031_02114664 { /* 18 */ virtual bool Init(unk32 param1) override; /* 2C */ virtual void vfunc_2C(unk32 param1) override; - /* 54 */ virtual G3d_Model *vfunc_54(); + /* 54 */ virtual G3d_Model* vfunc_54(); }; diff --git a/include/Unknown/UnkStruct_ov031_02118fa4.hpp b/include/Unknown/UnkStruct_ov031_02118fa4.hpp index 85c26ae96..cf0032f56 100644 --- a/include/Unknown/UnkStruct_ov031_02118fa4.hpp +++ b/include/Unknown/UnkStruct_ov031_02118fa4.hpp @@ -18,4 +18,4 @@ class UnkStruct_ov031_02118fa4 { unk32 func_ov009_020b670c(unk32 param1); }; -extern UnkStruct_ov031_02118fa4 *data_ov031_02118fa4; +extern UnkStruct_ov031_02118fa4* data_ov031_02118fa4; diff --git a/include/Unknown/UnkStruct_ov031_Items.hpp b/include/Unknown/UnkStruct_ov031_Items.hpp index 94db153de..d9910d3c5 100644 --- a/include/Unknown/UnkStruct_ov031_Items.hpp +++ b/include/Unknown/UnkStruct_ov031_Items.hpp @@ -13,9 +13,9 @@ class UnkStruct_027e0ce0_38_Base { // data_ov000_020b2838 /* 00 */ virtual ~UnkStruct_027e0ce0_38_Base(); - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2); - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4); + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2); + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4); /* 10 */ virtual bool vfunc_10(RefStruct param1, unk32 param2); /* 14 */ }; @@ -38,7 +38,7 @@ class UnkStruct_ov031_Items_00 : public UnkStruct_ov031_Items_00_Base { UnkStruct_ov031_Items_00(); // data_ov000_020b30d0 - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; // func_ov000_020982d8 + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; // func_ov000_020982d8 }; class UnkStruct_ov031_Items_01_Base { @@ -76,16 +76,16 @@ class UnkStruct_ov031_Items_01 : public UnkStruct_ov031_Items_01_Base { // data_ov000_020b27c8 /* 08 */ virtual void vfunc_08(); - /* 0C */ virtual bool vfunc_0C(Actor *param1, VecFx32 *vector); - /* 10 */ virtual void vfunc_10(const Actor *actor); + /* 0C */ virtual bool vfunc_0C(Actor* param1, VecFx32* vector); + /* 10 */ virtual void vfunc_10(const Actor* actor); }; class ActorUnkSCCN_B8 { public: /* 00 (vtable) */ /* 04 */ RefStruct mUnk_04; - /* 08 */ VecFx32 *mUnk_08; - /* 0C */ MapObject_10_Base *mUnk_0C; + /* 08 */ VecFx32* mUnk_08; + /* 0C */ MapObject_10_Base* mUnk_0C; /* 10 */ ActorUnkSCCN_B8(); @@ -132,7 +132,7 @@ class UnkStruct_ov031_Items_01_Derived1 : public UnkStruct_ov031_Items_01 { UnkStruct_ov031_Items_01_Derived1(PlayerType playerType); // data_ov031_02112ae0 - /* 0C */ virtual bool vfunc_0C(Actor *param1, VecFx32 *vector) override; + /* 0C */ virtual bool vfunc_0C(Actor* param1, VecFx32* vector) override; }; class UnkStruct_ov031_Items_01_Derived2 : public UnkStruct_ov031_Items_01 { @@ -144,7 +144,7 @@ class UnkStruct_ov031_Items_01_Derived2 : public UnkStruct_ov031_Items_01 { UnkStruct_ov031_Items_01_Derived2(PlayerType playerType); // data_ov031_02112afc - /* 0C */ virtual bool vfunc_0C(Actor *param1, VecFx32 *vector) override; + /* 0C */ virtual bool vfunc_0C(Actor* param1, VecFx32* vector) override; }; class UnkStruct_ItemManager_20_04_32C; @@ -152,16 +152,16 @@ class UnkStruct_ItemManager_20_04_32C; class UnkStruct_ov031_02112b24 : public UnkStruct_ov031_Items_00_Base { public: /* 00 (base) */ - /* 04 */ UnkStruct_ItemManager_20_04_32C *mUnk_04; + /* 04 */ UnkStruct_ItemManager_20_04_32C* mUnk_04; /* 08 */ u16 mUnk_08; /* 0C */ // data_ov031_02112b24 - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; // overlay 31 - void func_ov031_020da274(const VecFx32 *param1, const VecFx32 *param2, u16 param3); + void func_ov031_020da274(const VecFx32* param1, const VecFx32* param2, u16 param3); }; class UnkStruct_ov031_02112b40 : public UnkStruct_ov031_Items_00_Base { @@ -174,13 +174,13 @@ class UnkStruct_ov031_02112b40 : public UnkStruct_ov031_Items_00_Base { /* 1A */ bool mUnk_1A; // data_ov031_02112b40 - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) override; + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) override; // overlay 31 void func_ov031_020da5ec(); - bool func_ov031_020daaec(const UnkStruct_ov031_020e5d18_00 *param1, Sphere *pSphere); + bool func_ov031_020daaec(const UnkStruct_ov031_020e5d18_00* param1, Sphere* pSphere); static unk32 func_ov031_020da584(vu32 param1); }; diff --git a/include/Unknown/UnkStruct_ov048_021375e4.hpp b/include/Unknown/UnkStruct_ov048_021375e4.hpp index 89cb9bbc4..fdf4f8e09 100644 --- a/include/Unknown/UnkStruct_ov048_021375e4.hpp +++ b/include/Unknown/UnkStruct_ov048_021375e4.hpp @@ -16,7 +16,7 @@ class UnkStruct_ov048_021375e4 : public UnkStruct_ov031_Items_00 { mUnk_08 |= 0x7000; } - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) override; // func_ov000_020982d8 - /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4); + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) override; // func_ov000_020982d8 + /* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4); }; diff --git a/include/Unknown/UnkStruct_ov048_02137600.hpp b/include/Unknown/UnkStruct_ov048_02137600.hpp index 54e2dcdfd..eb174030b 100644 --- a/include/Unknown/UnkStruct_ov048_02137600.hpp +++ b/include/Unknown/UnkStruct_ov048_02137600.hpp @@ -24,7 +24,7 @@ class UnkStruct_ov048_02137600 : public Actor { /* 18 */ virtual bool Init(unk32 param1) override; /* 4C */ virtual ~UnkStruct_ov048_02137600() override; /* 54 */ virtual unk32 vfunc_54(unk32 angle); - /* 58 */ virtual bool vfunc_58(VecFx32 *param1); + /* 58 */ virtual bool vfunc_58(VecFx32* param1); /* 5C */ virtual unk32 vfunc_5C(void); /* 60 */ virtual unk32 vfunc_60(void); /* 64 */ virtual void vfunc_64(void); diff --git a/include/Unknown/UnkStruct_ov059_021641c8.hpp b/include/Unknown/UnkStruct_ov059_021641c8.hpp index 4022739f8..6b7c6dcdf 100644 --- a/include/Unknown/UnkStruct_ov059_021641c8.hpp +++ b/include/Unknown/UnkStruct_ov059_021641c8.hpp @@ -8,4 +8,4 @@ class UnkStruct_ov059_021641c8 { void func_ov063_0215d5cc(unk32 param1, unk32 param2); }; -extern UnkStruct_ov059_021641c8 *data_ov059_021641c8; +extern UnkStruct_ov059_021641c8* data_ov059_021641c8; diff --git a/include/Unknown/UnkStruct_ov088_02177218.hpp b/include/Unknown/UnkStruct_ov088_02177218.hpp index 4979ed8dd..06e0d1b30 100644 --- a/include/Unknown/UnkStruct_ov088_02177218.hpp +++ b/include/Unknown/UnkStruct_ov088_02177218.hpp @@ -12,4 +12,4 @@ class UnkStruct_ov088_02177218 { /* 00 */ virtual ~UnkStruct_ov088_02177218(); }; -extern UnkStruct_ov088_02177218 *data_ov088_02177218; +extern UnkStruct_ov088_02177218* data_ov088_02177218; diff --git a/include/Unknown/UnkStruct_ov089_02171540.hpp b/include/Unknown/UnkStruct_ov089_02171540.hpp index 202135c1f..00c4a1d22 100644 --- a/include/Unknown/UnkStruct_ov089_02171540.hpp +++ b/include/Unknown/UnkStruct_ov089_02171540.hpp @@ -12,7 +12,7 @@ class UnkStruct_ov089_02171540 { UnkStruct_ov089_02171540(); ~UnkStruct_ov089_02171540(); - void func_ov089_02165c80(void *param1, ActorUnkVCFT_328 *param2); + void func_ov089_02165c80(void* param1, ActorUnkVCFT_328* param2); void func_ov089_02165d9c(void); }; diff --git a/include/Unknown/UnkSystem1.hpp b/include/Unknown/UnkSystem1.hpp index a6ece3257..788b3ee31 100644 --- a/include/Unknown/UnkSystem1.hpp +++ b/include/Unknown/UnkSystem1.hpp @@ -27,16 +27,16 @@ class UnkSystem1_ov000_Base { /* 0C */ UnkSystem1_ov000_Base(unk32 param1); - bool func_ov000_020669b4(u8 *param1); + bool func_ov000_020669b4(u8* param1); void func_ov000_020669dc(); - unk32 func_ov000_02066a08(UnkStruct5 *param1); + unk32 func_ov000_02066a08(UnkStruct5* param1); /* 00 */ virtual void vfunc_00(unk32 param1); // func_ov000_020667d8 /* 04 */ virtual void vfunc_04(); // func_ov000_020667f4 /* 08 */ virtual void vfunc_08(unk32 param1); // func_ov000_020669cc /* 0C */ virtual unk32 vfunc_0C(); // func_ov000_020669d0 - /* 10 */ virtual unk32 vfunc_10(u16 *param1); // func_ov000_02066a5c - /* 14 */ virtual bool vfunc_14(FLW1Instr *param1); // func_ov000_02066dfc + /* 10 */ virtual unk32 vfunc_10(u16* param1); // func_ov000_02066a5c + /* 14 */ virtual bool vfunc_14(FLW1Instr* param1); // func_ov000_02066dfc /* 18 */ virtual void vfunc_18(); // func_ov000_020669d8 /* 1C */ virtual unk32 vfunc_1C(u32 param1, unk32 param2, unk32 param3); // func_ov000_02067234 /* 20 */ virtual unk32 vfunc_20(unk32 param1, unk32 param2, unk32 param3); // func_ov000_0206723c @@ -47,19 +47,19 @@ class UnkSystem1_ov000_Base { class UnkSystem1_ov000_Derived1 : public UnkSystem1_ov000_Base { public: /* 00 (base) */ - /* 0C */ UnkTextStruct1 *mUnk_0C; + /* 0C */ UnkTextStruct1* mUnk_0C; /* 10 */ unk16 mUnk_10; /* 12 */ unk8 mUnk_12; // file slot index /* 13 */ unk8 mUnk_13; /* 14 */ UnkSystem1_ov000_Derived1(); - UnkSystem1_ov000_Derived1(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov000_Derived1(unk32 param1, UnkTextStruct1* param2); void func_ov000_0206738c(); /* 08 */ virtual void vfunc_08(unk32 param1) override; // func_ov000_020673c8 /* 0C */ virtual unk32 vfunc_0C() override; // func_ov000_02067434 - /* 10 */ virtual unk32 vfunc_10(u16 *param1) override; // func_ov000_02067474 + /* 10 */ virtual unk32 vfunc_10(u16* param1) override; // func_ov000_02067474 /* 24 */ virtual ~UnkSystem1_ov000_Derived1(); // func_ov000_020672ac & func_ov000_020672f4 }; @@ -97,8 +97,8 @@ class UnkSystem1_ov000_Derived3 : public UnkSystem1_ov000_Derived1 { /* 00 */ virtual void vfunc_00(unk32 param1) override; /* 08 */ virtual void vfunc_08(unk32 param1) override; - /* 10 */ virtual unk32 vfunc_10(u16 *param1) override; - /* 14 */ virtual bool vfunc_14(FLW1Instr *param1) override; + /* 10 */ virtual unk32 vfunc_10(u16* param1) override; + /* 14 */ virtual bool vfunc_14(FLW1Instr* param1) override; /* 1C */ virtual unk32 vfunc_1C(u32 param1, unk32 param2, unk32 param3) override; /* 20 */ virtual unk32 vfunc_20(unk32 param1, unk32 param2, unk32 param3) override; /* 24 */ virtual ~UnkSystem1_ov000_Derived3() override; @@ -109,7 +109,7 @@ class UnkSystem1_ov010 : public UnkSystem1_ov000_Derived1 { public: /* 00 (base) */ - UnkSystem1_ov010(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov010(unk32 param1, UnkTextStruct1* param2); /* 08 */ virtual void vfunc_08(unk32 param1) override; // func_ov010_020b8844 /* 1C */ virtual unk32 vfunc_1C(u32 param1, unk32 param2, unk32 param3) override; // func_ov010_020b8878 @@ -120,7 +120,7 @@ class UnkSystem1_ov010_Derived1 : public UnkSystem1_ov010 { public: /* 00 (base) */ - UnkSystem1_ov010_Derived1(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov010_Derived1(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov010_Derived1() override; // func_ov010_020b88b0 }; @@ -129,7 +129,7 @@ class UnkSystem1_ov016 : public UnkSystem1_ov000_Derived1 { public: /* 00 (base) */ - UnkSystem1_ov016(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov016(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov016() override; // func_ov016_020b7650 }; @@ -138,7 +138,7 @@ class UnkSystem1_ov016_Derived1 : public UnkSystem1_ov016 { public: /* 00 (base) */ - UnkSystem1_ov016_Derived1(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov016_Derived1(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov016_Derived1() override; // func_ov016_020b7664 /* 2C */ virtual void vfunc_2C(); // func_ov016_020b776c }; @@ -149,7 +149,7 @@ class UnkSystem1_ov019_1 : public UnkSystem1_ov000_Derived1 { /* 00 (base) */ UnkSystem1_ov019_1(); - UnkSystem1_ov019_1(unk32 param1, UnkTextStruct1 *param2) : + UnkSystem1_ov019_1(unk32 param1, UnkTextStruct1* param2) : UnkSystem1_ov000_Derived1(param1, param2) {} /* 24 */ virtual ~UnkSystem1_ov019_1() override {} // func_ov019_020c4914 @@ -158,14 +158,14 @@ class UnkSystem1_ov019_1 : public UnkSystem1_ov000_Derived1 { class UnkSystem1_ov019_Derived1 : public UnkSystem1_ov019_1 { public: /* 00 (base) */ - /* 14 */ SaveFile *mUnk_14; + /* 14 */ SaveFile* mUnk_14; /* 18 */ unk16 mUnk_18; /* 1A */ unk8 mUnk_1A; // bool? /* 1B */ u8 mUnk_1B; // bool? /* 1C */ UnkSystem1_ov019_Derived1(); - UnkSystem1_ov019_Derived1(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov019_Derived1(unk32 param1, UnkTextStruct1* param2); void func_ov019_020c5200(); unk32 func_ov019_020c5540(bool param1, unk16 param2); @@ -181,7 +181,7 @@ class UnkSystem1_ov019_2 : public UnkSystem1_ov000_Derived1 { public: /* 00 (base) */ - UnkSystem1_ov019_2(unk32 param1, UnkTextStruct1 *param2) : + UnkSystem1_ov019_2(unk32 param1, UnkTextStruct1* param2) : UnkSystem1_ov000_Derived1(param1, param2) {} /* 24 */ virtual ~UnkSystem1_ov019_2() override {} // func_ov019_020c4c38 @@ -210,7 +210,7 @@ class UnkSystem1_ov019_3 : public UnkSystem1_ov000_Derived1 { /* 00 (base) */ /* 14 */ - UnkSystem1_ov019_3(unk32 param1, UnkTextStruct1 *param2) : + UnkSystem1_ov019_3(unk32 param1, UnkTextStruct1* param2) : UnkSystem1_ov000_Derived1(param1, param2) {} /* 24 */ virtual ~UnkSystem1_ov019_3() override {} // func_ov019_020c5fd0 @@ -245,7 +245,7 @@ class UnkSystem1_ov036 : public UnkSystem1_ov000_Derived1 { public: /* 00 (base) */ - UnkSystem1_ov036(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov036(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov036() override; // func_ov036_0211eb68 }; @@ -254,7 +254,7 @@ class UnkSystem1_ov036_Derived1 : public UnkSystem1_ov036 { public: /* 00 (base) */ - UnkSystem1_ov036_Derived1(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov036_Derived1(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov036_Derived1() override; // func_ov036_02120c18 }; @@ -264,7 +264,7 @@ class UnkSystem1_ov056 : public UnkSystem1_ov000_Derived1 { public: /* 00 (base) */ - UnkSystem1_ov056(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov056(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov056() override; // func_ov056_0213b910 }; @@ -273,7 +273,7 @@ class UnkSystem1_ov056_Derived1 : public UnkSystem1_ov056 { public: /* 00 (base) */ - UnkSystem1_ov056_Derived1(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov056_Derived1(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov056_Derived1() override; // func_ov056_0213d4dc }; @@ -283,7 +283,7 @@ class UnkSystem1_ov059 : public UnkSystem1_ov000_Derived1 { public: /* 00 (base) */ - UnkSystem1_ov059(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov059(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov059() override; // func_ov059_021605c8 (?) }; @@ -292,7 +292,7 @@ class UnkSystem1_ov059_Derived1 : public UnkSystem1_ov059 { public: /* 00 (base) */ - UnkSystem1_ov059_Derived1(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov059_Derived1(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov059_Derived1() override; // func_ov059_02160d98 }; @@ -302,7 +302,7 @@ class UnkSystem1_ov062 : public UnkSystem1_ov000_Derived1 { public: /* 00 (base) */ - UnkSystem1_ov062(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov062(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov062() override; // func_ov062_0215cf18 }; @@ -311,7 +311,7 @@ class UnkSystem1_ov062_Derived1 : public UnkSystem1_ov062 { public: /* 00 (base) */ - UnkSystem1_ov062_Derived1(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov062_Derived1(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov062_Derived1() override; // func_ov062_0215e734 }; @@ -321,7 +321,7 @@ class UnkSystem1_ov063 : public UnkSystem1_ov000_Derived1 { public: /* 00 (base) */ - UnkSystem1_ov063(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov063(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov063() override; // func_ov063_0215f1c0 }; @@ -330,7 +330,7 @@ class UnkSystem1_ov063_Derived1 : public UnkSystem1_ov063 { public: /* 00 (base) */ - UnkSystem1_ov063_Derived1(unk32 param1, UnkTextStruct1 *param2); + UnkSystem1_ov063_Derived1(unk32 param1, UnkTextStruct1* param2); /* 24 */ virtual ~UnkSystem1_ov063_Derived1() override; // func_ov063_0215f29c }; diff --git a/include/files.h b/include/files.h index 59ebefeaf..56cefca7f 100644 --- a/include/files.h +++ b/include/files.h @@ -22,7 +22,7 @@ enum FileType_ { }; typedef struct FileInfos { - /* 00 */ void *pFile; + /* 00 */ void* pFile; /* 04 */ size_t size; } FileInfos; @@ -175,11 +175,11 @@ typedef struct ZTBSectionLDMK { struct UnkDataStruct4; -extern BOOL ZTB_ParseFile(FileInfos *pFileInfos, UnkDataStruct4 *pDst); -extern BOOL ZTB_ParseGRDB(FileInfos *pFileInfos, UnkDataStruct4 *pDst, ZTBSectionGRDB *pGRDB); -extern BOOL ZTB_ParseGRRL(FileInfos *pFileInfos, UnkDataStruct4 *pDst, ZTBSectionGRRL *pGRRL); -extern BOOL ZTB_ParseSTAB(FileInfos *pFileInfos, UnkDataStruct4 *pDst, ZTBSectionSTAB *pSTAB); -extern BOOL ZTB_ParseLDMK(FileInfos *pFileInfos, UnkDataStruct4 *pDst, ZTBSectionLDMK *pLDMK); +extern BOOL ZTB_ParseFile(FileInfos* pFileInfos, UnkDataStruct4* pDst); +extern BOOL ZTB_ParseGRDB(FileInfos* pFileInfos, UnkDataStruct4* pDst, ZTBSectionGRDB* pGRDB); +extern BOOL ZTB_ParseGRRL(FileInfos* pFileInfos, UnkDataStruct4* pDst, ZTBSectionGRRL* pGRRL); +extern BOOL ZTB_ParseSTAB(FileInfos* pFileInfos, UnkDataStruct4* pDst, ZTBSectionSTAB* pSTAB); +extern BOOL ZTB_ParseLDMK(FileInfos* pFileInfos, UnkDataStruct4* pDst, ZTBSectionLDMK* pLDMK); // .zab typedef u32 ZABSectionType; @@ -228,12 +228,12 @@ typedef struct ZABSectionCABI { struct UnkStruct_027e0cd8_04; struct UnkStruct_func_ov000_020702a8; -extern BOOL ZAB_ParseFile(FileInfos *pFileInfos, u32 sceneIndex, UnkStruct_027e0cd8_04 *pDst, const CourseListEntry *pEntry, - const UnkStruct_func_ov000_020702a8 *pUnk1, BOOL param6); -extern BOOL ZAB_ParseCAMB(FileInfos *pFileInfos, ZABSectionCABM *pCABM, u32 sceneIndex, UnkStruct_027e0cd8_04 *pDst, - const CourseListEntry *pEntry, const UnkStruct_func_ov000_020702a8 *pUnk1, BOOL param6); -extern BOOL ZAB_ParseCABI(FileInfos *pFileInfos, ZABSectionCABI *pCABI, BOOL param3); -extern BOOL ZAB_GetRoomEntry(FileInfos *pFileInfos, u8 param2, const CourseListEntry *pEntry, CourseListRoomEntry *param4); +extern BOOL ZAB_ParseFile(FileInfos* pFileInfos, u32 sceneIndex, UnkStruct_027e0cd8_04* pDst, const CourseListEntry* pEntry, + const UnkStruct_func_ov000_020702a8* pUnk1, BOOL param6); +extern BOOL ZAB_ParseCAMB(FileInfos* pFileInfos, ZABSectionCABM* pCABM, u32 sceneIndex, UnkStruct_027e0cd8_04* pDst, + const CourseListEntry* pEntry, const UnkStruct_func_ov000_020702a8* pUnk1, BOOL param6); +extern BOOL ZAB_ParseCABI(FileInfos* pFileInfos, ZABSectionCABI* pCABI, BOOL param3); +extern BOOL ZAB_GetRoomEntry(FileInfos* pFileInfos, u8 param2, const CourseListEntry* pEntry, CourseListRoomEntry* param4); // .zmb typedef u32 ZMBSectionType; @@ -252,7 +252,7 @@ enum ZMBSectionType_ { // clang-format off }; // clang-format on typedef struct ZMBFileInfos { - /* 00 */ void *pFile; + /* 00 */ void* pFile; /* 04 */ size_t size; /* 08 */ unk16 unk_08; /* 0A */ unk16 unk_0A; @@ -464,18 +464,18 @@ typedef struct ZMBSectionCMPT { struct MapManagerBase; -extern BOOL ZMB_ParseFile(ZMBFileInfos *pFileInfos, MapManagerBase *pDst, bool param3); -extern BOOL ZMB_ParseROMB(ZMBFileInfos *pFileInfos, ZMBSectionROMB *pROMB, MapManagerBase *pDst); -extern BOOL ZMB_ParseLDLB(ZMBFileInfos *pFileInfos, ZMBSectionLDLB *pLDLB, MapManagerBase *pDst); -extern BOOL ZMB_ParseARAB(ZMBFileInfos *pFileInfos, ZMBSectionARAB *pARAB, MapManagerBase *pDst); -extern BOOL ZMB_ParseRALB(ZMBFileInfos *pFileInfos, ZMBSectionRALB *pRALB, MapManagerBase *pDst); -extern BOOL ZMB_ParseWARP(ZMBFileInfos *pFileInfos, ZMBSectionWARP *pWARP, MapManagerBase *pDst); -extern BOOL ZMB_ParseMapObjList(ZMBFileInfos *pFileInfos, ZMBSectionMapObjectList *pMapObjs, MapManagerBase *pDst); -extern BOOL ZMB_ParseActorList(ZMBFileInfos *pFileInfos, ZMBSectionActorList *pNPCA, MapManagerBase *pDst); -extern BOOL ZMB_ParseROOM(ZMBFileInfos *pFileInfos, ZMBSectionROOM *pROOM, MapManagerBase *pDst); -extern BOOL ZMB_ParsePLYR(ZMBFileInfos *pFileInfos, ZMBSectionPLYR *pPLYR, MapManagerBase *pDst); -extern BOOL ZMB_ParseCAME(ZMBFileInfos *pFileInfos, ZMBSectionCAME *pCAME, MapManagerBase *pDst); -extern BOOL ZMB_ParseCMPT(ZMBFileInfos *pFileInfos, ZMBSectionCMPT *pCMPT, MapManagerBase *pDst); +extern BOOL ZMB_ParseFile(ZMBFileInfos* pFileInfos, MapManagerBase* pDst, bool param3); +extern BOOL ZMB_ParseROMB(ZMBFileInfos* pFileInfos, ZMBSectionROMB* pROMB, MapManagerBase* pDst); +extern BOOL ZMB_ParseLDLB(ZMBFileInfos* pFileInfos, ZMBSectionLDLB* pLDLB, MapManagerBase* pDst); +extern BOOL ZMB_ParseARAB(ZMBFileInfos* pFileInfos, ZMBSectionARAB* pARAB, MapManagerBase* pDst); +extern BOOL ZMB_ParseRALB(ZMBFileInfos* pFileInfos, ZMBSectionRALB* pRALB, MapManagerBase* pDst); +extern BOOL ZMB_ParseWARP(ZMBFileInfos* pFileInfos, ZMBSectionWARP* pWARP, MapManagerBase* pDst); +extern BOOL ZMB_ParseMapObjList(ZMBFileInfos* pFileInfos, ZMBSectionMapObjectList* pMapObjs, MapManagerBase* pDst); +extern BOOL ZMB_ParseActorList(ZMBFileInfos* pFileInfos, ZMBSectionActorList* pNPCA, MapManagerBase* pDst); +extern BOOL ZMB_ParseROOM(ZMBFileInfos* pFileInfos, ZMBSectionROOM* pROOM, MapManagerBase* pDst); +extern BOOL ZMB_ParsePLYR(ZMBFileInfos* pFileInfos, ZMBSectionPLYR* pPLYR, MapManagerBase* pDst); +extern BOOL ZMB_ParseCAME(ZMBFileInfos* pFileInfos, ZMBSectionCAME* pCAME, MapManagerBase* pDst); +extern BOOL ZMB_ParseCMPT(ZMBFileInfos* pFileInfos, ZMBSectionCMPT* pCMPT, MapManagerBase* pDst); // .zcb struct UnkStruct_027e09e8; @@ -491,7 +491,7 @@ enum ZCBSectionType_ { }; typedef struct ZCBFileInfos { - /* 00 */ UnkFileSystem1 *pFile; + /* 00 */ UnkFileSystem1* pFile; /* 04 */ size_t size; } ZCBFileInfos; @@ -554,14 +554,12 @@ typedef struct ZCBSectionGRDB { /* 0C */ } ZCBSectionGRDB; -extern BOOL ZCB_ParseFile(ZCBFileInfos *pFileInfos, UnkStruct_027e09e8 *pDst, MapManagerBase *param3); -extern void ZCB_ParseVTXB(ZCBFileInfos *pFileInfos, ZCBSectionVTXB *pSection, UnkStruct_027e09e8 *pDst, - MapManagerBase *param3); -extern void ZCB_ParseNRMB(ZCBFileInfos *pFileInfos, ZCBSectionNRMB *pSection, UnkStruct_027e09e8 *pDst); -extern void ZCB_ParsePCLB(ZCBFileInfos *pFileInfos, ZCBSectionPCLB *pSection, UnkStruct_027e09e8 *pDst); -extern void ZCB_ParseTRIB(ZCBFileInfos *pFileInfos, ZCBSectionTRIB *pSection, UnkStruct_027e09e8 *pDst); -extern void ZCB_ParseGRDB(ZCBFileInfos *pFileInfos, ZCBSectionGRDB *pSection, UnkStruct_027e09e8 *pDst, - MapManagerBase *param3); +extern BOOL ZCB_ParseFile(ZCBFileInfos* pFileInfos, UnkStruct_027e09e8* pDst, MapManagerBase* param3); +extern void ZCB_ParseVTXB(ZCBFileInfos* pFileInfos, ZCBSectionVTXB* pSection, UnkStruct_027e09e8* pDst, MapManagerBase* param3); +extern void ZCB_ParseNRMB(ZCBFileInfos* pFileInfos, ZCBSectionNRMB* pSection, UnkStruct_027e09e8* pDst); +extern void ZCB_ParsePCLB(ZCBFileInfos* pFileInfos, ZCBSectionPCLB* pSection, UnkStruct_027e09e8* pDst); +extern void ZCB_ParseTRIB(ZCBFileInfos* pFileInfos, ZCBSectionTRIB* pSection, UnkStruct_027e09e8* pDst); +extern void ZCB_ParseGRDB(ZCBFileInfos* pFileInfos, ZCBSectionGRDB* pSection, UnkStruct_027e09e8* pDst, MapManagerBase* param3); #ifdef __cplusplus } // extern "C" diff --git a/include/global.h b/include/global.h index 39024f780..f596a022c 100644 --- a/include/global.h +++ b/include/global.h @@ -47,7 +47,7 @@ #define DUMMY_RODATA() \ static const int DF_UNIQUE_IDENT(__data_align_fix) = 0; \ void DF_UNIQUE_IDENT(__data_align_fix_func)() { \ - *(int *) &DF_UNIQUE_IDENT(__data_align_fix) = 0; \ + *(int*) &DF_UNIQUE_IDENT(__data_align_fix) = 0; \ } #ifndef typeof @@ -108,7 +108,7 @@ } \ (void) 0 -#define FILE_BUFFER_OFFSETOF(offset) ((size_t) (((u8 *) 0) + (offset))) +#define FILE_BUFFER_OFFSETOF(offset) ((size_t) (((u8*) 0) + (offset))) //! TODO: move in an appropriate place typedef union Vec2b { diff --git a/include/iterator.hpp b/include/iterator.hpp index 35f825706..588f3673f 100644 --- a/include/iterator.hpp +++ b/include/iterator.hpp @@ -5,18 +5,18 @@ // link list? struct stack_struct1 { - void *param1; + void* param1; union { - void *param2; + void* param2; unk32 arg2; }; }; template class Iterator { public: - /* 00 */ void *begin; - /* 04 */ void *end; + /* 00 */ void* begin; + /* 04 */ void* end; /* 08 */ Iterator() { @@ -33,42 +33,42 @@ template class Iterator { this->Set(arrayLength * factor); if (this->begin != this->end) { - T *it = (T *) this->begin; + T* it = (T*) this->begin; do { new(it) T(); // using placement new to run the ctor it++; - } while (it != (T *) this->end); + } while (it != (T*) this->end); } } // same as the other `Init` except this takes a node list - void Init(size_t arrayLength, void *params) { + void Init(size_t arrayLength, void* params) { this->Destroy(); this->Set(arrayLength); if (this->begin != this->end) { - T *it = (T *) this->begin; - stack_struct1 *p = (stack_struct1 *) params; + T* it = (T*) this->begin; + stack_struct1* p = (stack_struct1*) params; do { new(it) T(*p); it++; p++; - } while (it != (T *) this->end); + } while (it != (T*) this->end); } } // iterate the array and run the destructors for each element void Destroy() { if (this->begin != this->end) { - T *it = (T *) this->end; + T* it = (T*) this->end; do { (--it)->~T(); - } while (it != (T *) this->begin); + } while (it != (T*) this->begin); delete this->begin; } @@ -76,9 +76,9 @@ template class Iterator { // allocate and set pointers void Set(size_t arrayLength) { - void *ptr = ::operator new(arrayLength, HeapIndex_1, 4); + void* ptr = ::operator new(arrayLength, HeapIndex_1, 4); this->begin = ptr; - this->end = (void *) ((u8 *) ptr + arrayLength); + this->end = (void*) ((u8*) ptr + arrayLength); } // clear pointers @@ -93,12 +93,12 @@ template class Iterator { this->Clear(); } - T &Get(int index) { - return ((T *) this->begin)[index]; + T& Get(int index) { + return ((T*) this->begin)[index]; } - T *GetPtr(int index) { - return ((T *) this->begin) + index; + T* GetPtr(int index) { + return ((T*) this->begin) + index; } const int GetAllocSize() const { diff --git a/include/math.hpp b/include/math.hpp index fc14de1d1..2e1f9b998 100644 --- a/include/math.hpp +++ b/include/math.hpp @@ -28,7 +28,7 @@ static inline const s32 ClampValue(s32 value, const s32 min, const s32 max) { return value; } -static inline void ClampValue16(s16 *value, const s32 min, const s32 max) { +static inline void ClampValue16(s16* value, const s32 min, const s32 max) { if (*value > max) { *value = max; } else if (*value < min) { @@ -63,7 +63,7 @@ struct VecFx32Cpp { VecFx32_Copy(vec, &this->vec); } - VecFx32 *operator&() { + VecFx32* operator&() { return &this->vec; } @@ -75,19 +75,19 @@ struct VecFx32Cpp { VecFx32_Reset(&this->vec); } - void CopyIn(VecFx32Cpp *vec) { + void CopyIn(VecFx32Cpp* vec) { VecFx32_Copy(&this->vec, &vec->vec); } - void CopyIn(VecFx32 *vec) { + void CopyIn(VecFx32* vec) { VecFx32_Copy(&this->vec, vec); } - void CopyOut(VecFx32 *vec) { + void CopyOut(VecFx32* vec) { VecFx32_Copy(vec, &this->vec); } - void CopyOut(VecFx32Cpp *vec) { + void CopyOut(VecFx32Cpp* vec) { VecFx32_Copy(&vec->vec, &this->vec); } @@ -107,7 +107,7 @@ struct VecFx16Cpp { vec.z = Z; } - void CopyIn(VecFx16 *vec) { + void CopyIn(VecFx16* vec) { VecFx16_Copy(&this->vec, vec); } }; @@ -125,7 +125,7 @@ union Vec2p { #define Vec2p_Sub(a, b, dst) Vec2_Sub(Vec2p, a, b, dst) #define Vec2p_Set(a, dst) Vec2_Set(Vec2p, a, dst) #define Vec2p_Clear(dst) Vec2_Clear(fx32, dst) -static inline void Vec2p_Copy(const Vec2p *src, Vec2p *dst) { +static inline void Vec2p_Copy(const Vec2p* src, Vec2p* dst) { #if __MWERKS__ dst->coords = src->coords; #else @@ -187,14 +187,14 @@ union Vec2s { }; s16 coords[2]; - void operator=(const Vec2s &from) { + void operator=(const Vec2s& from) { this->x = from.x; this->y = from.y; } Vec2s() {} - Vec2s(Vec2s *from) { + Vec2s(Vec2s* from) { #if __MWERKS__ this->coords = from->coords; #else @@ -213,7 +213,7 @@ union Vec2s { #define Vec2s_CopySub(a, b, dst) Vec2_CopySub(Vec2s, a, b, dst) #define Vec2s_Set(a, dst) Vec2_Set(a, dst) -static inline void Vec2s_Clear(Vec2s *dst) { +static inline void Vec2s_Clear(Vec2s* dst) { Vec2s empty; empty.x = 0; empty.y = 0; @@ -226,7 +226,7 @@ static inline void Vec2s_Clear(Vec2s *dst) { #endif } -static inline void Vec2s_Add(const Vec2s *a, const Vec2s *b, Vec2s *dst) { +static inline void Vec2s_Add(const Vec2s* a, const Vec2s* b, Vec2s* dst) { s16 x = a->x + b->x; s16 y = a->y + b->y; @@ -235,7 +235,7 @@ static inline void Vec2s_Add(const Vec2s *a, const Vec2s *b, Vec2s *dst) { } //! TODO: probably fake -static inline void Vec2s_Add2(const Vec2s *a, Vec2s *dst) { +static inline void Vec2s_Add2(const Vec2s* a, Vec2s* dst) { s16 x1, y1, x2, y2; x1 = a->x; @@ -250,7 +250,7 @@ static inline void Vec2s_Add2(const Vec2s *a, Vec2s *dst) { dst->y += y1; } -static inline void Vec2s_Sub(const Vec2s *a, const Vec2s *b, Vec2s *dst) { +static inline void Vec2s_Sub(const Vec2s* a, const Vec2s* b, Vec2s* dst) { s16 x = a->x - b->x; s16 y = a->y - b->y; @@ -259,7 +259,7 @@ static inline void Vec2s_Sub(const Vec2s *a, const Vec2s *b, Vec2s *dst) { } //! TODO: Vec2s_OffsetAdd and Vec2s_OffsetAdd2 are probably fake? -static inline void Vec2s_OffsetAdd(Vec2s *a, Vec2s *b, Vec2s *c, Vec2s *dst) { +static inline void Vec2s_OffsetAdd(Vec2s* a, Vec2s* b, Vec2s* c, Vec2s* dst) { s16 y; s16 x; @@ -273,7 +273,7 @@ static inline void Vec2s_OffsetAdd(Vec2s *a, Vec2s *b, Vec2s *c, Vec2s *dst) { dst->y = y; } -static inline void Vec2s_OffsetAdd2(Vec2s *a, Vec2s *b, Vec2s *c, Vec2s *dst) { +static inline void Vec2s_OffsetAdd2(Vec2s* a, Vec2s* b, Vec2s* c, Vec2s* dst) { s16 y; s16 x; @@ -287,7 +287,7 @@ static inline void Vec2s_OffsetAdd2(Vec2s *a, Vec2s *b, Vec2s *c, Vec2s *dst) { dst->y = y; } -static inline void Vec2s_Copy(const Vec2s *a, Vec2s *dst) { +static inline void Vec2s_Copy(const Vec2s* a, Vec2s* dst) { #if __MWERKS__ dst->coords = a->coords; #else @@ -304,7 +304,7 @@ union Vec2us { }; u16 coords[2]; - void operator=(const Vec2us &from) { + void operator=(const Vec2us& from) { this->x = from.x; this->y = from.y; } @@ -314,7 +314,7 @@ union Vec2us { x = X; y = Y; } - Vec2us(Vec2us *pFrom) { + Vec2us(Vec2us* pFrom) { x = pFrom->x; y = pFrom->y; } @@ -324,7 +324,7 @@ union Vec2us { #define Vec2us_CopySub(a, b, dst) Vec2_CopySub(Vec2us, a, b, dst) #define Vec2us_Set(a, dst) Vec2_Set(a, dst) -static inline void Vec2us_Clear(Vec2us *dst) { +static inline void Vec2us_Clear(Vec2us* dst) { Vec2us empty; empty.x = 0; empty.y = 0; @@ -337,7 +337,7 @@ static inline void Vec2us_Clear(Vec2us *dst) { #endif } -static inline void Vec2us_Add(const Vec2us *a, const Vec2us *b, Vec2us *dst) { +static inline void Vec2us_Add(const Vec2us* a, const Vec2us* b, Vec2us* dst) { u16 x = a->x + b->x; u16 y = a->y + b->y; @@ -345,7 +345,7 @@ static inline void Vec2us_Add(const Vec2us *a, const Vec2us *b, Vec2us *dst) { dst->y = y; } -static inline void Vec2us_Sub(const Vec2us *a, const Vec2us *b, Vec2us *dst) { +static inline void Vec2us_Sub(const Vec2us* a, const Vec2us* b, Vec2us* dst) { u16 x = a->x - b->x; u16 y = a->y - b->y; @@ -353,7 +353,7 @@ static inline void Vec2us_Sub(const Vec2us *a, const Vec2us *b, Vec2us *dst) { dst->y = y; } -static inline void Vec2us_Copy(const Vec2us *a, Vec2us *dst) { +static inline void Vec2us_Copy(const Vec2us* a, Vec2us* dst) { #if __MWERKS__ dst->coords = a->coords; #else @@ -371,7 +371,7 @@ union Vec2bCpp { u8 coords[2]; u16 data[1]; - void operator=(const Vec2bCpp &from) { + void operator=(const Vec2bCpp& from) { this->x = from.x; this->y = from.y; } @@ -387,7 +387,7 @@ union Vec2bCpp { #define Vec2b_CopySub(a, b, dst) Vec2_CopySub(Vec2bCpp, a, b, dst) #define Vec2b_Set(a, dst) Vec2_Set(a, dst) -static inline void Vec2b_Clear(Vec2bCpp *dst) { +static inline void Vec2b_Clear(Vec2bCpp* dst) { Vec2bCpp empty; empty.x = 0; empty.y = 0; @@ -400,7 +400,7 @@ static inline void Vec2b_Clear(Vec2bCpp *dst) { #endif } -static inline void Vec2b_Add(const Vec2bCpp *a, const Vec2bCpp *b, Vec2bCpp *dst) { +static inline void Vec2b_Add(const Vec2bCpp* a, const Vec2bCpp* b, Vec2bCpp* dst) { u8 x = a->x + b->x; u8 y = a->y + b->y; @@ -408,7 +408,7 @@ static inline void Vec2b_Add(const Vec2bCpp *a, const Vec2bCpp *b, Vec2bCpp *dst dst->y = y; } -static inline void Vec2b_Sub(const Vec2bCpp *a, const Vec2bCpp *b, Vec2bCpp *dst) { +static inline void Vec2b_Sub(const Vec2bCpp* a, const Vec2bCpp* b, Vec2bCpp* dst) { u8 x = a->x - b->x; u8 y = a->y - b->y; @@ -416,7 +416,7 @@ static inline void Vec2b_Sub(const Vec2bCpp *a, const Vec2bCpp *b, Vec2bCpp *dst dst->y = y; } -static inline void Vec2b_Copy(const Vec2bCpp *a, Vec2bCpp *dst) { +static inline void Vec2b_Copy(const Vec2bCpp* a, Vec2bCpp* dst) { #if __MWERKS__ dst->coords = a->coords; #else @@ -433,7 +433,7 @@ union Vec2pCpp { }; fx32 coords[2]; - void operator=(const Vec2pCpp &from) { + void operator=(const Vec2pCpp& from) { this->x = from.x; this->y = from.y; } @@ -449,7 +449,7 @@ union Vec2pCpp { #define Vec2pCpp_CopySub(a, b, dst) Vec2_CopySub(Vec2pCpp, a, b, dst) #define Vec2pCpp_Set(a, dst) Vec2_Set(a, dst) -static inline void Vec2pCpp_Clear(Vec2pCpp *dst) { +static inline void Vec2pCpp_Clear(Vec2pCpp* dst) { Vec2pCpp empty; empty.x = 0; empty.y = 0; @@ -462,7 +462,7 @@ static inline void Vec2pCpp_Clear(Vec2pCpp *dst) { #endif } -static inline void Vec2pCpp_Add(const Vec2pCpp *a, const Vec2pCpp *b, Vec2pCpp *dst) { +static inline void Vec2pCpp_Add(const Vec2pCpp* a, const Vec2pCpp* b, Vec2pCpp* dst) { fx32 x = a->x + b->x; fx32 y = a->y + b->y; @@ -470,7 +470,7 @@ static inline void Vec2pCpp_Add(const Vec2pCpp *a, const Vec2pCpp *b, Vec2pCpp * dst->y = y; } -static inline void Vec2pCpp_Sub(const Vec2pCpp *a, const Vec2pCpp *b, Vec2pCpp *dst) { +static inline void Vec2pCpp_Sub(const Vec2pCpp* a, const Vec2pCpp* b, Vec2pCpp* dst) { fx32 x = a->x - b->x; fx32 y = a->y - b->y; @@ -478,7 +478,7 @@ static inline void Vec2pCpp_Sub(const Vec2pCpp *a, const Vec2pCpp *b, Vec2pCpp * dst->y = y; } -static inline void Vec2pCpp_Copy(const Vec2pCpp *a, Vec2pCpp *dst) { +static inline void Vec2pCpp_Copy(const Vec2pCpp* a, Vec2pCpp* dst) { #if __MWERKS__ dst->coords = a->coords; #else @@ -488,7 +488,7 @@ static inline void Vec2pCpp_Copy(const Vec2pCpp *a, Vec2pCpp *dst) { } //! TODO: remove -extern "C" inline Vec2s *Vec2s_New(s16 x, s16 y) { +extern "C" inline Vec2s* Vec2s_New(s16 x, s16 y) { Vec2s vec; vec.x = x; vec.y = y; @@ -496,7 +496,7 @@ extern "C" inline Vec2s *Vec2s_New(s16 x, s16 y) { } //! TODO: remove -extern "C" inline Vec2s *Vec2s_GetCopy(Vec2s *src) { +extern "C" inline Vec2s* Vec2s_GetCopy(Vec2s* src) { Vec2s vec; vec.x = src->x; vec.y = src->y; @@ -511,7 +511,7 @@ union Vec2sb { }; s8 coords[2]; - void operator=(const Vec2sb &from) { + void operator=(const Vec2sb& from) { this->x = from.x; this->y = from.y; } @@ -532,7 +532,7 @@ union Vec3s { }; s16 coords[3]; - void operator=(const Vec3s &from) { + void operator=(const Vec3s& from) { this->x = from.x; this->y = from.y; this->z = from.z; @@ -540,7 +540,7 @@ union Vec3s { Vec3s() {} - Vec3s(Vec3s *from) { + Vec3s(Vec3s* from) { #if __MWERKS__ this->coords = from->coords; #else diff --git a/include/profile.hpp b/include/profile.hpp index ebd3f9c72..1bf99604f 100644 --- a/include/profile.hpp +++ b/include/profile.hpp @@ -9,28 +9,28 @@ class UnkStruct_027e0d00_00; //! TODO: doesn't belong here but since we don't know what it is... class UnkSystem3 { public: - /* 00 */ void *mUnk_00; - /* 04 */ void *mUnk_04; + /* 00 */ void* mUnk_00; + /* 04 */ void* mUnk_04; /* 08 */ unk32 mUnk_08; /* 0C */ - void Reset(void *param1) { + void Reset(void* param1) { this->~UnkSystem3(); this->mUnk_00 = param1; } - UnkSystem3(const char *path, unk32 param2); - UnkSystem3(const char *path, unk32 param2, unk32 param3, unk32 param4); + UnkSystem3(const char* path, unk32 param2); + UnkSystem3(const char* path, unk32 param2, unk32 param3, unk32 param4); ~UnkSystem3(); - void func_02015410(const char *path, unk32 param2); - void func_0201541c(const char *param1, unk32 param2); - void func_02015460(const char *param1, void *param2, unk32 param3); + void func_02015410(const char* path, unk32 param2); + void func_0201541c(const char* param1, unk32 param2); + void func_02015460(const char* param1, void* param2, unk32 param3); }; class MapObjectProfile_Derived2_20_Base_18 { public: - /* 00 */ const char *mUnk_00; + /* 00 */ const char* mUnk_00; /* 04 */ unk32 mUnk_04; /* 08 */ @@ -41,7 +41,7 @@ class MapObjectProfile_Derived2_20_Base_18 { class MapObjectProfile_Derived2_20_Base_54 { public: /* 00 (vtable) */ - /* 04 */ const char *mUnk_04; + /* 04 */ const char* mUnk_04; /* 08 */ unk32 mUnk_08; /* 0C */ unk32 mUnk_0C; /* 10 */ @@ -68,10 +68,10 @@ class UnkStruct_ov000_02058a84 { class MapObjectProfile_Derived2_20_Base { public: /* 00 (vtable) */ - /* 04 */ const char *mDirName; - /* 08 */ const char *mArchiveName; - /* 0C */ void *mUnk_0C; - /* 10 */ void *mUnk_10; + /* 04 */ const char* mDirName; + /* 08 */ const char* mArchiveName; + /* 0C */ void* mUnk_0C; + /* 10 */ void* mUnk_10; /* 14 */ u8 mUnk_14; /* 15 */ u8 mUnk_15; /* 16 */ u8 mUnk_16; @@ -80,11 +80,11 @@ class MapObjectProfile_Derived2_20_Base { /* 20 */ UnkSystem3 mUnk_20; /* 2C */ UnkFileSystem3 mUnk_2C; /* 3C */ UnkFileSystem5 mUnk_3C; - /* 50 */ BMDSectionModel *mUnk_50; + /* 50 */ BMDSectionModel* mUnk_50; /* 54 */ MapObjectProfile_Derived2_20_Base_54 mUnk_54[4]; /* 94 */ - MapObjectProfile_Derived2_20_Base(const char *directory, const char *archiveName, const char *param3, const char *param4, + MapObjectProfile_Derived2_20_Base(const char* directory, const char* archiveName, const char* param3, const char* param4, unk32 param5, unk32 param6); // func_ov000_02058540 @@ -93,13 +93,13 @@ class MapObjectProfile_Derived2_20_Base { /* 08 */ void func_ov000_020586b4(unk32 param1, unk32 param2, unk32 param3, unk32 param4); - void func_ov000_020588f0(void *param1, unk32 param2, unk32 param3, UnkStruct_027e0d00_00 *param4); + void func_ov000_020588f0(void* param1, unk32 param2, unk32 param3, UnkStruct_027e0d00_00* param4); void func_ov000_02058900(void); - void func_ov000_02058914(void *param1); + void func_ov000_02058914(void* param1); void func_ov000_020589e4(void); unk32 func_ov000_02058a24(); - UnkStruct_ov000_02058a84 *func_ov000_02058a58(unk32 param1, unk32 param2); - UnkStruct_ov000_02058a84 *func_ov000_02058a84(unk32 param1, const char *param2); + UnkStruct_ov000_02058a84* func_ov000_02058a58(unk32 param1, unk32 param2); + UnkStruct_ov000_02058a84* func_ov000_02058a84(unk32 param1, const char* param2); void func_ov000_02058ab0(void); }; @@ -111,7 +111,7 @@ class MapObjectProfile_Derived2_20_Base { #define DECL_PROFILE(T) \ T ProfileInstance::sProfile; \ - T *T::GetProfile() { \ + T* T::GetProfile() { \ return &ProfileInstance::sProfile; \ } @@ -119,16 +119,16 @@ template struct ProfileInstance { static T sProfile; }; -template static inline G3d_Model *GetModelFromProfile() { - return NNS_G3dGetMdl((BMDSectionModel *) GET_PROFILE_20_50(T)); +template static inline G3d_Model* GetModelFromProfile() { + return NNS_G3dGetMdl((BMDSectionModel*) GET_PROFILE_20_50(T)); } -template static inline G3d_Model *GetModelFromProfile2(s32 param1, u32 resId) { - T *pProfile = GET_PROFILE(T); +template static inline G3d_Model* GetModelFromProfile2(s32 param1, u32 resId) { + T* pProfile = GET_PROFILE(T); pProfile->func_ov000_0209ccd8(param1, resId); - return NNS_G3dGetMdl((BMDSectionModel *) pProfile->mUnk_20[param1]->mUnk_50); + return NNS_G3dGetMdl((BMDSectionModel*) pProfile->mUnk_20[param1]->mUnk_50); } -static inline G3d_Model *GetModelFromProfile3(MapObjectProfile_Derived2_20_Base *param1, const char *name) { +static inline G3d_Model* GetModelFromProfile3(MapObjectProfile_Derived2_20_Base* param1, const char* name) { return G3d_GetUnkPtr(param1->mUnk_50, name); } diff --git a/include/types.h b/include/types.h index 9cf6666b3..3fa8cffa7 100644 --- a/include/types.h +++ b/include/types.h @@ -47,7 +47,7 @@ template class AutoInstance : public Instance { #define DECL_INSTANCE_CTOR(type, gpInstance) \ template Instance::Instance() { \ - gpInstance = (type *) this; \ + gpInstance = (type*) this; \ } \ template class Instance diff --git a/libs/c/include/ansi_fp.h b/libs/c/include/ansi_fp.h index b0e6bb16f..0f95c4065 100644 --- a/libs/c/include/ansi_fp.h +++ b/libs/c/include/ansi_fp.h @@ -25,8 +25,8 @@ typedef struct decform { short digits; } decform; -void __num2dec(const decform *f, double x, decimal *d); -double __dec2num(const decimal *d); +void __num2dec(const decform* f, double x, decimal* d); +double __dec2num(const decimal* d); #ifdef __cplusplus } diff --git a/libs/c/include/buffer_io.h b/libs/c/include/buffer_io.h index 202eb996b..d47f54042 100644 --- a/libs/c/include/buffer_io.h +++ b/libs/c/include/buffer_io.h @@ -8,8 +8,8 @@ extern "C" { #endif -int __flush_buffer(FILE *file, size_t *length); -void __prep_buffer(FILE *file); +int __flush_buffer(FILE* file, size_t* length); +void __prep_buffer(FILE* file); #ifdef __cplusplus } diff --git a/libs/c/include/console_io.h b/libs/c/include/console_io.h index e1880dd7a..87a34e4eb 100644 --- a/libs/c/include/console_io.h +++ b/libs/c/include/console_io.h @@ -5,8 +5,8 @@ extern "C" { #endif -extern int __read_console(unsigned int handle, unsigned char *buffer, int *count, void *ref); -extern int __write_console(unsigned int handle, unsigned char *buffer, int *count, void *ref); +extern int __read_console(unsigned int handle, unsigned char* buffer, int* count, void* ref); +extern int __write_console(unsigned int handle, unsigned char* buffer, int* count, void* ref); extern int __close_console(); #ifdef __cplusplus diff --git a/libs/c/include/critical_regions.h b/libs/c/include/critical_regions.h index ff406d654..d71103ebc 100644 --- a/libs/c/include/critical_regions.h +++ b/libs/c/include/critical_regions.h @@ -21,7 +21,7 @@ extern int __cs_id[num_critical_regions]; extern int __cs_ref[num_critical_regions]; static inline void __begin_critical_region(int region) { - OSThread *currentThread; + OSThread* currentThread; if (OS_TryLockMutex(&__cs[region]) == 0) { currentThread = OS_GetCurrentThread(); diff --git a/libs/c/include/fdlibm.h b/libs/c/include/fdlibm.h index 34430d376..d28fc0780 100644 --- a/libs/c/include/fdlibm.h +++ b/libs/c/include/fdlibm.h @@ -21,21 +21,21 @@ double __ieee754_sqrt(double); double __ieee754_atan2(double, double); double __ieee754_asin(double); double __ieee754_exp(double); -int __ieee754_rem_pio2(double, double *); +int __ieee754_rem_pio2(double, double*); double __kernel_sin(double, double, int); double __kernel_cos(double, double); double __kernel_tan(double, double, int); -double nan(const char *arg); +double nan(const char* arg); double atan(double x); double ceil(double x); double copysign(double x, double y); double cos(double x); double floor(double x); -double frexp(double x, int *eptr); +double frexp(double x, int* eptr); double ldexp(double value, int exp); -double modf(double x, double *iptr); +double modf(double x, double* iptr); double sin(double x); double tan(double x); double acos(double x); diff --git a/libs/c/include/file_io.h b/libs/c/include/file_io.h index de315c1a4..94e5dcf88 100644 --- a/libs/c/include/file_io.h +++ b/libs/c/include/file_io.h @@ -7,8 +7,8 @@ extern "C" { #endif -int fclose(FILE *file); -int fflush(FILE *file); +int fclose(FILE* file); +int fflush(FILE* file); #ifdef __cplusplus } diff --git a/libs/c/include/file_pos.h b/libs/c/include/file_pos.h index 7331299f5..de263552a 100644 --- a/libs/c/include/file_pos.h +++ b/libs/c/include/file_pos.h @@ -7,10 +7,10 @@ extern "C" { #endif -int fseek(FILE *stream, unsigned int offset, int whence); -int _fseek(FILE *stream, unsigned int offset, int whence); -int ftell(FILE *stream); -int _ftell(FILE *stream); +int fseek(FILE* stream, unsigned int offset, int whence); +int _fseek(FILE* stream, unsigned int offset, int whence); +int ftell(FILE* stream); +int _ftell(FILE* stream); #ifdef __cplusplus }; diff --git a/libs/c/include/file_struc.h b/libs/c/include/file_struc.h index cda7bda87..67a148b86 100644 --- a/libs/c/include/file_struc.h +++ b/libs/c/include/file_struc.h @@ -62,10 +62,10 @@ typedef struct __file_state { unsigned char error; } __file_state; -typedef void *__ref_con; +typedef void* __ref_con; typedef void (*__idle_proc)(void); -typedef int (*__pos_proc)(unsigned int file, unsigned int *position, int mode, void *ref); -typedef int (*__io_proc)(unsigned int handle, unsigned char *buffer, int *count, void *ref); +typedef int (*__pos_proc)(unsigned int file, unsigned int* position, int mode, void* ref); +typedef int (*__io_proc)(unsigned int handle, unsigned char* buffer, int* count, void* ref); typedef int (*__close_proc)(unsigned int file); struct _FILE { @@ -77,9 +77,9 @@ struct _FILE { unsigned char ungetc_buffer[__ungetc_buffer_size]; wchar_t ungetwc_buffer[__ungetc_buffer_size]; unsigned int position; - unsigned char *buffer; + unsigned char* buffer; unsigned int buffer_size; - unsigned char *buffer_ptr; + unsigned char* buffer_ptr; unsigned int buffer_len; unsigned int buffer_alignment; unsigned int saved_buffer_len; diff --git a/libs/c/include/locale.h b/libs/c/include/locale.h index d8031a07b..5abc40f06 100644 --- a/libs/c/include/locale.h +++ b/libs/c/include/locale.h @@ -7,14 +7,14 @@ extern "C" { #define _COMPONENT_NAME_LEN 8 -typedef int (*__decode_mbyte)(unsigned short *, const char *, int); -typedef int (*__encode_mbyte)(char *, unsigned short); +typedef int (*__decode_mbyte)(unsigned short*, const char*, int); +typedef int (*__encode_mbyte)(char*, unsigned short); struct _loc_coll_cmpt { int char_start_value; int char_coll_tab_size; short char_spec_accents; - unsigned short *char_coll_table_ptr; + unsigned short* char_coll_table_ptr; }; struct _loc_ctype_cmpt { @@ -23,32 +23,32 @@ struct _loc_ctype_cmpt { }; struct _loc_time_cmpt { - char *am_pm; - char *DateTime_Format; - char *Twelve_hr_format; - char *Date_Format; - char *Time_Format; - char *Day_Names; - char *MonthNames; - char *TimeZone; + char* am_pm; + char* DateTime_Format; + char* Twelve_hr_format; + char* Date_Format; + char* Time_Format; + char* Day_Names; + char* MonthNames; + char* TimeZone; }; struct __locale { - /* 0x00 */ struct _loc_time_cmpt *time_cmpt_ptr; - /* 0x04 */ struct _loc_coll_cmpt *coll_cmpt_ptr; - /* 0x08 */ struct _loc_ctype_cmpt *ctype_cmpt_ptr; + /* 0x00 */ struct _loc_time_cmpt* time_cmpt_ptr; + /* 0x04 */ struct _loc_coll_cmpt* coll_cmpt_ptr; + /* 0x08 */ struct _loc_ctype_cmpt* ctype_cmpt_ptr; }; struct lconv { - char *decimal_point; - char *thousands_sep; - char *grouping; - char *mon_decimal_point; - char *mon_thousands_sep; - char *mon_grouping; - char *positive_sign; - char *negative_sign; - char *currency_symbol; + char* decimal_point; + char* thousands_sep; + char* grouping; + char* mon_decimal_point; + char* mon_thousands_sep; + char* mon_grouping; + char* positive_sign; + char* negative_sign; + char* currency_symbol; char frac_digits; char p_cs_precedes; char n_cs_precedes; @@ -56,7 +56,7 @@ struct lconv { char n_sep_by_space; char p_sign_posn; char n_sign_posn; - char *int_curr_symbol; + char* int_curr_symbol; char int_frac_digits; char int_p_cs_precedes; char int_n_cs_precedes; diff --git a/libs/c/include/math.h b/libs/c/include/math.h index dbb569e9c..9fb927a8f 100644 --- a/libs/c/include/math.h +++ b/libs/c/include/math.h @@ -17,17 +17,17 @@ extern int __float_nan[]; extern int __float_huge[]; extern int __double_huge[]; -#define NAN (*(float *) __float_nan) -#define INFINITY (*(float *) __float_huge) -#define HUGE_VAL (*(double *) __double_huge) +#define NAN (*(float*) __float_nan) +#define INFINITY (*(float*) __float_huge) +#define HUGE_VAL (*(double*) __double_huge) // f64 bit-twiddling macros #ifdef __BIG_ENDIAN__ - #define __HI(x) (((int *) &x)[0]) - #define __LO(x) (((int *) &x)[1]) + #define __HI(x) (((int*) &x)[0]) + #define __LO(x) (((int*) &x)[1]) #else - #define __HI(x) (((int *) &x)[1]) - #define __LO(x) (((int *) &x)[0]) + #define __HI(x) (((int*) &x)[1]) + #define __LO(x) (((int*) &x)[0]) #endif #define FP_NAN 1 @@ -39,7 +39,7 @@ extern int __double_huge[]; int __fpclassifyd(double x); int __signbitd(double x); double fabs(double x); -double nan(const char *x); +double nan(const char* x); double sqrt(double __x); #define fpclassify(x) ((sizeof(x) == sizeof(float)) ? __fpclassifyf((float) (x)) : __fpclassifyd((double) (x))) diff --git a/libs/c/include/mbstring.h b/libs/c/include/mbstring.h index ae4e71ce5..17bb878c7 100644 --- a/libs/c/include/mbstring.h +++ b/libs/c/include/mbstring.h @@ -7,10 +7,10 @@ extern "C" { #endif -int mbtowc(wchar_t *pwc, const char *s, int n); -int __mbtowc_noconv(wchar_t *pwc, const char *str, int n); -int __wctomb_noconv(char *s, wchar_t wchar); -size_t mbstowcs(wchar_t *pDest, const char *pSrc, size_t num); +int mbtowc(wchar_t* pwc, const char* s, int n); +int __mbtowc_noconv(wchar_t* pwc, const char* str, int n); +int __wctomb_noconv(char* s, wchar_t wchar); +size_t mbstowcs(wchar_t* pDest, const char* pSrc, size_t num); #ifdef __cplusplus } diff --git a/libs/c/include/mem.h b/libs/c/include/mem.h index 16685dbd7..c3b879c43 100644 --- a/libs/c/include/mem.h +++ b/libs/c/include/mem.h @@ -7,11 +7,11 @@ extern "C" { #endif -void *memcpy(void *dst, const void *src, int n); -void *memmove(void *dst, const void *src, size_t len); -void *memset(void *dest, int val, int n); -void *memchr(const void *src, int val, int n); -int memcmp(const void *src1, const void *src2, int n); +void* memcpy(void* dst, const void* src, int n); +void* memmove(void* dst, const void* src, size_t len); +void* memset(void* dest, int val, int n); +void* memchr(const void* src, int val, int n); +int memcmp(const void* src1, const void* src2, int n); #ifdef __cplusplus } diff --git a/libs/c/include/mem_funcs.h b/libs/c/include/mem_funcs.h index b83540d31..54bc00b73 100644 --- a/libs/c/include/mem_funcs.h +++ b/libs/c/include/mem_funcs.h @@ -5,7 +5,7 @@ extern "C" { #endif -void __fill_mem(void *dst, int val, unsigned int n); +void __fill_mem(void* dst, int val, unsigned int n); #ifdef __cplusplus } diff --git a/libs/c/include/printf.h b/libs/c/include/printf.h index a4895886e..1cda4e5fb 100644 --- a/libs/c/include/printf.h +++ b/libs/c/include/printf.h @@ -8,13 +8,13 @@ extern "C" { #include #include -int printf(const char *format, ...); -int fprintf(FILE *, const char *format, ...); -int vprintf(const char *, va_list); -int vsnprintf(char *, size_t, const char *, va_list); -int vsprintf(char *, const char *, va_list); -int snprintf(char *, size_t, const char *, ...); -int sprintf(char *, const char *, ...); +int printf(const char* format, ...); +int fprintf(FILE*, const char* format, ...); +int vprintf(const char*, va_list); +int vsnprintf(char*, size_t, const char*, va_list); +int vsprintf(char*, const char*, va_list); +int snprintf(char*, size_t, const char*, ...); +int sprintf(char*, const char*, ...); #ifdef __cplusplus } diff --git a/libs/c/include/scanf.h b/libs/c/include/scanf.h index 7dbf79d6c..d4fb701d6 100644 --- a/libs/c/include/scanf.h +++ b/libs/c/include/scanf.h @@ -7,8 +7,8 @@ extern "C" { #include -int vsscanf(const char *, const char *, va_list); -int sscanf(const char *, const char *, ...); +int vsscanf(const char*, const char*, va_list); +int sscanf(const char*, const char*, ...); #ifdef __cplusplus } diff --git a/libs/c/include/stdarg.h b/libs/c/include/stdarg.h index 4a5bc8a79..4adf0d4c2 100644 --- a/libs/c/include/stdarg.h +++ b/libs/c/include/stdarg.h @@ -5,13 +5,13 @@ extern "C" { #endif -typedef char *va_list; +typedef char* va_list; #define __fourbytealign(n) ((((unsigned int) (n)) + 3U) & ~3U) -#define __va_start(parm) ((va_list) ((char *) ((unsigned int) (&parm) & ~3U) + __fourbytealign(sizeof(parm)))) +#define __va_start(parm) ((va_list) ((char*) ((unsigned int) (&parm) & ~3U) + __fourbytealign(sizeof(parm)))) #define va_start(ap, parm) ((ap) = __va_start(parm)) -#define va_arg(ap, type) (*(type *) ((ap += __fourbytealign(sizeof(type))) - __fourbytealign(sizeof(type)))) +#define va_arg(ap, type) (*(type*) ((ap += __fourbytealign(sizeof(type))) - __fourbytealign(sizeof(type)))) #define va_end(ap) ((void) 0) #define va_copy(dest, src) dest = src diff --git a/libs/c/include/stddef.h b/libs/c/include/stddef.h index 626a8d73e..4f51f407b 100644 --- a/libs/c/include/stddef.h +++ b/libs/c/include/stddef.h @@ -13,7 +13,7 @@ extern "C" { #define nullptr 0 #endif -#define offsetof(ST, M) ((size_t) &(((ST *) 0)->M)) +#define offsetof(ST, M) ((size_t) &(((ST*) 0)->M)) typedef signed long intptr_t; typedef unsigned long uintptr_t; diff --git a/libs/c/include/stdio_api.h b/libs/c/include/stdio_api.h index bcc9bfee1..ec73aea59 100644 --- a/libs/c/include/stdio_api.h +++ b/libs/c/include/stdio_api.h @@ -22,29 +22,29 @@ enum __WReadProcActions { }; typedef struct { - char *CharStr; + char* CharStr; size_t MaxCharCount; size_t CharsWritten; } __OutStrCtrl; typedef struct { - char *NextChar; + char* NextChar; int NullCharDetected; } __InStrCtrl; typedef struct { - wchar_t *wCharStr; + wchar_t* wCharStr; size_t MaxCharCount; size_t CharsWritten; } __wOutStrCtrl; typedef struct { - wchar_t *wNextChar; + wchar_t* wNextChar; int wNullCharDetected; } __wInStrCtrl; -size_t __fwrite(const void *pPtr, size_t memb_size, size_t num_memb, FILE *file); -int __StringRead(void *, int, int); +size_t __fwrite(const void* pPtr, size_t memb_size, size_t num_memb, FILE* file); +int __StringRead(void*, int, int); #ifdef __cplusplus } diff --git a/libs/c/include/string.h b/libs/c/include/string.h index 38620981c..461d2adac 100644 --- a/libs/c/include/string.h +++ b/libs/c/include/string.h @@ -7,11 +7,11 @@ extern "C" { #endif -size_t strlen(const char *str); -char *strcpy(char *dest, const char *src); -char *strncpy(char *dest, const char *src, size_t num); -int strcmp(char *str1, char *str2); -int strncmp(char *str1, char *str2, size_t num); +size_t strlen(const char* str); +char* strcpy(char* dest, const char* src); +char* strncpy(char* dest, const char* src, size_t num); +int strcmp(char* str1, char* str2); +int strncmp(char* str1, char* str2, size_t num); #ifdef __cplusplus } diff --git a/libs/c/include/wchar_io.h b/libs/c/include/wchar_io.h index 7e6aa7158..34f057930 100644 --- a/libs/c/include/wchar_io.h +++ b/libs/c/include/wchar_io.h @@ -7,7 +7,7 @@ extern "C" { #endif -int fwide(FILE *stream, int mode); +int fwide(FILE* stream, int mode); #ifdef __cplusplus } diff --git a/libs/c/include/wstring.h b/libs/c/include/wstring.h index 4448ba09f..79bed7bc6 100644 --- a/libs/c/include/wstring.h +++ b/libs/c/include/wstring.h @@ -9,10 +9,10 @@ extern "C" { struct mbstate_t {}; -size_t wcslen(const wchar_t *str); -wchar_t *wcscpy(wchar_t *dest, const wchar_t *src); -wchar_t *wcsncpy(wchar_t *dest, const wchar_t *src, size_t n); -const wchar_t *wcschr(const wchar_t *str, wchar_t chr); +size_t wcslen(const wchar_t* str); +wchar_t* wcscpy(wchar_t* dest, const wchar_t* src); +wchar_t* wcsncpy(wchar_t* dest, const wchar_t* src, size_t n); +const wchar_t* wcschr(const wchar_t* str, wchar_t chr); #ifdef __cplusplus } diff --git a/libs/c/src/ansi_files.c b/libs/c/src/ansi_files.c index 50389d114..fc84c655b 100644 --- a/libs/c/src/ansi_files.c +++ b/libs/c/src/ansi_files.c @@ -78,7 +78,7 @@ FILE __files[_STATIC_FILES] = { int __flush_all(void) { int result = 0; - FILE *file = &__files[0]; + FILE* file = &__files[0]; int file_index = 1; do { diff --git a/libs/c/src/ansi_fp.c b/libs/c/src/ansi_fp.c index dfe2b8a2f..080d1bdf8 100644 --- a/libs/c/src/ansi_fp.c +++ b/libs/c/src/ansi_fp.c @@ -7,7 +7,7 @@ typedef unsigned long long d_int; #define SIGDIGLEN 32 static inline int count_trailing(double x) { - return __builtin___count_trailing_zero64(*(unsigned long long *) &x | 0x0010000000000000); + return __builtin___count_trailing_zero64(*(unsigned long long*) &x | 0x0010000000000000); } static inline int __count_trailing_zerol(unsigned int x) { @@ -15,7 +15,7 @@ static inline int __count_trailing_zerol(unsigned int x) { } static inline int __count_trailing_zero(double n) { - unsigned int *array = (unsigned int *) &n; + unsigned int* array = (unsigned int*) &n; unsigned int hi = array[1] | 0x100000; unsigned int lo = array[0]; @@ -28,8 +28,8 @@ static inline int __count_trailing_zero(double n) { return zeros; } -static int __must_round(const decimal *d, int digits) { - unsigned char const *i = d->sig.text + digits; +static int __must_round(const decimal* d, int digits) { + unsigned char const* i = d->sig.text + digits; if (*i > 5) { return 1; @@ -40,7 +40,7 @@ static int __must_round(const decimal *d, int digits) { } { - unsigned char const *e = d->sig.text + d->sig.length; + unsigned char const* e = d->sig.text + d->sig.length; for (i++; i < e; i++) { if (*i != 0) { @@ -56,9 +56,9 @@ static int __must_round(const decimal *d, int digits) { return -1; } -static void __dorounddecup(decimal *d, int digits) { - unsigned char *b = d->sig.text; - unsigned char *i = b + digits - 1; +static void __dorounddecup(decimal* d, int digits) { + unsigned char* b = d->sig.text; + unsigned char* i = b + digits - 1; while (1) { if (*i < 9) { @@ -74,7 +74,7 @@ static void __dorounddecup(decimal *d, int digits) { } } -static void __rounddec(decimal *d, int digits) { +static void __rounddec(decimal* d, int digits) { if (digits > 0 && digits < d->sig.length) { int unkBool = __must_round(d, digits); d->sig.length = digits; @@ -85,7 +85,7 @@ static void __rounddec(decimal *d, int digits) { } } -void __ull2dec(decimal *result, unsigned long long val) { +void __ull2dec(decimal* result, unsigned long long val) { result->sgn = 0; result->sig.length = 0; @@ -94,8 +94,8 @@ void __ull2dec(decimal *result, unsigned long long val) { } { - unsigned char *i = result->sig.text; - unsigned char *j = result->sig.text + result->sig.length; + unsigned char* i = result->sig.text; + unsigned char* j = result->sig.text + result->sig.length; for (; i < --j; ++i) { unsigned char t = *i; @@ -107,13 +107,13 @@ void __ull2dec(decimal *result, unsigned long long val) { result->exp = result->sig.length - 1; } -void __timesdec(decimal *result, const decimal *x, const decimal *y) { +void __timesdec(decimal* result, const decimal* x, const decimal* y) { unsigned int accumulator = 0; unsigned char mantissa[SIGDIGLEN * 2]; int i = x->sig.length + y->sig.length - 1; - unsigned char *pDigit; - unsigned char *ip = mantissa + i + 1; - unsigned char *ep = ip; + unsigned char* pDigit; + unsigned char* ip = mantissa + i + 1; + unsigned char* ep = ip; result->sgn = 0; @@ -122,8 +122,8 @@ void __timesdec(decimal *result, const decimal *x, const decimal *y) { int j = i - k - 1; int l; int t; - const unsigned char *jp; - const unsigned char *kp; + const unsigned char* jp; + const unsigned char* kp; if (j < 0) { j = 0; @@ -161,7 +161,7 @@ void __timesdec(decimal *result, const decimal *x, const decimal *y) { if (ip < ep && *ip >= 5) { if (*ip == 5) { - unsigned char *jp = ip + 1; + unsigned char* jp = ip + 1; for (; jp < ep; jp++) { if (*jp != 0) { goto round; @@ -176,8 +176,8 @@ void __timesdec(decimal *result, const decimal *x, const decimal *y) { } } -void __str2dec(decimal *d, const char *str, short exp) { - const unsigned char *s = (const unsigned char *) str; +void __str2dec(decimal* d, const char* str, short exp) { + const unsigned char* s = (const unsigned char*) str; int i; d->exp = exp; @@ -197,7 +197,7 @@ void __str2dec(decimal *d, const char *str, short exp) { } { - const unsigned char *p = s + 1; + const unsigned char* p = s + 1; for (; *p != 0; p++) { if (*p != '0') { @@ -214,7 +214,7 @@ void __str2dec(decimal *d, const char *str, short exp) { } } -void __two_exp(decimal *result, long exp) { +void __two_exp(decimal* result, long exp) { switch (exp) { case -64: __str2dec(result, "542101086242752217003726400434970855712890625", -20); @@ -302,7 +302,7 @@ void __two_exp(decimal *result, long exp) { } // non-matching: https://decomp.me/scratch/xVomE -void __num2dec_internal(decimal *d, double x) { +void __num2dec_internal(decimal* d, double x) { char sign = (char) (signbit(x) != 0); if (x == 0) { @@ -338,7 +338,7 @@ void __num2dec_internal(decimal *d, double x) { } } -void __num2dec(const decform *form, double x, decimal *d) { +void __num2dec(const decform* form, double x, decimal* d) { short digits = form->digits; int i; __num2dec_internal(d, x); diff --git a/libs/c/src/buffer_io.c b/libs/c/src/buffer_io.c index fd84b072c..3efce16fd 100644 --- a/libs/c/src/buffer_io.c +++ b/libs/c/src/buffer_io.c @@ -1,8 +1,8 @@ #include -void __convert_from_newlines(unsigned char *p, int *n) {} +void __convert_from_newlines(unsigned char* p, int* n) {} -void __prep_buffer(FILE *file) { +void __prep_buffer(FILE* file) { file->buffer_ptr = file->buffer; file->buffer_len = file->buffer_size; file->buffer_len = file->buffer_len - (file->position & file->buffer_alignment); @@ -10,7 +10,7 @@ void __prep_buffer(FILE *file) { return; } -int __flush_buffer(FILE *file, size_t *length) { +int __flush_buffer(FILE* file, size_t* length) { size_t bufferLen; int writeCode; diff --git a/libs/c/src/file_io.c b/libs/c/src/file_io.c index 862799360..6300b52c4 100644 --- a/libs/c/src/file_io.c +++ b/libs/c/src/file_io.c @@ -1,6 +1,6 @@ #include -int fflush(FILE *file) { +int fflush(FILE* file) { if (file == NULL) { return __flush_all(); } diff --git a/libs/c/src/math/e_pow.c b/libs/c/src/math/e_pow.c index bca65eadf..05719bc57 100644 --- a/libs/c/src/math/e_pow.c +++ b/libs/c/src/math/e_pow.c @@ -65,17 +65,17 @@ static double { 1.0, 1.5, -}, + }, dp_h[] = { 0.0, 5.84962487220764160156e-01, -}, /* 0x3FE2B803, 0x40000000 */ + }, /* 0x3FE2B803, 0x40000000 */ dp_l[] = { 0.0, 1.35003920212974897128e-08, -}, /* 0x3E4CFDEB, 0x43CFD006 */ + }, /* 0x3E4CFDEB, 0x43CFD006 */ zero = 0.0, one = 1.0, two = 2.0, two53 = 9007199254740992.0, /* 0x43400000, 0x00000000 */ big = 1.0e300, tiny = 1.0e-300, /* poly coefs for (3/2)*(log(x)-2s-2/3*s**3 */ diff --git a/libs/c/src/math/s_frexp.c b/libs/c/src/math/s_frexp.c index e423e1940..2f0bda7bb 100644 --- a/libs/c/src/math/s_frexp.c +++ b/libs/c/src/math/s_frexp.c @@ -31,11 +31,11 @@ static double two54 = 1.80143985094819840000e+16; /* 0x43500000, 0x00000000 */ #ifdef __STDC__ -double frexp(double x, int *eptr) +double frexp(double x, int* eptr) #else double frexp(x, eptr) double x; -int *eptr; +int* eptr; #endif { int hx, ix, lx; diff --git a/libs/c/src/mbstring.c b/libs/c/src/mbstring.c index a8794c733..e189a9740 100644 --- a/libs/c/src/mbstring.c +++ b/libs/c/src/mbstring.c @@ -1,15 +1,15 @@ #include #include -char *strncpy(char *dest, const char *src, size_t n); -size_t strlen(const char *str); +char* strncpy(char* dest, const char* src, size_t n); +size_t strlen(const char* str); -int mbtowc(short *pwc, const char *s, int n) { +int mbtowc(short* pwc, const char* s, int n) { return _current_locale.ctype_cmpt_ptr->decode_mb(pwc, s, n); } -int __mbtowc_noconv(unsigned short *pwc, const char *str, int n) { - const unsigned char *s = (const unsigned char *) str; +int __mbtowc_noconv(unsigned short* pwc, const char* str, int n) { + const unsigned char* s = (const unsigned char*) str; if (s == NULL) { return 0; @@ -30,7 +30,7 @@ int __mbtowc_noconv(unsigned short *pwc, const char *str, int n) { return 1; } -int __wctomb_noconv(char *s, unsigned short wchar) { +int __wctomb_noconv(char* s, unsigned short wchar) { if (s == NULL) { return 0; } @@ -38,16 +38,16 @@ int __wctomb_noconv(char *s, unsigned short wchar) { return 1; } -size_t mbstowcs(wchar_t *pDest, const char *pSrc, size_t num) { +size_t mbstowcs(wchar_t* pDest, const char* pSrc, size_t num) { int res; - unsigned char *src; + unsigned char* src; int count; size_t src_len; src_len = strlen(pSrc); if (pDest != 0) { - src = (unsigned char *) pSrc; + src = (unsigned char*) pSrc; for (count = 0; count < num; count++) { if (*src) { diff --git a/libs/c/src/mem.c b/libs/c/src/mem.c index c1a90233d..31b3150cf 100644 --- a/libs/c/src/mem.c +++ b/libs/c/src/mem.c @@ -1,9 +1,9 @@ #include #include -void *memcpy(void *dst, const void *src, int n) { - const unsigned char *p = (unsigned char *) src; - unsigned char *q = (unsigned char *) dst; +void* memcpy(void* dst, const void* src, int n) { + const unsigned char* p = (unsigned char*) src; + unsigned char* q = (unsigned char*) dst; for (n++; --n;) { *q++ = *p++; @@ -12,18 +12,18 @@ void *memcpy(void *dst, const void *src, int n) { return dst; } -void *memmove(void *dst, const void *src, size_t len) { - unsigned char *csrc; - unsigned char *cdst; +void* memmove(void* dst, const void* src, size_t len) { + unsigned char* csrc; + unsigned char* cdst; int reverse = (unsigned int) src < (unsigned int) dst; if (!reverse) { - for (csrc = (const char *) src, cdst = (char *) dst, len++; --len;) { + for (csrc = (const char*) src, cdst = (char*) dst, len++; --len;) { *cdst++ = *csrc++; } } else { - for (csrc = (const char *) src + len, cdst = (char *) dst + len, len++; --len;) { + for (csrc = (const char*) src + len, cdst = (char*) dst + len, len++; --len;) { *--cdst = *--csrc; } } @@ -31,30 +31,30 @@ void *memmove(void *dst, const void *src, size_t len) { return dst; } -void *memset(void *dest, int val, int n) { +void* memset(void* dest, int val, int n) { __fill_mem(dest, val, n); return dest; } -void *memchr(const void *src, int val, int n) { - const unsigned char *p; +void* memchr(const void* src, int val, int n) { + const unsigned char* p; unsigned int v = (val & 0xFF); - for (p = (unsigned char *) src, n++; --n;) { + for (p = (unsigned char*) src, n++; --n;) { if (*p++ == v) { - return ((void *) (p - 1)); + return ((void*) (p - 1)); } } return NULL; } -int memcmp(const void *src1, const void *src2, int n) { - const unsigned char *p1; - const unsigned char *p2; +int memcmp(const void* src1, const void* src2, int n) { + const unsigned char* p1; + const unsigned char* p2; - for (p1 = (const unsigned char *) src1, p2 = (const unsigned char *) src2, n++; --n;) { + for (p1 = (const unsigned char*) src1, p2 = (const unsigned char*) src2, n++; --n;) { if (*p1++ != *p2++) { return ((*--p1 < *--p2) ? -1 : +1); } diff --git a/libs/c/src/mem_funcs.c b/libs/c/src/mem_funcs.c index 3dfa1f323..33161ffcd 100644 --- a/libs/c/src/mem_funcs.c +++ b/libs/c/src/mem_funcs.c @@ -1,13 +1,13 @@ #include -#define cps ((unsigned char *) src) -#define cpd ((unsigned char *) dst) -#define lps ((unsigned int *) src) -#define lpd ((unsigned int *) dst) +#define cps ((unsigned char*) src) +#define cpd ((unsigned char*) dst) +#define lps ((unsigned int*) src) +#define lpd ((unsigned int*) dst) #define deref_auto_inc(p) *(p)++ -void __fill_mem(void *dst, int val, unsigned int n) { +void __fill_mem(void* dst, int val, unsigned int n) { unsigned int v = (unsigned char) val; unsigned int i; diff --git a/libs/c/src/string.c b/libs/c/src/string.c index 1bad65cb0..11ec100e1 100644 --- a/libs/c/src/string.c +++ b/libs/c/src/string.c @@ -5,9 +5,9 @@ #define K1 0x80808080 #define K2 0xFEFEFEFF -size_t strlen(const char *str) { +size_t strlen(const char* str) { int length = -1; - unsigned char *p = (unsigned char *) str; + unsigned char* p = (unsigned char*) str; do { length++; @@ -16,13 +16,13 @@ size_t strlen(const char *str) { return length; } -char *strcpy(char *dest, const char *src) { +char* strcpy(char* dest, const char* src) { register unsigned char *destb, *fromb; register unsigned int w, t, align; register unsigned int k1, k2; - fromb = (unsigned char *) src; - destb = (unsigned char *) dest; + fromb = (unsigned char*) src; + destb = (unsigned char*) dest; if ((align = ((unsigned int) fromb & 3)) != ((unsigned int) destb & 3)) { goto bytecopy; @@ -45,7 +45,7 @@ char *strcpy(char *dest, const char *src) { k1 = K1; k2 = K2; - w = *((int *) fromb); + w = *((int*) fromb); t = w + k2; t &= ~w; t &= k1; @@ -54,12 +54,12 @@ char *strcpy(char *dest, const char *src) { goto bytecopy; } - --((int *) (destb)); + --((int*) (destb)); do { - *(++((int *) destb)) = w; - w = *(++((int *) fromb)); - t = w + k2; + *(++((int*) destb)) = w; + w = *(++((int*) fromb)); + t = w + k2; t &= ~w; t &= k1; if (t != 0) { @@ -68,7 +68,7 @@ char *strcpy(char *dest, const char *src) { } while (true); adjust: - ++((int *) destb); + ++((int*) destb); bytecopy: if ((*destb = *fromb) == 0) { return dest; @@ -83,9 +83,9 @@ char *strcpy(char *dest, const char *src) { return dest; } -char *strncpy(char *dest, const char *src, size_t n) { - const unsigned char *p = (const unsigned char *) src; - unsigned char *q = (unsigned char *) dest; +char* strncpy(char* dest, const char* src, size_t n) { + const unsigned char* p = (const unsigned char*) src; + unsigned char* q = (unsigned char*) dest; n++; @@ -101,9 +101,9 @@ char *strncpy(char *dest, const char *src, size_t n) { return dest; } -int strcmp(char *str1, char *str2) { - register unsigned char *left = (unsigned char *) str1; - register unsigned char *right = (unsigned char *) str2; +int strcmp(char* str1, char* str2) { + register unsigned char* left = (unsigned char*) str1; + register unsigned char* right = (unsigned char*) str2; unsigned int k1, k2, align, l1, r1, x; l1 = *left; @@ -136,16 +136,16 @@ int strcmp(char *str1, char *str2) { k1 = K1; k2 = K2; - l1 = *(unsigned int *) left; - r1 = *(unsigned int *) right; + l1 = *(unsigned int*) left; + r1 = *(unsigned int*) right; x = l1 + k2; x &= ~l1; if (x & k1) { goto adjust; } while (l1 == r1) { - l1 = *(++((unsigned int *) (left))); - r1 = *(++((unsigned int *) (right))); + l1 = *(++((unsigned int*) (left))); + r1 = *(++((unsigned int*) (right))); x = l1 + k2; if (x & k1) { goto adjust; @@ -179,9 +179,9 @@ int strcmp(char *str1, char *str2) { } while (true); } -int strncmp(char *str1, char *str2, size_t n) { - const unsigned char *p1 = (unsigned char *) str1; - const unsigned char *p2 = (unsigned char *) str2; +int strncmp(char* str1, char* str2, size_t n) { + const unsigned char* p1 = (unsigned char*) str1; + const unsigned char* p2 = (unsigned char*) str2; unsigned int c1, c2; n++; diff --git a/libs/c/src/wmem.c b/libs/c/src/wmem.c index 472e2d991..eea4a248d 100644 --- a/libs/c/src/wmem.c +++ b/libs/c/src/wmem.c @@ -1,13 +1,13 @@ #include -wchar_t *wmemcpy(wchar_t *pDest, const wchar_t *pSrc, size_t num) { - return (wchar_t *) memcpy(pDest, pSrc, num * sizeof(wchar_t)); +wchar_t* wmemcpy(wchar_t* pDest, const wchar_t* pSrc, size_t num) { + return (wchar_t*) memcpy(pDest, pSrc, num * sizeof(wchar_t)); } -wchar_t *wmemchr(const wchar_t *pSrc, wchar_t val, size_t num) { +wchar_t* wmemchr(const wchar_t* pSrc, wchar_t val, size_t num) { while (num != 0) { if (*pSrc == val) { - return (wchar_t *) pSrc; + return (wchar_t*) pSrc; } pSrc++; diff --git a/libs/c/src/wprintf.c b/libs/c/src/wprintf.c index bc08986f5..2443705bd 100644 --- a/libs/c/src/wprintf.c +++ b/libs/c/src/wprintf.c @@ -25,10 +25,10 @@ typedef long long intmax_t; -#define PTRDIFF __typeof__((char *) 0 - (char *) 0) +#define PTRDIFF __typeof__((char*) 0 - (char*) 0) typedef PTRDIFF ptrdiff_t; -int vswprintf(wchar_t *s, size_t n, const wchar_t *format, va_list arg); +int vswprintf(wchar_t* s, size_t n, const wchar_t* format, va_list arg); enum justification_options { left_justification, @@ -77,7 +77,7 @@ typedef struct { } print_format; typedef struct { - char *CharStr; + char* CharStr; size_t MaxCharCount; size_t CharsWritten; } __OutStrCtrl; @@ -86,9 +86,9 @@ typedef struct { #define conversion_max 509 #define bad_conversion 0xFFFF -static const wchar_t *parse_format(const wchar_t *format_string, va_list *arg, print_format *format) { +static const wchar_t* parse_format(const wchar_t* format_string, va_list* arg, print_format* format) { print_format f; - const wchar_t *s = format_string; + const wchar_t* s = format_string; int c; int flag_found; @@ -103,7 +103,7 @@ static const wchar_t *parse_format(const wchar_t *format_string, va_list *arg, p if ((c = *++s) == L'%') { f.conversion_char = c; *format = f; - return ((const wchar_t *) s + 1); + return ((const wchar_t*) s + 1); } while (true) { @@ -163,7 +163,7 @@ static const wchar_t *parse_format(const wchar_t *format_string, va_list *arg, p if (f.field_width > conversion_max) { f.conversion_char = bad_conversion; *format = f; - return ((const wchar_t *) s + 1); + return ((const wchar_t*) s + 1); } if (c == L'.') { @@ -323,12 +323,12 @@ static const wchar_t *parse_format(const wchar_t *format_string, va_list *arg, p *format = f; - return ((const wchar_t *) s + 1); + return ((const wchar_t*) s + 1); } -wchar_t *long2str(long num, wchar_t *buff, print_format format) { +wchar_t* long2str(long num, wchar_t* buff, print_format format) { unsigned long unsigned_num, base; - wchar_t *p; + wchar_t* p; int n, digits; int minus = 0; unsigned_num = num; @@ -435,9 +435,9 @@ wchar_t *long2str(long num, wchar_t *buff, print_format format) { return p; } -wchar_t *longlong2str(long long num, wchar_t *pBuf, print_format fmt) { +wchar_t* longlong2str(long long num, wchar_t* pBuf, print_format fmt) { unsigned long long unsigned_num, base; - wchar_t *p; + wchar_t* p; int n, digits; int minus = 0; unsigned_num = num; @@ -539,9 +539,9 @@ wchar_t *longlong2str(long long num, wchar_t *pBuf, print_format fmt) { return p; } -static wchar_t *double2hex(long double num, wchar_t *buff, print_format format) { - wchar_t *p; - unsigned char *q; +static wchar_t* double2hex(long double num, wchar_t* buff, print_format format) { + wchar_t* p; + unsigned char* q; unsigned char working_byte; long double ld; int expbits, expmask; @@ -634,7 +634,7 @@ static wchar_t *double2hex(long double num, wchar_t *buff, print_format format) exp_format.conversion_char = L'd'; int i; - unsigned char *nump = (unsigned char *) # + unsigned char* nump = (unsigned char*) # for (i = 0; i < TARGET_FLOAT_BYTES; i++) { unsigned char x = nump[i]; nump[i] = nump[TARGET_FLOAT_BYTES - i + 3]; @@ -644,15 +644,15 @@ static wchar_t *double2hex(long double num, wchar_t *buff, print_format format) expbits = TARGET_FLOAT_EXP_BITS; expmask = 0x7FF; - snum = ((unsigned char *) &num)[0] << 25; + snum = ((unsigned char*) &num)[0] << 25; if (TARGET_FLOAT_EXP_BITS > 7) { - snum |= ((unsigned char *) &num)[1] << 17; + snum |= ((unsigned char*) &num)[1] << 17; } if (TARGET_FLOAT_EXP_BITS > 15) { - snum |= ((unsigned char *) &num)[2] << 9; + snum |= ((unsigned char*) &num)[2] << 9; } if (TARGET_FLOAT_EXP_BITS > 23) { - snum |= ((unsigned char *) &num)[3] << 1; + snum |= ((unsigned char*) &num)[3] << 1; } snum = (snum >> (29 - expbits)) & expmask; @@ -669,7 +669,7 @@ static wchar_t *double2hex(long double num, wchar_t *buff, print_format format) } else { *--p = L'P'; } - q = (unsigned char *) # + q = (unsigned char*) # if (TARGET_FLOAT_IMPLICIT_J_BIT) { mantissa_bit = (4 + expbits + format.precision * 4) - 1; @@ -741,9 +741,9 @@ static wchar_t *double2hex(long double num, wchar_t *buff, print_format format) return p; } -void round_decimal(decimal *dec, int new_length) { +void round_decimal(decimal* dec, int new_length) { unsigned char c; - unsigned char *p; + unsigned char* p; int carry; if (new_length < 0) { @@ -758,11 +758,11 @@ void round_decimal(decimal *dec, int new_length) { return; } - p = (unsigned char *) dec->sig.text + new_length + 1; + p = (unsigned char*) dec->sig.text + new_length + 1; c = *--p - L'0'; if (c == 5) { - unsigned char *q = &((unsigned char *) dec->sig.text)[dec->sig.length]; + unsigned char* q = &((unsigned char*) dec->sig.text)[dec->sig.length]; while (--q > p && *q == L'0') ; @@ -794,13 +794,13 @@ void round_decimal(decimal *dec, int new_length) { dec->sig.length = new_length; } -wchar_t *float2str(long double num, wchar_t *wbuff, print_format format) { +wchar_t* float2str(long double num, wchar_t* wbuff, print_format format) { decimal dec; decform form; - wchar_t *pw; - unsigned char *p; + wchar_t* pw; + unsigned char* p; unsigned char buff[512]; - unsigned char *q; + unsigned char* q; int n, digits, sign; int int_digits, frac_digits; int radix_marker; @@ -814,7 +814,7 @@ wchar_t *float2str(long double num, wchar_t *wbuff, print_format format) { form.style = 0; form.digits = 0x20; __num2dec(&form, num, &dec); - p = (unsigned char *) dec.sig.text + dec.sig.length; + p = (unsigned char*) dec.sig.text + dec.sig.length; while (dec.sig.length > 1 && *--p == L'0') { --dec.sig.length; @@ -938,7 +938,7 @@ wchar_t *float2str(long double num, wchar_t *wbuff, print_format format) { } } - for (n = dec.sig.length, q = (unsigned char *) dec.sig.text + dec.sig.length; --n;) { + for (n = dec.sig.length, q = (unsigned char*) dec.sig.text + dec.sig.length; --n;) { *--p = *--q; } @@ -982,7 +982,7 @@ wchar_t *float2str(long double num, wchar_t *wbuff, print_format format) { return 0; } - q = (unsigned char *) dec.sig.text + dec.sig.length; + q = (unsigned char*) dec.sig.text + dec.sig.length; for (digits = 0; digits < (format.precision - frac_digits); ++digits) { *--p = L'0'; @@ -1029,21 +1029,21 @@ wchar_t *float2str(long double num, wchar_t *wbuff, print_format format) { } // non-matching: https://decomp.me/scratch/bV2T9 -int __wpformatter(void *(*WriteProc)(void *, const wchar_t *, size_t), void *WriteProcArg, const wchar_t *format_str, - va_list arg, bool is_secure) { +int __wpformatter(void* (*WriteProc)(void*, const wchar_t*, size_t), void* WriteProcArg, const wchar_t* format_str, va_list arg, + bool is_secure) { int num_chars, chars_written, field_width; - const wchar_t *format_ptr; - const wchar_t *curr_format; + const wchar_t* format_ptr; + const wchar_t* curr_format; print_format format; long long_num; long long long_long_num; long double long_double_num; wchar_t buff[512]; - wchar_t *buff_ptr; - wchar_t *string_end; - char *cstring_end; + wchar_t* buff_ptr; + wchar_t* string_end; + char* cstring_end; wchar_t fill_char = ' '; - char *strptr; + char* strptr; format_ptr = format_str; chars_written = 0; @@ -1175,7 +1175,7 @@ int __wpformatter(void *(*WriteProc)(void *, const wchar_t *, size_t), void *Wri case L's': if (format.argument_options == wchar_argument) { - buff_ptr = va_arg(arg, wchar_t *); + buff_ptr = va_arg(arg, wchar_t*); if (is_secure && buff_ptr == NULL) { __msl_runtime_constraint_violation_s(NULL, NULL, -1); @@ -1195,14 +1195,14 @@ int __wpformatter(void *(*WriteProc)(void *, const wchar_t *, size_t), void *Wri } else if (format.precision_specified) { num_chars = format.precision; - if ((string_end = (wchar_t *) wmemchr(buff_ptr, 0, num_chars)) != 0) { + if ((string_end = (wchar_t*) wmemchr(buff_ptr, 0, num_chars)) != 0) { num_chars = string_end - buff_ptr; } } else { num_chars = wcslen(buff_ptr); } } else { - strptr = va_arg(arg, char *); + strptr = va_arg(arg, char*); if (is_secure && strptr == NULL) { __msl_runtime_constraint_violation_s(0, 0, -1); @@ -1222,7 +1222,7 @@ int __wpformatter(void *(*WriteProc)(void *, const wchar_t *, size_t), void *Wri } else if (format.precision_specified) { num_chars = format.precision; - if ((cstring_end = (char *) memchr(strptr, 0, num_chars)) != 0) { + if ((cstring_end = (char*) memchr(strptr, 0, num_chars)) != 0) { num_chars = cstring_end - strptr; } } else { @@ -1243,29 +1243,29 @@ int __wpformatter(void *(*WriteProc)(void *, const wchar_t *, size_t), void *Wri return -1; } - buff_ptr = va_arg(arg, wchar_t *); + buff_ptr = va_arg(arg, wchar_t*); switch (format.argument_options) { case normal_argument: - *(int *) buff_ptr = chars_written; + *(int*) buff_ptr = chars_written; break; case short_argument: - *(short *) buff_ptr = chars_written; + *(short*) buff_ptr = chars_written; break; case long_argument: - *(long *) buff_ptr = chars_written; + *(long*) buff_ptr = chars_written; break; case intmax_argument: - *(intmax_t *) buff_ptr = chars_written; + *(intmax_t*) buff_ptr = chars_written; break; case size_t_argument: - *(size_t *) buff_ptr = chars_written; + *(size_t*) buff_ptr = chars_written; break; case ptrdiff_argument: - *(ptrdiff_t *) buff_ptr = chars_written; + *(ptrdiff_t*) buff_ptr = chars_written; break; case long_long_argument: - *(long long *) buff_ptr = chars_written; + *(long long*) buff_ptr = chars_written; break; } @@ -1363,29 +1363,29 @@ int __wpformatter(void *(*WriteProc)(void *, const wchar_t *, size_t), void *Wri } typedef struct { - wchar_t *wCharStr; + wchar_t* wCharStr; size_t MaxCharCount; size_t CharsWritten; } __wOutStrCtrl; -void *__wStringWrite(void *wosc, const wchar_t *buffer, size_t numchars) { +void* __wStringWrite(void* wosc, const wchar_t* buffer, size_t numchars) { size_t tobewritten; - void *res; - __wOutStrCtrl *wOscp = (__wOutStrCtrl *) wosc; + void* res; + __wOutStrCtrl* wOscp = (__wOutStrCtrl*) wosc; tobewritten = ((wOscp->CharsWritten + numchars) <= wOscp->MaxCharCount) ? numchars : wOscp->MaxCharCount - wOscp->CharsWritten; - res = (void *) wmemcpy(wOscp->wCharStr + wOscp->CharsWritten, buffer, tobewritten); + res = (void*) wmemcpy(wOscp->wCharStr + wOscp->CharsWritten, buffer, tobewritten); wOscp->CharsWritten += tobewritten; return res; } -int swprintf(wchar_t *s, size_t n, const wchar_t *format, ...) { +int swprintf(wchar_t* s, size_t n, const wchar_t* format, ...) { va_list args; va_start(args, format); return vswprintf(s, n, format, args); } -int vswprintf(wchar_t *s, size_t n, const wchar_t *format, va_list arg) { +int vswprintf(wchar_t* s, size_t n, const wchar_t* format, va_list arg) { int count; __wOutStrCtrl wosc; wosc.wCharStr = s; diff --git a/libs/c/src/wstring.c b/libs/c/src/wstring.c index 68e90346a..b212d54f5 100644 --- a/libs/c/src/wstring.c +++ b/libs/c/src/wstring.c @@ -1,6 +1,6 @@ #include -size_t wcslen(const wchar_t *str) { +size_t wcslen(const wchar_t* str) { size_t len = -1; do { @@ -10,9 +10,9 @@ size_t wcslen(const wchar_t *str) { return len; } -wchar_t *wcscpy(wchar_t *dest, const wchar_t *src) { - const wchar_t *p = src; - wchar_t *q = dest; +wchar_t* wcscpy(wchar_t* dest, const wchar_t* src) { + const wchar_t* p = src; + wchar_t* q = dest; while ((*q++ = *p++) != L'\0') ; @@ -20,9 +20,9 @@ wchar_t *wcscpy(wchar_t *dest, const wchar_t *src) { return dest; } -wchar_t *wcsncpy(wchar_t *dest, const wchar_t *src, size_t n) { - const wchar_t *p = src; - wchar_t *q = dest; +wchar_t* wcsncpy(wchar_t* dest, const wchar_t* src, size_t n) { + const wchar_t* p = src; + wchar_t* q = dest; n++; @@ -38,16 +38,16 @@ wchar_t *wcsncpy(wchar_t *dest, const wchar_t *src, size_t n) { return dest; } -const wchar_t *wcschr(const wchar_t *str, wchar_t chr) { - const wchar_t *p = str; +const wchar_t* wcschr(const wchar_t* str, wchar_t chr) { + const wchar_t* p = str; wchar_t c = chr; wchar_t ch; while (ch = *p++) { if (ch == c) { - return ((char *) (p - 1)); + return ((char*) (p - 1)); } } - return (c ? 0 : (char *) (p - 1)); + return (c ? 0 : (char*) (p - 1)); } diff --git a/libs/cpp/include/compressed_pair.hpp b/libs/cpp/include/compressed_pair.hpp index 0a201af21..04cea101a 100644 --- a/libs/cpp/include/compressed_pair.hpp +++ b/libs/cpp/include/compressed_pair.hpp @@ -49,17 +49,17 @@ namespace Metrowerks { compressed_pair_imp(second_param second) : m_Second(second) {} - T1 &first() { + T1& first() { return m_First; } - const T1 &first() const { + const T1& first() const { return m_First; } - T2 &second() { + T2& second() { return m_Second; } - const T2 &second() const { + const T2& second() const { return m_Second; } @@ -82,17 +82,17 @@ namespace Metrowerks { compressed_pair_imp(second_param second) : m_Second(second) {} - T1 &first() { + T1& first() { return *this; } - const T1 &first() const { + const T1& first() const { return *this; } - T2 &second() { + T2& second() { return m_Second; } - const T2 &second() const { + const T2& second() const { return m_Second; } @@ -114,17 +114,17 @@ namespace Metrowerks { compressed_pair_imp(second_param second) : T2(second) {} - T1 &first() { + T1& first() { return m_First; } - const T1 &first() const { + const T1& first() const { return m_First; } - T2 &second() { + T2& second() { return *this; } - const T2 &second() const { + const T2& second() const { return *this; } @@ -147,7 +147,7 @@ namespace Metrowerks { _Base(first, second) {} template - compressed_pair(const compressed_pair &p) : + compressed_pair(const compressed_pair& p) : _Base(p.first(), p.second()) {} }; diff --git a/libs/cpp/include/default_delete.hpp b/libs/cpp/include/default_delete.hpp index efe77ff19..4807e6b1f 100644 --- a/libs/cpp/include/default_delete.hpp +++ b/libs/cpp/include/default_delete.hpp @@ -10,7 +10,7 @@ namespace std { namespace detail { template struct default_delete { - void operator()(T *ptr) { + void operator()(T* ptr) { delete ptr; } }; diff --git a/libs/cpp/include/type_traits/call_traits.hpp b/libs/cpp/include/type_traits/call_traits.hpp index 4f274fe22..24f26c6b8 100644 --- a/libs/cpp/include/type_traits/call_traits.hpp +++ b/libs/cpp/include/type_traits/call_traits.hpp @@ -10,28 +10,28 @@ namespace Metrowerks { // probably doesn't cover all useful cases (e.g. long long), // but this will do for our purposes - template struct call_traits_imp { + template struct call_traits_imp { typedef const T param_type; }; template struct call_traits_imp { - typedef const T ¶m_type; + typedef const T& param_type; }; - template struct call_traits_imp { - typedef T *param_type; + template struct call_traits_imp { + typedef T* param_type; }; - template struct call_traits_imp { - typedef const T *param_type; + template struct call_traits_imp { + typedef const T* param_type; }; - template struct call_traits_imp { - typedef T ¶m_type; + template struct call_traits_imp { + typedef T& param_type; }; - template struct call_traits_imp { - typedef const T ¶m_type; + template struct call_traits_imp { + typedef const T& param_type; }; } // namespace details @@ -39,8 +39,8 @@ namespace Metrowerks { // name known; boost template struct call_traits { typedef T value_type; - typedef T &reference; - typedef const T &const_reference; + typedef T& reference; + typedef const T& const_reference; typedef typename details::call_traits_imp::param_type param_type; }; diff --git a/libs/cpp/src/__register_global_object.c b/libs/cpp/src/__register_global_object.c index 8bdc2a725..c16cc9c19 100644 --- a/libs/cpp/src/__register_global_object.c +++ b/libs/cpp/src/__register_global_object.c @@ -1,10 +1,10 @@ #include "MWException.h" -#define CALL_DTOR(dtor, obj) (((void (*)(void *, int))(dtor))((obj), -1)) +#define CALL_DTOR(dtor, obj) (((void (*)(void*, int))(dtor))((obj), -1)) -DestructorChain *__global_destructor_chain; +DestructorChain* __global_destructor_chain; -void *__register_global_object(void *object, void *destructor, DestructorChain *link) { +void* __register_global_object(void* object, void* destructor, DestructorChain* link) { link->next = __global_destructor_chain; link->dtor = destructor; link->object = object; diff --git a/libs/dsprot/include/dsprot.h b/libs/dsprot/include/dsprot.h index 1f55249b7..175c1ab1b 100644 --- a/libs/dsprot/include/dsprot.h +++ b/libs/dsprot/include/dsprot.h @@ -41,7 +41,7 @@ extern "C" { * @return 1 if the environment is determined to be a flashcart, 0 otherwise */ //================================================================================================= -extern u32 DSProt_DetectFlashcart(void *callback); +extern u32 DSProt_DetectFlashcart(void* callback); //================================================================================================= /** @@ -53,7 +53,7 @@ extern u32 DSProt_DetectFlashcart(void *callback); * @return 1 if the environment is determined to NOT be a flashcart, 0 otherwise */ //================================================================================================= -extern u32 DSProt_DetectNotFlashcart(void *callback); +extern u32 DSProt_DetectNotFlashcart(void* callback); //================================================================================================= /** @@ -65,7 +65,7 @@ extern u32 DSProt_DetectNotFlashcart(void *callback); * @return 1 if the environment is determined to be an emulator, 0 otherwise */ //================================================================================================= -extern u32 DSProt_DetectEmulator(void *callback); +extern u32 DSProt_DetectEmulator(void* callback); //================================================================================================= /** @@ -77,7 +77,7 @@ extern u32 DSProt_DetectEmulator(void *callback); * @return 1 if the environment is determined to NOT be an emulator, 0 otherwise */ //================================================================================================= -extern u32 DSProt_DetectNotEmulator(void *callback); +extern u32 DSProt_DetectNotEmulator(void* callback); //================================================================================================= /** @@ -88,7 +88,7 @@ extern u32 DSProt_DetectNotEmulator(void *callback); * @return 0 */ //================================================================================================= -extern u32 DSProt_DetectDummy(void *callback); +extern u32 DSProt_DetectDummy(void* callback); //================================================================================================= /** @@ -99,7 +99,7 @@ extern u32 DSProt_DetectDummy(void *callback); * @return 1 */ //================================================================================================= -extern u32 DSProt_DetectNotDummy(void *callback); +extern u32 DSProt_DetectNotDummy(void* callback); #ifdef __cplusplus } diff --git a/libs/dsprot/include/dsprot/encryptor.h b/libs/dsprot/include/dsprot/encryptor.h index 050a8146a..9cbcf2283 100644 --- a/libs/dsprot/include/dsprot/encryptor.h +++ b/libs/dsprot/include/dsprot/encryptor.h @@ -16,8 +16,8 @@ enum { }; u32 Encryptor_CategorizeInstruction(u32 instruction); -void Encryptor_DecodeFunctionTable(FuncInfo *functions); -void *Encryptor_DecryptFunction(u32 key, u32 func_addr, u32 size); +void Encryptor_DecodeFunctionTable(FuncInfo* functions); +void* Encryptor_DecryptFunction(u32 key, u32 func_addr, u32 size); u32 Encryptor_EncryptFunction(u32 key, u32 func_addr, u32 size); #endif diff --git a/libs/dsprot/include/dsprot/rc4.h b/libs/dsprot/include/dsprot/rc4.h index 908788ab5..f66ed5f5d 100644 --- a/libs/dsprot/include/dsprot/rc4.h +++ b/libs/dsprot/include/dsprot/rc4.h @@ -3,7 +3,7 @@ #include -u32 RC4_InitAndEncryptInstructions(void *key, void *dst, void *src, u32 size); -u32 RC4_InitAndDecryptInstructions(void *key, void *dst, void *src, u32 size); +u32 RC4_InitAndEncryptInstructions(void* key, void* dst, void* src, u32 size); +u32 RC4_InitAndDecryptInstructions(void* key, void* dst, void* src, u32 size); #endif diff --git a/libs/dsprot/include/dsprot/rom_util.h b/libs/dsprot/include/dsprot/rom_util.h index 1ab13dc33..94bb47e97 100644 --- a/libs/dsprot/include/dsprot/rom_util.h +++ b/libs/dsprot/include/dsprot/rom_util.h @@ -4,7 +4,7 @@ #include // Assembly decryption wrappers -extern void RunEncrypted_ROMUtil_Read(void *dest, u32 addr, s32 num_bytes); -extern u32 RunEncrypted_ROMUtil_CRC32(void *buf, u32 size); +extern void RunEncrypted_ROMUtil_Read(void* dest, u32 addr, s32 num_bytes); +extern u32 RunEncrypted_ROMUtil_CRC32(void* buf, u32 size); #endif diff --git a/libs/dsprot/src/dsprot_main.c b/libs/dsprot/src/dsprot_main.c index 5f50ac482..cd45cf003 100644 --- a/libs/dsprot/src/dsprot_main.c +++ b/libs/dsprot/src/dsprot_main.c @@ -8,12 +8,12 @@ #include "dsprot/rom_test.h" // Functions to be encrypted (cannot be called directly) -u32 DetectFlashcart(void *callback); -u32 DetectNotFlashcart(void *callback); -u32 DetectEmulator(void *callback); -u32 DetectNotEmulator(void *callback); -u32 DetectDummy(void *callback); -u32 DetectNotDummy(void *callback); +u32 DetectFlashcart(void* callback); +u32 DetectNotFlashcart(void* callback); +u32 DetectEmulator(void* callback); +u32 DetectNotEmulator(void* callback); +u32 DetectDummy(void* callback); +u32 DetectNotDummy(void* callback); #define DSP_OBFS_OFFSET (0x320) @@ -28,7 +28,7 @@ enum { }; // This was likely not originally an inline, but an inline is able to match here nicely -static inline u32 dsprotMain(u32 *func_queue, int expected_result, void *callback) { +static inline u32 dsprotMain(u32* func_queue, int expected_result, void* callback) { BOOL ret; BOOL func_result; s32 compare_sum; @@ -62,7 +62,7 @@ static inline u32 dsprotMain(u32 *func_queue, int expected_result, void *callbac return (u32) ret; } -u32 DetectFlashcart(void *callback) { +u32 DetectFlashcart(void* callback) { u32 func_queue[32]; func_queue[2] = FUNC_QUEUE_END; @@ -72,7 +72,7 @@ u32 DetectFlashcart(void *callback) { return dsprotMain(&func_queue[0], EXPECT_FALSE, callback); } -u32 DetectNotFlashcart(void *callback) { +u32 DetectNotFlashcart(void* callback) { u32 func_queue[32]; func_queue[2] = FUNC_QUEUE_END; @@ -82,7 +82,7 @@ u32 DetectNotFlashcart(void *callback) { return dsprotMain(&func_queue[0], EXPECT_TRUE, callback); } -u32 DetectEmulator(void *callback) { +u32 DetectEmulator(void* callback) { u32 func_queue[32]; func_queue[2] = FUNC_QUEUE_END; @@ -92,7 +92,7 @@ u32 DetectEmulator(void *callback) { return dsprotMain(&func_queue[0], EXPECT_FALSE, callback); } -u32 DetectNotEmulator(void *callback) { +u32 DetectNotEmulator(void* callback) { u32 func_queue[32]; func_queue[2] = FUNC_QUEUE_END; @@ -102,20 +102,20 @@ u32 DetectNotEmulator(void *callback) { return dsprotMain(&func_queue[0], EXPECT_TRUE, callback); } -u32 DetectDummy(void *callback) { +u32 DetectDummy(void* callback) { u32 func_queue[32]; // Prevent optimization of the function queue processing - *(u32 *) &func_queue[0] = FUNC_QUEUE_END; + *(u32*) &func_queue[0] = FUNC_QUEUE_END; return dsprotMain(&func_queue[0], EXPECT_FALSE, callback); } -u32 DetectNotDummy(void *callback) { +u32 DetectNotDummy(void* callback) { u32 func_queue[32]; // Prevent optimization of the function queue processing - *(u32 *) &func_queue[0] = FUNC_QUEUE_END; + *(u32*) &func_queue[0] = FUNC_QUEUE_END; return dsprotMain(&func_queue[0], EXPECT_TRUE, callback); } diff --git a/libs/dsprot/src/encryptor.c b/libs/dsprot/src/encryptor.c index c113e45a4..1813b68a7 100644 --- a/libs/dsprot/src/encryptor.c +++ b/libs/dsprot/src/encryptor.c @@ -8,9 +8,9 @@ #define ROTL(x, a) ((a) == 0 ? (x) : (((x) << (a)) | ((x) >> (32 - (a))))) -static void clearDataAndInstructionCache(void *start_addr, u32 num_bytes); +static void clearDataAndInstructionCache(void* start_addr, u32 num_bytes); -static void clearDataAndInstructionCache(void *start_addr, u32 num_bytes) { +static void clearDataAndInstructionCache(void* start_addr, u32 num_bytes) { DC_FlushRange(start_addr, num_bytes); IC_InvalidateRange(start_addr, num_bytes); } @@ -38,24 +38,24 @@ u32 Encryptor_CategorizeInstruction(u32 instruction) { return INS_TYPE_OTHER; } -void Encryptor_DecodeFunctionTable(FuncInfo *functions) { - u32 *addr; +void Encryptor_DecodeFunctionTable(FuncInfo* functions) { + u32* addr; u32 size; - u32 *end_addr; + u32* end_addr; if (functions == NULL) { return; } for (; functions->obfs_addr != 0; functions++) { - addr = (u32 *) functions->obfs_addr; + addr = (u32*) functions->obfs_addr; size = functions->obfs_size - (u32) &DSProt_BSS - ENC_VAL_1; if (addr == NULL) { break; } - addr = (u32 *) ((u32) addr - ENC_VAL_1); + addr = (u32*) ((u32) addr - ENC_VAL_1); end_addr = addr + (size / 4); for (; addr < end_addr; addr++) { @@ -76,30 +76,30 @@ void Encryptor_DecodeFunctionTable(FuncInfo *functions) { } break; default: { - u8 *addr_bytes = (u8 *) addr; + u8* addr_bytes = (u8*) addr; *addr = (addr_bytes[0] ^ ENC_BYTE_A) | ((addr_bytes[1] ^ ENC_BYTE_B) << 8) | - ((addr_bytes[2] ^ ENC_BYTE_C) << 16) | ((addr_bytes[3] ^ ENC_BYTE_D) << 24); + ((addr_bytes[2] ^ ENC_BYTE_C) << 16) | ((addr_bytes[3] ^ ENC_BYTE_D) << 24); } break; } } - clearDataAndInstructionCache((void *) (functions->obfs_addr - ENC_VAL_1), size); + clearDataAndInstructionCache((void*) (functions->obfs_addr - ENC_VAL_1), size); } } -static inline void expandRC4Key(u32 seed_key, u32 size, u32 *expanded_key) { +static inline void expandRC4Key(u32 seed_key, u32 size, u32* expanded_key) { expanded_key[0] = ROTL(seed_key, 0) ^ size; expanded_key[1] = ROTL(seed_key, 8) ^ size; expanded_key[2] = ROTL(seed_key, 16) ^ size; expanded_key[3] = ROTL(seed_key, 24) ^ size; } -void *Encryptor_DecryptFunction(u32 key, u32 func_addr, u32 size) { +void* Encryptor_DecryptFunction(u32 key, u32 func_addr, u32 size) { u32 expanded_key[4]; - void *func_ptr; + void* func_ptr; // Deobfuscate arguments - func_ptr = (void *) func_addr; + func_ptr = (void*) func_addr; func_ptr -= ENC_VAL_1; size -= (u32) &DSProt_BSS + ENC_VAL_1; @@ -114,10 +114,10 @@ void *Encryptor_DecryptFunction(u32 key, u32 func_addr, u32 size) { u32 Encryptor_EncryptFunction(u32 key, u32 func_addr, u32 size) { u32 expanded_key[4]; - void *func_ptr; + void* func_ptr; // Deobfuscate arguments - func_ptr = (void *) func_addr; + func_ptr = (void*) func_addr; func_ptr -= ENC_VAL_1; size -= (u32) &DSProt_BSS + ENC_VAL_1; diff --git a/libs/dsprot/src/integrity.c b/libs/dsprot/src/integrity.c index bb1b94803..323206487 100644 --- a/libs/dsprot/src/integrity.c +++ b/libs/dsprot/src/integrity.c @@ -13,7 +13,7 @@ u32 Integrity_ROMTest_IsGood(void); #define INTEGRITY_OBFS_OFFSET (ENC_VAL_1 & ~0xFFF) // This was likely not originally an inline, but an inline is able to match here nicely -static inline u32 checkDecryptionWrapper(u8 *addr, u32 match_ret, u32 mismatch_ret) { +static inline u32 checkDecryptionWrapper(u8* addr, u32 match_ret, u32 mismatch_ret) { u32 offset; addr += INTEGRITY_OBFS_OFFSET; @@ -80,40 +80,40 @@ static inline u32 checkDecryptionWrapper(u8 *addr, u32 match_ret, u32 mismatch_r } u32 Integrity_MACOwner_IsBad(void) { - u8 *addr; + u8* addr; u32 ret; - addr = (u8 *) ADDR_PLUS_ADDEND(RunEncrypted_MACOwner_IsBad, ENC_VAL_1) - (ENC_VAL_1 * 2); + addr = (u8*) ADDR_PLUS_ADDEND(RunEncrypted_MACOwner_IsBad, ENC_VAL_1) - (ENC_VAL_1 * 2); ret = (u32) addr + 1; return checkDecryptionWrapper(addr, 0, ret); } u32 Integrity_MACOwner_IsGood(void) { - u8 *addr; + u8* addr; u32 ret; - addr = (u8 *) ADDR_PLUS_ADDEND(RunEncrypted_MACOwner_IsGood, ENC_VAL_1) - (ENC_VAL_1 * 2); + addr = (u8*) ADDR_PLUS_ADDEND(RunEncrypted_MACOwner_IsGood, ENC_VAL_1) - (ENC_VAL_1 * 2); ret = (u32) addr; return checkDecryptionWrapper(addr, ret + 1, 0); } u32 Integrity_ROMTest_IsBad(void) { - u8 *addr; + u8* addr; u32 ret; - addr = (u8 *) ADDR_PLUS_ADDEND(RunEncrypted_ROMTest_IsBad, ENC_VAL_1) - (ENC_VAL_1 * 2); + addr = (u8*) ADDR_PLUS_ADDEND(RunEncrypted_ROMTest_IsBad, ENC_VAL_1) - (ENC_VAL_1 * 2); ret = (u32) addr + 1; return checkDecryptionWrapper(addr, 0, ret); } u32 Integrity_ROMTest_IsGood(void) { - u8 *addr; + u8* addr; u32 ret; - addr = (u8 *) ADDR_PLUS_ADDEND(RunEncrypted_ROMTest_IsGood, ENC_VAL_1) - (ENC_VAL_1 * 2); + addr = (u8*) ADDR_PLUS_ADDEND(RunEncrypted_ROMTest_IsGood, ENC_VAL_1) - (ENC_VAL_1 * 2); ret = (u32) addr; return checkDecryptionWrapper(addr, ret + 1, 0); diff --git a/libs/dsprot/src/rc4.c b/libs/dsprot/src/rc4.c index f64574945..9471c16b6 100644 --- a/libs/dsprot/src/rc4.c +++ b/libs/dsprot/src/rc4.c @@ -11,13 +11,13 @@ typedef struct { } RC4_Ctx; // Functions to be encoded (cannot be static) -void RC4_Init(RC4_Ctx *ctx, const void *key, u32 key_len); -u8 RC4_Byte(RC4_Ctx *ctx); -u32 RC4_InitSBox(u8 *sbox); -u32 RC4_EncryptInstructions(RC4_Ctx *ctx, void *src, void *dst, u32 size); -u32 RC4_DecryptInstructions(RC4_Ctx *ctx, void *src, void *dst, u32 size); +void RC4_Init(RC4_Ctx* ctx, const void* key, u32 key_len); +u8 RC4_Byte(RC4_Ctx* ctx); +u32 RC4_InitSBox(u8* sbox); +u32 RC4_EncryptInstructions(RC4_Ctx* ctx, void* src, void* dst, u32 size); +u32 RC4_DecryptInstructions(RC4_Ctx* ctx, void* src, void* dst, u32 size); -void RC4_Init(RC4_Ctx *ctx, const void *key, u32 key_len) { +void RC4_Init(RC4_Ctx* ctx, const void* key, u32 key_len) { u8 tmp1; u8 tmp2; int Ki; @@ -37,7 +37,7 @@ void RC4_Init(RC4_Ctx *ctx, const void *key, u32 key_len) { // Modification to RC4: i = 255 -> 0, instead of 0 -> 255 for (i = 255; i >= 0; i--) { tmp1 = ctx->S[i]; - Si = Si + ((u8 *) key)[Ki] + tmp1; + Si = Si + ((u8*) key)[Ki] + tmp1; tmp2 = ctx->S[Si]; ctx->S[Si] = tmp1; @@ -50,7 +50,7 @@ void RC4_Init(RC4_Ctx *ctx, const void *key, u32 key_len) { } } -u8 RC4_Byte(RC4_Ctx *ctx) { +u8 RC4_Byte(RC4_Ctx* ctx) { u8 i; u8 ival; u8 j; @@ -70,7 +70,7 @@ u8 RC4_Byte(RC4_Ctx *ctx) { return ctx->S[(ival + jval) & 0xFF]; } -u32 RC4_InitSBox(u8 *sbox) { +u32 RC4_InitSBox(u8* sbox) { int i; for (i = 0; i < 256; i++) { sbox[i] = (u8) i ^ ENC_SBOX_XOR; @@ -79,29 +79,29 @@ u32 RC4_InitSBox(u8 *sbox) { return 0; } -u32 RC4_EncryptInstructions(RC4_Ctx *ctx, void *src, void *dst, u32 size) { +u32 RC4_EncryptInstructions(RC4_Ctx* ctx, void* src, void* dst, u32 size) { u8 sbox[256]; unsigned long offset; - u8 *src_bytes; - u8 *dst_bytes; + u8* src_bytes; + u8* dst_bytes; if (size & 3) { return -1; } - src_bytes = (u8 *) src; - dst_bytes = (u8 *) dst; + src_bytes = (u8*) src; + dst_bytes = (u8*) dst; RC4_InitSBox(&sbox[0]); for (offset = 0; offset < size; offset += 4) { - switch (Encryptor_CategorizeInstruction(*(u32 *) (src_bytes + offset))) { + switch (Encryptor_CategorizeInstruction(*(u32*) (src_bytes + offset))) { case INS_TYPE_BLXIMM: case INS_TYPE_BL: { u32 opcode; u32 operands; - u32 *src_addr = (u32 *) (src_bytes + offset); - u32 *dst_addr = (u32 *) (dst_bytes + offset); + u32* src_addr = (u32*) (src_bytes + offset); + u32* dst_addr = (u32*) (dst_bytes + offset); *dst_addr = *src_addr; @@ -114,8 +114,8 @@ u32 RC4_EncryptInstructions(RC4_Ctx *ctx, void *src, void *dst, u32 size) { case INS_TYPE_B: { u32 opcode; u32 operands; - u32 *src_addr = (u32 *) (src_bytes + offset); - u32 *dst_addr = (u32 *) (dst_bytes + offset); + u32* src_addr = (u32*) (src_bytes + offset); + u32* dst_addr = (u32*) (dst_bytes + offset); *dst_addr = *src_addr; @@ -137,29 +137,29 @@ u32 RC4_EncryptInstructions(RC4_Ctx *ctx, void *src, void *dst, u32 size) { return 0; } -u32 RC4_DecryptInstructions(RC4_Ctx *ctx, void *src, void *dst, u32 size) { +u32 RC4_DecryptInstructions(RC4_Ctx* ctx, void* src, void* dst, u32 size) { u8 sbox[256]; unsigned long offset; - u8 *src_bytes; - u8 *dst_bytes; + u8* src_bytes; + u8* dst_bytes; if (size & 3) { return -1; } - src_bytes = (u8 *) src; - dst_bytes = (u8 *) dst; + src_bytes = (u8*) src; + dst_bytes = (u8*) dst; RC4_InitSBox(&sbox[0]); for (offset = 0; offset < size; offset += 4) { - switch (Encryptor_CategorizeInstruction(*(u32 *) (src_bytes + offset))) { + switch (Encryptor_CategorizeInstruction(*(u32*) (src_bytes + offset))) { case INS_TYPE_BLXIMM: case INS_TYPE_BL: { u32 opcode; u32 operands; - u32 *src_addr = (u32 *) (src_bytes + offset); - u32 *dst_addr = (u32 *) (dst_bytes + offset); + u32* src_addr = (u32*) (src_bytes + offset); + u32* dst_addr = (u32*) (dst_bytes + offset); *dst_addr = *src_addr; @@ -172,8 +172,8 @@ u32 RC4_DecryptInstructions(RC4_Ctx *ctx, void *src, void *dst, u32 size) { case INS_TYPE_B: { u32 opcode; u32 operands; - u32 *src_addr = (u32 *) (src_bytes + offset); - u32 *dst_addr = (u32 *) (dst_bytes + offset); + u32* src_addr = (u32*) (src_bytes + offset); + u32* dst_addr = (u32*) (dst_bytes + offset); *dst_addr = *src_addr; @@ -195,14 +195,14 @@ u32 RC4_DecryptInstructions(RC4_Ctx *ctx, void *src, void *dst, u32 size) { return 0; } -u32 RC4_InitAndEncryptInstructions(void *key, void *dst, void *src, u32 size) { +u32 RC4_InitAndEncryptInstructions(void* key, void* dst, void* src, u32 size) { RC4_Ctx ctx; RC4_Init(&ctx, key, RC4_KEY_SIZE); // Must coerce output to -1 or 0 like this to match return RC4_EncryptInstructions(&ctx, dst, src, size) == -1 ? -1 : 0; } -u32 RC4_InitAndDecryptInstructions(void *key, void *dst, void *src, u32 size) { +u32 RC4_InitAndDecryptInstructions(void* key, void* dst, void* src, u32 size) { RC4_Ctx ctx; RC4_Init(&ctx, key, RC4_KEY_SIZE); // Must coerce output to -1 or 0 like this to match diff --git a/libs/dsprot/src/rom_util.c b/libs/dsprot/src/rom_util.c index 95a689e0d..447879dc3 100644 --- a/libs/dsprot/src/rom_util.c +++ b/libs/dsprot/src/rom_util.c @@ -5,14 +5,14 @@ #include // Functions to be encrypted (cannot be called directly) -void ROMUtil_Read(void *dest, u32 addr, s32 num_bytes); -u32 ROMUtil_CRC32(void *buf, u32 size); +void ROMUtil_Read(void* dest, u32 addr, s32 num_bytes); +u32 ROMUtil_CRC32(void* buf, u32 size); -void ROMUtil_Read(void *dest, u32 addr, s32 num_bytes) { +void ROMUtil_Read(void* dest, u32 addr, s32 num_bytes) { u8 buffer[8]; - vu8 *vnull; + vu8* vnull; u32 register_base_1; - vu8 *register_base_2; + vu8* register_base_2; u32 card_ctrl_13; s32 addr_offset; u16 lock_id; @@ -32,7 +32,7 @@ void ROMUtil_Read(void *dest, u32 addr, s32 num_bytes) { register_base_1 <<= 26; // Another alias for register base (0x04000000) - register_base_2 = (vu8 *) REG_BASE; + register_base_2 = (vu8*) REG_BASE; // External memory control register (0x04000204) // Save value to rewrite later @@ -48,14 +48,14 @@ void ROMUtil_Read(void *dest, u32 addr, s32 num_bytes) { card_ctrl_13 -= 13; // Detect if the system is in DSi mode. If so, change the address to 0x02FFFE60 - if (*(vu8 *) (register_base_1 + REG_A9ROM_OFFSET) & 1) { + if (*(vu8*) (register_base_1 + REG_A9ROM_OFFSET) & 1) { card_ctrl_13 |= 0x40000; } card_ctrl_13 <<= 5; // Read port setting and set page read flags - card_ctrl_cmd = (*(vs32 *) card_ctrl_13 & ~CARD_CTL_CMD_MASK) | (CARD_CTL_CMD_PAGE | CARD_CTL_READ | CARD_CTL_START); + card_ctrl_cmd = (*(vs32*) card_ctrl_13 & ~CARD_CTL_CMD_MASK) | (CARD_CTL_CMD_PAGE | CARD_CTL_READ | CARD_CTL_START); // Calculate offset to round back to nearest 0x200-byte block. // E.G. if we want to read starting from 0x1208, we actually need to @@ -64,12 +64,12 @@ void ROMUtil_Read(void *dest, u32 addr, s32 num_bytes) { addr_offset = 0 - (addr & (CARD_ROM_PAGE_SIZE - 1)); // Wait for card to not be busy - while (*(vu32 *) (register_base_1 + REG_CARD_CNT_OFFSET) & CARD_CTL_START) { + while (*(vu32*) (register_base_1 + REG_CARD_CNT_OFFSET) & CARD_CTL_START) { continue; } // Write enable flag to card ROM and SPI control register - *(vu8 *) (register_base_1 + REG_CARD_AUX_SPI_CNT_OFFSET + 1) = CARDMST_ENABLE; + *(vu8*) (register_base_1 + REG_CARD_AUX_SPI_CNT_OFFSET + 1) = CARDMST_ENABLE; // Read 8-byte command out from gamecard bus, write this back later for (i = 0; i < 8; i++) { @@ -93,20 +93,20 @@ void ROMUtil_Read(void *dest, u32 addr, s32 num_bytes) { register_base_2[REG_CARD_CMD_OFFSET + 7] = 0x00; // Submit command - *(vu32 *) (register_base_1 + REG_CARD_CNT_OFFSET) = card_ctrl_cmd; + *(vu32*) (register_base_1 + REG_CARD_CNT_OFFSET) = card_ctrl_cmd; // Copy the output into the destination buffer, within the bounds of num_bytes // (Must read the output out of the I/O register regardless) do { - if (*(vu32 *) (register_base_1 + REG_CARD_CNT_OFFSET) & CARD_DATA_READY) { - output = *(vu32 *) (register_base_1 + REG_CARD_DATA_OFFSET); + if (*(vu32*) (register_base_1 + REG_CARD_CNT_OFFSET) & CARD_DATA_READY) { + output = *(vu32*) (register_base_1 + REG_CARD_DATA_OFFSET); if (addr_offset >= 0 && addr_offset < num_bytes) { - *(u32 *) ((u32) dest + addr_offset) = output; + *(u32*) ((u32) dest + addr_offset) = output; } addr_offset += 4; } - } while (*(vu32 *) (register_base_1 + REG_CARD_CNT_OFFSET) & CARD_CTL_START); + } while (*(vu32*) (register_base_1 + REG_CARD_CNT_OFFSET) & CARD_CTL_START); // Advance address to next block addr += CARD_ROM_PAGE_SIZE; @@ -120,19 +120,19 @@ void ROMUtil_Read(void *dest, u32 addr, s32 num_bytes) { } // Write original value back to to external memory control register - *(vu16 *) (register_base_1 + REG_EXMEM_CNT_OFFSET) = ext_mem_register_val_original; + *(vu16*) (register_base_1 + REG_EXMEM_CNT_OFFSET) = ext_mem_register_val_original; CARD_UnlockRom(lock_id); OS_ReleaseLockID(lock_id); } -u32 ROMUtil_CRC32(void *buf, u32 size) { +u32 ROMUtil_CRC32(void* buf, u32 size) { int i; u32 crc; u32 poly; - u8 *byte_ptr; + u8* byte_ptr; - byte_ptr = (u8 *) buf; + byte_ptr = (u8*) buf; crc = 0xFFFFFFFF; poly = 0xEDB88320; while (size-- != 0) { diff --git a/libs/nitro/include/nitro/card.h b/libs/nitro/include/nitro/card.h index b60e9a7a6..71be2c4c1 100644 --- a/libs/nitro/include/nitro/card.h +++ b/libs/nitro/include/nitro/card.h @@ -74,7 +74,7 @@ CARDBackupType CARD_GetBackupType(); #define CARD_IsBackupFlash() (CARD_GetBackupType() & 0xff) == CARD_BACKUP_TYPE_FLASH #define CARD_IsBackupFram() (CARD_GetBackupType() & 0xff) == CARD_BACKUP_TYPE_FRAM u32 CARD_GetBackupTotalSize(void); -BOOL CARD_ReadWriteBackupAsync(u32 offset, void *buf, u32 size, void *, void *, u32, u32, u32, u32); +BOOL CARD_ReadWriteBackupAsync(u32 offset, void* buf, u32 size, void*, void*, u32, u32, u32, u32); void CARD_WaitBackupAsync(void); CARDResult CARD_GetResultCode(void); void CARD_TerminateForPulledOut(); @@ -82,48 +82,48 @@ void CARD_TerminateForPulledOut(); void CARD_LockRom(u16 lock); void CARD_UnlockRom(u16 lock); BOOL CARD_IsPulledOut(void); -void CARDi_ReadRom(u32 arg0, void *arg1, void *arg2, void (*callback)(void *param), void *param, u32 arg5); +void CARDi_ReadRom(u32 arg0, void* arg1, void* arg2, void (*callback)(void* param), void* param, u32 arg5); -CARD_UnkStruct2 *CARD_func_0058(void); -CARD_UnkStruct1 *CARD_func_0059(void); +CARD_UnkStruct2* CARD_func_0058(void); +CARD_UnkStruct1* CARD_func_0059(void); -void CARD_SetPulledOutCallback(void *param1); +void CARD_SetPulledOutCallback(void* param1); -inline void CARD_ReadEeprom(u32 offset, void *buf, u32 size) { +inline void CARD_ReadEeprom(u32 offset, void* buf, u32 size) { // TODO: Implement from GameSpy ReadFromBackup } -inline void CARD_ReadFlash(u32 offset, void *buf, u32 size) { +inline void CARD_ReadFlash(u32 offset, void* buf, u32 size) { // TODO: Implement from GameSpy ReadFromBackup } -inline void CARD_ReadFram(u32 offset, void *buf, u32 size) { +inline void CARD_ReadFram(u32 offset, void* buf, u32 size) { // TODO: Implement from GameSpy ReadFromBackup } -inline void CARD_WriteAndVerifyEeprom(u32 offset, void *buf, u32 size) { +inline void CARD_WriteAndVerifyEeprom(u32 offset, void* buf, u32 size) { // TODO: Implement from GameSpy WriteToBackup } -inline void CARD_WriteAndVerifyFlash(u32 offset, void *buf, u32 size) { +inline void CARD_WriteAndVerifyFlash(u32 offset, void* buf, u32 size) { // TODO: Implement from GameSpy WriteToBackup } -inline void CARD_WriteAndVerifyFram(u32 offset, void *buf, u32 size) { +inline void CARD_WriteAndVerifyFram(u32 offset, void* buf, u32 size) { // TODO: Implement from GameSpy WriteToBackup } -inline BOOL CARD_ReadEepromAsync(u32 offset, void *buf, u32 size, void *param4, void *param5) { +inline BOOL CARD_ReadEepromAsync(u32 offset, void* buf, u32 size, void* param4, void* param5) { return CARD_ReadWriteBackupAsync(offset, buf, size, param4, param5, 1, 6, 1, 0); } -inline BOOL CARD_ReadFlashAsync(u32 offset, void *buf, u32 size, void *param4, void *param5) { +inline BOOL CARD_ReadFlashAsync(u32 offset, void* buf, u32 size, void* param4, void* param5) { return CARD_ReadWriteBackupAsync(offset, buf, size, param4, param5, 0, 6, 1, 0); } -inline BOOL CARD_ReadFramAsync(u32 offset, void *buf, u32 size, void *param4, void *param5) { +inline BOOL CARD_ReadFramAsync(u32 offset, void* buf, u32 size, void* param4, void* param5) { return CARD_ReadWriteBackupAsync(offset, buf, size, param4, param5, 1, 6, 1, 0); } -inline BOOL CARD_WriteAndVerifyEepromAsync(u32 offset, void *buf, u32 size, void *param4, void *param5) { +inline BOOL CARD_WriteAndVerifyEepromAsync(u32 offset, void* buf, u32 size, void* param4, void* param5) { return CARD_ReadWriteBackupAsync(offset, buf, size, param4, param5, 1, 8, 10, 2); } -inline BOOL CARD_WriteAndVerifyFlashAsync(u32 offset, void *buf, u32 size, void *param4, void *param5) { +inline BOOL CARD_WriteAndVerifyFlashAsync(u32 offset, void* buf, u32 size, void* param4, void* param5) { return CARD_ReadWriteBackupAsync(offset, buf, size, param4, param5, 0, 7, 10, 2); } -inline BOOL CARD_WriteAndVerifyFramAsync(u32 offset, void *buf, u32 size, void *param4, void *param5) { +inline BOOL CARD_WriteAndVerifyFramAsync(u32 offset, void* buf, u32 size, void* param4, void* param5) { return CARD_ReadWriteBackupAsync(offset, buf, size, param4, param5, 1, 8, 10, 2); } diff --git a/libs/nitro/include/nitro/dgt.h b/libs/nitro/include/nitro/dgt.h index 979939c64..585086001 100644 --- a/libs/nitro/include/nitro/dgt.h +++ b/libs/nitro/include/nitro/dgt.h @@ -7,7 +7,7 @@ extern "C" { #include "nitro/types.h" -void DGT_Hash2CalcHmac(void *, void *, u32, void *, u32); +void DGT_Hash2CalcHmac(void*, void*, u32, void*, u32); #ifdef __cplusplus } diff --git a/libs/nitro/include/nitro/fs.h b/libs/nitro/include/nitro/fs.h index 55cccfc22..f6553c267 100644 --- a/libs/nitro/include/nitro/fs.h +++ b/libs/nitro/include/nitro/fs.h @@ -33,11 +33,11 @@ typedef struct FS_UnkStruct6 { } FS_UnkStruct6; BOOL FSi_InitRom(s32 dmaCount); -BOOL FSi_GetLengthFromRom(FSFile *file, FSiCmdGetLength *cmd); -BOOL FSi_GetPositionFromRom(FSFile *file, FSiCmdGetPosition *cmd); -BOOL FSi_SeekFileFromRom(FSFile *arg0, FS_UnkStruct14 arg1, s32 mode); +BOOL FSi_GetLengthFromRom(FSFile* file, FSiCmdGetLength* cmd); +BOOL FSi_GetPositionFromRom(FSFile* file, FSiCmdGetPosition* cmd); +BOOL FSi_SeekFileFromRom(FSFile* arg0, FS_UnkStruct14 arg1, s32 mode); -FSResult FS_func_0037(FSFile *file, FSResult result); +FSResult FS_func_0037(FSFile* file, FSResult result); #ifdef __cplusplus } // extern "C" diff --git a/libs/nitro/include/nitro/fs/fs_archive.h b/libs/nitro/include/nitro/fs/fs_archive.h index 45b06d770..b76804ed3 100644 --- a/libs/nitro/include/nitro/fs/fs_archive.h +++ b/libs/nitro/include/nitro/fs/fs_archive.h @@ -30,53 +30,53 @@ typedef struct FS_UnkStruct7 { /* 14 */ u32 unk_14; /* 18 */ u32 unk_18; /* 1c */ u32 unk_1c; - /* 20 */ FSResult (*read)(struct FSArchive *, void *, void *, s32 size); - /* 24 */ FSResult (*write)(struct FSArchive *, void *, void *, s32 size); + /* 20 */ FSResult (*read)(struct FSArchive*, void*, void*, s32 size); + /* 24 */ FSResult (*write)(struct FSArchive*, void*, void*, s32 size); /* 28 */ PAD(0x28, 0x2c); - /* 2c */ FSResult (*proc)(struct FSFile *file, FSFileProc fn); + /* 2c */ FSResult (*proc)(struct FSFile* file, FSFileProc fn); /* 30 */ u32 overrideMask; // bitfield of FSFileProc to override when calling FSi_ExecuteFileProc /* 34 */ } FS_UnkStruct7; typedef struct FsArchiveFns { union { - /* 00 */ void *array[FS_MAX_CMD_COUNT]; + /* 00 */ void* array[FS_MAX_CMD_COUNT]; struct { - /* 00 */ FSResult (*read)(struct FSArchive *archive, struct FSFile *file, u32 size, FSiCmdReadFile *cmd); - /* 04 */ FSResult (*write)(struct FSArchive *archive, struct FSFile *file, u32, FSiCmd1 *cmd); - /* 08 */ FSResult (*unk_08)(struct FSArchive *archive, struct FSFile *file, u32, u32); - /* 0c */ FSResult (*unk_0c)(struct FSArchive *archive, struct FSFile *file, FS_UnkStruct13 *); - /* 10 */ FSResult (*unk_10)(struct FSArchive *archive, u32, char *path, u32 *, BOOL); - /* 14 */ FSResult (*unk_14)(struct FSArchive *archive, struct FSFile *file, u32, u32, u32 *); - /* 18 */ FSResult (*unk_18)(struct FSArchive *archive, struct FSFile *file, u32, u32); - /* 1c */ FSResult (*unk_1c)(struct FSArchive *archive, struct FSFile *file, u32, u32, FSiCmd7 *cmd); - /* 20 */ FSResult (*close)(struct FSArchive *archive, struct FSFile *file); - /* 24 */ FSResult (*lock)(struct FSArchive *archive); - /* 28 */ FSResult (*unlock)(struct FSArchive *archive); - /* 2c */ FSResult (*unk_2c)(struct FSArchive *archive); - /* 30 */ FSResult (*unk_30)(struct FSArchive *archive); - /* 34 */ FSResult (*open)(struct FSArchive *archive, struct FSFile *file, u32, char *path, u32 flags); - /* 38 */ FSResult (*seek)(struct FSArchive *archive, struct FSFile *file, s32 *pos, u32 mode); - /* 3c */ FSResult (*getLength)(struct FSArchive *archive, struct FSFile *file, FSiCmdGetLength *cmd); - /* 40 */ FSResult (*getPosition)(struct FSArchive *archive, struct FSFile *file, FSiCmdGetPosition *cmd); - /* 44 */ FSResult (*unk_44)(struct FSArchive *archive); - /* 48 */ FSResult (*unk_48)(struct FSArchive *archive); - /* 4c */ FSResult (*unk_4c)(struct FSArchive *archive, FSiCmd19 *cmd); - /* 50 */ FSResult (*unk_50)(struct FSArchive *archive, u32, u32, u32); - /* 54 */ FSResult (*unk_54)(struct FSArchive *archive, u32, u32); - /* 58 */ FSResult (*unk_58)(struct FSArchive *archive, u32, u32, u32, u32); - /* 5c */ FSResult (*unk_5c)(struct FSArchive *archive, u32, char *path, FS_UnkStruct15 *); - /* 60 */ FSResult (*unk_60)(struct FSArchive *archive, u32, u32, u32); - /* 64 */ FSResult (*unk_64)(struct FSArchive *archive, u32, u32, u32); - /* 68 */ FSResult (*unk_68)(struct FSArchive *archive, u32, u32); - /* 6c */ FSResult (*unk_6c)(struct FSArchive *archive, u32, u32, u32, u32); - /* 70 */ FSResult (*unk_70)(struct FSArchive *archive, FS_UnkStruct16 *); + /* 00 */ FSResult (*read)(struct FSArchive* archive, struct FSFile* file, u32 size, FSiCmdReadFile* cmd); + /* 04 */ FSResult (*write)(struct FSArchive* archive, struct FSFile* file, u32, FSiCmd1* cmd); + /* 08 */ FSResult (*unk_08)(struct FSArchive* archive, struct FSFile* file, u32, u32); + /* 0c */ FSResult (*unk_0c)(struct FSArchive* archive, struct FSFile* file, FS_UnkStruct13*); + /* 10 */ FSResult (*unk_10)(struct FSArchive* archive, u32, char* path, u32*, BOOL); + /* 14 */ FSResult (*unk_14)(struct FSArchive* archive, struct FSFile* file, u32, u32, u32*); + /* 18 */ FSResult (*unk_18)(struct FSArchive* archive, struct FSFile* file, u32, u32); + /* 1c */ FSResult (*unk_1c)(struct FSArchive* archive, struct FSFile* file, u32, u32, FSiCmd7* cmd); + /* 20 */ FSResult (*close)(struct FSArchive* archive, struct FSFile* file); + /* 24 */ FSResult (*lock)(struct FSArchive* archive); + /* 28 */ FSResult (*unlock)(struct FSArchive* archive); + /* 2c */ FSResult (*unk_2c)(struct FSArchive* archive); + /* 30 */ FSResult (*unk_30)(struct FSArchive* archive); + /* 34 */ FSResult (*open)(struct FSArchive* archive, struct FSFile* file, u32, char* path, u32 flags); + /* 38 */ FSResult (*seek)(struct FSArchive* archive, struct FSFile* file, s32* pos, u32 mode); + /* 3c */ FSResult (*getLength)(struct FSArchive* archive, struct FSFile* file, FSiCmdGetLength* cmd); + /* 40 */ FSResult (*getPosition)(struct FSArchive* archive, struct FSFile* file, FSiCmdGetPosition* cmd); + /* 44 */ FSResult (*unk_44)(struct FSArchive* archive); + /* 48 */ FSResult (*unk_48)(struct FSArchive* archive); + /* 4c */ FSResult (*unk_4c)(struct FSArchive* archive, FSiCmd19* cmd); + /* 50 */ FSResult (*unk_50)(struct FSArchive* archive, u32, u32, u32); + /* 54 */ FSResult (*unk_54)(struct FSArchive* archive, u32, u32); + /* 58 */ FSResult (*unk_58)(struct FSArchive* archive, u32, u32, u32, u32); + /* 5c */ FSResult (*unk_5c)(struct FSArchive* archive, u32, char* path, FS_UnkStruct15*); + /* 60 */ FSResult (*unk_60)(struct FSArchive* archive, u32, u32, u32); + /* 64 */ FSResult (*unk_64)(struct FSArchive* archive, u32, u32, u32); + /* 68 */ FSResult (*unk_68)(struct FSArchive* archive, u32, u32); + /* 6c */ FSResult (*unk_6c)(struct FSArchive* archive, u32, u32, u32, u32); + /* 70 */ FSResult (*unk_70)(struct FSArchive* archive, FS_UnkStruct16*); /* 74 */ FSResult (*unk_74)(void); // unused? - /* 78 */ FSResult (*unk_78)(struct FSArchive *archive, struct FSFile *file); - /* 7c */ FSResult (*unk_7c)(struct FSArchive *archive, struct FSFile *file, u32); - /* 80 */ FSResult (*openDir)(struct FSArchive *archive, struct FSFile *file, u32, char *path, u32); - /* 84 */ FSResult (*closeDir)(struct FSArchive *archive, struct FSFile *file); - /* 88 */ FSResult (*unk_88)(struct FSArchive *archive, struct FSFile *file, u32, u32); + /* 78 */ FSResult (*unk_78)(struct FSArchive* archive, struct FSFile* file); + /* 7c */ FSResult (*unk_7c)(struct FSArchive* archive, struct FSFile* file, u32); + /* 80 */ FSResult (*openDir)(struct FSArchive* archive, struct FSFile* file, u32, char* path, u32); + /* 84 */ FSResult (*closeDir)(struct FSArchive* archive, struct FSFile* file); + /* 88 */ FSResult (*unk_88)(struct FSArchive* archive, struct FSFile* file, u32, u32); }; }; /* 8c */ @@ -85,32 +85,32 @@ typedef struct FsArchiveFns { typedef struct FSArchive { union { /* 00 */ char name[4]; - /* 00 */ char *pName; + /* 00 */ char* pName; }; - /* 04 */ struct FSArchive *next; - /* 08 */ struct FSFile *currentFile; + /* 04 */ struct FSArchive* next; + /* 08 */ struct FSFile* currentFile; /* 0c */ OSThreadQueue unk_0c; /* 10 */ vu32 flags; /* 18 */ u32 unk_18; /* 1c */ u32 unk_1c; - /* 20 */ FS_UnkStruct7 *unk_20; - /* 24 */ const struct FsArchiveFns *fns; + /* 20 */ FS_UnkStruct7* unk_20; + /* 24 */ const struct FsArchiveFns* fns; /* 28 */ FS_UnkStruct7 unk_28; /* 5c */ } FSArchive; -void FS_InitArchive(FSArchive *archive); -s32 FS_RegisterArchiveName(FSArchive *archive, const char *name, u32 length); -FSArchive *FS_FindArchive(const char *name, u32 length); -FSArchive *FS_func_0046(const char *path, u32 *arg1, char (*arg2)[FS_MAX_PATH]); -s32 FS_func_0052(char *path, s32 start); -char *FSi_GetPackedName(FSArchive *archive); -BOOL FS_func_0049(FSArchive *archive, FS_UnkStruct7 *arg1, const FSArchiveFns *fns); -void FS_NotifyArchiveAsyncEnd(FSArchive *archive, FSResult result); -BOOL FS_func_0044(char *arg0); -void FS_SetArchiveProc(FSArchive *archive, FSResult (*proc)(struct FSFile *file, FSFileProc index), u32 overrideMask); -void FS_LoadArchive(FSArchive *archive, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, - FSResult (*read)(FSArchive *, void *, void *, s32), FSResult (*write)(FSArchive *, void *, void *, s32)); +void FS_InitArchive(FSArchive* archive); +s32 FS_RegisterArchiveName(FSArchive* archive, const char* name, u32 length); +FSArchive* FS_FindArchive(const char* name, u32 length); +FSArchive* FS_func_0046(const char* path, u32* arg1, char (*arg2)[FS_MAX_PATH]); +s32 FS_func_0052(char* path, s32 start); +char* FSi_GetPackedName(FSArchive* archive); +BOOL FS_func_0049(FSArchive* archive, FS_UnkStruct7* arg1, const FSArchiveFns* fns); +void FS_NotifyArchiveAsyncEnd(FSArchive* archive, FSResult result); +BOOL FS_func_0044(char* arg0); +void FS_SetArchiveProc(FSArchive* archive, FSResult (*proc)(struct FSFile* file, FSFileProc index), u32 overrideMask); +void FS_LoadArchive(FSArchive* archive, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, + FSResult (*read)(FSArchive*, void*, void*, s32), FSResult (*write)(FSArchive*, void*, void*, s32)); extern FSArchive FS_romArchive; diff --git a/libs/nitro/include/nitro/fs/fs_command.h b/libs/nitro/include/nitro/fs/fs_command.h index 0904b4c8d..5335aab57 100644 --- a/libs/nitro/include/nitro/fs/fs_command.h +++ b/libs/nitro/include/nitro/fs/fs_command.h @@ -49,7 +49,7 @@ extern "C" { typedef u8 FSCmd; typedef struct FSiCmdReadFile { - /* 00 */ void *buf; + /* 00 */ void* buf; /* 04 */ u32 size; /* 08 */ } FSiCmdReadFile; @@ -67,13 +67,13 @@ typedef struct FSiCmd2 { } FSiCmd2; typedef struct FSiCmd3 { - /* 00 */ FS_UnkStruct13 *unk_00; + /* 00 */ FS_UnkStruct13* unk_00; /* 04 */ } FSiCmd3; typedef struct FSiCmd4 { /* 00 */ u32 unk_00; - /* 04 */ char *path; + /* 04 */ char* path; /* 08 */ u32 unk_08; /* 0c */ u32 unk_0c; /* 10 */ @@ -102,7 +102,7 @@ typedef struct FSiCmd7 { typedef struct FSiCmdOpenFile { /* 00 */ u32 unk_00; - /* 04 */ char *path; + /* 04 */ char* path; /* 08 */ u32 flags; /* 0c */ } FSiCmdOpenFile; @@ -151,8 +151,8 @@ typedef struct FSiCmd22 { typedef struct FSiCmd23 { /* 00 */ u32 unk_00; - /* 04 */ char *path; - /* 08 */ FS_UnkStruct15 *unk_08; + /* 04 */ char* path; + /* 08 */ FS_UnkStruct15* unk_08; /* 0c */ } FSiCmd23; @@ -185,7 +185,7 @@ typedef struct FSiCmd27 { } FSiCmd27; typedef struct FSiCmd28 { - /* 00 */ FS_UnkStruct16 *unk_00; + /* 00 */ FS_UnkStruct16* unk_00; /* 04 */ } FSiCmd28; @@ -196,7 +196,7 @@ typedef struct FSiCmd31 { typedef struct FSiCmd32 { /* 00 */ u32 unk_00; - /* 04 */ char *path; + /* 04 */ char* path; /* 08 */ u32 unk_08; /* 0c */ } FSiCmd32; @@ -210,11 +210,11 @@ typedef struct FSiCmd34 { struct FSFile; struct FSArchive; -BOOL FSi_SendCommand(struct FSFile *file, s32 cmdType, BOOL sync); -FSResult FSi_TranslateCommand(struct FSFile *file, u8 cmdType); -void FSi_ReleaseCommand(struct FSFile *file, FSResult result); -struct FSFile *FSi_NextCommand(struct FSArchive *archive, BOOL arg1); -void FSi_ExecuteAsyncCommand(struct FSFile *file); +BOOL FSi_SendCommand(struct FSFile* file, s32 cmdType, BOOL sync); +FSResult FSi_TranslateCommand(struct FSFile* file, u8 cmdType); +void FSi_ReleaseCommand(struct FSFile* file, FSResult result); +struct FSFile* FSi_NextCommand(struct FSArchive* archive, BOOL arg1); +void FSi_ExecuteAsyncCommand(struct FSFile* file); #ifdef __cplusplus } // extern "C" diff --git a/libs/nitro/include/nitro/fs/fs_dir.h b/libs/nitro/include/nitro/fs/fs_dir.h index df536a643..3eeddd502 100644 --- a/libs/nitro/include/nitro/fs/fs_dir.h +++ b/libs/nitro/include/nitro/fs/fs_dir.h @@ -15,7 +15,7 @@ typedef struct FSFntDirectory { } FSFntDirectory; typedef struct FSDirEntry { - /* 00 */ FSArchive *archive; + /* 00 */ FSArchive* archive; /* 04 */ union { u32 unk_04u; struct { @@ -30,9 +30,9 @@ typedef struct FSDirEntry { /* 94 */ } FSDirEntry; -FSResult FS_FindDir(FSFile *file, const char *path); -FSResult FS_ReadDir(FSFile *file, FSDirEntry *dir); -FSResult FS_CloseDirectory(FSFile *file); +FSResult FS_FindDir(FSFile* file, const char* path); +FSResult FS_ReadDir(FSFile* file, FSDirEntry* dir); +FSResult FS_CloseDirectory(FSFile* file); #ifdef __cplusplus } // extern "C" diff --git a/libs/nitro/include/nitro/fs/fs_file.h b/libs/nitro/include/nitro/fs/fs_file.h index 021ad8940..08245a8b6 100644 --- a/libs/nitro/include/nitro/fs/fs_file.h +++ b/libs/nitro/include/nitro/fs/fs_file.h @@ -45,11 +45,11 @@ extern "C" { typedef struct FS_UnkStruct8 { /* 00 */ union { - void *unk_00p; + void* unk_00p; u32 unk_00u; }; /* 04 */ union { - void *unk_04p; + void* unk_04p; u32 unk_04u; struct { u16 unk_04s; @@ -57,7 +57,7 @@ typedef struct FS_UnkStruct8 { }; }; /* 08 */ union { - void *unk_08p; + void* unk_08p; u32 unk_08u; struct { u16 unk_08s; @@ -68,84 +68,84 @@ typedef struct FS_UnkStruct8 { } FS_UnkStruct8; typedef struct FS_UnkStruct11 { - /* 00 */ FSArchive *archive; - /* 04 */ void *src; + /* 00 */ FSArchive* archive; + /* 04 */ void* src; /* 08 */ } FS_UnkStruct11; typedef struct FSFile { - /* 00 */ struct FSFile *next; - /* 04 */ void *cursor; - /* 08 */ FSArchive *archive; + /* 00 */ struct FSFile* next; + /* 04 */ void* cursor; + /* 08 */ FSArchive* archive; /* 0c */ vu32 flags; /* 10 */ union { - FSiCmdReadFile *readFile; - FSiCmd1 *cmd1; - FSiCmd2 *cmd2; - FSiCmd3 *cmd3; - FSiCmd4 *cmd4; - FSiCmd5 *cmd5; - FSiCmd6 *cmd6; - FSiCmd7 *cmd7; - FSiCmdSeekFile *seekFile; - FSiCmdOpenFile *openFile; - FSiCmdGetLength *getLength; - FSiCmdGetPosition *getPosition; - FSiCmd19 *cmd19; - FSiCmd20 *cmd20; - FSiCmd21 *cmd21; - FSiCmd22 *cmd22; - FSiCmd23 *cmd23; - FSiCmd24 *cmd24; - FSiCmd25 *cmd25; - FSiCmd26 *cmd26; - FSiCmd27 *cmd27; - FSiCmd28 *cmd28; - FSiCmd31 *cmd31; - FSiCmd32 *cmd32; - FSiCmd34 *cmd34; - void *ptr; + FSiCmdReadFile* readFile; + FSiCmd1* cmd1; + FSiCmd2* cmd2; + FSiCmd3* cmd3; + FSiCmd4* cmd4; + FSiCmd5* cmd5; + FSiCmd6* cmd6; + FSiCmd7* cmd7; + FSiCmdSeekFile* seekFile; + FSiCmdOpenFile* openFile; + FSiCmdGetLength* getLength; + FSiCmdGetPosition* getPosition; + FSiCmd19* cmd19; + FSiCmd20* cmd20; + FSiCmd21* cmd21; + FSiCmd22* cmd22; + FSiCmd23* cmd23; + FSiCmd24* cmd24; + FSiCmd25* cmd25; + FSiCmd26* cmd26; + FSiCmd27* cmd27; + FSiCmd28* cmd28; + FSiCmd31* cmd31; + FSiCmd32* cmd32; + FSiCmd34* cmd34; + void* ptr; } cmd; /* 14 */ u32 unk_14; /* 18 */ OSThreadQueue unk_18; /* 20 */ FS_UnkStruct8 unk_20; /* 2c */ union { - void *unk_2cp; + void* unk_2cp; u32 unk_2cu; u16 unk_2cs; }; /* 30 */ FS_UnkStruct8 unk_30; - /* 3c */ char *unk_3c; // path? + /* 3c */ char* unk_3c; // path? /* 40 */ u32 unk_40; - /* 40 */ FS_UnkStruct8 *unk_44; + /* 40 */ FS_UnkStruct8* unk_44; /* 48 */ } FSFile; -typedef FSResult (*const FSFileProcs[FS_FILE_PROC_COUNT])(struct FSFile *file); +typedef FSResult (*const FSFileProcs[FS_FILE_PROC_COUNT])(struct FSFile* file); typedef struct FS_UnkStruct21 { - /* 00 */ FSArchive *archive; + /* 00 */ FSArchive* archive; /* 04 */ u32 fileId; /* 08 */ } FS_UnkStruct21; void FS_Init(u32 dmaCount); -void FS_InitFile(FSFile *file); -BOOL FS_OpenFile(FSFile *file, const char *path); -BOOL FS_OpenFileFast(FSFile *file, FS_UnkStruct21 arg1); -BOOL FS_OpenFileDirect(FSFile *file, FSArchive *archive, u32 start, u32 end, u32); -BOOL FS_OpenFileEx(FSFile *file, const char *path, u32 flags); -BOOL FS_SeekFile(FSFile *file, s32 pos, u32 mode); -u32 FS_GetLength(FSFile *file); -u32 FS_ReadFile(FSFile *file, void *buf, u32 size); -BOOL FS_CloseFile(FSFile *file); -s32 FSi_ReadTable(FS_UnkStruct11 *arg0, void *dst, s32 size); +void FS_InitFile(FSFile* file); +BOOL FS_OpenFile(FSFile* file, const char* path); +BOOL FS_OpenFileFast(FSFile* file, FS_UnkStruct21 arg1); +BOOL FS_OpenFileDirect(FSFile* file, FSArchive* archive, u32 start, u32 end, u32); +BOOL FS_OpenFileEx(FSFile* file, const char* path, u32 flags); +BOOL FS_SeekFile(FSFile* file, s32 pos, u32 mode); +u32 FS_GetLength(FSFile* file); +u32 FS_ReadFile(FSFile* file, void* buf, u32 size); +BOOL FS_CloseFile(FSFile* file); +s32 FSi_ReadTable(FS_UnkStruct11* arg0, void* dst, s32 size); void FS_func_0060(void); -void FS_func_0055(FSFile *file, FSArchive *archive, s32 arg2, s32 arg3, s32 arg4); -u32 FS_GetPosition(FSFile *file); -s32 FSi_GetPosition(FSFile *file); -s32 FS_func_0094(FSFile *file); -inline BOOL FS_IsFile(FSFile *file) { +void FS_func_0055(FSFile* file, FSArchive* archive, s32 arg2, s32 arg3, s32 arg4); +u32 FS_GetPosition(FSFile* file); +s32 FSi_GetPosition(FSFile* file); +s32 FS_func_0094(FSFile* file); +inline BOOL FS_IsFile(FSFile* file) { return !!(file->flags & FS_FILE_FLAG_FILE); } diff --git a/libs/nitro/include/nitro/fs/fs_overlay.h b/libs/nitro/include/nitro/fs/fs_overlay.h index c5d9a776e..8d1033814 100644 --- a/libs/nitro/include/nitro/fs/fs_overlay.h +++ b/libs/nitro/include/nitro/fs/fs_overlay.h @@ -19,11 +19,11 @@ typedef void (*FSStaticInit)(void); typedef struct FSOverlay { /* 00 */ u32 id; - /* 04 */ void *addr; + /* 04 */ void* addr; /* 08 */ u32 textSize; /* 0C */ s32 bssSize; - /* 10 */ FSStaticInit *ctorStart; - /* 14 */ FSStaticInit *ctorEnd; + /* 10 */ FSStaticInit* ctorStart; + /* 14 */ FSStaticInit* ctorEnd; /* 18 */ s32 fileId; /* 1C */ u32 fileSize; /* 20 */ @@ -39,7 +39,7 @@ typedef struct FSOverlayInfo { BOOL FS_LoadOverlay(u32 arg0, u32 id); BOOL FS_UnloadOverlay(u32 arg0, u32 id); -BOOL FS_LoadOverlayInfo(FSOverlayInfo *arg0, u32 arg1, u32 id); +BOOL FS_LoadOverlayInfo(FSOverlayInfo* arg0, u32 arg1, u32 id); #ifdef __cplusplus } // extern "C" diff --git a/libs/nitro/include/nitro/fx.h b/libs/nitro/include/nitro/fx.h index 5f30a1394..4c9a01826 100644 --- a/libs/nitro/include/nitro/fx.h +++ b/libs/nitro/include/nitro/fx.h @@ -130,15 +130,15 @@ s16 FX_Atan2(fx32 y, fx32 x); u16 FX_AtanIdx(s32 tan); u16 FX_Atan2Idx(fx32 y, fx32 x); -void MTX_Transpose33_(const MtxFx33 *src, MtxFx33 *dst); -void MTX_RotX33_(MtxFx33 *mtx, fx32 sin, fx32 cos); -void MTX_RotZ33_(MtxFx33 *mtx, fx32 sin, fx32 cos); -void MTX_Concat33(const MtxFx33 *a, const MtxFx33 *b, MtxFx33 *dst); -void MTX_Identity43_(MtxFx43 *mtx); -void MTX_PerspectiveW(fx32 arg0, fx32 arg1, fx32 arg2, fx32 arg3, fx32 arg4, fx32 arg5, MtxFx44 *mtx); -void MTX_OrthoW(fx32 top, fx32 bottom, fx32 left, fx32 right, fx32 near, fx32 far, fx32 arg6, MtxFx44 *mtx); - -fx32 VEC_DotProduct(const VecFx32 *a, const VecFx32 *b); +void MTX_Transpose33_(const MtxFx33* src, MtxFx33* dst); +void MTX_RotX33_(MtxFx33* mtx, fx32 sin, fx32 cos); +void MTX_RotZ33_(MtxFx33* mtx, fx32 sin, fx32 cos); +void MTX_Concat33(const MtxFx33* a, const MtxFx33* b, MtxFx33* dst); +void MTX_Identity43_(MtxFx43* mtx); +void MTX_PerspectiveW(fx32 arg0, fx32 arg1, fx32 arg2, fx32 arg3, fx32 arg4, fx32 arg5, MtxFx44* mtx); +void MTX_OrthoW(fx32 top, fx32 bottom, fx32 left, fx32 right, fx32 near, fx32 far, fx32 arg6, MtxFx44* mtx); + +fx32 VEC_DotProduct(const VecFx32* a, const VecFx32* b); inline fx32 FX_MulInline(fx32 v1, fx32 v2) { return (fx32) ((((fx64) v1 * (fx64) v2) + FX32_HALF) >> FX32_SHIFT); diff --git a/libs/nitro/include/nitro/g2.h b/libs/nitro/include/nitro/g2.h index 52497b1a7..6c1ef2ec8 100644 --- a/libs/nitro/include/nitro/g2.h +++ b/libs/nitro/include/nitro/g2.h @@ -10,13 +10,13 @@ extern "C" { #include "nitro/reg.h" #include "nitro/types.h" -void G2x_SetBGyAffine_(u32 *addr, MtxFx22 *mtx, fx32 centerX, fx32 centerY, fx32 x1, fx32 y1); +void G2x_SetBGyAffine_(u32* addr, MtxFx22* mtx, fx32 centerX, fx32 centerY, fx32 x1, fx32 y1); -void _G2_SetBlend(u32 *reg, u32 srcPlane, u32 dstPlane, u32 srcAlpha, u32 dstAlpha); +void _G2_SetBlend(u32* reg, u32 srcPlane, u32 dstPlane, u32 srcAlpha, u32 dstAlpha); -void *G2_GetBG2ScrPtr(void); -void *G2_GetBG3ScrPtr(void); -void *G2S_GetBG0ScrPtr(); +void* G2_GetBG2ScrPtr(void); +void* G2_GetBG3ScrPtr(void); +void* G2S_GetBG0ScrPtr(); inline void G2_SetBG0Priority(u32 value) { REG_BG0CNT = (REG_BG0CNT & ~REG_G2_BG0CNT_PRIORITY_MASK) | (value); @@ -210,20 +210,20 @@ inline void G2S_SetBG3ControlText(GXBGScrSizeText scrSize, GXBGColorMode colMode G2S_SetBG3Control(scrSize, colMode, scrBase, charBase, GX_BG_AREAOVER_XLU); } -inline void G2_SetBG2Affine(MtxFx22 *mtx, s32 x0, s32 y0, s32 x1, s32 y1) { - G2x_SetBGyAffine_((u32 *) ®_BG2PA, mtx, x0, y0, x1, y1); +inline void G2_SetBG2Affine(MtxFx22* mtx, s32 x0, s32 y0, s32 x1, s32 y1) { + G2x_SetBGyAffine_((u32*) ®_BG2PA, mtx, x0, y0, x1, y1); } -inline void G2_SetBG3Affine(MtxFx22 *mtx, s32 x0, s32 y0, s32 x1, s32 y1) { - G2x_SetBGyAffine_((u32 *) ®_BG3PA, mtx, x0, y0, x1, y1); +inline void G2_SetBG3Affine(MtxFx22* mtx, s32 x0, s32 y0, s32 x1, s32 y1) { + G2x_SetBGyAffine_((u32*) ®_BG3PA, mtx, x0, y0, x1, y1); } -inline void G2S_SetBG2Affine(MtxFx22 *mtx, s32 x0, s32 y0, s32 x1, s32 y1) { - G2x_SetBGyAffine_((u32 *) ®_BG2PA_SUB, mtx, x0, y0, x1, y1); +inline void G2S_SetBG2Affine(MtxFx22* mtx, s32 x0, s32 y0, s32 x1, s32 y1) { + G2x_SetBGyAffine_((u32*) ®_BG2PA_SUB, mtx, x0, y0, x1, y1); } -inline void G2S_SetBG3Affine(MtxFx22 *mtx, s32 x0, s32 y0, s32 x1, s32 y1) { - G2x_SetBGyAffine_((u32 *) ®_BG3PA_SUB, mtx, x0, y0, x1, y1); +inline void G2S_SetBG3Affine(MtxFx22* mtx, s32 x0, s32 y0, s32 x1, s32 y1) { + G2x_SetBGyAffine_((u32*) ®_BG3PA_SUB, mtx, x0, y0, x1, y1); } inline void G2_ChangeBlendAlpha(u32 eva, u32 evb) { @@ -323,19 +323,19 @@ inline void G2S_BlendNone() { } inline void G2_SetBlendAlpha(u32 srcPlane, u32 dstPlane, u32 srcAlpha, u32 dstAlpha) { - _G2_SetBlend((u32 *) ®_BLDCNT, srcPlane, dstPlane, srcAlpha, dstAlpha); + _G2_SetBlend((u32*) ®_BLDCNT, srcPlane, dstPlane, srcAlpha, dstAlpha); } inline void G2S_SetBlendAlpha(u32 srcPlane, u32 dstPlane, u32 srcAlpha, u32 dstAlpha) { - _G2_SetBlend((u32 *) ®_BLDCNT_SUB, srcPlane, dstPlane, srcAlpha, dstAlpha); + _G2_SetBlend((u32*) ®_BLDCNT_SUB, srcPlane, dstPlane, srcAlpha, dstAlpha); } -inline void G2_GetOBJPosition(const GXOamAttr *oam, u32 *x, u32 *y) { +inline void G2_GetOBJPosition(const GXOamAttr* oam, u32* x, u32* y) { *x = (oam->attr01 & GX_OAM_ATTR01_X_MASK) >> GX_OAM_ATTR01_X_SHIFT; *y = oam->attr01 & GX_OAM_ATTR01_Y_MASK; } -inline void G2_SetOBJPosition(GXOamAttr *oam, s32 x, s32 y) { +inline void G2_SetOBJPosition(GXOamAttr* oam, s32 x, s32 y) { oam->attr01 = (oam->attr01 & (GX_OAM_ATTR01_RSENABLE_MASK | GX_OAM_ATTR01_MODE_MASK | GX_OAM_ATTR01_MOSAIC_MASK | GX_OAM_ATTR01_CM_MASK | GX_OAM_ATTR01_SHAPE_MASK | GX_OAM_ATTR01_RS_MASK | GX_OAM_ATTR01_FLIP_MASK | @@ -343,38 +343,38 @@ inline void G2_SetOBJPosition(GXOamAttr *oam, s32 x, s32 y) { (y & GX_OAM_ATTR01_Y_MASK) | ((x & (GX_OAM_ATTR01_X_MASK >> GX_OAM_ATTR01_X_SHIFT)) << GX_OAM_ATTR01_X_SHIFT); } -inline s32 G2_GetOBJCharName(const GXOamAttr *oam) { +inline s32 G2_GetOBJCharName(const GXOamAttr* oam) { return oam->attr2 & GX_OAM_ATTR2_NAME_MASK; } -inline void G2_SetOBJCharName(volatile GXOamAttr *oam, s32 name) { +inline void G2_SetOBJCharName(volatile GXOamAttr* oam, s32 name) { oam->attr2 = (oam->attr2 & ~GX_OAM_ATTR2_NAME_MASK) | (name); } -inline s32 G2_GetOBJColorParam(const GXOamAttr *oam) { +inline s32 G2_GetOBJColorParam(const GXOamAttr* oam) { return (oam->attr2 & GX_OAM_ATTR2_CPARAM_MASK) >> GX_OAM_ATTR2_CPARAM_SHIFT; } -inline GXOamMode G2_GetOBJMode(const GXOamAttr *oam) { +inline GXOamMode G2_GetOBJMode(const GXOamAttr* oam) { return (GXOamMode) ((oam->attr01 & GX_OAM_ATTR01_MODE_MASK) >> GX_OAM_ATTR01_MODE_SHIFT); } -inline void G2_SetOBJMode(GXOamAttr *oam, GXOamMode mode, u32 cParam) { +inline void G2_SetOBJMode(GXOamAttr* oam, GXOamMode mode, u32 cParam) { oam->attr01 = (oam->attr01 & ~GX_OAM_ATTR01_MODE_MASK) | (mode << GX_OAM_ATTR01_MODE_SHIFT); oam->attr2 = (oam->attr2 & ~GX_OAM_ATTR2_CPARAM_MASK) | (cParam << GX_OAM_ATTR2_CPARAM_SHIFT); } -inline void G2_SetOBJPriority(GXOamAttr *oam, s32 priority) { +inline void G2_SetOBJPriority(GXOamAttr* oam, s32 priority) { //! TODO: implementation guessed based on the other ones oam->attr2 = (oam->attr2 & ~GX_OAM_ATTR2_PRIORITY_MASK) | (priority << GX_OAM_ATTR2_PRIORITY_SHIFT); } -inline s32 G2_GetOBJPriority(const GXOamAttr *oam) { +inline s32 G2_GetOBJPriority(const GXOamAttr* oam) { //! TODO: implementation guessed based on the other ones return (oam->attr2 & GX_OAM_ATTR2_PRIORITY_MASK) >> GX_OAM_ATTR2_PRIORITY_SHIFT; } -inline void G2_SetOBJAttr(GXOamAttr *oam, fx32 x, fx32 y, s32 priority, GXOamMode mode, BOOL mosaic, GXOamEffect effect, +inline void G2_SetOBJAttr(GXOamAttr* oam, fx32 x, fx32 y, s32 priority, GXOamMode mode, BOOL mosaic, GXOamEffect effect, GXOamShape shape, GXOamColorMode color, s32 charName, s32 cParam, s32 rsParam) { //! TODO: figure out where `effect` is oam->attr01 = @@ -384,7 +384,7 @@ inline void G2_SetOBJAttr(GXOamAttr *oam, fx32 x, fx32 y, s32 priority, GXOamMod oam->attr2 = charName | (priority << GX_OAM_ATTR2_PRIORITY_SHIFT) | (cParam << GX_OAM_ATTR2_CPARAM_SHIFT); } -inline void G2_GetOBJAffine(const GXOamAffine *oam, MtxFx22 *mtx) { +inline void G2_GetOBJAffine(const GXOamAffine* oam, MtxFx22* mtx) { mtx->_00 = oam->PA << 4; mtx->_01 = oam->PB << 4; mtx->_10 = oam->PC << 4; @@ -418,14 +418,14 @@ inline void G2S_SetWndOutsidePlane(s32 param1, s32 param2) { } //! TODO: figure out -void G2_SetOBJEffect(GXOamAttr *oam, GXOamEffect effect, s32 rsParam); -GXOamEffect G2_GetOBJEffect(const GXOamAttr *oam); -void G2_SetOBJShape(GXOamAttr *oam, GXOamShape shape); -GXOamShape G2_GetOBJShape(const GXOamAttr *oam); -void G2_SetOBJColorMode(GXOamAttr *oam, GXOamColorMode color); -GXOamColorMode G2_GetOBJColorMode(const GXOamAttr *oam); -void G2_OBJMosaic(GXOamAttr *oam, BOOL enable); -void G2_SetOBJAffine(GXOamAffine *oam, MtxFx22 *mtx); +void G2_SetOBJEffect(GXOamAttr* oam, GXOamEffect effect, s32 rsParam); +GXOamEffect G2_GetOBJEffect(const GXOamAttr* oam); +void G2_SetOBJShape(GXOamAttr* oam, GXOamShape shape); +GXOamShape G2_GetOBJShape(const GXOamAttr* oam); +void G2_SetOBJColorMode(GXOamAttr* oam, GXOamColorMode color); +GXOamColorMode G2_GetOBJColorMode(const GXOamAttr* oam); +void G2_OBJMosaic(GXOamAttr* oam, BOOL enable); +void G2_SetOBJAffine(GXOamAffine* oam, MtxFx22* mtx); void G2_SetWnd0Position(s32 param1, s32 param2, s32 param3, s32 param4); void G2_SetWnd1Position(s32 param1, s32 param2, s32 param3, s32 param4); diff --git a/libs/nitro/include/nitro/g3.h b/libs/nitro/include/nitro/g3.h index 3ce741a6a..4b35dc965 100644 --- a/libs/nitro/include/nitro/g3.h +++ b/libs/nitro/include/nitro/g3.h @@ -17,8 +17,8 @@ void G3X_InitMtxStack(void); void G3X_Reset(void); void G3X_SetClearColor(u32 rgb, u32 a, u32 param3, u32 param4, BOOL param5); void G3_RotY(fx16 sin, fx16 cos); -void G3_MultMtx33(MtxFx33 *param1); -void G3X_SetToonTable(u16 *param1); +void G3_MultMtx33(MtxFx33* param1); +void G3X_SetToonTable(u16* param1); inline void G3_TexImageParam(GXTexFmt texFmt, GXTexGen texGen, GXTexSizeS texSizeS, GXTexSizeT texSizeT, GXTexRepeat texRepeatST, GXTexFlip texFlip, GXTexPlttColor0 color0, u32 textureAddress) { @@ -31,11 +31,11 @@ inline void G3_TexImageParam(GXTexFmt texFmt, GXTexGen texGen, GXTexSizeS texSiz // A: textureAddress // R: texRepeatST (& 1 -> S direction, & 2 -> T direction) // f: texFlip (& 1 -> S direction, & 2 -> T direction) - REG_GFX_FIFO_TEXTURE_PARAM = - (texFmt << REG_G3_TEXIMAGE_PARAM_TEXFMT_SHIFT) | textureAddress | (texGen << REG_G3_TEXIMAGE_PARAM_TGEN_SHIFT) | - (texSizeS << REG_G3_TEXIMAGE_PARAM_V_SIZE_SHIFT) | (texSizeT << REG_G3_TEXIMAGE_PARAM_T_SIZE_SHIFT) | - (color0 << REG_G3_TEXIMAGE_PARAM_TR_SHIFT) | (texFlip << REG_G3_TEXIMAGE_PARAM_FS_SHIFT) | - (texRepeatST << REG_G3_TEXIMAGE_PARAM_RS_SHIFT); + REG_GFX_FIFO_TEXTURE_PARAM = (texFmt << REG_G3_TEXIMAGE_PARAM_TEXFMT_SHIFT) | textureAddress | + (texGen << REG_G3_TEXIMAGE_PARAM_TGEN_SHIFT) | + (texSizeS << REG_G3_TEXIMAGE_PARAM_V_SIZE_SHIFT) | + (texSizeT << REG_G3_TEXIMAGE_PARAM_T_SIZE_SHIFT) | (color0 << REG_G3_TEXIMAGE_PARAM_TR_SHIFT) | + (texFlip << REG_G3_TEXIMAGE_PARAM_FS_SHIFT) | (texRepeatST << REG_G3_TEXIMAGE_PARAM_RS_SHIFT); } #define G3_TEXPLTTBASE_ADDR(addr) ((u32) (addr << 0x10) >> 0x0D) //! TODO: figure out the shifts @@ -83,15 +83,15 @@ inline void G3_ViewPort(u32 left, u32 top, u32 right, u32 bottom) { (bottom << REG_G3_VIEWPORT_INTEGER_Y2_SHIFT); } -void _G3_Ortho(fx32 top, fx32 bottom, fx32 left, fx32 right, fx32 near, fx32 far, fx32 param7, BOOL param8, void *param9); -inline void G3_Ortho(fx32 top, fx32 bottom, fx32 left, fx32 right, fx32 near, fx32 far, void *param7) { +void _G3_Ortho(fx32 top, fx32 bottom, fx32 left, fx32 right, fx32 near, fx32 far, fx32 param7, BOOL param8, void* param9); +inline void G3_Ortho(fx32 top, fx32 bottom, fx32 left, fx32 right, fx32 near, fx32 far, void* param7) { _G3_Ortho(top, bottom, left, right, near, far, FX32_ONE, TRUE, param7); } inline void G3_StoreMtx(u32 param1) { REG_GFX_FIFO_MATRIX_STORE = param1; } -void _G3_LookAt(VecFx32 *camera, VecFx32 *up, VecFx32 *lookAt, BOOL param4, void *param5); -inline void G3_LookAt(VecFx32 *camera, VecFx32 *up, VecFx32 *lookAt, void *param4) { +void _G3_LookAt(VecFx32* camera, VecFx32* up, VecFx32* lookAt, BOOL param4, void* param5); +inline void G3_LookAt(VecFx32* camera, VecFx32* up, VecFx32* lookAt, void* param4) { _G3_LookAt(camera, up, lookAt, true, param4); } inline void G3_MtxMode(GXMtxMode mode) { @@ -188,9 +188,9 @@ inline void G3_LightColor(s32 param1, s32 param2) { //! TODO: figure out void G3_TexCoord(s32 u, s32 v); -void G3_MultMtx33(MtxFx33 *pMtx); -void G3_LoadMtx43(MtxFx43 *pMtx); -void G3_MultMtx43(MtxFx43 *pMtx); +void G3_MultMtx33(MtxFx33* pMtx); +void G3_LoadMtx43(MtxFx43* pMtx); +void G3_MultMtx43(MtxFx43* pMtx); void G3_EffectIndex(u16 effectIndex); void G3_StartDraw(); void G3_TargetMask(); diff --git a/libs/nitro/include/nitro/gx.h b/libs/nitro/include/nitro/gx.h index 721219cf7..e4c295048 100644 --- a/libs/nitro/include/nitro/gx.h +++ b/libs/nitro/include/nitro/gx.h @@ -131,38 +131,38 @@ void GX_SetBankForTexPltt(u32); void GX_SetGraphicsMode(u32, u32, u32); void GXS_SetGraphicsMode(u32); -void GX_LoadOAM(GXOamAttr *oam, u32 offset, u32 size); -void GXS_LoadOAM(GXOamAttr *oam, u32 offset, u32 size); - -void GX_LoadBG0Char(void *ptr, u32 offset, u32 size); -void GX_LoadBG0Scr(void *ptr, u32 offset, u32 size); -void GX_LoadBG1Char(void *ptr, u32 offset, u32 size); -void GX_LoadBG1Scr(void *ptr, u32 offset, u32 size); -void GX_LoadBG2Bmp(void *ptr, u32 offset, u32 size); -void GX_LoadBG2Char(void *ptr, u32 offset, u32 size); -void GX_LoadBG2Scr(void *ptr, u32 offset, u32 size); -void GX_LoadBG3Bmp(void *ptr, u32 offset, u32 size); -void GX_LoadBG3Char(void *ptr, u32 offset, u32 size); -void GX_LoadBG3Scr(void *ptr, u32 offset, u32 size); - -void GXS_LoadBG0Char(void *ptr, u32 offset, u32 size); -void GXS_LoadBG0Scr(void *ptr, u32 offset, u32 size); -void GXS_LoadBG1Char(void *ptr, u32 offset, u32 size); -void GXS_LoadBG1Scr(void *ptr, u32 offset, u32 size); -void GXS_LoadBG2Bmp(void *ptr, u32 offset, u32 size); -void GXS_LoadBG2Char(void *ptr, u32 offset, u32 size); -void GXS_LoadBG2Scr(void *ptr, u32 offset, u32 size); -void GXS_LoadBG3Bmp(void *ptr, u32 offset, u32 size); -void GXS_LoadBG3Char(void *ptr, u32 offset, u32 size); -void GXS_LoadBG3Scr(void *ptr, u32 offset, u32 size); - -void GX_LoadBGPltt(void *ptr, u32 offset, u32 size); -void GX_LoadOBJPltt(void *ptr, u32 offset, u32 size); -void GXS_LoadBGPltt(void *ptr, u32 offset, u32 size); -void GXS_LoadOBJPltt(void *ptr, u32 offset, u32 size); - -void GX_LoadOBJ(void *ptr, u32 offset, u32 size); -void GXS_LoadOBJ(void *ptr, u32 offset, u32 size); +void GX_LoadOAM(GXOamAttr* oam, u32 offset, u32 size); +void GXS_LoadOAM(GXOamAttr* oam, u32 offset, u32 size); + +void GX_LoadBG0Char(void* ptr, u32 offset, u32 size); +void GX_LoadBG0Scr(void* ptr, u32 offset, u32 size); +void GX_LoadBG1Char(void* ptr, u32 offset, u32 size); +void GX_LoadBG1Scr(void* ptr, u32 offset, u32 size); +void GX_LoadBG2Bmp(void* ptr, u32 offset, u32 size); +void GX_LoadBG2Char(void* ptr, u32 offset, u32 size); +void GX_LoadBG2Scr(void* ptr, u32 offset, u32 size); +void GX_LoadBG3Bmp(void* ptr, u32 offset, u32 size); +void GX_LoadBG3Char(void* ptr, u32 offset, u32 size); +void GX_LoadBG3Scr(void* ptr, u32 offset, u32 size); + +void GXS_LoadBG0Char(void* ptr, u32 offset, u32 size); +void GXS_LoadBG0Scr(void* ptr, u32 offset, u32 size); +void GXS_LoadBG1Char(void* ptr, u32 offset, u32 size); +void GXS_LoadBG1Scr(void* ptr, u32 offset, u32 size); +void GXS_LoadBG2Bmp(void* ptr, u32 offset, u32 size); +void GXS_LoadBG2Char(void* ptr, u32 offset, u32 size); +void GXS_LoadBG2Scr(void* ptr, u32 offset, u32 size); +void GXS_LoadBG3Bmp(void* ptr, u32 offset, u32 size); +void GXS_LoadBG3Char(void* ptr, u32 offset, u32 size); +void GXS_LoadBG3Scr(void* ptr, u32 offset, u32 size); + +void GX_LoadBGPltt(void* ptr, u32 offset, u32 size); +void GX_LoadOBJPltt(void* ptr, u32 offset, u32 size); +void GXS_LoadBGPltt(void* ptr, u32 offset, u32 size); +void GXS_LoadOBJPltt(void* ptr, u32 offset, u32 size); + +void GX_LoadOBJ(void* ptr, u32 offset, u32 size); +void GXS_LoadOBJ(void* ptr, u32 offset, u32 size); BOOL GX_TrySetBankForBGExtPltt(s32); BOOL GX_TrySetBankForSubBGExtPltt(s32); @@ -182,30 +182,30 @@ void GX_ResetBankForClearImage(); void GX_ResetBankForARM7(); void GX_BeginLoadBGExtPltt(void); -void GX_LoadBGExtPltt(void *ptr, u32 offset, u32 size); +void GX_LoadBGExtPltt(void* ptr, u32 offset, u32 size); void GX_EndLoadBGExtPltt(void); void GXS_BeginLoadBGExtPltt(void); -void GXS_LoadBGExtPltt(void *ptr, u32 offset, u32 size); +void GXS_LoadBGExtPltt(void* ptr, u32 offset, u32 size); void GXS_EndLoadBGExtPltt(void); void GX_BeginLoadOBJExtPltt(void); -void GX_LoadOBJExtPltt(void *ptr, u32 offset, u32 size); +void GX_LoadOBJExtPltt(void* ptr, u32 offset, u32 size); void GX_EndLoadOBJExtPltt(void); void GXS_BeginLoadOBJExtPltt(void); -void GXS_LoadOBJExtPltt(void *ptr, u32 offset, u32 size); +void GXS_LoadOBJExtPltt(void* ptr, u32 offset, u32 size); void GXS_EndLoadOBJExtPltt(void); void GX_BeginLoadTexPltt(void); -void GX_LoadTexPltt(void *ptr, u32 offset, u32 size); +void GX_LoadTexPltt(void* ptr, u32 offset, u32 size); void GX_EndLoadTexPltt(void); void GX_BeginLoadTex(void); -void GX_LoadTex(void *ptr, u32 offset, u32 size); +void GX_LoadTex(void* ptr, u32 offset, u32 size); void GX_EndLoadTex(void); -void G2x_SetBlendBrightness_(u16 *reg, s32 param1, s32 param2); +void G2x_SetBlendBrightness_(u16* reg, s32 param1, s32 param2); inline void GX_SetBlendBrightness(s32 param1, s32 param2) { G2x_SetBlendBrightness_(®_BLDCNT, param1, param2); @@ -286,8 +286,8 @@ inline void GXS_SetVisibleWindows(s32 windows) { REG_DISPCNT_SUB = (REG_DISPCNT_SUB & ~0xE000) | (windows << 13); } -void GXx_SetMasterBrightness_(u16 *reg, s32 brightness); -u16 GXx_GetMasterBrightness_(u16 *reg); // name assumed based on `GXx_SetMasterBrightness_` and usage +void GXx_SetMasterBrightness_(u16* reg, s32 brightness); +u16 GXx_GetMasterBrightness_(u16* reg); // name assumed based on `GXx_SetMasterBrightness_` and usage inline void GX_SetMasterBrightness(s32 brightness) { GXx_SetMasterBrightness_(®_MASTER_BRIGHT, brightness); @@ -318,7 +318,7 @@ void GX_DisableBankForSubOBJ(); void GX_DisableBankForSubOBJExtPltt(); void GX_DisableBankForBGExtPltt(); void GX_DisableBankForOBJExtPltt(); -void GX_LoadVramCommon(void *pData, u32 addr, u32 size, u32 vram); +void GX_LoadVramCommon(void* pData, u32 addr, u32 size, u32 vram); void GX_Destory(); #ifdef __cplusplus diff --git a/libs/nitro/include/nitro/gx/macros.h b/libs/nitro/include/nitro/gx/macros.h index 4e3cbc570..ec88dc322 100644 --- a/libs/nitro/include/nitro/gx/macros.h +++ b/libs/nitro/include/nitro/gx/macros.h @@ -476,17 +476,16 @@ extern "C" { #define REG_GXS_DB_DISPCNT_EXOBJ_CH_SHIFT 0x0014 #define REG_GXS_DB_DISPCNT_EXOBJ_CH_SIZE 0x00000002 #define REG_GXS_DB_DISPCNT_EXOBJ_CH_MASK 0x00300000 -#define REG_GXS_DB_DISPCNT_FIELD(o, bg, oh, exobj, mode, ow, w1, w0, display, blank, objmap, bgmode, objmap_ch, objmap_bm, \ - exobj_ch) \ - (u32)((((u32) o) << REG_GXS_DB_DISPCNT_O_SHIFT) | (((u32) bg) << REG_GXS_DB_DISPCNT_BG_SHIFT) | \ - (((u32) oh) << REG_GXS_DB_DISPCNT_OH_SHIFT) | (((u32) exobj) << REG_GXS_DB_DISPCNT_EXOBJ_SHIFT) | \ - (((u32) mode) << REG_GXS_DB_DISPCNT_MODE_SHIFT) | (((u32) ow) << REG_GXS_DB_DISPCNT_OW_SHIFT) | \ - (((u32) w1) << REG_GXS_DB_DISPCNT_W1_SHIFT) | (((u32) w0) << REG_GXS_DB_DISPCNT_W0_SHIFT) | \ - (((u32) display) << REG_GXS_DB_DISPCNT_DISPLAY_SHIFT) | (((u32) blank) << REG_GXS_DB_DISPCNT_BLANK_SHIFT) | \ - (((u32) objmap) << REG_GXS_DB_DISPCNT_OBJMAP_SHIFT) | (((u32) bgmode) << REG_GXS_DB_DISPCNT_BGMODE_SHIFT) | \ - (((u32) objmap_ch) << REG_GXS_DB_DISPCNT_OBJMAP_CH_SHIFT) | \ - (((u32) objmap_bm) << REG_GXS_DB_DISPCNT_OBJMAP_BM_SHIFT) | \ - (((u32) exobj_ch) << REG_GXS_DB_DISPCNT_EXOBJ_CH_SHIFT)) +#define REG_GXS_DB_DISPCNT_FIELD(o, bg, oh, exobj, mode, ow, w1, w0, display, blank, objmap, bgmode, objmap_ch, objmap_bm, \ + exobj_ch) \ + (u32)((((u32) o) << REG_GXS_DB_DISPCNT_O_SHIFT) | (((u32) bg) << REG_GXS_DB_DISPCNT_BG_SHIFT) | \ + (((u32) oh) << REG_GXS_DB_DISPCNT_OH_SHIFT) | (((u32) exobj) << REG_GXS_DB_DISPCNT_EXOBJ_SHIFT) | \ + (((u32) mode) << REG_GXS_DB_DISPCNT_MODE_SHIFT) | (((u32) ow) << REG_GXS_DB_DISPCNT_OW_SHIFT) | \ + (((u32) w1) << REG_GXS_DB_DISPCNT_W1_SHIFT) | (((u32) w0) << REG_GXS_DB_DISPCNT_W0_SHIFT) | \ + (((u32) display) << REG_GXS_DB_DISPCNT_DISPLAY_SHIFT) | (((u32) blank) << REG_GXS_DB_DISPCNT_BLANK_SHIFT) | \ + (((u32) objmap) << REG_GXS_DB_DISPCNT_OBJMAP_SHIFT) | (((u32) bgmode) << REG_GXS_DB_DISPCNT_BGMODE_SHIFT) | \ + (((u32) objmap_ch) << REG_GXS_DB_DISPCNT_OBJMAP_CH_SHIFT) | \ + (((u32) objmap_bm) << REG_GXS_DB_DISPCNT_OBJMAP_BM_SHIFT) | (((u32) exobj_ch) << REG_GXS_DB_DISPCNT_EXOBJ_CH_SHIFT)) #define REG_GXS_DB_MASTER_BRIGHT_E_MOD_SHIFT 0x000E #define REG_GXS_DB_MASTER_BRIGHT_E_MOD_SIZE 0x00000002 @@ -494,9 +493,8 @@ extern "C" { #define REG_GXS_DB_MASTER_BRIGHT_E_VALUE_SHIFT 0x0000 #define REG_GXS_DB_MASTER_BRIGHT_E_VALUE_SIZE 0x00000005 #define REG_GXS_DB_MASTER_BRIGHT_E_VALUE_MASK 0x0000001F -#define REG_GXS_DB_MASTER_BRIGHT_FIELD(e_mod, e_value) \ - (u16)((((u32) e_mod) << REG_GXS_DB_MASTER_BRIGHT_E_MOD_SHIFT) | \ - (((u32) e_value) << REG_GXS_DB_MASTER_BRIGHT_E_VALUE_SHIFT)) +#define REG_GXS_DB_MASTER_BRIGHT_FIELD(e_mod, e_value) \ + (u16)((((u32) e_mod) << REG_GXS_DB_MASTER_BRIGHT_E_MOD_SHIFT) | (((u32) e_value) << REG_GXS_DB_MASTER_BRIGHT_E_VALUE_SHIFT)) //! TODO: fix global cast type #define REG_G2_BG2PA_S_SHIFT 0x000F @@ -1177,13 +1175,12 @@ extern "C" { #define REG_G3_TEXIMAGE_PARAM_TEX_ADDR_SHIFT 0x0000 #define REG_G3_TEXIMAGE_PARAM_TEX_ADDR_SIZE 0x00000010 #define REG_G3_TEXIMAGE_PARAM_TEX_ADDR_MASK 0x0000FFFF -#define REG_G3_TEXIMAGE_PARAM_FIELD(tgen, tr, texfmt, tsize, vsize, ft, fs, rt, rs, texaddr) \ - (u32)((((u16) (tgen)) << REG_G3_TEXIMAGE_PARAM_TGEN_SHIFT) | (((u16) (tr)) << REG_G3_TEXIMAGE_PARAM_TR_SHIFT) | \ - (((u16) (texfmt)) << REG_G3_TEXIMAGE_PARAM_TEXFMT_SHIFT) | \ - (((u16) (tsize)) << REG_G3_TEXIMAGE_PARAM_T_SIZE_SHIFT) | (((u16) (vsize)) << REG_G3_TEXIMAGE_PARAM_V_SIZE_SHIFT) | \ - (((u16) (ft)) << REG_G3_TEXIMAGE_PARAM_FT_SHIFT) | (((u16) (fs)) << REG_G3_TEXIMAGE_PARAM_FS_SHIFT) | \ - (((u16) (rt)) << REG_G3_TEXIMAGE_PARAM_RT_SHIFT) | (((u16) (rs)) << REG_G3_TEXIMAGE_PARAM_RS_SHIFT) | \ - (((u16) (texaddr)) << REG_G3_TEXIMAGE_PARAM_TEX_ADDR_SHIFT)) +#define REG_G3_TEXIMAGE_PARAM_FIELD(tgen, tr, texfmt, tsize, vsize, ft, fs, rt, rs, texaddr) \ + (u32)((((u16) (tgen)) << REG_G3_TEXIMAGE_PARAM_TGEN_SHIFT) | (((u16) (tr)) << REG_G3_TEXIMAGE_PARAM_TR_SHIFT) | \ + (((u16) (texfmt)) << REG_G3_TEXIMAGE_PARAM_TEXFMT_SHIFT) | (((u16) (tsize)) << REG_G3_TEXIMAGE_PARAM_T_SIZE_SHIFT) | \ + (((u16) (vsize)) << REG_G3_TEXIMAGE_PARAM_V_SIZE_SHIFT) | (((u16) (ft)) << REG_G3_TEXIMAGE_PARAM_FT_SHIFT) | \ + (((u16) (fs)) << REG_G3_TEXIMAGE_PARAM_FS_SHIFT) | (((u16) (rt)) << REG_G3_TEXIMAGE_PARAM_RT_SHIFT) | \ + (((u16) (rs)) << REG_G3_TEXIMAGE_PARAM_RS_SHIFT) | (((u16) (texaddr)) << REG_G3_TEXIMAGE_PARAM_TEX_ADDR_SHIFT)) #define REG_G3_TEXPLTT_BASE_PLTT_BASE_SHIFT 0x0000 #define REG_G3_TEXPLTT_BASE_PLTT_BASE_SIZE 0x0000000D diff --git a/libs/nitro/include/nitro/hw.h b/libs/nitro/include/nitro/hw.h index a2abb3301..d4f975439 100644 --- a/libs/nitro/include/nitro/hw.h +++ b/libs/nitro/include/nitro/hw.h @@ -6,43 +6,43 @@ extern "C" { #endif #define HW_PLTT_ADDR 0x05000000 -#define HW_PLTT ((void *) HW_PLTT_ADDR) +#define HW_PLTT ((void*) HW_PLTT_ADDR) #define HW_PLTT_SIZE 0x400 #define HW_DB_PLTT_ADDR 0x05000400 -#define HW_DB_PLTT ((void *) HW_DB_PLTT_ADDR) +#define HW_DB_PLTT ((void*) HW_DB_PLTT_ADDR) #define HW_DB_PLTT_SIZE 0x400 #define HW_BG_VRAM_ADDR 0x06000000 -#define HW_BG_VRAM ((void *) HW_BG_VRAM_ADDR) +#define HW_BG_VRAM ((void*) HW_BG_VRAM_ADDR) #define HW_BG_VRAM_SIZE // TODO #define HW_DB_BG_VRAM_ADDR 0x06200000 -#define HW_DB_BG_VRAM ((void *) HW_DB_BG_VRAM_ADDR) +#define HW_DB_BG_VRAM ((void*) HW_DB_BG_VRAM_ADDR) #define HW_DB_BG_VRAM_SIZE // TODO #define HW_OBJ_VRAM_ADDR 0x06400000 -#define HW_OBJ_VRAM ((void *) HW_OBJ_VRAM_ADDR) +#define HW_OBJ_VRAM ((void*) HW_OBJ_VRAM_ADDR) #define HW_OBJ_VRAM_SIZE // TODO #define HW_DB_OBJ_VRAM_ADDR 0x06600000 -#define HW_DB_OBJ_VRAM ((void *) HW_DB_OBJ_VRAM_ADDR) +#define HW_DB_OBJ_VRAM ((void*) HW_DB_OBJ_VRAM_ADDR) #define HW_DB_OBJ_VRAM_SIZE // TODO #define HW_LCDC_VRAM_ADDR 0x06800000 -#define HW_LCDC_VRAM ((void *) HW_LCDC_VRAM_ADDR) +#define HW_LCDC_VRAM ((void*) HW_LCDC_VRAM_ADDR) #define HW_LCDC_VRAM_SIZE 0xA4000 #define HW_OAM_ADDR 0x07000000 -#define HW_OAM ((void *) HW_OAM_ADDR) +#define HW_OAM ((void*) HW_OAM_ADDR) #define HW_OAM_SIZE 0x400 #define HW_DB_OAM_ADDR 0x07000400 -#define HW_DB_OAM ((void *) HW_DB_OAM_ADDR) +#define HW_DB_OAM ((void*) HW_DB_OAM_ADDR) #define HW_DB_OAM_SIZE 0x400 #define HW_BIOS_ADDR 0xFFFF0000 -#define HW_BIOS ((void *) HW_BIOS_ADDR) +#define HW_BIOS ((void*) HW_BIOS_ADDR) #define HW_BIOS_SIZE 0x8000 #ifdef __cplusplus diff --git a/libs/nitro/include/nitro/math.h b/libs/nitro/include/nitro/math.h index 41a2b475f..372dba60a 100644 --- a/libs/nitro/include/nitro/math.h +++ b/libs/nitro/include/nitro/math.h @@ -29,28 +29,28 @@ u32 CoRemainder(u32 a, u32 b); extern const VecFx32 gVecFx32_ZERO; -void VEC_Add(const VecFx32 *a, const VecFx32 *b, VecFx32 *out); -void VecFx32_Sub(VecFx32 *a, VecFx32 *b, VecFx32 *out); -void VecFx32_Cross(VecFx32 *a, VecFx32 *b, VecFx32 *out); -fx32 VEC_Mag(VecFx32 *a); -void VEC_Normalize(VecFx32 *vec, VecFx32 *out); -void VecFx32_Axpy(fx32 a, VecFx32 *x, VecFx32 *y, VecFx32 *out); -fx32 VecFx32_Distance(VecFx32 *a, VecFx32 *b); -bool VecFx32_TryNormalize(VecFx32 *vec); -fx32 VecFx32_DistanceSquared(VecFx32 *a, VecFx32 *b); -void VecFx32_Scale(VecFx32 *vec, fx32 scale); -bool VecFx32_CalculateNormal(VecFx32 *vec, VecFx32 *a, VecFx32 *b, VecFx32 *c); -void VEC_Subtract(const VecFx32 *, const VecFx32 *, VecFx32 *); -void VEC_MultAdd(s32, VecFx32 *, VecFx32 *, VecFx32 *); - -static inline void VecFx32_Rotate(VecFx32 *vec, fx32 sin, fx32 cos, VecFx32 *out) { +void VEC_Add(const VecFx32* a, const VecFx32* b, VecFx32* out); +void VecFx32_Sub(VecFx32* a, VecFx32* b, VecFx32* out); +void VecFx32_Cross(VecFx32* a, VecFx32* b, VecFx32* out); +fx32 VEC_Mag(VecFx32* a); +void VEC_Normalize(VecFx32* vec, VecFx32* out); +void VecFx32_Axpy(fx32 a, VecFx32* x, VecFx32* y, VecFx32* out); +fx32 VecFx32_Distance(VecFx32* a, VecFx32* b); +bool VecFx32_TryNormalize(VecFx32* vec); +fx32 VecFx32_DistanceSquared(VecFx32* a, VecFx32* b); +void VecFx32_Scale(VecFx32* vec, fx32 scale); +bool VecFx32_CalculateNormal(VecFx32* vec, VecFx32* a, VecFx32* b, VecFx32* c); +void VEC_Subtract(const VecFx32*, const VecFx32*, VecFx32*); +void VEC_MultAdd(s32, VecFx32*, VecFx32*, VecFx32*); + +static inline void VecFx32_Rotate(VecFx32* vec, fx32 sin, fx32 cos, VecFx32* out) { out->x += FX_MUL(vec->z, sin); out->z += FX_MUL(vec->z, cos); out->x += FX_MUL(vec->x, cos); out->z += FX_MUL(vec->x, -sin); } -static inline void VecFx32_CopyXZ(VecFx32 *vec, VecFx32 *out) { +static inline void VecFx32_CopyXZ(VecFx32* vec, VecFx32* out) { fx32 z = vec->z; fx32 x = vec->x; @@ -59,7 +59,7 @@ static inline void VecFx32_CopyXZ(VecFx32 *vec, VecFx32 *out) { out->z = z; } -static inline void VecFx32_SubXZ(VecFx32 *vec1, VecFx32 *vec2, VecFx32 *out) { +static inline void VecFx32_SubXZ(VecFx32* vec1, VecFx32* vec2, VecFx32* out) { fx32 x = vec1->x - vec2->x; fx32 z = vec1->z - vec2->z; @@ -68,98 +68,98 @@ static inline void VecFx32_SubXZ(VecFx32 *vec1, VecFx32 *vec2, VecFx32 *out) { out->y = 0; } -static inline void VecFx16_Copy2VecFx32(const VecFx16 *vec, VecFx32 *out) { +static inline void VecFx16_Copy2VecFx32(const VecFx16* vec, VecFx32* out) { out->x = vec->x; out->y = vec->y; out->z = vec->z; } -static inline void VecFx32_Copy(const VecFx32 *vec, VecFx32 *out) { +static inline void VecFx32_Copy(const VecFx32* vec, VecFx32* out) { out->x = vec->x; out->y = vec->y; out->z = vec->z; } -static inline void VecFx32_Copy2VecFx16(const VecFx32 *vec, VecFx16 *out) { +static inline void VecFx32_Copy2VecFx16(const VecFx32* vec, VecFx16* out) { out->x = vec->x; out->y = vec->y; out->z = vec->z; } -static inline void VecFx16_Copy(const VecFx16 *vec, VecFx16 *out) { +static inline void VecFx16_Copy(const VecFx16* vec, VecFx16* out) { out->x = vec->x; out->y = vec->y; out->z = vec->z; } -static inline void VecFx32_Init(fx32 x, fx32 y, fx32 z, VecFx32 *dst) { +static inline void VecFx32_Init(fx32 x, fx32 y, fx32 z, VecFx32* dst) { dst->x = x; dst->y = y; dst->z = z; } -static inline void VecFx16_Init(fx16 x, fx16 y, fx16 z, VecFx16 *dst) { +static inline void VecFx16_Init(fx16 x, fx16 y, fx16 z, VecFx16* dst) { dst->x = x; dst->y = y; dst->z = z; } -static inline void VecFx32_Reset(VecFx32 *dst) { +static inline void VecFx32_Reset(VecFx32* dst) { dst->x = 0; dst->y = 0; dst->z = 0; } -static inline BOOL VecFx32_IsEqual(const VecFx32 *a, const VecFx32 *b) { +static inline BOOL VecFx32_IsEqual(const VecFx32* a, const VecFx32* b) { return a->x == b->x && a->y == b->y && a->z == b->z; } -static inline bool VecFx32_IsEqual_Bool(const VecFx32 *a, const VecFx32 *b) { +static inline bool VecFx32_IsEqual_Bool(const VecFx32* a, const VecFx32* b) { return a->x == b->x && a->y == b->y && a->z == b->z; } -static inline bool VecFx32_IsCleared(const VecFx32 *a) { +static inline bool VecFx32_IsCleared(const VecFx32* a) { return a->x == 0 && a->y == 0 && a->z == 0; } -void MtxFx22_InitIdentity(MtxFx22 *m); -void MtxFx22_InitRotation(MtxFx22 *m, fx32 sin, fx32 cos); -void MtxFx22_Multiply(MtxFx22 *a, MtxFx22 *b, MtxFx22 *out); - -void MtxFx33_InitIdentity(MtxFx33 *m); -void MtxFx33_CopyToMat4x3p(MtxFx33 *m, MtxFx33 *out); -void MtxFx33_InitScale(MtxFx33 *m, fx32 x, fx32 y, fx32 z); -void MtxFx33_ScaleColumns(MtxFx33 *m, MtxFx33 *out, fx32 x, fx32 y, fx32 z); -void MTX_RotX33_(MtxFx33 *m, fx32 sin, fx32 cos); -void MTX_RotY33_(MtxFx33 *m, fx32 sin, fx32 cos); -void MTX_RotZ33_(MtxFx33 *m, fx32 sin, fx32 cos); -void MtxFx33_func_01ff8248(MtxFx33 *m, VecFx32 *v, fx32 scale, fx32 offset); -void MtxFx33_func_01ff83a0(MtxFx33 *a, MtxFx33 *b); -void MtxFx33_Multiply(MtxFx33 *a, MtxFx33 *b, MtxFx33 *out); -void MtxFx33_MultiplyVec(VecFx32 *v, MtxFx33 *m, VecFx32 *out); -void MTX_MultVec33(VecFx32 *, MtxFx33 *, VecFx32 *); - -void MTX_Identity43_(MtxFx43 *m); -void MtxFx43_CopyToMtxFx44(MtxFx43 *m, MtxFx44 *out); -void MtxFx43_func_01ff8988(MtxFx43 *m, MtxFx43 *out, fx32 x, fx32 y, fx32 z); -void MtxFx43_InitScale(MtxFx43 *m, fx32 x, fx32 y, fx32 z); -void MtxFx43_ScaleColumns(MtxFx43 *m, MtxFx43 *out, fx32 x, fx32 y, fx32 z); -void MtxFx43_InitXRotation(MtxFx43 *m, fx32 sin, fx32 cos); -void MtxFx43_InitYRotation(MtxFx43 *m, fx32 sin, fx32 cos); -void MtxFx43_InitZRotation(MtxFx43 *m, fx32 sin, fx32 cos); -void MtxFx43_func_01ff8ad8(MtxFx43 *m, VecFx32 *v, fx32 scale, fx32 offset); -void MtxFx43_func_01ff8af8(MtxFx43 *a, MtxFx43 *b); -void MtxFx43_Multiply(MtxFx43 *a, MtxFx43 *b, MtxFx43 *out); -void MtxFx43_MultiplyVec(VecFx32 *v, MtxFx43 *m, VecFx32 *out); - -void MtxFx44_InitIdentity(MtxFx44 *m); -void MtxFx44_CopyToMtxFx43(MtxFx44 *m, MtxFx43 *out); -void MtxFx44_InitZRotation(MtxFx44 *m, fx32 sin, fx32 cos); -void MtxFx44_Multiply(MtxFx44 *a, MtxFx44 *b, MtxFx44 *out); - -void MATHi_CRC16InitTableRev(void *param1, s32 param2); +void MtxFx22_InitIdentity(MtxFx22* m); +void MtxFx22_InitRotation(MtxFx22* m, fx32 sin, fx32 cos); +void MtxFx22_Multiply(MtxFx22* a, MtxFx22* b, MtxFx22* out); + +void MtxFx33_InitIdentity(MtxFx33* m); +void MtxFx33_CopyToMat4x3p(MtxFx33* m, MtxFx33* out); +void MtxFx33_InitScale(MtxFx33* m, fx32 x, fx32 y, fx32 z); +void MtxFx33_ScaleColumns(MtxFx33* m, MtxFx33* out, fx32 x, fx32 y, fx32 z); +void MTX_RotX33_(MtxFx33* m, fx32 sin, fx32 cos); +void MTX_RotY33_(MtxFx33* m, fx32 sin, fx32 cos); +void MTX_RotZ33_(MtxFx33* m, fx32 sin, fx32 cos); +void MtxFx33_func_01ff8248(MtxFx33* m, VecFx32* v, fx32 scale, fx32 offset); +void MtxFx33_func_01ff83a0(MtxFx33* a, MtxFx33* b); +void MtxFx33_Multiply(MtxFx33* a, MtxFx33* b, MtxFx33* out); +void MtxFx33_MultiplyVec(VecFx32* v, MtxFx33* m, VecFx32* out); +void MTX_MultVec33(VecFx32*, MtxFx33*, VecFx32*); + +void MTX_Identity43_(MtxFx43* m); +void MtxFx43_CopyToMtxFx44(MtxFx43* m, MtxFx44* out); +void MtxFx43_func_01ff8988(MtxFx43* m, MtxFx43* out, fx32 x, fx32 y, fx32 z); +void MtxFx43_InitScale(MtxFx43* m, fx32 x, fx32 y, fx32 z); +void MtxFx43_ScaleColumns(MtxFx43* m, MtxFx43* out, fx32 x, fx32 y, fx32 z); +void MtxFx43_InitXRotation(MtxFx43* m, fx32 sin, fx32 cos); +void MtxFx43_InitYRotation(MtxFx43* m, fx32 sin, fx32 cos); +void MtxFx43_InitZRotation(MtxFx43* m, fx32 sin, fx32 cos); +void MtxFx43_func_01ff8ad8(MtxFx43* m, VecFx32* v, fx32 scale, fx32 offset); +void MtxFx43_func_01ff8af8(MtxFx43* a, MtxFx43* b); +void MtxFx43_Multiply(MtxFx43* a, MtxFx43* b, MtxFx43* out); +void MtxFx43_MultiplyVec(VecFx32* v, MtxFx43* m, VecFx32* out); + +void MtxFx44_InitIdentity(MtxFx44* m); +void MtxFx44_CopyToMtxFx43(MtxFx44* m, MtxFx43* out); +void MtxFx44_InitZRotation(MtxFx44* m, fx32 sin, fx32 cos); +void MtxFx44_Multiply(MtxFx44* a, MtxFx44* b, MtxFx44* out); + +void MATHi_CRC16InitTableRev(void* param1, s32 param2); s32 MATH_CountPopulation(s32 param1); -s32 MATH_CalcCRC16(void *, void *, size_t); +s32 MATH_CalcCRC16(void*, void*, size_t); #ifdef __cplusplus } diff --git a/libs/nitro/include/nitro/mb.h b/libs/nitro/include/nitro/mb.h index 66628dbe6..5f7f35064 100644 --- a/libs/nitro/include/nitro/mb.h +++ b/libs/nitro/include/nitro/mb.h @@ -28,11 +28,11 @@ typedef struct { } MBParentBssDesc; typedef struct MBGameRegistry { - /* 00 */ const char *programPathName; - /* 04 */ const u16 *title; - /* 08 */ const u16 *description; - /* 0c */ const char *iconCharacterDataFile; - /* 10 */ const char *iconPaletteFile; + /* 00 */ const char* programPathName; + /* 04 */ const u16* title; + /* 08 */ const u16* description; + /* 0c */ const char* iconCharacterDataFile; + /* 10 */ const char* iconPaletteFile; /* 14 */ u32 ggid; /* 18 */ u8 numPlayers; /* 19 */ u8 unk_19[0x3c - 0x19]; @@ -48,10 +48,10 @@ typedef struct MBUserInfo { inline BOOL MB_IsMultiBootChild(void) { return REG_027FFC40 == 0x2; } -inline const MBParentBssDesc *MB_GetMultiBootParentBssDesc(void) { +inline const MBParentBssDesc* MB_GetMultiBootParentBssDesc(void) { BOOL b = REG_027FFC40 == 2; if (b) { - return (const MBParentBssDesc *) ®_027FFC42; + return (const MBParentBssDesc*) ®_027FFC42; } else { return NULL; } diff --git a/libs/nitro/include/nitro/mi.h b/libs/nitro/include/nitro/mi.h index 74e776c90..8c9af9bbc 100644 --- a/libs/nitro/include/nitro/mi.h +++ b/libs/nitro/include/nitro/mi.h @@ -9,40 +9,40 @@ extern "C" { #define MI_DMA_MAX_NUM 3 -void MI_DmaFill32(u32, void *ptr, u8 value, u32 size); -void MI_DmaCopy16(u32, const void *src, void *dst, u32 size); -void MI_DmaCopy32(u32, const void *src, void *dst, u32 size); -void MI_func_0206d87c(u32, void *src, void *dst, u32 size, u32, u32); +void MI_DmaFill32(u32, void* ptr, u8 value, u32 size); +void MI_DmaCopy16(u32, const void* src, void* dst, u32 size); +void MI_DmaCopy32(u32, const void* src, void* dst, u32 size); +void MI_func_0206d87c(u32, void* src, void* dst, u32 size, u32, u32); void MI_func_0206d934(u32); BOOL MI_IsDmaBusy(u32); -void _MI_CpuCopy(const void *src, void *dest, u32 size); -void _MI_CpuFill(u32 value, void *ptr, u32 size); -void MI_CpuFill8(void *ptr, u8 value, u32 size); -void MI_CpuCopy8(const void *src, void *dst, u32 size); -void MI_CpuCopy16(const void *src, void *dst, u32 size); -void MI_CpuCopy32(const void *src, void *dst, u32 size); -void MI_CpuFill16(u16 value, void *dst, u32 size); -void MI_CpuFill32(u32 value, void *ptr, u32 size); -void MI_Swap(u32 *a, u32 *b); +void _MI_CpuCopy(const void* src, void* dest, u32 size); +void _MI_CpuFill(u32 value, void* ptr, u32 size); +void MI_CpuFill8(void* ptr, u8 value, u32 size); +void MI_CpuCopy8(const void* src, void* dst, u32 size); +void MI_CpuCopy16(const void* src, void* dst, u32 size); +void MI_CpuCopy32(const void* src, void* dst, u32 size); +void MI_CpuFill16(u16 value, void* dst, u32 size); +void MI_CpuFill32(u32 value, void* ptr, u32 size); +void MI_Swap(u32* a, u32* b); -void MI_Copy36B(void *, MtxFx33 *); +void MI_Copy36B(void*, MtxFx33*); -void MIi_UncompressBackward(void *addr); +void MIi_UncompressBackward(void* addr); -void MIi_CardDmaCopy32(s32 dmaChannel, void *param2, u32 param3, s32 param4); +void MIi_CardDmaCopy32(s32 dmaChannel, void* param2, u32 param3, s32 param4); void MI_Init(void); -s32 MI_func_0010(s32 dmaChannel, void *param2, u32 param3, u32 param4, u32 param5); +s32 MI_func_0010(s32 dmaChannel, void* param2, u32 param3, u32 param4, u32 param5); -inline void MI_CpuClearFast(void *ptr, u32 size) { +inline void MI_CpuClearFast(void* ptr, u32 size) { _MI_CpuFill(0, ptr, size); } -inline void MI_CpuFillFast(void *ptr, u8 value, u32 size) { +inline void MI_CpuFillFast(void* ptr, u8 value, u32 size) { _MI_CpuFill(value, ptr, size); } -inline void MI_CpuCopyFast(void *src, void *dest, u32 size) { +inline void MI_CpuCopyFast(void* src, void* dest, u32 size) { _MI_CpuCopy(src, dest, size); } diff --git a/libs/nitro/include/nitro/mic.h b/libs/nitro/include/nitro/mic.h index d782bee0d..4ad1804c3 100644 --- a/libs/nitro/include/nitro/mic.h +++ b/libs/nitro/include/nitro/mic.h @@ -19,8 +19,8 @@ typedef struct MIC_UnkStruct2 { } MIC_UnkStruct2; void MIC_Init(void); -s32 MIC_StartAutoSamplingAsync(MIC_UnkStruct2 *arg0, void (*arg1)(s32, s32), s32 arg2); -s32 MIC_StartAutoSampling(MIC_UnkStruct2 *arg0); +s32 MIC_StartAutoSamplingAsync(MIC_UnkStruct2* arg0, void (*arg1)(s32, s32), s32 arg2); +s32 MIC_StartAutoSampling(MIC_UnkStruct2* arg0); s32 MIC_StopAutoSamplingAsync(void (*arg0)(s32, s32), s32 arg1); s32 MIC_StopAutoSampling(void); s32 MIC_GetLastSamplingAddress(void); diff --git a/libs/nitro/include/nitro/os.h b/libs/nitro/include/nitro/os.h index a97d87204..2e7dec2c8 100644 --- a/libs/nitro/include/nitro/os.h +++ b/libs/nitro/include/nitro/os.h @@ -54,7 +54,7 @@ typedef struct OSMessageQueue { } OSMessageQueue; // TODO: Maybe align is wrong? g_msgBuf in PM4 is aligned by 8 with 4 bytes of padding before it -typedef void *OSMessage ATTRIBUTE_ALIGN(8); +typedef void* OSMessage ATTRIBUTE_ALIGN(8); typedef struct OSDma { /* 00 */ vu32 src; @@ -80,11 +80,11 @@ inline void OS_SpinWait(u32 param1) { void _OS_Panic(); #ifdef DEBUG -void OS_TPrintf(const char *format, ...) {} -void OS_Printf(const char *format, ...) {} -void OS_TVPrintf(const char *format, va_list args) {} -void OS_TPanic(const char *message) {} -void OS_Panic(const char *message) {} +void OS_TPrintf(const char* format, ...) {} +void OS_Printf(const char* format, ...) {} +void OS_TVPrintf(const char* format, va_list args) {} +void OS_TPanic(const char* message) {} +void OS_Panic(const char* message) {} #else #define OS_TPrintf(...) #define OS_Printf(...) @@ -98,18 +98,18 @@ void OS_ResetSystem(u32); void OS_Sleep(u32 time); #ifdef DEBUG -void OS_CheckStack(OSThread *thread); +void OS_CheckStack(OSThread* thread); #else #define OS_CheckStack(thread) #endif -void OS_InitMessageQueue(OSMessageQueue *queue, OSMessage *buf, u32 bufLength); -void OS_ReceiveMessage(OSMessageQueue *queue, OSMessage *message, u32 block); -void OS_SendMessage(OSMessageQueue *queue, OSMessage message, u32 block); +void OS_InitMessageQueue(OSMessageQueue* queue, OSMessage* buf, u32 bufLength); +void OS_ReceiveMessage(OSMessageQueue* queue, OSMessage* message, u32 block); +void OS_SendMessage(OSMessageQueue* queue, OSMessage message, u32 block); -void OS_CreateAlarm(OSAlarm *alarm); -void OS_SetPeriodicAlarm(OSAlarm *alarm, OSTime, OSTime, void (*callback)(void *arg), void *arg); -void OS_CancelAlarm(OSAlarm *alarm); +void OS_CreateAlarm(OSAlarm* alarm); +void OS_SetPeriodicAlarm(OSAlarm* alarm, OSTime, OSTime, void (*callback)(void* arg), void* arg); +void OS_CancelAlarm(OSAlarm* alarm); OSTime OS_GetTick(void); @@ -128,7 +128,7 @@ void OSi_ReferSymbol(void); void OS_func_0013(s32, void (*)(u32), u32); -void OS_func_0094(OSAlarm *timer, u64 time, void *callback, void *arg); +void OS_func_0094(OSAlarm* timer, u64 time, void* callback, void* arg); u32 OS_func_0159(void); @@ -139,17 +139,17 @@ s32 OS_func_0171(u32, u32, u32); s32 OS_func_0174(void); BOOL OS_IsRunOnEmulator(void); -void OS_GetMacAddress(u8 *); +void OS_GetMacAddress(u8*); void OS_ReleaseLockID(u32); -void OS_GetLowEntropyData(void *param1); +void OS_GetLowEntropyData(void* param1); void OS_func_0149(u32, u32, u32); -inline void *OS_Alloc(u32 size) { +inline void* OS_Alloc(u32 size) { return OS_AllocFromHeap(OS_ARENA_MAIN, OS_CURRENT_HEAP_HANDLE, size); } -inline void OS_Free(void *ptr) { +inline void OS_Free(void* ptr) { OS_FreeFromHeap(OS_ARENA_MAIN, OS_CURRENT_HEAP_HANDLE, ptr); } @@ -180,7 +180,7 @@ inline void OS_SetNdsSlotAccess(u32 processor) { REG_EXMEM_CNT = (REG_EXMEM_CNT & ~OS_EXMEM_CNT_NDS_SLOT_ACCESS) | (processor << OS_EXMEM_CNT_NDS_SLOT_ACCESS_SHIFT); } -int OS_SNPrintf(char *, size_t, const char *, ...); +int OS_SNPrintf(char*, size_t, const char*, ...); #ifdef __cplusplus } // extern "C" diff --git a/libs/nitro/include/nitro/os/os_alarm.h b/libs/nitro/include/nitro/os/os_alarm.h index 6b246d1c5..66568c811 100644 --- a/libs/nitro/include/nitro/os/os_alarm.h +++ b/libs/nitro/include/nitro/os/os_alarm.h @@ -13,8 +13,8 @@ typedef struct OSAlarm { /* 08 */ u32 unk_08; /* 0c */ u32 unk_0c; /* 10 */ u32 unk_10; - /* 14 */ void *unk_14; - /* 18 */ void *unk_18; + /* 14 */ void* unk_14; + /* 18 */ void* unk_18; /* 1c */ u32 unk_1c; /* 20 */ u32 unk_20; /* 24 */ u32 unk_24; diff --git a/libs/nitro/include/nitro/os/os_arena.h b/libs/nitro/include/nitro/os/os_arena.h index 5978c7ee2..7f78f2104 100644 --- a/libs/nitro/include/nitro/os/os_arena.h +++ b/libs/nitro/include/nitro/os/os_arena.h @@ -18,25 +18,25 @@ extern "C" { typedef s32 OSHeapHandle; typedef struct OSMemoryBlock { - /* 00 */ struct OSMemoryBlock *prev; - /* 04 */ struct OSMemoryBlock *next; + /* 00 */ struct OSMemoryBlock* prev; + /* 04 */ struct OSMemoryBlock* next; /* 08 */ u32 size; /* 0c */ } OSMemoryBlock; typedef struct OSHeap { /* 00 */ s32 size; - /* 04 */ OSMemoryBlock *free; // sorted by address, descending - /* 08 */ OSMemoryBlock *occupied; + /* 04 */ OSMemoryBlock* free; // sorted by address, descending + /* 08 */ OSMemoryBlock* occupied; /* 0c */ } OSHeap; typedef struct OSAlloc { /* 00 */ OSHeapHandle currentHeap; /* 04 */ s32 numHeaps; - /* 08 */ void *lo; - /* 0c */ void *hi; - /* 10 */ OSHeap *heaps; + /* 08 */ void* lo; + /* 0c */ void* hi; + /* 10 */ OSHeap* heaps; /* 14 */ OSHeap heapsArray[]; // length stored in numHeaps } OSAlloc; @@ -46,50 +46,50 @@ extern u32 _OS_unk_linker_3; // 0x027e0080 extern u32 _OS_unk_linker_4; // gtactw_eu, diamondtrust_us: 0 #define OS_unk_linker_1 ((s32) (&_OS_unk_linker_1)) #define OS_unk_linker_2 ((u32) (&_OS_unk_linker_2)) -#define OS_unk_linker_3 ((u8 *) (&_OS_unk_linker_3)) +#define OS_unk_linker_3 ((u8*) (&_OS_unk_linker_3)) #define OS_unk_linker_4 ((s32) (&_OS_unk_linker_4)) extern BOOL OSi_ArenaInitialized; -void *OS_InitAlloc(u32 arena, void *addrLo, void *addrHi, u32); -void *OS_GetArenaLo(u32 arena); -void *OS_GetArenaHi(u32 arena); +void* OS_InitAlloc(u32 arena, void* addrLo, void* addrHi, u32); +void* OS_GetArenaLo(u32 arena); +void* OS_GetArenaHi(u32 arena); -void OS_SetArenaLo(u32 arena, void *addr); -void OS_SetArenaHi(u32 arena, void *addr); -void *OS_AllocFromArenaLo(u32 arena, u32 size, u32 num); +void OS_SetArenaLo(u32 arena, void* addr); +void OS_SetArenaHi(u32 arena, void* addr); +void* OS_AllocFromArenaLo(u32 arena, u32 size, u32 num); -OSHeapHandle OS_CreateHeap(u32 arena, void *addrLo, void *addrHi); +OSHeapHandle OS_CreateHeap(u32 arena, void* addrLo, void* addrHi); OSHeapHandle OS_SetCurrentHeap(u32 arena, OSHeapHandle heap); void OS_DumpHeap(u32 arena, OSHeapHandle heap); -void *OS_AllocFromHeap(u32 arena, OSHeapHandle heap, s32 size); -void OS_FreeFromHeap(u32 arena, OSHeapHandle heap, void *ptr); +void* OS_AllocFromHeap(u32 arena, OSHeapHandle heap, s32 size); +void OS_FreeFromHeap(u32 arena, OSHeapHandle heap, void* ptr); s32 OS_CheckHeap(u32 arena, OSHeapHandle heap); -inline void *OS_GetMainArenaLo(void) { +inline void* OS_GetMainArenaLo(void) { return OS_GetArenaLo(OS_ARENA_MAIN); } -inline void *OS_GetMainArenaHi(void) { +inline void* OS_GetMainArenaHi(void) { return OS_GetArenaHi(OS_ARENA_MAIN); } -inline void *OS_GetITCMArenaLo(void) { +inline void* OS_GetITCMArenaLo(void) { return OS_GetArenaLo(OS_ARENA_ITCM); } -inline void *OS_GetITCMArenaHi(void) { +inline void* OS_GetITCMArenaHi(void) { return OS_GetArenaHi(OS_ARENA_ITCM); } -inline void *OS_GetDTCMArenaLo(void) { +inline void* OS_GetDTCMArenaLo(void) { return OS_GetArenaLo(OS_ARENA_DTCM); } -inline void *OS_GetDTCMArenaHi(void) { +inline void* OS_GetDTCMArenaHi(void) { return OS_GetArenaHi(OS_ARENA_DTCM); } -inline void OS_SetMainArenaLo(void *addr) { +inline void OS_SetMainArenaLo(void* addr) { OS_SetArenaLo(OS_ARENA_MAIN, addr); } -inline void *OS_AllocFromMainArenaLo(u32 size, u32 num) { +inline void* OS_AllocFromMainArenaLo(u32 size, u32 num) { return OS_AllocFromArenaLo(OS_ARENA_MAIN, size, num); } diff --git a/libs/nitro/include/nitro/os/os_cache.h b/libs/nitro/include/nitro/os/os_cache.h index 36006f43e..835af6f6f 100644 --- a/libs/nitro/include/nitro/os/os_cache.h +++ b/libs/nitro/include/nitro/os/os_cache.h @@ -10,16 +10,16 @@ extern "C" { #define OS_CACHE_LINE_SIZE 0x20 void DC_StoreAll(void); -void DC_StoreRange(void *ptr, u32 size); +void DC_StoreRange(void* ptr, u32 size); void DC_FlushAll(void); -void DC_FlushRange(void *ptr, u32 size); +void DC_FlushRange(void* ptr, u32 size); -void DC_InvalidateAll(void *ptr, u32 size); -void DC_InvalidateRange(void *ptr, u32 size); +void DC_InvalidateAll(void* ptr, u32 size); +void DC_InvalidateRange(void* ptr, u32 size); void IC_InvalidateAll(void); -void IC_InvalidateRange(void *ptr, u32 size); +void IC_InvalidateRange(void* ptr, u32 size); #ifdef __cplusplus } // extern "C" diff --git a/libs/nitro/include/nitro/os/os_common.h b/libs/nitro/include/nitro/os/os_common.h index c9ad77560..ee99f3c08 100644 --- a/libs/nitro/include/nitro/os/os_common.h +++ b/libs/nitro/include/nitro/os/os_common.h @@ -8,15 +8,15 @@ extern "C" { #include "nitro/types.h" typedef struct OSLinkedList { - /* 00 */ void *head; - /* 04 */ void *tail; + /* 00 */ void* head; + /* 04 */ void* tail; /* 08 */ } OSLinkedList; struct OSThread; typedef struct OSThreadQueue { - /* 0x00 */ struct OSThread *head; - /* 0x04 */ struct OSThread *tail; + /* 0x00 */ struct OSThread* head; + /* 0x04 */ struct OSThread* tail; } OSThreadQueue; #ifdef __cplusplus diff --git a/libs/nitro/include/nitro/os/os_cp.h b/libs/nitro/include/nitro/os/os_cp.h index 64069b998..6def60b9c 100644 --- a/libs/nitro/include/nitro/os/os_cp.h +++ b/libs/nitro/include/nitro/os/os_cp.h @@ -16,8 +16,8 @@ typedef struct CPContext { /* 1c */ } CPContext; -void CP_SaveContext(CPContext *param1); -void CPi_RestoreContext(CPContext *param1); +void CP_SaveContext(CPContext* param1); +void CPi_RestoreContext(CPContext* param1); #ifdef __cplusplus } // extern "C" diff --git a/libs/nitro/include/nitro/os/os_mutex.h b/libs/nitro/include/nitro/os/os_mutex.h index 3d9e1f0c7..7ab361659 100644 --- a/libs/nitro/include/nitro/os/os_mutex.h +++ b/libs/nitro/include/nitro/os/os_mutex.h @@ -12,32 +12,32 @@ struct OSMutex; struct OSThread; typedef struct OSMutexQueue { - /* 0x00 */ struct OSMutex *head; - /* 0x04 */ struct OSMutex *tail; + /* 0x00 */ struct OSMutex* head; + /* 0x04 */ struct OSMutex* tail; } OSMutexQueue; typedef struct OS_Mutex_UnkStruct1 { /* 00 */ PAD(0x00, 0x04); - /* 04 */ struct OSThread *unk_04; + /* 04 */ struct OSThread* unk_04; /* 08 */ } OS_Mutex_UnkStruct1; typedef struct OSMutex { /* 00 */ OSThreadQueue unk_00; - /* 08 */ struct OSThread *unk_08; + /* 08 */ struct OSThread* unk_08; /* 0c */ vu32 unk_0c; /* 10 */ OSMutexQueue queue; /* 18 */ } OSMutex; -void OS_InitMutex(OSMutex *mutex); -void OS_LockMutex(OSMutex *mutex); -void OS_UnlockMutex(OSMutex *mutex); -bool OS_TryLockMutex(OSMutex *mutex); +void OS_InitMutex(OSMutex* mutex); +void OS_LockMutex(OSMutex* mutex); +void OS_UnlockMutex(OSMutex* mutex); +bool OS_TryLockMutex(OSMutex* mutex); -void OSi_UnlockAllMutex(struct OSThread *param1); -void OS_UnlockAllQueuedThreadMutex(struct OSThread *thread); -OSMutex *OSi_RemoveMutexLinkFromQueue(OSMutexQueue *param1); +void OSi_UnlockAllMutex(struct OSThread* param1); +void OS_UnlockAllQueuedThreadMutex(struct OSThread* thread); +OSMutex* OSi_RemoveMutexLinkFromQueue(OSMutexQueue* param1); #ifdef __cplusplus } // extern "C" diff --git a/libs/nitro/include/nitro/os/os_owner.h b/libs/nitro/include/nitro/os/os_owner.h index 103c261f0..2d60f91fa 100644 --- a/libs/nitro/include/nitro/os/os_owner.h +++ b/libs/nitro/include/nitro/os/os_owner.h @@ -19,7 +19,7 @@ typedef struct OSOwnerInfo { /* 54 */ } OSOwnerInfo; -void OS_GetOwnerInfo(OSOwnerInfo *info); +void OS_GetOwnerInfo(OSOwnerInfo* info); #ifdef __cplusplus } // extern "C" diff --git a/libs/nitro/include/nitro/os/os_thread.h b/libs/nitro/include/nitro/os/os_thread.h index d747da61d..aff7d49db 100644 --- a/libs/nitro/include/nitro/os/os_thread.h +++ b/libs/nitro/include/nitro/os/os_thread.h @@ -9,35 +9,35 @@ struct OSThread; -typedef void (*OSThreadSwitchCallback)(struct OSThread *oldThread, struct OSThread *newThread); -typedef void (*OSThreadDtor)(void *); +typedef void (*OSThreadSwitchCallback)(struct OSThread* oldThread, struct OSThread* newThread); +typedef void (*OSThreadDtor)(void*); typedef struct OSThreadInfo { /* 0x00 */ u16 isSchedulerWaiting; /* 0x02 */ u16 irqDepth; - /* 0x10 */ struct OSThread *current; - /* 0x14 */ struct OSThread *list; + /* 0x10 */ struct OSThread* current; + /* 0x14 */ struct OSThread* list; /* 0x18 */ OSThreadSwitchCallback callback; } OSThreadInfo; typedef struct OSThread { /* 00 */ OSContext context; /* 64 */ u32 unk_64; - /* 68 */ struct OSThread *nextPrio; // next thread with lower priority + /* 68 */ struct OSThread* nextPrio; // next thread with lower priority /* 6c */ u32 unk_6c; /* 70 */ u32 prio; /* 74 */ u32 unk_74; - /* 78 */ OSThreadQueue *unk_78; - /* 7c */ struct OSThread *prev; - /* 80 */ struct OSThread *next; - /* 84 */ OSMutex *unk_84; + /* 78 */ OSThreadQueue* unk_78; + /* 7c */ struct OSThread* prev; + /* 80 */ struct OSThread* next; + /* 84 */ OSMutex* unk_84; /* 88 */ OSMutexQueue unk_88; - /* 90 */ void *stackLo; - /* 94 */ void *stackHi; - /* 98 */ u32 *unk_98; + /* 90 */ void* stackLo; + /* 94 */ void* stackHi; + /* 98 */ u32* unk_98; /* 9c */ OSThreadQueue unk_9c; /* a4 */ u8 unk_a4[0xb0 - 0xa4]; - /* b0 */ OSAlarm *alarm; + /* b0 */ OSAlarm* alarm; /* b4 */ OSThreadDtor destructor; /* b8 */ } OSThread; @@ -46,38 +46,38 @@ extern OSThreadInfo ThreadInfo; /// MARK: Functions -void OS_PauseThread(OSThreadQueue *queue); -void OS_UnpauseThread(OSThreadQueue *queue); -OSMutex *OS_RemoveMutexFromQueue(OSMutexQueue *queue); -OSThread *OS_SelectThread(void); -void OS_CreateThread(OSThread *thread, void (*threadFunc)(void *arg), void *arg, void *stackHi, u32 stackSize, u32 prio); -void OS_WakeupThread(OSThreadQueue *); +void OS_PauseThread(OSThreadQueue* queue); +void OS_UnpauseThread(OSThreadQueue* queue); +OSMutex* OS_RemoveMutexFromQueue(OSMutexQueue* queue); +OSThread* OS_SelectThread(void); +void OS_CreateThread(OSThread* thread, void (*threadFunc)(void* arg), void* arg, void* stackHi, u32 stackSize, u32 prio); +void OS_WakeupThread(OSThreadQueue*); void OS_ExitThread(void); -void OS_WakeupThreadDirect(OSThread *param1); -BOOL OS_IsThreadTerminated(const OSThread *thread); -void OS_KillThread(OSThread *thread, void *); -void OS_SleepThread(OSThreadQueue *list); // sleeps current thread, list is optional +void OS_WakeupThreadDirect(OSThread* param1); +BOOL OS_IsThreadTerminated(const OSThread* thread); +void OS_KillThread(OSThread* thread, void*); +void OS_SleepThread(OSThreadQueue* list); // sleeps current thread, list is optional /// MARK: Inlines -static inline void OS_InitThreadQueue(OSThreadQueue *queue) { +static inline void OS_InitThreadQueue(OSThreadQueue* queue) { queue->tail = NULL; queue->head = NULL; } -static inline OSThreadInfo *OS_GetThreadInfo(void) { +static inline OSThreadInfo* OS_GetThreadInfo(void) { return &ThreadInfo; } -static inline OSThread *OS_GetCurrentThread(void) { +static inline OSThread* OS_GetCurrentThread(void) { return OS_GetThreadInfo()->current; } -static inline void OS_SetCurrentThread(OSThread *thread) { +static inline void OS_SetCurrentThread(OSThread* thread) { OS_GetThreadInfo()->current = thread; } -static inline u32 OS_GetThreadId(OSThread *thread) { +static inline u32 OS_GetThreadId(OSThread* thread) { return thread->unk_6c; } diff --git a/libs/nitro/include/nitro/reg.h b/libs/nitro/include/nitro/reg.h index c37019156..d7c68f301 100644 --- a/libs/nitro/include/nitro/reg.h +++ b/libs/nitro/include/nitro/reg.h @@ -9,35 +9,35 @@ extern "C" { #define REG_BASE 0x4000000 -#define REG_POWER_CNT (*(vu16 *) (REG_BASE | 0x304)) -#define REG_IME (*(vu32 *) (REG_BASE | 0x208)) +#define REG_POWER_CNT (*(vu16*) (REG_BASE | 0x304)) +#define REG_IME (*(vu32*) (REG_BASE | 0x208)) -#define REG_DISPSTAT (*(vu16 *) (REG_BASE | 0x4)) -#define REG_VCOUNT (*(vu16 *) (REG_BASE | 0x6)) -#define REG_DISP3DCNT (*(vu16 *) (REG_BASE | 0x60)) -#define REG_DISPCAPCNT (*(vu32 *) (REG_BASE | 0x64)) -#define REG_GFX_STATUS (*(vu32 *) (REG_BASE | 0x600)) +#define REG_DISPSTAT (*(vu16*) (REG_BASE | 0x4)) +#define REG_VCOUNT (*(vu16*) (REG_BASE | 0x6)) +#define REG_DISP3DCNT (*(vu16*) (REG_BASE | 0x60)) +#define REG_DISPCAPCNT (*(vu32*) (REG_BASE | 0x64)) +#define REG_GFX_STATUS (*(vu32*) (REG_BASE | 0x600)) -#define REG_DMA ((OSDma *) (REG_BASE | 0xB0)) -#define REG_DMA0SAD (*(vu32 *) (REG_BASE | 0xB0)) -#define REG_DMA0DAD (*(vu32 *) (REG_BASE | 0xB4)) -#define REG_DMA0CNT (*(vu32 *) (REG_BASE | 0xB8)) +#define REG_DMA ((OSDma*) (REG_BASE | 0xB0)) +#define REG_DMA0SAD (*(vu32*) (REG_BASE | 0xB0)) +#define REG_DMA0DAD (*(vu32*) (REG_BASE | 0xB4)) +#define REG_DMA0CNT (*(vu32*) (REG_BASE | 0xB8)) -#define REG_VRAM_CNT_ABCD (*(vu32 *) (REG_BASE | 0x240)) -#define REG_VRAM_CNT_A (*(vu8 *) (REG_BASE | 0x240)) -#define REG_VRAM_CNT_B (*(vu8 *) (REG_BASE | 0x241)) -#define REG_VRAM_CNT_C (*(vu8 *) (REG_BASE | 0x242)) -#define REG_VRAM_CNT_D (*(vu8 *) (REG_BASE | 0x243)) -#define REG_VRAM_CNT_E (*(vu8 *) (REG_BASE | 0x244)) -#define REG_VRAM_CNT_F (*(vu8 *) (REG_BASE | 0x245)) -#define REG_VRAM_CNT_G (*(vu8 *) (REG_BASE | 0x246)) -#define REG_WRAM_CNT (*(vu8 *) (REG_BASE | 0x247)) -#define REG_VRAM_CNT_HI (*(vu16 *) (REG_BASE | 0x248)) -#define REG_VRAM_CNT_H (*(vu8 *) (REG_BASE | 0x248)) -#define REG_VRAM_CNT_I (*(vu8 *) (REG_BASE | 0x249)) +#define REG_VRAM_CNT_ABCD (*(vu32*) (REG_BASE | 0x240)) +#define REG_VRAM_CNT_A (*(vu8*) (REG_BASE | 0x240)) +#define REG_VRAM_CNT_B (*(vu8*) (REG_BASE | 0x241)) +#define REG_VRAM_CNT_C (*(vu8*) (REG_BASE | 0x242)) +#define REG_VRAM_CNT_D (*(vu8*) (REG_BASE | 0x243)) +#define REG_VRAM_CNT_E (*(vu8*) (REG_BASE | 0x244)) +#define REG_VRAM_CNT_F (*(vu8*) (REG_BASE | 0x245)) +#define REG_VRAM_CNT_G (*(vu8*) (REG_BASE | 0x246)) +#define REG_WRAM_CNT (*(vu8*) (REG_BASE | 0x247)) +#define REG_VRAM_CNT_HI (*(vu16*) (REG_BASE | 0x248)) +#define REG_VRAM_CNT_H (*(vu8*) (REG_BASE | 0x248)) +#define REG_VRAM_CNT_I (*(vu8*) (REG_BASE | 0x249)) #define REG_EXMEM_CNT_OFFSET 0x204 -#define REG_EXMEM_CNT (*(vu16 *) (REG_BASE | REG_EXMEM_CNT_OFFSET)) +#define REG_EXMEM_CNT (*(vu16*) (REG_BASE | REG_EXMEM_CNT_OFFSET)) #if NITRO_VERSION >= 0x05057533 #define _BIOS_REG_BASE 0x02FFF000 @@ -45,17 +45,17 @@ extern "C" { #define _BIOS_REG_BASE 0x027FF000 #endif -#define REG_PAD (*(u16 *) (_BIOS_REG_BASE | 0xFA8)) -#define REG_KEYINPUT (*(u16 *) (REG_BASE | 0x130)) +#define REG_PAD (*(u16*) (_BIOS_REG_BASE | 0xFA8)) +#define REG_KEYINPUT (*(u16*) (REG_BASE | 0x130)) #define REG_CARD_AUX_SPI_CNT_OFFSET 0x1A0 -#define REG_CARD_AUX_SPI_CNT (*(vu16 *) (REG_BASE | 0x1A0)) +#define REG_CARD_AUX_SPI_CNT (*(vu16*) (REG_BASE | 0x1A0)) #define REG_CARD_CNT_OFFSET 0x1A4 -#define REG_CARD_CNT (*(vu32 *) (REG_BASE | REG_CARD_CNT_OFFSET)) +#define REG_CARD_CNT (*(vu32*) (REG_BASE | REG_CARD_CNT_OFFSET)) #define REG_CARD_CMD_OFFSET 0x1A8 -#define REG_CARD_CMD (*(vu8 *) (REG_BASE | REG_CARD_CMD_OFFSET)) +#define REG_CARD_CMD (*(vu8*) (REG_BASE | REG_CARD_CMD_OFFSET)) #define REG_CARD_DATA_OFFSET 0x100010 -#define REG_CARD_DATA (*(vu32 *) (REG_BASE | REG_CARD_DATA_OFFSET)) +#define REG_CARD_DATA (*(vu32*) (REG_BASE | REG_CARD_DATA_OFFSET)) typedef struct DivParam { union { @@ -68,105 +68,105 @@ typedef struct DivParam { u64 denom; } DivParam; -#define REG_DIV_CNT (*(vu16 *) (REG_BASE | 0x280)) -#define REG_DIV (*(DivParam *) (REG_BASE | 0x290)) -#define REG_DIV_NUMER (*(u64 *) (REG_BASE | 0x290)) -#define REG_DIV_DENOM (*(u64 *) (REG_BASE | 0x298)) -#define REG_DIV_RESULT (*(u64 *) (REG_BASE | 0x2a0)) -#define REG_REM_RESULT (*(u64 *) (REG_BASE | 0x2a8)) -#define REG_SQRT_CNT (*(vu16 *) (REG_BASE | 0x2b0)) -#define REG_SQRT_RESULT (*(vu32 *) (REG_BASE | 0x2b4)) -#define REG_SQRT_PARAM (*(u64 *) (REG_BASE | 0x2b8)) +#define REG_DIV_CNT (*(vu16*) (REG_BASE | 0x280)) +#define REG_DIV (*(DivParam*) (REG_BASE | 0x290)) +#define REG_DIV_NUMER (*(u64*) (REG_BASE | 0x290)) +#define REG_DIV_DENOM (*(u64*) (REG_BASE | 0x298)) +#define REG_DIV_RESULT (*(u64*) (REG_BASE | 0x2a0)) +#define REG_REM_RESULT (*(u64*) (REG_BASE | 0x2a8)) +#define REG_SQRT_CNT (*(vu16*) (REG_BASE | 0x2b0)) +#define REG_SQRT_RESULT (*(vu32*) (REG_BASE | 0x2b4)) +#define REG_SQRT_PARAM (*(u64*) (REG_BASE | 0x2b8)) -#define REG_FRAME_COUNTER (*(u32 *) (_BIOS_REG_BASE | 0xC3C)) -#define REG_027FFC40 (*(u16 *) (_BIOS_REG_BASE | 0xC40)) -#define REG_027FFC42 (*(u16 *) (_BIOS_REG_BASE | 0xC42)) -#define REG_027FFD9C (*(void **) (_BIOS_REG_BASE | 0xD9C)) -#define REG_027FFDA0 ((void **) (_BIOS_REG_BASE | 0xDA0)) -#define REG_027FFDC4 ((void **) (_BIOS_REG_BASE | 0xDC4)) -#define REG_027FFDE8 (*(u32 *) (_BIOS_REG_BASE | 0xDE8)) -#define REG_027FFDEA (*(u16 *) (_BIOS_REG_BASE | 0xDEA)) -#define REG_027FFDEC (*(u32 *) (_BIOS_REG_BASE | 0xDEC)) -#define REG_ROM_HEADER (*(RomHeader *) (_BIOS_REG_BASE | 0xE00)) -#define REG_IPC_FIFO_RECV_CALLBACKS (*(u32 *) (_BIOS_REG_BASE | 0xF88)) -#define REG_027FFF90 (*(u32 *) (_BIOS_REG_BASE | 0xF90)) +#define REG_FRAME_COUNTER (*(u32*) (_BIOS_REG_BASE | 0xC3C)) +#define REG_027FFC40 (*(u16*) (_BIOS_REG_BASE | 0xC40)) +#define REG_027FFC42 (*(u16*) (_BIOS_REG_BASE | 0xC42)) +#define REG_027FFD9C (*(void**) (_BIOS_REG_BASE | 0xD9C)) +#define REG_027FFDA0 ((void**) (_BIOS_REG_BASE | 0xDA0)) +#define REG_027FFDC4 ((void**) (_BIOS_REG_BASE | 0xDC4)) +#define REG_027FFDE8 (*(u32*) (_BIOS_REG_BASE | 0xDE8)) +#define REG_027FFDEA (*(u16*) (_BIOS_REG_BASE | 0xDEA)) +#define REG_027FFDEC (*(u32*) (_BIOS_REG_BASE | 0xDEC)) +#define REG_ROM_HEADER (*(RomHeader*) (_BIOS_REG_BASE | 0xE00)) +#define REG_IPC_FIFO_RECV_CALLBACKS (*(u32*) (_BIOS_REG_BASE | 0xF88)) +#define REG_027FFF90 (*(u32*) (_BIOS_REG_BASE | 0xF90)) #define REG_027FFF9C_ADDR (_BIOS_REG_BASE | 0xF9C) -#define REG_027FFF9C (*(u32 *) REG_027FFF9C_ADDR) -#define REG_027FFFA0 (*(u32 *) (_BIOS_REG_BASE | 0xFA0)) +#define REG_027FFF9C (*(u32*) REG_027FFF9C_ADDR) +#define REG_027FFFA0 (*(u32*) (_BIOS_REG_BASE | 0xFA0)) -#define REG_GFX_FIFO (*(vu32 *) (REG_BASE | 0x400)) -#define REG_GFX_FIFO_MATRIX_MODE (*(vu32 *) (REG_BASE | 0x440)) -#define REG_GFX_FIFO_MATRIX_PUSH (*(vu32 *) (REG_BASE | 0x444)) -#define REG_GFX_FIFO_MATRIX_POP (*(vu32 *) (REG_BASE | 0x448)) -#define REG_GFX_FIFO_MATRIX_STORE (*(vu32 *) (REG_BASE | 0x44C)) -#define REG_GFX_FIFO_MATRIX_RESTORE (*(vu32 *) (REG_BASE | 0x450)) -#define REG_GFX_FIFO_MATRIX_IDENTITY (*(vu32 *) (REG_BASE | 0x454)) -#define REG_GFX_FIFO_MATRIX_SCALE (*(vu32 *) (REG_BASE | 0x46C)) -#define REG_GFX_FIFO_MATRIX_TRANSLATE (*(vu32 *) (REG_BASE | 0x470)) -#define REG_GFX_FIFO_VERTEX_COLOR (*(vu32 *) (REG_BASE | 0x480)) -#define REG_GFX_FIFO_VERTEX_TEXCOORD (*(vu32 *) (REG_BASE | 0x488)) -#define REG_GFX_FIFO_VERTEX_16 (*(vu32 *) (REG_BASE | 0x48C)) -#define REG_GFX_FIFO_VERTEX_10 (*(vu32 *) (REG_BASE | 0x490)) -#define REG_GFX_FIFO_VERTEX_XZ (*(vu32 *) (REG_BASE | 0x498)) -#define REG_GFX_FIFO_POLYGON_ATTR (*(vu32 *) (REG_BASE | 0x4A4)) -#define REG_GFX_FIFO_TEXTURE_PARAM (*(vu32 *) (REG_BASE | 0x4A8)) -#define REG_GFX_FIFO_TEXTURE_PALETTE (*(vu32 *) (REG_BASE | 0x4AC)) -#define REG_GFX_FIFO_DIFFUSE_AMBIENT_REFLECT (*(vu32 *) (REG_BASE | 0x4C0)) -#define REG_GFX_FIFO_SPECULAR_REF_AND_EMISSION (*(vu32 *) (REG_BASE | 0x4C4)) -#define REG_GFX_FIFO_LIGHT_DIRECTION (*(vu32 *) (REG_BASE | 0x4C8)) -#define REG_GFX_FIFO_LIGHT_COLOR (*(vu32 *) (REG_BASE | 0x4CC)) -#define REG_GFX_FIFO_POLYGONS_BEGIN (*(vu32 *) (REG_BASE | 0x500)) -#define REG_GFX_FIFO_POLYGONS_END (*(vu32 *) (REG_BASE | 0x504)) -#define REG_GFX_FIFO_SWAP_BUFFERS (*(vu32 *) (REG_BASE | 0x540)) -#define REG_GFX_FIFO_VIEWPORT (*(vu32 *) (REG_BASE | 0x580)) +#define REG_GFX_FIFO (*(vu32*) (REG_BASE | 0x400)) +#define REG_GFX_FIFO_MATRIX_MODE (*(vu32*) (REG_BASE | 0x440)) +#define REG_GFX_FIFO_MATRIX_PUSH (*(vu32*) (REG_BASE | 0x444)) +#define REG_GFX_FIFO_MATRIX_POP (*(vu32*) (REG_BASE | 0x448)) +#define REG_GFX_FIFO_MATRIX_STORE (*(vu32*) (REG_BASE | 0x44C)) +#define REG_GFX_FIFO_MATRIX_RESTORE (*(vu32*) (REG_BASE | 0x450)) +#define REG_GFX_FIFO_MATRIX_IDENTITY (*(vu32*) (REG_BASE | 0x454)) +#define REG_GFX_FIFO_MATRIX_SCALE (*(vu32*) (REG_BASE | 0x46C)) +#define REG_GFX_FIFO_MATRIX_TRANSLATE (*(vu32*) (REG_BASE | 0x470)) +#define REG_GFX_FIFO_VERTEX_COLOR (*(vu32*) (REG_BASE | 0x480)) +#define REG_GFX_FIFO_VERTEX_TEXCOORD (*(vu32*) (REG_BASE | 0x488)) +#define REG_GFX_FIFO_VERTEX_16 (*(vu32*) (REG_BASE | 0x48C)) +#define REG_GFX_FIFO_VERTEX_10 (*(vu32*) (REG_BASE | 0x490)) +#define REG_GFX_FIFO_VERTEX_XZ (*(vu32*) (REG_BASE | 0x498)) +#define REG_GFX_FIFO_POLYGON_ATTR (*(vu32*) (REG_BASE | 0x4A4)) +#define REG_GFX_FIFO_TEXTURE_PARAM (*(vu32*) (REG_BASE | 0x4A8)) +#define REG_GFX_FIFO_TEXTURE_PALETTE (*(vu32*) (REG_BASE | 0x4AC)) +#define REG_GFX_FIFO_DIFFUSE_AMBIENT_REFLECT (*(vu32*) (REG_BASE | 0x4C0)) +#define REG_GFX_FIFO_SPECULAR_REF_AND_EMISSION (*(vu32*) (REG_BASE | 0x4C4)) +#define REG_GFX_FIFO_LIGHT_DIRECTION (*(vu32*) (REG_BASE | 0x4C8)) +#define REG_GFX_FIFO_LIGHT_COLOR (*(vu32*) (REG_BASE | 0x4CC)) +#define REG_GFX_FIFO_POLYGONS_BEGIN (*(vu32*) (REG_BASE | 0x500)) +#define REG_GFX_FIFO_POLYGONS_END (*(vu32*) (REG_BASE | 0x504)) +#define REG_GFX_FIFO_SWAP_BUFFERS (*(vu32*) (REG_BASE | 0x540)) +#define REG_GFX_FIFO_VIEWPORT (*(vu32*) (REG_BASE | 0x580)) -#define REG_IPC_SYNC (*(vu16 *) (REG_BASE | 0x180)) -#define REG_IPC_FIFO_CNT (*(vu16 *) (REG_BASE | 0x184)) -#define REG_IPC_FIFO_SEND (*(PXI_UnkStruct1 *) (REG_BASE | 0x188)) -#define REG_04100000 (*(PXI_UnkStruct1 *) (REG_BASE | 0x100000)) +#define REG_IPC_SYNC (*(vu16*) (REG_BASE | 0x180)) +#define REG_IPC_FIFO_CNT (*(vu16*) (REG_BASE | 0x184)) +#define REG_IPC_FIFO_SEND (*(PXI_UnkStruct1*) (REG_BASE | 0x188)) +#define REG_04100000 (*(PXI_UnkStruct1*) (REG_BASE | 0x100000)) extern u32 __DTCM_LO; extern u32 __DTCM_HI; extern u32 __ITCM_HI; extern u32 __CODE_HI; -#define DTCM_LO ((u8 *) &__DTCM_LO) -#define DTCM_HI ((u8 *) &__DTCM_HI) -#define ITCM_HI ((u8 *) &__ITCM_HI) -#define CODE_HI ((u8 *) (&__CODE_HI)) +#define DTCM_LO ((u8*) &__DTCM_LO) +#define DTCM_HI ((u8*) &__DTCM_HI) +#define ITCM_HI ((u8*) &__ITCM_HI) +#define CODE_HI ((u8*) (&__CODE_HI)) -#define REG_IRQ (*(u32 *) (DTCM_LO + 0x3FF8)) +#define REG_IRQ (*(u32*) (DTCM_LO + 0x3FF8)) #define _MAIN_REG_BASE REG_BASE #define _SUB_REG_BASE (REG_BASE | 0x1000) -#define _REG_DISPCNT(base) (*(u32 *) ((base) | 0x0)) -#define _REG_BG0CNT(base) (*(vu16 *) ((base) | 0x8)) -#define _REG_BG1CNT(base) (*(vu16 *) ((base) | 0xA)) -#define _REG_BG2CNT(base) (*(vu16 *) ((base) | 0xC)) -#define _REG_BG3CNT(base) (*(vu16 *) ((base) | 0xE)) -#define _REG_BG0OFS(base) (*(u32 *) ((base) | 0x10)) -#define _REG_BG1OFS(base) (*(u32 *) ((base) | 0x14)) -#define _REG_BG2OFS(base) (*(u32 *) ((base) | 0x18)) -#define _REG_BG3OFS(base) (*(u32 *) ((base) | 0x1C)) -#define _REG_BG2PA(base) (*(u16 *) ((base) | 0x20)) -#define _REG_BG2PB(base) (*(u16 *) ((base) | 0x22)) -#define _REG_BG2PC(base) (*(u16 *) ((base) | 0x24)) -#define _REG_BG2PD(base) (*(u16 *) ((base) | 0x26)) -#define _REG_BG2X(base) (*(u32 *) ((base) | 0x28)) -#define _REG_BG2Y(base) (*(u32 *) ((base) | 0x2C)) -#define _REG_BG3PA(base) (*(u16 *) ((base) | 0x30)) -#define _REG_BG3PB(base) (*(u16 *) ((base) | 0x32)) -#define _REG_BG3PC(base) (*(u16 *) ((base) | 0x34)) -#define _REG_BG3PD(base) (*(u16 *) ((base) | 0x36)) -#define _REG_BG3X(base) (*(u32 *) ((base) | 0x38)) -#define _REG_BG3Y(base) (*(u32 *) ((base) | 0x3C)) -#define _REG_WININ(base) (*(u16 *) ((base) | 0x48)) -#define _REG_WINOUT(base) (*(u16 *) ((base) | 0x4A)) -#define _REG_MOSAIC(base) (*(u8 *) ((base) | 0x4C)) -#define _REG_OBJMOSAIC(base) (*(u8 *) ((base) | 0x4D)) -#define _REG_BLDCNT(base) (*(u16 *) ((base) | 0x50)) -#define _REG_BLDALPHA(base) (*(u16 *) ((base) | 0x52)) -#define _REG_MASTER_BRIGHT(base) (*(u16 *) ((base) | 0x6C)) +#define _REG_DISPCNT(base) (*(u32*) ((base) | 0x0)) +#define _REG_BG0CNT(base) (*(vu16*) ((base) | 0x8)) +#define _REG_BG1CNT(base) (*(vu16*) ((base) | 0xA)) +#define _REG_BG2CNT(base) (*(vu16*) ((base) | 0xC)) +#define _REG_BG3CNT(base) (*(vu16*) ((base) | 0xE)) +#define _REG_BG0OFS(base) (*(u32*) ((base) | 0x10)) +#define _REG_BG1OFS(base) (*(u32*) ((base) | 0x14)) +#define _REG_BG2OFS(base) (*(u32*) ((base) | 0x18)) +#define _REG_BG3OFS(base) (*(u32*) ((base) | 0x1C)) +#define _REG_BG2PA(base) (*(u16*) ((base) | 0x20)) +#define _REG_BG2PB(base) (*(u16*) ((base) | 0x22)) +#define _REG_BG2PC(base) (*(u16*) ((base) | 0x24)) +#define _REG_BG2PD(base) (*(u16*) ((base) | 0x26)) +#define _REG_BG2X(base) (*(u32*) ((base) | 0x28)) +#define _REG_BG2Y(base) (*(u32*) ((base) | 0x2C)) +#define _REG_BG3PA(base) (*(u16*) ((base) | 0x30)) +#define _REG_BG3PB(base) (*(u16*) ((base) | 0x32)) +#define _REG_BG3PC(base) (*(u16*) ((base) | 0x34)) +#define _REG_BG3PD(base) (*(u16*) ((base) | 0x36)) +#define _REG_BG3X(base) (*(u32*) ((base) | 0x38)) +#define _REG_BG3Y(base) (*(u32*) ((base) | 0x3C)) +#define _REG_WININ(base) (*(u16*) ((base) | 0x48)) +#define _REG_WINOUT(base) (*(u16*) ((base) | 0x4A)) +#define _REG_MOSAIC(base) (*(u8*) ((base) | 0x4C)) +#define _REG_OBJMOSAIC(base) (*(u8*) ((base) | 0x4D)) +#define _REG_BLDCNT(base) (*(u16*) ((base) | 0x50)) +#define _REG_BLDALPHA(base) (*(u16*) ((base) | 0x52)) +#define _REG_MASTER_BRIGHT(base) (*(u16*) ((base) | 0x6C)) #define REG_DISPCNT _REG_DISPCNT(_MAIN_REG_BASE) #define REG_BG0CNT _REG_BG0CNT(_MAIN_REG_BASE) @@ -227,9 +227,9 @@ extern u32 __CODE_HI; #define REG_MASTER_BRIGHT_SUB _REG_MASTER_BRIGHT(_SUB_REG_BASE) #define REG_A9ROM_OFFSET 0x4000 -#define REG_A9ROM (*(vu16 *) (REG_BASE | REG_A9ROM_OFFSET)) +#define REG_A9ROM (*(vu16*) (REG_BASE | REG_A9ROM_OFFSET)) -#define REG_04FFF200 (*(vu32 *) (REG_BASE | 0xFFF200)) +#define REG_04FFF200 (*(vu32*) (REG_BASE | 0xFFF200)) // TODO: Move these structs somewhere else typedef struct ProgramOffset { diff --git a/libs/nitro/include/nitro/rtc.h b/libs/nitro/include/nitro/rtc.h index b9c0dfe51..af3b6f8fa 100644 --- a/libs/nitro/include/nitro/rtc.h +++ b/libs/nitro/include/nitro/rtc.h @@ -21,9 +21,9 @@ typedef struct RTCTime { } RTCTime; void RTC_Init(void); -s32 RTC_GetDate(RTCDate *date); -s32 RTC_GetTime(RTCTime *time); -u64 RTC_ConvertDateTimeToSecond(const RTCDate *date, const RTCTime *time); +s32 RTC_GetDate(RTCDate* date); +s32 RTC_GetTime(RTCTime* time); +u64 RTC_ConvertDateTimeToSecond(const RTCDate* date, const RTCTime* time); #ifdef __cplusplus } // extern "C" diff --git a/libs/nitro/include/nitro/snd.h b/libs/nitro/include/nitro/snd.h index 396c7aee0..7cb3646ba 100644 --- a/libs/nitro/include/nitro/snd.h +++ b/libs/nitro/include/nitro/snd.h @@ -18,7 +18,7 @@ extern "C" { #define SND_CHANNEL_DATASHIFT_NONE 0 -typedef void (*SNDAlarmCallback)(void *arg); +typedef void (*SNDAlarmCallback)(void* arg); typedef u32 SNDCommandType; enum SNDCommandType_ { @@ -32,7 +32,7 @@ enum SNDCommandType_ { }; typedef struct SNDCommand { - /* 00 */ struct SNDCommand *next; + /* 00 */ struct SNDCommand* next; /* 04 */ SNDCommandType type; // Usage differs based on command type // For channels and alarms, each bit is a channel/alarm to apply to @@ -45,7 +45,7 @@ typedef struct SNDCommand { } SNDCommand; void SND_Init(void); -SNDCommand *SND_RecvCommandReply(u32); +SNDCommand* SND_RecvCommandReply(u32); BOOL SND_FlushCommand(u32); void SND_UnlockChannel(u32 channel, u32); @@ -53,10 +53,10 @@ void SND_LockChannel(u32 channel, u32); void SND_SetChannelVolume(u32 channel, u32 volume, u32 datashift); void SND_SetChannelPan(u32 channel, u32 pan); -void SND_SetupChannelPcm(u32 channel, u32 format, void *buf, u32 loop, u32, u32 numSamples, u32 volume, u32 datashift, u32, +void SND_SetupChannelPcm(u32 channel, u32 format, void* buf, u32 loop, u32, u32 numSamples, u32 volume, u32 datashift, u32, u32); -void SND_SetupAlarm(u32 num, u32, u32, SNDAlarmCallback callback, void *arg); +void SND_SetupAlarm(u32 num, u32, u32, SNDAlarmCallback callback, void* arg); void SND_StartTimer(u32 channel, u32, u32 num, u32); void SND_StopTimer(u32 channel, u32, u32 alarm, u32); diff --git a/libs/nitro/include/nitro/std.h b/libs/nitro/include/nitro/std.h index 27bf400de..b5ce3e71e 100644 --- a/libs/nitro/include/nitro/std.h +++ b/libs/nitro/include/nitro/std.h @@ -7,12 +7,12 @@ extern "C" { #include "nitro/types.h" -s32 STD_CompareNString(const char *src, const char *dst, s32 size); -s32 STD_CompareString(const char *src, const char *dst); -char *STD_CopyString(char *dst, const char *src); -s32 STD_CopyLString(char *dst, const char *src, s32 size); -const char *STD_SearchString(const char *src, const char *dst); -s32 STD_GetStringLength(const char *arg0); +s32 STD_CompareNString(const char* src, const char* dst, s32 size); +s32 STD_CompareString(const char* src, const char* dst); +char* STD_CopyString(char* dst, const char* src); +s32 STD_CopyLString(char* dst, const char* src, s32 size); +const char* STD_SearchString(const char* src, const char* dst); +s32 STD_GetStringLength(const char* arg0); #ifdef __cplusplus } // extern "C" diff --git a/libs/nitro/include/nitro/tp.h b/libs/nitro/include/nitro/tp.h index f2e4db993..80be49655 100644 --- a/libs/nitro/include/nitro/tp.h +++ b/libs/nitro/include/nitro/tp.h @@ -39,26 +39,26 @@ typedef u32 TPRequestResult; void TP_Init(void); void TP_SetCallback(void (*callback)(TPRequestCommand command, TPRequestResult result, u16 index)); -BOOL TP_GetUserInfo(TPCalibrateParam *calibrate); -void TP_SetCalibrateParam(const TPCalibrateParam *calibrate); +BOOL TP_GetUserInfo(TPCalibrateParam* calibrate); +void TP_SetCalibrateParam(const TPCalibrateParam* calibrate); void func_020711c0(void); -BOOL func_02071254(TPData *data); -BOOL TP_GetData(TPData *data); +BOOL func_02071254(TPData* data); +BOOL TP_GetData(TPData* data); -void TP_GetCalibratedPoint(TPData *, TPData *); +void TP_GetCalibratedPoint(TPData*, TPData*); -void _TP_RequestAutoSamplingStart(u32 param1, u32 param2, TPData *sampleBuf, u32 sampleBufSize); +void _TP_RequestAutoSamplingStart(u32 param1, u32 param2, TPData* sampleBuf, u32 sampleBufSize); void TP_func_02032704(u32 param1); void TP_func_0203271c(u32 param1); -void TP_GetLatestCalibratedPointInAuto(TPData *data); +void TP_GetLatestCalibratedPointInAuto(TPData* data); -inline BOOL TP_RequestRawSampling(TPData *data) { +inline BOOL TP_RequestRawSampling(TPData* data) { func_020711c0(); return func_02071254(data); } -inline void TP_RequestAutoSamplingStart(u32 param1, u32 param2, TPData *sampleBuf, u32 sampleBufSize) { +inline void TP_RequestAutoSamplingStart(u32 param1, u32 param2, TPData* sampleBuf, u32 sampleBufSize) { _TP_RequestAutoSamplingStart(param1, param2, sampleBuf, sampleBufSize); TP_func_02032704(2); TP_func_0203271c(2); diff --git a/libs/nitro/include/nitro/wm.h b/libs/nitro/include/nitro/wm.h index c3fa2d75c..0268ae309 100644 --- a/libs/nitro/include/nitro/wm.h +++ b/libs/nitro/include/nitro/wm.h @@ -39,7 +39,7 @@ typedef u16 WMErrCode; typedef u16 WMStateCode; typedef struct WMParentParam { - /* 00 */ void *userGameInfo; + /* 00 */ void* userGameInfo; /* 04 */ u16 userGameInfoLength; /* 08 */ u32 ggid; /* 0c */ u16 tgid; @@ -57,7 +57,7 @@ typedef struct WMParentParam { } WMParentParam; typedef struct WMScanParam { - /* 00 */ void *scanBuf; + /* 00 */ void* scanBuf; /* 04 */ u16 channel; /* 06 */ u16 maxChannelTime; /* 08 */ u8 bssid[WM_SIZE_BSSID]; @@ -104,7 +104,7 @@ typedef struct WMPortRecvCallback { /* 02 */ WMErrCode errcode; /* 04 */ WMStateCode state; /* 08 */ u8 unk_08[0x0c - 0x08]; - /* 0c */ void *data; + /* 0c */ void* data; /* 10 */ u16 length; /* 14 */ } WMPortRecvCallback; @@ -148,7 +148,7 @@ typedef struct WMPortSendCallback { /* 0e */ u8 unk_0e[0x10 - 0x0e]; /* 10 */ u16 sentBitmap; /* 12 */ u8 unk_12[0x14 - 0x12]; - /* 14 */ void *data; + /* 14 */ void* data; /* 18 */ u16 length; } WMPortSendCallback; @@ -165,14 +165,14 @@ typedef struct WMStatus { u8 unk[0x7cc]; } WMStatus; -WMErrCode WM_Initialize(void *buf, void (*callback)(void *arg), u32 param3); +WMErrCode WM_Initialize(void* buf, void (*callback)(void* arg), u32 param3); -WMErrCode WM_SetPortCallback(u16 port, void (*callback)(void *arg), void *param3); -void WM_SetEntry(void (*callback)(void *arg), u32 param2); -WMErrCode WM_SetParentParameter(void (*callback)(void *arg), WMParentParam *parentParam); -WMErrCode _WM_SetMPDataToPort(void (*callback)(void *arg), u32 param2, u16 *data, u32 length, u32 recvBitmap, u16 port, +WMErrCode WM_SetPortCallback(u16 port, void (*callback)(void* arg), void* param3); +void WM_SetEntry(void (*callback)(void* arg), u32 param2); +WMErrCode WM_SetParentParameter(void (*callback)(void* arg), WMParentParam* parentParam); +WMErrCode _WM_SetMPDataToPort(void (*callback)(void* arg), u32 param2, u16* data, u32 length, u32 recvBitmap, u16 port, u32 param7); -inline WMErrCode WM_SetMPDataToPort(void (*callback)(void *arg), u16 *data, u32 length, u32 recvBitmap, u16 port, u32 param6) { +inline WMErrCode WM_SetMPDataToPort(void (*callback)(void* arg), u16* data, u32 length, u32 recvBitmap, u16 port, u32 param6) { return _WM_SetMPDataToPort(callback, 0, data, length, recvBitmap, port, param6); } @@ -184,29 +184,29 @@ u32 WM_GetAllowedChannel(void); u32 WM_GetLinkLevel(void); u16 WM_GetNextTgid(void); -WMErrCode WM_StartParent(void (*callback)(void *arg)); -WMErrCode _WM_StartConnect(void (*callback)(void *arg), WMBssDesc *bssDesc, void *param3, u32 param4, u32 param5); -inline WMErrCode WM_StartConnect(void (*callback)(void *arg), WMBssDesc *bssDesc, void *param3) { +WMErrCode WM_StartParent(void (*callback)(void* arg)); +WMErrCode _WM_StartConnect(void (*callback)(void* arg), WMBssDesc* bssDesc, void* param3, u32 param4, u32 param5); +inline WMErrCode WM_StartConnect(void (*callback)(void* arg), WMBssDesc* bssDesc, void* param3) { return _WM_StartConnect(callback, bssDesc, param3, 1, 0); } -void WM_Disconnect(void (*callback)(void *arg), u16 aid); -WMErrCode WM_Reset(void (*callback)(void *arg)); -WMErrCode WM_End(void (*callback)(void *arg)); +void WM_Disconnect(void (*callback)(void* arg), u16 aid); +WMErrCode WM_Reset(void (*callback)(void* arg)); +WMErrCode WM_End(void (*callback)(void* arg)); -WMErrCode WM_StartMP(void (*callback)(void *arg), u16 *recvBuf, u32 recvBufSize, u16 *sendBuf, u32 sendBufSize, +WMErrCode WM_StartMP(void (*callback)(void* arg), u16* recvBuf, u32 recvBufSize, u16* sendBuf, u32 sendBufSize, u32 commsPerFrame); -void WM_EndMP(void (*callback)(void *arg)); +void WM_EndMP(void (*callback)(void* arg)); -WMErrCode WM_StartScan(void (*callback)(void *arg), WMScanParam *scanParam); -WMErrCode WM_EndScan(void (*callback)(void *arg)); +WMErrCode WM_StartScan(void (*callback)(void* arg), WMScanParam* scanParam); +WMErrCode WM_EndScan(void (*callback)(void* arg)); -WMErrCode WM_MeasureChannel(void (*callback)(void *arg), u32 param2, u32 param3, u16 channel, u32 param5); +WMErrCode WM_MeasureChannel(void (*callback)(void* arg), u32 param2, u32 param3, u16 channel, u32 param5); -void WM_ReadStatus(WMStatus *status); +void WM_ReadStatus(WMStatus* status); -void WM_func_0007(void *dst, const void *src, u32 size); +void WM_func_0007(void* dst, const void* src, u32 size); u32 WM_func_0008(void); -s32 WM_func_0009(const void *a, const void *b, u32 size); +s32 WM_func_0009(const void* a, const void* b, u32 size); #ifdef __cplusplus } // extern "C" diff --git a/libs/nns/include/nns/anim.h b/libs/nns/include/nns/anim.h index f05d15bab..f2ed2d5bf 100644 --- a/libs/nns/include/nns/anim.h +++ b/libs/nns/include/nns/anim.h @@ -16,19 +16,19 @@ typedef struct AnimCallbackFunctor { // and in `func_02007498` it goes with two when set to 1 /* 00 */ unk32 unk_00; /* 04 */ unk32 unk_04; - /* 08 */ void *pFunc; + /* 08 */ void* pFunc; /* 0C */ unk32 unk_0C; } AnimCallbackFunctor; // size = 0x10 typedef struct AnimController { - /* 00 */ void *unk_00; - /* 04 */ void *unk_04; + /* 00 */ void* unk_00; + /* 04 */ void* unk_04; /* 08 */ unk32 unk_08; /* 0C */ unk32 unk_0C; // pause the animation timer /* 10 */ unk32 unk_10; // animation timer /* 14 */ unk32 unk_14; // animation speed (also affects above timer) /* 18 */ unk32 unk_18; - /* 1C */ void *unk_1C; // pointer to animation bank ("ABNK")? is it actually a callback?? + /* 1C */ void* unk_1C; // pointer to animation bank ("ABNK")? is it actually a callback?? /* 20 */ AnimCallbackFunctor callbackFunctor; } AnimController; // size = 0x30 @@ -51,8 +51,8 @@ typedef struct UnkAnimStruct2 { typedef struct CellAnim { /* 00 */ AnimController animCtrl; - /* 30 */ UnkAnimStruct2 *unk_30; // pointer to somewhere inside "CEBK" - /* 34 */ void *unk_34; + /* 30 */ UnkAnimStruct2* unk_30; // pointer to somewhere inside "CEBK" + /* 34 */ void* unk_34; /* 38 */ unk32 unk_38; /* 3C */ UnkAnimStruct1 unk_3C; } CellAnim; // size = 0x50 diff --git a/libs/nns/include/nns/fnd.h b/libs/nns/include/nns/fnd.h index 0fb7366de..daecb9d81 100644 --- a/libs/nns/include/nns/fnd.h +++ b/libs/nns/include/nns/fnd.h @@ -29,13 +29,13 @@ typedef struct NNSiFndExpHeapMBlockHead_ { /* 00 */ u16 signature; /* 02 */ u16 attribute; /* 04 */ u32 blockSize; - /* 08 */ struct NNSiFndExpHeapMBlockHead_ *pMBHeadPrev; - /* 0C */ struct NNSiFndExpHeapMBlockHead_ *pMBHeadNext; + /* 08 */ struct NNSiFndExpHeapMBlockHead_* pMBHeadPrev; + /* 0C */ struct NNSiFndExpHeapMBlockHead_* pMBHeadNext; } NNSiFndExpHeapMBlockHead; // size = 0x10 typedef struct NNSiFndExpMBlockList_ { - /* 00 */ NNSiFndExpHeapMBlockHead *head; - /* 04 */ NNSiFndExpHeapMBlockHead *tail; + /* 00 */ NNSiFndExpHeapMBlockHead* head; + /* 04 */ NNSiFndExpHeapMBlockHead* tail; } NNSiFndExpMBlockList; // size = 0x08 typedef struct NNSiFndExpHeapHead_ { @@ -46,13 +46,13 @@ typedef struct NNSiFndExpHeapHead_ { } NNSiFndExpHeapHead; // size = 0x10 typedef struct NNSiMemRegion_ { - /* 00 */ void *start; - /* 04 */ void *end; + /* 00 */ void* start; + /* 04 */ void* end; } NNSiMemRegion; // size = 0x08 typedef struct NNSFndLinkList_ { - /* 00 */ void *prev; - /* 04 */ void *next; + /* 00 */ void* prev; + /* 04 */ void* next; } NNSFndLinkList; // size = 0x08 //! TODO: figure it out @@ -61,8 +61,8 @@ typedef struct NNSFndAllocator_ { } NNSFndAllocator; // size = ? typedef struct NNSFndList_ { - /* 00 */ void *head; - /* 04 */ void *tail; + /* 00 */ void* head; + /* 04 */ void* tail; /* 08 */ u16 numElements; /* 0A */ u16 offset; } NNSFndList; // size = 0x0C @@ -97,110 +97,110 @@ typedef struct NNSiFndUntHeapHead_ { /* 00 */ s32 unk_00; } NNSiFndUntHeapHead; // size = ? -void *AllocatorAllocForExpHeap(NNSFndAllocator *pAllocator, size_t size); -void AllocatorFreeForExpHeap(NNSFndAllocator *pAllocator, void *memBlock); -void *AllocatorAllocForFrmHeap(NNSFndAllocator *pAllocator, size_t size); -void AllocatorFreeForFrmHeap(NNSFndAllocator *pAllocator, void *memBlock); -void *AllocatorAllocForUnitHeap(NNSFndAllocator *pAllocator, size_t size); -void AllocatorFreeForUnitHeap(NNSFndAllocator *pAllocator, void *memBlock); -void *NNS_FndAllocFromAllocator(NNSFndAllocator *pAllocator, size_t size); -void NNS_FndFreeToAllocator(NNSFndAllocator *pAllocator, void *memBlock); -void NNS_FndInitAllocatorForExpHeap(NNSFndAllocator *pAllocator, NNSiFndHeapHead *heap, s32 alignment); -void NNS_FndInitAllocatorForFrmHeap(NNSFndAllocator *pAllocator, NNSiFndHeapHead *heap, s32 alignment); -void NNS_FndInitAllocatorForUnitHeap(NNSFndAllocator *pAllocator, NNSiFndHeapHead *heap); - -NNSiFndHeapHead *GetHeapHeadPtrFromExpHeapHead(NNSiFndExpHeapHead *pEHHead); -NNSiFndExpHeapHead *GetExpHeapHeadPtrFromHandle(NNSiFndHeapHead *heap); -void *GetMemPtrForMBlock(NNSiFndExpHeapMBlockHead *pMBlkHd); -NNSiFndExpHeapMBlockHead *GetMBlockHeadPtr(void *memBlock); -NNSiFndExpHeapMBlockHead *GetMBlockHeadCPtr(void *memBlock); -void *GetMBlockEndAddr(NNSiFndExpHeapMBlockHead *pMBHead); -u16 GetAlignmentForMBlock(NNSiFndExpHeapMBlockHead *pMBlkHd); -void SetAlignmentForMBlock(NNSiFndExpHeapMBlockHead *pMBlkHd, u16 alignment); -u16 GetGroupIDForMBlock(NNSiFndExpHeapMBlockHead *pMBHead); -void SetGroupIDForMBlock(NNSiFndExpHeapMBlockHead *pMBHead, u16 id); -u16 GetAllocDirForMBlock(NNSiFndExpHeapMBlockHead *pMBHead); -void SetAllocDirForMBlock(NNSiFndExpHeapMBlockHead *pMBHead, u16 mode); -u16 GetAllocMode(NNSiFndExpHeapHead *pEHHead); -void SetAllocMode(NNSiFndExpHeapHead *pEHHead, u16 mode); -void GetRegionOfMBlock(NNSiMemRegion *region, NNSiFndExpHeapMBlockHead *block); -NNSiFndExpHeapMBlockHead *RemoveMBlock(NNSiFndExpMBlockList list, NNSiFndExpHeapMBlockHead *block); -NNSiFndExpHeapMBlockHead *InsertMBlock(NNSiFndExpMBlockList list, NNSiFndExpHeapMBlockHead *target, - NNSiFndExpHeapMBlockHead *prev); -void AppendMBlock(NNSiFndExpMBlockList list, NNSiFndExpHeapMBlockHead *block); -NNSiFndExpHeapMBlockHead *InitMBlock(NNSiMemRegion *pRegion, u16 signature); -NNSiFndExpHeapMBlockHead *InitFreeMBlock(NNSiMemRegion *pRegion); -NNSiFndHeapHead *NNS_FndCreateExpHeapEx(void *startAddress, size_t size, u16 optFlag); -void *NNS_FndAllocFromExpHeapEx(NNSiFndHeapHead *heap, size_t size, s32 alignment); -u32 NNS_FndResizeForMBlockExpHeap(NNSiFndHeapHead *heap, void *memBlock, size_t size); -void NNS_FndFreeToExpHeap(NNSiFndHeapHead *heap, void *memBlock); -u32 NNS_FndGetTotalFreeSizeForExpHeap(NNSiFndHeapHead *heap); -u32 NNS_FndGetAllocatableSizeForExpHeapEx(NNSiFndHeapHead *heap, s32 alignment); -void NNS_FndDestroyExpHeap(NNSiFndHeapHead *param1); - -void *NNS_FndAllocFromFrmHeapEx(NNSiFndHeapHead *heap, size_t size, s32 alignment); -void NNS_FndDestroyFrmHeap(NNSiFndHeapHead *param1); -NNSiFndHeapHead *NNS_FndCreateFrmHeapEx(void *startAddress, size_t size, u16 optFlag); - -NNSiFndExpHeapHead *GetExpHeapHeadPtrFromHeapHead(NNSiFndHeapHead *pHHead); -NNSiFndHeapHead *InitExpHeap(void *startAddress, void *endAddress, u16 optFlag); -void *AllocUsedBlockFromFreeBlock(NNSiFndExpHeapHead *pEHHead, NNSiFndExpHeapMBlockHead *pMBHeadFree, void *mblock, - size_t size, u16 direction); -void *AllocFromHead(NNSiFndHeapHead *pHeapHd, size_t size, s32 alignment); -void *AllocFromTail(NNSiFndHeapHead *pHeapHd, size_t size, s32 alignment); -BOOL RecycleRegion(NNSiFndExpHeapHead *pEHHead, NNSiMemRegion *pRegion); -u16 NNS_FndSetAllocModeForExpHeap(NNSiFndHeapHead *heap, u16 mode); -size_t func_020010e0(NNSiFndHeapHead *pHead, void *ptr, s32 param3); - -NNSiFndHeapHead *FindContainHeap(NNSFndList *pList, void *memBlock); +void* AllocatorAllocForExpHeap(NNSFndAllocator* pAllocator, size_t size); +void AllocatorFreeForExpHeap(NNSFndAllocator* pAllocator, void* memBlock); +void* AllocatorAllocForFrmHeap(NNSFndAllocator* pAllocator, size_t size); +void AllocatorFreeForFrmHeap(NNSFndAllocator* pAllocator, void* memBlock); +void* AllocatorAllocForUnitHeap(NNSFndAllocator* pAllocator, size_t size); +void AllocatorFreeForUnitHeap(NNSFndAllocator* pAllocator, void* memBlock); +void* NNS_FndAllocFromAllocator(NNSFndAllocator* pAllocator, size_t size); +void NNS_FndFreeToAllocator(NNSFndAllocator* pAllocator, void* memBlock); +void NNS_FndInitAllocatorForExpHeap(NNSFndAllocator* pAllocator, NNSiFndHeapHead* heap, s32 alignment); +void NNS_FndInitAllocatorForFrmHeap(NNSFndAllocator* pAllocator, NNSiFndHeapHead* heap, s32 alignment); +void NNS_FndInitAllocatorForUnitHeap(NNSFndAllocator* pAllocator, NNSiFndHeapHead* heap); + +NNSiFndHeapHead* GetHeapHeadPtrFromExpHeapHead(NNSiFndExpHeapHead* pEHHead); +NNSiFndExpHeapHead* GetExpHeapHeadPtrFromHandle(NNSiFndHeapHead* heap); +void* GetMemPtrForMBlock(NNSiFndExpHeapMBlockHead* pMBlkHd); +NNSiFndExpHeapMBlockHead* GetMBlockHeadPtr(void* memBlock); +NNSiFndExpHeapMBlockHead* GetMBlockHeadCPtr(void* memBlock); +void* GetMBlockEndAddr(NNSiFndExpHeapMBlockHead* pMBHead); +u16 GetAlignmentForMBlock(NNSiFndExpHeapMBlockHead* pMBlkHd); +void SetAlignmentForMBlock(NNSiFndExpHeapMBlockHead* pMBlkHd, u16 alignment); +u16 GetGroupIDForMBlock(NNSiFndExpHeapMBlockHead* pMBHead); +void SetGroupIDForMBlock(NNSiFndExpHeapMBlockHead* pMBHead, u16 id); +u16 GetAllocDirForMBlock(NNSiFndExpHeapMBlockHead* pMBHead); +void SetAllocDirForMBlock(NNSiFndExpHeapMBlockHead* pMBHead, u16 mode); +u16 GetAllocMode(NNSiFndExpHeapHead* pEHHead); +void SetAllocMode(NNSiFndExpHeapHead* pEHHead, u16 mode); +void GetRegionOfMBlock(NNSiMemRegion* region, NNSiFndExpHeapMBlockHead* block); +NNSiFndExpHeapMBlockHead* RemoveMBlock(NNSiFndExpMBlockList list, NNSiFndExpHeapMBlockHead* block); +NNSiFndExpHeapMBlockHead* InsertMBlock(NNSiFndExpMBlockList list, NNSiFndExpHeapMBlockHead* target, + NNSiFndExpHeapMBlockHead* prev); +void AppendMBlock(NNSiFndExpMBlockList list, NNSiFndExpHeapMBlockHead* block); +NNSiFndExpHeapMBlockHead* InitMBlock(NNSiMemRegion* pRegion, u16 signature); +NNSiFndExpHeapMBlockHead* InitFreeMBlock(NNSiMemRegion* pRegion); +NNSiFndHeapHead* NNS_FndCreateExpHeapEx(void* startAddress, size_t size, u16 optFlag); +void* NNS_FndAllocFromExpHeapEx(NNSiFndHeapHead* heap, size_t size, s32 alignment); +u32 NNS_FndResizeForMBlockExpHeap(NNSiFndHeapHead* heap, void* memBlock, size_t size); +void NNS_FndFreeToExpHeap(NNSiFndHeapHead* heap, void* memBlock); +u32 NNS_FndGetTotalFreeSizeForExpHeap(NNSiFndHeapHead* heap); +u32 NNS_FndGetAllocatableSizeForExpHeapEx(NNSiFndHeapHead* heap, s32 alignment); +void NNS_FndDestroyExpHeap(NNSiFndHeapHead* param1); + +void* NNS_FndAllocFromFrmHeapEx(NNSiFndHeapHead* heap, size_t size, s32 alignment); +void NNS_FndDestroyFrmHeap(NNSiFndHeapHead* param1); +NNSiFndHeapHead* NNS_FndCreateFrmHeapEx(void* startAddress, size_t size, u16 optFlag); + +NNSiFndExpHeapHead* GetExpHeapHeadPtrFromHeapHead(NNSiFndHeapHead* pHHead); +NNSiFndHeapHead* InitExpHeap(void* startAddress, void* endAddress, u16 optFlag); +void* AllocUsedBlockFromFreeBlock(NNSiFndExpHeapHead* pEHHead, NNSiFndExpHeapMBlockHead* pMBHeadFree, void* mblock, size_t size, + u16 direction); +void* AllocFromHead(NNSiFndHeapHead* pHeapHd, size_t size, s32 alignment); +void* AllocFromTail(NNSiFndHeapHead* pHeapHd, size_t size, s32 alignment); +BOOL RecycleRegion(NNSiFndExpHeapHead* pEHHead, NNSiMemRegion* pRegion); +u16 NNS_FndSetAllocModeForExpHeap(NNSiFndHeapHead* heap, u16 mode); +size_t func_020010e0(NNSiFndHeapHead* pHead, void* ptr, s32 param3); + +NNSiFndHeapHead* FindContainHeap(NNSFndList* pList, void* memBlock); void DumpHeapList(); -NNSFndList *FindListContainHeap(NNSiFndHeapHead *pHeapHd); -void NNSi_FndInitHeapHead(NNSiFndHeapHead *pHeapHd, u32 signature, void *heapStart, void *heapEnd, u16 optFlag); -void NNSi_FndFinalizeHeap(NNSiFndHeapHead *pHeapHd); -void NNSi_FndDumpHeapHead(NNSiFndHeapHead *pHeapHd); -NNSiFndHeapHead *NNS_FndFindContainHeap(void *memBlock); -void NNS_FndDumpHeap(NNSiFndHeapHead *heap); +NNSFndList* FindListContainHeap(NNSiFndHeapHead* pHeapHd); +void NNSi_FndInitHeapHead(NNSiFndHeapHead* pHeapHd, u32 signature, void* heapStart, void* heapEnd, u16 optFlag); +void NNSi_FndFinalizeHeap(NNSiFndHeapHead* pHeapHd); +void NNSi_FndDumpHeapHead(NNSiFndHeapHead* pHeapHd); +NNSiFndHeapHead* NNS_FndFindContainHeap(void* memBlock); +void NNS_FndDumpHeap(NNSiFndHeapHead* heap); u32 NNS_FndSetFillValForHeap(s32 type, u32 val); u32 NNS_FndGetFillValForHeap(s32 type); u32 NNSi_FndRoundUp(u32 value, u32 alignment); -void *NNSi_FndRoundUpPtr(void *ptr, u32 alignment); +void* NNSi_FndRoundUpPtr(void* ptr, u32 alignment); u32 NNSi_FndRoundDown(u32 value, u32 alignment); -void *NNSi_FndRoundDownPtr(void *ptr, u32 alignment); +void* NNSi_FndRoundDownPtr(void* ptr, u32 alignment); u32 NNSi_FndGetBitValue(u32 data, s32 st, s32 bits); void NNSi_FndSetBitValue(u32 data, s32 st, u32 bits, u16 val); -u32 NNSiGetUIntPtr(void *ptr); - -u32 GetOffsetFromPtr(void *start, void *end); -void *AddU32ToPtr(void *ptr, u32 val); -void *AddU32ToCPtr(void *ptr, u32 val); -void *SubU32ToPtr(void *ptr, u32 val); -void *SubU32ToCPtr(void *ptr, u32 val); -s32 ComparePtr(void *a, void *b); -u16 GetOptForHeap(NNSiFndHeapHead *pHeapHd); -void SetOptForHeap(NNSiFndHeapHead *pHeapHd, u16 optFlag); -void FillAllocMemory(NNSiFndHeapHead *pHeapHd, void *address, size_t size); -void FillFreeMemory(NNSiFndHeapHead *pHeapHd, void *address, size_t size); -void FillNoUseMemory(NNSiFndHeapHead *pHeapHd, void *address, size_t size); -void SetFirstObject(NNSFndList *list, void *obj); -void NNS_FndInitList(NNSFndList *list, u16 offset); -void NNS_FndAppendListObject(NNSFndList *list, void *obj); -void NNS_FndRemoveListObject(NNSFndList *list, void *obj); -void *NNS_FndGetNextListObject(NNSFndList *list, void *obj); - -NNSiFndUntHeapMBlockHead *PopMBlock(NNSiFndUntMBlockList *list); -void PushMBlock(NNSiFndUntMBlockList *list, NNSiFndUntHeapMBlockHead *block); -NNSiFndUntHeapHead *GetUnitHeapHeadPtrFromHeapHead(NNSiFndHeapHead *pHeapHd); -BOOL IsValidUnitHeapHandle(NNSiFndHeapHead *handle); -NNSiFndHeapHead *NNS_FndCreateUnitHeap(void *startAddress, u32 heapSize, u32 memBlockSize); -u32 NNS_FndGetMemBlockSizeForUnitHeap(NNSiFndHeapHead *heap); -NNSiFndHeapHead *NNS_FndCreateUnitHeapEx(void *startAddress, u32 heapSize, u32 memBlockSize, s32 alignment, u16 optFlag); -void NNS_FndDestroyUnitHeap(NNSiFndHeapHead *heap); -void *NNS_FndAllocFromUnitHeap(NNSiFndHeapHead *heap); -void NNS_FndFreeToUnitHeap(NNSiFndHeapHead *heap, void *memBlock); -u32 NNS_FndCountFreeBlockForUnitHeap(NNSiFndHeapHead *heap); +u32 NNSiGetUIntPtr(void* ptr); + +u32 GetOffsetFromPtr(void* start, void* end); +void* AddU32ToPtr(void* ptr, u32 val); +void* AddU32ToCPtr(void* ptr, u32 val); +void* SubU32ToPtr(void* ptr, u32 val); +void* SubU32ToCPtr(void* ptr, u32 val); +s32 ComparePtr(void* a, void* b); +u16 GetOptForHeap(NNSiFndHeapHead* pHeapHd); +void SetOptForHeap(NNSiFndHeapHead* pHeapHd, u16 optFlag); +void FillAllocMemory(NNSiFndHeapHead* pHeapHd, void* address, size_t size); +void FillFreeMemory(NNSiFndHeapHead* pHeapHd, void* address, size_t size); +void FillNoUseMemory(NNSiFndHeapHead* pHeapHd, void* address, size_t size); +void SetFirstObject(NNSFndList* list, void* obj); +void NNS_FndInitList(NNSFndList* list, u16 offset); +void NNS_FndAppendListObject(NNSFndList* list, void* obj); +void NNS_FndRemoveListObject(NNSFndList* list, void* obj); +void* NNS_FndGetNextListObject(NNSFndList* list, void* obj); + +NNSiFndUntHeapMBlockHead* PopMBlock(NNSiFndUntMBlockList* list); +void PushMBlock(NNSiFndUntMBlockList* list, NNSiFndUntHeapMBlockHead* block); +NNSiFndUntHeapHead* GetUnitHeapHeadPtrFromHeapHead(NNSiFndHeapHead* pHeapHd); +BOOL IsValidUnitHeapHandle(NNSiFndHeapHead* handle); +NNSiFndHeapHead* NNS_FndCreateUnitHeap(void* startAddress, u32 heapSize, u32 memBlockSize); +u32 NNS_FndGetMemBlockSizeForUnitHeap(NNSiFndHeapHead* heap); +NNSiFndHeapHead* NNS_FndCreateUnitHeapEx(void* startAddress, u32 heapSize, u32 memBlockSize, s32 alignment, u16 optFlag); +void NNS_FndDestroyUnitHeap(NNSiFndHeapHead* heap); +void* NNS_FndAllocFromUnitHeap(NNSiFndHeapHead* heap); +void NNS_FndFreeToUnitHeap(NNSiFndHeapHead* heap, void* memBlock); +u32 NNS_FndCountFreeBlockForUnitHeap(NNSiFndHeapHead* heap); u32 NNS_FndCalcHeapSizeForUnitHeap(u32 memBlockSize, u32 memBlockNum, s32 alignment); -NNSiFndHeapHead *func_02001488(void); +NNSiFndHeapHead* func_02001488(void); //! TODO: figure it out // list = NNSFndList, obj = void* diff --git a/libs/nns/include/nns/font.h b/libs/nns/include/nns/font.h index b31bc82e6..146c3a128 100644 --- a/libs/nns/include/nns/font.h +++ b/libs/nns/include/nns/font.h @@ -6,12 +6,12 @@ extern "C" { #endif typedef struct Font_UnkStruct1 { - /* 00 */ void *mpFINF; // pointer to the FINF section of the FNTR file - /* 04 */ void *mUnk_04; // pointer to a function + /* 00 */ void* mpFINF; // pointer to the FINF section of the FNTR file + /* 04 */ void* mUnk_04; // pointer to a function /* 08 */ } Font_UnkStruct1; -void NNS_G2dFontInitUTF16(Font_UnkStruct1 *pFont_UnkStruct1, void *pFontFile); +void NNS_G2dFontInitUTF16(Font_UnkStruct1* pFont_UnkStruct1, void* pFontFile); #ifdef __cplusplus } diff --git a/libs/nns/include/nns/g3d/g3d.h b/libs/nns/include/nns/g3d/g3d.h index bd2ed29d7..3a7021c0f 100644 --- a/libs/nns/include/nns/g3d/g3d.h +++ b/libs/nns/include/nns/g3d/g3d.h @@ -8,7 +8,7 @@ extern "C" { #endif struct G3d_RenderState_; -typedef void (*G3d_CallbackFunction)(struct G3d_RenderState_ *); +typedef void (*G3d_CallbackFunction)(struct G3d_RenderState_*); typedef struct G3d_NameList_ { /* 00 */ u8 dummy; @@ -16,7 +16,7 @@ typedef struct G3d_NameList_ { /* 02 */ u16 size; // size of this NameList in bytes /* 04 */ u16 dummy2; /* 06 */ u16 ofsHeader; // offset to the G3d_NameList_Header - /* 08 */ void *entry[1]; // variable size + /* 08 */ void* entry[1]; // variable size /* 0C */ } G3d_NameList; @@ -51,7 +51,7 @@ typedef struct G3d_Animation_ { /* 00 */ PAD(0x00, 0x04); /* 04 */ s32 mUnk_04; /* 08 */ PAD(0x08, 0x10); - /* 10 */ struct G3d_Animation_ *next; // next animation in the list + /* 10 */ struct G3d_Animation_* next; // next animation in the list /* 14 */ u8 mUnk_14[0x5]; /* 19 */ u8 numElmnts; // number of elements in the elementBinds array /* 1A */ u16 elementBinds[1]; // each bit corresponds to a bone/material and determines whether an animation exists for it @@ -114,22 +114,22 @@ typedef enum { // Structure that handles the parameters for drawing a model typedef struct G3d_RenderObject_ { /* 00 */ u32 flag; // G3d_RenderObjFlag - /* 04 */ G3d_Model *model; - /* 08 */ G3d_Animation *matAnim; // material animation - /* 0C */ void *mUnk_0C; - /* 10 */ G3d_Animation *jntAnim; // joint animation - /* 14 */ void *mUnk_14; - /* 18 */ G3d_Animation *mUnk_18; - /* 1C */ void *mUnk_1C; + /* 04 */ G3d_Model* model; + /* 08 */ G3d_Animation* matAnim; // material animation + /* 0C */ void* mUnk_0C; + /* 10 */ G3d_Animation* jntAnim; // joint animation + /* 14 */ void* mUnk_14; + /* 18 */ G3d_Animation* mUnk_18; + /* 1C */ void* mUnk_1C; /* 20 */ G3d_CallbackFunction callbackFunction; /* 24 */ u8 callbackIdx; // index of the callbackFunction in the callback array of G3d_RenderState /* 25 */ u8 mUnk_25; // related to callback /* 26 */ u16 dummy_; /* 28 */ G3d_CallbackFunction callbackInitFunc; // initializes the G3d_RenderState callback array - /* 2C */ void *modelRender; // pointer to the ModelRender that is rendering this model - /* 30 */ u8 *unkCommandsList; // if not null, this command list is used instead of the one in the model - /* 34 */ G3d_BoneMtxStruct *cacheJntAnm; - /* 38 */ void *cacheMatAnm; + /* 2C */ void* modelRender; // pointer to the ModelRender that is rendering this model + /* 30 */ u8* unkCommandsList; // if not null, this command list is used instead of the one in the model + /* 34 */ G3d_BoneMtxStruct* cacheJntAnm; + /* 38 */ void* cacheMatAnm; /* 3C */ u32 matAnimBindMap[2]; /* 44 */ u32 jntAnimBindMap[2]; /* 4C */ u32 unkAnimBindMap[2]; @@ -177,9 +177,9 @@ typedef struct G3d_MaterialAnimation_ { #define G3D_TEXIMAGE_PARM_TEX_COORD_MODE 0xC0000000 -extern void *G3d_gScaleHandlers[3]; -extern void *G3d_gSRTTransformHandlers[3]; -extern void *G3d_gTextureHandlers[4]; +extern void* G3d_gScaleHandlers[3]; +extern void* G3d_gSRTTransformHandlers[3]; +extern void* G3d_gTextureHandlers[4]; typedef struct BMDHeader { /* 00 */ u32 type; // always 'BMD0' @@ -202,43 +202,43 @@ typedef struct BMDSectionModel { /* 08 */ G3d_NameList modelList; } BMDSectionModel; -void G3d_0200e6a0(const G3d_Model *pModel, s32 param2, s32 param3); -u32 *G3d_0200f05c(const G3d_NameList *pNameList, const char *pName); -s32 func_0200f218(G3d_NameList *pNameList, const char *pName); -void func_0200ea38(const G3d_Model *pModel, s32 matId, s32 param3); +void G3d_0200e6a0(const G3d_Model* pModel, s32 param2, s32 param3); +u32* G3d_0200f05c(const G3d_NameList* pNameList, const char* pName); +s32 func_0200f218(G3d_NameList* pNameList, const char* pName); +void func_0200ea38(const G3d_Model* pModel, s32 matId, s32 param3); -static inline G3d_NameList *G3d_GetBoneList(const G3d_Model *mdl) { - return mdl != NULL ? (G3d_NameList *) &mdl->boneList : NULL; +static inline G3d_NameList* G3d_GetBoneList(const G3d_Model* mdl) { + return mdl != NULL ? (G3d_NameList*) &mdl->boneList : NULL; } -static inline G3d_Material_List *NNS_G3dGetMat(const G3d_Model *mdl) { - return mdl != NULL && mdl->offMat != 0 ? (G3d_Material_List *) ((u8 *) mdl + mdl->offMat) : NULL; +static inline G3d_Material_List* NNS_G3dGetMat(const G3d_Model* mdl) { + return mdl != NULL && mdl->offMat != 0 ? (G3d_Material_List*) ((u8*) mdl + mdl->offMat) : NULL; } //! TODO: find real name -static inline s32 NNS_G3dGetUnkMatDataByName(G3d_Material_List *pMat, const char *pName) { +static inline s32 NNS_G3dGetUnkMatDataByName(G3d_Material_List* pMat, const char* pName) { return pMat != NULL ? func_0200f218(&pMat->materials, pName) : -1; } -static inline G3d_NameList *G3d_GetMesh(const G3d_Model *mdl) { - return mdl != NULL && mdl->offMesh != 0 ? (G3d_NameList *) ((u8 *) mdl + mdl->offMesh) : NULL; +static inline G3d_NameList* G3d_GetMesh(const G3d_Model* mdl) { + return mdl != NULL && mdl->offMesh != 0 ? (G3d_NameList*) ((u8*) mdl + mdl->offMesh) : NULL; } -static inline u32 *NNS_G3dGetResDataByIdx(const G3d_NameList *pList, u8 index) { +static inline u32* NNS_G3dGetResDataByIdx(const G3d_NameList* pList, u8 index) { if (pList != NULL && index < pList->numElmnts) { - G3d_NameList_Header *pHeader = (G3d_NameList_Header *) ((u8 *) pList + pList->ofsHeader); - return (u32 *) ((u8 *) pHeader + offsetof(G3d_NameList_Header, data) + pHeader->element_size * index); + G3d_NameList_Header* pHeader = (G3d_NameList_Header*) ((u8*) pList + pList->ofsHeader); + return (u32*) ((u8*) pHeader + offsetof(G3d_NameList_Header, data) + pHeader->element_size * index); } return NULL; } -static inline G3d_Model *NNS_G3dGetMdlByIdx(const BMDSectionModel *pSection, u8 modelIndex) { +static inline G3d_Model* NNS_G3dGetMdlByIdx(const BMDSectionModel* pSection, u8 modelIndex) { if (pSection != NULL) { - u32 *pOffset = NNS_G3dGetResDataByIdx(&pSection->modelList, modelIndex); + u32* pOffset = NNS_G3dGetResDataByIdx(&pSection->modelList, modelIndex); if (pOffset != NULL) { - return (G3d_Model *) ((u8 *) pSection + *pOffset); + return (G3d_Model*) ((u8*) pSection + *pOffset); } } @@ -246,17 +246,17 @@ static inline G3d_Model *NNS_G3dGetMdlByIdx(const BMDSectionModel *pSection, u8 } //! TODO: fake name/inline? based on `NNS_G3dGetMdlByIdx` -static inline G3d_Model *NNS_G3dGetMdl(const BMDSectionModel *pSection) { +static inline G3d_Model* NNS_G3dGetMdl(const BMDSectionModel* pSection) { return NNS_G3dGetMdlByIdx(pSection, 0); } //! TODO: determine names -static inline G3d_Model *G3d_GetUnkPtr(const BMDSectionModel *pSection, const char *name) { +static inline G3d_Model* G3d_GetUnkPtr(const BMDSectionModel* pSection, const char* name) { if (pSection != NULL) { - u32 *pOffset = G3d_0200f05c(&pSection->modelList, name); + u32* pOffset = G3d_0200f05c(&pSection->modelList, name); if (pOffset != NULL) { - return (G3d_Model *) ((u8 *) pSection + *pOffset); + return (G3d_Model*) ((u8*) pSection + *pOffset); } } @@ -268,10 +268,10 @@ typedef struct UnkG3DStruct1 { /* 34 */ u16 unk_34; } UnkG3DStruct1; -static inline void *NNS_G3dGetPlttDataByIdx(void *param1, u8 index) { - if (param1 != NULL && ((UnkG3DStruct1 *) param1)->unk_34 != 0) { - G3d_NameList *pList = (G3d_NameList *) ((u8 *) param1 + ((UnkG3DStruct1 *) param1)->unk_34); - return (void *) NNS_G3dGetResDataByIdx(pList, index); +static inline void* NNS_G3dGetPlttDataByIdx(void* param1, u8 index) { + if (param1 != NULL && ((UnkG3DStruct1*) param1)->unk_34 != 0) { + G3d_NameList* pList = (G3d_NameList*) ((u8*) param1 + ((UnkG3DStruct1*) param1)->unk_34); + return (void*) NNS_G3dGetResDataByIdx(pList, index); } return NULL; @@ -282,16 +282,16 @@ typedef struct UnkG3DStruct2 { /* 3C */ G3d_NameList unk_3C; } UnkG3DStruct2; -static inline void *NNS_G3dGetTexDataByIdx(void *param1, u8 index) { +static inline void* NNS_G3dGetTexDataByIdx(void* param1, u8 index) { if (param1 != NULL) { - return (void *) NNS_G3dGetResDataByIdx(&((UnkG3DStruct2 *) param1)->unk_3C, index); + return (void*) NNS_G3dGetResDataByIdx(&((UnkG3DStruct2*) param1)->unk_3C, index); } return NULL; } void NNS_G3dGeFlushBuffer(); -void NNS_G3dRenderObjSetCallBack(G3d_RenderObject *, G3d_CallbackFunction, s32, s32, s32); +void NNS_G3dRenderObjSetCallBack(G3d_RenderObject*, G3d_CallbackFunction, s32, s32, s32); #ifdef __cplusplus } // extern "C" diff --git a/libs/nns/include/nns/g3d/sbc.h b/libs/nns/include/nns/g3d/sbc.h index 7f178fe7d..c95eb7d90 100644 --- a/libs/nns/include/nns/g3d/sbc.h +++ b/libs/nns/include/nns/g3d/sbc.h @@ -6,7 +6,7 @@ extern "C" { #endif -extern void PushGeometryCommand(u32 command, void *data, s32 length); +extern void PushGeometryCommand(u32 command, void* data, s32 length); typedef enum { G3D_SBC_CMD_NOP = 0x0, @@ -45,8 +45,8 @@ typedef struct G3d_RenderState_B4_ { } G3d_RenderState_B4; // size = ? typedef struct G3d_RenderState_ { - /* 00 */ u8 *currentCmd; // current command being processed - /* 04 */ G3d_RenderObject *renderObj; // current render object being processed + /* 00 */ u8* currentCmd; // current command being processed + /* 04 */ G3d_RenderObject* renderObj; // current render object being processed /* 08 */ u32 flag; // G3d_RenderStateFlag /* 0C */ G3d_CallbackFunction callbackFuncs[32]; // callback function for each SBC command /* 8C */ u8 callbackSegment[32]; // determines at which segment of the SBC command to invoke the callback @@ -54,20 +54,20 @@ typedef struct G3d_RenderState_ { /* AD */ u8 currentMaterialId; /* AE */ u8 currentBoneMtxId; /* AF */ u8 dummy; - /* B0 */ G3d_MaterialAnimation *matAnim; - /* B4 */ G3d_RenderState_B4 *mUnk_B4; - /* B8 */ BOOL *visibilityPtr; // points to isVisible (0x187) + /* B0 */ G3d_MaterialAnimation* matAnim; + /* B4 */ G3d_RenderState_B4* mUnk_B4; + /* B8 */ BOOL* visibilityPtr; // points to isVisible (0x187) /* BC */ u32 mUnk_BC[2]; /* C4 */ u32 mUnk_C4[2]; /* CC */ u32 mUnk_CC[2]; - /* D4 */ G3d_NameList *boneList; - /* D8 */ const G3d_Material_List *materialList; - /* DC */ G3d_NameList *meshList; + /* D4 */ G3d_NameList* boneList; + /* D8 */ const G3d_Material_List* materialList; + /* DC */ G3d_NameList* meshList; /* E0 */ fx32 upScale; /* E4 */ fx32 downScale; - /* E8 */ void *jntScalingHandler; // scaling handler - /* EC */ void *jntSRTHandler; // SRT transform handler - /* F0 */ void *textureHandler; // texture matrix handler + /* E8 */ void* jntScalingHandler; // scaling handler + /* EC */ void* jntSRTHandler; // SRT transform handler + /* F0 */ void* textureHandler; // texture matrix handler /* F4 */ u8 mUnk_F4[0x93]; /* 187 */ u8 isVisible; } G3d_RenderState; // size = 0x188 @@ -80,17 +80,17 @@ typedef struct UnkStruct_0205ae08_ { } mUnk_1400[64]; } UnkStruct_0205ae08; -typedef void (*G3d_FuncSbc)(G3d_RenderState *, u32); +typedef void (*G3d_FuncSbc)(G3d_RenderState*, u32); extern G3d_FuncSbc G3d_FuncSbcTable[32]; -extern G3d_RenderState *G3d_gRenderState; +extern G3d_RenderState* G3d_gRenderState; extern UnkStruct_0205ae08 data_0205ae08; -void NNS_G3dDraw(G3d_RenderObject *renderObj); +void NNS_G3dDraw(G3d_RenderObject* renderObj); -static inline u32 G3d_FindInBitArray(const u32 *arr, u32 idx) { +static inline u32 G3d_FindInBitArray(const u32* arr, u32 idx) { return (u32) (arr[idx >> 5] & (1 << (idx & 31))); } -static inline void G3d_SetBitArray(u32 *arr, u32 idx) { +static inline void G3d_SetBitArray(u32* arr, u32 idx) { arr[idx >> 5] |= 1 << (idx & 31); } @@ -110,16 +110,16 @@ static inline void G3d_RestoreMtx_inline(u32 idx) { PushGeometryCommand(0x14, &idx, 1); } -static inline void G3d_MtxMult44_inline(const MtxFx44 *m) { - PushGeometryCommand(0x18, (u32 *) m, 0x10); +static inline void G3d_MtxMult44_inline(const MtxFx44* m) { + PushGeometryCommand(0x18, (u32*) m, 0x10); } -static inline void G3d_MtxMult43_inline(const MtxFx43 *m) { - PushGeometryCommand(0x19, (u32 *) m, 12); +static inline void G3d_MtxMult43_inline(const MtxFx43* m) { + PushGeometryCommand(0x19, (u32*) m, 12); } -static inline void G3d_MtxMult33_inline(const MtxFx33 *m) { - PushGeometryCommand(0x1A, (u32 *) m, 9); +static inline void G3d_MtxMult33_inline(const MtxFx33* m) { + PushGeometryCommand(0x1A, (u32*) m, 9); } static inline void G3d_Scale_inline(fx32 x, fx32 y, fx32 z) { @@ -127,18 +127,18 @@ static inline void G3d_Scale_inline(fx32 x, fx32 y, fx32 z) { vec.x = x; vec.y = y; vec.z = z; - PushGeometryCommand(0x1B, (u32 *) &vec, 3); + PushGeometryCommand(0x1B, (u32*) &vec, 3); } -static inline s32 G3d_GetCurBoneId(G3d_RenderState *pRenderState) { +static inline s32 G3d_GetCurBoneId(G3d_RenderState* pRenderState) { return pRenderState->flag & G3D_RENDERST_FLAG_VALID_NODE ? pRenderState->currentBoneId : -1; } -static inline s32 G3d_GetCurMatId(G3d_RenderState *pRenderState) { +static inline s32 G3d_GetCurMatId(G3d_RenderState* pRenderState) { return pRenderState->flag & G3D_RENDERST_FLAG_VALID_MAT ? pRenderState->currentMaterialId : -1; } -static inline s32 G3d_GetCurBoneMtxId(G3d_RenderState *pRenderState) { +static inline s32 G3d_GetCurBoneMtxId(G3d_RenderState* pRenderState) { return pRenderState->flag & G3D_RENDERST_FLAG_VALID_BONEMTX ? pRenderState->currentBoneMtxId : -1; } diff --git a/libs/nns/include/nns/snd.h b/libs/nns/include/nns/snd.h index 1c0c933a8..46e6d765a 100644 --- a/libs/nns/include/nns/snd.h +++ b/libs/nns/include/nns/snd.h @@ -9,20 +9,20 @@ extern "C" { void NNS_SndSetMonoFlag(s32); void NNS_SndInit(); -void NNS_SndHandleInit(void *param1); +void NNS_SndHandleInit(void* param1); -BOOL NNS_SndCaptureStartEffect(void *, int, int, int, int, void *, int); +BOOL NNS_SndCaptureStartEffect(void*, int, int, int, int, void*, int); void NNS_SndCaptureStopEffect(); BOOL NNS_SndArcLoadBank(s32 param1, s32 param2); -void NNS_SndArcInit(void *param1, const char *soundDataPath, s32 param2, s32 param3); +void NNS_SndArcInit(void* param1, const char* soundDataPath, s32 param2, s32 param3); void NNS_SndArcPlayerSetup(s32 param1); -void *NNS_SndHeapCreate(void *param1, size_t param2); +void* NNS_SndHeapCreate(void* param1, size_t param2); void NNS_SndHeapSaveState(s32 param1); -void NNS_SndPlayerStopSeq(void *param1, s32 param2); -s32 NNS_SndPlayerGetSeqNo(void *param1); +void NNS_SndPlayerStopSeq(void* param1, s32 param2); +s32 NNS_SndPlayerGetSeqNo(void* param1); #ifdef __cplusplus } diff --git a/libs/nns/include/nns/text.h b/libs/nns/include/nns/text.h index 40b894f63..3918c62c7 100644 --- a/libs/nns/include/nns/text.h +++ b/libs/nns/include/nns/text.h @@ -10,10 +10,10 @@ extern "C" { struct Text_UnkStruct2; struct Text_UnkStruct4; -typedef void (*Text_UnkCallback1)(Text_UnkStruct2 *param1, void *param2, unk32 param3, unk32 param4, unk32 param5, - Text_UnkStruct4 *param6); -typedef void (*Text_UnkCallback2)(Text_UnkStruct2 *param1, unk32 param2); -typedef void (*Text_UnkCallback3)(Text_UnkStruct2 *param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5, +typedef void (*Text_UnkCallback1)(Text_UnkStruct2* param1, void* param2, unk32 param3, unk32 param4, unk32 param5, + Text_UnkStruct4* param6); +typedef void (*Text_UnkCallback2)(Text_UnkStruct2* param1, unk32 param2); +typedef void (*Text_UnkCallback3)(Text_UnkStruct2* param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5, unk32 param6); typedef struct Text_UnkStruct5 { @@ -23,8 +23,8 @@ typedef struct Text_UnkStruct5 { } Text_UnkStruct5; typedef struct Text_UnkStruct4 { - /* 00 */ Text_UnkStruct5 *unk_00; - /* 04 */ void *unk_04; + /* 00 */ Text_UnkStruct5* unk_00; + /* 04 */ void* unk_04; } Text_UnkStruct4; typedef struct Text_UnkStruct3 { @@ -34,7 +34,7 @@ typedef struct Text_UnkStruct3 { } Text_UnkStruct3; typedef struct Text_UnkStruct2 { - /* 00 */ void *unk_00; + /* 00 */ void* unk_00; /* 04 */ unk32 unk_04; /* 08 */ unk32 unk_08; /* 0C */ unk8 unk_0C; @@ -42,12 +42,12 @@ typedef struct Text_UnkStruct2 { /* 0E */ unk8 unk_0E; /* 0F */ unk8 unk_0F; /* 10 */ unk32 unk_10; - /* 14 */ Text_UnkStruct3 *unk_14; + /* 14 */ Text_UnkStruct3* unk_14; } Text_UnkStruct2; typedef struct Text_UnkStruct1 { - /* 00 */ Text_UnkStruct2 *unk_00; - /* 04 */ void *unk_04; + /* 00 */ Text_UnkStruct2* unk_00; + /* 04 */ void* unk_04; /* 08 */ unk32 unk_08; /* 0C */ unk32 unk_0C; } Text_UnkStruct1; diff --git a/libs/nns/src/g3d/sbc.c b/libs/nns/src/g3d/sbc.c index 32c672a2d..3a9a209e6 100644 --- a/libs/nns/src/g3d/sbc.c +++ b/libs/nns/src/g3d/sbc.c @@ -43,32 +43,32 @@ extern UnkStruct_027e037c data_027e0208; #define GX_PACK_TEXCOORD_PARAM(s, t) (GX_ST((s), (t))) extern void NNS_G3dGeFlushBuffer(); -extern s32 func_02024d64(MtxFx44 *matrix); -extern MtxFx43 *func_0200c198(); -extern MtxFx43 *func_0200c23c(); -extern MtxFx43 *func_0200c270(); -extern s32 func_02024d94(MtxFx33 *matrix); -extern void G3_MultMtx43(void *param1); -extern void G3_LoadMtx43(MtxFx43 *matrix); -extern void func_01ff8dac(const void *param1, u32 param2); -extern void G3_MultMtx33(MtxFx33 *param1); +extern s32 func_02024d64(MtxFx44* matrix); +extern MtxFx43* func_0200c198(); +extern MtxFx43* func_0200c23c(); +extern MtxFx43* func_0200c270(); +extern s32 func_02024d94(MtxFx33* matrix); +extern void G3_MultMtx43(void* param1); +extern void G3_LoadMtx43(MtxFx43* matrix); +extern void func_01ff8dac(const void* param1, u32 param2); +extern void G3_MultMtx33(MtxFx33* param1); extern MtxFx33 gGeomMatrix; extern VecFx32 gGeomTranslation; -extern void G3d_GetCurrentMtx(MtxFx43 *mtx1, MtxFx33 *mtx2); +extern void G3d_GetCurrentMtx(MtxFx43* mtx1, MtxFx33* mtx2); UnkStruct_0205ae08 data_02046c80; // Renders all SBC commands until the end of the list -void G3d_RenderSBCCommands(G3d_RenderState *renderState) { +void G3d_RenderSBCCommands(G3d_RenderState* renderState) { do { renderState->flag &= ~G3D_RENDERST_FLAG_SKIP_CALLBACK; - (*G3d_FuncSbcTable[(*renderState->currentCmd) & G3D_SBC_CMD_MASK])(renderState, (*renderState->currentCmd) & - (u32) G3D_SBC_FLG_MASK); + (*G3d_FuncSbcTable[(*renderState->currentCmd) & G3D_SBC_CMD_MASK])(renderState, + (*renderState->currentCmd) & (u32) G3D_SBC_FLG_MASK); } while (!(renderState->flag & G3D_RENDERST_FLAG_END)); } // Initializes the render state and starts rendering the SBC command list -void G3d_InitRenderState(G3d_RenderState *renderState, G3d_RenderObject *renderObj) { +void G3d_InitRenderState(G3d_RenderState* renderState, G3d_RenderObject* renderObj) { MI_CpuClearFast(renderState, sizeof(*renderState)); renderState->mUnk_C4[0] = 1; @@ -77,7 +77,7 @@ void G3d_InitRenderState(G3d_RenderState *renderState, G3d_RenderObject *renderO if (renderObj->unkCommandsList) { renderState->currentCmd = renderObj->unkCommandsList; } else { - renderState->currentCmd = (u8 *) renderObj->model + renderObj->model->offSbc; + renderState->currentCmd = (u8*) renderObj->model + renderObj->model->offSbc; } renderState->renderObj = renderObj; @@ -121,7 +121,7 @@ void G3d_InitRenderState(G3d_RenderState *renderState, G3d_RenderObject *renderO } // Sets the bits in the anim array according to the map data of the animation -void G3d_SetRenderObjAnimationMap(u32 *arr, const G3d_Animation *anim) { +void G3d_SetRenderObjAnimationMap(u32* arr, const G3d_Animation* anim) { while (anim) { int i; for (i = 0; i < anim->numElmnts; i++) { @@ -134,7 +134,7 @@ void G3d_SetRenderObjAnimationMap(u32 *arr, const G3d_Animation *anim) { } // Renders a model by processing the SBC command list -void NNS_G3dDraw(G3d_RenderObject *renderObj) { +void NNS_G3dDraw(G3d_RenderObject* renderObj) { if ((renderObj->flag & G3D_RENDEROBJ_FLAG_ANIMMAP_OUTDATED) == G3D_RENDEROBJ_FLAG_ANIMMAP_OUTDATED) { MI_CpuFill32(0, &renderObj->matAnimBindMap[0], 8); MI_CpuFill32(0, &renderObj->jntAnimBindMap[0], 8); @@ -163,7 +163,7 @@ void NNS_G3dDraw(G3d_RenderObject *renderObj) { } // Renders the NOP SBC command -void G3d_SBCRender_NOP(G3d_RenderState *renderState, u32) { +void G3d_SBCRender_NOP(G3d_RenderState* renderState, u32) { if (renderState->callbackFuncs[G3D_SBC_CMD_NOP]) { (*renderState->callbackFuncs[G3D_SBC_CMD_NOP])(renderState); } @@ -171,7 +171,7 @@ void G3d_SBCRender_NOP(G3d_RenderState *renderState, u32) { } // Renders the END SBC command -void G3d_SBCRender_END(G3d_RenderState *renderState, u32) { +void G3d_SBCRender_END(G3d_RenderState* renderState, u32) { if (renderState->callbackFuncs[G3D_SBC_CMD_END]) { (*renderState->callbackFuncs[G3D_SBC_CMD_END])(renderState); } @@ -179,7 +179,7 @@ void G3d_SBCRender_END(G3d_RenderState *renderState, u32) { } // Renders the SBC command 0x7 (unknown) -void G3d_SBCRender_007(G3d_RenderState *renderState, u32 opCode) { +void G3d_SBCRender_007(G3d_RenderState* renderState, u32 opCode) { u32 totalArgs = 2; @@ -194,8 +194,8 @@ void G3d_SBCRender_007(G3d_RenderState *renderState, u32 opCode) { }; // clang-format on - VecFx32 *translationVec = (VecFx32 *) &funcArgs[12]; - VecFx32 *scaleVec = (VecFx32 *) &funcArgs[15]; + VecFx32* translationVec = (VecFx32*) &funcArgs[12]; + VecFx32* scaleVec = (VecFx32*) &funcArgs[15]; MtxFx44 currentMtx; u8 callbackSkip; u32 callbackSegment; @@ -256,13 +256,13 @@ void G3d_SBCRender_007(G3d_RenderState *renderState, u32 opCode) { ; if (data_027e0208.flags & 1) { - const MtxFx43 *mtx1 = func_0200c23c(); + const MtxFx43* mtx1 = func_0200c23c(); MtxFx44 mtx2; MtxFx43_CopyToMtxFx44(mtx1, &mtx2); MtxFx44_Multiply(¤tMtx, &mtx2, ¤tMtx); } else if (data_027e0208.flags & 2) { - const MtxFx43 *mtx1 = &data_027e0208.mUnk_04C; + const MtxFx43* mtx1 = &data_027e0208.mUnk_04C; MtxFx44 mtx2; MtxFx43_CopyToMtxFx44(mtx1, &mtx2); @@ -273,9 +273,9 @@ void G3d_SBCRender_007(G3d_RenderState *renderState, u32 opCode) { translationVec->y = currentMtx._31; translationVec->z = currentMtx._32; - scaleVec->x = VEC_Mag((VecFx32 *) ¤tMtx._00); - scaleVec->y = VEC_Mag((VecFx32 *) ¤tMtx._10); - scaleVec->z = VEC_Mag((VecFx32 *) ¤tMtx._20); + scaleVec->x = VEC_Mag((VecFx32*) ¤tMtx._00); + scaleVec->y = VEC_Mag((VecFx32*) ¤tMtx._10); + scaleVec->z = VEC_Mag((VecFx32*) ¤tMtx._20); if (data_027e0208.flags & 1) { REG_GFX_FIFO = 0x171012; // MTX_POP | MTX_MODE | MTX_LOAD_4x3 @@ -318,7 +318,7 @@ void G3d_SBCRender_007(G3d_RenderState *renderState, u32 opCode) { } // Renders the SBC command 0x8 (unknown) -void G3d_SBCRender_008(G3d_RenderState *renderState, u32 opCode) { +void G3d_SBCRender_008(G3d_RenderState* renderState, u32 opCode) { u32 totalArgs = 2; MtxFx44 currentMtx; @@ -333,9 +333,9 @@ void G3d_SBCRender_008(G3d_RenderState *renderState, u32 opCode) { }; // clang-format on - VecFx32 *translationVec = (VecFx32 *) &funcArgs[12]; - VecFx32 *scaleVec = (VecFx32 *) &funcArgs[15]; - MtxFx43 *mtx = (MtxFx43 *) &funcArgs[3]; + VecFx32* translationVec = (VecFx32*) &funcArgs[12]; + VecFx32* scaleVec = (VecFx32*) &funcArgs[15]; + MtxFx43* mtx = (MtxFx43*) &funcArgs[3]; u8 callbackSkip; u32 callbackSegment; @@ -394,13 +394,13 @@ void G3d_SBCRender_008(G3d_RenderState *renderState, u32 opCode) { ; if (data_027e0208.flags & 1) { - const MtxFx43 *mtx1 = func_0200c23c(); + const MtxFx43* mtx1 = func_0200c23c(); MtxFx44 mtx2; MtxFx43_CopyToMtxFx44(mtx1, &mtx2); MtxFx44_Multiply(¤tMtx, &mtx2, ¤tMtx); } else if (data_027e0208.flags & 2) { - const MtxFx43 *mtx1 = &data_027e0208.mUnk_04C; + const MtxFx43* mtx1 = &data_027e0208.mUnk_04C; MtxFx44 mtx2; MtxFx43_CopyToMtxFx44(mtx1, &mtx2); @@ -411,17 +411,17 @@ void G3d_SBCRender_008(G3d_RenderState *renderState, u32 opCode) { translationVec->y = currentMtx._31; translationVec->z = currentMtx._32; - scaleVec->x = VEC_Mag((VecFx32 *) ¤tMtx._00); - scaleVec->y = VEC_Mag((VecFx32 *) ¤tMtx._10); - scaleVec->z = VEC_Mag((VecFx32 *) ¤tMtx._20); + scaleVec->x = VEC_Mag((VecFx32*) ¤tMtx._00); + scaleVec->y = VEC_Mag((VecFx32*) ¤tMtx._10); + scaleVec->z = VEC_Mag((VecFx32*) ¤tMtx._20); if (currentMtx._11 != 0 || currentMtx._12 != 0) { - VEC_Normalize((VecFx32 *) ¤tMtx._10, (VecFx32 *) &mtx->_10); + VEC_Normalize((VecFx32*) ¤tMtx._10, (VecFx32*) &mtx->_10); mtx->_21 = -mtx->_12; mtx->_22 = mtx->_11; } else { - VEC_Normalize((VecFx32 *) ¤tMtx._20, (VecFx32 *) &mtx->_20); + VEC_Normalize((VecFx32*) ¤tMtx._20, (VecFx32*) &mtx->_20); mtx->_12 = -mtx->_21; mtx->_11 = mtx->_22; @@ -469,19 +469,19 @@ void G3d_SBCRender_008(G3d_RenderState *renderState, u32 opCode) { } // Renders the Skinning Equation SBC command -void G3d_SBCRender_SKN(G3d_RenderState *renderState, u32) { - G3d_InvBindMtx *invBMtx = - (G3d_InvBindMtx *) ((u8 *) renderState->renderObj->model + renderState->renderObj->model->offInvBMtx); +void G3d_SBCRender_SKN(G3d_RenderState* renderState, u32) { + G3d_InvBindMtx* invBMtx = + (G3d_InvBindMtx*) ((u8*) renderState->renderObj->model + renderState->renderObj->model->offInvBMtx); u32 numTerms = *(renderState->currentCmd + 2); s64 weight = 0; - u8 *termPtr = renderState->currentCmd + 3; + u8* termPtr = renderState->currentCmd + 3; u32 i; struct { MtxFx43 mtx1; MtxFx33 mtx2; } mtxStruct; - MtxFx44 *mat4x; - MtxFx33 *mat3x; + MtxFx44* mat4x; + MtxFx33* mat3x; MI_CpuClearFast(&mtxStruct, sizeof(mtxStruct)); NNS_G3dGeFlushBuffer(); @@ -563,7 +563,7 @@ void G3d_SBCRender_SKN(G3d_RenderState *renderState, u32) { mtxStruct.mtx2._21 += (weight * mat3x->_21) >> 0xC; mtxStruct.mtx2._22 += (weight * mat3x->_22) >> 0xC; - G3_LoadMtx43((MtxFx43 *) &mtxStruct.mtx2); + G3_LoadMtx43((MtxFx43*) &mtxStruct.mtx2); REG_GFX_FIFO_MATRIX_MODE = 1; // Position G3_LoadMtx43(&mtxStruct.mtx1); REG_GFX_FIFO_MATRIX_MODE = 0; // Projection @@ -574,7 +574,7 @@ void G3d_SBCRender_SKN(G3d_RenderState *renderState, u32) { } // Renders the SBC command 0xA (unknown) -void G3d_SBCRender_00A(G3d_RenderState *renderState, u32) { +void G3d_SBCRender_00A(G3d_RenderState* renderState, u32) { u32 callbackSkip; u32 callbackSegment; @@ -621,7 +621,7 @@ void G3d_SBCRender_00A(G3d_RenderState *renderState, u32) { } // Renders the Scale SBC command -void G3d_SBCRender_SCL(G3d_RenderState *renderState, u32 opCode) { +void G3d_SBCRender_SCL(G3d_RenderState* renderState, u32 opCode) { VecFx32 scaleVector; if (!(renderState->flag & G3D_RENDERST_FLAG_SKIP_CMD) && !(renderState->flag & G3D_RENDERST_FLAG_SKIP_SBC_RENDER)) { @@ -636,7 +636,7 @@ void G3d_SBCRender_SCL(G3d_RenderState *renderState, u32 opCode) { } // Renders the SBC command 0xC (unknown) -void G3d_SBCRender_00C(G3d_RenderState *renderState, u32) { +void G3d_SBCRender_00C(G3d_RenderState* renderState, u32) { if (!(renderState->flag & G3D_RENDERST_FLAG_SKIP_SBC_RENDER) && (renderState->flag & G3D_RENDERST_FLAG_BONE_VISIBLE)) { u32 callbackSkip; u32 callbackSegment; @@ -682,7 +682,7 @@ void G3d_SBCRender_00C(G3d_RenderState *renderState, u32) { G3d_Scale_inline(width << 15, -height << 15, INT_TO_FX32(1) << 4); tmp = GX_PACK_TEXCOORD_PARAM(width << 11, height << 11); - PushGeometryCommand(0x22, (u32 *) &tmp, 1); // TEXCOORD + PushGeometryCommand(0x22, (u32*) &tmp, 1); // TEXCOORD } if (callbackSegment == 2) { @@ -700,20 +700,20 @@ void G3d_SBCRender_00C(G3d_RenderState *renderState, u32) { if (!callbackSkip) { u32 matIndex = *(renderState->currentCmd + 1); - G3d_Material_List *materialList = renderState->materialList; + G3d_Material_List* materialList = renderState->materialList; if (materialList != NULL) { - G3d_NameList_Header *h = (G3d_NameList_Header *) ((u8 *) &materialList->materials); + G3d_NameList_Header* h = (G3d_NameList_Header*) ((u8*) &materialList->materials); if (h != NULL) { - int numMaterials = *((u8 *) &materialList->materials + 1); + int numMaterials = *((u8*) &materialList->materials + 1); if (numMaterials < matIndex) { - u32 *materialOffset = (u32 *) (&h->data[0] + h->element_size * matIndex); - const G3d_Material *mat = (G3d_Material *) ((u8 *) materialList + *materialOffset); + u32* materialOffset = (u32*) (&h->data[0] + h->element_size * matIndex); + const G3d_Material* mat = (G3d_Material*) ((u8*) materialList + *materialOffset); if (mat->flag & 0x2000) { - const u8 *p = (const u8 *) mat + sizeof(G3d_Material); + const u8* p = (const u8*) mat + sizeof(G3d_Material); if (!(mat->flag & 2)) { p += 8; @@ -727,7 +727,7 @@ void G3d_SBCRender_00C(G3d_RenderState *renderState, u32) { p += 8; } - G3d_MtxMult44_inline((const MtxFx44 *) p); // MTX_MULT_4x4 + G3d_MtxMult44_inline((const MtxFx44*) p); // MTX_MULT_4x4 } } } @@ -749,12 +749,12 @@ void G3d_SBCRender_00C(G3d_RenderState *renderState, u32) { G3d_SetMtxMode_inline(3); // MTX_MODE = Texture if (data_027e0208.flags & 1) { - G3d_MtxMult33_inline((const MtxFx33 *) &data_027e0208.mUnk_04C); // MTX_MULT_3x3 - G3d_MtxMult33_inline(&gGeomMatrix); // MTX_MULT_3x3 - G3d_MtxMult33_inline(&m); // MTX_MULT_3x3 + G3d_MtxMult33_inline((const MtxFx33*) &data_027e0208.mUnk_04C); // MTX_MULT_3x3 + G3d_MtxMult33_inline(&gGeomMatrix); // MTX_MULT_3x3 + G3d_MtxMult33_inline(&m); // MTX_MULT_3x3 } else if (data_027e0208.flags & 2) { - G3d_MtxMult33_inline((const MtxFx33 *) &data_027e0208.mUnk_04C); // MTX_MULT_3x3 - G3d_MtxMult33_inline(&m); // MTX_MULT_3x3 + G3d_MtxMult33_inline((const MtxFx33*) &data_027e0208.mUnk_04C); // MTX_MULT_3x3 + G3d_MtxMult33_inline(&m); // MTX_MULT_3x3 } else { G3d_MtxMult33_inline(&m); // MTX_MULT_3x3 } @@ -766,7 +766,7 @@ void G3d_SBCRender_00C(G3d_RenderState *renderState, u32) { } // Renders the SBC command 0xD (unknown) -void G3d_SBCRender_00D(G3d_RenderState *renderState, u32) { +void G3d_SBCRender_00D(G3d_RenderState* renderState, u32) { if (!(renderState->flag & G3D_RENDERST_FLAG_SKIP_SBC_RENDER) && (renderState->flag & G3D_RENDERST_FLAG_BONE_VISIBLE)) { u32 callbackSkip; u32 callbackSegment; @@ -838,14 +838,14 @@ void G3d_SBCRender_00D(G3d_RenderState *renderState, u32) { if (!callbackSkip) { u32 idxMat = *(renderState->currentCmd + 1); u32 matIndex = *(renderState->currentCmd + 1); - G3d_NameList_Header *h = (G3d_NameList_Header *) ((u8 *) &renderState->materialList->materials + + G3d_NameList_Header* h = (G3d_NameList_Header*) ((u8*) &renderState->materialList->materials + renderState->materialList->materials.ofsHeader); - u32 *materialOffset = (u32 *) (&h->data[0] + h->element_size * matIndex); - const G3d_Material *mat = (G3d_Material *) ((u8 *) renderState->materialList + *materialOffset); + u32* materialOffset = (u32*) (&h->data[0] + h->element_size * matIndex); + const G3d_Material* mat = (G3d_Material*) ((u8*) renderState->materialList + *materialOffset); if (mat->flag & 0x2000) { - const MtxFx44 *effect_mtx; - const u8 *p = (const u8 *) mat + sizeof(G3d_Material); + const MtxFx44* effect_mtx; + const u8* p = (const u8*) mat + sizeof(G3d_Material); if (!(mat->flag & 2)) { p += 8; @@ -859,7 +859,7 @@ void G3d_SBCRender_00D(G3d_RenderState *renderState, u32) { p += 8; } - G3d_MtxMult44_inline((const MtxFx44 *) p); // MTX_MULT_4x4 + G3d_MtxMult44_inline((const MtxFx44*) p); // MTX_MULT_4x4 } } @@ -903,7 +903,7 @@ void G3d_SBCRender_00D(G3d_RenderState *renderState, u32) { PushGeometryCommand(0x16, &mtx, 0x10); tmp = GX_PACK_TEXCOORD_PARAM((fx32) (mtx._30 >> 4), (fx32) (mtx._31 >> 4)); - PushGeometryCommand(0x22, (u32 *) &tmp, 1); // TEXCOORD + PushGeometryCommand(0x22, (u32*) &tmp, 1); // TEXCOORD } G3d_SetMtxMode_inline(2); // MTX_MODE = Position + Vector diff --git a/libs/runtime/include/MWException.h b/libs/runtime/include/MWException.h index 0c90cb196..151e59f0f 100644 --- a/libs/runtime/include/MWException.h +++ b/libs/runtime/include/MWException.h @@ -3,31 +3,31 @@ #include -typedef void (*DestructorFunc)(void *); +typedef void (*DestructorFunc)(void*); typedef short vbase_ctor_arg_type; typedef u8 local_cond_type; typedef struct CatchInfo { - void *location; - void *typeinfo; - void *dtor; - void *sublocation; + void* location; + void* typeinfo; + void* dtor; + void* sublocation; long pointercopy; - void *stacktop; + void* stacktop; } CatchInfo; typedef struct DestructorChain { - /* 0x00 */ struct DestructorChain *next; + /* 0x00 */ struct DestructorChain* next; /* 0x04 */ DestructorFunc dtor; - /* 0x08 */ void *object; + /* 0x08 */ void* object; } DestructorChain; -void __end_catch(CatchInfo *catchinfo); +void __end_catch(CatchInfo* catchinfo); -extern DestructorChain *__global_destructor_chain; +extern DestructorChain* __global_destructor_chain; -void *__register_global_object(void *object, void *destructor, DestructorChain *link); +void* __register_global_object(void* object, void* destructor, DestructorChain* link); /** * @brief Call all static initializers @@ -39,17 +39,17 @@ extern void __call_static_initializers(void); */ extern void __destroy_global_chain(void); -extern void __throw(char *throwtype, void *location, void *dtor); +extern void __throw(char* throwtype, void* location, void* dtor); extern void __rethrow(void); -extern char __throw_catch_compare(const u8 *throwtype, const u8 *catchtype, s32 *offset_result); +extern char __throw_catch_compare(const u8* throwtype, const u8* catchtype, s32* offset_result); #define DTORARG_TYPE short #define DTORARG_PARTIAL (0) // destroy non-virtual bases #define DTORARG_COMPLETE (-1) // destroy all bases #define DTORARG_DELETE (1) // destroy all bases and delete object -#define DTORCALL_COMPLETE(dtor, objptr) (((void (*)(void *, DTORARG_TYPE)) dtor)(objptr, DTORARG_COMPLETE)) -#define DTORCALL_PARTIAL(dtor, objptr) (((void (*)(void *, DTORARG_TYPE)) dtor)(objptr, DTORARG_PARTIAL)) -#define DTORCALL_VTTOBJECT(dtor, objptr, vttptr) (((void (*)(void *, void *)) dtor)(objptr, vttptr)) +#define DTORCALL_COMPLETE(dtor, objptr) (((void (*)(void*, DTORARG_TYPE)) dtor)(objptr, DTORARG_COMPLETE)) +#define DTORCALL_PARTIAL(dtor, objptr) (((void (*)(void*, DTORARG_TYPE)) dtor)(objptr, DTORARG_PARTIAL)) +#define DTORCALL_VTTOBJECT(dtor, objptr, vttptr) (((void (*)(void*, void*)) dtor)(objptr, vttptr)) #endif diff --git a/src/000_Second/Actor/Actor.cpp b/src/000_Second/Actor/Actor.cpp index 4bc4b7da0..4f2e3a95f 100644 --- a/src/000_Second/Actor/Actor.cpp +++ b/src/000_Second/Actor/Actor.cpp @@ -33,8 +33,8 @@ Actor::Actor() { Actor::~Actor() {} -void Actor::func_ov000_0209848c(ActorProfile *param1) { - Sphere *temp_r3 = ¶m1->mUnk_04; +void Actor::func_ov000_0209848c(ActorProfile* param1) { + Sphere* temp_r3 = ¶m1->mUnk_04; unk32 temp_r2 = param1->mUnk_1C; this->mpProfile = param1; @@ -53,11 +53,11 @@ void Actor::Update() {} void Actor::vfunc_24() {} -void Actor::vfunc_28(Actor_vfunc_30 *param1) {} +void Actor::vfunc_28(Actor_vfunc_30* param1) {} void Actor::vfunc_2C(unk32 param1) {} -void Actor::vfunc_30(Actor_vfunc_30 *param1) {} +void Actor::vfunc_30(Actor_vfunc_30* param1) {} unk32 Actor::vfunc_34() { return 1; @@ -77,14 +77,14 @@ void Actor::func_ov000_020984f0() { } } -void Actor::GetOffsetPos(VecFx32 *pPos) const { +void Actor::GetOffsetPos(VecFx32* pPos) const { pPos->x = this->mPos.x; pPos->y = this->mPos.y; pPos->z = this->mPos.z; pPos->y += this->mYOffset; } -VecFx32 *Actor::func_ov000_0209853c(PlayerType playerType) { +VecFx32* Actor::func_ov000_0209853c(PlayerType playerType) { return data_027e0ce0->func_01fff148(playerType); } @@ -102,7 +102,7 @@ unk8 Actor::vfunc_0C() { bool Actor::Grab(ActorGrabParams grabParams) { // fake match? - if (GET_FLAG((volatile ActorFlags *) this->mFlags, ActorFlag_Grabbed)) { + if (GET_FLAG((volatile ActorFlags*) this->mFlags, ActorFlag_Grabbed)) { return false; } @@ -127,9 +127,9 @@ bool Actor::Grab(ActorGrabParams grabParams) { return true; } -bool Actor::Drop(ActorGrabParams param2, const VecFx32 *pVel) { +bool Actor::Drop(ActorGrabParams param2, const VecFx32* pVel) { // fake match? - if (!GET_FLAG((volatile ActorFlags *) this->mFlags, ActorFlag_Grabbed)) { + if (!GET_FLAG((volatile ActorFlags*) this->mFlags, ActorFlag_Grabbed)) { return false; } diff --git a/src/000_Second/Actor/ActorEventIcon.cpp b/src/000_Second/Actor/ActorEventIcon.cpp index 51ffa23ad..3fdb78bc4 100644 --- a/src/000_Second/Actor/ActorEventIcon.cpp +++ b/src/000_Second/Actor/ActorEventIcon.cpp @@ -3,7 +3,7 @@ DECL_PROFILE(ActorProfileEventIcon); -Actor *ActorProfileEventIcon::Create() { +Actor* ActorProfileEventIcon::Create() { return new(HeapIndex_2) ActorEventIcon(); } diff --git a/src/000_Second/Actor/ActorManager.cpp b/src/000_Second/Actor/ActorManager.cpp index f8e181b16..920c5a002 100644 --- a/src/000_Second/Actor/ActorManager.cpp +++ b/src/000_Second/Actor/ActorManager.cpp @@ -15,5 +15,5 @@ static ActorId gActorProfileLookupTable[] = { // }; DTCM_BEGIN; -ActorManager *gpActorManager; +ActorManager* gpActorManager; DTCM_END; diff --git a/src/000_Second/Actor/ActorUnkEFIK.cpp b/src/000_Second/Actor/ActorUnkEFIK.cpp index 252dd3a07..9b8accc79 100644 --- a/src/000_Second/Actor/ActorUnkEFIK.cpp +++ b/src/000_Second/Actor/ActorUnkEFIK.cpp @@ -9,7 +9,7 @@ DECL_PROFILE(ActorProfileUnkEFIK); -Actor *ActorProfileUnkEFIK::Create() { +Actor* ActorProfileUnkEFIK::Create() { return new(HeapIndex_2) ActorUnkEFIK(); } @@ -48,7 +48,7 @@ void ActorUnkEFIK::Update() { for (int i = 0; i < length; i++) { u8 j; u8 k; - MapManagerBase *pUVar5 = gpCourseManager->mpMapMgr; + MapManagerBase* pUVar5 = gpCourseManager->mpMapMgr; u8 bStack_3c[2]; bStack_3c[0] = 0; diff --git a/src/000_Second/Actor/ActorUnkSWOB.cpp b/src/000_Second/Actor/ActorUnkSWOB.cpp index 4b9905aa3..f51b8c79e 100644 --- a/src/000_Second/Actor/ActorUnkSWOB.cpp +++ b/src/000_Second/Actor/ActorUnkSWOB.cpp @@ -9,7 +9,7 @@ DECL_PROFILE(ActorProfileUnkSWOB); -Actor *ActorProfileUnkSWOB::Create() { +Actor* ActorProfileUnkSWOB::Create() { return new(HeapIndex_2) ActorUnkSWOB(); } diff --git a/src/000_Second/Actor/ActorUnkSWTM.cpp b/src/000_Second/Actor/ActorUnkSWTM.cpp index 3e6bcf4ad..2ae81d4df 100644 --- a/src/000_Second/Actor/ActorUnkSWTM.cpp +++ b/src/000_Second/Actor/ActorUnkSWTM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSWTM); -Actor *ActorProfileUnkSWTM::Create() { +Actor* ActorProfileUnkSWTM::Create() { return new(HeapIndex_2) ActorUnkSWTM(); } diff --git a/src/000_Second/Actor/Actor_Derived1.cpp b/src/000_Second/Actor/Actor_Derived1.cpp index bb639ec6d..4e9640638 100644 --- a/src/000_Second/Actor/Actor_Derived1.cpp +++ b/src/000_Second/Actor/Actor_Derived1.cpp @@ -14,7 +14,7 @@ void Actor_Derived1::func_ov000_020a8ae0(fx32 param1) { this->mVel.y = posY; } -Actor_Derived1::Actor_Derived1(ModelRender *param1, UnkStruct_ov000_020b31f0 *param2) : +Actor_Derived1::Actor_Derived1(ModelRender* param1, UnkStruct_ov000_020b31f0* param2) : mUnk_094(param2), mUnk_0A4(param1), mUnk_0B0(0), @@ -41,7 +41,7 @@ Actor_Derived1::Actor_Derived1(ModelRender *param1, UnkStruct_ov000_020b31f0 *pa this->mUnk_4A[0] = 5; this->mUnk_44 = 0x1F; this->mUnk_094.mUnk_08 = 3; - this->mUnk_38 = (Actor_38 *) &this->mUnk_094; + this->mUnk_38 = (Actor_38*) &this->mUnk_094; this->mUnk_0B0 |= 0x08; } @@ -85,10 +85,10 @@ void Actor_Derived1::func_ov000_020a8df0(RefStruct param1, unk32 param2) { if (this->mRef != param1) { this->vfunc_B4(); - *(u32 *) &this->mUnk_0BC = param1.Get32(); - this->mUnk_0C0.vec.x = 0; - this->mUnk_0C0.vec.y = 0; - this->mUnk_0C0.vec.z = 0; + *(u32*) &this->mUnk_0BC = param1.Get32(); + this->mUnk_0C0.vec.x = 0; + this->mUnk_0C0.vec.y = 0; + this->mUnk_0C0.vec.z = 0; this->mUnk_0B0 |= 1; } } @@ -98,7 +98,7 @@ void Actor_Derived1::vfunc_B4() { } // non-matching -void Actor_Derived1::func_ov000_020a8e9c(VecFx32 *param1) { +void Actor_Derived1::func_ov000_020a8e9c(VecFx32* param1) { fx32 z = param1->x; fx32 y = param1->y; fx32 x = param1->z; @@ -156,7 +156,7 @@ bool Actor_Derived1::vfunc_64() { return GET_FLAG(this->mFlags, ActorFlag_Interacting); } -bool Actor_Derived1::func_ov000_020a8ff4(VecFx32 *param1) {} +bool Actor_Derived1::func_ov000_020a8ff4(VecFx32* param1) {} void Actor_Derived1::vfunc_6C() {} @@ -181,7 +181,7 @@ unk32 Actor_Derived1::vfunc_84() { } // non-matching -void Actor_Derived1::func_ov000_020a91b8(VecFx32 *param1, unk32 param2) { +void Actor_Derived1::func_ov000_020a91b8(VecFx32* param1, unk32 param2) { this->func_ov000_020a8e9c(param1); if (param2 != 0) { @@ -222,7 +222,7 @@ unk32 Actor_Derived1::vfunc_A8() { return 1; } -void Actor_Derived1::func_ov000_020a9804(Actor *param1, G3d_RenderState *param2) {} +void Actor_Derived1::func_ov000_020a9804(Actor* param1, G3d_RenderState* param2) {} void Actor_Derived1::Update() {} // non-matching @@ -251,7 +251,7 @@ void Actor_Derived1::vfunc_B8() { this->func_ov017_020bf5c4(&this->mPos, 0x666, 0x666, 0x1F, 0); } -bool Actor_Derived1::vfunc_14(Cylinder *param1) {} +bool Actor_Derived1::vfunc_14(Cylinder* param1) {} void Actor_Derived1::func_ov000_020a9a20() {} void Actor_Derived1::func_ov000_020a9a34() {} void Actor_Derived1::func_ov000_020a9a50() {} diff --git a/src/000_Second/Cutscene/Cutscene.cpp b/src/000_Second/Cutscene/Cutscene.cpp index 28b225e09..42ca2c1f4 100644 --- a/src/000_Second/Cutscene/Cutscene.cpp +++ b/src/000_Second/Cutscene/Cutscene.cpp @@ -822,14 +822,14 @@ const CutsceneParamsEntry gCSParamsEntries[CutsceneIndex_Max] = { }, }; -CutsceneParamsEntry *Cutscene_GetParamEntry(s32 csIndex) { - return (CutsceneParamsEntry *) &gCSParamsEntries[csIndex]; +CutsceneParamsEntry* Cutscene_GetParamEntry(s32 csIndex) { + return (CutsceneParamsEntry*) &gCSParamsEntries[csIndex]; } s32 func_ov000_020a7840(unk32 param1, unk32 param2) {} bool Cutscene_IsAdventureFlagSet(s32 csIndex) { - CutsceneParamsEntry *pEntry = Cutscene_GetParamEntry(csIndex); + CutsceneParamsEntry* pEntry = Cutscene_GetParamEntry(csIndex); if (pEntry->mFlag == AdventureFlag_None) { return false; diff --git a/src/000_Second/Game/GameModeManagerBase_104.cpp b/src/000_Second/Game/GameModeManagerBase_104.cpp index 94c2c7893..aec376466 100644 --- a/src/000_Second/Game/GameModeManagerBase_104.cpp +++ b/src/000_Second/Game/GameModeManagerBase_104.cpp @@ -6,22 +6,22 @@ GameModeManagerBase_104::GameModeManagerBase_104() : mUnk_1A(false) {} GameModeManagerBase_104::~GameModeManagerBase_104() { - GameModeManagerBase_104_0C *pTarget = this->mUnk_0C.GetPrevTarget(); - GameModeManagerBase_104_0C *pOrigin = &this->mUnk_0C; + GameModeManagerBase_104_0C* pTarget = this->mUnk_0C.GetPrevTarget(); + GameModeManagerBase_104_0C* pOrigin = &this->mUnk_0C; while (pTarget != pOrigin) { - GameModeManagerBase_104_0C *pNext = pTarget->GetPrevTarget(); + GameModeManagerBase_104_0C* pNext = pTarget->GetPrevTarget(); delete pTarget; pTarget = pNext; } } -void GameModeManagerBase_104::vfunc_08(Input *pButtons, TouchControl *pTouchControl) {} +void GameModeManagerBase_104::vfunc_08(Input* pButtons, TouchControl* pTouchControl) {} void GameModeManagerBase_104::vfunc_0C(unk32 param1) {} -void GameModeManagerBase_104::vfunc_10(unk8 *param1) {} +void GameModeManagerBase_104::vfunc_10(unk8* param1) {} -void GameModeManagerBase_104::vfunc_14(unk8 *param1) {} +void GameModeManagerBase_104::vfunc_14(unk8* param1) {} void GameModeManagerBase_104::vfunc_18(void) {} diff --git a/src/000_Second/Game/GameModeManagerBase_104_0C.cpp b/src/000_Second/Game/GameModeManagerBase_104_0C.cpp index 6eea8a861..bf17f9205 100644 --- a/src/000_Second/Game/GameModeManagerBase_104_0C.cpp +++ b/src/000_Second/Game/GameModeManagerBase_104_0C.cpp @@ -2,6 +2,6 @@ GameModeManagerBase_104_0C::~GameModeManagerBase_104_0C() {} -void GameModeManagerBase_104_0C::vfunc_08(void *param1) {} +void GameModeManagerBase_104_0C::vfunc_08(void* param1) {} -void GameModeManagerBase_104_0C::vfunc_0C(void *param1) {} +void GameModeManagerBase_104_0C::vfunc_0C(void* param1) {} diff --git a/src/000_Second/Item/ItemManager.cpp b/src/000_Second/Item/ItemManager.cpp index e4530a244..9f90a01b6 100644 --- a/src/000_Second/Item/ItemManager.cpp +++ b/src/000_Second/Item/ItemManager.cpp @@ -191,7 +191,7 @@ bool Inventory::PotionSlotsFull() { return true; } -UnkStruct_ov000_020afc48 *ItemManager::func_ov000_020a8974(ItemFlag itemFlag) { +UnkStruct_ov000_020afc48* ItemManager::func_ov000_020a8974(ItemFlag itemFlag) { return &data_ov000_020afc48[itemFlag]; } @@ -199,7 +199,7 @@ ItemFlag ItemManager::GetEquippedItemFlag(ItemId itemId) { ItemFlag itemFlag; for (itemFlag = 0; itemFlag < ItemFlag_EQUIP_COUNT; itemFlag++) { - UnkStruct_ov000_020afc48 *pEquipItem = ItemManager::func_ov000_020a8974(itemFlag); + UnkStruct_ov000_020afc48* pEquipItem = ItemManager::func_ov000_020a8974(itemFlag); if (itemId == pEquipItem->mItemId) { return itemFlag; @@ -245,7 +245,7 @@ void ItemManager::func_ov000_020a8a5c() { this->mUnk_20->func_ov031_020db8cc(); } -bool ItemManager::func_ov000_020a8a74(UnkStruct_027e0ce0_30_00 *param1) { +bool ItemManager::func_ov000_020a8a74(UnkStruct_027e0ce0_30_00* param1) { if (this->mUnk_20 == NULL) { return false; } @@ -253,18 +253,18 @@ bool ItemManager::func_ov000_020a8a74(UnkStruct_027e0ce0_30_00 *param1) { return this->mUnk_20->func_ov031_020db8f8(param1); } -UnkStruct_ItemManager_20_00 *ItemManager::func_ov000_020a8a90() { +UnkStruct_ItemManager_20_00* ItemManager::func_ov000_020a8a90() { return this->mUnk_20 != NULL ? this->mUnk_20->mUnk_00 : NULL; } -UnkStruct_ItemManager_20_04 *ItemManager::func_ov000_020a8aa4() { +UnkStruct_ItemManager_20_04* ItemManager::func_ov000_020a8aa4() { return this->mUnk_20 != NULL ? this->mUnk_20->mUnk_04 : NULL; } -UnkStruct_ItemManager_20_0C *ItemManager::func_ov000_020a8ab8() { +UnkStruct_ItemManager_20_0C* ItemManager::func_ov000_020a8ab8() { return this->mUnk_20 != NULL ? this->mUnk_20->mUnk_0C : NULL; } -UnkStruct_ItemManager_20_10 *ItemManager::func_ov000_020a8acc() { +UnkStruct_ItemManager_20_10* ItemManager::func_ov000_020a8acc() { return this->mUnk_20 != NULL ? this->mUnk_20->mUnk_10 : NULL; } diff --git a/src/000_Second/Item/TreasureManager.cpp b/src/000_Second/Item/TreasureManager.cpp index c3be809dc..cf9b9dd19 100644 --- a/src/000_Second/Item/TreasureManager.cpp +++ b/src/000_Second/Item/TreasureManager.cpp @@ -51,24 +51,24 @@ static const u8 data_ov000_020afe79[] = {0x05, 0x1E, 0x05, 0x1E, 0x1E}; static const u8 data_ov000_020afe7e[] = {0x28, 0x0A, 0x0A, 0x0A, 0x1E}; static const u8 data_ov000_020afe83[] = {0x0A, 0x28, 0x0F, 0x0F, 0x14}; -static u8 *data_ov000_020b4e88[] = { - (u8 *) data_ov000_020afe42, (u8 *) data_ov000_020afe46, (u8 *) data_ov000_020afe4a, - (u8 *) data_ov000_020afe4e, (u8 *) data_ov000_020afe52, +static u8* data_ov000_020b4e88[] = { + (u8*) data_ov000_020afe42, (u8*) data_ov000_020afe46, (u8*) data_ov000_020afe4a, + (u8*) data_ov000_020afe4e, (u8*) data_ov000_020afe52, }; -static u8 *data_ov000_020b4e74[] = { - (u8 *) data_ov000_020afe5b, (u8 *) data_ov000_020afe60, (u8 *) data_ov000_020afe65, - (u8 *) data_ov000_020afe6a, (u8 *) data_ov000_020afe6f, +static u8* data_ov000_020b4e74[] = { + (u8*) data_ov000_020afe5b, (u8*) data_ov000_020afe60, (u8*) data_ov000_020afe65, + (u8*) data_ov000_020afe6a, (u8*) data_ov000_020afe6f, }; -static u8 *data_ov000_020b4e9c[] = { - (u8 *) data_ov000_020afe3e, (u8 *) data_ov000_020afe3c, (u8 *) data_ov000_020afe3a, - (u8 *) data_ov000_020afe40, (u8 *) data_ov000_020afe38, +static u8* data_ov000_020b4e9c[] = { + (u8*) data_ov000_020afe3e, (u8*) data_ov000_020afe3c, (u8*) data_ov000_020afe3a, + (u8*) data_ov000_020afe40, (u8*) data_ov000_020afe38, }; -static u8 *data_ov000_020b4e60[] = { - (u8 *) data_ov000_020afe74, (u8 *) data_ov000_020afe79, (u8 *) data_ov000_020afe7e, - (u8 *) data_ov000_020afe83, (u8 *) data_ov000_020afe56, +static u8* data_ov000_020b4e60[] = { + (u8*) data_ov000_020afe74, (u8*) data_ov000_020afe79, (u8*) data_ov000_020afe7e, + (u8*) data_ov000_020afe83, (u8*) data_ov000_020afe56, }; extern u32 data_ov000_020afec4[]; @@ -85,7 +85,7 @@ extern u16 data_ov000_020afe8c; extern u16 data_ov000_020afe90; extern u16 data_ov000_020afe94; -TreasureManager *TreasureManager::Create() { +TreasureManager* TreasureManager::Create() { return new(HeapIndex_1) TreasureManager(); } @@ -95,7 +95,7 @@ TreasureManager::TreasureManager() { TreasureManager::~TreasureManager() {} -void TreasureManager::func_ov000_020a9b10(void *param1) { +void TreasureManager::func_ov000_020a9b10(void* param1) { MI_CpuCopyFast(param1, this, sizeof(TreasureManager)); } @@ -183,7 +183,7 @@ void TreasureManager::func_ov000_020a9cbc(TreasureType type, s32 amount) { this->mUnk_3C[type] = newAmount; } -u32 TreasureManager::func_ov000_020a9cfc(u8 *param1, u8 param2) { +u32 TreasureManager::func_ov000_020a9cfc(u8* param1, u8 param2) { s32 uVar2 = gRandom.Next32(100); s32 iVar1 = 0; diff --git a/src/000_Second/MapObject/MapObject.cpp b/src/000_Second/MapObject/MapObject.cpp index 80a9376da..e00a534be 100644 --- a/src/000_Second/MapObject/MapObject.cpp +++ b/src/000_Second/MapObject/MapObject.cpp @@ -20,14 +20,14 @@ MapObject::MapObject() { this->mUnk_20.Init(); this->mRef.Reset(); - UnkStruct_ov000_020b5d34 *ptr1 = &data_ov000_020b5d34; + UnkStruct_ov000_020b5d34* ptr1 = &data_ov000_020b5d34; this->mpProfile = ptr1->mpProfile; - UnkStruct_ov000_020b5d34_00 *ptr2 = ptr1->mUnk_00; + UnkStruct_ov000_020b5d34_00* ptr2 = ptr1->mUnk_00; this->mRef = *ptr2->mUnk_00; - VecFx32 *ptr = ptr2->mUnk_08; + VecFx32* ptr = ptr2->mUnk_08; this->mPos.x = ptr->x; this->mPos.y = ptr->y; this->mPos.z = ptr->z; @@ -50,13 +50,13 @@ bool MapObject::Init() { void MapObject::Setup() {} -void MapObject::func_ov000_0209d0bc(Vec2bCpp *param1, MapObject *thisx) { +void MapObject::func_ov000_0209d0bc(Vec2bCpp* param1, MapObject* thisx) { VecFx32 pos; Vec2p out; - UnkStruct_027e0cd8_10 *ptr = gpCourseManager->mUnk_10; + UnkStruct_027e0cd8_10* ptr = gpCourseManager->mUnk_10; pos = thisx->mPos; - func_01fff6d0(ptr, &pos, (fx32 *) &out.y, (fx32 *) &out.x); + func_01fff6d0(ptr, &pos, (fx32*) &out.y, (fx32*) &out.x); Vec2p temp; temp.y = out.x; @@ -67,17 +67,17 @@ void MapObject::func_ov000_0209d0bc(Vec2bCpp *param1, MapObject *thisx) { bool MapObject::func_ov000_0209d114() { bool result[2]; - MapObject::func_ov000_0209d0bc((Vec2bCpp *) &result, this); + MapObject::func_ov000_0209d0bc((Vec2bCpp*) &result, this); return result[0]; } bool MapObject::func_ov000_0209d12c() { bool result[2]; - MapObject::func_ov000_0209d0bc((Vec2bCpp *) &result, this); + MapObject::func_ov000_0209d0bc((Vec2bCpp*) &result, this); return result[1]; } -bool MapObject::func_ov000_0209d144(Vec2s *param1, unk32 param2, UnkStruct_027e09bc_0C *param3) { +bool MapObject::func_ov000_0209d144(Vec2s* param1, unk32 param2, UnkStruct_027e09bc_0C* param3) { if (this->mUnk_10 != NULL) { u32 stack[5]; @@ -86,7 +86,7 @@ bool MapObject::func_ov000_0209d144(Vec2s *param1, unk32 param2, UnkStruct_027e0 stack[1] = 0; stack[2] = 0; - this->vfunc_2C((VecFx32 *) &stack); + this->vfunc_2C((VecFx32*) &stack); unk8 value = this->mpProfile->mUnk_04[param2]; Vec2s stack2; @@ -99,21 +99,21 @@ bool MapObject::func_ov000_0209d144(Vec2s *param1, unk32 param2, UnkStruct_027e0 return false; } -bool MapObject::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) { +bool MapObject::vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) { return true; } void MapObject::vfunc_20(RefStruct param1) {} -void MapObject::vfunc_24(MapObject *param1, VecFx32 param2) { - *(u32 *) this = 0; // ???? +void MapObject::vfunc_24(MapObject* param1, VecFx32 param2) { + *(u32*) this = 0; // ???? } unk32 MapObject::vfunc_28(PlayerType playerType, unk32 param2, unk32 param3) { return 0; } -bool MapObject::vfunc_2C(VecFx32 *param1) { +bool MapObject::vfunc_2C(VecFx32* param1) { if (this->mUnk_10 != NULL) { this->mUnk_10->vfunc_18(param1); VEC_Add(param1, &this->mPos, param1); @@ -123,7 +123,7 @@ bool MapObject::vfunc_2C(VecFx32 *param1) { return false; } -void MapObject::func_ov000_0209d22c(unk16 *param1, MapObject *thisx, PlayerType playerType) { +void MapObject::func_ov000_0209d22c(unk16* param1, MapObject* thisx, PlayerType playerType) { VecFx32 local_18; VEC_Subtract(data_027e0ce0->func_01fff148(playerType), &thisx->mPos, &local_18); *param1 = FX_Atan2Idx(local_18.x, local_18.z); @@ -141,8 +141,8 @@ void MapObject::func_ov000_0209d2c4(unk32 param1, bool param2) { gpCourseManager->func_ov000_02081d7c(this->mUnk_20.mUnk_0A[param1], this->mUnk_20.mUnk_08[param1], param2); } -void MapObject::func_ov000_0209d2f0(unk32 param1, unk32 param2, Vec2bCpp *param3) { - MapManagerBase *temp_r5 = gpCourseManager->mpMapMgr; +void MapObject::func_ov000_0209d2f0(unk32 param1, unk32 param2, Vec2bCpp* param3) { + MapManagerBase* temp_r5 = gpCourseManager->mpMapMgr; Vec2bCpp sp0(0, 0); sp0.x = this->mRef.moRef.unk_02.x; @@ -190,7 +190,7 @@ struct stack_struct { /* 08 */ }; -void MapObject::func_ov000_0209d434(s8 *param1, UnkStruct_ov019_020d24c8_28_258_00 *param2, unk32 param3) { +void MapObject::func_ov000_0209d434(s8* param1, UnkStruct_ov019_020d24c8_28_258_00* param2, unk32 param3) { Vec2s sp10; stack_struct spC; s32 var_r2; @@ -209,21 +209,21 @@ void MapObject::func_ov000_0209d434(s8 *param1, UnkStruct_ov019_020d24c8_28_258_ return; } - if (data_027e0998->vfunc_00(&this->mPos, &sp10, (RefStruct *) &this->mRef)) { //! TODO: ref conflicts + if (data_027e0998->vfunc_00(&this->mPos, &sp10, (RefStruct*) &this->mRef)) { //! TODO: ref conflicts spC.mUnk_06 = 0x00; MI_CpuFill32(0, &spC, sizeof(spC)); - spC.mUnk_05 = -1; - *(unk32 *) &spC.mUnk_00 = data_027e0998->func_ov000_02061a70(); + spC.mUnk_05 = -1; + *(unk32*) &spC.mUnk_00 = data_027e0998->func_ov000_02061a70(); spC.mUnk_06 |= 0x01; data_0204af1c.func_0201aa44(param2, &sp10, param3, &spC); } } -void MapObject::func_ov000_0209d518(VecFx32 *param1, unk32 param2, unk32 param3, u8 param4) { +void MapObject::func_ov000_0209d518(VecFx32* param1, unk32 param2, unk32 param3, u8 param4) { data_027e09b4->func_01fff60c(param1, param2, param3, param4, 0, 0); } -void MapObject::func_ov000_0209d54c(RefStruct *param1, MapObject *thisx, u16 param2, const VecFx32 *pPos, s16 param3, +void MapObject::func_ov000_0209d54c(RefStruct* param1, MapObject* thisx, u16 param2, const VecFx32* pPos, s16 param3, u16 param4) { ActorParams params; @@ -243,7 +243,7 @@ void MapObject::func_ov000_0209d54c(RefStruct *param1, MapObject *thisx, u16 par void MapObject::func_ov000_0209d5c8(RefStruct ref) { if (ref.common.unk_00 != 0) { - Actor *pActor = gpActorManager->func_01fff3b4(ref); + Actor* pActor = gpActorManager->func_01fff3b4(ref); if (pActor != NULL) { pActor->Kill(); @@ -260,7 +260,7 @@ void MapObject::func_ov000_0209d614(unk32 param1) { return; } - CourseManager *pUVar1 = gpCourseManager; + CourseManager* pUVar1 = gpCourseManager; unk32 uVar2 = this->mpProfile->func_ov000_0209c8e4(&this->mUnk_20); pUVar1->func_ov000_02081eec(this->mUnk_20.mUnk_14, uVar2, param1); } @@ -270,14 +270,14 @@ bool MapObject::func_ov000_0209d668() { return false; } - CourseManager *pUVar1 = gpCourseManager; + CourseManager* pUVar1 = gpCourseManager; unk32 uVar2 = this->mpProfile->func_ov000_0209c8e4(&this->mUnk_20); return pUVar1->func_ov000_02081f3c(this->mUnk_20.mUnk_14, uVar2); } -void MapObject::func_ov000_0209d6ac(VecFx32 *param1) { +void MapObject::func_ov000_0209d6ac(VecFx32* param1) { if (this->mUnk_10 == NULL) { - volatile VecFx32 *tempPos = &this->mPos; + volatile VecFx32* tempPos = &this->mPos; VecFx32 pos; pos.x = tempPos->x; diff --git a/src/000_Second/MapObject/MapObjectManager_000.cpp b/src/000_Second/MapObject/MapObjectManager_000.cpp index cfe4cb66d..612408ac9 100644 --- a/src/000_Second/MapObject/MapObjectManager_000.cpp +++ b/src/000_Second/MapObject/MapObjectManager_000.cpp @@ -2,14 +2,14 @@ #include "MapObject/MapObjectManager.hpp" #include "Unknown/UnkStruct_ov000_020b5d34.hpp" -MapObject *MapObjectManager::AllocateMapObject(MapObjectId mapObjId, Vec2b param2, u16 param3, unk32 param4, u8 param5) { - s16 *pUnkPos = &this->mUnk_0C[param2.y][param2.x]; +MapObject* MapObjectManager::AllocateMapObject(MapObjectId mapObjId, Vec2b param2, u16 param3, unk32 param4, u8 param5) { + s16* pUnkPos = &this->mUnk_0C[param2.y][param2.x]; if (*pUnkPos >= 0) { return NULL; } - MapObject **ppTable = this->mMapObjTable; + MapObject** ppTable = this->mMapObjTable; while (ppTable != this->mMapObjTableEnd && *ppTable != NULL ? true : false) { ppTable++; @@ -24,16 +24,16 @@ MapObject *MapObjectManager::AllocateMapObject(MapObjectId mapObjId, Vec2b param spawnData.pos.x = param2.x; spawnData.pos.y = param2.y; - gpCourseManager->mpMapMgr->func_ov000_020808f4(&sp14, (Vec2bCpp *) ¶m2, param5); + gpCourseManager->mpMapMgr->func_ov000_020808f4(&sp14, (Vec2bCpp*) ¶m2, param5); UnkStruct_ov000_020b5d34_00 args; - args.mUnk_00 = (unk32 *) &spawnData; - args.mUnk_04 = (MapObject_20 *) param4; + args.mUnk_00 = (unk32*) &spawnData; + args.mUnk_04 = (MapObject_20*) param4; args.mUnk_08 = &sp14; - args.mUnk_0C = (s16 *) ¶m3; + args.mUnk_0C = (s16*) ¶m3; data_ov000_020b5d34.mUnk_00 = &args; - MapObject *pMapObj = data_ov000_020b5d34.CreateMapObject(mapObjId); + MapObject* pMapObj = data_ov000_020b5d34.CreateMapObject(mapObjId); *ppTable = pMapObj; if (pMapObj->Init()) { @@ -42,7 +42,7 @@ MapObject *MapObjectManager::AllocateMapObject(MapObjectId mapObjId, Vec2b param // this seems to set map object table index in an array that uses tile pos to figure out which map obj it is *pUnkPos = ppTable - this->mMapObjTable; - MapObject **ppNext = ppTable + 1; + MapObject** ppNext = ppTable + 1; if (ppNext <= this->mUnk_08) { ppNext = this->mUnk_08; } diff --git a/src/000_Second/MapObject/MapObjectMiniBlocks.cpp b/src/000_Second/MapObject/MapObjectMiniBlocks.cpp index 8633dd008..655bff518 100644 --- a/src/000_Second/MapObject/MapObjectMiniBlocks.cpp +++ b/src/000_Second/MapObject/MapObjectMiniBlocks.cpp @@ -18,7 +18,7 @@ static const u32 data_ov000_020af574[] = { DECL_PROFILE(MapObjectProfileMiniBlocks); -MapObject *MapObjectProfileMiniBlocks::Create() { +MapObject* MapObjectProfileMiniBlocks::Create() { return new(HeapIndex_ITCM) MapObjectMiniBlocks(); } @@ -35,7 +35,7 @@ MapObjectMiniBlocks::MapObjectMiniBlocks() { bool MapObjectMiniBlocks::Init(void) { GET_PROFILE(MapObjectProfileMiniBlocks) ->func_ov000_0209ccd8(this->mUnk_20.mParams[1], data_ov000_020af574[this->mUnk_20.mParams[1]]); - MapManagerBase *pUnkStruct_027e0cd8_0C = gpCourseManager->mpMapMgr; + MapManagerBase* pUnkStruct_027e0cd8_0C = gpCourseManager->mpMapMgr; u8 uVar6; if (this->mUnk_20.mParams[1] != MiniBlocksVariant_BLKF) { @@ -75,7 +75,7 @@ bool MapObjectMiniBlocks::Init(void) { break; } - BMDSectionModel *pSectionModel = GET_PROFILE(MapObjectProfileMiniBlocks)->vfunc_1C(this->mUnk_20.mParams[1])->mUnk_50; + BMDSectionModel* pSectionModel = GET_PROFILE(MapObjectProfileMiniBlocks)->vfunc_1C(this->mUnk_20.mParams[1])->mUnk_50; this->mUnk_40.vfunc_08(NNS_G3dGetMdlByIdx(pSectionModel, uVar6)); unk32 var_r0_2; diff --git a/src/000_Second/MapObject/MapObjectPot_Base.cpp b/src/000_Second/MapObject/MapObjectPot_Base.cpp index 3ec965eca..6d9311bd2 100644 --- a/src/000_Second/MapObject/MapObjectPot_Base.cpp +++ b/src/000_Second/MapObject/MapObjectPot_Base.cpp @@ -53,7 +53,7 @@ bool MapObjectPot_Base::SetState(MapObjState state, unk32 param2) { } // non-matching -void MapObjectPot_Base::vfunc_24(MapObject *param1, VecFx32 param2) {} +void MapObjectPot_Base::vfunc_24(MapObject* param1, VecFx32 param2) {} // non-matching void MapObjectPot_Base::vfunc_38() {} // non-matching @@ -72,4 +72,4 @@ bool MapObjectPot_Base::vfunc_4C() { // non-matching void MapObjectPot_Base::func_ov000_0209da78(unk32 param1, unk32 param2) {} // non-matching -void MapObjectPot_Base::vfunc_50(RefStruct *param1, MapObjectPot_Base *thisx) {} +void MapObjectPot_Base::vfunc_50(RefStruct* param1, MapObjectPot_Base* thisx) {} diff --git a/src/000_Second/MapObject/MapObjectProfile.cpp b/src/000_Second/MapObject/MapObjectProfile.cpp index dc4564b50..5f2d6ab7a 100644 --- a/src/000_Second/MapObject/MapObjectProfile.cpp +++ b/src/000_Second/MapObject/MapObjectProfile.cpp @@ -7,10 +7,10 @@ extern unk8 data_ov000_020af4d4[]; -MapObjectProfile *data_ov000_020b5d3c[MapObjectIndex_Max]; +MapObjectProfile* data_ov000_020b5d3c[MapObjectIndex_Max]; UnkStruct_ov000_020b5d34 data_ov000_020b5d34; -void MapObject_20::func_ov000_0209c790(MapObjectId mapObjId, MapObjectProfile *pProfile) { +void MapObject_20::func_ov000_0209c790(MapObjectId mapObjId, MapObjectProfile* pProfile) { data_ov000_020b5d3c[UnkStruct_ov000_020b5d34::func_ov000_0209c718(mapObjId)] = pProfile; } @@ -57,15 +57,15 @@ MapObjectProfile::~MapObjectProfile() { MapObject_20::func_ov000_0209c7ac(this->mMapObjId); } -MapObjectProfile_Derived2_20 *MapObjectProfile::vfunc_04() { +MapObjectProfile_Derived2_20* MapObjectProfile::vfunc_04() { return NULL; } -unk32 MapObjectProfile::func_ov000_0209c8e4(MapObject_20 *param1) { +unk32 MapObjectProfile::func_ov000_0209c8e4(MapObject_20* param1) { return this->mUnk_0E; } -void MapObjectProfile::func_ov000_0209c8ec(MapObjectProfile *thisx) { +void MapObjectProfile::func_ov000_0209c8ec(MapObjectProfile* thisx) { if (thisx->mUnk_0F == 0) { if (thisx->mUnk_14 != 0) { thisx->func_ov000_0209c8ec(data_ov000_020b5d34.GetProfileFromId(thisx->mUnk_14)); @@ -105,7 +105,7 @@ MapObjectProfile_Derived2::~MapObjectProfile_Derived2() { this->vfunc_10(); } -MapObjectProfile_Derived2_20 *MapObjectProfile_Derived2::vfunc_04() { +MapObjectProfile_Derived2_20* MapObjectProfile_Derived2::vfunc_04() { return &this->mUnk_20; } @@ -131,7 +131,7 @@ MapObjectProfile_Derived3::MapObjectProfile_Derived3(MapObjectId mapObjId1, MapO this->mUnk_14 = mapObjId2; } -MapObjectProfile_Derived2_20 *MapObjectProfile_Derived3::vfunc_04() { +MapObjectProfile_Derived2_20* MapObjectProfile_Derived3::vfunc_04() { return this->mUnk_20; } @@ -156,12 +156,12 @@ MapObjectProfile_Derived1::MapObjectProfile_Derived1(MapObjectId mapObjId, unk32 MapObjectProfile(mapObjId), mUnk_60(param3), mUnk_64(param2) { - for (MapObjectProfile_Derived2_20 **ptr = this->mUnk_20; ptr != &this->mUnk_20[ARRAY_LEN(this->mUnk_20)]; ptr++) { + for (MapObjectProfile_Derived2_20** ptr = this->mUnk_20; ptr != &this->mUnk_20[ARRAY_LEN(this->mUnk_20)]; ptr++) { *ptr = NULL; } } -MapObjectProfile_Derived2_20 *MapObjectProfile_Derived1::vfunc_04() { +MapObjectProfile_Derived2_20* MapObjectProfile_Derived1::vfunc_04() { if (this->mUnk_64 >= 0) { return this->mUnk_20[this->mUnk_64]; } @@ -169,7 +169,7 @@ MapObjectProfile_Derived2_20 *MapObjectProfile_Derived1::vfunc_04() { return NULL; } -MapObjectProfile_Derived2_20 *MapObjectProfile_Derived1::vfunc_1C(unk32 param1) { +MapObjectProfile_Derived2_20* MapObjectProfile_Derived1::vfunc_1C(unk32 param1) { if (param1 >= 0) { return this->mUnk_20[param1]; } @@ -178,15 +178,15 @@ MapObjectProfile_Derived2_20 *MapObjectProfile_Derived1::vfunc_1C(unk32 param1) } MapObjectProfile_Derived1::~MapObjectProfile_Derived1() { - for (MapObjectProfile_Derived2_20 **ptr = this->mUnk_20; ptr != &this->mUnk_20[ARRAY_LEN(this->mUnk_20)]; ptr++) { + for (MapObjectProfile_Derived2_20** ptr = this->mUnk_20; ptr != &this->mUnk_20[ARRAY_LEN(this->mUnk_20)]; ptr++) { delete *ptr; } } void MapObjectProfile_Derived1::func_ov000_0209ccd8(unk32 param1, u32 param2) { if (this->mUnk_20[param1] == NULL) { - MapObjectProfile_Derived2_20 *ptr = new(HeapIndex_1) MapObjectProfile_Derived2_20(param2); - MapObjectProfile_Derived2_20 **ppUnk_20 = this->mUnk_20; + MapObjectProfile_Derived2_20* ptr = new(HeapIndex_1) MapObjectProfile_Derived2_20(param2); + MapObjectProfile_Derived2_20** ppUnk_20 = this->mUnk_20; ppUnk_20[param1] = ptr; ppUnk_20[param1]->func_ov000_0209cfdc(0, 0); ppUnk_20[param1]->func_ov000_020586b4(0, 0, 0, 0); @@ -201,7 +201,7 @@ void MapObjectProfile_Derived1::vfunc_08() { } void MapObjectProfile_Derived1::vfunc_0C() { - for (MapObjectProfile_Derived2_20 **ptr = this->mUnk_20; ptr != &this->mUnk_20[ARRAY_LEN(this->mUnk_20)]; ptr++) { + for (MapObjectProfile_Derived2_20** ptr = this->mUnk_20; ptr != &this->mUnk_20[ARRAY_LEN(this->mUnk_20)]; ptr++) { if (*ptr != NULL && (*ptr)->mUnk_20.mUnk_04 != NULL) { (*ptr)->func_ov000_02058914(0); } @@ -209,7 +209,7 @@ void MapObjectProfile_Derived1::vfunc_0C() { } void MapObjectProfile_Derived1::vfunc_10() { - for (MapObjectProfile_Derived2_20 **ptr = this->mUnk_20; ptr != &this->mUnk_20[ARRAY_LEN(this->mUnk_20)]; ptr++) { + for (MapObjectProfile_Derived2_20** ptr = this->mUnk_20; ptr != &this->mUnk_20[ARRAY_LEN(this->mUnk_20)]; ptr++) { if (*ptr != NULL) { DELETE(*ptr); } diff --git a/src/000_Second/MapObject/MapObjectProfile_Derived2_20.cpp b/src/000_Second/MapObject/MapObjectProfile_Derived2_20.cpp index 42d030cf6..8bfad637e 100644 --- a/src/000_Second/MapObject/MapObjectProfile_Derived2_20.cpp +++ b/src/000_Second/MapObject/MapObjectProfile_Derived2_20.cpp @@ -4,8 +4,7 @@ #include MapObjectProfile_Derived2_20::MapObjectProfile_Derived2_20(MapObjectId mapObjId2) : - MapObjectProfile_Derived2_20_Base("MapObj", (const char *) &mUnk_94, (const char *) &mUnk_94, (const char *) &mUnk_94, 0, - 0), + MapObjectProfile_Derived2_20_Base("MapObj", (const char*) &mUnk_94, (const char*) &mUnk_94, (const char*) &mUnk_94, 0, 0), unk_94(L'\0'), unk_98(L'\0'), mUnk_B0(false), @@ -22,7 +21,7 @@ void MapObjectProfile_Derived2_20::func_ov000_0209cef0() { char path[32 + 1]; size_t curLength; - ((wchar_t *) &path)[(sizeof(path) - 1) / 2] = L'\0'; + ((wchar_t*) &path)[(sizeof(path) - 1) / 2] = L'\0'; // path = "MapObj/RESID/filename.zcb" strncpy(&path[0], "MapObj/", sizeof(path) - 1); @@ -30,7 +29,7 @@ void MapObjectProfile_Derived2_20::func_ov000_0209cef0() { curLength = strlen(path); strncpy(&path[curLength], this->mArchiveName, sizeof(path) - 1 - curLength); - const char *ext = ".zcb"; + const char* ext = ".zcb"; curLength = strlen(path); strncpy(&path[curLength], ext, sizeof(path) - 1 - curLength); diff --git a/src/000_Second/MapObject/MapObjectSwitchStep.cpp b/src/000_Second/MapObject/MapObjectSwitchStep.cpp index eb57dcbf2..993ba7a32 100644 --- a/src/000_Second/MapObject/MapObjectSwitchStep.cpp +++ b/src/000_Second/MapObject/MapObjectSwitchStep.cpp @@ -16,7 +16,7 @@ UnkStruct_ov019_020d24c8_28_258_00 MapObjectSwitchStep_data_020b6118(NULL, 0); DECL_PROFILE(MapObjectProfileSwitchStep); -MapObject *MapObjectProfileSwitchStep::Create() { +MapObject* MapObjectProfileSwitchStep::Create() { return new(HeapIndex_ITCM) MapObjectSwitchStep(); } @@ -53,8 +53,8 @@ void MapObjectSwitchStep_40::func_ov000_0209dde0(void) { this->func_ov000_02057c38(6, 2); } -void MapObjectSwitchStep_40::vfunc_1C(G3d_RenderState *param1) { - G3d_NameList *iVar1 = G3d_GetBoneList(param1->renderObj->model); +void MapObjectSwitchStep_40::vfunc_1C(G3d_RenderState* param1) { + G3d_NameList* iVar1 = G3d_GetBoneList(param1->renderObj->model); uint uVar2 = iVar1 != NULL ? func_0200f218(iVar1, data_ov000_020af560) : -1; if (param1->currentCmd[1] == uVar2) { @@ -79,7 +79,7 @@ MapObjectSwitchStep::MapObjectSwitchStep() : this->mUnk_40.vfunc_08(GetModelFromProfile()); this->mUnk_A4.mpModel = this->mUnk_40.mpModel; - MapObjectProfile_Derived2_20 *temp_r6 = GET_PROFILE_20(MapObjectProfileSwitchStep); + MapObjectProfile_Derived2_20* temp_r6 = GET_PROFILE_20(MapObjectProfileSwitchStep); unk32 temp_r5 = temp_r6->func_ov000_02058a24(); this->mUnk_A4.func_ov000_020577a4(temp_r6->func_ov000_02058a84(3, data_ov000_020af550), temp_r5, true); @@ -184,7 +184,7 @@ struct stack_struct { /* 08 */ }; -void MapObjectSwitchStep::vfunc_18(s8 *param1) { +void MapObjectSwitchStep::vfunc_18(s8* param1) { if (!GET_FLAG(this->mFlags, MapObjFlag_5)) { return; } diff --git a/src/000_Second/UnkStruct_ov000_020b1c10.cpp b/src/000_Second/UnkStruct_ov000_020b1c10.cpp index 8b10b839e..21e5955b4 100644 --- a/src/000_Second/UnkStruct_ov000_020b1c10.cpp +++ b/src/000_Second/UnkStruct_ov000_020b1c10.cpp @@ -2,7 +2,7 @@ #include "math.hpp" // non-matching -UnkStruct_ov000_020b1c10::UnkStruct_ov000_020b1c10(Vec2s *param1, unk32 param2) : +UnkStruct_ov000_020b1c10::UnkStruct_ov000_020b1c10(Vec2s* param1, unk32 param2) : mUnk_0C(0), mUnk_10(param1, param2) { mUnk_1C = 0x1000; diff --git a/src/000_Second/UnkSystem1_Base.cpp b/src/000_Second/UnkSystem1_Base.cpp index 69a58ff8b..e984985ed 100644 --- a/src/000_Second/UnkSystem1_Base.cpp +++ b/src/000_Second/UnkSystem1_Base.cpp @@ -15,7 +15,7 @@ void UnkSystem1_ov000_Base::vfunc_00(unk32 param1) { void UnkSystem1_ov000_Base::vfunc_04() {} -bool UnkSystem1_ov000_Base::func_ov000_020669b4(u8 *param1) { +bool UnkSystem1_ov000_Base::func_ov000_020669b4(u8* param1) { u16 unk_06 = this->mUnk_06; if (unk_06 <= 0xFF) { @@ -40,7 +40,7 @@ void UnkSystem1_ov000_Base::func_ov000_020669dc() { this->mUnk_08 = -1; } -unk32 UnkSystem1_ov000_Base::func_ov000_02066a08(UnkStruct5 *param1) { +unk32 UnkSystem1_ov000_Base::func_ov000_02066a08(UnkStruct5* param1) { if (this->mUnk_04 == 0) { this->vfunc_08((param1->mUnk_01 << 16) | param1->mUnk_02); this->mUnk_04++; @@ -51,11 +51,11 @@ unk32 UnkSystem1_ov000_Base::func_ov000_02066a08(UnkStruct5 *param1) { return 0; } -unk32 UnkSystem1_ov000_Base::vfunc_10(u16 *param1) { +unk32 UnkSystem1_ov000_Base::vfunc_10(u16* param1) { return -1; } -bool UnkSystem1_ov000_Base::vfunc_14(FLW1Instr *param1) { +bool UnkSystem1_ov000_Base::vfunc_14(FLW1Instr* param1) { return true; } diff --git a/src/000_Second/UnkSystem1_Derived1.cpp b/src/000_Second/UnkSystem1_Derived1.cpp index 7f12f0501..f0e94ad22 100644 --- a/src/000_Second/UnkSystem1_Derived1.cpp +++ b/src/000_Second/UnkSystem1_Derived1.cpp @@ -1,7 +1,7 @@ #include "Unknown/UnkStruct_ov000_020b504c.hpp" #include "Unknown/UnkSystem1.hpp" -UnkSystem1_ov000_Derived1::UnkSystem1_ov000_Derived1(unk32 param1, UnkTextStruct1 *param2) : +UnkSystem1_ov000_Derived1::UnkSystem1_ov000_Derived1(unk32 param1, UnkTextStruct1* param2) : UnkSystem1_ov000_Base(-1) { this->mUnk_0C = param2; this->mUnk_10 = param1; @@ -42,7 +42,7 @@ unk32 UnkSystem1_ov000_Derived1::vfunc_0C() { return 0; } -unk32 UnkSystem1_ov000_Derived1::vfunc_10(u16 *param1) { +unk32 UnkSystem1_ov000_Derived1::vfunc_10(u16* param1) { switch (param1[1]) { case 1: case 2: diff --git a/src/000_Second/code_020657fc.cpp b/src/000_Second/code_020657fc.cpp index 6030e3e9a..87e564c8f 100644 --- a/src/000_Second/code_020657fc.cpp +++ b/src/000_Second/code_020657fc.cpp @@ -1,7 +1,7 @@ #include "Unknown/UICounterManager.hpp" // non-matching -UnkStruct_020d8698_24_5C_Base::UnkStruct_020d8698_24_5C_Base(unk32 param1, const u16 *param2, u16 param3, unk32 param4) { +UnkStruct_020d8698_24_5C_Base::UnkStruct_020d8698_24_5C_Base(unk32 param1, const u16* param2, u16 param3, unk32 param4) { this->mUnk_80 = 0; this->mUnk_84 = 0; @@ -12,7 +12,7 @@ UnkStruct_020d8698_24_5C_Base::UnkStruct_020d8698_24_5C_Base(unk32 param1, const } } -UnkStruct_020d8698_24_5C::UnkStruct_020d8698_24_5C(unk32 param1, const u16 *param2, u16 param3, unk32 param4) : +UnkStruct_020d8698_24_5C::UnkStruct_020d8698_24_5C(unk32 param1, const u16* param2, u16 param3, unk32 param4) : UnkStruct_020d8698_24_5C_Base(param1, param2, param3, param4) { this->mUnk_98 = 0; this->mUnk_9C = 0; diff --git a/src/001_SceneInit/Actor/ActorManager_001.cpp b/src/001_SceneInit/Actor/ActorManager_001.cpp index cd653d33a..e38ba009f 100644 --- a/src/001_SceneInit/Actor/ActorManager_001.cpp +++ b/src/001_SceneInit/Actor/ActorManager_001.cpp @@ -25,7 +25,7 @@ const ActorId data_ov001_020c2638[] = {ActorId_FOMC, ActorId_FOMA, ActorId_FOMB, const u16 data_ov001_020c2624[] = {0x01AE, 0x01AF, 0x01B0, 0x01B1, 0x01B2}; const u16 data_ov001_020c262e[] = {0x01CB, 0x01CC, 0x01CD, 0x01CE, 0x01CF}; -ActorManager *ActorManager::Create() { +ActorManager* ActorManager::Create() { return new(1, 4) ActorManager(); } @@ -57,10 +57,10 @@ ActorManager::~ActorManager() { } void ActorManager::func_ov001_020bafdc() { - Actor **ppActorTable = this->mActorTable; + Actor** ppActorTable = this->mActorTable; while (ppActorTable != this->mUnk_08) { - Actor *pActor = *ppActorTable; + Actor* pActor = *ppActorTable; if (pActor != NULL) { // alive and uninitialized? @@ -74,7 +74,7 @@ void ActorManager::func_ov001_020bafdc() { } } -void ActorManager::func_ov001_020bb018(ZOBHeader *pHeader) { +void ActorManager::func_ov001_020bb018(ZOBHeader* pHeader) { u16 unk_0A = pHeader->unk_0A; u16 unk_08 = pHeader->unk_08; @@ -99,8 +99,8 @@ void ActorManager::func_ov001_020bb018(ZOBHeader *pHeader) { delete this->mActorTable; } - this->mActorTable = (Actor **) ::operator new(allocCount * 4, HeapIndex_1); - this->mActorTableEnd = (Actor **) ((uintptr_t) this->mActorTable + allocCount * 4); + this->mActorTable = (Actor**) ::operator new(allocCount * 4, HeapIndex_1); + this->mActorTableEnd = (Actor**) ((uintptr_t) this->mActorTable + allocCount * 4); MI_CpuFill32(0, this->mActorTable, (this->mActorTableEnd - this->mActorTable) * 4); this->mUnk_08 = this->mActorTable; @@ -109,7 +109,7 @@ void ActorManager::func_ov001_020bb018(ZOBHeader *pHeader) { if (!data_027e09a4->IsSceneModeTitleScreen()) { if (data_027e09a4->IsLand() != 0) { unk32 iVar5 = data_027e09a4->CurrentSceneIndex(); - OverlayManager *pMgr; + OverlayManager* pMgr; if (iVar5 == SceneIndex_f_rabbit) { this->mUnk_34 = 0xFFFFECCD; // ~0x1332 @@ -123,7 +123,7 @@ void ActorManager::func_ov001_020bb018(ZOBHeader *pHeader) { auStack_28.func_ov000_02059270(0x08, "zdf_sword02", 0x19150000); auStack_28.func_ov000_02059270(0x0A, "whip", 0x28000000); - char *str = "rupy0"; + char* str = "rupy0"; auStack_28.func_ov000_02059270(0x0C, str, 0x2D200000); auStack_28.func_ov000_02059288(0x0D, "rupy1", 0x0C); auStack_28.func_ov000_02059288(0x0E, "rupy2", 0x0C); @@ -143,7 +143,7 @@ void ActorManager::func_ov001_020bb018(ZOBHeader *pHeader) { auStack_28.func_ov000_02059270(0x24, "drop4", 0x2D200000); auStack_28.func_ov000_02059270(0x25, "drop5", 0x2D200000); - CourseListEntry *ptr = data_027e09a0->GetCourseEntry(iVar5); + CourseListEntry* ptr = data_027e09a0->GetCourseEntry(iVar5); if ((ptr->unk_1D - 1) == 1) { auStack_28.func_ov000_02059270(0x38, "mic_0", 0x35B00000); auStack_28.func_ov000_02059270(0x39, "mic_1", 0x35B00000); @@ -176,7 +176,7 @@ void ActorManager::func_ov001_020bb018(ZOBHeader *pHeader) { if (pMgr->IsBossLast2()) { UnkStruct_StackTitleScreen auStack_64("Screen/tex2d.bin", 1); auStack_64.func_ov000_02059270(0x32, "zeldahit", 0x29200000); - char *str = "zeldatarget"; + char* str = "zeldatarget"; auStack_64.func_ov000_02059270(0x33, str, 0x2D200000); } } else if (data_027e09a4->IsTrain()) { @@ -240,11 +240,11 @@ void ActorManager::func_ov001_020bb488() { } void ActorManager::func_ov001_020bb548() { - Actor **ppActorTable = this->mActorTable; + Actor** ppActorTable = this->mActorTable; int i = 0; while (ppActorTable < this->mUnk_08) { - Actor *pActor = *ppActorTable; + Actor* pActor = *ppActorTable; if (pActor != NULL && pActor->vfunc_34() != 0) { this->func_ov000_02096e44(i); @@ -269,11 +269,11 @@ void ActorManager::func_ov001_020bb548() { } void ActorManager::func_ov001_020bb630() { - ActorProfile **piVar2 = data_ov000_020b539c_eur.func_ov000_02073dc(); - ActorProfile **piVar3 = data_ov000_020b539c_eur.func_ov000_02073e8(); + ActorProfile** piVar2 = data_ov000_020b539c_eur.func_ov000_02073dc(); + ActorProfile** piVar3 = data_ov000_020b539c_eur.func_ov000_02073e8(); while (piVar2 != piVar3) { - ActorProfile *iVar4 = *piVar2; + ActorProfile* iVar4 = *piVar2; if (iVar4 != NULL) { bool run_vfunc_08 = false; @@ -300,16 +300,16 @@ void ActorManager::func_ov001_020bb630() { } } -void ActorManager::func_ov001_020bb6b0(EntranceInfo *param1) { - ActorProfile **piVar1 = data_ov000_020b539c_eur.func_ov000_02073dc(); - ActorProfile **piVar2 = data_ov000_020b539c_eur.func_ov000_02073e8(); +void ActorManager::func_ov001_020bb6b0(EntranceInfo* param1) { + ActorProfile** piVar1 = data_ov000_020b539c_eur.func_ov000_02073dc(); + ActorProfile** piVar2 = data_ov000_020b539c_eur.func_ov000_02073e8(); while (piVar1 != piVar2) { - ActorProfile *iVar5 = *piVar1; + ActorProfile* iVar5 = *piVar1; if (iVar5 != NULL && iVar5->mUnk_38 == 0) { for (int i = 0; i < ARRAY_LEN(data_ov000_020ab1ac); i++) { - UnkStruct_ov000_020ab1ac *pEntry = &data_ov000_020ab1ac[i]; + UnkStruct_ov000_020ab1ac* pEntry = &data_ov000_020ab1ac[i]; if (pEntry->mUnk_00 == iVar5->mActorId && pEntry->mUnk_04 == param1->sceneIndex && pEntry->mUnk_08 == param1->roomIndex) { @@ -325,7 +325,7 @@ void ActorManager::func_ov001_020bb6b0(EntranceInfo *param1) { } bool ActorManager::func_ov001_020bb728(ActorId actorId) { - EntranceInfo *piVar1 = data_027e09a4->func_ov000_02070560(); + EntranceInfo* piVar1 = data_027e09a4->func_ov000_02070560(); if (piVar1->sceneIndex != SceneIndex_f_water || piVar1->roomIndex != 0) { return false; @@ -355,10 +355,10 @@ bool ActorManager::func_ov001_020bb728(ActorId actorId) { return false; } -void ActorManager::func_ov001_020bb7b0(ZeldaObjectList *pObjList) { +void ActorManager::func_ov001_020bb7b0(ZeldaObjectList* pObjList) { for (s32 i = 0; i < pObjList->header.nEntries; i++) { u32 id = pObjList->aIdList[i]; - ActorProfile *pActorProfile = data_ov000_020b539c_eur.GetProfileFromId(id); + ActorProfile* pActorProfile = data_ov000_020b539c_eur.GetProfileFromId(id); if (!this->func_ov001_020bb728(id) && pActorProfile != NULL) { pActorProfile->vfunc_08(); @@ -367,8 +367,8 @@ void ActorManager::func_ov001_020bb7b0(ZeldaObjectList *pObjList) { } void ActorManager::func_ov001_020bb7f0() { - ActorProfile **ptr1 = data_ov000_020b539c_eur.func_ov000_02073dc(); - ActorProfile **ptr2 = data_ov000_020b539c_eur.func_ov000_02073e8(); + ActorProfile** ptr1 = data_ov000_020b539c_eur.func_ov000_02073dc(); + ActorProfile** ptr2 = data_ov000_020b539c_eur.func_ov000_02073e8(); while (ptr1 != ptr2) { if (*ptr1 != NULL) { diff --git a/src/001_SceneInit/Course/CourseManager_001.cpp b/src/001_SceneInit/Course/CourseManager_001.cpp index 9e0a03863..16ea74f0b 100644 --- a/src/001_SceneInit/Course/CourseManager_001.cpp +++ b/src/001_SceneInit/Course/CourseManager_001.cpp @@ -25,7 +25,7 @@ #include #include -extern void *data_ov084_02164690; +extern void* data_ov084_02164690; struct UnkStruct7 { /* 00 */ u16 unk_00; @@ -33,7 +33,7 @@ struct UnkStruct7 { /* 04 */ }; -CourseManager *CourseManager::Create() { +CourseManager* CourseManager::Create() { return new(HeapIndex_1) CourseManager(); } @@ -47,8 +47,8 @@ CourseManager::CourseManager() : mUnk_30(-1), mUnk_34(-1) { - UnkStruct_027e09bc *ptr = data_027e09bc; - UnkSystem8 *pList = GetLinkListRef(this->mUnk_18); + UnkStruct_027e09bc* ptr = data_027e09bc; + UnkSystem8* pList = GetLinkListRef(this->mUnk_18); ptr->mUnk_48.Prepend(pList); VecFx32_Init(0, 0, 0, &this->mUnk_24); @@ -64,9 +64,9 @@ CourseManager::~CourseManager() { DELETE(this->mUnk_08); } -void CourseManager::func_ov001_020b7830(const EntranceInfo *param1) { - CourseListEntry *pEntry; - UnkStruct_func_ov000_020702a8 *pUnk1; +void CourseManager::func_ov001_020b7830(const EntranceInfo* param1) { + CourseListEntry* pEntry; + UnkStruct_func_ov000_020702a8* pUnk1; pEntry = data_027e09a0->GetCourseEntry(param1->sceneIndex); pUnk1 = data_027e09a0->func_ov000_020702a8(param1->sceneIndex); @@ -74,9 +74,9 @@ void CourseManager::func_ov001_020b7830(const EntranceInfo *param1) { wchar_t sp80[16]; sp80[0] = L'\0'; sp80[ARRAY_LEN(sp80) - 1] = L'\0'; - OS_SNPrintf((char *) sp80, sizeof(sp80), "Map/%s/course.bin", pEntry->name); + OS_SNPrintf((char*) sp80, sizeof(sp80), "Map/%s/course.bin", pEntry->name); - UnkStruct2 sp70((char *) sp80, 0x01); + UnkStruct2 sp70((char*) sp80, 0x01); sp70.func_020154ec("MCS"); bool isCS = true; @@ -85,10 +85,10 @@ void CourseManager::func_ov001_020b7830(const EntranceInfo *param1) { } UnkFileSystem3 sp60(isCS ? "MCS:objlist/npctype_1.zob" : "MCS:objlist/npctype.zob"); - gpActorManager->func_ov001_020bb018((ZOBHeader *) sp60.vfunc_08(sizeof(ZOBHeader))); + gpActorManager->func_ov001_020bb018((ZOBHeader*) sp60.vfunc_08(sizeof(ZOBHeader))); UnkFileSystem3 sp50(isCS ? "MCS:objlist/motype_1.zob" : "MCS:objlist/motype.zob"); - gpMapObjManager->func_ov001_020bacd8((ZOBHeader *) sp50.vfunc_08(sizeof(ZOBHeader))); + gpMapObjManager->func_ov001_020bacd8((ZOBHeader*) sp50.vfunc_08(sizeof(ZOBHeader))); UnkStruct7 sp4; Vec2s_Copy(&pUnk1->mUnk_10, &sp4.unk_02); @@ -123,9 +123,9 @@ void CourseManager::func_ov001_020b7830(const EntranceInfo *param1) { sp30[0] = L'\0'; sp30[ARRAY_LEN(sp30) - 1] = L'\0'; - OS_SNPrintf((char *) sp30, sizeof(sp30), "Map/%s/course.bin", data_027e09a0->GetCourseEntry(pEntry->unk_21)->name); + OS_SNPrintf((char*) sp30, sizeof(sp30), "Map/%s/course.bin", data_027e09a0->GetCourseEntry(pEntry->unk_21)->name); - UnkStruct2 sp20((const char *) sp30, 0x01); + UnkStruct2 sp20((const char*) sp30, 0x01); sp20.func_020154ec("MCT"); this->func_ov001_020b7b38(pEntry, pUnk1); } else { @@ -172,9 +172,9 @@ void CourseManager::func_ov001_020b7a7c() { gpActorManager->func_ov001_020bb414(); } -void CourseManager::func_ov001_020b7b38(const CourseListEntry *pEntry, const UnkStruct_func_ov000_020702a8 *pUnk1) { +void CourseManager::func_ov001_020b7b38(const CourseListEntry* pEntry, const UnkStruct_func_ov000_020702a8* pUnk1) { if (pEntry->saveCourseIndex < SaveCourseIndex_Max) { - SaveManager_00 *ptr = gSaveManager.mUnk_000; + SaveManager_00* ptr = gSaveManager.mUnk_000; this->mUnk_04->func_ov000_02081354(pEntry, pUnk1, &ptr->unk_030[pEntry->saveCourseIndex], false); SET_FLAG(ptr->unk_004.unk_00, pEntry->saveCourseIndex); } else { @@ -186,8 +186,8 @@ void CourseManager::func_ov001_020b7b38(const CourseListEntry *pEntry, const Unk this->mUnk_34 = pEntry->unk_21; if (this->mUnk_34 != SceneIndex_None) { - CourseListEntry *pOtherEntry = data_027e09a0->GetCourseEntry(this->mUnk_34); - UnkStruct_func_ov000_020702a8 *pOtherUnk1 = data_027e09a0->func_ov000_020702a8(this->mUnk_34); + CourseListEntry* pOtherEntry = data_027e09a0->GetCourseEntry(this->mUnk_34); + UnkStruct_func_ov000_020702a8* pOtherUnk1 = data_027e09a0->func_ov000_020702a8(this->mUnk_34); if (pOtherEntry->saveCourseIndex < SaveCourseIndex_Max) { this->mUnk_08->func_ov000_02081354(pOtherEntry, pOtherUnk1, @@ -200,7 +200,7 @@ void CourseManager::func_ov001_020b7b38(const CourseListEntry *pEntry, const Unk } } -void CourseManager::func_ov001_020b7c08(const EntranceInfo *param1, const UnkStruct_WarpUnk1_A0 *param2) { +void CourseManager::func_ov001_020b7c08(const EntranceInfo* param1, const UnkStruct_WarpUnk1_A0* param2) { EntranceInfo sceneChange(param1); Vec2s sp4; @@ -251,7 +251,7 @@ void CourseManager::func_ov001_020b7c08(const EntranceInfo *param1, const UnkStr this->func_ov001_020b7e50(); if (sceneChange.roomIndex != ROOM_INDEX_NONE) { - if (this->mUnk_30 == sceneChange.sceneIndex && DSProt_DetectNotEmulator((void *) func_ov084_0216122c) == 0) { + if (this->mUnk_30 == sceneChange.sceneIndex && DSProt_DetectNotEmulator((void*) func_ov084_0216122c) == 0) { func_ov084_021612ac(); } @@ -273,8 +273,8 @@ void CourseManager::func_ov001_020b7c08(const EntranceInfo *param1, const UnkStr } } -void CourseManager::func_ov001_020b7d64(const EntranceInfo *param1) { - UnkStruct_027e0cd8_04_0C *iVar7; +void CourseManager::func_ov001_020b7d64(const EntranceInfo* param1) { + UnkStruct_027e0cd8_04_0C* iVar7; u32 temp_r1; u16 uVar5; u16 uVar6; @@ -328,9 +328,9 @@ void CourseManager::func_ov001_020b7e50() { DELETE(this->mpMapMgr); } -void CourseManager::func_ov001_020b7e68(const EntranceInfo *param1, bool param2) { +void CourseManager::func_ov001_020b7e68(const EntranceInfo* param1, bool param2) { if (this->mUnk_10 != NULL) { - this->mUnk_10->func_ov024_020d2520((EntranceInfo *) param1); + this->mUnk_10->func_ov024_020d2520((EntranceInfo*) param1); } data_ov000_020b504c.func_ov001_020be92c(this->mUnk_04->mUnk_0C); @@ -353,21 +353,21 @@ void CourseManager::func_ov001_020b7e68(const EntranceInfo *param1, bool param2) if (data_027e09a4->IsSceneModeBattle()) { for (int i = 0; i < 4; i++) { - UnkStruct_027e0ce0 *ptr = data_027e0ce0; - const UnkStruct_ov001_020c40f4 *arg = this->mpMapMgr->func_ov001_020b8a5c(i, 0x00); + UnkStruct_027e0ce0* ptr = data_027e0ce0; + const UnkStruct_ov001_020c40f4* arg = this->mpMapMgr->func_ov001_020b8a5c(i, 0x00); ptr->func_ov001_020bc6d8(i, arg); } } else if (unk_10 == 2 || unk_10 == 4) { - UnkStruct_027e0ce0 *ptr = data_027e0ce0; - const UnkStruct_ov001_020c40f4 *arg = this->mpMapMgr->func_ov001_020b8a5c(param1->spawnIndex, 0x00); + UnkStruct_027e0ce0* ptr = data_027e0ce0; + const UnkStruct_ov001_020c40f4* arg = this->mpMapMgr->func_ov001_020b8a5c(param1->spawnIndex, 0x00); ptr->func_ov001_020bc6e8(arg); } else { - MapManagerBase *temp_pUnkC = this->mpMapMgr; + MapManagerBase* temp_pUnkC = this->mpMapMgr; u32 temp_unk118 = temp_pUnkC->mUnk_118; u8 temp_spawn = param1->spawnIndex; - UnkStruct_027e0ce0 *ptr = data_027e0ce0; + UnkStruct_027e0ce0* ptr = data_027e0ce0; - const UnkStruct_ov001_020c40f4 *spC = temp_pUnkC->func_ov001_020b8a5c(param1->spawnIndex, 0); + const UnkStruct_ov001_020c40f4* spC = temp_pUnkC->func_ov001_020b8a5c(param1->spawnIndex, 0); ptr->func_ov001_020bc6fc(spC, temp_pUnkC->func_ov001_020b8a5c(temp_spawn, 1), temp_pUnkC->mUnk_11C, temp_unk118); } @@ -385,7 +385,7 @@ void CourseManager::func_ov001_020b7e68(const EntranceInfo *param1, bool param2) gpActorManager->func_ov001_020bafdc(); if (data_027e09a4->IsSceneModeAdventure()) { - SaveManager_00 *ptr = gSaveManager.mUnk_000; + SaveManager_00* ptr = gSaveManager.mUnk_000; u16 auStack_18[2]; data_027e09a0->func_ov000_02070310(param1->sceneIndex, param1->roomIndex, &auStack_18); diff --git a/src/001_SceneInit/Course/MapManagerBase_001.cpp b/src/001_SceneInit/Course/MapManagerBase_001.cpp index 8e9f55d8d..6f45083cb 100644 --- a/src/001_SceneInit/Course/MapManagerBase_001.cpp +++ b/src/001_SceneInit/Course/MapManagerBase_001.cpp @@ -31,14 +31,14 @@ static const EntranceInfo data_ov001_020c2a40[] = { }; // https://decomp.me/scratch/JcRNn -MapManagerBase::MapManagerBase(CourseManager *pCourseMgr) : +MapManagerBase::MapManagerBase(CourseManager* pCourseMgr) : mUnk_004(NULL, 0x9B, 0x01, 0x01), mSceneRender(NULL), mUnk_070(NULL, 0x9B, 0x01, 0x00), mUnk_084_00(0), mUnk_084_01(0), mUnk_098(0), - mUnk_09C((Vec2us *) &pCourseMgr->mUnk_00), + mUnk_09C((Vec2us*) &pCourseMgr->mUnk_00), mUnk_0AC(false), mUnk_0AD(false), mUnk_0AE(false), @@ -94,8 +94,8 @@ MapManagerBase::MapManagerBase(CourseManager *pCourseMgr) : this->mUnk_13C.Init(data_ov001_020c40f4, 0x40); - Vec2s_Copy((Vec2s *) &this->mUnk_09C, &local_30); - gpMapObjManager->func_ov001_020baea0((u16 *) &local_30); + Vec2s_Copy((Vec2s*) &this->mUnk_09C, &local_30); + gpMapObjManager->func_ov001_020baea0((u16*) &local_30); data_027e095c->func_ov000_020592a0(); } @@ -114,37 +114,37 @@ void MapManagerBase::vfunc_38() {} void MapManagerBase::vfunc_08() {} -void MapManagerBase::func_ov001_020b85d0(const EntranceInfo *param1) { +void MapManagerBase::func_ov001_020b85d0(const EntranceInfo* param1) { this->mIsCS = param1->isCS; wchar_t local_c8[2]; local_c8[0] = L'\0'; local_c8[sizeof(local_c8) / 2 - 1] = L'\0'; - OS_SNPrintf((char *) local_c8, sizeof(local_c8), "M%02d", param1->roomIndex); + OS_SNPrintf((char*) local_c8, sizeof(local_c8), "M%02d", param1->roomIndex); this->mUnk_084[0] = local_c8[0]; this->mUnk_084[1] = local_c8[1]; - CourseListEntry *pEntry = data_027e09a0->GetCourseEntry(param1->sceneIndex); + CourseListEntry* pEntry = data_027e09a0->GetCourseEntry(param1->sceneIndex); wchar_t local_34[16]; local_34[0] = L'\0'; local_34[sizeof(local_34) / 2 - 1] = L'\0'; - OS_SNPrintf((char *) local_34, sizeof(local_34), "Map/%s/map%02d.bin", pEntry->name, param1->roomIndex); + OS_SNPrintf((char*) local_34, sizeof(local_34), "Map/%s/map%02d.bin", pEntry->name, param1->roomIndex); this->mUnk_004.~UnkSystem3(); this->mUnk_004.mUnk_00 = local_34; - this->mUnk_004.func_0201541c((char *) local_c8, 0x10); + this->mUnk_004.func_0201541c((char*) local_c8, 0x10); this->LoadSceneModel(param1); - OS_SNPrintf((char *) local_34, sizeof(local_34), "%s:zcb/%s_%02d.zcb", local_c8, pEntry->name, param1->roomIndex); - UnkFileSystem3 local_44((char *) local_34); + OS_SNPrintf((char*) local_34, sizeof(local_34), "%s:zcb/%s_%02d.zcb", local_c8, pEntry->name, param1->roomIndex); + UnkFileSystem3 local_44((char*) local_34); data_027e09c0->func_ov001_020be3dc(&local_44, this); wchar_t local_64[16]; local_64[0] = L'\0'; local_64[sizeof(local_64) / 2 - 1] = L'\0'; - OS_SNPrintf((char *) local_64, sizeof(local_64), "%s:zmb/%s_%02d.zmb", local_c8, pEntry->name, param1->roomIndex); - UnkFileSystem3 local_74((char *) local_64); + OS_SNPrintf((char*) local_64, sizeof(local_64), "%s:zmb/%s_%02d.zmb", local_c8, pEntry->name, param1->roomIndex); + UnkFileSystem3 local_74((char*) local_64); local_74.vfunc_08(0x10); ZMBFileInfos zmbFileInfos; @@ -160,33 +160,33 @@ void MapManagerBase::func_ov001_020b85d0(const EntranceInfo *param1) { gpActorManager->func_ov001_020bb630(); if (param1->isCS == false) { - gpActorManager->func_ov001_020bb6b0((EntranceInfo *) param1); + gpActorManager->func_ov001_020bb6b0((EntranceInfo*) param1); } data_027e095c->func_ov000_020592a0(); u32 isCs = this->mIsCS; - OS_SNPrintf((char *) local_34, sizeof(local_34), "%s:zob/motype_%02d_%1d.zob", local_c8, param1->roomIndex, isCs); - UnkFileSystem3 local_94((char *) local_34); - this->mUnk_0B4 = (ZeldaObjectList *) local_94.vfunc_08(sizeof(ZOBHeader)); + OS_SNPrintf((char*) local_34, sizeof(local_34), "%s:zob/motype_%02d_%1d.zob", local_c8, param1->roomIndex, isCs); + UnkFileSystem3 local_94((char*) local_34); + this->mUnk_0B4 = (ZeldaObjectList*) local_94.vfunc_08(sizeof(ZOBHeader)); gpMapObjManager->func_ov001_020bae40(this->mUnk_0B4); for (int i = 0; i < ARRAY_LEN(this->mUnk_0B8); i++) { // i + 2 because 0 is the default one and 1 is the cutscene one - OS_SNPrintf((char *) local_34, sizeof(local_34), "%s:zob/motype_%02d_%1d.zob", local_c8, param1->roomIndex, i + 2); - UnkFileSystem3 local_a4((char *) local_34); - this->mUnk_0B8[i] = (ZeldaObjectList *) local_a4.vfunc_08(sizeof(ZOBHeader)); + OS_SNPrintf((char*) local_34, sizeof(local_34), "%s:zob/motype_%02d_%1d.zob", local_c8, param1->roomIndex, i + 2); + UnkFileSystem3 local_a4((char*) local_34); + this->mUnk_0B8[i] = (ZeldaObjectList*) local_a4.vfunc_08(sizeof(ZOBHeader)); } isCs = this->mIsCS; - OS_SNPrintf((char *) local_34, sizeof(local_34), "%s:zob/npctype_%02d_%1d.zob", local_c8, param1->roomIndex, isCs); - UnkFileSystem3 local_b4((char *) local_34); - this->mUnk_0D8 = (ZeldaObjectList *) local_b4.vfunc_08(sizeof(ZOBHeader)); + OS_SNPrintf((char*) local_34, sizeof(local_34), "%s:zob/npctype_%02d_%1d.zob", local_c8, param1->roomIndex, isCs); + UnkFileSystem3 local_b4((char*) local_34); + this->mUnk_0D8 = (ZeldaObjectList*) local_b4.vfunc_08(sizeof(ZOBHeader)); gpActorManager->func_ov001_020bb7b0(this->mUnk_0D8); for (int i = 0; i < ARRAY_LEN(this->mUnk_0DC); i++) { // i + 2 because 0 is the default one and 1 is the cutscene one - OS_SNPrintf((char *) local_34, sizeof(local_34), "%s:zob/npctype_%02d_%1d.zob", local_c8, param1->roomIndex, i + 2); - UnkFileSystem3 local_c4((char *) local_34); - this->mUnk_0DC[i] = (ZeldaObjectList *) local_c4.vfunc_08(sizeof(ZOBHeader)); + OS_SNPrintf((char*) local_34, sizeof(local_34), "%s:zob/npctype_%02d_%1d.zob", local_c8, param1->roomIndex, i + 2); + UnkFileSystem3 local_c4((char*) local_34); + this->mUnk_0DC[i] = (ZeldaObjectList*) local_c4.vfunc_08(sizeof(ZOBHeader)); } data_027e09b0->func_ov000_02072cc4(0x0000, 0x7FFF); @@ -234,33 +234,33 @@ void MapManagerBase::func_ov001_020b88ec() { } } -void MapManagerBase::LoadSceneModel(const EntranceInfo *param1) { - const char *pName = data_027e09a0->GetCourseEntry(param1->sceneIndex)->name; +void MapManagerBase::LoadSceneModel(const EntranceInfo* param1) { + const char* pName = data_027e09a0->GetCourseEntry(param1->sceneIndex)->name; wchar_t local_40[20]; local_40[0] = L'\0'; local_40[sizeof(local_40) / 2 - 1] = L'\0'; - OS_SNPrintf((char *) local_40, sizeof(local_40), "%s:nsbmd/%s_%02d.nsbmd", this->mUnk_084, pName, param1->roomIndex); - UnkFileSystem3 local_50((char *) local_40); + OS_SNPrintf((char*) local_40, sizeof(local_40), "%s:nsbmd/%s_%02d.nsbmd", this->mUnk_084, pName, param1->roomIndex); + UnkFileSystem3 local_50((char*) local_40); wchar_t local_78[20]; local_78[0] = L'\0'; local_78[sizeof(local_78) / 2 - 1] = L'\0'; - const char *path = "Map/%s/map%02d.nsbtx"; - OS_SNPrintf((char *) local_78, sizeof(local_78), path, pName, param1->roomIndex); + const char* path = "Map/%s/map%02d.nsbtx"; + OS_SNPrintf((char*) local_78, sizeof(local_78), path, pName, param1->roomIndex); this->mUnk_070.vfunc_0C(); - this->mUnk_070.mUnk_04 = (char *) local_78; + this->mUnk_070.mUnk_04 = (char*) local_78; this->mUnk_070.vfunc_08(0x10); - BMDSectionModel *pBMD = func_ov000_0205abcc(&local_50, &this->mUnk_070, 0x01, 0x00, NULL); - G3d_Model *pModel = NNS_G3dGetMdl(pBMD); + BMDSectionModel* pBMD = func_ov000_0205abcc(&local_50, &this->mUnk_070, 0x01, 0x00, NULL); + G3d_Model* pModel = NNS_G3dGetMdl(pBMD); G3d_0200e6a0(pModel, 0x00, 0x40); G3d_0200e6a0(pModel, 0x00, 0x80); this->mSceneRender.vfunc_08(pModel); } -void MapManagerBase::vfunc_1C(const EntranceInfo *param1, bool param2, bool param3) { +void MapManagerBase::vfunc_1C(const EntranceInfo* param1, bool param2, bool param3) { SceneIndex sceneIndex = param1->sceneIndex; u8 roomIndex = param1->roomIndex; @@ -277,8 +277,8 @@ void MapManagerBase::vfunc_1C(const EntranceInfo *param1, bool param2, bool para void MapManagerBase::vfunc_20() {} -const UnkStruct_ov001_020c40f4 *MapManagerBase::func_ov001_020b8a5c(unk32 spawnIndex, unk32 param1) { - UnkStruct_ov001_020c40f4 *result = +const UnkStruct_ov001_020c40f4* MapManagerBase::func_ov001_020b8a5c(unk32 spawnIndex, unk32 param1) { + UnkStruct_ov001_020c40f4* result = std::find_if(this->mUnk_13C.begin(), this->mUnk_13C.end(), UnkStruct_ov001_020c40f4::Predicate(spawnIndex, param1)); if (param1 == 0) { @@ -309,8 +309,8 @@ void MapManagerBase::func_ov001_020b8aec() { this->mUnk_148.unk_action1(); } -void MapManagerBase::func_ov001_020b8b94(ZMBEntryARAB *pARAB) { - UnkStruct_027e0cd8_0C_Base_148_00_Base *ptr = NULL; +void MapManagerBase::func_ov001_020b8b94(ZMBEntryARAB* pARAB) { + UnkStruct_027e0cd8_0C_Base_148_00_Base* ptr = NULL; if (pARAB->unk_0C == 1) { ptr = new(HeapIndex_1) UnkStruct_027e0cd8_0C_Base_148_02(pARAB); @@ -323,23 +323,23 @@ void MapManagerBase::func_ov001_020b8b94(ZMBEntryARAB *pARAB) { this->mUnk_148.push_back(ptr); } -void MapManagerBase::func_ov001_020b8c30(const EntranceInfo ¶m1) { +void MapManagerBase::func_ov001_020b8c30(const EntranceInfo& param1) { this->mUnk_154.push_back(param1); } -const EntranceInfo *MapManagerBase::func_ov001_020b8c80(unk32 param1) { +const EntranceInfo* MapManagerBase::func_ov001_020b8c80(unk32 param1) { return &data_ov001_020c2a40[param1 - 0x3C]; } -void MapManagerBase::func_ov001_020b8c90(ZMBSectionCMPT *pCMPT) { +void MapManagerBase::func_ov001_020b8c90(ZMBSectionCMPT* pCMPT) { this->mpCMPT = pCMPT; } -void MapManagerBase::func_ov001_020b8c98(ZMBSectionCAME *pCAME) { +void MapManagerBase::func_ov001_020b8c98(ZMBSectionCAME* pCAME) { this->mpCAME = pCAME; } -void MapManagerBase::ZMB_ParseROMB(ZMBSectionROMB *pROMB) { +void MapManagerBase::ZMB_ParseROMB(ZMBSectionROMB* pROMB) { this->mpROMB = pROMB; } @@ -350,7 +350,7 @@ void MapManagerBase::vfunc_40(u8 spawnIndex) { case 0xFD: case 0xFE: { UnkStruct_ov001_020c40f4 stack_elem; - UnkStruct_WarpUnk1_A0 *pEntry = data_027e09a4->func_ov000_02070538(); + UnkStruct_WarpUnk1_A0* pEntry = data_027e09a4->func_ov000_02070538(); VecFx32 pos = pEntry->mUnk_04; fx16 angle = DEG_TO_ANG(0); @@ -380,7 +380,7 @@ void MapManagerBase::vfunc_40(u8 spawnIndex) { stack_elem.mUnk_0C = angle; stack_elem.mUnk_10 = 0xFD; - UnkStruct_ov001_020c40f4 *pEnd = this->mUnk_13C.end(); + UnkStruct_ov001_020c40f4* pEnd = this->mUnk_13C.end(); if (pEnd != NULL) { pEnd->mUnk_00 = stack_elem.mUnk_00; pEnd->mUnk_0C = stack_elem.mUnk_0C; diff --git a/src/001_SceneInit/CourseList.cpp b/src/001_SceneInit/CourseList.cpp index b77b45f83..64ecfc239 100644 --- a/src/001_SceneInit/CourseList.cpp +++ b/src/001_SceneInit/CourseList.cpp @@ -10,21 +10,21 @@ CourseInitBinary::CourseInitBinary() { UnkFileSystem2 auStack_30("Course/courseinit.cib", 0); auStack_30.vfunc_08(-0x20); - CourseInitHeader *pHeader = (CourseInitHeader *) auStack_30.mpFile; - u32 *pEntryStart = (u32 *) ((u8 *) auStack_30.mpFile + sizeof(CourseInitHeader)); + CourseInitHeader* pHeader = (CourseInitHeader*) auStack_30.mpFile; + u32* pEntryStart = (u32*) ((u8*) auStack_30.mpFile + sizeof(CourseInitHeader)); // note: each entry starts with its size followed by the actual data for (int i = 0; i < pHeader->nEntries; i++) { - CourseInitEntry *pEntry = (CourseInitEntry *) ((u8 *) pEntryStart + sizeof(u32)); + CourseInitEntry* pEntry = (CourseInitEntry*) ((u8*) pEntryStart + sizeof(u32)); MI_CpuCopyFast(pEntry, &this->mEntries[i], sizeof(CourseInitEntry)); - pEntryStart = (u32 *) ((u8 *) pEntryStart + *pEntryStart); + pEntryStart = (u32*) ((u8*) pEntryStart + *pEntryStart); } } UnkStruct_027e09a0::UnkStruct_027e09a0() { - this->mpCourseTable = (CourseListEntry **) ::operator new(SceneIndex_Max * 4, HeapIndex_1, 4); + this->mpCourseTable = (CourseListEntry**) ::operator new(SceneIndex_Max * 4, HeapIndex_1, 4); this->mpCourseFile = new(HeapIndex_1) UnkFileSystem5("Course/courselist.clb", 0x82, 0x01, 0x00); MI_CpuFill32(0, this->mUnk_08, sizeof(this->mUnk_08)); this->InitCourseTable(); @@ -38,21 +38,21 @@ UnkStruct_027e09a0::~UnkStruct_027e09a0() { } } -UnkStruct_027e09a0 *UnkStruct_027e09a0::Create() { +UnkStruct_027e09a0* UnkStruct_027e09a0::Create() { return new(HeapIndex_1) UnkStruct_027e09a0(); } void UnkStruct_027e09a0::InitCourseTable() { - CourseListHeader *pHeader = (CourseListHeader *) this->mpCourseFile->vfunc_08(sizeof(CourseListHeader)); - u32 *pEntryStart = (u32 *) ((u8 *) this->mpCourseFile->mpFile + sizeof(CourseListHeader)); + CourseListHeader* pHeader = (CourseListHeader*) this->mpCourseFile->vfunc_08(sizeof(CourseListHeader)); + u32* pEntryStart = (u32*) ((u8*) this->mpCourseFile->mpFile + sizeof(CourseListHeader)); // note: each entry starts with its size followed by the actual data for (int i = 0; i < pHeader->nEntries; i++) { - CourseListEntry *pEntry = (CourseListEntry *) ((u8 *) pEntryStart + sizeof(u32)); + CourseListEntry* pEntry = (CourseListEntry*) ((u8*) pEntryStart + sizeof(u32)); this->mpCourseTable[i] = pEntry; - pEntryStart = (u32 *) ((u8 *) pEntryStart + *pEntryStart); + pEntryStart = (u32*) ((u8*) pEntryStart + *pEntryStart); } } diff --git a/src/001_SceneInit/Game/AdventureModeManager_001.cpp b/src/001_SceneInit/Game/AdventureModeManager_001.cpp index 79b152863..4fdeabcb8 100644 --- a/src/001_SceneInit/Game/AdventureModeManager_001.cpp +++ b/src/001_SceneInit/Game/AdventureModeManager_001.cpp @@ -27,11 +27,11 @@ static const s16 data_ov001_020c276c[] = { 0x0014, 0x0015, 0x0018, 0x0019, 0x001A, 0x001B, 0x001E, 0x001F, 0x0020, 0x0021, 0x0022, 0x0026, 0x0027, 0x003C, 0x0000, }; -GameModeManagerBase *AdventureModeManager::Create(UnkStruct_0204a110_Sub2 *param1) { +GameModeManagerBase* AdventureModeManager::Create(UnkStruct_0204a110_Sub2* param1) { return new(HeapIndex_1) AdventureModeManager(param1); } -AdventureModeManager::AdventureModeManager(UnkStruct_0204a110_Sub2 *param1) { +AdventureModeManager::AdventureModeManager(UnkStruct_0204a110_Sub2* param1) { this->mUnk_154 = 0; this->mUnk_158 = &this->mUnk_104; this->mUnk_15C = new(HeapIndex_1) AdventureModeManager_15C(); @@ -159,11 +159,11 @@ void AdventureModeManager::vfunc_14() { this->mUnk_1A8 = new(HeapIndex_1) AdventureModeManager_1A8(&this->mUnk_104); } - AdventureModeManager_1B0 *var_r5 = new(HeapIndex_1) AdventureModeManager_1B0(); + AdventureModeManager_1B0* var_r5 = new(HeapIndex_1) AdventureModeManager_1B0(); this->mUnk_1B0 = var_r5; if (data_027e09a4->IsNotCutscene()) { - GameModeManagerBase_104 *pList = GetLinkListRef(this->mUnk_104); + GameModeManagerBase_104* pList = GetLinkListRef(this->mUnk_104); pList->Append(var_r5); var_r5->vfunc_18(); @@ -180,8 +180,8 @@ void AdventureModeManager::vfunc_14() { UICounterManager::Create(); if (data_027e09a4->IsNotCutscene()) { - GameModeManagerBase_104 *pList = GetLinkListRef(this->mUnk_104); - UICounterManager *ptr = gpUICounterManager; + GameModeManagerBase_104* pList = GetLinkListRef(this->mUnk_104); + UICounterManager* ptr = gpUICounterManager; pList->Append(ptr); ptr->vfunc_18(); diff --git a/src/001_SceneInit/Game/GameModeCreate.cpp b/src/001_SceneInit/Game/GameModeCreate.cpp index a70ecb144..a17703a77 100644 --- a/src/001_SceneInit/Game/GameModeCreate.cpp +++ b/src/001_SceneInit/Game/GameModeCreate.cpp @@ -13,12 +13,12 @@ // different function order #if IS_JP -GameModeBase *GameModeTitleScreen::Create() { +GameModeBase* GameModeTitleScreen::Create() { data_02049ba0.func_020148d0(OverlayIndex_Title); SaveSlot::func_ov000_020a1028(&gGame.mpSaveSlot->mInfoData); - SaveTreasureData *pTreasureData = &gGame.mpSaveSlot->mTreasureData; + SaveTreasureData* pTreasureData = &gGame.mpSaveSlot->mTreasureData; MI_CpuClearFast(pTreasureData, sizeof(SaveTreasureData)); for (int i = 0; i < ARRAY_LEN(pTreasureData->unk_3C); i++) { @@ -30,22 +30,22 @@ GameModeBase *GameModeTitleScreen::Create() { return new(HeapIndex_1) GameModeTitleScreen(); } -GameModeBase *GameModeAdventure::Create() { +GameModeBase* GameModeAdventure::Create() { data_02049ba0.func_020148d0(OverlayIndex_MainGame); return new(HeapIndex_1) GameModeAdventure(); } #else -GameModeBase *GameModeAdventure::Create() { +GameModeBase* GameModeAdventure::Create() { data_02049ba0.func_020148d0(OverlayIndex_MainGame); return new(HeapIndex_1) GameModeAdventure(); } -GameModeBase *GameModeTitleScreen::Create() { +GameModeBase* GameModeTitleScreen::Create() { data_02049ba0.func_020148d0(OverlayIndex_Title); SaveSlot::func_ov000_020a1028(&gGame.mpSaveSlot->mInfoData); - SaveTreasureData *pTreasureData = &gGame.mpSaveSlot->mTreasureData; + SaveTreasureData* pTreasureData = &gGame.mpSaveSlot->mTreasureData; MI_CpuClearFast(pTreasureData, sizeof(SaveTreasureData)); for (int i = 0; i < ARRAY_LEN(pTreasureData->unk_3C); i++) { @@ -58,21 +58,21 @@ GameModeBase *GameModeTitleScreen::Create() { } #endif -GameModeBase *GameModeContactMode::Create() { +GameModeBase* GameModeContactMode::Create() { data_02049ba0.func_020148d0(OverlayIndex_Wxc); return GameModeContactMode::CreateInstance(); } -GameModeBase *GameModeDownloadPlay::Create() { +GameModeBase* GameModeDownloadPlay::Create() { data_02049ba0.func_020148d0(OverlayIndex_Download); return GameModeDownloadPlay::CreateInstance(); } -GameModeBase *GameModeBattle::Create() { +GameModeBase* GameModeBattle::Create() { data_02049ba0.func_020148d0(OverlayIndex_BattleGame); return new(HeapIndex_1) GameModeBattle(data_ov000_020b4eec.mUnk_00); } -GameSaveSlot *UnkStruct_ov000_020b4eec::func_ov001_020be12c() { +GameSaveSlot* UnkStruct_ov000_020b4eec::func_ov001_020be12c() { return gGame.mpSaveSlot; } diff --git a/src/001_SceneInit/Item/Inventory_001.cpp b/src/001_SceneInit/Item/Inventory_001.cpp index eda15e487..ec7e994c0 100644 --- a/src/001_SceneInit/Item/Inventory_001.cpp +++ b/src/001_SceneInit/Item/Inventory_001.cpp @@ -29,10 +29,10 @@ Inventory::Inventory() { Inventory::~Inventory() {} -void Inventory::func_ov001_020bb8bc(const InvImportData *pSrc) { +void Inventory::func_ov001_020bb8bc(const InvImportData* pSrc) { this->mEquippedItem = pSrc->equippedItem; - MI_CpuCopy32((void *) &pSrc->flags, this->mFlags, sizeof(this->mFlags)); + MI_CpuCopy32((void*) &pSrc->flags, this->mFlags, sizeof(this->mFlags)); this->mNumRupees = pSrc->numRupees; vu16 stack_unused = pSrc->unk_0E; @@ -72,11 +72,11 @@ void Inventory::func_ov001_020bb8bc(const InvImportData *pSrc) { this->mNumRupees = MAX_RUPEES; } - if ((*(vu16 *) &this->mUnk_12 & 0x01) && !GET_FLAG(this->mFlags, ItemFlag_RecruitUniform)) { + if ((*(vu16*) &this->mUnk_12 & 0x01) && !GET_FLAG(this->mFlags, ItemFlag_RecruitUniform)) { this->mUnk_12 &= ~0x01; } - if ((*(vu16 *) &this->mUnk_12 & 0x02) && !GET_FLAG(this->mFlags, ItemFlag_AncientShield)) { + if ((*(vu16*) &this->mUnk_12 & 0x02) && !GET_FLAG(this->mFlags, ItemFlag_AncientShield)) { this->mUnk_12 &= ~0x02; } @@ -102,7 +102,7 @@ void Inventory::func_ov001_020bb9f8() { this->mTearsAmount = 0; } - CourseListEntry *pEntry = data_027e09a0->GetCourseEntry(data_027e09a4->CurrentSceneIndex()); + CourseListEntry* pEntry = data_027e09a0->GetCourseEntry(data_027e09a4->CurrentSceneIndex()); if (pEntry->saveCourseIndex < SaveCourseIndex_Max) { this->mKeyAmount = gSaveManager.mUnk_000->unk_030[pEntry->saveCourseIndex].keyAmount; @@ -125,7 +125,7 @@ void Inventory::func_ov001_020bba54() { void Inventory::func_ov001_020bba6c() { UnkStruct_ov000_020b3000 uStack_18(ActorId_TearLight); - Actor **ppActor = gpActorManager->func_01fff350(&uStack_18, gpActorManager->mActorTable); + Actor** ppActor = gpActorManager->func_01fff350(&uStack_18, gpActorManager->mActorTable); while (ppActor != gpActorManager->mUnk_08) { UNSET_FLAG((*ppActor)->mFlags, ActorFlag_Alive); diff --git a/src/001_SceneInit/MapObject/MapObjectManager_001.cpp b/src/001_SceneInit/MapObject/MapObjectManager_001.cpp index f569293e4..01c52822e 100644 --- a/src/001_SceneInit/MapObject/MapObjectManager_001.cpp +++ b/src/001_SceneInit/MapObject/MapObjectManager_001.cpp @@ -10,7 +10,7 @@ #include -MapObjectManager *MapObjectManager::Create() { +MapObjectManager* MapObjectManager::Create() { return new(HeapIndex_1) MapObjectManager(); } @@ -34,10 +34,10 @@ MapObjectManager::~MapObjectManager() { } void MapObjectManager::func_ov001_020bac9c() { - MapObject **ppMapObjTable = this->mMapObjTable; + MapObject** ppMapObjTable = this->mMapObjTable; while (ppMapObjTable != this->mUnk_08) { - MapObject *pMapObj = *ppMapObjTable; + MapObject* pMapObj = *ppMapObjTable; if (pMapObj != NULL) { // alive and uninitialized? @@ -51,7 +51,7 @@ void MapObjectManager::func_ov001_020bac9c() { } } -void MapObjectManager::func_ov001_020bacd8(ZOBHeader *pHeader) { +void MapObjectManager::func_ov001_020bacd8(ZOBHeader* pHeader) { u16 unk_0A = pHeader->unk_0A; u16 unk_08 = pHeader->unk_08; @@ -80,8 +80,8 @@ void MapObjectManager::func_ov001_020bacd8(ZOBHeader *pHeader) { delete this->mMapObjTable; } - this->mMapObjTable = (MapObject **) ::operator new(allocCount * 4, HeapIndex_1); - this->mMapObjTableEnd = (MapObject **) ((uintptr_t) this->mMapObjTable + allocCount * 4); + this->mMapObjTable = (MapObject**) ::operator new(allocCount * 4, HeapIndex_1); + this->mMapObjTableEnd = (MapObject**) ((uintptr_t) this->mMapObjTable + allocCount * 4); MI_CpuFill32(0, this->mMapObjTable, (this->mMapObjTableEnd - this->mMapObjTable) * 4); this->mUnk_08 = this->mMapObjTable; @@ -113,10 +113,10 @@ void MapObjectManager::func_ov001_020bada0() { void MapObjectManager::func_ov001_020badb4() { int i = 0; - MapObject **ppMapObjTable = this->mMapObjTable; + MapObject** ppMapObjTable = this->mMapObjTable; while (ppMapObjTable < this->mUnk_08) { - MapObject *pMapObj = *ppMapObjTable; + MapObject* pMapObj = *ppMapObjTable; if (pMapObj != NULL) { this->func_ov000_0209c444(i); @@ -130,8 +130,8 @@ void MapObjectManager::func_ov001_020badb4() { } void MapObjectManager::func_ov001_020bade0() { - MapObjectProfile **ptr1 = data_ov000_020b5d34.func_ov000_0209c6a0(); - MapObjectProfile **ptr2 = data_ov000_020b5d34.func_ov000_0209c6ac(); + MapObjectProfile** ptr1 = data_ov000_020b5d34.func_ov000_0209c6a0(); + MapObjectProfile** ptr2 = data_ov000_020b5d34.func_ov000_0209c6ac(); while (ptr1 != ptr2) { @@ -152,15 +152,15 @@ void MapObjectManager::func_ov001_020bade0() { } } -void MapObjectManager::func_ov001_020bae40(ZeldaObjectList *pObjList) { +void MapObjectManager::func_ov001_020bae40(ZeldaObjectList* pObjList) { for (s32 i = 0; i < pObjList->header.nEntries; i++) { MapObjectProfile::func_ov000_0209c8ec(data_ov000_020b5d34.GetProfileFromId(pObjList->aIdList[i])); } } void MapObjectManager::func_ov001_020bae6c() { - MapObjectProfile **ptr1 = data_ov000_020b5d34.func_ov000_0209c6a0(); - MapObjectProfile **ptr2 = data_ov000_020b5d34.func_ov000_0209c6ac(); + MapObjectProfile** ptr1 = data_ov000_020b5d34.func_ov000_0209c6a0(); + MapObjectProfile** ptr2 = data_ov000_020b5d34.func_ov000_0209c6ac(); while (ptr1 != ptr2) { if (*ptr1 != NULL) { @@ -172,8 +172,8 @@ void MapObjectManager::func_ov001_020bae6c() { } } -void MapObjectManager::func_ov001_020baea0(u16 *param1) { - this->mUnk_14 = (s16 *) ::operator new(param1[0] * param1[1] * sizeof(s16), HeapIndex_1); +void MapObjectManager::func_ov001_020baea0(u16* param1) { + this->mUnk_14 = (s16*) ::operator new(param1[0] * param1[1] * sizeof(s16), HeapIndex_1); MI_CpuFill16(0xFFFF, this->mUnk_14, param1[0] * param1[1] * 2); u16 param1_1 = param1[1]; @@ -182,8 +182,8 @@ void MapObjectManager::func_ov001_020baea0(u16 *param1) { delete this->mUnk_0C; } - this->mUnk_0C = (s16 **) ::operator new(param1_1 * 4, HeapIndex_1); - this->mUnk_10 = (s16 **) ((uintptr_t) this->mUnk_0C + param1_1 * 4); + this->mUnk_0C = (s16**) ::operator new(param1_1 * 4, HeapIndex_1); + this->mUnk_10 = (s16**) ((uintptr_t) this->mUnk_0C + param1_1 * 4); for (u32 i = 0; i < this->mUnk_10 - this->mUnk_0C; i++) { this->mUnk_0C[i] = &this->mUnk_14[param1[0] * i]; diff --git a/src/001_SceneInit/PassengerManager_001.cpp b/src/001_SceneInit/PassengerManager_001.cpp index 4649e5f14..ce938443d 100644 --- a/src/001_SceneInit/PassengerManager_001.cpp +++ b/src/001_SceneInit/PassengerManager_001.cpp @@ -4,7 +4,7 @@ #include "Unknown/UnkStruct_027e09b8.hpp" bool PassengerManager::func_ov001_020bf870() { - s32 *pSceneIndex = &data_027e09a4->mUnk_00.sceneIndex; + s32* pSceneIndex = &data_027e09a4->mUnk_00.sceneIndex; bool var_r0 = true; bool var_r3 = true; @@ -63,12 +63,12 @@ void PassengerManager::func_ov001_020bf910() { struct LocalStack { Pair sp14[20]; - Pair *spB4; + Pair* spB4; } stack; int spC_10[2]; Date sp4[4]; - const s16 *new_var7; + const s16* new_var7; s32 temp_r0; s32 temp_r1; s32 temp_r4; @@ -154,7 +154,7 @@ void PassengerManager::func_ov001_020bf910() { bool PassengerManager::func_ov001_020bfa1c() { Date date; s16 result = this->GetDate(); - date = *(u16 *) &result; + date = *(u16*) &result; return !(date.day & 1); } diff --git a/src/001_SceneInit/Player/PlayerActorBase_001.cpp b/src/001_SceneInit/Player/PlayerActorBase_001.cpp index 7cf677673..f88babaff 100644 --- a/src/001_SceneInit/Player/PlayerActorBase_001.cpp +++ b/src/001_SceneInit/Player/PlayerActorBase_001.cpp @@ -11,8 +11,8 @@ static const char data_ov001_020c26bc[][16] = { "center", "body_chn", "waist_chn", "cl_podA", "cl_LhandA", "cl_RhandA", "LlegB_jnt", "RlegB_jnt", "head_jnt", }; -ModelRender_Derived4::ModelRender_Derived4(PlayerCharacter character, unk32 param2, G3d_Model *pModel, - G3d_BoneMtxStruct *pCacheJntAnm) : +ModelRender_Derived4::ModelRender_Derived4(PlayerCharacter character, unk32 param2, G3d_Model* pModel, + G3d_BoneMtxStruct* pCacheJntAnm) : ModelRender_Derived3(character, pModel), mUnk_78(param2), mUnk_BC(0) { @@ -34,8 +34,8 @@ ModelRender_Derived4::ModelRender_Derived4(PlayerCharacter character, unk32 para this->func_ov000_0208c058(this->mUnk_7C[1]); } -PlayerActorBase::PlayerActorBase(PlayerCharacter character, unk32 param2, ItemManager *pItemMgr, - UnkStruct_027e0ce0_40 *param4) : +PlayerActorBase::PlayerActorBase(PlayerCharacter character, unk32 param2, ItemManager* pItemMgr, + UnkStruct_027e0ce0_40* param4) : mPos(0, 0, 0), mPrevPos(0, 0, 0), mVel(0, 0, 0), @@ -58,9 +58,9 @@ PlayerActorBase::PlayerActorBase(PlayerCharacter character, unk32 param2, ItemMa this->mUnk_70 = new(HeapIndex_1) PlayerActorBase_70(character, param2); this->mUnk_74 = data_027e09a4->IsLand() ? new(HeapIndex_1) PlayerActorBase_74() : NULL; - const UnkStruct_ov000_020ab4dc *ptr = &data_ov000_020ab4dc[(u32) this->mCharacter]; + const UnkStruct_ov000_020ab4dc* ptr = &data_ov000_020ab4dc[(u32) this->mCharacter]; s32 sVar1 = ptr->mUnk_74; - const UnkStruct_ov000_020ab4dc *new_var5 = &data_ov000_020ab4dc[this->mCharacter]; + const UnkStruct_ov000_020ab4dc* new_var5 = &data_ov000_020ab4dc[this->mCharacter]; func_ov000_0205c584(&this->mUnk_78, sVar1, new_var5->mUnk_66 / 2); this->mUnk_84.Init(); diff --git a/src/001_SceneInit/Player/PlayerActorBase_70_001.cpp b/src/001_SceneInit/Player/PlayerActorBase_70_001.cpp index eac9efc97..f592fee73 100644 --- a/src/001_SceneInit/Player/PlayerActorBase_70_001.cpp +++ b/src/001_SceneInit/Player/PlayerActorBase_70_001.cpp @@ -5,7 +5,7 @@ extern unk16 data_ov000_020ab314; -ModelRender_UnkSystem1 *func_ov001_020bbac4(BOOL isNotLink, G3d_Model *pModel, unk32 param3, bool param4) { +ModelRender_UnkSystem1* func_ov001_020bbac4(BOOL isNotLink, G3d_Model* pModel, unk32 param3, bool param4) { if (param4 && data_027e09a4->IsSceneModeBattle()) { return NULL; } diff --git a/src/001_SceneInit/Player/PlayerLinkActor_001.cpp b/src/001_SceneInit/Player/PlayerLinkActor_001.cpp index 597738d0b..3693ad5a1 100644 --- a/src/001_SceneInit/Player/PlayerLinkActor_001.cpp +++ b/src/001_SceneInit/Player/PlayerLinkActor_001.cpp @@ -6,12 +6,12 @@ #include "Unknown/UnkStruct_027e0ce0.hpp" #include "Unknown/UnkStruct_027e0d34.hpp" -PlayerLinkActor::PlayerLinkActor(unk32 param1, ItemManager *pItemMgr, UnkStruct_027e0ce0_40 *param3, - UnkStruct_027e0ce0_40_150 *param4) : +PlayerLinkActor::PlayerLinkActor(unk32 param1, ItemManager* pItemMgr, UnkStruct_027e0ce0_40* param3, + UnkStruct_027e0ce0_40_150* param4) : PlayerActorBase(PlayerCharacter_Link, param1, pItemMgr, param3), mUnk_094(param4), mpZelda(NULL), - mUnk_09C(new(HeapIndex_1) PlayerLinkActor_9C(param3, *(u32 *) &this->mUnk_50, this->mCharacter)), + mUnk_09C(new(HeapIndex_1) PlayerLinkActor_9C(param3, *(u32*) &this->mUnk_50, this->mCharacter)), mUnk_0A0(new(HeapIndex_1) PlayerLinkActor_A0(pItemMgr, param3, this, this->mUnk_09C)), mUnk_0A4(this, this->mUnk_0A0), mUnk_0B0(-1), @@ -27,8 +27,8 @@ PlayerLinkActor::PlayerLinkActor(unk32 param1, ItemManager *pItemMgr, UnkStruct_ this->mUnk_90 = this->mUnk_09C; //! TODO: dark magic - PlayerLinkActor *new_var = this; - PlayerLinkActor **new_var3 = &new_var; + PlayerLinkActor* new_var = this; + PlayerLinkActor** new_var3 = &new_var; if ((*new_var3)->mUnk_4C == -1) { UnkStruct_027e0d34::Create(*new_var3, this->mUnk_0A0, this->mUnk_58); this->func_ov031_020dccf0(); @@ -47,7 +47,7 @@ PlayerLinkActor::~PlayerLinkActor() { delete this->mUnk_09C; } -void PlayerLinkActor::func_ov001_020bcb60(PlayerActorBase *pZelda) { +void PlayerLinkActor::func_ov001_020bcb60(PlayerActorBase* pZelda) { this->mpZelda = pZelda; this->mUnk_09C->pZelda = pZelda; } @@ -72,11 +72,11 @@ void PlayerLinkActor::func_ov001_020bcba8() { } } -void PlayerLinkActor::func_ov001_020bcbd0(VecFx32 *pVec) { +void PlayerLinkActor::func_ov001_020bcbd0(VecFx32* pVec) { this->func_ov000_0208c8f8(pVec); this->mUnk_90->mUnk_034.func_ov000_0208efd0(pVec); - PlayerActorBase_70 *unk_70 = this->mUnk_70; + PlayerActorBase_70* unk_70 = this->mUnk_70; unk_70->func_ov001_020bbe18(0, this->mAngle, this->mUnk_0A0->func_ov000_02093718(), this->mUnk_0A0->func_ov000_0209378c()); bool uVar1 = false; diff --git a/src/001_SceneInit/Save/SaveManager_001.cpp b/src/001_SceneInit/Save/SaveManager_001.cpp index 53888a54f..2de2a0e30 100644 --- a/src/001_SceneInit/Save/SaveManager_001.cpp +++ b/src/001_SceneInit/Save/SaveManager_001.cpp @@ -7,7 +7,7 @@ void SaveManager::func_ov001_020ba670() { this->mUnk_000 = new(HeapIndex_1) SaveManager_00(0); - GameSaveSlot *pGameSlot = gGame.mpSaveSlot; + GameSaveSlot* pGameSlot = gGame.mpSaveSlot; this->mUnk_000->unk_00 = pGameSlot->mInfoData.unk_000; MI_CpuCopyFast(&pGameSlot->mInfoData.unk_158, &this->mUnk_000->unk_004, sizeof(SaveFile_00000_0000_Data_158)); @@ -31,8 +31,8 @@ void SaveManager::func_ov001_020ba7a8() { } void SaveManager::func_ov001_020ba7c8(u16 saveSlotIndex) { - SaveSlot *pMgrSlot = &this->mpSaveFile->mSlots[saveSlotIndex]; - GameSaveSlot *pGameSlot = gGame.mpSaveSlot; + SaveSlot* pMgrSlot = &this->mpSaveFile->mSlots[saveSlotIndex]; + GameSaveSlot* pGameSlot = gGame.mpSaveSlot; MI_CpuCopyFast(pMgrSlot->mInfoData, &pGameSlot->mInfoData, sizeof(SaveInfoData)); MI_CpuCopyFast(pMgrSlot->mTreasureData, &pGameSlot->mTreasureData, sizeof(SaveTreasureData)); diff --git a/src/001_SceneInit/SceneInitializers_001.cpp b/src/001_SceneInit/SceneInitializers_001.cpp index e98a2e7f6..52ab97047 100644 --- a/src/001_SceneInit/SceneInitializers_001.cpp +++ b/src/001_SceneInit/SceneInitializers_001.cpp @@ -48,7 +48,7 @@ static const SceneIndex data_ov001_020c25d4[10] = { SceneIndex_f_snow, SceneIndex_f_water, SceneIndex_f_flame5, SceneIndex_f_tetsuo, SceneIndex_f_ajito, }; -UnkStruct_027e09a4 *UnkStruct_027e09a4::Create(unk32 param1) { +UnkStruct_027e09a4* UnkStruct_027e09a4::Create(unk32 param1) { return new(HeapIndex_1) UnkStruct_027e09a4(param1); } @@ -92,7 +92,7 @@ UnkStruct_027e09a4::UnkStruct_027e09a4(SceneMode mode) : } void UnkStruct_027e09a4::func_ov001_020b662c() { - UnkStruct_WarpUnk1 *ptr = this->mpWarpUnk1; + UnkStruct_WarpUnk1* ptr = this->mpWarpUnk1; ptr->mCurEntrance = this->mUnk_00; this->mUnk_14 = this->mUnk_00; this->func_ov001_020b6758(&this->mUnk_00, false); @@ -103,7 +103,7 @@ void UnkStruct_027e09a4::func_ov001_020b66dc() { data_02049ba0.Unload(OverlaySlot_9); //! TODO: ??? - UnkStruct_WarpUnk1 *ptr = this->mpWarpUnk1; + UnkStruct_WarpUnk1* ptr = this->mpWarpUnk1; if (ptr != NULL) { ptr->UnkStruct_WarpUnk1::~UnkStruct_WarpUnk1(); ::operator delete(ptr); @@ -129,7 +129,7 @@ void UnkStruct_027e09a4::func_ov001_020b66dc() { UnkStruct_027e09a0::Destroy(); } -void UnkStruct_027e09a4::func_ov001_020b6758(const EntranceInfo *param1, bool param2) { +void UnkStruct_027e09a4::func_ov001_020b6758(const EntranceInfo* param1, bool param2) { OverlayIndex index; unk32 unk_10; @@ -208,7 +208,7 @@ void UnkStruct_027e09a4::func_ov001_020b68a4(bool param1, bool param2, bool para UnkStruct_027e095c::Destroy(); } -void UnkStruct_027e09a4::func_ov001_020b6924(const EntranceInfo *param1, bool param2) { +void UnkStruct_027e09a4::func_ov001_020b6924(const EntranceInfo* param1, bool param2) { unk32 iVar5; unk32 iVar6; u8 cVar1; @@ -225,7 +225,7 @@ void UnkStruct_027e09a4::func_ov001_020b6924(const EntranceInfo *param1, bool pa this->func_ov001_020b6758(param1, param2); } -void UnkStruct_027e09a4::func_ov001_020b69b4(const EntranceInfo *param1, bool param2) { +void UnkStruct_027e09a4::func_ov001_020b69b4(const EntranceInfo* param1, bool param2) { VecFx32 vec1; VecFx32 vec2; unk32 local_34; @@ -263,7 +263,7 @@ void UnkStruct_027e09a4::func_ov001_020b69b4(const EntranceInfo *param1, bool pa this->mUnk_2C.mSceneIndex = this->func_ov000_02070538()->mSceneIndex; this->mUnk_2C.mUnk_02 = this->func_ov000_02070538()->mUnk_10; - VecFx32 *psVar4 = &this->func_ov000_02070538()->mUnk_04; + VecFx32* psVar4 = &this->func_ov000_02070538()->mUnk_04; this->mUnk_2C.mUnk_04.x = psVar4->x; this->mUnk_2C.mUnk_04.y = psVar4->y; this->mUnk_2C.mUnk_04.z = psVar4->z; @@ -399,7 +399,7 @@ DECL_INSTANCE_DTOR(UnkStruct_027e095c, data_027e095c); DECL_INSTANCE_DTOR(UnkStruct_027e0958, data_027e0958); DECL_INSTANCE_DTOR(UnkStruct_027e0954, data_027e0954); -UnkStruct_027e09a4_54_Base::UnkStruct_027e09a4_54_Base(unk32 *param1) { +UnkStruct_027e09a4_54_Base::UnkStruct_027e09a4_54_Base(unk32* param1) { this->mUnk_04.Clear(); this->mUnk_0C[0] = L'\0'; this->mUnk_0C[7] = L'\0'; @@ -431,7 +431,7 @@ void UnkStruct_027e09a4_54_Base::vfunc_0C() { data_027e0960->func_ov000_0205a160(); } -void UnkStruct_027e09a4_54_Base::func_ov001_020b6fa0(CourseListEntry *pCourseEntry) { +void UnkStruct_027e09a4_54_Base::func_ov001_020b6fa0(CourseListEntry* pCourseEntry) { if (this->mUnk_1C.isCS == true) { data_0204a110.func_02018d78(Cutscene_GetParamEntry(this->mUnk_1C.csIndex)->mUnk_14); } else { @@ -459,7 +459,7 @@ void UnkStruct_027e09a4_54_Base::func_ov001_020b6fa0(CourseListEntry *pCourseEnt } } - strncpy((char *) this->mUnk_0C, pCourseEntry->name, sizeof(this->mUnk_0C) - 1); + strncpy((char*) this->mUnk_0C, pCourseEntry->name, sizeof(this->mUnk_0C) - 1); this->mUnk_30 = pCourseEntry->unk_1A; this->vfunc_0C(); gpCourseManager->func_ov001_020b7830(&this->mUnk_1C); @@ -490,7 +490,7 @@ UnkStruct_WarpUnk1::UnkStruct_WarpUnk1() : bool UnkStruct_WarpUnk1::func_ov001_020b7144() { bool iVar9; u16 entryTransDuration; - UnkStruct_027e0ce0_38 *pTrainPlayer; + UnkStruct_027e0ce0_38* pTrainPlayer; unk16 local_18; unk32 uVar8; bool bVar2; @@ -500,12 +500,12 @@ bool UnkStruct_WarpUnk1::func_ov001_020b7144() { pTrainPlayer = data_027e0ce0->mUnk_38; if (pTrainPlayer == NULL) { - VecFx32 *pPos = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* pPos = data_027e0ce0->func_01fff148(PlayerType_Link); VecFx32_Copy(pPos, &this->mUnk_A0.mUnk_04); func_01fff17c(&local_18, data_027e0ce0, 0); this->mUnk_A0.mUnk_10 = local_18; } else { - VecFx32 *pPos = &pTrainPlayer->mPos; + VecFx32* pPos = &pTrainPlayer->mPos; VecFx32_Copy(pPos, &this->mUnk_A0.mUnk_04); this->mUnk_A0.mUnk_10 = pTrainPlayer->mUnk_056; this->mUnk_A0.mUnk_12 = func_ov026_02106564(NULL); @@ -553,10 +553,10 @@ bool UnkStruct_WarpUnk1::func_ov001_020b7144() { this->mUnk_0C = false; //! TODO: find out why we need this - LinkListImpl::Detach((LinkListNode *) ((u8 *) &this->mUnk_24 + 4)); + LinkListImpl::Detach((LinkListNode*) ((u8*) &this->mUnk_24 + 4)); this->mUnk_24.mUnk_0C = false; - LinkListImpl::Detach((LinkListNode *) ((u8 *) &this->mUnk_50 + 4)); + LinkListImpl::Detach((LinkListNode*) ((u8*) &this->mUnk_50 + 4)); this->mUnk_50.mUnk_0C = false; if (this->mNextEntrance.isCS == true) { diff --git a/src/001_SceneInit/UnkStruct_0204a110_001.cpp b/src/001_SceneInit/UnkStruct_0204a110_001.cpp index 255c9884b..5e17a9fdd 100644 --- a/src/001_SceneInit/UnkStruct_0204a110_001.cpp +++ b/src/001_SceneInit/UnkStruct_0204a110_001.cpp @@ -6,8 +6,7 @@ #include -void UnkStruct_0204a110::func_ov001_020bd514(unk32 param1, GameModeMgrCreateCallback createCallback, bool param3, - bool param4) { +void UnkStruct_0204a110::func_ov001_020bd514(unk32 param1, GameModeMgrCreateCallback createCallback, bool param3, bool param4) { this->func_02018c90(param1); if (param1 == 4) { @@ -76,7 +75,7 @@ void UnkStruct_0204a110::func_ov001_020bd68c(void) { this->mpManager->func_02018a8c(); } -UnkStruct_0204a088 *UnkStruct_0204a088::Create() { +UnkStruct_0204a088* UnkStruct_0204a088::Create() { return new(HeapIndex_1) UnkStruct_0204a088(); } @@ -100,7 +99,7 @@ void UnkStruct_0204a088::func_ov001_020bd6f8() { DECL_INSTANCE_CTOR(UnkStruct_0204a088, data_0204a088); -void GameModeManagerBase_004::func_ov001_020bd734(const s16 *param1) { +void GameModeManagerBase_004::func_ov001_020bd734(const s16* param1) { unk32 uVar3 = data_0204999c.func_02013014(); for (int i = 0; param1[i] != 0x3C; i++) { diff --git a/src/001_SceneInit/UnkStruct_027e095c_001.cpp b/src/001_SceneInit/UnkStruct_027e095c_001.cpp index 1bd5f6834..de8669992 100644 --- a/src/001_SceneInit/UnkStruct_027e095c_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e095c_001.cpp @@ -2,7 +2,7 @@ #include "System/SysNew.hpp" #include "Unknown/UnkStruct_027e095c.hpp" -UnkStruct_027e095c *UnkStruct_027e095c::Create() { +UnkStruct_027e095c* UnkStruct_027e095c::Create() { return new(HeapIndex_1) UnkStruct_027e095c(); } @@ -12,7 +12,7 @@ UnkStruct_027e095c::UnkStruct_027e095c() { func_02006d8c(func_0202447c() >> 0x11, 0x01); func_02006aa8(func_02024494(), 0x01); - for (VecFx32 *pIt = this->mUnk_000; pIt != &this->mUnk_000[ARRAY_LEN(this->mUnk_000)]; pIt++) { + for (VecFx32* pIt = this->mUnk_000; pIt != &this->mUnk_000[ARRAY_LEN(this->mUnk_000)]; pIt++) { VecFx32_Init(0, 0, 0, pIt); } } diff --git a/src/001_SceneInit/UnkStruct_027e09ac_001.cpp b/src/001_SceneInit/UnkStruct_027e09ac_001.cpp index c8555ca5c..53b11d17c 100644 --- a/src/001_SceneInit/UnkStruct_027e09ac_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e09ac_001.cpp @@ -12,7 +12,7 @@ #include #include -UnkStruct_027e09ac *UnkStruct_027e09ac::Create() { +UnkStruct_027e09ac* UnkStruct_027e09ac::Create() { return new(HeapIndex_1) UnkStruct_027e09ac(); } diff --git a/src/001_SceneInit/UnkStruct_027e09b4_001.cpp b/src/001_SceneInit/UnkStruct_027e09b4_001.cpp index 48286adf0..4198cd270 100644 --- a/src/001_SceneInit/UnkStruct_027e09b4_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e09b4_001.cpp @@ -2,7 +2,7 @@ #include "Unknown/UnkStruct_027e09a4.hpp" #include "Unknown/UnkStruct_027e09b4.hpp" -UnkStruct_027e09b4 *UnkStruct_027e09b4::Create() { +UnkStruct_027e09b4* UnkStruct_027e09b4::Create() { return new(HeapIndex_1) UnkStruct_027e09b4(); } diff --git a/src/001_SceneInit/UnkStruct_027e09b8_001.cpp b/src/001_SceneInit/UnkStruct_027e09b8_001.cpp index 75913851d..e4dc50f50 100644 --- a/src/001_SceneInit/UnkStruct_027e09b8_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e09b8_001.cpp @@ -13,7 +13,7 @@ struct UnkStruct_ov000_02073080 { /* 1C */ }; -UnkStruct_027e09b8 *UnkStruct_027e09b8::Create() { +UnkStruct_027e09b8* UnkStruct_027e09b8::Create() { return new(HeapIndex_1) UnkStruct_027e09b8(); } @@ -47,7 +47,7 @@ UnkStruct_027e09b8::~UnkStruct_027e09b8() { } } -void UnkStruct_027e09b8::ImportAdventureFlags(AdventureFlag *pAdventureFlags) { +void UnkStruct_027e09b8::ImportAdventureFlags(AdventureFlag* pAdventureFlags) { MI_CpuCopy32(pAdventureFlags, this->mAdventureFlags, sizeof(this->mAdventureFlags)); } diff --git a/src/001_SceneInit/UnkStruct_027e09bc_001.cpp b/src/001_SceneInit/UnkStruct_027e09bc_001.cpp index 8f020d7bc..76ab57ece 100644 --- a/src/001_SceneInit/UnkStruct_027e09bc_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e09bc_001.cpp @@ -3,7 +3,7 @@ #include "Unknown/UnkStruct_027e09bc.hpp" #include "Unknown/UnkStruct_ov020_020e8544.hpp" -UnkStruct_027e09bc *UnkStruct_027e09bc::Create() { +UnkStruct_027e09bc* UnkStruct_027e09bc::Create() { return new(HeapIndex_1) UnkStruct_027e09bc(); } diff --git a/src/001_SceneInit/UnkStruct_027e09c0_001.cpp b/src/001_SceneInit/UnkStruct_027e09c0_001.cpp index aafe79374..503fb381f 100644 --- a/src/001_SceneInit/UnkStruct_027e09c0_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e09c0_001.cpp @@ -7,7 +7,7 @@ #include -UnkStruct_027e09c0 *UnkStruct_027e09c0::Create() { +UnkStruct_027e09c0* UnkStruct_027e09c0::Create() { return new(HeapIndex_1) UnkStruct_027e09c0(); } @@ -62,13 +62,13 @@ void UnkStruct_027e09c0::func_ov001_020be3c4() { data_027e0a48.func_ov000_0207f1f0(); } -void UnkStruct_027e09c0::func_ov001_020be3dc(UnkFileSystem3 *param1, MapManagerBase *param2) { +void UnkStruct_027e09c0::func_ov001_020be3dc(UnkFileSystem3* param1, MapManagerBase* param2) { data_027e0a48.func_ov000_0207f280(param2); data_027e09e8.func_ov000_0207ba84(param1, param2); } void UnkStruct_027e09c0::func_ov001_020be400() { - for (UnkStruct_027e09c0_04 **pIt = this->mUnk_004; pIt != this->mUnk_044; pIt++) { + for (UnkStruct_027e09c0_04** pIt = this->mUnk_004; pIt != this->mUnk_044; pIt++) { if (*pIt != NULL) { (*pIt)->func_ov000_0207f4d4(); } diff --git a/src/001_SceneInit/UnkStruct_027e0ce0_001.cpp b/src/001_SceneInit/UnkStruct_027e0ce0_001.cpp index 1aa8ac294..9be54fca1 100644 --- a/src/001_SceneInit/UnkStruct_027e0ce0_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e0ce0_001.cpp @@ -30,7 +30,7 @@ UnkStruct_027e0ce0_40_Base_94::~UnkStruct_027e0ce0_40_Base_94() { delete this->mUnk_50; } -UnkStruct_027e0ce0 *UnkStruct_027e0ce0::Create() { +UnkStruct_027e0ce0* UnkStruct_027e0ce0::Create() { return new(HeapIndex_1) UnkStruct_027e0ce0(); } @@ -63,9 +63,9 @@ UnkStruct_027e0ce0::~UnkStruct_027e0ce0() { delete this->mUnk_1C; } -void UnkStruct_027e0ce0::func_ov001_020bc4d8(InvImportData *pInvData, SaveFile_00000_0000_Data_D8 *param2, unk32 param3) { - UnkStruct_027e09bc *ptr = data_027e09bc; - UnkStruct_027e0ce0_0C *pList = GetLinkListRef(this->mUnk_0C); +void UnkStruct_027e0ce0::func_ov001_020bc4d8(InvImportData* pInvData, SaveFile_00000_0000_Data_D8* param2, unk32 param3) { + UnkStruct_027e09bc* ptr = data_027e09bc; + UnkStruct_027e0ce0_0C* pList = GetLinkListRef(this->mUnk_0C); ptr->mUnk_48.Prepend(pList); if (this->mUnk_28 != NULL) { @@ -94,7 +94,7 @@ void UnkStruct_027e0ce0::func_ov001_020bc524(bool param1) { this->mUnk_34->func_ov001_020bf2b8(param1); } - UnkStruct_027e0ce0_40 *uVar3 = NULL; + UnkStruct_027e0ce0_40* uVar3 = NULL; if (this->mUnk_24 != NULL) { this->mUnk_24->func_ov021_020eaa08(this->mUnk_20); @@ -197,16 +197,16 @@ void UnkStruct_027e0ce0::func_ov001_020bc69c() { this->mUnk_1C->func_ov001_020bd1ec(); } -void UnkStruct_027e0ce0::func_ov001_020bc6d8(unk32 param1, const UnkStruct_ov001_020c40f4 *param2) { +void UnkStruct_027e0ce0::func_ov001_020bc6d8(unk32 param1, const UnkStruct_ov001_020c40f4* param2) { this->mUnk_24->func_ov021_020eab14(param1, param2, this->mUnk_30); } -void UnkStruct_027e0ce0::func_ov001_020bc6e8(const UnkStruct_ov001_020c40f4 *param1) { +void UnkStruct_027e0ce0::func_ov001_020bc6e8(const UnkStruct_ov001_020c40f4* param1) { this->mUnk_38->func_ov026_020dc9bc(param1); this->mUnk_30->func_ov001_020bbf24(this->mUnk_38); } -void UnkStruct_027e0ce0::func_ov001_020bc6fc(const UnkStruct_ov001_020c40f4 *param1, const UnkStruct_ov001_020c40f4 *param2, +void UnkStruct_027e0ce0::func_ov001_020bc6fc(const UnkStruct_ov001_020c40f4* param1, const UnkStruct_ov001_020c40f4* param2, unk32 param3, unk32 param4) { if (this->mUnk_3C != NULL) { this->mUnk_3C->func_ov088_0216fbc4(0x00, param1); diff --git a/src/001_SceneInit/UnkStruct_027e0ce0_1C_001.cpp b/src/001_SceneInit/UnkStruct_027e0ce0_1C_001.cpp index 1f29d07a1..c75b08ee6 100644 --- a/src/001_SceneInit/UnkStruct_027e0ce0_1C_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e0ce0_1C_001.cpp @@ -36,7 +36,7 @@ void UnkStruct_027e0ce0_1C::func_ov001_020bccec() { for (unsigned long var_r5 = 0; var_r5 < PlayerCharacter_Max; var_r5++) { for (unsigned long var_r4 = 0; var_r4 < ARRAY_LEN(this->mUnk_08[var_r5]); var_r4++) { - const UnkStruct_ov000_020ab4dc *ptr = &data_ov000_020ab4dc[var_r5]; + const UnkStruct_ov000_020ab4dc* ptr = &data_ov000_020ab4dc[var_r5]; if (func_ov000_0208e874(&ptr->mUnk_86[var_r4], var_r5, var_r4, 1)) { this->mUnk_08[var_r5][var_r4] = new(HeapIndex_1) UnkStruct_027e0ce0_1C_08(var_r5, var_r4, 0); @@ -120,23 +120,23 @@ void UnkStruct_027e0ce0_1C::func_ov001_020bccec() { } if (canLoadAnimation) { - const UnkStruct_ov000_020ab4dc *ptr = &data_ov000_020ab4dc[var_r5]; - strncpy((char *) path, ptr->mpDirectory, sizeof(path) - 1); + const UnkStruct_ov000_020ab4dc* ptr = &data_ov000_020ab4dc[var_r5]; + strncpy((char*) path, ptr->mpDirectory, sizeof(path) - 1); - const char *anm = "/anm/"; - int len = strlen((char *) path); - strncpy((char *) path + len, anm, sizeof(path) - 1 - len); + const char* anm = "/anm/"; + int len = strlen((char*) path); + strncpy((char*) path + len, anm, sizeof(path) - 1 - len); - const char *string = func_ov000_0208e830(value); - len = strlen((char *) path); - strncpy((char *) path + len, string, sizeof(path) - 1 - len); + const char* string = func_ov000_0208e830(value); + len = strlen((char*) path); + strncpy((char*) path + len, string, sizeof(path) - 1 - len); - const char *ext = ".nsbca"; - len = strlen((char *) path); - strncpy((char *) path + len, ext, sizeof(path) - 1 - len); + const char* ext = ".nsbca"; + len = strlen((char*) path); + strncpy((char*) path + len, ext, sizeof(path) - 1 - len); - UnkFileSystem5 **target = &this->mUnk_5C[var_r5][var_r7]; - this->mUnk_5C[var_r5][var_r7] = new(HeapIndex_1) UnkFileSystem5((char *) path, 0xA1, HeapIndex_1, 0); + UnkFileSystem5** target = &this->mUnk_5C[var_r5][var_r7]; + this->mUnk_5C[var_r5][var_r7] = new(HeapIndex_1) UnkFileSystem5((char*) path, 0xA1, HeapIndex_1, 0); this->mUnk_5C[var_r5][var_r7]->vfunc_08(0x10); } } @@ -164,7 +164,7 @@ void UnkStruct_027e0ce0_1C::func_ov001_020bccec() { } if (canCreateC8) { - const UnkStruct_ov000_020ab4dc *ptr; + const UnkStruct_ov000_020ab4dc* ptr; ptr = &data_ov000_020ab4dc[var_r5]; this->mUnk_C8[var_r5] = new(HeapIndex_1) UnkStruct_027e0ce0_1C_C8(var_r5, ptr->mUnk_98); } @@ -218,22 +218,22 @@ void UnkStruct_027e0ce0_1C::func_ov001_020bd0a4(bool param1) { wchar_t path[32]; path[sizeof(path) / 2 - 1] = L'\0'; - strncpy((char *) path, data_ov000_020ab4dc[0].mpDirectory, sizeof(path) - 1); + strncpy((char*) path, data_ov000_020ab4dc[0].mpDirectory, sizeof(path) - 1); - const char *anm = "/anm/"; - int len = strlen((char *) path); - strncpy((char *) path + len, anm, sizeof(path) - 1 - len); + const char* anm = "/anm/"; + int len = strlen((char*) path); + strncpy((char*) path + len, anm, sizeof(path) - 1 - len); - const char *string = func_ov000_0208e830(8); - len = strlen((char *) path); - strncpy((char *) path + len, string, sizeof(path) - 1 - len); + const char* string = func_ov000_0208e830(8); + len = strlen((char*) path); + strncpy((char*) path + len, string, sizeof(path) - 1 - len); - const char *ext = ".nsbca"; - len = strlen((char *) path); - strncpy((char *) path + len, ext, sizeof(path) - 1 - len); + const char* ext = ".nsbca"; + len = strlen((char*) path); + strncpy((char*) path + len, ext, sizeof(path) - 1 - len); - UnkFileSystem5 **target = &this->mUnk_5C[PlayerCharacter_Link][1]; - (*target) = new(HeapIndex_1) UnkFileSystem5((char *) path, 0xA1, HeapIndex_1, 0); + UnkFileSystem5** target = &this->mUnk_5C[PlayerCharacter_Link][1]; + (*target) = new(HeapIndex_1) UnkFileSystem5((char*) path, 0xA1, HeapIndex_1, 0); (*target)->vfunc_08(0x10); } } @@ -243,14 +243,14 @@ void UnkStruct_027e0ce0_1C::func_ov001_020bd1ec() { return; } - UnkFileSystem5 **target = &this->mUnk_5C[PlayerCharacter_Link][1]; + UnkFileSystem5** target = &this->mUnk_5C[PlayerCharacter_Link][1]; if (*target != NULL) { DELETE(*target); } for (unsigned long i = 0; i < PlayerCharacter_Max; i++) { for (unsigned long j = 0; j < ARRAY_LEN(this->mUnk_08[i]); j++) { - if (*(const u16 *) &this->mUnk_00[i].mUnk_00 & (1 << j)) { + if (*(const u16*) &this->mUnk_00[i].mUnk_00 & (1 << j)) { this->mUnk_00[i].mUnk_00 &= ~(1 << j); DELETE(this->mUnk_08[i][j]); @@ -351,7 +351,7 @@ void PlayerLinkActor_A0::func_ov001_020bd388(bool param1, bool param2) { if (data_ov000_020aa88c[temp_r0].mIsNotImmobile) { if (temp_r0 == EntryTransitionType_51) { UnkStruct_ov000_020b3000 local_18(ActorId_Beedle); - Actor **pBeedle = gpActorManager->func_01fff350(&local_18, gpActorManager->mActorTable); + Actor** pBeedle = gpActorManager->func_01fff350(&local_18, gpActorManager->mActorTable); if (0) { var_r1_true: diff --git a/src/001_SceneInit/UnkStruct_027e0ce0_30_001.cpp b/src/001_SceneInit/UnkStruct_027e0ce0_30_001.cpp index d23b56aeb..2a9681072 100644 --- a/src/001_SceneInit/UnkStruct_027e0ce0_30_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e0ce0_30_001.cpp @@ -7,9 +7,9 @@ extern fx32 data_ov000_020afd14; -UnkStruct_027e0ce0_30_00::UnkStruct_027e0ce0_30_00(UnkStruct_027e0ce0_38 *param1, UnkStruct_027e0ce0_3C *param2, - UnkStruct_027e0ce0_40 *param3, PlayerLinkActor *pLink, - PlayerActorBase *pZelda) { +UnkStruct_027e0ce0_30_00::UnkStruct_027e0ce0_30_00(UnkStruct_027e0ce0_38* param1, UnkStruct_027e0ce0_3C* param2, + UnkStruct_027e0ce0_40* param3, PlayerLinkActor* pLink, + PlayerActorBase* pZelda) { this->mUnk_00[PlayerType_Link].x = 0; this->mUnk_00[PlayerType_Link].y = 0; this->mUnk_00[PlayerType_Link].z = 0; @@ -37,7 +37,7 @@ UnkStruct_027e0ce0_30_00::UnkStruct_027e0ce0_30_00(UnkStruct_027e0ce0_38 *param1 VecFx32_Copy(¶m2->mUnk_00[PlayerType_Link], &this->mUnk_00[PlayerType_Link]); } else { //! TODO: fake match - func_ov000_0208dd60(*(unk32 *volatile *) &pLink, this); + func_ov000_0208dd60(*(unk32* volatile*) &pLink, this); } this->mUnk_00[PlayerType_Link].y += data_ov000_020afd14; @@ -62,16 +62,16 @@ void UnkStruct_027e0ce0_30::func_ov001_020bbf00(int index, unk32 param2) { this->mUnk_08[index] = new(HeapIndex_1) UnkStruct_027e0ce0_30_08(param2); } -void UnkStruct_027e0ce0_30::func_ov001_020bbf24(UnkStruct_027e0ce0_38 *param1) { +void UnkStruct_027e0ce0_30::func_ov001_020bbf24(UnkStruct_027e0ce0_38* param1) { this->mUnk_00 = new(HeapIndex_1) UnkStruct_027e0ce0_30_00(param1, NULL, 0x00, NULL, 0x00); } -void UnkStruct_027e0ce0_30::func_ov001_020bbf50(UnkStruct_027e0ce0_3C *param1) { +void UnkStruct_027e0ce0_30::func_ov001_020bbf50(UnkStruct_027e0ce0_3C* param1) { this->mUnk_00 = new(HeapIndex_1) UnkStruct_027e0ce0_30_00(NULL, param1, 0x00, NULL, 0x00); } -void UnkStruct_027e0ce0_30::func_ov001_020bbf7c(UnkStruct_027e0ce0_40 *param1, PlayerLinkActor *param2, - PlayerActorBase *param3) { +void UnkStruct_027e0ce0_30::func_ov001_020bbf7c(UnkStruct_027e0ce0_40* param1, PlayerLinkActor* param2, + PlayerActorBase* param3) { this->mUnk_00 = new(HeapIndex_1) UnkStruct_027e0ce0_30_00(NULL, NULL, param1, param2, param3); if (gOverlayManager.IsPlayerSub()) { diff --git a/src/001_SceneInit/UnkStruct_027e0ce0_34_001.cpp b/src/001_SceneInit/UnkStruct_027e0ce0_34_001.cpp index c120d40b0..4bbbe72ef 100644 --- a/src/001_SceneInit/UnkStruct_027e0ce0_34_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e0ce0_34_001.cpp @@ -38,7 +38,7 @@ UnkStruct_027e0ce0_34::~UnkStruct_027e0ce0_34() { UnkStruct_027e0d00::Destroy(); } -void UnkStruct_027e0ce0_34::func_ov001_020bf22c(SaveFile_00000_0000_Data_D8 *param1, unk32 param2) { +void UnkStruct_027e0ce0_34::func_ov001_020bf22c(SaveFile_00000_0000_Data_D8* param1, unk32 param2) { this->mUnk_2C = param1->func_ov000_020a0cf4(); this->mSpiritTrackFlags = param1->spiritTrackFlags; diff --git a/src/001_SceneInit/UnkStruct_027e0ce0_40_Base_001.cpp b/src/001_SceneInit/UnkStruct_027e0ce0_40_Base_001.cpp index 27e004858..c446343b8 100644 --- a/src/001_SceneInit/UnkStruct_027e0ce0_40_Base_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e0ce0_40_Base_001.cpp @@ -1,7 +1,7 @@ #include "Unknown/UnkStruct_027e0ce0.hpp" #include "global.h" -UnkStruct_027e0ce0_40_Base::UnkStruct_027e0ce0_40_Base(unk32 param1, void *param2, ItemManager *pItemMgr) : +UnkStruct_027e0ce0_40_Base::UnkStruct_027e0ce0_40_Base(unk32 param1, void* param2, ItemManager* pItemMgr) : mUnk_000(param1), mUnk_004(param2), mpItemManager(pItemMgr), @@ -29,7 +29,7 @@ void UnkStruct_027e0ce0_40_Base::func_ov001_020bc0e0(bool param1) { this->mUnk_07C.func_ov000_020968e0(); this->mUnk_094.func_ov000_0208aee4(); - UnkStruct_027e0ce0_40_Base_94_50 *unk_94_50 = this->mUnk_094.mUnk_50; + UnkStruct_027e0ce0_40_Base_94_50* unk_94_50 = this->mUnk_094.mUnk_50; if (unk_94_50 != NULL) { unk_94_50->mUnk_0C = unk_94_50->mUnk_08; unk_94_50->mUnk_2C = &unk_94_50->mUnk_24; diff --git a/src/001_SceneInit/UnkStruct_027e0cec_001.cpp b/src/001_SceneInit/UnkStruct_027e0cec_001.cpp index 997742bd1..8efc7c01c 100644 --- a/src/001_SceneInit/UnkStruct_027e0cec_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e0cec_001.cpp @@ -25,7 +25,7 @@ enum EffectPathIndex_ { EffectPathIndex_BossLast2 = 11, }; -static const char *data_ov001_020c2f28[] = { +static const char* data_ov001_020c2f28[] = { "Effect/dungeon.spa", // EffectPathIndex_Dungeon1 "Effect/field.spa", // EffectPathIndex_Field "Effect/dungeon.spa", // EffectPathIndex_Dungeon2 @@ -40,7 +40,7 @@ static const char *data_ov001_020c2f28[] = { "Effect/boss_last2.spa", // EffectPathIndex_BossLast2 }; -UnkStruct_027e0cec *UnkStruct_027e0cec::Create() { +UnkStruct_027e0cec* UnkStruct_027e0cec::Create() { data_0204999c.func_ov001_020ba620(); return new(HeapIndex_5) UnkStruct_027e0cec(); } @@ -59,11 +59,11 @@ UnkStruct_027e0cec::UnkStruct_027e0cec() : this->mUnk_20 = 0x00; - UnkFileSystem2 *pUnkFs2; + UnkFileSystem2* pUnkFs2; if (data_027e09a4->IsSceneModeBattle()) { UnkFileSystem2 local_2c(NULL, 0x00); pUnkFs2 = &local_2c; - const char *path = "Effect/multiboot.spa"; + const char* path = "Effect/multiboot.spa"; pUnkFs2->vfunc_0C(); pUnkFs2->mUnk_04 = path; this->mUnk_18[0] = new(HeapIndex_5) UnkStruct_027e0cec_18(pUnkFs2, true, 0); @@ -72,7 +72,7 @@ UnkStruct_027e0cec::UnkStruct_027e0cec() : { UnkFileSystem2 local_44(NULL, 0x00); pUnkFs2 = &local_44; - const char *path = "Effect/train.spa"; + const char* path = "Effect/train.spa"; pUnkFs2->vfunc_0C(); pUnkFs2->mUnk_04 = path; this->mUnk_18[0] = new(HeapIndex_5) UnkStruct_027e0cec_18(pUnkFs2, true, 0); @@ -81,45 +81,45 @@ UnkStruct_027e0cec::UnkStruct_027e0cec() : if (gOverlayManager.IsTrainDark()) { UnkFileSystem2 local_5c(NULL, 0x00); pUnkFs2 = &local_5c; - const char *path = "Effect/train_dark.spa"; + const char* path = "Effect/train_dark.spa"; pUnkFs2->vfunc_0C(); pUnkFs2->mUnk_04 = path; this->mUnk_18[1] = new(HeapIndex_5) UnkStruct_027e0cec_18(pUnkFs2, true, 1); } } else if (data_027e09a4->IsCutscene()) { this->mUnk_20 = 0x01; - const char *unk_00 = Cutscene_GetParamEntry(data_027e09a4->CurrentCSIndex())->mUnk_00; + const char* unk_00 = Cutscene_GetParamEntry(data_027e09a4->CurrentCSIndex())->mUnk_00; wchar_t aStack_9c[32]; aStack_9c[ARRAY_LEN(aStack_9c) - 1] = L'\0'; - strncpy((char *) aStack_9c, "Effect/demo_", sizeof(aStack_9c) - 1); + strncpy((char*) aStack_9c, "Effect/demo_", sizeof(aStack_9c) - 1); - size_t len1 = strlen((char *) aStack_9c); - strncpy((char *) aStack_9c + len1, unk_00, sizeof(aStack_9c) - 1 - len1); + size_t len1 = strlen((char*) aStack_9c); + strncpy((char*) aStack_9c + len1, unk_00, sizeof(aStack_9c) - 1 - len1); - const char *ext = ".spa"; - size_t len2 = strlen((char *) aStack_9c); - strncpy((char *) aStack_9c + len2, ext, sizeof(aStack_9c) - 1 - len2); + const char* ext = ".spa"; + size_t len2 = strlen((char*) aStack_9c); + strncpy((char*) aStack_9c + len2, ext, sizeof(aStack_9c) - 1 - len2); UnkFileSystem2 local_b4(NULL, 0x00); pUnkFs2 = &local_b4; pUnkFs2->vfunc_0C(); - pUnkFs2->mUnk_04 = (char *) aStack_9c; + pUnkFs2->mUnk_04 = (char*) aStack_9c; - const char *local_b0 = (char *) aStack_9c; + const char* local_b0 = (char*) aStack_9c; if (func_02012fa8(local_b0)) { this->mUnk_18[0] = new(HeapIndex_5) UnkStruct_027e0cec_18(pUnkFs2, true, 0); } } else { - const char *iVar4; + const char* iVar4; for (int i = 0; i < ARRAY_LEN(this->mUnk_18); i++) { switch (i) { case 0: { UnkFileSystem2 local_cc(NULL, 0x00); pUnkFs2 = &local_cc; - const char *path = "Effect/land.spa"; + const char* path = "Effect/land.spa"; pUnkFs2->vfunc_0C(); pUnkFs2->mUnk_04 = path; this->mUnk_18[i] = new(HeapIndex_5) UnkStruct_027e0cec_18(pUnkFs2, true, i); @@ -145,7 +145,7 @@ UnkStruct_027e0cec::UnkStruct_027e0cec() : data_0204999c.func_ov001_020ba640(); } -const char *UnkStruct_027e0cec::func_ov001_020bef98() { +const char* UnkStruct_027e0cec::func_ov001_020bef98() { SceneIndex sceneIndex = data_027e09a4->CurrentSceneIndex(); if (sceneIndex == SceneIndex_b_last22) { return data_ov001_020c2f28[EffectPathIndex_BossLast2]; @@ -195,7 +195,7 @@ void UnkStruct_027e0cec::func_ov001_020bf028() { ARM_BEGIN -UnkStruct_027e0cec_00::UnkStruct_027e0cec_00(UnkStruct_027e0cec *param1) : +UnkStruct_027e0cec_00::UnkStruct_027e0cec_00(UnkStruct_027e0cec* param1) : mUnk_10(param1), mUnk_14(0) {} diff --git a/src/001_SceneInit/UnkStruct_027e0cec_18_001.cpp b/src/001_SceneInit/UnkStruct_027e0cec_18_001.cpp index 7b74de46b..8208dd42e 100644 --- a/src/001_SceneInit/UnkStruct_027e0cec_18_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e0cec_18_001.cpp @@ -9,11 +9,11 @@ extern unk32 data_027e0154; -void *UnkStruct_027e0cec_18::func_ov001_020bf0a0(size_t length) { +void* UnkStruct_027e0cec_18::func_ov001_020bf0a0(size_t length) { return NNS_FndAllocFromFrmHeapEx(data_0204999c.mUnk_00[HeapIndex_5], length, 4); } -UnkStruct_027e0cec_18::UnkStruct_027e0cec_18(UnkFileSystem1 *param1, bool param2, unk32 param3) : +UnkStruct_027e0cec_18::UnkStruct_027e0cec_18(UnkFileSystem1* param1, bool param2, unk32 param3) : mUnk_04(0), mUnk_08(0) { @@ -34,8 +34,8 @@ UnkStruct_027e0cec_18::UnkStruct_027e0cec_18(UnkFileSystem1 *param1, bool param2 } } - this->mUnk_04 = func_ov000_02054690((void *) UnkStruct_027e0cec_18::func_ov001_020bf0a0, uVar5, uVar3, 0x00, 0x24, 0x3F); - this->mUnk_04->mUnk_40.SetPrev((LinkListNode *) &data_027e0154); + this->mUnk_04 = func_ov000_02054690((void*) UnkStruct_027e0cec_18::func_ov001_020bf0a0, uVar5, uVar3, 0x00, 0x24, 0x3F); + this->mUnk_04->mUnk_40.SetPrev((LinkListNode*) &data_027e0154); this->mUnk_04->mUnk_3C = 0x8000; param1->vfunc_08(0x10); @@ -43,17 +43,17 @@ UnkStruct_027e0cec_18::UnkStruct_027e0cec_18(UnkFileSystem1 *param1, bool param2 DC_FlushAll(); this->mUnk_04->func_ov000_0205498c(param1->mpFile); - this->mUnk_08 = ((SPAHeader *) param1->mpFile)->mUnk_08; + this->mUnk_08 = ((SPAHeader*) param1->mpFile)->mUnk_08; this->mUnk_04->func_ov000_02054a78(); this->mUnk_04->func_ov000_02054a88(); - if (((SPAHeader *) param1->mpFile)->mUnk_18 < size) { - param1->vfunc_10(((SPAHeader *) param1->mpFile)->mUnk_18); + if (((SPAHeader*) param1->mpFile)->mUnk_18 < size) { + param1->vfunc_10(((SPAHeader*) param1->mpFile)->mUnk_18); size = param1->mFileSize; } if (param2) { - void *ptr = ::operator new(size, HeapIndex_5); + void* ptr = ::operator new(size, HeapIndex_5); MI_CpuCopy32(param1->mpFile, ptr, size); this->mUnk_04->func_ov000_02054998(ptr); } diff --git a/src/001_SceneInit/UnkStruct_027e0cf8_08_00_001.cpp b/src/001_SceneInit/UnkStruct_027e0cf8_08_00_001.cpp index 789b44df7..9af0b2b8b 100644 --- a/src/001_SceneInit/UnkStruct_027e0cf8_08_00_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e0cf8_08_00_001.cpp @@ -19,7 +19,7 @@ UnkStruct_027e0cf8_08_00::UnkStruct_027e0cf8_08_00(u8 bgType) : this->mUnk_08 = true; } - Vec2s *local_58[4][4] = { + Vec2s* local_58[4][4] = { {NULL, this->mUnk_024, this->mUnk_040, this->mUnk_05C}, {this->mUnk_0B0, NULL, this->mUnk_078, this->mUnk_094}, {this->mUnk_0E8, this->mUnk_104, NULL, this->mUnk_0CC}, diff --git a/src/001_SceneInit/UnkStruct_027e0d00_001.cpp b/src/001_SceneInit/UnkStruct_027e0d00_001.cpp index 684a7cc00..35fc612c7 100644 --- a/src/001_SceneInit/UnkStruct_027e0d00_001.cpp +++ b/src/001_SceneInit/UnkStruct_027e0d00_001.cpp @@ -57,16 +57,16 @@ void UnkStruct_027e0d00::func_ov001_020bf590() { unk32 uVar2 = this->func_ov024_020d485c(i, 1); unk32 uVar3 = this->func_ov024_020d485c(i, 2); - const u8 *ptr = data_ov024_020d7624.unk_01; + const u8* ptr = data_ov024_020d7624.unk_01; this->mUnk_000[i] = new(HeapIndex_1) UnkStruct_027e0d00_00(uVar1, uVar2, uVar3, ptr[i]); } for (int i = 0; i < MAX_TRAIN_PARTS; i++) { - this->mUnk_010[i] = (UnkStruct_027e0d00_10 *) ::operator new(this->func_ov024_020d485c(i, 3), HeapIndex_1); + this->mUnk_010[i] = (UnkStruct_027e0d00_10*) ::operator new(this->func_ov024_020d485c(i, 3), HeapIndex_1); } for (int i = 0; i < MAX_TRAIN_PARTS; i++) { - this->mUnk_0E4[i] = (UnkStruct_027e0d00_20 *) ::operator new(sizeof(UnkStruct_027e0d00_20), HeapIndex_1); + this->mUnk_0E4[i] = (UnkStruct_027e0d00_20*) ::operator new(sizeof(UnkStruct_027e0d00_20), HeapIndex_1); } for (int i = 0; i < MAX_TRAIN_PARTS; i++) { @@ -74,8 +74,8 @@ void UnkStruct_027e0d00::func_ov001_020bf590() { } this->mUnk_0F8 = new(HeapIndex_1) UnkStruct_027e0d00_00(0x00, SUBSCREEN_WIDTH, SUBSCREEN_HEIGHT, 0x00); - this->mUnk_0FC = (UnkStruct_027e0d00_FC *) ::operator new(sizeof(UnkStruct_027e0d00_FC), HeapIndex_1); - this->mUnk_100 = (MapObjectProfile_Derived5 *) ::operator new(sizeof(MapObjectProfile_Derived5), HeapIndex_1); + this->mUnk_0FC = (UnkStruct_027e0d00_FC*) ::operator new(sizeof(UnkStruct_027e0d00_FC), HeapIndex_1); + this->mUnk_100 = (MapObjectProfile_Derived5*) ::operator new(sizeof(MapObjectProfile_Derived5), HeapIndex_1); this->mUnk_104 = true; } diff --git a/src/001_SceneInit/UnkStruct_ov000_020b504c_001.cpp b/src/001_SceneInit/UnkStruct_ov000_020b504c_001.cpp index ccb4534ce..024ed0519 100644 --- a/src/001_SceneInit/UnkStruct_ov000_020b504c_001.cpp +++ b/src/001_SceneInit/UnkStruct_ov000_020b504c_001.cpp @@ -8,7 +8,7 @@ extern u8 gBufferTrainMsg[0x8C00]; -static const char *data_ov001_020c2cf4[] = { +static const char* data_ov001_020c2cf4[] = { NULL, "tower", "tower_lobby", "intrain", "castle", "castle_town", "forest", "snow", "water", "flame", "flame_fld", "desert", "village", "dungeon", }; @@ -24,17 +24,17 @@ void UnkStruct_ov000_020b504c::func_ov001_020be510(void) { this->mUnk_028 = new(HeapIndex_1) UnkStruct_ov000_020b504c_28(0x00); this->mUnk_02C = new(HeapIndex_1) UnkStruct_ov000_020b504c_2C(0x00); - UnkStruct_ov000_020b504c_28 *pvVar1 = new(HeapIndex_1) UnkStruct_ov000_020b504c_28(0x01); - UnkStruct_ov000_020b504c_0C_Derived1 *pvVar2 = new(HeapIndex_1) UnkStruct_ov000_020b504c_0C_Derived1(0x00); - UnkStruct_ov000_020b504c_0C_Derived1 *pvVar3 = new(HeapIndex_1) UnkStruct_ov000_020b504c_0C_Derived1(0x01); - void *uVar4 = func_02022884(0x00); - UnkStruct_ov000_020b504c_0C_Derived2 *pvVar5 = new(HeapIndex_1) UnkStruct_ov000_020b504c_0C_Derived2(); + UnkStruct_ov000_020b504c_28* pvVar1 = new(HeapIndex_1) UnkStruct_ov000_020b504c_28(0x01); + UnkStruct_ov000_020b504c_0C_Derived1* pvVar2 = new(HeapIndex_1) UnkStruct_ov000_020b504c_0C_Derived1(0x00); + UnkStruct_ov000_020b504c_0C_Derived1* pvVar3 = new(HeapIndex_1) UnkStruct_ov000_020b504c_0C_Derived1(0x01); + void* uVar4 = func_02022884(0x00); + UnkStruct_ov000_020b504c_0C_Derived2* pvVar5 = new(HeapIndex_1) UnkStruct_ov000_020b504c_0C_Derived2(); this->mUnk_00C[0] = this->mUnk_028; this->mUnk_00C[1] = pvVar1; this->mUnk_00C[2] = pvVar2; this->mUnk_00C[3] = pvVar3; - this->mUnk_00C[4] = (UnkStruct_ov000_020b504c_0C_Base *) uVar4; + this->mUnk_00C[4] = (UnkStruct_ov000_020b504c_0C_Base*) uVar4; this->mUnk_00C[5] = pvVar5; this->mUnk_008 = new(HeapIndex_1) UnkStruct_ov000_020b504c_08(); @@ -45,13 +45,13 @@ void UnkStruct_ov000_020b504c::func_ov001_020be5e8(void) { this->mUnk_000->func_ov000_020676f8("battle_common", HeapIndex_1); this->mUnk_000->func_ov000_020676f8("battle_parent", HeapIndex_1); - UnkStruct_ov000_020b504c_2C *pvVar1 = new(HeapIndex_1) UnkStruct_ov000_020b504c_2C(0x00); - UnkStruct_ov000_020b504c_0C_Derived3 *pvVar2 = new(HeapIndex_1) UnkStruct_ov000_020b504c_0C_Derived3(0x00); - void *iVar3 = func_02022884(0x00); + UnkStruct_ov000_020b504c_2C* pvVar1 = new(HeapIndex_1) UnkStruct_ov000_020b504c_2C(0x00); + UnkStruct_ov000_020b504c_0C_Derived3* pvVar2 = new(HeapIndex_1) UnkStruct_ov000_020b504c_0C_Derived3(0x00); + void* iVar3 = func_02022884(0x00); this->mUnk_00C[0] = pvVar1; this->mUnk_00C[2] = pvVar2; - this->mUnk_00C[4] = (UnkStruct_ov000_020b504c_0C_Base *) iVar3; + this->mUnk_00C[4] = (UnkStruct_ov000_020b504c_0C_Base*) iVar3; this->mUnk_008 = new(HeapIndex_1) UnkStruct_ov000_020b504c_08(); } @@ -60,13 +60,13 @@ void UnkStruct_ov000_020b504c::func_ov001_020be668(void) { this->mUnk_000->mUnk_10++; this->mUnk_000->func_ov000_020676f8("select", HeapIndex_1); - UnkStruct_ov000_020b504c_2C *pvVar1 = new(HeapIndex_1) UnkStruct_ov000_020b504c_2C(0x00); - UnkStruct_ov000_020b504c_0C_Derived3 *pvVar2 = new(HeapIndex_1) UnkStruct_ov000_020b504c_0C_Derived3(0x00); - void *iVar3 = func_02022884(0x00); + UnkStruct_ov000_020b504c_2C* pvVar1 = new(HeapIndex_1) UnkStruct_ov000_020b504c_2C(0x00); + UnkStruct_ov000_020b504c_0C_Derived3* pvVar2 = new(HeapIndex_1) UnkStruct_ov000_020b504c_0C_Derived3(0x00); + void* iVar3 = func_02022884(0x00); this->mUnk_00C[0] = pvVar1; this->mUnk_00C[2] = pvVar2; - this->mUnk_00C[4] = (UnkStruct_ov000_020b504c_0C_Base *) iVar3; + this->mUnk_00C[4] = (UnkStruct_ov000_020b504c_0C_Base*) iVar3; this->mUnk_008 = new(HeapIndex_1) UnkStruct_ov000_020b504c_08(); } @@ -105,7 +105,7 @@ void UnkStruct_ov000_020b504c::func_ov001_020be79c(SceneIndex sceneIndex) { this->mUnk_000->mUnk_10++; this->mUnk_000->func_ov000_020676f8("field", HeapIndex_1); - const char *unk_14 = data_ov001_020c2cf4[data_027e09a0->func_ov000_020702a8(sceneIndex)->mUnk_14]; + const char* unk_14 = data_ov001_020c2cf4[data_027e09a0->func_ov000_020702a8(sceneIndex)->mUnk_14]; if (unk_14 != NULL) { this->mUnk_000->func_ov000_020676f8(unk_14, HeapIndex_1); } @@ -120,7 +120,7 @@ void UnkStruct_ov000_020b504c::func_ov001_020be82c(SceneIndex sceneIndex) { this->mUnk_000->mUnk_10++; - const char *unk_14 = data_ov001_020c2cf4[data_027e09a0->func_ov000_020702a8(sceneIndex)->mUnk_14]; + const char* unk_14 = data_ov001_020c2cf4[data_027e09a0->func_ov000_020702a8(sceneIndex)->mUnk_14]; if (unk_14 != NULL) { this->mUnk_000->func_ov000_020676f8(unk_14, HeapIndex_1); } else { @@ -154,7 +154,7 @@ void UnkStruct_ov000_020b504c::func_ov001_020be8e0(void) { DELETE(this->mUnk_00C[6]); } -void UnkStruct_ov000_020b504c::func_ov001_020be92c(UnkStruct_027e0cd8_04_0C *param1) { +void UnkStruct_ov000_020b504c::func_ov001_020be92c(UnkStruct_027e0cd8_04_0C* param1) { if (data_027e09a4->IsLand()) { this->mUnk_000->mUnk_10++; } diff --git a/src/001_SceneInit/UnkStruct_ov000_020b50c0_001.cpp b/src/001_SceneInit/UnkStruct_ov000_020b50c0_001.cpp index 9db11e18a..5482c7b9e 100644 --- a/src/001_SceneInit/UnkStruct_ov000_020b50c0_001.cpp +++ b/src/001_SceneInit/UnkStruct_ov000_020b50c0_001.cpp @@ -81,7 +81,7 @@ void UnkStruct_ov000_020b50c0::func_ov001_020bd934(bool param1) { } } -void UnkStruct_ov000_020b50c0::func_ov001_020bd970(const EntranceInfo *param1) { +void UnkStruct_ov000_020b50c0::func_ov001_020bd970(const EntranceInfo* param1) { SceneIndex scene = param1->sceneIndex; unk32 iVar7 = data_027e09a0->GetCourseEntry(scene)->unk_10; unk32 uVar6 = 0; @@ -528,7 +528,7 @@ void UnkStruct_ov000_020b50c0::func_ov001_020bd970(const EntranceInfo *param1) { this->func_ov000_02069c78(); } -void UnkStruct_ov000_020b50c0::func_ov001_020bde04(const EntranceInfo *param1) { +void UnkStruct_ov000_020b50c0::func_ov001_020bde04(const EntranceInfo* param1) { unk32 unk_10 = data_027e09a0->GetCourseEntry(param1->sceneIndex)->unk_10; data_027e099c->func_ov001_020bdfa0(param1); @@ -540,7 +540,7 @@ void UnkStruct_ov000_020b50c0::func_ov001_020bde04(const EntranceInfo *param1) { data_ov000_020b52e8.mUnk_04 = 0; } -void UnkStruct_ov000_020b50c0::func_ov001_020bde4c(const EntranceInfo *param1) { +void UnkStruct_ov000_020b50c0::func_ov001_020bde4c(const EntranceInfo* param1) { data_027e099c->func_ov001_020bdfb8(param1); } @@ -560,7 +560,7 @@ void UnkStruct_ov018_020c5ac0::func_ov001_020bde7c() { } } -void UnkStruct_ov018_020c5ac0::func_ov001_020bde90(const EntranceInfo *param1) { +void UnkStruct_ov018_020c5ac0::func_ov001_020bde90(const EntranceInfo* param1) { s32 scene = param1->sceneIndex; unk32 unk_10 = data_027e09a0->GetCourseEntry(scene)->unk_10; unk32 var_r4 = 0; @@ -641,7 +641,7 @@ void UnkStruct_ov018_020c5ac0::func_ov001_020bde90(const EntranceInfo *param1) { this->func_ov000_0206f61c(var_r4); } -void UnkStruct_ov018_020c5ac0::func_ov001_020bdfa0(const EntranceInfo *param1) { +void UnkStruct_ov018_020c5ac0::func_ov001_020bdfa0(const EntranceInfo* param1) { u8 csIndex = param1->csIndex; if (param1->isCS == true && csIndex != CutsceneIndex_Max) { @@ -649,7 +649,7 @@ void UnkStruct_ov018_020c5ac0::func_ov001_020bdfa0(const EntranceInfo *param1) { } } -void UnkStruct_ov018_020c5ac0::func_ov001_020bdfb8(const EntranceInfo *param1) { +void UnkStruct_ov018_020c5ac0::func_ov001_020bdfb8(const EntranceInfo* param1) { if (gpCourseManager->mpMapMgr != NULL && GET_FLAG2(gpCourseManager->mpMapMgr->mUnk_128, UnkFlags2_7)) { if (param1->isCS == true && param1->csIndex == CutsceneIndex_FirstPhantomPossession) { this->func_ov000_0206f61c(0x00); diff --git a/src/001_SceneInit/UnkStruct_ov020_020e8544_001.cpp b/src/001_SceneInit/UnkStruct_ov020_020e8544_001.cpp index c0eee6b4f..41eefc239 100644 --- a/src/001_SceneInit/UnkStruct_ov020_020e8544_001.cpp +++ b/src/001_SceneInit/UnkStruct_ov020_020e8544_001.cpp @@ -63,9 +63,9 @@ void func_ov001_020bfd54() { void GameModeBattle::func_ov001_020bfd84(unk32 param1) { switch (param1) { case 0: - DSProt_DetectEmulator((void *) func_ov001_020bfcc0); - DSProt_DetectFlashcart((void *) func_ov001_020bfcf0); - DSProt_DetectNotDummy((void *) func_ov001_020bfd20); + DSProt_DetectEmulator((void*) func_ov001_020bfcc0); + DSProt_DetectFlashcart((void*) func_ov001_020bfcf0); + DSProt_DetectNotDummy((void*) func_ov001_020bfd20); func_ov001_020bfd54(); break; case 1: diff --git a/src/001_SceneInit/ZeldaArrangeBinary.cpp b/src/001_SceneInit/ZeldaArrangeBinary.cpp index 2a0c731f4..f7a1e0b57 100644 --- a/src/001_SceneInit/ZeldaArrangeBinary.cpp +++ b/src/001_SceneInit/ZeldaArrangeBinary.cpp @@ -1,32 +1,32 @@ #include "Course/CourseManager.hpp" #include "files.h" -BOOL ZAB_ParseFile(FileInfos *pFileInfos, u32 sceneIndex, UnkStruct_027e0cd8_04 *pDst, const CourseListEntry *pEntry, - const UnkStruct_func_ov000_020702a8 *pUnk1, BOOL param6) { +BOOL ZAB_ParseFile(FileInfos* pFileInfos, u32 sceneIndex, UnkStruct_027e0cd8_04* pDst, const CourseListEntry* pEntry, + const UnkStruct_func_ov000_020702a8* pUnk1, BOOL param6) { int i; - ZABHeader *pHeader = (ZABHeader *) pFileInfos->pFile; - ZABSectionHeader *pSection = (ZABSectionHeader *) ((u8 *) pHeader + sizeof(ZABHeader)); + ZABHeader* pHeader = (ZABHeader*) pFileInfos->pFile; + ZABSectionHeader* pSection = (ZABSectionHeader*) ((u8*) pHeader + sizeof(ZABHeader)); for (i = 0; i < pHeader->nSections; i++) { switch (pSection->type) { case ZABSectionType_CABM: - ZAB_ParseCAMB(pFileInfos, (ZABSectionCABM *) pSection, sceneIndex, pDst, pEntry, pUnk1, param6); + ZAB_ParseCAMB(pFileInfos, (ZABSectionCABM*) pSection, sceneIndex, pDst, pEntry, pUnk1, param6); break; case ZABSectionType_CABI: - ZAB_ParseCABI(pFileInfos, (ZABSectionCABI *) pSection, param6); + ZAB_ParseCABI(pFileInfos, (ZABSectionCABI*) pSection, param6); break; default: break; } - pSection = (ZABSectionHeader *) ((u8 *) pSection + pSection->nSize); + pSection = (ZABSectionHeader*) ((u8*) pSection + pSection->nSize); } return true; } -BOOL ZAB_ParseCAMB(FileInfos *pFileInfos, ZABSectionCABM *pCABM, u32 sceneIndex, UnkStruct_027e0cd8_04 *pDst, - const CourseListEntry *pEntry, const UnkStruct_func_ov000_020702a8 *pUnk1, BOOL param6) { +BOOL ZAB_ParseCAMB(FileInfos* pFileInfos, ZABSectionCABM* pCABM, u32 sceneIndex, UnkStruct_027e0cd8_04* pDst, + const CourseListEntry* pEntry, const UnkStruct_func_ov000_020702a8* pUnk1, BOOL param6) { u8 params[2]; u8 uVar4[2]; u8 unk_04[2]; @@ -45,17 +45,17 @@ BOOL ZAB_ParseCAMB(FileInfos *pFileInfos, ZABSectionCABM *pCABM, u32 sceneIndex, int i; if (!param6) { - unk_04[0] = pCABM->header.unk_08; - unk_04[1] = pCABM->header.unk_09; - *(u16 *) &pDst->mUnk_12 = *(u16 *) &unk_04; + unk_04[0] = pCABM->header.unk_08; + unk_04[1] = pCABM->header.unk_09; + *(u16*) &pDst->mUnk_12 = *(u16*) &unk_04; - unk_02[0] = pCABM->header.unk_08; - unk_02[1] = pCABM->header.unk_09; - *(u16 *) &pDst->mUnk_10 = *(u16 *) &unk_02; + unk_02[0] = pCABM->header.unk_08; + unk_02[1] = pCABM->header.unk_09; + *(u16*) &pDst->mUnk_10 = *(u16*) &unk_02; - unk_00[0] = pCABM->header.unk_0A; - unk_00[1] = pCABM->header.unk_0B; - *(u16 *) &pDst->mUnk_14 = *(u16 *) &unk_00; + unk_00[0] = pCABM->header.unk_0A; + unk_00[1] = pCABM->header.unk_0B; + *(u16*) &pDst->mUnk_14 = *(u16*) &unk_00; if (pCABM->header.unk_0C == 0) { params[0] = 1; @@ -71,18 +71,18 @@ BOOL ZAB_ParseCAMB(FileInfos *pFileInfos, ZABSectionCABM *pCABM, u32 sceneIndex, params[1] = pCABM->header.unk_0D; } - *(u16 *) &pDst->mUnk_16 = *(u16 *) params; + *(u16*) &pDst->mUnk_16 = *(u16*) params; if (pDst->mUnk_01) { sp44.x = 0; sp44.y = 0; - *(u16 *) uVar4 = *(u16 *) &pDst->mUnk_16; + *(u16*) uVar4 = *(u16*) &pDst->mUnk_16; if (uVar4[0] > uVar4[1]) { sp44.y = (SUBSCREEN_HEIGHT / (uVar4[0] * 2)) * (uVar4[0] - uVar4[1]); } else if (uVar4[0] < uVar4[1]) { - sp44.x = (SUBSCREEN_WIDTH / (uVar4[1] * 2)) * (uVar4[1] - ((u8 *) uVar4)[0]); + sp44.x = (SUBSCREEN_WIDTH / (uVar4[1] * 2)) * (uVar4[1] - ((u8*) uVar4)[0]); } pDst->mUnk_18 = sp44; @@ -102,8 +102,8 @@ BOOL ZAB_ParseCAMB(FileInfos *pFileInfos, ZABSectionCABM *pCABM, u32 sceneIndex, ZAB_GetRoomEntry(pFileInfos, entry_unk_00, pEntry, &sp3A); - *(u16 *) &local = *(u16 *) &sp3A; - local.unk_02 = sp3A.unk_02; + *(u16*) &local = *(u16*) &sp3A; + local.unk_02 = sp3A.unk_02; if (local.unk_02 >= 0x100 && local.unk_02 != 0xFFFF) { local.unk_02 = 0xFFFF; @@ -140,11 +140,11 @@ BOOL ZAB_ParseCAMB(FileInfos *pFileInfos, ZABSectionCABM *pCABM, u32 sceneIndex, return true; } -BOOL ZAB_ParseCABI(FileInfos *pFileInfos, ZABSectionCABI *pCABI, BOOL param3) { +BOOL ZAB_ParseCABI(FileInfos* pFileInfos, ZABSectionCABI* pCABI, BOOL param3) { return true; } -BOOL ZAB_GetRoomEntry(FileInfos *pFileInfos, u8 param2, const CourseListEntry *pEntry, CourseListRoomEntry *param4) { +BOOL ZAB_GetRoomEntry(FileInfos* pFileInfos, u8 param2, const CourseListEntry* pEntry, CourseListRoomEntry* param4) { for (int i = 0; i < pEntry->numRooms; i++) { if (param2 == pEntry->roomEntries[i].roomIndex) { *param4 = pEntry->roomEntries[i]; diff --git a/src/001_SceneInit/ZeldaCollisionBinary.cpp b/src/001_SceneInit/ZeldaCollisionBinary.cpp index ad3af8370..c576b90b1 100644 --- a/src/001_SceneInit/ZeldaCollisionBinary.cpp +++ b/src/001_SceneInit/ZeldaCollisionBinary.cpp @@ -4,43 +4,43 @@ #include "Unknown/UnkStruct_027e09e8.hpp" #include "files.h" -BOOL ZCB_ParseFile(ZCBFileInfos *pFileInfos, UnkStruct_027e09e8 *pDst, MapManagerBase *param3) { +BOOL ZCB_ParseFile(ZCBFileInfos* pFileInfos, UnkStruct_027e09e8* pDst, MapManagerBase* param3) { int i; - ZCBHeader *pHeader; - ZCBSectionHeader *pSection; + ZCBHeader* pHeader; + ZCBSectionHeader* pSection; pFileInfos->pFile->vfunc_08(0x10); - pHeader = (ZCBHeader *) pFileInfos->pFile->mpFile; - pSection = (ZCBSectionHeader *) ((u8 *) pHeader + sizeof(ZCBHeader)); + pHeader = (ZCBHeader*) pFileInfos->pFile->mpFile; + pSection = (ZCBSectionHeader*) ((u8*) pHeader + sizeof(ZCBHeader)); for (i = 0; i < pHeader->nSections; i++) { switch (pSection->type) { case ZCBSectionType_VTXB: - ZCB_ParseVTXB(pFileInfos, (ZCBSectionVTXB *) pSection, pDst, param3); + ZCB_ParseVTXB(pFileInfos, (ZCBSectionVTXB*) pSection, pDst, param3); break; case ZCBSectionType_NRMB: - ZCB_ParseNRMB(pFileInfos, (ZCBSectionNRMB *) pSection, pDst); + ZCB_ParseNRMB(pFileInfos, (ZCBSectionNRMB*) pSection, pDst); break; case ZCBSectionType_PCLB: - ZCB_ParsePCLB(pFileInfos, (ZCBSectionPCLB *) pSection, pDst); + ZCB_ParsePCLB(pFileInfos, (ZCBSectionPCLB*) pSection, pDst); break; case ZCBSectionType_TRIB: - ZCB_ParseTRIB(pFileInfos, (ZCBSectionTRIB *) pSection, pDst); + ZCB_ParseTRIB(pFileInfos, (ZCBSectionTRIB*) pSection, pDst); break; case ZCBSectionType_GRDB: - ZCB_ParseGRDB(pFileInfos, (ZCBSectionGRDB *) pSection, pDst, param3); + ZCB_ParseGRDB(pFileInfos, (ZCBSectionGRDB*) pSection, pDst, param3); break; default: break; } - pSection = (ZCBSectionHeader *) ((u8 *) pSection + pSection->nSize); + pSection = (ZCBSectionHeader*) ((u8*) pSection + pSection->nSize); } return true; } -void ZCB_ParseVTXB(ZCBFileInfos *pFileInfos, ZCBSectionVTXB *pSection, UnkStruct_027e09e8 *pDst, MapManagerBase *param3) { +void ZCB_ParseVTXB(ZCBFileInfos* pFileInfos, ZCBSectionVTXB* pSection, UnkStruct_027e09e8* pDst, MapManagerBase* param3) { u16 nEntries = pSection->header.nEntries; VecFx32 sp24 = param3->mUnk_0A0; VecFx32 sp18; @@ -50,7 +50,7 @@ void ZCB_ParseVTXB(ZCBFileInfos *pFileInfos, ZCBSectionVTXB *pSection, UnkStruct VecFx32_Copy(&sp24, &sp18); for (u32 i = 0; i < nEntries; i++) { - VecFx32 *pEntry = &pSection->entries[i]; + VecFx32* pEntry = &pSection->entries[i]; VEC_Add(pEntry, &sp24, pEntry); func_01ffd1b4(&spC, pEntry); @@ -63,16 +63,16 @@ void ZCB_ParseVTXB(ZCBFileInfos *pFileInfos, ZCBSectionVTXB *pSection, UnkStruct pDst->mUnk_54 = sp18; } -void ZCB_ParseNRMB(ZCBFileInfos *pFileInfos, ZCBSectionNRMB *pSection, UnkStruct_027e09e8 *pDst) { +void ZCB_ParseNRMB(ZCBFileInfos* pFileInfos, ZCBSectionNRMB* pSection, UnkStruct_027e09e8* pDst) { u32 nEntries = pSection->header.nEntries; //! TODO: 6 = sizeof(ZCBEntryNRMB) - 2? pDst->mpNormalTable = &pSection->entries[0]; - pDst->mpNormalTableEnd = (ZCBEntryNRMB *) ((u8 *) pSection->entries + nEntries * 6); + pDst->mpNormalTableEnd = (ZCBEntryNRMB*) ((u8*) pSection->entries + nEntries * 6); pDst->mNumNormals = nEntries; } -void ZCB_ParsePCLB(ZCBFileInfos *pFileInfos, ZCBSectionPCLB *pSection, UnkStruct_027e09e8 *pDst) { +void ZCB_ParsePCLB(ZCBFileInfos* pFileInfos, ZCBSectionPCLB* pSection, UnkStruct_027e09e8* pDst) { u32 nEntries = pSection->header.nEntries; pDst->mpPolyClassTable = &pSection->entries[0]; @@ -80,10 +80,10 @@ void ZCB_ParsePCLB(ZCBFileInfos *pFileInfos, ZCBSectionPCLB *pSection, UnkStruct pDst->mNumPolyClasses = nEntries; } -void ZCB_ParseTRIB(ZCBFileInfos *pFileInfos, ZCBSectionTRIB *pSection, UnkStruct_027e09e8 *pDst) { +void ZCB_ParseTRIB(ZCBFileInfos* pFileInfos, ZCBSectionTRIB* pSection, UnkStruct_027e09e8* pDst) { pDst->func_ov000_0207bab4(pSection->entries, pSection->header.nEntries); } -void ZCB_ParseGRDB(ZCBFileInfos *pFileInfos, ZCBSectionGRDB *pSection, UnkStruct_027e09e8 *pDst, MapManagerBase *param3) { +void ZCB_ParseGRDB(ZCBFileInfos* pFileInfos, ZCBSectionGRDB* pSection, UnkStruct_027e09e8* pDst, MapManagerBase* param3) { pDst->func_ov000_0207e99c(pSection, param3); } diff --git a/src/001_SceneInit/ZeldaMapBinary.cpp b/src/001_SceneInit/ZeldaMapBinary.cpp index 9f05d36f1..743b5fe26 100644 --- a/src/001_SceneInit/ZeldaMapBinary.cpp +++ b/src/001_SceneInit/ZeldaMapBinary.cpp @@ -17,12 +17,12 @@ extern AABB data_027e0c90; extern int data_ov089_02171540; -BOOL ZMB_ParseFile(ZMBFileInfos *pFileInfos, MapManagerBase *pDst, bool param3) { +BOOL ZMB_ParseFile(ZMBFileInfos* pFileInfos, MapManagerBase* pDst, bool param3) { bool isVersion2; - ZMBHeader *pHeader; - ZMBSectionHeader *pSection; + ZMBHeader* pHeader; + ZMBSectionHeader* pSection; - pHeader = (ZMBHeader *) pFileInfos->pFile; + pHeader = (ZMBHeader*) pFileInfos->pFile; if (pHeader->type != FileType_ZMBv1 && pHeader->type == FileType_ZMBv2) { isVersion2 = true; @@ -30,9 +30,9 @@ BOOL ZMB_ParseFile(ZMBFileInfos *pFileInfos, MapManagerBase *pDst, bool param3) isVersion2 = false; } - pSection = (ZMBSectionHeader *) ((u8 *) pHeader + sizeof(ZMBHeader)); + pSection = (ZMBSectionHeader*) ((u8*) pHeader + sizeof(ZMBHeader)); - for (int i = 0; i < pHeader->nSections; i++, pSection = (ZMBSectionHeader *) ((u8 *) pSection + pSection->nSize)) { + for (int i = 0; i < pHeader->nSections; i++, pSection = (ZMBSectionHeader*) ((u8*) pSection + pSection->nSize)) { if (isVersion2 == true) { continue; } @@ -40,10 +40,10 @@ BOOL ZMB_ParseFile(ZMBFileInfos *pFileInfos, MapManagerBase *pDst, bool param3) if (param3) { switch (pSection->type) { case ZMBSectionType_ROMB: - ZMB_ParseROMB(pFileInfos, (ZMBSectionROMB *) pSection, pDst); + ZMB_ParseROMB(pFileInfos, (ZMBSectionROMB*) pSection, pDst); break; case ZMBSectionType_ROOM: - ZMB_ParseROOM(pFileInfos, (ZMBSectionROOM *) pSection, pDst); + ZMB_ParseROOM(pFileInfos, (ZMBSectionROOM*) pSection, pDst); break; default: break; @@ -51,31 +51,31 @@ BOOL ZMB_ParseFile(ZMBFileInfos *pFileInfos, MapManagerBase *pDst, bool param3) } else { switch (pSection->type) { case ZMBSectionType_LDLB: - ZMB_ParseLDLB(pFileInfos, (ZMBSectionLDLB *) pSection, pDst); + ZMB_ParseLDLB(pFileInfos, (ZMBSectionLDLB*) pSection, pDst); break; case ZMBSectionType_MapObjects: - ZMB_ParseMapObjList(pFileInfos, (ZMBSectionMapObjectList *) pSection, pDst); + ZMB_ParseMapObjList(pFileInfos, (ZMBSectionMapObjectList*) pSection, pDst); break; case ZMBSectionType_ARAB: - ZMB_ParseARAB(pFileInfos, (ZMBSectionARAB *) pSection, pDst); + ZMB_ParseARAB(pFileInfos, (ZMBSectionARAB*) pSection, pDst); break; case ZMBSectionType_RALB: - ZMB_ParseRALB(pFileInfos, (ZMBSectionRALB *) pSection, pDst); + ZMB_ParseRALB(pFileInfos, (ZMBSectionRALB*) pSection, pDst); break; case ZMBSectionType_NPCA: - ZMB_ParseActorList(pFileInfos, (ZMBSectionActorList *) pSection, pDst); + ZMB_ParseActorList(pFileInfos, (ZMBSectionActorList*) pSection, pDst); break; case ZMBSectionType_PLYR: - ZMB_ParsePLYR(pFileInfos, (ZMBSectionPLYR *) pSection, pDst); + ZMB_ParsePLYR(pFileInfos, (ZMBSectionPLYR*) pSection, pDst); break; case ZMBSectionType_WARP: - ZMB_ParseWARP(pFileInfos, (ZMBSectionWARP *) pSection, pDst); + ZMB_ParseWARP(pFileInfos, (ZMBSectionWARP*) pSection, pDst); break; case ZMBSectionType_CAME: - ZMB_ParseCAME(pFileInfos, (ZMBSectionCAME *) pSection, pDst); + ZMB_ParseCAME(pFileInfos, (ZMBSectionCAME*) pSection, pDst); break; case ZMBSectionType_CMPT: - ZMB_ParseCMPT(pFileInfos, (ZMBSectionCMPT *) pSection, pDst); + ZMB_ParseCMPT(pFileInfos, (ZMBSectionCMPT*) pSection, pDst); break; default: break; @@ -86,17 +86,17 @@ BOOL ZMB_ParseFile(ZMBFileInfos *pFileInfos, MapManagerBase *pDst, bool param3) return true; } -BOOL ZMB_ParseROMB(ZMBFileInfos *pFileInfos, ZMBSectionROMB *pSection, MapManagerBase *pDst) { +BOOL ZMB_ParseROMB(ZMBFileInfos* pFileInfos, ZMBSectionROMB* pSection, MapManagerBase* pDst) { pDst->ZMB_ParseROMB(pSection); return true; } -BOOL ZMB_ParseLDLB(ZMBFileInfos *pFileInfos, ZMBSectionLDLB *pSection, MapManagerBase *pDst) { +BOOL ZMB_ParseLDLB(ZMBFileInfos* pFileInfos, ZMBSectionLDLB* pSection, MapManagerBase* pDst) { pDst->mUnk_104 = UnkFlags1_None; bool isCs = data_027e09a4->mUnk_00.isCS; for (u16 i = 0; i < pSection->header.nEntries; i++) { - ZMBEntryLBLB *pEntry = &pSection->entries[i]; + ZMBEntryLBLB* pEntry = &pSection->entries[i]; if (!(pEntry->unk_01 != 0xFF && isCs != pEntry->unk_01) && !(pEntry->unk_04 != 0 && !gpCourseManager->func_ov000_02081e30(pEntry->unk_04, pEntry->unk_03))) { @@ -129,7 +129,7 @@ BOOL ZMB_ParseLDLB(ZMBFileInfos *pFileInfos, ZMBSectionLDLB *pSection, MapManage return true; } -BOOL ZMB_ParseARAB(ZMBFileInfos *pFileInfos, ZMBSectionARAB *pSection, MapManagerBase *pDst) { +BOOL ZMB_ParseARAB(ZMBFileInfos* pFileInfos, ZMBSectionARAB* pSection, MapManagerBase* pDst) { size_t capacity = pDst->mUnk_148.capacity(); if (pSection->header.nEntries > capacity) { @@ -143,7 +143,7 @@ BOOL ZMB_ParseARAB(ZMBFileInfos *pFileInfos, ZMBSectionARAB *pSection, MapManage return true; } -BOOL ZMB_ParseRALB(ZMBFileInfos *pFileInfos, ZMBSectionRALB *pSection, MapManagerBase *pDst) { +BOOL ZMB_ParseRALB(ZMBFileInfos* pFileInfos, ZMBSectionRALB* pSection, MapManagerBase* pDst) { u32 nEntries = pSection->header.nEntries; if (nEntries == 0) { return true; @@ -151,10 +151,10 @@ BOOL ZMB_ParseRALB(ZMBFileInfos *pFileInfos, ZMBSectionRALB *pSection, MapManage data_027e0960->func_ov000_0205a1fc(nEntries); - u8 *offset = (u8 *) pSection->entries; + u8* offset = (u8*) pSection->entries; for (u8 i = 0; i < nEntries; i++) { - ZMBEntryRALB *pEntry = (ZMBEntryRALB *) offset; + ZMBEntryRALB* pEntry = (ZMBEntryRALB*) offset; u8 numPoints = pEntry->numPoints; data_027e0960->func_ov000_0205a288(i, pEntry); @@ -162,7 +162,7 @@ BOOL ZMB_ParseRALB(ZMBFileInfos *pFileInfos, ZMBSectionRALB *pSection, MapManage offset += sizeof(ZMBEntryRALB); for (u8 j = 0; j < numPoints; j++) { - ZMBRALBPoint *pPoint = (ZMBRALBPoint *) offset; + ZMBRALBPoint* pPoint = (ZMBRALBPoint*) offset; pPoint->angle = FX_UNK_ANGLE_CONV(INT_TO_FX32(pPoint->angle)); @@ -183,13 +183,13 @@ BOOL ZMB_ParseRALB(ZMBFileInfos *pFileInfos, ZMBSectionRALB *pSection, MapManage return true; } -BOOL ZMB_ParseWARP(ZMBFileInfos *pFileInfos, ZMBSectionWARP *pSection, MapManagerBase *pDst) { +BOOL ZMB_ParseWARP(ZMBFileInfos* pFileInfos, ZMBSectionWARP* pSection, MapManagerBase* pDst) { if (pSection->header.nEntries + 8 > pDst->mUnk_154.cap()) { ZMB_020ba388(&pDst->mUnk_154, pSection->header.nEntries + 8); } for (u16 i = 0; i < pSection->header.nEntries; i++) { - ZMBEntryWARP *pEntry = &pSection->entries[i]; + ZMBEntryWARP* pEntry = &pSection->entries[i]; if (ZMB_020ba350(pFileInfos, pEntry->unk_16, pDst)) { pDst->func_ov001_020b8c30(EntranceInfo(pEntry)); @@ -200,9 +200,9 @@ BOOL ZMB_ParseWARP(ZMBFileInfos *pFileInfos, ZMBSectionWARP *pSection, MapManage } // https://decomp.me/scratch/DThHL -BOOL ZMB_ParseMapObjList(ZMBFileInfos *pFileInfos, ZMBSectionMapObjectList *pSection, MapManagerBase *pDst) { +BOOL ZMB_ParseMapObjList(ZMBFileInfos* pFileInfos, ZMBSectionMapObjectList* pSection, MapManagerBase* pDst) { for (u16 i = 0; i < pSection->header.nEntries; i++) { - ZMBMapObjEntry *pEntry = &pSection->entries[i]; + ZMBMapObjEntry* pEntry = &pSection->entries[i]; struct { u16 angle; @@ -234,7 +234,7 @@ BOOL ZMB_ParseMapObjList(ZMBFileInfos *pFileInfos, ZMBSectionMapObjectList *pSec local_30.mUnk_17 = pEntry->unk_18; - MapObjectProfile *pProfile = data_ov000_020b5d34.GetProfileFromId(pEntry->id); + MapObjectProfile* pProfile = data_ov000_020b5d34.GetProfileFromId(pEntry->id); if (pProfile == NULL) { continue; @@ -266,7 +266,7 @@ BOOL ZMB_ParseMapObjList(ZMBFileInfos *pFileInfos, ZMBSectionMapObjectList *pSec return true; } -BOOL ZMB_ParseActorList(ZMBFileInfos *pFileInfos, ZMBSectionActorList *pSection, MapManagerBase *pDst) { +BOOL ZMB_ParseActorList(ZMBFileInfos* pFileInfos, ZMBSectionActorList* pSection, MapManagerBase* pDst) { s32 xMod16; s32 yMod16; Vec2us somePos; @@ -274,7 +274,7 @@ BOOL ZMB_ParseActorList(ZMBFileInfos *pFileInfos, ZMBSectionActorList *pSection, somePos = pDst->mUnk_09C; for (u16 i = 0; i < pSection->header.nEntries; i++) { - ZMBActorEntry *pEntry = &pSection->entries[i]; + ZMBActorEntry* pEntry = &pSection->entries[i]; s32 posX = (u8) (pEntry->pos.x / 16); s32 posY = (u8) (pEntry->pos.y / 16); @@ -286,7 +286,7 @@ BOOL ZMB_ParseActorList(ZMBFileInfos *pFileInfos, ZMBSectionActorList *pSection, bool iVar6 = gpCourseManager->func_ov000_02081edc(pFileInfos->unk_0E); if (ZMB_020ba350(pFileInfos, pEntry->unk_1C, pDst)) { - ActorProfile *pProfile = data_ov000_020b539c_eur.GetProfileFromId(pEntry->id); + ActorProfile* pProfile = data_ov000_020b539c_eur.GetProfileFromId(pEntry->id); if (pProfile == NULL) { continue; @@ -356,9 +356,9 @@ BOOL ZMB_ParseActorList(ZMBFileInfos *pFileInfos, ZMBSectionActorList *pSection, return true; } -BOOL ZMB_ParseROOM(ZMBFileInfos *pFileInfos, ZMBSectionROOM *pSection, MapManagerBase *pDst) { +BOOL ZMB_ParseROOM(ZMBFileInfos* pFileInfos, ZMBSectionROOM* pSection, MapManagerBase* pDst) { for (u16 i = 0; i < pSection->header.nEntries; i++) { - ZMBEntryROOM *pEntry = &pSection->entries[i]; + ZMBEntryROOM* pEntry = &pSection->entries[i]; pDst->mUnk_108 = pEntry->unk_00; @@ -549,9 +549,9 @@ BOOL ZMB_ParseROOM(ZMBFileInfos *pFileInfos, ZMBSectionROOM *pSection, MapManage return true; } -BOOL ZMB_ParsePLYR(ZMBFileInfos *pFileInfos, ZMBSectionPLYR *pSection, MapManagerBase *pDst) { +BOOL ZMB_ParsePLYR(ZMBFileInfos* pFileInfos, ZMBSectionPLYR* pSection, MapManagerBase* pDst) { for (u16 i = 0; i < pSection->header.nEntries; i++) { - ZMBEntryPLYR *pEntry = &pSection->entries[i]; + ZMBEntryPLYR* pEntry = &pSection->entries[i]; if (ZMB_020ba350(pFileInfos, pEntry->unk_11, pDst)) { s32 unk_00 = ROUND_FX32(pEntry->unk_00.x); @@ -593,8 +593,8 @@ BOOL ZMB_ParsePLYR(ZMBFileInfos *pFileInfos, ZMBSectionPLYR *pSection, MapManage unkData.mUnk_10 = unk_0F; unkData.mUnk_14 = unk_10; - UnkStruct_ov001_020c40f4 *pEnd = pDst->mUnk_13C.end(); - UnkStruct_ov001_020c40f4 *new_var = &unkData; + UnkStruct_ov001_020c40f4* pEnd = pDst->mUnk_13C.end(); + UnkStruct_ov001_020c40f4* new_var = &unkData; if (pEnd != NULL) { pEnd->mUnk_00 = new_var->mUnk_00; pEnd->mUnk_0C = new_var->mUnk_0C; @@ -611,9 +611,9 @@ BOOL ZMB_ParsePLYR(ZMBFileInfos *pFileInfos, ZMBSectionPLYR *pSection, MapManage return true; } -BOOL ZMB_ParseCAME(ZMBFileInfos *pFileInfos, ZMBSectionCAME *pSection, MapManagerBase *pDst) { +BOOL ZMB_ParseCAME(ZMBFileInfos* pFileInfos, ZMBSectionCAME* pSection, MapManagerBase* pDst) { for (u16 i = 0; i < pSection->header.nEntries; i++) { - ZMBEntryCAME *pEntry = &pSection->entries[i]; + ZMBEntryCAME* pEntry = &pSection->entries[i]; pEntry->unk_00 = func_ov000_020775d8(pEntry->unk_00); @@ -629,9 +629,9 @@ BOOL ZMB_ParseCAME(ZMBFileInfos *pFileInfos, ZMBSectionCAME *pSection, MapManage return true; } -BOOL ZMB_ParseCMPT(ZMBFileInfos *pFileInfos, ZMBSectionCMPT *pSection, MapManagerBase *pDst) { +BOOL ZMB_ParseCMPT(ZMBFileInfos* pFileInfos, ZMBSectionCMPT* pSection, MapManagerBase* pDst) { for (u16 i = 0; i < pSection->header.nEntries; i++) { - ZMBEntryCMPT *pEntry = &pSection->entries[i]; + ZMBEntryCMPT* pEntry = &pSection->entries[i]; if (pEntry->unk_0D != 0) { VecFx32 vec; @@ -644,7 +644,7 @@ BOOL ZMB_ParseCMPT(ZMBFileInfos *pFileInfos, ZMBSectionCMPT *pSection, MapManage return true; } -BOOL ZMB_020ba350(ZMBFileInfos *pFileInfos, u8 param2, MapManagerBase *pDst) { +BOOL ZMB_020ba350(ZMBFileInfos* pFileInfos, u8 param2, MapManagerBase* pDst) { BOOL isCS = pDst->mIsCS; if (param2 == 0xFF) { @@ -662,10 +662,10 @@ BOOL ZMB_020ba350(ZMBFileInfos *pFileInfos, u8 param2, MapManagerBase *pDst) { return false; } -void ZMB_020ba388(CustomVector *pVector, size_t param2) { +void ZMB_020ba388(CustomVector* pVector, size_t param2) { pVector->reallocate_copy(param2); } -void ZMB_020ba408(CustomVector *pVector, size_t param2) { +void ZMB_020ba408(CustomVector* pVector, size_t param2) { pVector->reallocate_copy_alt(param2); } diff --git a/src/001_SceneInit/code_020bfdd0.cpp b/src/001_SceneInit/code_020bfdd0.cpp index 1984a4656..896697b2b 100644 --- a/src/001_SceneInit/code_020bfdd0.cpp +++ b/src/001_SceneInit/code_020bfdd0.cpp @@ -5,7 +5,7 @@ #include -static UnkStruct_ov001_020c46f4_Base *data_ov001_020c46f4 = NULL; +static UnkStruct_ov001_020c46f4_Base* data_ov001_020c46f4 = NULL; void func_ov001_020bfdd0() { if (data_ov001_020c46f4 != NULL) { diff --git a/src/001_SceneInit/code_020bfeec.cpp b/src/001_SceneInit/code_020bfeec.cpp index 31319e3da..32bbdca35 100644 --- a/src/001_SceneInit/code_020bfeec.cpp +++ b/src/001_SceneInit/code_020bfeec.cpp @@ -3,7 +3,7 @@ #include -static ActorUnkLBCK *data_ov001_020c46f8 = NULL; +static ActorUnkLBCK* data_ov001_020c46f8 = NULL; void func_ov001_020bfeec(void) { data_ov001_020c46f8->func_ov000_020984d0(); diff --git a/src/001_SceneInit/code_020c099c.cpp b/src/001_SceneInit/code_020c099c.cpp index fb9b415f6..0f2270c6e 100644 --- a/src/001_SceneInit/code_020c099c.cpp +++ b/src/001_SceneInit/code_020c099c.cpp @@ -14,7 +14,7 @@ class UnkStruct_ov001_020c2fd4 { }; static const UnkStruct_ov001_020c2fd4 data_ov001_020c2fd4; -static UnkStruct_ov001_020c46fc *data_ov001_020c46fc = NULL; +static UnkStruct_ov001_020c46fc* data_ov001_020c46fc = NULL; void func_ov001_020c099c(void) { data_ov001_020c46fc = new(HeapIndex_1) UnkStruct_ov001_020c46fc(); diff --git a/src/017_CourseExec/Actor/ActorEventIcon_017.cpp b/src/017_CourseExec/Actor/ActorEventIcon_017.cpp index 3191694a5..a0c2d2c41 100644 --- a/src/017_CourseExec/Actor/ActorEventIcon_017.cpp +++ b/src/017_CourseExec/Actor/ActorEventIcon_017.cpp @@ -7,7 +7,7 @@ void ActorEventIcon::vfunc_24() { this->func_ov017_020c002c(); } -void ActorEventIcon::vfunc_30(Actor_vfunc_30 *param1) { +void ActorEventIcon::vfunc_30(Actor_vfunc_30* param1) { Vec2s sp4; bool var_r1; diff --git a/src/017_CourseExec/Actor/ActorManager_017.cpp b/src/017_CourseExec/Actor/ActorManager_017.cpp index 2bde31556..e17719ea5 100644 --- a/src/017_CourseExec/Actor/ActorManager_017.cpp +++ b/src/017_CourseExec/Actor/ActorManager_017.cpp @@ -33,7 +33,7 @@ void ActorManager::func_ov017_020becd8(unk32 param1) { if (sp0.y != 0) { int i = 0; - Actor **ppActor = this->mActorTable; + Actor** ppActor = this->mActorTable; while (ppActor < this->mUnk_08) { if (*ppActor != NULL && !(*ppActor)->IsAlive()) { @@ -46,7 +46,7 @@ void ActorManager::func_ov017_020becd8(unk32 param1) { } } -void ActorManager::func_ov017_020bee20(Actor *pActor, Actor_vfunc_30 *param2) { +void ActorManager::func_ov017_020bee20(Actor* pActor, Actor_vfunc_30* param2) { if (param2->mUnk_00.data == 0 || !pActor->IsFlag2()) { if (param2->mUnk_02.data == 0) { return; @@ -60,19 +60,19 @@ void ActorManager::func_ov017_020bee20(Actor *pActor, Actor_vfunc_30 *param2) { pActor->vfunc_24(); } -void ActorManager::func_ov017_020bee64(Actor *pActor, Actor_vfunc_30 *param2) { +void ActorManager::func_ov017_020bee64(Actor* pActor, Actor_vfunc_30* param2) { if (pActor->IsVisible()) { pActor->vfunc_28(param2); } } -void ActorManager::func_ov017_020bee84(Actor *pActor, Actor_vfunc_30 *param2) { +void ActorManager::func_ov017_020bee84(Actor* pActor, Actor_vfunc_30* param2) { if (pActor->IsVisible()) { pActor->vfunc_2C((unk32) param2); //! TODO: solve this oddity } } -void ActorManager::func_ov017_020beea4(Actor *pActor, Actor_vfunc_30 *param2) { +void ActorManager::func_ov017_020beea4(Actor* pActor, Actor_vfunc_30* param2) { if (!pActor->IsVisible()) { return; } @@ -84,7 +84,7 @@ void ActorManager::func_ov017_020beea4(Actor *pActor, Actor_vfunc_30 *param2) { pActor->vfunc_2C((unk32) param2); //! TODO: solve this oddity } -void ActorManager::func_ov017_020beecc(Actor *pActor, Actor_vfunc_30 *param2) { +void ActorManager::func_ov017_020beecc(Actor* pActor, Actor_vfunc_30* param2) { if (pActor->IsVisible()) { pActor->vfunc_30(param2); } diff --git a/src/017_CourseExec/Actor/Actor_017.cpp b/src/017_CourseExec/Actor/Actor_017.cpp index 7213b8305..c3758eea9 100644 --- a/src/017_CourseExec/Actor/Actor_017.cpp +++ b/src/017_CourseExec/Actor/Actor_017.cpp @@ -52,7 +52,7 @@ bool Actor::func_ov017_020bef4c(unk32 param1) { return this->func_ov017_020beeec(param1); } -void Actor::func_ov017_020bef88(Actor_vfunc_30 *param1, UnkStruct_ov019_020d24c8_28_258_00 *param2, unk32 param3) { +void Actor::func_ov017_020bef88(Actor_vfunc_30* param1, UnkStruct_ov019_020d24c8_28_258_00* param2, unk32 param3) { Vec2s sp4; bool var_r2 = param2->mUnk_04 & 1; @@ -65,13 +65,13 @@ void Actor::func_ov017_020bef88(Actor_vfunc_30 *param1, UnkStruct_ov019_020d24c8 } } -void Actor::func_ov017_020bf024(Actor_vfunc_30 *param1) { +void Actor::func_ov017_020bf024(Actor_vfunc_30* param1) { if (this->IsFlag7()) { this->func_ov017_020bef88(param1, &gpActorManager->mUnk_14, 1); } } -void Actor::func_ov017_020bf050(Actor_9C *param1, unk32 param2) { +void Actor::func_ov017_020bf050(Actor_9C* param1, unk32 param2) { Sphere sp0; s16 temp_r2; s32 var_r1; @@ -109,7 +109,7 @@ void Actor::func_ov017_020bf050(Actor_9C *param1, unk32 param2) { } } -void Actor::func_ov017_020bf178(Actor_9C *param1, unk32 param2) { +void Actor::func_ov017_020bf178(Actor_9C* param1, unk32 param2) { Sphere sp0; s32 temp_r2; s32 var_r1; @@ -139,7 +139,7 @@ void Actor::func_ov017_020bf178(Actor_9C *param1, unk32 param2) { } } -void Actor::func_ov017_020bf284(VecFx32 *param1, VecFx32 param2) { +void Actor::func_ov017_020bf284(VecFx32* param1, VecFx32 param2) { VecFx32 sp0; sp0 = param2; @@ -149,7 +149,7 @@ void Actor::func_ov017_020bf284(VecFx32 *param1, VecFx32 param2) { func_ov000_02098244(&sp0); } -void Actor::func_ov017_020bf2d8(Actor_9C *param1, unk32 param2) { +void Actor::func_ov017_020bf2d8(Actor_9C* param1, unk32 param2) { u16 var_r0_2; u16 var_r0_3; u16 temp_r0; @@ -293,7 +293,7 @@ void Actor::func_ov017_020bf574(unk32 param1, unk32 param2) { func_ov000_020a1330(param1, this->mRef, this->mPos, this->mAngle, 8, param2); } -void Actor::func_ov017_020bf5c4(VecFx32 *param1, unk32 param2, unk32 param3, unk32 param4, s16 param5) { +void Actor::func_ov017_020bf5c4(VecFx32* param1, unk32 param2, unk32 param3, unk32 param4, s16 param5) { if (this->mUnk_46 & 0x01) { data_027e09b4->func_01fff60c(param1, param2, param3, param4, param5, 0); } else { @@ -301,7 +301,7 @@ void Actor::func_ov017_020bf5c4(VecFx32 *param1, unk32 param2, unk32 param3, unk } } -void Actor::func_ov017_020bf634(const VecFx32 *param1, u16 param2, unk32 param3) { +void Actor::func_ov017_020bf634(const VecFx32* param1, u16 param2, unk32 param3) { UNSET_FLAG(this->mFlags, ActorFlag_5); this->mTimer.Set(0, param2); @@ -332,7 +332,7 @@ void Actor::func_ov017_020bf688() { } } -void Actor::func_ov017_020bf710(UnkStruct_ActorLobarrier_224 *param1, const VecFx32 *param2, u16 param3) { +void Actor::func_ov017_020bf710(UnkStruct_ActorLobarrier_224* param1, const VecFx32* param2, u16 param3) { UNSET_FLAG(this->mFlags, ActorFlag_5); this->mUnk_54 = param1; @@ -356,7 +356,7 @@ void Actor::func_ov017_020bf7a8() { SET_FLAG(this->mFlags, ActorFlag_15); this->func_ov000_02098838(); - UnkStruct_ActorLobarrier_224 *temp_r4 = this->mUnk_54; + UnkStruct_ActorLobarrier_224* temp_r4 = this->mUnk_54; temp_r4->mUnk_08.Update(); func_01ff93c0(&this->mVel, 0xC7B); @@ -376,7 +376,7 @@ void Actor::func_ov017_020bf7a8() { } } -void Actor::func_ov017_020bf894(UnkStruct_ActorLobarrier_224 *param1) { +void Actor::func_ov017_020bf894(UnkStruct_ActorLobarrier_224* param1) { if (this->mUnk_48 <= 0) { param1->Destroy(); return; @@ -410,7 +410,7 @@ void Actor::func_ov017_020bf99c() { this->mTimer.Set(0, 1); } -void Actor::func_ov017_020bf9c8(Actor *param1) { +void Actor::func_ov017_020bf9c8(Actor* param1) { if (param1 != 0) { VEC_Subtract(¶m1->mPos, &this->mPos, &this->mVel); func_01ff97c8(&this->mVel, 0x1000); @@ -433,7 +433,7 @@ void Actor::func_ov017_020bf9c8(Actor *param1) { func_01ff97c8(&this->mVel, 0x1000); } -void Actor::func_ov017_020bfa50(VecFx32 *param1, unk32 param2) { +void Actor::func_ov017_020bfa50(VecFx32* param1, unk32 param2) { UNSET_FLAG(this->mFlags, ActorFlag_5); this->mTimer.Set(0, param2); @@ -458,7 +458,7 @@ void Actor::func_ov017_020bfad4() { } } -void Actor::func_ov017_020bfb18(Actor_9C *param1) { +void Actor::func_ov017_020bfb18(Actor_9C* param1) { switch (param1->mUnk_1C) { case 8: if (param1->mUnk_0C.acRef.HasTypeIndexValue(0x102)) { @@ -470,10 +470,10 @@ void Actor::func_ov017_020bfb18(Actor_9C *param1) { data_027e0d38->func_ov031_020d9c44(data_ov000_020aed00); break; case 12: { - Actor *pActor = gpActorManager->func_01fff3b4(param1->mUnk_0C); + Actor* pActor = gpActorManager->func_01fff3b4(param1->mUnk_0C); if (pActor != NULL) { - ((ActorItemBoomerang *) pActor)->func_ov031_020e49b0(0x8D70); + ((ActorItemBoomerang*) pActor)->func_ov031_020e49b0(0x8D70); } break; @@ -509,10 +509,10 @@ void Actor::func_ov017_020bfb18(Actor_9C *param1) { break; } case 7: { - Actor *pActor = gpActorManager->func_01fff3b4(param1->mUnk_0C); + Actor* pActor = gpActorManager->func_01fff3b4(param1->mUnk_0C); if (pActor != NULL) { - ((ActorUnkSWBM *) pActor)->func_ov031_020e6d48(); + ((ActorUnkSWBM*) pActor)->func_ov031_020e6d48(); } break; @@ -522,7 +522,7 @@ void Actor::func_ov017_020bfb18(Actor_9C *param1) { } } -bool Actor::vfunc_14(Cylinder *param1) { +bool Actor::vfunc_14(Cylinder* param1) { Sphere sp0; if (this->mUnk_34 == 0) { @@ -534,7 +534,7 @@ bool Actor::vfunc_14(Cylinder *param1) { return true; } -bool Actor::func_ov017_020bfd9c(Vec2s *param1, unk32 param2, UnkStruct_027e09bc_0C *param3, AABB *param4) { +bool Actor::func_ov017_020bfd9c(Vec2s* param1, unk32 param2, UnkStruct_027e09bc_0C* param3, AABB* param4) { Cylinder sp4; sp4.radius = 0; @@ -547,7 +547,7 @@ bool Actor::func_ov017_020bfd9c(Vec2s *param1, unk32 param2, UnkStruct_027e09bc_ bool var_r9 = false; //! TODO: fake match? - bool var_r3 = param4->max.x >= *(fx32 *) ¶m4->min.x && param4->max.y >= param4->min.y; + bool var_r3 = param4->max.x >= *(fx32*) ¶m4->min.x && param4->max.y >= param4->min.y; if (var_r3 != 0 && param4->max.z >= param4->min.z) { var_r9 = true; @@ -573,7 +573,7 @@ bool Actor::func_ov017_020bfd9c(Vec2s *param1, unk32 param2, UnkStruct_027e09bc_ } bool Actor::vfunc_48(PlayerType playerType) { - VecFx32 *temp_r0; + VecFx32* temp_r0; VecFx32 sp0; temp_r0 = this->func_ov000_0209853c(playerType); diff --git a/src/017_CourseExec/Actor/code_020c201c_017.cpp b/src/017_CourseExec/Actor/code_020c201c_017.cpp index 9656799e9..bee8d55c7 100644 --- a/src/017_CourseExec/Actor/code_020c201c_017.cpp +++ b/src/017_CourseExec/Actor/code_020c201c_017.cpp @@ -20,7 +20,7 @@ struct ActorEffectBase { /* 1D4 */ unk32 mUnk_1D4; }; -void Actor::func_ov017_020c2038(RefStruct *pRef, unk32 param2, unk32 param3, const VecFx32 *param4, unk32 param5) { +void Actor::func_ov017_020c2038(RefStruct* pRef, unk32 param2, unk32 param3, const VecFx32* param4, unk32 param5) { #pragma unused(param2, param3) ActorParams params; @@ -58,18 +58,18 @@ void Actor::func_ov017_020c2038(RefStruct *pRef, unk32 param2, unk32 param3, con Actor::func_ov000_020973f4(pRef, &data_ov000_020b539c_eur, actorId, ¶ms, 0x00); - Actor *pActor = gpActorManager->func_01fff3b4(*pRef); + Actor* pActor = gpActorManager->func_01fff3b4(*pRef); if (pActor == NULL) { return; } if (param5 != 0x1000) { - ((ActorEffectBase *) pActor)->mUnk_1D4 = param5; + ((ActorEffectBase*) pActor)->mUnk_1D4 = param5; } } -bool Actor::func_ov017_020c219c(unk32 param1, const VecFx32 *param2, unk32 param3, bool param4) { +bool Actor::func_ov017_020c219c(unk32 param1, const VecFx32* param2, unk32 param3, bool param4) { #pragma unused(param1, param4) ActorParams params; @@ -108,20 +108,20 @@ bool Actor::func_ov017_020c219c(unk32 param1, const VecFx32 *param2, unk32 param RefStruct ref; Actor::func_ov000_020973f4(&ref, &data_ov000_020b539c_eur, actorId, ¶ms, 0x00); - Actor *pActor = gpActorManager->func_01fff3b4(ref); + Actor* pActor = gpActorManager->func_01fff3b4(ref); if (pActor == NULL) { return false; } if (param3 != 0x1000) { - ((ActorEffectBase *) pActor)->mUnk_1AC = param3; + ((ActorEffectBase*) pActor)->mUnk_1AC = param3; } return true; } -bool Actor::func_ov017_020c2310(const VecFx32 *param1, unk32 param2) { +bool Actor::func_ov017_020c2310(const VecFx32* param1, unk32 param2) { ActorParams params; params.mUnk_28 = 0; params.func_ov000_020975f8(); @@ -130,20 +130,20 @@ bool Actor::func_ov017_020c2310(const VecFx32 *param1, unk32 param2) { RefStruct sp4; Actor::func_ov000_020973f4(&sp4, &data_ov000_020b539c_eur, ActorId_EFWL, ¶ms, 0x00); - Actor *pActor = gpActorManager->func_01fff3b4(sp4); + Actor* pActor = gpActorManager->func_01fff3b4(sp4); if (pActor == NULL) { return false; } if (param2 != 0x1000) { - ((ActorEffectBase *) pActor)->mUnk_1B8 = param2; + ((ActorEffectBase*) pActor)->mUnk_1B8 = param2; } return true; } -bool Actor::func_ov017_020c23a4(unk32 param1, const VecFx32 *param2, unk32 param3, bool param4) { +bool Actor::func_ov017_020c23a4(unk32 param1, const VecFx32* param2, unk32 param3, bool param4) { #pragma unused(param1, param4) ActorParams params; @@ -154,24 +154,24 @@ bool Actor::func_ov017_020c23a4(unk32 param1, const VecFx32 *param2, unk32 param RefStruct sp4; Actor::func_ov000_020973f4(&sp4, &data_ov000_020b539c_eur, ActorId_EFRL, ¶ms, 0x00); - Actor *pActor = gpActorManager->func_01fff3b4(sp4); + Actor* pActor = gpActorManager->func_01fff3b4(sp4); if (pActor == NULL) { return false; } if (param3 != 0x1000) { - ((ActorEffectBase *) pActor)->mUnk_1AC = param3; + ((ActorEffectBase*) pActor)->mUnk_1AC = param3; } return true; } -void Actor::func_ov017_020c2438(RefStruct *pRef, unk32 param2, const VecFx32 *param3, unk32 param4, bool param5) { +void Actor::func_ov017_020c2438(RefStruct* pRef, unk32 param2, const VecFx32* param3, unk32 param4, bool param5) { #pragma unused(param4) pRef->Reset(); - MapManagerBase *temp_r5 = gpCourseManager->mpMapMgr; + MapManagerBase* temp_r5 = gpCourseManager->mpMapMgr; VecFx32 sp18 = *param3; if (param5) { @@ -224,10 +224,10 @@ void Actor::func_ov017_020c2438(RefStruct *pRef, unk32 param2, const VecFx32 *pa } } -void Actor::func_ov017_020c26f8(unk32 param1, const VecFx32 *param2, unk32 param3, bool param4) { +void Actor::func_ov017_020c26f8(unk32 param1, const VecFx32* param2, unk32 param3, bool param4) { #pragma unused(param3) - MapManagerBase *temp_r5 = gpCourseManager->mpMapMgr; + MapManagerBase* temp_r5 = gpCourseManager->mpMapMgr; VecFx32 sp8 = *param2; if (param4) { @@ -262,7 +262,7 @@ void Actor::func_ov017_020c26f8(unk32 param1, const VecFx32 *param2, unk32 param } } -void Actor::func_ov017_020c28b4(VecFx32 *param1, UnkAngleStruct param2, unk32 param3) { +void Actor::func_ov017_020c28b4(VecFx32* param1, UnkAngleStruct param2, unk32 param3) { VecFx16 sp4; sp4.x = SIN((s16) -param2.angle_s); diff --git a/src/017_CourseExec/CargoManager_017.cpp b/src/017_CourseExec/CargoManager_017.cpp index a060896a0..b25e455db 100644 --- a/src/017_CourseExec/CargoManager_017.cpp +++ b/src/017_CourseExec/CargoManager_017.cpp @@ -90,7 +90,7 @@ void CargoManager::Update() { if (!CargoManager::IsNotUsingTimer(this->mCargo.mType)) { if (this->mCargo.mType != CargoType_None && this->mCargo.mAmount != 0) { //! TODO: fake match? - unk32 type = *((volatile unk32 *) &this->mCargo.mType); + unk32 type = *((volatile unk32*) &this->mCargo.mType); if (type == CargoType_DarkOre) { if (this->func_ov017_020bec9c()) { @@ -134,7 +134,7 @@ void CargoManager::Init(unk32 type, unk32 amount) { this->mCargo.Set(type, amount); this->mCargo2.Set(type, amount); - UnkStruct_027e0d00 *pUnkStruct_027e0d00 = UnkStruct_027e0d00::GetInstance(); + UnkStruct_027e0d00* pUnkStruct_027e0d00 = UnkStruct_027e0d00::GetInstance(); pUnkStruct_027e0d00->func_ov024_020d4d10(); pUnkStruct_027e0d00->func_ov024_020d4cc0(this->mCargo.mType); @@ -172,7 +172,7 @@ void CargoManager::RemoveAmount(unk32 decr) { } //! TODO: figure this out -extern "C" bool func_ov026_02106aa8(UnkSystem3 *); +extern "C" bool func_ov026_02106aa8(UnkSystem3*); bool CargoManager::func_ov017_020bec9c() { if (data_027e09a4->IsTrain()) { diff --git a/src/017_CourseExec/Game/AdventureModeManager_15C_017.cpp b/src/017_CourseExec/Game/AdventureModeManager_15C_017.cpp index 850f07f17..d1ca59a37 100644 --- a/src/017_CourseExec/Game/AdventureModeManager_15C_017.cpp +++ b/src/017_CourseExec/Game/AdventureModeManager_15C_017.cpp @@ -32,7 +32,7 @@ bool AdventureModeManager_15C::func_ov017_020c39f8() { return true; } -bool AdventureModeManager_15C::func_ov017_020c3a00(Input *pButtons, TouchControl *pTouchControl) { +bool AdventureModeManager_15C::func_ov017_020c3a00(Input* pButtons, TouchControl* pTouchControl) { #pragma unused(pButtons, pTouchControl) bool ptmfResult; CALL_PTMF_RET(data_ov017_020c3f40[this->mUnk_00]); @@ -48,7 +48,7 @@ bool AdventureModeManager_15C::func_ov017_020c3a38() { this->mUnk_20.mUnk_00->func_ov017_020c18e4(); this->mUnk_20.mUnk_00->func_ov017_020c1a0c(1); - AdventureModeManager_15C_20_00 *ptr = this->mUnk_20.mUnk_00; + AdventureModeManager_15C_20_00* ptr = this->mUnk_20.mUnk_00; this->mUnk_20.mUnk_04->Append(ptr); ptr->vfunc_18(); diff --git a/src/017_CourseExec/Game/AdventureModeManager_15C_20_00_017.cpp b/src/017_CourseExec/Game/AdventureModeManager_15C_20_00_017.cpp index aae914494..4ca56963a 100644 --- a/src/017_CourseExec/Game/AdventureModeManager_15C_20_00_017.cpp +++ b/src/017_CourseExec/Game/AdventureModeManager_15C_20_00_017.cpp @@ -38,7 +38,7 @@ struct UnkStruct_ov017_020c3f14 { static UnkStruct_ov017_020c3f14 data_ov017_020c3f14 = {0x10, 0x04, 0x2C7, {}, -0x47}; -void AdventureModeManager_15C_20_00::vfunc_10(unk8 *param1) { +void AdventureModeManager_15C_20_00::vfunc_10(unk8* param1) { if (this->mUnk_778 != 0) { this->mUnk_300.func_ov000_02062f30(); this->mUnk_53C.func_ov000_02062f30(); @@ -98,7 +98,7 @@ void AdventureModeManager_15C_20_00::func_ov017_020c19ec() { this->mUnk_53C.mUnk_04.mUnk_14D = 0; } -static inline void UnknownInline1(UnkSystem2_UnkSubSystem1_Base *param1, Vec2s *param2, Vec2s *param3, Vec2s *param4) { +static inline void UnknownInline1(UnkSystem2_UnkSubSystem1_Base* param1, Vec2s* param2, Vec2s* param3, Vec2s* param4) { func_ov000_02062e44(param2, param1); param3->x = param2->x + data_ov017_020c3f14.unk_08.unk_08.x; param3->y = param2->y + data_ov017_020c3f14.unk_08.unk_08.y; @@ -132,20 +132,20 @@ void AdventureModeManager_15C_20_00::func_ov017_020c1a0c(bool param1) { sp38.unk_04 = data_ov017_020c3f14.unk_18; if (this->mUnk_779) { - Vec2s *psp28 = (Vec2s *) &sp28; + Vec2s* psp28 = (Vec2s*) &sp28; UnknownInline1(&this->mUnk_1B8, psp28, &sp2C, &sp34); this->mUnk_028.func_ov000_02064080(&sp34, &sp38, data_ov017_020c3f14.unk_00, 0); - Vec2s *psp20 = (Vec2s *) &sp20; + Vec2s* psp20 = (Vec2s*) &sp20; UnknownInline1(&this->mUnk_250, psp20, &sp24, &sp1C); Vec2s_Copy(&sp1C, &sp34); this->mUnk_078.func_ov000_02064080(&sp34, &sp38, data_ov017_020c3f14.unk_00, 0); } else { - Vec2s *psp14 = (Vec2s *) &sp14; + Vec2s* psp14 = (Vec2s*) &sp14; UnknownInline1(&this->mUnk_0F8, psp14, &sp18, &sp30); this->mUnk_028.func_ov000_02064080(&sp30, &sp38, data_ov017_020c3f14.unk_00, 0); - Vec2s *pspC = (Vec2s *) &spC; + Vec2s* pspC = (Vec2s*) &spC; UnknownInline1(&this->mUnk_158, pspC, &sp10, &sp8); Vec2s_Copy(&sp8, &sp30); this->mUnk_078.func_ov000_02064080(&sp30, &sp38, data_ov017_020c3f14.unk_00, data_ov017_020c3f14.unk_02); @@ -177,7 +177,7 @@ void AdventureModeManager_15C_20_00::func_ov017_020c1c80(bool param1) { sp24.unk_04 = data_ov017_020c3f14.unk_04; if (this->mUnk_779 != 0) { - Vec2s *psp18 = (Vec2s *) &sp18; + Vec2s* psp18 = (Vec2s*) &sp18; func_ov000_02062e44(psp18, &this->mUnk_1B8); fx16 x1 = psp18->x + data_ov017_020c3f14.unk_08.unk_00.x; fx16 y1 = psp18->y + data_ov017_020c3f14.unk_08.unk_00.y; @@ -185,7 +185,7 @@ void AdventureModeManager_15C_20_00::func_ov017_020c1c80(bool param1) { sp20.y = y1; this->mUnk_028.func_ov000_02064080(&sp20, &sp24, data_ov017_020c3f14.unk_00, 0); - Vec2s *psp10 = (Vec2s *) &sp10; + Vec2s* psp10 = (Vec2s*) &sp10; func_ov000_02062e44(psp10, &this->mUnk_250); fx16 x2 = psp10->x + data_ov017_020c3f14.unk_08.unk_0C.x; fx16 y2 = psp10->y + data_ov017_020c3f14.unk_08.unk_0C.y; @@ -194,7 +194,7 @@ void AdventureModeManager_15C_20_00::func_ov017_020c1c80(bool param1) { Vec2s_Copy(&sp14, &sp20); this->mUnk_078.func_ov000_02064080(&sp20, &sp24, data_ov017_020c3f14.unk_00, 0); } else { - Vec2s *pspC = (Vec2s *) &spC; + Vec2s* pspC = (Vec2s*) &spC; func_ov000_02062e44(pspC, &this->mUnk_0F8); fx16 x1 = pspC->x + data_ov017_020c3f14.unk_08.unk_04.x; fx16 y1 = pspC->y + data_ov017_020c3f14.unk_08.unk_04.y; @@ -202,7 +202,7 @@ void AdventureModeManager_15C_20_00::func_ov017_020c1c80(bool param1) { sp1C.y = y1; this->mUnk_028.func_ov000_02064080(&sp1C, &sp24, data_ov017_020c3f14.unk_00, 0); - Vec2s *psp4 = (Vec2s *) &sp4; + Vec2s* psp4 = (Vec2s*) &sp4; func_ov000_02062e44(psp4, &this->mUnk_158); fx16 x2 = psp4->x + data_ov017_020c3f14.unk_08.unk_04.x; fx16 y2 = psp4->y + data_ov017_020c3f14.unk_08.unk_04.y; diff --git a/src/017_CourseExec/ItemManager_017.cpp b/src/017_CourseExec/ItemManager_017.cpp index 0e6a7c29c..faf2dc0cb 100644 --- a/src/017_CourseExec/ItemManager_017.cpp +++ b/src/017_CourseExec/ItemManager_017.cpp @@ -12,7 +12,7 @@ void ItemManager::func_ov017_020bd2a0(bool param1, bool param2) { } } -void ItemManager::func_ov017_020bd2e8(void *param1) { +void ItemManager::func_ov017_020bd2e8(void* param1) { if (this->mUnk_20 != NULL) { this->mUnk_20->func_ov102_02182ffc(param1); } diff --git a/src/017_CourseExec/MapObject/MapObjectManager_017.cpp b/src/017_CourseExec/MapObject/MapObjectManager_017.cpp index 8d103fc7c..adb4d6843 100644 --- a/src/017_CourseExec/MapObject/MapObjectManager_017.cpp +++ b/src/017_CourseExec/MapObject/MapObjectManager_017.cpp @@ -14,8 +14,8 @@ extern AABB data_027e0c90; bool MapObjectManager::func_ov017_020c007c(unk32 param1) { bool var_r4; - MapObject **temp_r4 = this->mMapObjTableEnd; - MapObject **var_ip = this->mMapObjTable; + MapObject** temp_r4 = this->mMapObjTableEnd; + MapObject** var_ip = this->mMapObjTable; while (var_ip != temp_r4 && *var_ip != NULL ? true : false) { var_ip++; @@ -34,7 +34,7 @@ void MapObjectManager::func_ov017_020c00dc(unk32 param1) { s32 temp_r6 = data_0204a110.func_02019300(param1); s32 temp_r5 = data_0204a110.func_02019340(param1); - MapObject **var_r7 = this->mMapObjTable; + MapObject** var_r7 = this->mMapObjTable; while (var_r7 != this->mUnk_08) { if (*var_r7 != NULL) { if ((*var_r7)->IsAlive() && ((temp_r6 != 0 && (*var_r7)->IsFlag2()) || (temp_r5 != 0 && (*var_r7)->IsFlag3()))) { @@ -50,10 +50,10 @@ void MapObjectManager::func_ov017_020c00dc(unk32 param1) { } s32 var_r5 = 0; - MapObject **var_r6 = this->mMapObjTable; + MapObject** var_r6 = this->mMapObjTable; //! TODO: fake match - while (var_r6 < *(MapObject ***) &this->mUnk_08) { + while (var_r6 < *(MapObject***) &this->mUnk_08) { if (*var_r6 != NULL && !(*var_r6)->IsAlive()) { this->func_ov000_0209c444(var_r5); } @@ -63,13 +63,13 @@ void MapObjectManager::func_ov017_020c00dc(unk32 param1) { } } -void MapObjectManager::func_ov017_020c01c8(void *param1) {} +void MapObjectManager::func_ov017_020c01c8(void* param1) {} void MapObjectManager::func_ov017_020c01cc(unk32 param1) { - MapObject **var_r6 = this->mMapObjTable; + MapObject** var_r6 = this->mMapObjTable; while (var_r6 != this->mUnk_08) { - MapObject *pMapObj = *var_r6; + MapObject* pMapObj = *var_r6; if (pMapObj != NULL && pMapObj->IsAlive() && pMapObj->func_01fff590(param1) != 0) { pMapObj->vfunc_14(param1); @@ -79,15 +79,15 @@ void MapObjectManager::func_ov017_020c01cc(unk32 param1) { } } -void MapObjectManager::func_ov017_020c023c(s8 *param1) { +void MapObjectManager::func_ov017_020c023c(s8* param1) { if (gpCourseManager->func_ov000_02082124()) { return; } - MapObject **var_r5 = this->mMapObjTable; + MapObject** var_r5 = this->mMapObjTable; while (var_r5 != this->mUnk_08) { - MapObject *pMapObj = *var_r5; + MapObject* pMapObj = *var_r5; if (pMapObj != NULL && pMapObj->IsAlive()) { pMapObj->vfunc_18(param1); @@ -98,20 +98,20 @@ void MapObjectManager::func_ov017_020c023c(s8 *param1) { } void MapObjectManager::func_ov017_020c02ac(volatile unk32 param1, Vec2bCpp param2) { - MapObject *pMapObj = this->func_01fff498(param2); + MapObject* pMapObj = this->func_01fff498(param2); if (pMapObj != NULL) { pMapObj->vfunc_20(param1); } } -void MapObjectManager::func_ov017_020c02f4(volatile unk32 param1, VecFx32 *param2) { +void MapObjectManager::func_ov017_020c02f4(volatile unk32 param1, VecFx32* param2) { Vec2bCpp sp0; func_01ffedac(&sp0, param2); this->func_ov017_020c02ac(param1, sp0); } -void MapObjectManager::func_ov017_020c033c(unk32 *param1, MapObjectManager *thisx, const Vec2s *param2, unk32 param3, +void MapObjectManager::func_ov017_020c033c(unk32* param1, MapObjectManager* thisx, const Vec2s* param2, unk32 param3, unk32 param4) { struct { unk32 unk_00; @@ -122,8 +122,8 @@ void MapObjectManager::func_ov017_020c033c(unk32 *param1, MapObjectManager *this unk32 unk_14; } sp20; - UnkStruct_027e09bc *temp_r4 = data_027e09bc; - UnkStruct_027e09bc_0C *temp_r0 = temp_r4->func_ov000_02077468(param4, func_ov000_02077480()); + UnkStruct_027e09bc* temp_r4 = data_027e09bc; + UnkStruct_027e09bc_0C* temp_r0 = temp_r4->func_ov000_02077468(param4, func_ov000_02077480()); bool var_r4 = false; Vec2bCpp sp14(0, 0); Vec2bCpp sp12(0, 0); @@ -147,7 +147,7 @@ void MapObjectManager::func_ov017_020c033c(unk32 *param1, MapObjectManager *this for (s16 var_r7 = sp14.x; var_r7 <= sp12.x; var_r7++) { sp10.x = var_r7; - MapObject *pMapObj = thisx->func_01fff498(sp10); + MapObject* pMapObj = thisx->func_01fff498(sp10); if (pMapObj != NULL) { MapObjFlags flags = pMapObj->mFlags[0]; @@ -173,9 +173,9 @@ void MapObjectManager::func_ov017_020c033c(unk32 *param1, MapObjectManager *this // https://decomp.me/scratch/ceRYG unk32 MapObjectManager::func_ov017_020c050c(unk32 param1, PlayerType playerType, unk32 param3, unk32 param4) { - Vec2bCpp sp0 = *(Vec2bCpp *) ((u8 *) ¶m1 + 2); + Vec2bCpp sp0 = *(Vec2bCpp*) ((u8*) ¶m1 + 2); - MapObject *pMapObj = this->func_01fff498(sp0); + MapObject* pMapObj = this->func_01fff498(sp0); if (pMapObj != NULL) { return pMapObj->vfunc_28(playerType, param3, param4); diff --git a/src/017_CourseExec/MapObject/MapObject_017.cpp b/src/017_CourseExec/MapObject/MapObject_017.cpp index 4a81060c4..21acacaa8 100644 --- a/src/017_CourseExec/MapObject/MapObject_017.cpp +++ b/src/017_CourseExec/MapObject/MapObject_017.cpp @@ -8,4 +8,4 @@ void MapObject::vfunc_10() {} void MapObject::vfunc_14(unk32 param1) {} -void MapObject::vfunc_18(s8 *param1) {} +void MapObject::vfunc_18(s8* param1) {} diff --git a/src/017_CourseExec/Player/PlayerActorBase_70_017.cpp b/src/017_CourseExec/Player/PlayerActorBase_70_017.cpp index 318e2bfe5..d7d988789 100644 --- a/src/017_CourseExec/Player/PlayerActorBase_70_017.cpp +++ b/src/017_CourseExec/Player/PlayerActorBase_70_017.cpp @@ -8,9 +8,9 @@ #include "nitro/fx.h" #include "nitro/math.h" -void PlayerActorBase_70::func_ov017_020bbaa8(VecFx32 *param1, UnkAngleStruct param2) { +void PlayerActorBase_70::func_ov017_020bbaa8(VecFx32* param1, UnkAngleStruct param2) { if (this->mCharacter == PlayerCharacter_Link) { - ModelRender_Derived4 *var_r5 = this->mUnk_00C.GetUnk08OrUnk0C(this->mUnk_126 != 0); + ModelRender_Derived4* var_r5 = this->mUnk_00C.GetUnk08OrUnk0C(this->mUnk_126 != 0); var_r5->mUnk_BC = this->mUnk_114; var_r5->func_ov000_02057fe8(this->mUnk_124, param2, param1); @@ -18,34 +18,34 @@ void PlayerActorBase_70::func_ov017_020bbaa8(VecFx32 *param1, UnkAngleStruct par if (this->mUnk_114 != NULL) { VecFx32 sp4; - VEC_Subtract((VecFx32 *) &this->mUnk_114[PlayerCharacter_Link]._30, param1, &sp4); + VEC_Subtract((VecFx32*) &this->mUnk_114[PlayerCharacter_Link]._30, param1, &sp4); VecFx32_Copy(&sp4, &this->mUnk_0E4.mUnk_0C[PlayerCharacter_Link]); - VEC_Subtract((VecFx32 *) &this->mUnk_114[PlayerCharacter_Phantom]._30, param1, &sp4); + VEC_Subtract((VecFx32*) &this->mUnk_114[PlayerCharacter_Phantom]._30, param1, &sp4); VecFx32_Copy(&sp4, &this->mUnk_0E4.mUnk_0C[PlayerCharacter_Phantom]); - VEC_Subtract((VecFx32 *) &this->mUnk_114[PlayerCharacter_Zelda]._30, param1, &sp4); + VEC_Subtract((VecFx32*) &this->mUnk_114[PlayerCharacter_Zelda]._30, param1, &sp4); VecFx32_Copy(&sp4, &this->mUnk_0E4.mUnk_0C[PlayerCharacter_Zelda]); if (this->mUnk_126 != 0) { - ModelRender_Derived4 *temp_r1 = (ModelRender_Derived4 *) this->mUnk_00C.GetUnk08(); + ModelRender_Derived4* temp_r1 = (ModelRender_Derived4*) this->mUnk_00C.GetUnk08(); VecFx32_Copy(&var_r5->mUnk_68, &temp_r1->mUnk_68); } else { - ModelRender_Derived4 *temp_r1_2 = (ModelRender_Derived4 *) this->mUnk_00C.GetUnk0C(); + ModelRender_Derived4* temp_r1_2 = (ModelRender_Derived4*) this->mUnk_00C.GetUnk0C(); VecFx32_Copy(&var_r5->mUnk_68, &temp_r1_2->mUnk_68); } } } else { - ModelRender_Derived4 *var_r4 = this->mUnk_00C.GetUnk08OrUnk0C(this->mUnk_126 != 0); + ModelRender_Derived4* var_r4 = this->mUnk_00C.GetUnk08OrUnk0C(this->mUnk_126 != 0); var_r4->func_ov093_0216ca38(this->mUnk_127, this->mUnk_128, this->mUnk_126 != 0, this->mUnk_12A); var_r4->func_ov000_02057fe8(this->mUnk_124, param2, param1); if (this->mUnk_126 != 0) { - ModelRender_Derived4 *temp_r1_3 = (ModelRender_Derived4 *) this->mUnk_00C.GetUnk08(); + ModelRender_Derived4* temp_r1_3 = (ModelRender_Derived4*) this->mUnk_00C.GetUnk08(); VecFx32_Copy(&var_r4->mUnk_68, &temp_r1_3->mUnk_68); } else { - ModelRender_Derived4 *temp_r1_4 = (ModelRender_Derived4 *) this->mUnk_00C.GetUnk0C(); + ModelRender_Derived4* temp_r1_4 = (ModelRender_Derived4*) this->mUnk_00C.GetUnk0C(); VecFx32_Copy(&var_r4->mUnk_68, &temp_r1_4->mUnk_68); } } @@ -54,14 +54,14 @@ void PlayerActorBase_70::func_ov017_020bbaa8(VecFx32 *param1, UnkAngleStruct par extern unk16 data_ov000_020ab318; extern unk16 data_ov000_020ab31c; -void PlayerActorBase_70::func_ov017_020bbcd8(VecFx32 *param1, UnkAngleStruct param2) { +void PlayerActorBase_70::func_ov017_020bbcd8(VecFx32* param1, UnkAngleStruct param2) { UnkStackStruct_ov017_020c1104 sp28; VecFx32 sp1C; VecFx32 sp10; s16 temp_r9; u8 var_r7; - VEC_Add(param1, (VecFx32 *) &this->mUnk_118, &sp1C); + VEC_Add(param1, (VecFx32*) &this->mUnk_118, &sp1C); if (this->mUnk_126 != 0) { this->mUnk_01C->func_ov000_0208c7b0(&sp1C, param2); @@ -103,11 +103,11 @@ void PlayerActorBase_70::func_ov017_020bbcd8(VecFx32 *param1, UnkAngleStruct par } } -void PlayerActorBase_70::func_ov017_020bbef4(VecFx32 *param1, UnkAngleStruct param2) { +void PlayerActorBase_70::func_ov017_020bbef4(VecFx32* param1, UnkAngleStruct param2) { VecFx32 sp0; - ModelRender_Derived3 *var_r4; + ModelRender_Derived3* var_r4; - VEC_Add(param1, (VecFx32 *) &this->mUnk_118, &sp0); + VEC_Add(param1, (VecFx32*) &this->mUnk_118, &sp0); var_r4 = this->mUnk_00C.GetUnk08OrUnk0C(this->mUnk_126 != 0); var_r4->mRenderObj.flag |= 0x02; diff --git a/src/017_CourseExec/Player/PlayerLinkActor_017.cpp b/src/017_CourseExec/Player/PlayerLinkActor_017.cpp index d5dab0a18..702cba95d 100644 --- a/src/017_CourseExec/Player/PlayerLinkActor_017.cpp +++ b/src/017_CourseExec/Player/PlayerLinkActor_017.cpp @@ -102,7 +102,7 @@ void PlayerLinkActor::func_ov017_020bd788(bool param1) { } else if (this->mUnk_0A0->mUnk_74 >= 0) { var_r4 = 0; } else { - PlayerLinkActor_A0 *ptr = this->mUnk_0A0; + PlayerLinkActor_A0* ptr = this->mUnk_0A0; if (this->mUnk_58->Unk78HasValue()) { var_r4 = 2; @@ -134,7 +134,7 @@ void PlayerLinkActor::func_ov017_020bd788(bool param1) { } PlayerCharacter temp_r6 = this->mCharacter; - PlayerActorBase_70 *temp_r7 = this->mUnk_70; + PlayerActorBase_70* temp_r7 = this->mUnk_70; temp_r7->func_ov000_020830a4(this->func_ov017_020bd6e0(1), temp_r6, 1, 1, this->func_ov000_0208dc98()); if (var_r4 != -1) { @@ -150,7 +150,7 @@ void PlayerLinkActor::func_ov017_020bd788(bool param1) { this->mUnk_0A4.mUnk_08 = 0; this->func_ov017_020bd758(); - PlayerActorBase_70 *temp_r5_3 = this->mUnk_70; + PlayerActorBase_70* temp_r5_3 = this->mUnk_70; temp_r5_3->func_ov000_020830d4(this->mAngle, this->mUnk_0A0->func_ov000_02093718(), this->mUnk_0A0->func_ov000_0209378c(), this->mUnk_0A0->mUnk_28); @@ -186,7 +186,7 @@ void PlayerLinkActor::func_ov017_020bd788(bool param1) { } PlayerCharacter temp_r6_4 = this->mCharacter; - PlayerActorBase_70 *temp_r7_2 = this->mUnk_70; + PlayerActorBase_70* temp_r7_2 = this->mUnk_70; temp_r7_2->func_ov000_020830a4(this->func_ov017_020bd6e0(0), temp_r6_4, 1, 1, this->func_ov000_0208dc98()); if (this->mUnk_58->Unk78HasValue()) { @@ -217,7 +217,7 @@ void PlayerLinkActor::func_ov017_020bd788(bool param1) { this->func_ov017_020bd758(); - PlayerActorBase_70 *temp_r5_4 = this->mUnk_70; + PlayerActorBase_70* temp_r5_4 = this->mUnk_70; temp_r5_4->func_ov000_020830d4(this->mAngle, this->mUnk_0A0->func_ov000_02093718(), this->mUnk_0A0->func_ov000_0209378c(), this->mUnk_0A0->mUnk_28); @@ -231,9 +231,9 @@ void PlayerLinkActor::func_ov017_020bdcf4(unk32 param1, unk32 param2) { if (this->mUnk_78.mUnk_08[0] != 0 || this->mUnk_78.mUnk_08[1] != 0) { this->func_ov000_0208d7f0(this->func_ov000_0208d754()); } else { - UnkStruct_027e0cec *ptr = data_027e0cec; + UnkStruct_027e0cec* ptr = data_027e0cec; - for (PlayerLinkActor_1B0 *var_r9 = this->mUnk_1B0; var_r9 != &this->mUnk_1B0[ARRAY_LEN(this->mUnk_1B0)]; var_r9++) { + for (PlayerLinkActor_1B0* var_r9 = this->mUnk_1B0; var_r9 != &this->mUnk_1B0[ARRAY_LEN(this->mUnk_1B0)]; var_r9++) { ptr->func_ov000_020a0110(var_r9); } } @@ -241,13 +241,13 @@ void PlayerLinkActor::func_ov017_020bdcf4(unk32 param1, unk32 param2) { this->mUnk_0A0->func_ov000_02092ea8(param1, param2); } -void PlayerLinkActor::func_ov017_020bdd84(void *param1, unk32 param2) { +void PlayerLinkActor::func_ov017_020bdd84(void* param1, unk32 param2) { VecFx32 sp10; s32 spC; s8 sp8; bool var_r2; bool temp_r1_2; - MtxFx43 *temp_r4; + MtxFx43* temp_r4; bool var_r5; //! TODO: figure out param1's type (most likely data_0204a110.mUnk_DF8) @@ -269,10 +269,10 @@ void PlayerLinkActor::func_ov017_020bdd84(void *param1, unk32 param2) { if (param1 == NULL && !data_0204a110.func_02019514()) { if (this->mUnk_134 != NULL) { this->func_ov000_0208cc20(&sp10); - PlayerLinkActor_134 *temp_r1 = this->mUnk_134; + PlayerLinkActor_134* temp_r1 = this->mUnk_134; if (temp_r1->mUnk_04 > 0) { - UnkSystem7_UnkStruct_00 *temp_r0 = temp_r1->mUnk_00.mUnk_00.mUnk_00; + UnkSystem7_UnkStruct_00* temp_r0 = temp_r1->mUnk_00.mUnk_00.mUnk_00; if (temp_r0 != NULL) { temp_r0->mUnk_28.x = sp10.x + temp_r0->mUnk_20->mUnk_00->mUnk_04.x; @@ -303,7 +303,7 @@ void PlayerLinkActor::func_ov017_020bdd84(void *param1, unk32 param2) { this->mUnk_0A0->func_ov000_02092ecc(param1, var_r2); } -void PlayerLinkActor::func_ov017_020bdf48(s8 *param1, unk32 param2, void *param3, UnkStruct_ov019_020d24c8_28_258_00 *param4) { +void PlayerLinkActor::func_ov017_020bdf48(s8* param1, unk32 param2, void* param3, UnkStruct_ov019_020d24c8_28_258_00* param4) { Vec2s sp8; ActorGrabParams sp4; diff --git a/src/017_CourseExec/Player/PlayerLinkActor_A0_20_017.cpp b/src/017_CourseExec/Player/PlayerLinkActor_A0_20_017.cpp index e516a5233..718100f02 100644 --- a/src/017_CourseExec/Player/PlayerLinkActor_A0_20_017.cpp +++ b/src/017_CourseExec/Player/PlayerLinkActor_A0_20_017.cpp @@ -14,7 +14,7 @@ void PlayerLinkActor_A0_38::func_ov017_020be0a8(unk32 param1) { } } -void PlayerLinkActor_A0_38::func_ov017_020be0e0(s32 param1, VecFx32 *param2, bool param3, bool param4) { +void PlayerLinkActor_A0_38::func_ov017_020be0e0(s32 param1, VecFx32* param2, bool param3, bool param4) { if (param3 || this->mUnk_32 > 0) { bool var_r6 = false; @@ -62,14 +62,14 @@ void PlayerLinkActor_A0_38::func_ov017_020be0e0(s32 param1, VecFx32 *param2, boo this->mUnk_36 = param3; { - UnkStruct_027e0954 *ptr = data_027e0954; - PlayerLinkActor_A0_38_04 *pList = GetLinkListRef(this->mUnk_04); + UnkStruct_027e0954* ptr = data_027e0954; + PlayerLinkActor_A0_38_04* pList = GetLinkListRef(this->mUnk_04); ptr->mUnk_00[1].mUnk_04.Prepend(pList); } { - UnkStruct_027e0954 *ptr = data_027e0954; - PlayerLinkActor_A0_38_18 *pList = GetLinkListRef(this->mUnk_18); + UnkStruct_027e0954* ptr = data_027e0954; + PlayerLinkActor_A0_38_18* pList = GetLinkListRef(this->mUnk_18); ptr->mUnk_00[0].mUnk_04.Prepend(pList); } diff --git a/src/017_CourseExec/Save/SaveManager_017.cpp b/src/017_CourseExec/Save/SaveManager_017.cpp index 1fe8b5fa8..31275993b 100644 --- a/src/017_CourseExec/Save/SaveManager_017.cpp +++ b/src/017_CourseExec/Save/SaveManager_017.cpp @@ -27,7 +27,7 @@ void SaveManager::func_ov017_020c2b68(u16 param1) { gSaveManager.func_ov000_020a0b58(); } -void SaveManager::func_ov017_020c2c08(GameSaveSlot *param1) { +void SaveManager::func_ov017_020c2c08(GameSaveSlot* param1) { SaveSlot::func_ov000_020a1028(¶m1->mInfoData); MI_CpuClearFast(¶m1->mTreasureData, sizeof(SaveTreasureData)); @@ -37,15 +37,15 @@ void SaveManager::func_ov017_020c2c08(GameSaveSlot *param1) { //! TODO: clarify what is `SaveFile_00000_2600_Data` exactly MI_CpuClearFast(¶m1->mUnk_2600, sizeof(SaveFile_00000_2600_Data)); - for (int var_r7_2 = 0; var_r7_2 < ARRAY_LEN(((SaveTreasureData *) ¶m1->mUnk_2600)->unk_3C); var_r7_2++) { - ((SaveTreasureData *) ¶m1->mUnk_2600)->unk_3C[var_r7_2] = -1; + for (int var_r7_2 = 0; var_r7_2 < ARRAY_LEN(((SaveTreasureData*) ¶m1->mUnk_2600)->unk_3C); var_r7_2++) { + ((SaveTreasureData*) ¶m1->mUnk_2600)->unk_3C[var_r7_2] = -1; } gpCourseManager->func_ov000_02081ca0(); data_027e0ce0->func_ov000_0208ba40(¶m1->mInfoData.inventory.data); data_027e0ce0->mUnk_34->func_ov024_020d3c60(¶m1->mInfoData.unk_0D8); - EntranceInfo *pInfos = &data_027e09a4->mUnk_14; + EntranceInfo* pInfos = &data_027e09a4->mUnk_14; param1->mInfoData.unk_000 = this->mUnk_000->unk_00; param1->mInfoData.unk_004 = 0; param1->mInfoData.sceneIndex = pInfos->sceneIndex; @@ -61,7 +61,7 @@ void SaveManager::func_ov017_020c2c08(GameSaveSlot *param1) { VecFx32_Copy(&gpCourseManager->mUnk_24, ¶m1->mInfoData.unk_008); param1->mInfoData.mUnk_02C = data_027e09a4->mUnk_28; - UnkStruct_027e09a4_2C *ptr = &data_027e09a4->mUnk_40; + UnkStruct_027e09a4_2C* ptr = &data_027e09a4->mUnk_40; VecFx32_Copy(&data_027e09a4->mUnk_40.mUnk_04, ¶m1->mInfoData.mUnk_01C); param1->mInfoData.mSceneIndex = ptr->mSceneIndex; param1->mInfoData.mUnk_02A = ptr->mUnk_10; @@ -103,7 +103,7 @@ void SaveManager::func_ov017_020c2c08(GameSaveSlot *param1) { MI_CpuCopyFast(¶m1->mTreasureData, ¶m1->mUnk_2600, sizeof(param1->mTreasureData)); } -bool SaveManager::func_ov017_020c2f88(GameSaveSlot *param1) { +bool SaveManager::func_ov017_020c2f88(GameSaveSlot* param1) { if (this->mUnk_214 != 0) { return false; } @@ -130,7 +130,7 @@ void SaveManager::func_ov017_020c2fc4(u16 param1) { gSaveManager.func_ov000_020a0b58(); } -bool SaveManager::func_ov017_020c3040(GameSaveSlot *param1, unk32 param2) { +bool SaveManager::func_ov017_020c3040(GameSaveSlot* param1, unk32 param2) { if (this->mUnk_206 < 0) { return false; } @@ -139,9 +139,9 @@ bool SaveManager::func_ov017_020c3040(GameSaveSlot *param1, unk32 param2) { return false; } - param1->mUnk_1D00.unk_0FE = MATH_CalcCRC16( - &this->mUnk_004, param1, offsetof(GameSaveSlot, mUnk_1D00) + offsetof(SaveFile_00000_1D00_Data, unk_0FE)); - this->mUnk_208 = param2; + param1->mUnk_1D00.unk_0FE = MATH_CalcCRC16(&this->mUnk_004, param1, + offsetof(GameSaveSlot, mUnk_1D00) + offsetof(SaveFile_00000_1D00_Data, unk_0FE)); + this->mUnk_208 = param2; this->func_ov000_020a0b2c(SaveManager::func_ov017_020c2fc4, param1); return true; } diff --git a/src/017_CourseExec/Train/UnkStruct_027e0cf8_017.cpp b/src/017_CourseExec/Train/UnkStruct_027e0cf8_017.cpp index 98e42c0af..aea9a054e 100644 --- a/src/017_CourseExec/Train/UnkStruct_027e0cf8_017.cpp +++ b/src/017_CourseExec/Train/UnkStruct_027e0cf8_017.cpp @@ -37,12 +37,12 @@ void UnkStruct_027e0cf8_00::func_ov017_020c3414() { this->mUnk_2250 = (this->mUnk_223C * (this->mUnk_2248 - (this->mUnk_224C - this->mUnk_2244))) / this->mUnk_2248; } - if (*(volatile unk32 *) &this->mUnk_224C < this->mUnk_2244 + this->mUnk_2248) { + if (*(volatile unk32*) &this->mUnk_224C < this->mUnk_2244 + this->mUnk_2248) { this->mUnk_224C++; } } -void UnkStruct_027e0cf8_00::func_ov017_020c3574(unk8 *param1) { +void UnkStruct_027e0cf8_00::func_ov017_020c3574(unk8* param1) { if (this->UnkCheck1()) { for (int var_r4 = 0; var_r4 < this->mUnk_223C; var_r4++) { this->func_ov017_020c3668(&this->mUnk_0018.mUnk_00[var_r4], param1); @@ -54,7 +54,7 @@ s32 UnkStruct_027e0cf8_00::func_ov017_020c35e8() { s32 var_r4 = 0; for (int var_r5 = 0; var_r5 < this->mUnk_223C; var_r5++) { - UnkStruct_027e0cf8_00_18_00 *ptr = &this->mUnk_0018.mUnk_00[var_r5]; + UnkStruct_027e0cf8_00_18_00* ptr = &this->mUnk_0018.mUnk_00[var_r5]; if (ptr->mUnk_80 > 0 || !ptr->mUnk_00.func_ov000_02060af8()) { var_r4++; @@ -64,7 +64,7 @@ s32 UnkStruct_027e0cf8_00::func_ov017_020c35e8() { return var_r4; } -void UnkStruct_027e0cf8_00::func_ov017_020c3644(UnkStruct_027e0cf8_00_18_00 *param1) { +void UnkStruct_027e0cf8_00::func_ov017_020c3644(UnkStruct_027e0cf8_00_18_00* param1) { if (param1->mUnk_80 > 0) { param1->mUnk_80--; return; @@ -73,7 +73,7 @@ void UnkStruct_027e0cf8_00::func_ov017_020c3644(UnkStruct_027e0cf8_00_18_00 *par param1->mUnk_00.func_ov000_020609c4(); } -void UnkStruct_027e0cf8_00::func_ov017_020c3668(const UnkStruct_027e0cf8_00_18_00 *param1, const unk8 *param2) const { +void UnkStruct_027e0cf8_00::func_ov017_020c3668(const UnkStruct_027e0cf8_00_18_00* param1, const unk8* param2) const { VecFx32 spC; Vec2s sp8; @@ -94,17 +94,17 @@ void UnkStruct_027e0cf8_00::func_ov017_020c3668(const UnkStruct_027e0cf8_00_18_0 bool var_r4 = param1->mUnk_00.mUnk_60 & 0x01 ? true : false; if (param2[0x00] == var_r4 || param2[0x01] == var_r4) { - data_0204af1c.func_0201aad0((CellAnimObject *) ¶m1->mUnk_00, &sp8, 0x02, NULL); + data_0204af1c.func_0201aad0((CellAnimObject*) ¶m1->mUnk_00, &sp8, 0x02, NULL); } } -void UnkStruct_027e0cf8_0C::func_ov017_020c3748(unk8 *param1) { +void UnkStruct_027e0cf8_0C::func_ov017_020c3748(unk8* param1) { for (int var_r5 = 0; var_r5 < this->mUnk_16C; var_r5++) { this->func_ov017_020c378c(param1, &this->mUnk_000[var_r5]); } } -void UnkStruct_027e0cf8_0C::func_ov017_020c378c(const unk8 *param1, const UnkStruct_027e0cf8_0C_00 *param2) const { +void UnkStruct_027e0cf8_0C::func_ov017_020c378c(const unk8* param1, const UnkStruct_027e0cf8_0C_00* param2) const { VecFx32 spC; Vec2s sp8; @@ -126,7 +126,7 @@ void UnkStruct_027e0cf8_0C::func_ov017_020c378c(const unk8 *param1, const UnkStr bool var_r5 = param2->mUnk_00.mUnk_04 & 0x01 ? true : false; if (param1[0x00] == var_r5 || param1[0x01] == var_r5) { - data_0204af1c.func_0201aa44((UnkStruct_ov019_020d24c8_28_258_00 *) ¶m2->mUnk_00, &sp8, 2, 0); + data_0204af1c.func_0201aa44((UnkStruct_ov019_020d24c8_28_258_00*) ¶m2->mUnk_00, &sp8, 2, 0); } } @@ -134,7 +134,7 @@ void UnkStruct_027e0cf8_0C::func_ov017_020c378c(const unk8 *param1, const UnkStr bool var_r1 = this->mUnk_150.mUnk_04 & 0x01 ? true : false; if (param1[0x00] == var_r1 || param1[0x01] == var_r1) { - data_0204af1c.func_0201aa44((UnkStruct_ov019_020d24c8_28_258_00 *) &this->mUnk_150, &sp8, 2, 0); + data_0204af1c.func_0201aa44((UnkStruct_ov019_020d24c8_28_258_00*) &this->mUnk_150, &sp8, 2, 0); } } @@ -142,12 +142,12 @@ void UnkStruct_027e0cf8_0C::func_ov017_020c378c(const unk8 *param1, const UnkStr bool var_r1_2 = this->mUnk_15C.mUnk_04 & 0x01 ? true : false; if (param1[0x00] == var_r1_2 || param1[0x01] == var_r1_2) { - data_0204af1c.func_0201aa44((UnkStruct_ov019_020d24c8_28_258_00 *) &this->mUnk_15C, &sp8, 2, 0); + data_0204af1c.func_0201aa44((UnkStruct_ov019_020d24c8_28_258_00*) &this->mUnk_15C, &sp8, 2, 0); } } } -void UnkStruct_027e0cf8::func_ov017_020c390c(Input *pButtons, TouchControl *pTouchControl) { +void UnkStruct_027e0cf8::func_ov017_020c390c(Input* pButtons, TouchControl* pTouchControl) { #pragma unused(pButtons, pTouchControl) data_0204a110.mUnk_D9C.func_0201c4d8(0x01, 0x0A, 0x06); @@ -163,7 +163,7 @@ void UnkStruct_027e0cf8::func_ov017_020c390c(Input *pButtons, TouchControl *pTou } } -void UnkStruct_027e0cf8::func_ov017_020c397c(unk8 *param1) { +void UnkStruct_027e0cf8::func_ov017_020c397c(unk8* param1) { this->mUnk_0C->func_ov017_020c3748(param1); if (this->mUnk_18 >= 0) { @@ -175,7 +175,7 @@ void UnkStruct_027e0cf8::func_ov017_020c397c(unk8 *param1) { } } -void UnkStruct_027e0cf8::func_ov017_020c39d4(unk8 *param1) { +void UnkStruct_027e0cf8::func_ov017_020c39d4(unk8* param1) { if (this->mUnk_18 >= 0) { this->mUnk_08->func_ov024_020d32b4(param1); } diff --git a/src/017_CourseExec/UnkStackStruct_ov017_020c1104_017.cpp b/src/017_CourseExec/UnkStackStruct_ov017_020c1104_017.cpp index 237d9f854..16708de7b 100644 --- a/src/017_CourseExec/UnkStackStruct_ov017_020c1104_017.cpp +++ b/src/017_CourseExec/UnkStackStruct_ov017_020c1104_017.cpp @@ -9,7 +9,7 @@ #include #include -void UnkStackStruct_ov017_020c1104::func_ov017_020c1104(const VecFx32 *param2, s32 param3, u16 param4) { +void UnkStackStruct_ov017_020c1104::func_ov017_020c1104(const VecFx32* param2, s32 param3, u16 param4) { s16 var_r1; this->unk_10 = param4; @@ -26,18 +26,18 @@ void UnkStackStruct_ov017_020c1104::func_ov017_020c1104(const VecFx32 *param2, s var_r1 = 0x1000; } - for (s16 *var_r4 = this->unk_14; var_r4 != &this->unk_14[(u16) (1 << this->unk_10)]; var_r4++) { + for (s16* var_r4 = this->unk_14; var_r4 != &this->unk_14[(u16) (1 << this->unk_10)]; var_r4++) { *var_r4 = var_r1; } } // https://decomp.me/scratch/5P44c -void UnkStackStruct_ov017_020c1104::func_ov017_020c117c(const VecFx32 *param2, unk16 param3) { +void UnkStackStruct_ov017_020c1104::func_ov017_020c117c(const VecFx32* param2, unk16 param3) { VecFx32 sp0; VEC_Subtract(param2, &this->unk_00, &sp0); s16 temp_r0 = FX_Atan2Idx(sp0.x, sp0.z); - s16 temp_r0_2 = 0x10000 >> *(volatile u16 *) &this->unk_10; + s16 temp_r0_2 = 0x10000 >> *(volatile u16*) &this->unk_10; u16 value1 = temp_r0 - temp_r0_2 / 2; s32 temp_r3 = (value1 << this->unk_10); @@ -46,16 +46,16 @@ void UnkStackStruct_ov017_020c1104::func_ov017_020c117c(const VecFx32 *param2, u fx32 temp_r0_3 = func_01ff9258(sp0.x, sp0.z); for (s32 var_r7 = -(this->unk_10 - 3); var_r7 <= (this->unk_10 - 2); var_r7++) { - u16 *new_var = &this->unk_10; + u16* new_var = &this->unk_10; s16 temp_r0_4 = 0x10000 >> *new_var; s32 value2 = var_r7 + (temp_r5 >> 16); fx32 temp_r2_3 = FX_MUL(temp_r0_3, COS((s16) (temp_r0 - ((s16) (value2 * temp_r0_4 + temp_r0_4 / 2))))); s16 temp_r0_5 = FX_Div(param3 + temp_r2_3, this->unk_0C); - u32 temp_r2_4 = ~(0xFF << *(volatile u16 *) &this->unk_10) & ((u16) (1 << *new_var) + (temp_r5 >> 16) + var_r7); + u32 temp_r2_4 = ~(0xFF << *(volatile u16*) &this->unk_10) & ((u16) (1 << *new_var) + (temp_r5 >> 16) + var_r7); - s16 *ptr = &this->unk_14[temp_r2_4]; + s16* ptr = &this->unk_14[temp_r2_4]; *ptr = temp_r0_5 < *ptr ? temp_r0_5 : *ptr; } } diff --git a/src/017_CourseExec/UnkStruct_027e09a4_017.cpp b/src/017_CourseExec/UnkStruct_027e09a4_017.cpp index 7e1887324..18ce96a29 100644 --- a/src/017_CourseExec/UnkStruct_027e09a4_017.cpp +++ b/src/017_CourseExec/UnkStruct_027e09a4_017.cpp @@ -36,7 +36,7 @@ void UnkStruct_027e09a4::func_ov017_020bb660(unk32 param1) { gpActorManager->func_ov017_020becd8(param1); if (gOverlayManager.IsRabbitCapture()) { - UnkStruct_ov016_020b8310 *ptr = &data_ov016_020b8310; + UnkStruct_ov016_020b8310* ptr = &data_ov016_020b8310; ptr->vfunc_08(); } } @@ -56,7 +56,7 @@ void UnkStruct_027e09a4::func_ov017_020bb660(unk32 param1) { data_027e09ac->func_ov000_020723f4(); } -void UnkStruct_027e09a4::func_ov017_020bb7f8(void *param1) { +void UnkStruct_027e09a4::func_ov017_020bb7f8(void* param1) { if (data_0204a088->mUnk_120 & 0x02) { gpCourseManager->func_ov000_02081bf4(); } @@ -78,28 +78,28 @@ void UnkStruct_027e09a4::func_ov017_020bb7f8(void *param1) { } if (gOverlayManager.IsRabbitCapture()) { - UnkStruct_ov016_020b8310 *ptr = &data_ov016_020b8310; + UnkStruct_ov016_020b8310* ptr = &data_ov016_020b8310; ptr->vfunc_10(param1); } data_027e09ac->func_ov000_02072684(param1); } -void UnkStruct_027e09a4::func_ov017_020bb934(void *param1) { +void UnkStruct_027e09a4::func_ov017_020bb934(void* param1) { gpCourseManager->func_ov000_02081b84(); data_027e0ce0->func_ov017_020bd5c4(param1); gpMapObjManager->func_ov017_020c01c8(param1); gpActorManager->func_01fff2fc(ActorManager::func_ov017_020bee64, param1); } -void UnkStruct_027e09a4::func_ov017_020bb994(s8 *param1) { +void UnkStruct_027e09a4::func_ov017_020bb994(s8* param1) { gpCourseManager->func_ov000_02081d58(); data_027e0ce0->func_ov017_020bd644(param1); gpMapObjManager->func_ov017_020c023c(param1); gpActorManager->func_01fff2fc(ActorManager::func_ov017_020beecc, param1); if (gOverlayManager.IsRabbitCapture()) { - UnkStruct_ov016_020b8310 *ptr = &data_ov016_020b8310; + UnkStruct_ov016_020b8310* ptr = &data_ov016_020b8310; ptr->vfunc_0C(param1); } } diff --git a/src/017_CourseExec/UnkStruct_027e09b4_017.cpp b/src/017_CourseExec/UnkStruct_027e09b4_017.cpp index fdf256d0b..a971c3588 100644 --- a/src/017_CourseExec/UnkStruct_027e09b4_017.cpp +++ b/src/017_CourseExec/UnkStruct_027e09b4_017.cpp @@ -28,9 +28,9 @@ s32 UnkStruct_027e09b4::func_ov017_020c08a4(void) { return data_027e09ac->mUnk_014.mUnk_06 * 3 < 0x1F ? data_027e09ac->mUnk_014.mUnk_06 * 3 : 0x1F; } -bool UnkStruct_027e09b4::func_ov017_020c08c4(const VecFx32 *param1, unk32 param2, unk32 param3, s32 param4, s16 param5, +bool UnkStruct_027e09b4::func_ov017_020c08c4(const VecFx32* param1, unk32 param2, unk32 param3, s32 param4, s16 param5, u8 param6) { - fx32 temp_r0_2 = gpCourseManager->mpMapMgr->vfunc_28((VecFx32 *) param1, 1, 0); + fx32 temp_r0_2 = gpCourseManager->mpMapMgr->vfunc_28((VecFx32*) param1, 1, 0); if (param1->y >= temp_r0_2 && temp_r0_2 >= -0x3000) { VecFx32 temp; @@ -48,7 +48,7 @@ bool UnkStruct_027e09b4::func_ov017_020c08c4(const VecFx32 *param1, unk32 param2 return false; } -void UnkStruct_027e09b4::func_ov017_020c0970(const VecFx32 *param1, unk32 param2, unk32 param3, u16 param4, u16 param5, +void UnkStruct_027e09b4::func_ov017_020c0970(const VecFx32* param1, unk32 param2, unk32 param3, u16 param4, u16 param5, u32 param6, fx32 param7) { NNS_G3dGeFlushBuffer(); G3_TexImageParam(GX_TEXFMT_NONE, GX_TEXGEN_NONE, GX_TEXSIZE_S8, GX_TEXSIZE_T8, GX_TEXREPEAT_NONE, GX_TEXFLIP_NONE, @@ -64,11 +64,11 @@ void UnkStruct_027e09b4::func_ov017_020c0970(const VecFx32 *param1, unk32 param2 G3_PopMtx(1); } -void UnkStruct_027e09b4::func_ov017_020c0a30(const VecFx32 *param1, unk32 param2, unk32 param3, u16 param4, u16 param5) { +void UnkStruct_027e09b4::func_ov017_020c0a30(const VecFx32* param1, unk32 param2, unk32 param3, u16 param4, u16 param5) { this->func_ov017_020c0970(param1, param2, param3, param4, param5, data_027e09ac->mUnk_014.mUnk_06, this->mUnk_304); } -void UnkStruct_027e09b4::func_ov017_020c0a6c(const VecFx32 *param1, s32 param2, s32 param3, s32 param4, u16 param5, u16 param6, +void UnkStruct_027e09b4::func_ov017_020c0a6c(const VecFx32* param1, s32 param2, s32 param3, s32 param4, u16 param5, u16 param6, s32 param7, u16 param8) { NNS_G3dGeFlushBuffer(); G3_TexImageParam(GX_TEXFMT_NONE, GX_TEXGEN_NONE, GX_TEXSIZE_S8, GX_TEXSIZE_T8, GX_TEXREPEAT_NONE, GX_TEXFLIP_NONE, @@ -84,10 +84,10 @@ void UnkStruct_027e09b4::func_ov017_020c0a6c(const VecFx32 *param1, s32 param2, G3_PopMtx(1); } -void UnkStruct_027e09b4::func_ov017_020c0b24(const VecFx32 *param1, s32 param2, s32 param3) { +void UnkStruct_027e09b4::func_ov017_020c0b24(const VecFx32* param1, s32 param2, s32 param3) { MtxFx33 sp0; u16 temp_r7 = data_027e09ac->mUnk_014.mUnk_06; - unk16 *temp_r0 = data_027e09b0->func_ov000_02072cb4(1); + unk16* temp_r0 = data_027e09b0->func_ov000_02072cb4(1); unk32 temp_r8; unk32 temp_r9; unk32 temp_r10; @@ -196,14 +196,14 @@ void UnkStruct_027e09b4::func_ov017_020c0dec(void) { } void UnkStruct_027e09b4::func_ov017_020c0edc() { - UnkStruct_027e095c *temp_r4 = data_027e095c; + UnkStruct_027e095c* temp_r4 = data_027e095c; NNS_G3dGeFlushBuffer(); G3_TexImageParam(GX_TEXFMT_NONE, GX_TEXGEN_NONE, GX_TEXSIZE_S8, GX_TEXSIZE_T8, GX_TEXREPEAT_NONE, GX_TEXFLIP_NONE, GX_TEXPLTTCOLOR0_USE, temp_r4->mUnk_000[0].z); G3_TexPlttBase(G3_TEXPLTTBASE_ADDR(temp_r4->mUnk_000[0].y), G3_TEXPLTTBASE_FMT(temp_r4->mUnk_000[0].z)); - for (UnkStruct_027e09b4_00 *var_r8 = this->mUnk_000; var_r8 != this->mUnk_300; var_r8++) { + for (UnkStruct_027e09b4_00* var_r8 = this->mUnk_000; var_r8 != this->mUnk_300; var_r8++) { u16 unk14 = var_r8->unk_14; u32 polyId = data_ov000_020b4ec4.func_01ffc768(2); diff --git a/src/017_CourseExec/UnkStruct_027e09c0_017.cpp b/src/017_CourseExec/UnkStruct_027e09c0_017.cpp index 839d48e1f..7723cb30b 100644 --- a/src/017_CourseExec/UnkStruct_027e09c0_017.cpp +++ b/src/017_CourseExec/UnkStruct_027e09c0_017.cpp @@ -1,10 +1,10 @@ #include "Unknown/UnkStruct_027e09c0.hpp" void UnkStruct_027e09c0::func_ov017_020c30b0() { - void *temp_lr = this->mUnk_760; - void *new_var3 = this->mUnk_764; + void* temp_lr = this->mUnk_760; + void* new_var3 = this->mUnk_764; int temp_r3 = this->mUnk_768; - void *temp_r2 = this->mUnk_76C; + void* temp_r2 = this->mUnk_76C; this->mUnk_760 = temp_r2; this->mUnk_770 = new_var3; diff --git a/src/017_CourseExec/UnkStruct_027e0ce0_017.cpp b/src/017_CourseExec/UnkStruct_027e0ce0_017.cpp index 0d777b625..26fb843a4 100644 --- a/src/017_CourseExec/UnkStruct_027e0ce0_017.cpp +++ b/src/017_CourseExec/UnkStruct_027e0ce0_017.cpp @@ -54,13 +54,13 @@ void UnkStruct_027e0ce0::func_ov017_020bd568(unk32 param1) { } } -void UnkStruct_027e0ce0::func_ov017_020bd5c4(void *param1) { +void UnkStruct_027e0ce0::func_ov017_020bd5c4(void* param1) { if (this->mUnk_38 != NULL) { this->mUnk_38->func_ov026_020de45c(param1); } } -void UnkStruct_027e0ce0::func_ov017_020bd5dc(void *param1) { +void UnkStruct_027e0ce0::func_ov017_020bd5dc(void* param1) { if (this->mUnk_24 != NULL) { this->mUnk_24->func_ov021_020eae84(); return; @@ -83,7 +83,7 @@ void UnkStruct_027e0ce0::func_ov017_020bd5dc(void *param1) { this->mUnk_40->func_ov102_021831b4(param1); } -void UnkStruct_027e0ce0::func_ov017_020bd644(void *param1) { +void UnkStruct_027e0ce0::func_ov017_020bd644(void* param1) { if (this->mUnk_24 != NULL) { this->mUnk_24->func_ov021_020eb010(); return; diff --git a/src/017_CourseExec/UnkStruct_027e0ce0_30_017.cpp b/src/017_CourseExec/UnkStruct_027e0ce0_30_017.cpp index a3af9eff2..da1c94f6f 100644 --- a/src/017_CourseExec/UnkStruct_027e0ce0_30_017.cpp +++ b/src/017_CourseExec/UnkStruct_027e0ce0_30_017.cpp @@ -16,7 +16,7 @@ extern const unk32 data_ov000_020afd14; extern unk32 data_ov000_020afd18; // https://decomp.me/scratch/jtWsb -void UnkStruct_027e0ce0_30_00::func_ov017_020bbf7c(ItemManager *pItemMgr) { +void UnkStruct_027e0ce0_30_00::func_ov017_020bbf7c(ItemManager* pItemMgr) { VecFx32 sp4C; UnkStackStruct2 sp2C; VecFx32 sp20; @@ -40,9 +40,9 @@ void UnkStruct_027e0ce0_30_00::func_ov017_020bbf7c(ItemManager *pItemMgr) { if (this->mUnk_28 == 0) { if (data_027e09b8->func_ov000_020732dc(2) == 0 && data_0204a088->mUnk_04 == 1) { if (data_0204a088->mUnk_08 == 2 || data_0204a088->mUnk_08 == 6) { - UnkStruct_027e09bc_0C *temp_r8 = data_027e09bc->mUnk_04[1][0]; + UnkStruct_027e09bc_0C* temp_r8 = data_027e09bc->mUnk_04[1][0]; - UnkStackStruct2 *temp_r0_2 = func_ov000_02077590(0x1B); + UnkStackStruct2* temp_r0_2 = func_ov000_02077590(0x1B); sp2C = *temp_r0_2; sp2C.s.mUnk_06 = temp_r8->func_ov000_02078698(); @@ -178,7 +178,7 @@ void UnkStruct_027e0ce0_30_00::func_ov017_020bbf7c(ItemManager *pItemMgr) { this->mUnk_18 = pItemMgr->func_ov000_020a8a74(this); if (this->mUnk_18 != 0) { - PlayerLinkActor *temp_r10_2 = (PlayerLinkActor *) this->mPlayerActors[PlayerType_Link]; + PlayerLinkActor* temp_r10_2 = (PlayerLinkActor*) this->mPlayerActors[PlayerType_Link]; if (var_r9 != 0) { this->mUnk_00[PlayerType_Link].y = this->mPlayerActors[PlayerType_Zelda]->mPos.vec.y + 0x191F; @@ -189,7 +189,7 @@ void UnkStruct_027e0ce0_30_00::func_ov017_020bbf7c(ItemManager *pItemMgr) { if (this->mUnk_18 == 0x0D) { VecFx32_SubXZ(&this->mUnk_00[PlayerType_Link], &temp_r10_2->mPos.vec, &sp8); - PlayerLinkActor_9C *ptr = this->mPlayerActors[PlayerType_Link]->mUnk_90; + PlayerLinkActor_9C* ptr = this->mPlayerActors[PlayerType_Link]->mUnk_90; s16 value1 = FX_Atan2Idx(sp8.x, sp8.z); temp_r8_5 = func_ov000_0208832c(value1, ptr->func_ov000_02084944()); @@ -207,7 +207,7 @@ void UnkStruct_027e0ce0_30_00::func_ov017_020bbf7c(ItemManager *pItemMgr) { } } - UnkStruct_027e09bc_0C *temp_r7 = data_027e09bc->mUnk_04[1][0]; + UnkStruct_027e09bc_0C* temp_r7 = data_027e09bc->mUnk_04[1][0]; if (this->mUnk_18 != this->mUnk_1C) { temp_r7->func_ov000_02078534(&temp_r7->mUnk_040, 4); @@ -220,7 +220,7 @@ void UnkStruct_027e0ce0_30_00::func_ov017_020bbf7c(ItemManager *pItemMgr) { var_r7 = 0; } else { - UnkStackStruct_ov000_02084344 *temp_r0_10 = func_ov000_02084344(this->mUnk_18); + UnkStackStruct_ov000_02084344* temp_r0_10 = func_ov000_02084344(this->mUnk_18); temp_r7->func_ov000_02078aa4(this, temp_r0_10->mUnk_00, temp_r0_10->mUnk_02, temp_r0_10->mUnk_04); var_r7 = 1; @@ -243,7 +243,7 @@ void UnkStruct_027e0ce0_30_00::func_ov017_020bbf7c(ItemManager *pItemMgr) { } } -void UnkStruct_027e0ce0_30::func_ov017_020bc5fc(ItemManager *pItemMgr) { +void UnkStruct_027e0ce0_30::func_ov017_020bc5fc(ItemManager* pItemMgr) { if (this->mUnk_00 != NULL) { this->mUnk_00->func_ov017_020bbf7c(pItemMgr); return; diff --git a/src/017_CourseExec/UnkStruct_027e0ce0_40_017.cpp b/src/017_CourseExec/UnkStruct_027e0ce0_40_017.cpp index 470e57d95..4275c6173 100644 --- a/src/017_CourseExec/UnkStruct_027e0ce0_40_017.cpp +++ b/src/017_CourseExec/UnkStruct_027e0ce0_40_017.cpp @@ -21,11 +21,11 @@ extern const unk16 data_ov000_020ab3b8; extern const unk16 data_ov000_020ab3bc; extern const unk16 data_ov000_020ab3c0; -bool PlayerLinkActor_9C::func_ov017_020bc640(u32 param1, bool param2, bool param3, u8 param4, u8 param5, VecFx32 *pAccel, - VecFx32 *pPos, VecFx32 *pVel) { +bool PlayerLinkActor_9C::func_ov017_020bc640(u32 param1, bool param2, bool param3, u8 param4, u8 param5, VecFx32* pAccel, + VecFx32* pPos, VecFx32* pVel) { VecFx32 sp1C; s32 temp_r11; - UnkStruct_027e0ce0_24 *temp_r6; + UnkStruct_027e0ce0_24* temp_r6; s32 var_ge; s32 var_r0; s32 var_r0_2; @@ -117,10 +117,10 @@ bool PlayerLinkActor_9C::func_ov017_020bc640(u32 param1, bool param2, bool param data_027e0ce0->func_ov000_0208bc1c(PlayerType_Link, this->mUnk_13A, this->mUnk_138, 0, &this->mUnk_13C, 0); } else { RefStruct sp14 = this->mUnk_008; - RefStruct *ptr = &sp14; + RefStruct* ptr = &sp14; if (sp14.acRef.type_index == 0x100) { - *(u32 *) &var_r1 = -1; + *(u32*) &var_r1 = -1; } else { var_r1 = ptr->acRef.unk_id; } @@ -129,7 +129,7 @@ bool PlayerLinkActor_9C::func_ov017_020bc640(u32 param1, bool param2, bool param temp_r6->func_ov021_020eb870(var_r1, this->mUnk_138, 0, &this->mUnk_13C) != 0) { RefStruct sp10 = this->mUnk_008; - RefStruct *ptr = &sp10; + RefStruct* ptr = &sp10; if (sp10.acRef.type_index == 0x100) { var_r1_2 = -1; @@ -172,7 +172,7 @@ bool UnkStruct_027e0ce0_40::func_ov017_020bc95c(bool param1) { } } - UnkStruct_027e09bc_0C *temp_r0_2 = data_027e09bc->func_ov000_02077468(this->mUnk_000, 0); + UnkStruct_027e09bc_0C* temp_r0_2 = data_027e09bc->func_ov000_02077468(this->mUnk_000, 0); temp_r0_2->mUnk_268 = sp8; return var_r4; @@ -183,7 +183,7 @@ const bool UnkStruct_027e0ce0_40_Base::UnknownInline1(bool param1, unk32 param2) if (data_027e0d34->func_ov031_020d9a4c(1) != 0) { bool ret = true; - UnkStruct_0204a088 *ptr = data_0204a088; + UnkStruct_0204a088* ptr = data_0204a088; if (ptr->mUnk_04 == OverlayIndex_None && ptr->mUnk_08 == OverlayIndex_None) { ret = false; } @@ -249,8 +249,8 @@ void UnkStruct_027e0ce0_40::func_ov017_020bca40(bool param1, unk32 param2) { } } else if (this->UnknownInline1(param1, param2)) { SET_FLAG2(this->mUnk_104, UnkFlags3_8); - } else if (GET_FLAG2(this->mUnk_104, UnkFlags3_8) && - data_0204a088->IsUnknownCheck3(OverlayIndex_None, OverlayIndex_None) && !data_0204a088->IsUnknownCheck1(6, 1)) { + } else if (GET_FLAG2(this->mUnk_104, UnkFlags3_8) && data_0204a088->IsUnknownCheck3(OverlayIndex_None, OverlayIndex_None) && + !data_0204a088->IsUnknownCheck1(6, 1)) { UNSET_FLAG2(this->mUnk_104, UnkFlags3_8); } else if (!param1) { UNSET_FLAG2(this->mUnk_104, UnkFlags3_8); @@ -332,7 +332,7 @@ bool UnkStruct_027e0ce0_40::func_ov017_020bcde8(bool param1) { } RefStruct sp0; - RefStruct *ptr = (RefStruct *) &sp0; + RefStruct* ptr = (RefStruct*) &sp0; func_ov000_0208a7a4(ptr, &this->mUnk_094); this->mUnk_07C.func_ov017_020be2ec(&this->mUnk_014, var_r10, *ptr); @@ -405,7 +405,7 @@ bool UnkStruct_027e0ce0_40::func_ov017_020bcde8(bool param1) { } } else { //! TODO: fake match - UNSET_FLAG2(*(volatile UnkFlags3 *) &this->mUnk_104, UnkFlags3_3); + UNSET_FLAG2(*(volatile UnkFlags3*) &this->mUnk_104, UnkFlags3_3); this->mUnk_094.mUnk_64 = 0x00; } } diff --git a/src/017_CourseExec/UnkStruct_027e0ce0_40_Base_94_017.cpp b/src/017_CourseExec/UnkStruct_027e0ce0_40_Base_94_017.cpp index b30a0499b..8dc26a876 100644 --- a/src/017_CourseExec/UnkStruct_027e0ce0_40_Base_94_017.cpp +++ b/src/017_CourseExec/UnkStruct_027e0ce0_40_Base_94_017.cpp @@ -5,7 +5,7 @@ extern unk16 data_ov000_020ab3c8; -void UnkStruct_027e0ce0_40_Base_94::func_ov017_020bd300(const UnkStruct_027e0ce0_40_Base_14 *param1, unk32 param2, +void UnkStruct_027e0ce0_40_Base_94::func_ov017_020bd300(const UnkStruct_027e0ce0_40_Base_14* param1, unk32 param2, bool param3) { RefStruct sp0; s16 temp_r0_2; diff --git a/src/017_CourseExec/UnkStruct_027e0cec_18_017.cpp b/src/017_CourseExec/UnkStruct_027e0cec_18_017.cpp index 2bfc0f8dc..410bfc852 100644 --- a/src/017_CourseExec/UnkStruct_027e0cec_18_017.cpp +++ b/src/017_CourseExec/UnkStruct_027e0cec_18_017.cpp @@ -3,13 +3,13 @@ #include "Unknown/UnkStruct_027e0cec.hpp" void UnkStruct_027e0cec_18::func_ov017_020c297c(unk32 param1, unk32 param2) { - UnkStruct_027e0cec_18_04 *pIt = GetBeginIterReverse(*this->mUnk_04); - UnkStruct_027e0cec_18_04 *pNext; - UnkStruct_027e0cec_18_04_20 *temp_r7; + UnkStruct_027e0cec_18_04* pIt = GetBeginIterReverse(*this->mUnk_04); + UnkStruct_027e0cec_18_04* pNext; + UnkStruct_027e0cec_18_04_20* temp_r7; while (pIt != NULL) { temp_r7 = *pIt->mUnk_20; - pNext = (UnkStruct_027e0cec_18_04 *) pIt->GetNext(); + pNext = (UnkStruct_027e0cec_18_04*) pIt->GetNext(); if (pIt->mUnk_24_04 == 0 && pIt->mUnk_4C >= temp_r7->mUnk_36) { pIt->mUnk_24_04 = 1; @@ -39,12 +39,12 @@ void UnkStruct_027e0cec_18::func_ov017_020c297c(unk32 param1, unk32 param2) { } } -bool UnkStruct_027e0cec_18::func_ov017_020c2ad8(void *param1, unk32 param2, unk32 param3) { +bool UnkStruct_027e0cec_18::func_ov017_020c2ad8(void* param1, unk32 param2, unk32 param3) { bool var_r4 = false; NNS_G3dGeFlushBuffer(); - this->mUnk_04->mUnk_40.SetPrev((LinkListNode *) param1); + this->mUnk_04->mUnk_40.SetPrev((LinkListNode*) param1); for (UnkStruct_027e0cec_18_04::Iterator it = GetBeginIterReverse(*this->mUnk_04); it != NULL; it++) { this->mUnk_04->mUnk_40.SetNext(it.GetNode()); diff --git a/src/017_CourseExec/code_020be2ec_017.cpp b/src/017_CourseExec/code_020be2ec_017.cpp index f49034f1d..ef185cc5f 100644 --- a/src/017_CourseExec/code_020be2ec_017.cpp +++ b/src/017_CourseExec/code_020be2ec_017.cpp @@ -11,7 +11,7 @@ #include "nitro/fx.h" #include "nitro/math.h" -void UnkStruct_027e0ce0_40_Base_7C::func_ov017_020be2ec(UnkStruct_027e0ce0_40_Base_14 *param1, bool param2, RefStruct param3) { +void UnkStruct_027e0ce0_40_Base_7C::func_ov017_020be2ec(UnkStruct_027e0ce0_40_Base_14* param1, bool param2, RefStruct param3) { STACK_PAD(0x04); if (this->mUnk_04 != NULL) { @@ -57,13 +57,13 @@ void UnkStruct_027e0ce0_40_Base_14::func_ov017_020be44c(unk32 param1, bool param Vec2s spC; u16 spA; u16 sp8; - VecFx32 *temp_r0; + VecFx32* temp_r0; s16 var_r1_3; s16 var_r1_4; s16 temp_r5; s16 temp_r7; - UnkStruct_027e09bc *temp_r8; - UnkStruct_027e09bc_0C *temp_r8_2; + UnkStruct_027e09bc* temp_r8; + UnkStruct_027e09bc_0C* temp_r8_2; s32 var_r5; s32 var_r7; @@ -170,7 +170,7 @@ void UnkStruct_027e0ce0_40_Base_14::func_ov017_020be44c(unk32 param1, bool param this->mUnk_40 = 0; this->mUnk_5C = 0; this->mUnk_46 = this->mUnk_44; - Vec2s_Copy((Vec2s *) &this->mTouchControl.mState.touchPos, &this->mUnk_48); + Vec2s_Copy((Vec2s*) &this->mTouchControl.mState.touchPos, &this->mUnk_48); return; } @@ -180,7 +180,7 @@ void UnkStruct_027e0ce0_40_Base_14::func_ov017_020be44c(unk32 param1, bool param if (this->mUnk_58 > 0x800) { this->mUnk_5C = temp_r7; this->mUnk_46 = this->mUnk_44; - Vec2s_Copy((Vec2s *) &this->mTouchControl.mState.touchPos, &this->mUnk_48); + Vec2s_Copy((Vec2s*) &this->mTouchControl.mState.touchPos, &this->mUnk_48); } s16 diffX = this->mUnk_4C.x; @@ -245,7 +245,7 @@ void UnkStruct_027e0cf8_08::func_ov017_020be8a8() { } //! TODO: fake match? - if (*(volatile s32 *) &this->mUnk_004 < this->mUnk_008 + this->mUnk_00C) { + if (*(volatile s32*) &this->mUnk_004 < this->mUnk_008 + this->mUnk_00C) { this->mUnk_004++; } } diff --git a/src/018_StartUp/GameModeStartUp.cpp b/src/018_StartUp/GameModeStartUp.cpp index e7a453015..90c851656 100644 --- a/src/018_StartUp/GameModeStartUp.cpp +++ b/src/018_StartUp/GameModeStartUp.cpp @@ -22,7 +22,7 @@ static u8 data_ov018_020c5bc0; void SysFault::func_ov018_020c4840() { this->mUnk_05 = 0; - func_02027a28((void *) func_0201245c, 0); + func_02027a28((void*) func_0201245c, 0); DC_FlushAll(); this->mUnk_00 = 0; this->mUnk_04 = 0; @@ -41,7 +41,7 @@ void Game::func_ov018_020c48a4() { OS_EnableIrqMask(1); GX_VBlankIntr(1); OS_WakeupThreadDirect(&this->mUnk_1C.mUnk_04); - CARD_SetPulledOutCallback((void *) func_020131b0); + CARD_SetPulledOutCallback((void*) func_020131b0); this->TrySetCreateCallback((GameModeCreateCallback) Game::func_ov018_020c4ba8); } @@ -61,8 +61,8 @@ UnkStruct_02049b18::UnkStruct_02049b18() { } void UnkStruct_02011e10::func_ov018_020c4980() { - u8 *arenaLo = (u8 *) OS_GetMainArenaLo(); - u8 *arenaHi = (u8 *) OS_GetMainArenaHi(); + u8* arenaLo = (u8*) OS_GetMainArenaLo(); + u8* arenaHi = (u8*) OS_GetMainArenaHi(); for (int i = 0; i < HeapIndex_Max; i++) { this->mUnk_00[i] = NULL; @@ -74,10 +74,10 @@ void UnkStruct_02011e10::func_ov018_020c4980() { this->mUnk_00[HeapIndex_Main] = NNS_FndCreateFrmHeapEx(arenaLo, arenaHi - arenaLo, 2); unk32 length = func_0202d624(NULL, 0); - void *ptr = ::operator new(length, 0, 4); + void* ptr = ::operator new(length, 0, 4); func_0202d624(ptr, length); ptr = ::operator new(0xBE000, 0, 4); - void *uVar3 = NNS_SndHeapCreate(ptr, 0xBE000); + void* uVar3 = NNS_SndHeapCreate(ptr, 0xBE000); this->mUnk_24[0] = (unk32) uVar3; this->mUnk_5C = 0; @@ -92,22 +92,22 @@ void UnkStruct_02011e10::func_ov018_020c4980() { } void UnkStruct_02011e10::func_ov018_020c4a5c() { - NNSiFndHeapHead *pHead; + NNSiFndHeapHead* pHead; uintptr_t allocSize; - u8 *pLo; - u8 *pHi; + u8* pLo; + u8* pHi; func_020013ac(this->mUnk_00[0]); pHead = this->mUnk_00[HeapIndex_Main]; allocSize = ((uintptr_t) pHead->region.end - (uintptr_t) pHead); - pLo = (u8 *) OS_GetArenaLo(0); + pLo = (u8*) OS_GetArenaLo(0); pLo += allocSize; - pHi = (u8 *) OS_GetMainArenaHi(); + pHi = (u8*) OS_GetMainArenaHi(); this->mUnk_00[1] = NNS_FndCreateExpHeapEx(pLo, pHi - pLo, 2); this->mUnk_5C = func_020011f4(this->mUnk_00[1]); - OS_SetMainArenaLo((void *) pHi); + OS_SetMainArenaLo((void*) pHi); this->mUnk_74 = 1; } @@ -147,7 +147,7 @@ UnkStruct_0204e64c::UnkStruct_0204e64c() { this->mUnk_16 = 0; } -GameModeStartUp *Game::func_ov018_020c4ba8() { +GameModeStartUp* Game::func_ov018_020c4ba8() { static GameModeStartUp data_ov018_020c5bd4; return &data_ov018_020c5bd4; } diff --git a/src/018_StartUp/StartUpInitializers.cpp b/src/018_StartUp/StartUpInitializers.cpp index baf826a98..3fffe339f 100644 --- a/src/018_StartUp/StartUpInitializers.cpp +++ b/src/018_StartUp/StartUpInitializers.cpp @@ -48,7 +48,7 @@ UnkStruct_ov000_020b4eec::UnkStruct_ov000_020b4eec() { UnkStruct_ov000_020b4f84::UnkStruct_ov000_020b4f84() { // fake match? - int *arg0 = 0; + int* arg0 = 0; this->mUnk_C0 = (int) arg0 + 1; this->func_ov000_0206667c(FontIndex_DSZ2_msg, 0); @@ -132,15 +132,15 @@ SaveManager::SaveManager() { stack[0].mUnk_00 = 0x0C1D2E3F; stack[0].mUnk_1C = 0xF4E5D6C7; stack[0].mUnk_04 = 0x1A; - MI_CpuFill16(0, (u16 *) stack[0].mUnk_06, 0x16); + MI_CpuFill16(0, (u16*) stack[0].mUnk_06, 0x16); stack[1].mUnk_00 = 0x0C1D2E3F; stack[1].mUnk_1C = 0xF4E5D6C7; stack[1].mUnk_04 = 0x1A; - MI_CpuFill16(0, (u16 *) stack[1].mUnk_06, 0x16); + MI_CpuFill16(0, (u16*) stack[1].mUnk_06, 0x16); uVar8 = 2; - CARD_WriteAndVerifyFlashAsync((u32) stack, (void *) 0xF4E00, 0x40, NULL, NULL); + CARD_WriteAndVerifyFlashAsync((u32) stack, (void*) 0xF4E00, 0x40, NULL, NULL); } } } @@ -186,7 +186,7 @@ UnkStruct_0204e640::UnkStruct_0204e640() { } UnkStruct_0204af1c::UnkStruct_0204af1c() { - MI_CpuFill16(0, (u16 *) this->mUnk_2920, sizeof(this->mUnk_2920)); + MI_CpuFill16(0, (u16*) this->mUnk_2920, sizeof(this->mUnk_2920)); for (u32 i = 0; i < ARRAY_LEN(this->mUnk_0000); i++) { this->mUnk_0000[i].func_0201af10(i); @@ -198,10 +198,10 @@ UnkStruct_0204af1c::UnkStruct_0204af1c() { UnkStruct_0204e5f8::UnkStruct_0204e5f8() : mUnk_18(0) { //! TODO: fake match - *(u32 *) &this->mUnk_00.mUnk_10 = 0; - this->mUnk_14 = 0; - this->mUnk_38 = 1; - this->mUnk_39 = 1; + *(u32*) &this->mUnk_00.mUnk_10 = 0; + this->mUnk_14 = 0; + this->mUnk_38 = 1; + this->mUnk_39 = 1; G2_SetWnd0InsidePlane(0x00, 0x00); G2_SetWndOutsidePlane(0x00, 0x00); @@ -222,7 +222,7 @@ UnkStruct_0204a110_Sub3::UnkStruct_0204a110_Sub3() { UnkStruct_0204a110_Sub2::UnkStruct_0204a110_Sub2() { u32 i; int j; - UnkStruct_0204a110_Sub2_158 *pUnk158; + UnkStruct_0204a110_Sub2_158* pUnk158; for (i = 0; i < 2; i++) { this->mUnk_000[i] = 0; @@ -301,7 +301,7 @@ UnkStruct_ov000_020b50c0::UnkStruct_ov000_020b50c0() { NNS_SndArcInit(this, "SoundData/final_sound_data.sdat", data_0204999c.mUnk_24[0], 0); } -UnkStruct_ov018_020c5ac0 *UnkStruct_ov000_020b50c0::func_ov018_020c5718() { +UnkStruct_ov018_020c5ac0* UnkStruct_ov000_020b50c0::func_ov018_020c5718() { unk32 uVar1 = data_0204999c.mUnk_24[0]; data_ov000_020b51b8.func_ov018_020c5940(); @@ -349,7 +349,7 @@ UnkStruct_ov000_020b5300::UnkStruct_ov000_020b5300() { #endif } -void UnkStruct_ov000_020b5300::func_ov018_020c583c(void *param1) { +void UnkStruct_ov000_020b5300::func_ov018_020c583c(void* param1) { this->mUnk_1C = param1; this->mUnk_00 = 0; this->mUnk_04 = param1; @@ -448,7 +448,7 @@ UnkStruct_ov018_020c5ac0::UnkStruct_ov018_020c5ac0() { this->mUnk_02 = 0; } -UnkStruct_ov018_020c5ac0 *UnkStruct_ov018_020c5ac0::Create() { +UnkStruct_ov018_020c5ac0* UnkStruct_ov018_020c5ac0::Create() { return new(HeapIndex_1) UnkStruct_ov018_020c5ac0(); } diff --git a/src/019_MainSelect/019_SaveManager.cpp b/src/019_MainSelect/019_SaveManager.cpp index f90c0ea5d..083425433 100644 --- a/src/019_MainSelect/019_SaveManager.cpp +++ b/src/019_MainSelect/019_SaveManager.cpp @@ -194,12 +194,12 @@ void SaveFile::func_ov019_020d0d50() { stack[1].mUnk_04 = 0x1A; MI_CpuFill16(0, &stack[1].mUnk_06, 0x16); - CARD_WriteAndVerifyFlashAsync((u32) stack, (void *) (SAVE_DATA_SIZE * 2), sizeof(stack_struct) * 2, NULL, NULL); + CARD_WriteAndVerifyFlashAsync((u32) stack, (void*) (SAVE_DATA_SIZE * 2), sizeof(stack_struct) * 2, NULL, NULL); } void SaveFile::func_ov019_020d0e18(unk32 param1) { size_t offset = SAVE_FILE_OFFSET(param1); - SaveSlot *puVar3 = &this->mSlots[param1]; + SaveSlot* puVar3 = &this->mSlots[param1]; if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mInfoData), (unk32) &puVar3->mInfoData, sizeof(puVar3->mInfoData))) { return; @@ -239,9 +239,9 @@ void SaveFile::func_ov019_020d13b8() { (unk32) this->mSlots[this->mSaveSlotIndex].mUnk_2600, sizeof(this->mSlots->mUnk_2600)); } -void SaveSlot::func_ov019_020d1400(SaveFile_00000_2600_Data *param1) { +void SaveSlot::func_ov019_020d1400(SaveFile_00000_2600_Data* param1) { param1->unk_7E = MATH_CalcCRC16(&gSaveManager.mUnk_004, param1, sizeof(SaveFile_00000_2600_Data) - sizeof(u16)); - MI_CpuCopyFast(param1, (u8 *) param1 + sizeof(SaveFile_00000_2600_Data), sizeof(SaveFile_00000_2600_Data)); + MI_CpuCopyFast(param1, (u8*) param1 + sizeof(SaveFile_00000_2600_Data), sizeof(SaveFile_00000_2600_Data)); } void SaveFile::func_ov019_020d1434() { @@ -262,14 +262,14 @@ void SaveFile::func_ov019_020d1434() { this->func_ov019_020d13b8(); } -void SaveSlot::func_ov019_020d14c0(SaveFile_00000_1D00_Data *param1) { +void SaveSlot::func_ov019_020d14c0(SaveFile_00000_1D00_Data* param1) { param1->unk_3FE = MATH_CalcCRC16(&gSaveManager.mUnk_004, param1, offsetof(SaveFile_00000_1D00_Data, unk_3FE)); - MI_CpuCopyFast(param1, (u8 *) param1 + sizeof(SaveFile_00000_1D00_Data), sizeof(SaveFile_00000_1D00_Data)); + MI_CpuCopyFast(param1, (u8*) param1 + sizeof(SaveFile_00000_1D00_Data), sizeof(SaveFile_00000_1D00_Data)); } -void SaveSlot::func_ov019_020d14fc(SaveInfoData *param1) { +void SaveSlot::func_ov019_020d14fc(SaveInfoData* param1) { param1->unk_DFE = MATH_CalcCRC16(&gSaveManager.mUnk_004, param1, offsetof(SaveInfoData, unk_DFE)); - MI_CpuCopyFast(param1, (u8 *) param1 + sizeof(SaveInfoData), sizeof(SaveInfoData)); + MI_CpuCopyFast(param1, (u8*) param1 + sizeof(SaveInfoData), sizeof(SaveInfoData)); } void SaveFile::func_ov019_020d1538() { @@ -290,19 +290,19 @@ void SaveFile::func_ov019_020d1538() { this->func_ov019_020d1434(); } -void SaveSlot::func_ov019_020d15cc(SaveFile_00000_2500_Data *param1) { +void SaveSlot::func_ov019_020d15cc(SaveFile_00000_2500_Data* param1) { param1->unk_7E = MATH_CalcCRC16(&gSaveManager.mUnk_004, param1, offsetof(SaveFile_00000_2500_Data, unk_7E)); - MI_CpuCopyFast(param1, (u8 *) param1 + sizeof(SaveFile_00000_2500_Data), sizeof(SaveFile_00000_2500_Data)); + MI_CpuCopyFast(param1, (u8*) param1 + sizeof(SaveFile_00000_2500_Data), sizeof(SaveFile_00000_2500_Data)); } -void SaveSlot::func_ov019_020d1600(SaveTreasureData *param1) { +void SaveSlot::func_ov019_020d1600(SaveTreasureData* param1) { param1->unk_5C.unk_22 = MATH_CalcCRC16(&gSaveManager.mUnk_004, param1, offsetof(SaveTreasureData, unk_5C) + offsetof(TreasureManager_5C, unk_22)); - MI_CpuCopyFast(param1, (u8 *) param1 + sizeof(SaveTreasureData), sizeof(SaveTreasureData)); + MI_CpuCopyFast(param1, (u8*) param1 + sizeof(SaveTreasureData), sizeof(SaveTreasureData)); } void SaveFile::func_ov019_020d1634() { - SaveSlot *pSlot = &this->mSlots[this->mSaveSlotIndex]; + SaveSlot* pSlot = &this->mSlots[this->mSaveSlotIndex]; size_t offset = SAVE_FILE_OFFSET(this->mSaveSlotIndex); for (int i = 0; i < NUM_UNK_BLOCKS; i++) { @@ -316,8 +316,8 @@ void SaveFile::func_ov019_020d1634() { // non-matching void SaveFile::func_ov019_020d16d0() { u16 saveSlotIndex = this->mSaveSlotIndex == 0; - SaveSlot *pSub2 = &this->mSlots[this->mSaveSlotIndex]; - SaveSlot *pSub3 = &this->mSlots[saveSlotIndex]; + SaveSlot* pSub2 = &this->mSlots[this->mSaveSlotIndex]; + SaveSlot* pSub3 = &this->mSlots[saveSlotIndex]; MI_CpuCopyFast(&pSub2->mInfoData, &pSub3->mInfoData, sizeof(SaveInfoData)); MI_CpuCopyFast(&pSub2->mTreasureData, &pSub3->mTreasureData, sizeof(SaveTreasureData)); @@ -354,10 +354,10 @@ struct stack_struct2 { // non-matching void SaveFile::func_ov019_020d1808(unk32 param1) { - SaveSlot *pSub2 = &this->mSlots[param1]; + SaveSlot* pSub2 = &this->mSlots[param1]; stack_struct2 stack1[5]; - if (CARD_ReadFlashAsync((u32) pSub2, (void *) (param1 * SAVE_DATA_SIZE), sizeof(SaveSlot), NULL, NULL) == 0) { + if (CARD_ReadFlashAsync((u32) pSub2, (void*) (param1 * SAVE_DATA_SIZE), sizeof(SaveSlot), NULL, NULL) == 0) { return; } @@ -385,7 +385,7 @@ void SaveFile::func_ov019_020d1808(unk32 param1) { } for (u32 i = 0; i < 5; i++) { - u8 *puVar5 = &((u8 *) pSub2)[data_ov019_020d1be8[i]]; + u8* puVar5 = &((u8*) pSub2)[data_ov019_020d1be8[i]]; if (stack1[i].mUnk_00 != 0) { if (stack1[i].mUnk_04 == 0 || stack1[i].mUnk_00 != stack1[i * 2].mUnk_04) { @@ -404,20 +404,20 @@ void SaveFile::func_ov019_020d1808(unk32 param1) { } } -void SaveFile::func_ov019_020d1aac(unk32 param1, const wchar_t *param2) { +void SaveFile::func_ov019_020d1aac(unk32 param1, const wchar_t* param2) { wchar_t awStack_28[LENGTH_PLAYER_NAME + 1]; awStack_28[8] = L'\0'; wcsncpy(awStack_28, param2, LENGTH_PLAYER_NAME); - MI_CpuCopy16((u16 *) awStack_28, (u16 *) this->mSlots[param1].mInfoData[0].unk_D9C.mPlayerName, + MI_CpuCopy16((u16*) awStack_28, (u16*) this->mSlots[param1].mInfoData[0].unk_D9C.mPlayerName, sizeof(wchar_t) * (LENGTH_PLAYER_NAME + 1)); - MI_CpuCopy16((u16 *) awStack_28, (u16 *) this->mSlots[param1].mUnk_1D00[0].unk_3C4, + MI_CpuCopy16((u16*) awStack_28, (u16*) this->mSlots[param1].mUnk_1D00[0].unk_3C4, sizeof(wchar_t) * (LENGTH_PLAYER_NAME + 1)); } // https://decomp.me/scratch/34KCr void SaveFile::func_ov019_020d1b14(unk32 param1) { - SaveSlot *pSVar3; + SaveSlot* pSVar3; pSVar3 = &this->mSlots[param1]; SaveSlot::func_ov000_020a1028(pSVar3->mInfoData); diff --git a/src/019_MainSelect/019_UnkSubStruct9.cpp b/src/019_MainSelect/019_UnkSubStruct9.cpp index 170109945..dfa7be296 100644 --- a/src/019_MainSelect/019_UnkSubStruct9.cpp +++ b/src/019_MainSelect/019_UnkSubStruct9.cpp @@ -21,7 +21,7 @@ UnkSubStruct9::UnkSubStruct9(stack_struct1 param1) : mUnk_68C(0x89, 0x08), mUnk_704(0x89, 0x09) { // Vec2s stack; - void *stack; + void* stack; if (this->mSaveSlotIndex == 0) { this->mUnk_004.func_ov000_020633c0(0x40, 0x89, 0x02, 0x1F, 0x89, 0x00); this->mUnk_77C.x = 0; @@ -39,7 +39,7 @@ UnkSubStruct9::UnkSubStruct9(stack_struct1 param1) : this->mUnk_77C.y = spE; } - this->mUnk_004.Append((LinkListNode *) param1.param1); + this->mUnk_004.Append((LinkListNode*) param1.param1); this->mUnk_004.mUnk_2C = 1; } @@ -53,7 +53,7 @@ bool UnkSubStruct9::IsPlayerNameSet() { } void UnkSubStruct9::func_ov019_020cbb40() { - SaveSlot *pSlotArray = gSaveManager.GetSaveSlots(); + SaveSlot* pSlotArray = gSaveManager.GetSaveSlots(); if (this->IsPlayerNameSet()) { this->mUnk_064.func_0201fb78(pSlotArray[this->mSaveSlotIndex].GetPlayerName()); @@ -95,9 +95,9 @@ struct struct_sStack_100 { /* 0A */ unk16 mUnk_0A; /* 0C */ - struct_sStack_100(UnkSubStruct9 *thisx, UnkStruct_ov019_020d24c8_28_258 *pUnkSub258, Vec2s *pLocal_c4, u16 iVar12, + struct_sStack_100(UnkSubStruct9* thisx, UnkStruct_ov019_020d24c8_28_258* pUnkSub258, Vec2s* pLocal_c4, u16 iVar12, u16 iVar11) { - func_ov000_02062e44((Vec2s *) this, &thisx->mUnk_004); + func_ov000_02062e44((Vec2s*) this, &thisx->mUnk_004); this->mUnk_06 = pUnkSub258->mPos.x - this->mUnk_02; this->mUnk_04 = pUnkSub258->mPos.y - this->mUnk_00; this->mUnk_08 = pLocal_c4->x + thisx->mUnk_77C.x + iVar11 + this->mUnk_00; @@ -111,7 +111,7 @@ extern unk16 data_ov019_020d1e98[]; void UnkSubStruct9::func_ov019_020cbc0c() { struct_auStack_c0 auStack_c0; - SaveSlot *pSlot = gSaveManager.GetSaveSlot(this->mSaveSlotIndex); + SaveSlot* pSlot = gSaveManager.GetSaveSlot(this->mSaveSlotIndex); auStack_c0.mUnk_06 = 0; MI_CpuFill32(0, &auStack_c0, sizeof(auStack_c0)); auStack_c0.mUnk_05 = -1; @@ -132,7 +132,7 @@ void UnkSubStruct9::func_ov019_020cbc0c() { Vec2s pos = this->mUnk_004.mPos; - func_ov000_02062e44((Vec2s *) local_d0, (void *) &this->mUnk_004); + func_ov000_02062e44((Vec2s*) local_d0, (void*) &this->mUnk_004); unk16 test[2]; unk16 sVar4 = this->mUnk_77C.y; @@ -143,7 +143,7 @@ void UnkSubStruct9::func_ov019_020cbc0c() { this->mUnk_064.mUnk_142 = test[1]; this->mUnk_064.func_0201f4b4(0); - func_ov000_02062e44((Vec2s *) local_d8, &this->mUnk_004); + func_ov000_02062e44((Vec2s*) local_d8, &this->mUnk_004); local_dc[0] = local_c4.x + pos.x + this->mUnk_29C.mPos.x - local_d8[0]; local_dc[1] = local_c4.y + pos.y + this->mUnk_29C.mPos.y - local_d8[1]; @@ -168,15 +168,15 @@ void UnkSubStruct9::func_ov019_020cbc0c() { unk32 uVar1 = uVar13 >> 2; uVar13 = uVar13 & 3; - void *pUVar7; - void *psVar8; + void* pUVar7; + void* psVar8; if ((uVar6 >> 2) != 0) { for (int i = 0; i < (uVar6 >> 2); i++) { unk16 sStack_e0[2]; unk16 uVar3 = data_ov019_020d1e98[i]; UnkStruct_ov019_020d24c8_28_258 uStack_40(0x89, uVar3); - func_ov000_02062e44((Vec2s *) &sStack_e0, &this->mUnk_004.mPos); + func_ov000_02062e44((Vec2s*) &sStack_e0, &this->mUnk_004.mPos); unk16 iVar5 = uStack_40.mPos.x - sStack_e0[0]; unk16 iVar2 = uStack_40.mPos.y - sStack_e0[1]; @@ -260,7 +260,7 @@ void UnkSubStruct9::func_ov019_020cbc0c() { } } -void UnkSubStruct9::func_ov019_020cc5ac(Vec2us *param1) { +void UnkSubStruct9::func_ov019_020cc5ac(Vec2us* param1) { s16 x = param1->x; s16 y = param1->y; diff --git a/src/019_MainSelect/019_UnkSystem1_ov019_Derived1.cpp b/src/019_MainSelect/019_UnkSystem1_ov019_Derived1.cpp index 3a194be54..1883b0c19 100644 --- a/src/019_MainSelect/019_UnkSystem1_ov019_Derived1.cpp +++ b/src/019_MainSelect/019_UnkSystem1_ov019_Derived1.cpp @@ -114,8 +114,8 @@ unk32 UnkSystem1_ov019_Derived1::func_ov019_020c5540(bool param1, unk16 param2) if (param1 != 1 || this->mUnk_18 != 0) { this->mUnk_18 = param2; unk32 sVar1 = this->mUnk_18 + 1; - UnkStruct_ov000_020b504c_0C_Base *pTest = data_ov000_020b504c.func_ov000_02067bc4(0); - pTest->mUnk_08->mUnk_020.mCellAnim.unk_34 = (void *) sVar1; //! TODO: real? + UnkStruct_ov000_020b504c_0C_Base* pTest = data_ov000_020b504c.func_ov000_02067bc4(0); + pTest->mUnk_08->mUnk_020.mCellAnim.unk_34 = (void*) sVar1; //! TODO: real? } return 1; diff --git a/src/019_MainSelect/019_UnkSystem1_ov019_Derived2.cpp b/src/019_MainSelect/019_UnkSystem1_ov019_Derived2.cpp index fc791dfa8..b3bb55b4d 100644 --- a/src/019_MainSelect/019_UnkSystem1_ov019_Derived2.cpp +++ b/src/019_MainSelect/019_UnkSystem1_ov019_Derived2.cpp @@ -36,7 +36,7 @@ unk32 UnkSystem1_ov019_Derived2::vfunc_1C(u32 param1, unk32 param2, unk32 param3 this->mUnk_04++; } else if (data_ov000_020b504c.func_ov000_02067bc4(this->mUnk_10)->vfunc_08()) { if (this->mUnk_04 == 0x0F) { - SaveFile *pSaveFile = gSaveManager.mpSaveFile; + SaveFile* pSaveFile = gSaveManager.mpSaveFile; pSaveFile->func_ov019_020d1aac(this->mUnk_12, data_ov003_020ba740->mUnk_9D0); pSaveFile->mSlots[this->mUnk_12].mUnk_2600[0].unk_02 = param1; gSaveManager.func_ov019_020d09dc(this->mUnk_12); diff --git a/src/019_MainSelect/FileSelectMain.cpp b/src/019_MainSelect/FileSelectMain.cpp index dd575bf8d..b0bb9cb75 100644 --- a/src/019_MainSelect/FileSelectMain.cpp +++ b/src/019_MainSelect/FileSelectMain.cpp @@ -241,7 +241,7 @@ void FileSelectMain::func_ov019_020c6d48() { for (int i = 0; i < MAX_SAVE_SLOTS; i++) { this->GetUnk03E0(i).func_ov019_020cbaec(); - func_ov000_02062e44((Vec2s *) &auStack_2c, &this->GetUnk03E0(i).mUnk_004); + func_ov000_02062e44((Vec2s*) &auStack_2c, &this->GetUnk03E0(i).mUnk_004); local_34.x = UnkStruct_ov019_020d1e70::data_ov019_020d1e4c.mUnk_20; local_34.y = UnkStruct_ov019_020d1e70::data_ov019_020d1e4c.mUnk_0C; @@ -252,7 +252,7 @@ void FileSelectMain::func_ov019_020c6d48() { value = 0; } - this->mUnk_03E8[i].func_ov000_02064080(&auStack_2c, (Vec2p *) &local_34, + this->mUnk_03E8[i].func_ov000_02064080(&auStack_2c, (Vec2p*) &local_34, UnkStruct_ov019_020d1e70::data_ov019_020d1e4c.mUnk_02, value); } @@ -781,8 +781,8 @@ void FileSelectMain::func_ov019_020c78ac() { } void FileSelectMain::func_ov019_020c7910() { - this->mUnk_03E8[this->mSaveSlotIndex].func_ov000_0206415c((void *) &UnkStruct_ov019_020d1e70::data_ov019_020d1e94.mUnk_00, - 0, 0x1E, 10); + this->mUnk_03E8[this->mSaveSlotIndex].func_ov000_0206415c((void*) &UnkStruct_ov019_020d1e70::data_ov019_020d1e94.mUnk_00, 0, + 0x1E, 10); this->mUnk_10BC.mUnk_0A = 1; this->mUnk_10BC.mUnk_0B = 0; @@ -964,9 +964,9 @@ void FileSelectMain::func_ov019_020c7d3c() { if (this->mUnk_1C04.mUnk_18 == 0) { int uVar5 = this->mSaveSlotIndex == 0 ? 2 : 1; - UnkStruct_ov000_020b504c_08 *puVar3 = data_ov000_020b504c.func_ov000_02067bc4(0)->mUnk_08; + UnkStruct_ov000_020b504c_08* puVar3 = data_ov000_020b504c.func_ov000_02067bc4(0)->mUnk_08; unk32 uVar2 = UnkStruct_ov019_020d1e70::data_ov019_020d1e4c.mUnk_10; - puVar3->mUnk_020.mCellAnim.unk_34 = (void *) uVar5; //! TODO: real? + puVar3->mUnk_020.mCellAnim.unk_34 = (void*) uVar5; //! TODO: real? data_ov000_020b504c.func_ov000_0206807c(uVar2, &this->mUnk_1C04); } else if (this->mUnk_1C04.mUnk_18 == 1) { data_ov000_020b504c.func_ov000_0206807c(data_ov019_020d1e70.mUnk_0C, &this->mUnk_1C04); @@ -987,7 +987,7 @@ void FileSelectMain::func_ov019_020c7dc8() { Vec2us sp10_sp12[2]; // sp4 sp6 sp10 sp12 if (this->mState == FileSelectState_ChooseModeToContactMode) { - UnkSystem2_UnkSubSystem1_Base *pUVar5 = this->mUnk_03E8[this->mSaveSlotIndex].mUnk_04; + UnkSystem2_UnkSubSystem1_Base* pUVar5 = this->mUnk_03E8[this->mSaveSlotIndex].mUnk_04; sp10_sp12[0].x = pUVar5->mPos.x + data_ov019_020d1e70.mUnk_20.x; sp10_sp12[0].y = pUVar5->mPos.y + data_ov019_020d1e70.mUnk_20.y; sp10_sp12[1] = sp10_sp12[0]; @@ -1124,7 +1124,7 @@ void FileSelectMain::func_ov019_020c80e8() { void FileSelectMain::func_ov019_020c80f4() {} -void FileSelectMain::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { +void FileSelectMain::vfunc_08(Input* pButtons, TouchControl* pTouchControl) { for (int i = 0; i < MAX_SAVE_SLOTS; i++) { this->mUnk_03E8[i].func_ov000_02063f64(); this->GetUnk03E0(i).func_ov019_020cbb94(); @@ -1161,7 +1161,7 @@ void FileSelectMain::func_ov019_020c8454() { this->mSaveSlotIndex = data_0204a110.func_01ff9b50() - BTN_ID_FILE_SELECT_FILE_1; if (this->GetUnk03E0().IsPlayerNameSet()) { - SaveSlot *pSlot = gSaveManager.GetSaveSlot(this->mSaveSlotIndex); + SaveSlot* pSlot = gSaveManager.GetSaveSlot(this->mSaveSlotIndex); data_ov000_020b504c.mUnk_030 = pSlot->Get2600_00(); data_0204a110.mUnk_000 = pSlot->Get2600_02(); data_ov000_020b50c0.func_ov000_0206a6a4(pSlot->Get2600_01()); @@ -1538,7 +1538,7 @@ void FileSelectMain::func_ov019_020cb268() {} void FileSelectMain::func_ov019_020cb26c() {} -void FileSelectMain::vfunc_10(unk8 *param1) { +void FileSelectMain::vfunc_10(unk8* param1) { CALL_PTMF(data_ov019_020d204c[this->mState]); } @@ -1603,13 +1603,13 @@ void FileSelectMain::func_ov019_020cb324() { s16 temp_y1 = this->mUnk_1144.mUnk_5C.y + sStack_18.y; local_30.x = temp_x1; local_30.y = temp_y1; - data_0204af1c.func_0201aad0(&this->mUnk_1144, (void *) &local_30, 0, &auStack_24); + data_0204af1c.func_0201aad0(&this->mUnk_1144, (void*) &local_30, 0, &auStack_24); s16 temp_x2 = this->mUnk_155C.mUnk_5C.x + sStack_1c.x; s16 temp_y2 = this->mUnk_155C.mUnk_5C.y + sStack_1c.y; local_34.x = temp_x2; local_34.y = temp_y2; - data_0204af1c.func_0201aad0(&this->mUnk_155C, (void *) &local_34, 0, &auStack_24); + data_0204af1c.func_0201aad0(&this->mUnk_155C, (void*) &local_34, 0, &auStack_24); } void FileSelectMain::func_ov019_020cb4bc() { diff --git a/src/019_MainSelect/FileSelectManager.cpp b/src/019_MainSelect/FileSelectManager.cpp index 6c03717c9..c8fdf1ed9 100644 --- a/src/019_MainSelect/FileSelectManager.cpp +++ b/src/019_MainSelect/FileSelectManager.cpp @@ -9,7 +9,7 @@ const s16 data_ov019_020d1bb0[] = {0x01, 0x37, 0x38, 0x39, 0x3C, 0x00}; static const UnkStruct_ov019_020d1d80 data_ov019_020d1db4(0x00020002); -GameModeManagerBase *FileSelectManager::Create(UnkStruct_0204a110_Sub2 *param1) { +GameModeManagerBase* FileSelectManager::Create(UnkStruct_0204a110_Sub2* param1) { return new(HeapIndex_1) FileSelectManager(param1); } @@ -27,12 +27,12 @@ FileSelectManager::~FileSelectManager() { void FileSelectManager::vfunc_10(unk32 param1, unk32 param2, unk32 param3) { this->mUnk_004.func_0201c00c(0x25, 1); - FileSelectMain *newSub3 = new(HeapIndex_1) FileSelectMain(); + FileSelectMain* newSub3 = new(HeapIndex_1) FileSelectMain(); this->mUnk_158 = newSub3; this->mUnk_154->Append(newSub3); newSub3->vfunc_18(); - FileSelectSubScreen *newSub4 = new(HeapIndex_1) FileSelectSubScreen(); + FileSelectSubScreen* newSub4 = new(HeapIndex_1) FileSelectSubScreen(); this->mUnk_15C = newSub4; this->mUnk_154->Append(newSub4); newSub4->vfunc_18(); @@ -77,11 +77,11 @@ void FileSelectManager::func_ov019_020c503c() { case BTN_ID_FILE_SELECT_NEW_FILE_CONFIRM: { data_ov003_020ba740->func_ov003_020b69d8(3); - UnkStruct_ov019_020d1d80 *uVar2 = (UnkStruct_ov019_020d1d80 *) &data_ov019_020d1db4; + UnkStruct_ov019_020d1d80* uVar2 = (UnkStruct_ov019_020d1d80*) &data_ov019_020d1db4; this->mUnk_168.mUnk_12 = this->mUnk_158->mSaveSlotIndex; data_ov000_020b504c.func_ov000_0206807c(uVar2->mUnk_00, &this->mUnk_168); - ((UnkStruct *) data_ov000_020b504c.func_ov000_02067bb4(0))->mUnk_3AC = 1; + ((UnkStruct*) data_ov000_020b504c.func_ov000_02067bb4(0))->mUnk_3AC = 1; data_ov000_020b5214.func_ov000_0206db44(0x12); break; } @@ -103,12 +103,12 @@ void FileSelectManager::func_ov019_020c503c() { } } -void FileSelectManager::vfunc_28(unk8 *param1) { +void FileSelectManager::vfunc_28(unk8* param1) { this->GameModeManagerBase::vfunc_28(param1); this->func_02018a14(param1); } -void FileSelectManager::DrawUI(unk8 *param1) { +void FileSelectManager::DrawUI(unk8* param1) { this->func_02018984(param1); this->func_02018830(param1); } diff --git a/src/019_MainSelect/FileSelectManager_160.cpp b/src/019_MainSelect/FileSelectManager_160.cpp index 41ba80dec..2e9d73a0d 100644 --- a/src/019_MainSelect/FileSelectManager_160.cpp +++ b/src/019_MainSelect/FileSelectManager_160.cpp @@ -5,7 +5,7 @@ #include -FileSelectManager_160::FileSelectManager_160(GameModeManagerBase_104 *param1, FileSelectMain *param2) { +FileSelectManager_160::FileSelectManager_160(GameModeManagerBase_104* param1, FileSelectMain* param2) { this->mUnk_10 = param2; this->mUnk_14 = NULL; this->mUnk_18 = param1; @@ -86,7 +86,7 @@ void FileSelectManager_160::vfunc_58(unk32 param1, unk32 param2) { data_0204a088->func_ov000_02061248(); data_0204a110.func_02019538(0x25, 1); - FileSelectMain *temp_r4 = this->mUnk_10; + FileSelectMain* temp_r4 = this->mUnk_10; this->mUnk_18->Append(temp_r4); temp_r4->vfunc_18(); diff --git a/src/019_MainSelect/FileSelectManager_164.cpp b/src/019_MainSelect/FileSelectManager_164.cpp index 50067c902..58b68a9a3 100644 --- a/src/019_MainSelect/FileSelectManager_164.cpp +++ b/src/019_MainSelect/FileSelectManager_164.cpp @@ -4,7 +4,7 @@ #include "Unknown/UnkStruct_0204a110.hpp" #include "Unknown/UnkStruct_ov000_020b50c0.hpp" -FileSelectManager_164::FileSelectManager_164(GameModeManagerBase_104 *param1, FileSelectMain *param2) { +FileSelectManager_164::FileSelectManager_164(GameModeManagerBase_104* param1, FileSelectMain* param2) { this->mUnk_10 = param2; this->mUnk_14 = param1; this->mUnk_18 = param1; @@ -54,7 +54,7 @@ void FileSelectManager_164::vfunc_54(unk32 param1, unk32 param2) { data_0204a110.func_02019538(0x26, 1); FileSelectOptionsManager::Create(this->mUnk_18, this->mUnk_10->mSaveSlotIndex); - FileSelectOptionsManager *pVar1 = gpFSOptionsManager; + FileSelectOptionsManager* pVar1 = gpFSOptionsManager; this->mUnk_14->Append(pVar1); pVar1->vfunc_18(); @@ -95,7 +95,7 @@ void FileSelectManager_164::vfunc_58(unk32 param1, unk32 param2) { FileSelectManager_164::func_ov019_020d02f4(); data_0204a110.func_02019538(0x25, 1); - FileSelectMain *temp_r4 = this->mUnk_10; + FileSelectMain* temp_r4 = this->mUnk_10; this->mUnk_14->Append(temp_r4); temp_r4->vfunc_18(); diff --git a/src/019_MainSelect/FileSelectMicTest.cpp b/src/019_MainSelect/FileSelectMicTest.cpp index fcfdacc97..1dc554f5f 100644 --- a/src/019_MainSelect/FileSelectMicTest.cpp +++ b/src/019_MainSelect/FileSelectMicTest.cpp @@ -35,7 +35,7 @@ static PTMF data_ov019_020d225c[FSMicTestState_Max] = { }; OptionsManagerAssessor::OptionsManagerAssessor() { - gpFSOptionsManager = (FileSelectOptionsManager *) this; + gpFSOptionsManager = (FileSelectOptionsManager*) this; } OptionsManagerAssessor::~OptionsManagerAssessor() { @@ -57,7 +57,7 @@ FileSelectMicTest::FileSelectMicTest() : Vec2s temp; Vec2s fetch; func_ov000_02062e44(&fetch, &this->mUnk_304.mUnk_044); - Vec2s *pFetch = (Vec2s *) &fetch; // yes the cast is required because why not after all... + Vec2s* pFetch = (Vec2s*) &fetch; // yes the cast is required because why not after all... temp.x = (pFetch)->x + (&data_ov019_020d2248.mUnk_02)->x; temp.y = (pFetch)->y + (&data_ov019_020d2248.mUnk_02)->y; this->mUnk_304.mUnk_044.mPos.coords = temp.coords; @@ -89,7 +89,7 @@ void FileSelectMicTest::func_ov019_020ceaac() { local_38.x = 0; local_38.y = 0; - this->mUnk_304.func_0201e874(BTN_ID_UNK_0C, (void *) &local_34, (void *) &local_38, 0); + this->mUnk_304.func_0201e874(BTN_ID_UNK_0C, (void*) &local_34, (void*) &local_38, 0); this->mUnk_304.mUnk_000.mUnk_0A = true; this->mUnk_304.mUnk_000.mUnk_0B = false; @@ -133,15 +133,15 @@ void FileSelectMicTest::func_ov019_020cebcc() { Vec2s result; Vec2s fetch; - Vec2s *pFetch = (Vec2s *) &fetch; + Vec2s* pFetch = (Vec2s*) &fetch; func_ov000_02062e44(pFetch, &this->mUnk_304.mUnk_044); Vec2s_Add(pFetch, &data_ov019_020d2248.mUnk_02, &result); - this->mUnk_304.mUnk_0A4.func_ov000_0206415c((void *) &result, 7, data_ov019_020d2248.mUnk_00, 0); + this->mUnk_304.mUnk_0A4.func_ov000_0206415c((void*) &result, 7, data_ov019_020d2248.mUnk_00, 0); } -void FileSelectMicTest::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { +void FileSelectMicTest::vfunc_08(Input* pButtons, TouchControl* pTouchControl) { switch (this->mState) { case FSMicTestState_MicTestIdle: this->mUnk_270.func_ov019_020cf168(); @@ -183,7 +183,7 @@ void FileSelectMicTest::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { data_ov000_020b51b8.func_ov000_0206c608(8, 0, 0x1000); } -void FileSelectMicTest::vfunc_10(unk8 *param1) { +void FileSelectMicTest::vfunc_10(unk8* param1) { this->mUnk_270.func_ov019_020cf21c(); data_0204af1c.func_0201aa44(&this->mUnk_258, &this->mUnk_258.mPos, 0, 0); this->mUnk_020.func_0201f4b4(0); @@ -195,7 +195,7 @@ void FileSelectMicTest::vfunc_10(unk8 *param1) { extern u8 data_ov000_020b5340[]; // bool? -void FileSelectMicTest::vfunc_14(unk8 *param1) { +void FileSelectMicTest::vfunc_14(unk8* param1) { if (this->mUnk_630 != 0) { if (data_ov000_020b5340[5] == 0) { this->mUnk_630 = 0; @@ -226,23 +226,19 @@ UnkStruct_ov019_020d24c8_28_270::UnkStruct_ov019_020d24c8_28_270() : this->mUnk_00.mUnk_12 = 0x8D; this->mUnk_00.mUnk_14 = 0x01; - this->mUnk_18.mUnk_00[0].func_ov000_0205fc20(0x8D, 0x03, &this->mUnk_18.mUnk_00[0].mPos, - &this->mUnk_18.mUnk_00[0].mUnk_0E); + this->mUnk_18.mUnk_00[0].func_ov000_0205fc20(0x8D, 0x03, &this->mUnk_18.mUnk_00[0].mPos, &this->mUnk_18.mUnk_00[0].mUnk_0E); this->mUnk_18.mUnk_00[0].mUnk_12 = 0x8D; this->mUnk_18.mUnk_00[0].mUnk_14 = 0x03; - this->mUnk_18.mUnk_00[1].func_ov000_0205fc20(0x8D, 0x04, &this->mUnk_18.mUnk_00[1].mPos, - &this->mUnk_18.mUnk_00[1].mUnk_0E); + this->mUnk_18.mUnk_00[1].func_ov000_0205fc20(0x8D, 0x04, &this->mUnk_18.mUnk_00[1].mPos, &this->mUnk_18.mUnk_00[1].mUnk_0E); this->mUnk_18.mUnk_00[1].mUnk_12 = 0x8D; this->mUnk_18.mUnk_00[1].mUnk_14 = 0x04; - this->mUnk_18.mUnk_00[2].func_ov000_0205fc20(0x8D, 0x05, &this->mUnk_18.mUnk_00[2].mPos, - &this->mUnk_18.mUnk_00[2].mUnk_0E); + this->mUnk_18.mUnk_00[2].func_ov000_0205fc20(0x8D, 0x05, &this->mUnk_18.mUnk_00[2].mPos, &this->mUnk_18.mUnk_00[2].mUnk_0E); this->mUnk_18.mUnk_00[2].mUnk_12 = 0x8D; this->mUnk_18.mUnk_00[2].mUnk_14 = 0x05; - this->mUnk_18.mUnk_00[3].func_ov000_0205fc20(0x8D, 0x02, &this->mUnk_18.mUnk_00[3].mPos, - &this->mUnk_18.mUnk_00[3].mUnk_0E); + this->mUnk_18.mUnk_00[3].func_ov000_0205fc20(0x8D, 0x02, &this->mUnk_18.mUnk_00[3].mPos, &this->mUnk_18.mUnk_00[3].mUnk_0E); this->mUnk_18.mUnk_00[3].mUnk_12 = 0x8D; this->mUnk_18.mUnk_00[3].mUnk_14 = 0x02; @@ -260,7 +256,7 @@ void UnkStruct_ov019_020d24c8_28_270::func_ov019_020cf130() { } void UnkStruct_ov019_020d24c8_28_270::func_ov019_020cf168() { - u8 *ptr = &this->mUnk_7C[this->mUnk_8C]; + u8* ptr = &this->mUnk_7C[this->mUnk_8C]; int iVar4_2; int iVar4; int i; @@ -308,7 +304,7 @@ void UnkStruct_ov019_020d24c8_28_270::func_ov019_020cf21c() { for (int i = 0; i < ARRAY_LEN(this->mUnk_18.mUnk_00); i++) { if (this->mUnk_78[i] != 0) { - UnkStruct_ov019_020d24c8_28_258 *ptr = &this->mUnk_18.mUnk_00[i]; + UnkStruct_ov019_020d24c8_28_258* ptr = &this->mUnk_18.mUnk_00[i]; data_0204af1c.func_0201aa44(ptr, &ptr->mPos, 0, 0); } } diff --git a/src/019_MainSelect/FileSelectOptions.cpp b/src/019_MainSelect/FileSelectOptions.cpp index 4494200a6..e2a8f7f0b 100644 --- a/src/019_MainSelect/FileSelectOptions.cpp +++ b/src/019_MainSelect/FileSelectOptions.cpp @@ -89,18 +89,18 @@ static PTMF data_ov019_020d2188[FSOptionsState_Max] = { &FileSelectOptions::func_ov019_020cdcb8, // FSOptionsState_SaveSettings }; -GameModeManagerBase_104 *FileSelectOptionsManager::Create(void *param1, s32 saveSlotIndex) { +GameModeManagerBase_104* FileSelectOptionsManager::Create(void* param1, s32 saveSlotIndex) { return new(HeapIndex_1) FileSelectOptionsManager(param1, saveSlotIndex); } //! TODO: move to class -FileSelectOptionsManager::FileSelectOptionsManager(void *param1, s32 saveSlotIndex) { - this->mUnk_24 = (GameModeManagerBase_104 *) param1; +FileSelectOptionsManager::FileSelectOptionsManager(void* param1, s32 saveSlotIndex) { + this->mUnk_24 = (GameModeManagerBase_104*) param1; this->mUnk_1C = 0; this->mUnk_20 = 0; this->mpMicTest = new(HeapIndex_1) FileSelectMicTest(); - FileSelectOptions *var_r5 = new(HeapIndex_1) FileSelectOptions(saveSlotIndex); + FileSelectOptions* var_r5 = new(HeapIndex_1) FileSelectOptions(saveSlotIndex); this->mpOptions = var_r5; this->mUnk_24->Append(var_r5); var_r5->vfunc_18(); @@ -111,7 +111,7 @@ FileSelectOptionsManager::~FileSelectOptionsManager() { DELETE(this->mpOptions); } -void FileSelectOptionsManager::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { +void FileSelectOptionsManager::vfunc_08(Input* pButtons, TouchControl* pTouchControl) { if (this->mUnk_20 == 0) { return; } @@ -120,7 +120,7 @@ void FileSelectOptionsManager::vfunc_08(Input *pButtons, TouchControl *pTouchCon switch (this->mUnk_1C) { case 0: { - FileSelectOptions *pFVar4 = this->mpOptions; + FileSelectOptions* pFVar4 = this->mpOptions; this->mUnk_24->Append(pFVar4); pFVar4->vfunc_18(); this->mpOptions->func_ov019_020cde9c(); @@ -128,7 +128,7 @@ void FileSelectOptionsManager::vfunc_08(Input *pButtons, TouchControl *pTouchCon break; } case 1: { - FileSelectMicTest *pFVar5 = this->mpMicTest; + FileSelectMicTest* pFVar5 = this->mpMicTest; this->mUnk_24->Append(pFVar5); pFVar5->vfunc_18(); this->mpMicTest->func_ov019_020cefe4(); @@ -199,11 +199,11 @@ void FileSelectOptions::func_ov019_020ccd40() { CALL_PTMF(data_ov019_020d21c0[this->mState]); } -void FileSelectOptions::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { +void FileSelectOptions::vfunc_08(Input* pButtons, TouchControl* pTouchControl) { CALL_PTMF(data_ov019_020d2188[this->mState]); } -void FileSelectOptions::vfunc_10(unk8 *param1) { +void FileSelectOptions::vfunc_10(unk8* param1) { this->mUnk_0024.func_ov019_020ce4dc(); this->mUnk_1108.func_ov000_02062f30(); this->mUnk_1794.func_ov000_02062f30(); @@ -450,14 +450,14 @@ void FileSelectOptions::func_ov019_020cd614() { } this->mUnk_1064.mUnk_08 = 0; - func_ov000_02062e44((Vec2s *) &local_34, &this->mUnk_1388); + func_ov000_02062e44((Vec2s*) &local_34, &this->mUnk_1388); this->mUnk_1420.func_ov000_0206415c(&local_34, 0, 0xC, 0); - func_ov000_02062e44((Vec2s *) &local_40, &this->mUnk_16AC); + func_ov000_02062e44((Vec2s*) &local_40, &this->mUnk_16AC); local_34 = local_40; this->mUnk_1744.func_ov000_0206415c(&local_34, 0, 0xC, 0); - func_ov000_02062e44((Vec2s *) &local_44, &this->mUnk_19D0); + func_ov000_02062e44((Vec2s*) &local_44, &this->mUnk_19D0); local_34 = local_44; this->mUnk_1A68.func_ov000_0206415c(&local_34, 0, 0xC, 0); } @@ -477,7 +477,7 @@ void FileSelectOptions::func_ov019_020cd788() { void FileSelectOptions::func_ov019_020cd7f8() { switch (data_0204a110.func_01ff9b50()) { case BTN_ID_RETURN: - SaveFile_00000_2600_Data *pSaveSub17 = gSaveManager.GetSaveSlot(this->mUnk_0024.mSaveSlotIndex)->Get2600Ptr(); + SaveFile_00000_2600_Data* pSaveSub17 = gSaveManager.GetSaveSlot(this->mUnk_0024.mSaveSlotIndex)->Get2600Ptr(); data_0204a110.mUnk_000 = pSaveSub17->unk_02; data_ov000_020b504c.mUnk_030 = pSaveSub17->unk_00; data_ov000_020b50c0.func_ov000_0206a6a4(pSaveSub17->unk_01); @@ -557,11 +557,11 @@ void FileSelectOptions::func_ov019_020cdcb8() { data_ov000_020b5214.func_ov000_0206db44(0x1F); } } else { - UnkStruct_ov000_020b504c_0C_Base *ptr = data_ov000_020b504c.func_ov000_02067bc4(0); + UnkStruct_ov000_020b504c_0C_Base* ptr = data_ov000_020b504c.func_ov000_02067bc4(0); if (!ptr->vfunc_08() ? true : false) { if (data_ov000_020b504c.func_ov000_020682c0(0) == 0) { - SaveFile_00000_2600_Data *pSaveSub17 = gSaveManager.GetSaveSlot(this->mUnk_0024.mSaveSlotIndex)->Get2600Ptr(); + SaveFile_00000_2600_Data* pSaveSub17 = gSaveManager.GetSaveSlot(this->mUnk_0024.mSaveSlotIndex)->Get2600Ptr(); pSaveSub17->unk_00 = this->mUnk_0024.mUnk_FC0; pSaveSub17->unk_01 = this->mUnk_0024.mUnk_FC1; pSaveSub17->unk_02 = this->mUnk_0024.mUnk_FC2; @@ -591,7 +591,7 @@ void FileSelectOptions::func_ov019_020cde9c() { this->func_ov019_020cde8c(FSOptionsState_OptionsFromMicTest); } -UnkStruct_ov019_020d24c8_2C_24::UnkStruct_ov019_020d24c8_2C_24(GameModeManagerBase_104_0C *param1, s32 saveSlotIndex) : +UnkStruct_ov019_020d24c8_2C_24::UnkStruct_ov019_020d24c8_2C_24(GameModeManagerBase_104_0C* param1, s32 saveSlotIndex) : mSaveSlotIndex(saveSlotIndex), mUnk_004(0, 0), mUnk_008(0, 0), @@ -612,14 +612,14 @@ UnkStruct_ov019_020d24c8_2C_24::UnkStruct_ov019_020d24c8_2C_24(GameModeManagerBa mUnk_FB8(NULL), mUnk_FBC(NULL) { - SaveSlot *pSlot = gSaveManager.GetSaveSlot(this->mSaveSlotIndex); - SaveFile_00000_2600_Data *pSaveSub17 = pSlot->Get2600Ptr(); + SaveSlot* pSlot = gSaveManager.GetSaveSlot(this->mSaveSlotIndex); + SaveFile_00000_2600_Data* pSaveSub17 = pSlot->Get2600Ptr(); this->mUnk_FC0 = pSaveSub17->unk_00; this->mUnk_FC1 = pSaveSub17->unk_01; this->mUnk_FC2 = pSaveSub17->unk_02; - u8 *src = (u8 *) pSaveSub17->unk_03; - u8 *dst = (u8 *) &this->mUnk_FC3[0]; + u8* src = (u8*) pSaveSub17->unk_03; + u8* dst = (u8*) &this->mUnk_FC3[0]; for (u32 i = ARRAY_LEN(this->mUnk_FC3); i != 0; i--) { u8 b1 = *src++; u8 b2 = *src++; @@ -756,7 +756,7 @@ struct stack_struct { // non-matching void UnkStruct_ov019_020d24c8_2C_24::func_ov019_020ce4dc() { for (int i = 0; i < ARRAY_LEN(this->mUnk_FB0->mUnk_00); i++) { - UnkSystem2_UnkSubSystem5 *ptr = this->mUnk_FB0->mUnk_00[i]; + UnkSystem2_UnkSubSystem5* ptr = this->mUnk_FB0->mUnk_00[i]; Vec2s local_2c; local_2c.x = this->mUnk_004.x; @@ -775,7 +775,7 @@ void UnkStruct_ov019_020d24c8_2C_24::func_ov019_020ce4dc() { } for (int i = 0; i < ARRAY_LEN(this->mUnk_FB8->mUnk_00); i++) { - UnkSystem2_UnkSubSystem1_Derived1 *ptr = this->mUnk_FB8->mUnk_00[i]; + UnkSystem2_UnkSubSystem1_Derived1* ptr = this->mUnk_FB8->mUnk_00[i]; Vec2s sVar1_2; sVar1_2.x = this->mUnk_008.mPos.x; diff --git a/src/019_MainSelect/FileSelectSubScreen.cpp b/src/019_MainSelect/FileSelectSubScreen.cpp index 3e3b6bab7..97ab1f4fc 100644 --- a/src/019_MainSelect/FileSelectSubScreen.cpp +++ b/src/019_MainSelect/FileSelectSubScreen.cpp @@ -8,7 +8,7 @@ #include #include -FileSelectOptionsManager *gpFSOptionsManager = NULL; +FileSelectOptionsManager* gpFSOptionsManager = NULL; static unk8 data_ov019_020fb8cc[0xDC00]; static unk8 data_ov019_021094cc[0xDC00]; @@ -66,7 +66,7 @@ FileSelectSubScreen::FileSelectSubScreen() : this->func_ov019_020cf73c(2, 1); } -void FileSelectSubScreen::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { +void FileSelectSubScreen::vfunc_08(Input* pButtons, TouchControl* pTouchControl) { this->mUnk_0024 = this->mUnk_0020; this->mUnk_0020 += FX32_HALF; @@ -154,12 +154,12 @@ void FileSelectSubScreen::func_ov019_020cf73c(unk32 param1, unk32 param2) { } } -void FileSelectSubScreen::vfunc_10(unk8 *param1) { +void FileSelectSubScreen::vfunc_10(unk8* param1) { this->mUnk_002C.vfunc_04(); } FileSelect_UnkClass7::FileSelect_UnkClass7() { - Random *pRandom = &gRandom; + Random* pRandom = &gRandom; for (int i = 0; i < ARRAY_LEN(this->mUnk_004.mUnk_000); i++) { this->mUnk_004.mUnk_000[i].func_ov000_0206082c(0x8F, data_ov019_020d1bcc[gRandom.Next32(3)]); @@ -171,7 +171,7 @@ FileSelect_UnkClass7::FileSelect_UnkClass7() { pos.x = pRandom->Next32(SUBSCREEN_WIDTH); pos.y = pRandom->Next32(SUBSCREEN_HEIGHT); - Vec2us *pVec = &this->mUnk_004.mUnk_E10[i]; + Vec2us* pVec = &this->mUnk_004.mUnk_E10[i]; pVec->x = pos.x; pVec->y = pos.y; } @@ -188,7 +188,7 @@ void FileSelect_UnkClass7::vfunc_00() { pos.x = gRandom.Next32(SUBSCREEN_WIDTH); pos.y = gRandom.Next32(SUBSCREEN_HEIGHT); - Vec2us *pVec = &this->mUnk_004.mUnk_E10[i]; + Vec2us* pVec = &this->mUnk_004.mUnk_E10[i]; pVec->x = pos.x; pVec->y = pos.y; } diff --git a/src/019_MainSelect/GameModeFileSelect.cpp b/src/019_MainSelect/GameModeFileSelect.cpp index 6299fffaf..5405f7e68 100644 --- a/src/019_MainSelect/GameModeFileSelect.cpp +++ b/src/019_MainSelect/GameModeFileSelect.cpp @@ -14,7 +14,7 @@ static const UnkStruct_ov019_020d1d80 data_ov019_020d1d80(0x00020001); -GameModeFileSelect *GameModeFileSelect::Create() { +GameModeFileSelect* GameModeFileSelect::Create() { return new(HeapIndex_1) GameModeFileSelect(); } @@ -32,7 +32,7 @@ void GameModeFileSelect::vfunc_08() { gSaveManager.func_ov019_020d0964(); this->GameModeBase::vfunc_08(); - const UnkStruct_ov019_020d1d80 *ptr2 = &data_ov019_020d1d80; + const UnkStruct_ov019_020d1d80* ptr2 = &data_ov019_020d1d80; this->mUnk_04.mUnk_14 = gSaveManager.mpSaveFile; data_ov000_020b504c.func_ov000_0206807c(ptr2->mUnk_00, &this->mUnk_04); diff --git a/src/021_BattleGame/Actor/ActorUnkBAEY.cpp b/src/021_BattleGame/Actor/ActorUnkBAEY.cpp index 91a2b4e1b..b1f5ebb1a 100644 --- a/src/021_BattleGame/Actor/ActorUnkBAEY.cpp +++ b/src/021_BattleGame/Actor/ActorUnkBAEY.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBAEY); -Actor *ActorProfileUnkBAEY::Create() { +Actor* ActorProfileUnkBAEY::Create() { return new(HeapIndex_2) ActorUnkBAEY(); } diff --git a/src/021_BattleGame/Actor/ActorUnkBAFO.cpp b/src/021_BattleGame/Actor/ActorUnkBAFO.cpp index ba06ea60a..d2d50b5c2 100644 --- a/src/021_BattleGame/Actor/ActorUnkBAFO.cpp +++ b/src/021_BattleGame/Actor/ActorUnkBAFO.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBAFO); -Actor *ActorProfileUnkBAFO::Create() { +Actor* ActorProfileUnkBAFO::Create() { return new(HeapIndex_2) ActorUnkBAFO(); } diff --git a/src/021_BattleGame/Actor/ActorUnkBAPH.cpp b/src/021_BattleGame/Actor/ActorUnkBAPH.cpp index 12d9ba5e5..7c2ae8e13 100644 --- a/src/021_BattleGame/Actor/ActorUnkBAPH.cpp +++ b/src/021_BattleGame/Actor/ActorUnkBAPH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBAPH); -Actor *ActorProfileUnkBAPH::Create() { +Actor* ActorProfileUnkBAPH::Create() { return new(HeapIndex_2) ActorUnkBAPH(); } diff --git a/src/021_BattleGame/Actor/ActorUnkBFFN.cpp b/src/021_BattleGame/Actor/ActorUnkBFFN.cpp index 7260aae8c..226b5a5fd 100644 --- a/src/021_BattleGame/Actor/ActorUnkBFFN.cpp +++ b/src/021_BattleGame/Actor/ActorUnkBFFN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBFFN); -Actor *ActorProfileUnkBFFN::Create() { +Actor* ActorProfileUnkBFFN::Create() { return new(HeapIndex_2) ActorUnkBFFN(); } diff --git a/src/021_BattleGame/Actor/ActorUnkBPAP.cpp b/src/021_BattleGame/Actor/ActorUnkBPAP.cpp index 1f4a0bcc8..fb59cac85 100644 --- a/src/021_BattleGame/Actor/ActorUnkBPAP.cpp +++ b/src/021_BattleGame/Actor/ActorUnkBPAP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBPAP); -Actor *ActorProfileUnkBPAP::Create() { +Actor* ActorProfileUnkBPAP::Create() { return new(HeapIndex_2) ActorUnkBPAP(); } diff --git a/src/021_BattleGame/Actor/ActorUnkBTIR.cpp b/src/021_BattleGame/Actor/ActorUnkBTIR.cpp index 8872e356f..be3c9f736 100644 --- a/src/021_BattleGame/Actor/ActorUnkBTIR.cpp +++ b/src/021_BattleGame/Actor/ActorUnkBTIR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBTIR); -Actor *ActorProfileUnkBTIR::Create() { +Actor* ActorProfileUnkBTIR::Create() { return new(HeapIndex_2) ActorUnkBTIR(); } diff --git a/src/021_BattleGame/Actor/ActorUnkCLZN.cpp b/src/021_BattleGame/Actor/ActorUnkCLZN.cpp index 29873f50b..dbb690b3a 100644 --- a/src/021_BattleGame/Actor/ActorUnkCLZN.cpp +++ b/src/021_BattleGame/Actor/ActorUnkCLZN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCLZN); -Actor *ActorProfileUnkCLZN::Create() { +Actor* ActorProfileUnkCLZN::Create() { return new(HeapIndex_2) ActorUnkCLZN(); } diff --git a/src/021_BattleGame/Actor/ActorUnkFOFA.cpp b/src/021_BattleGame/Actor/ActorUnkFOFA.cpp index 30a23d805..694d3342b 100644 --- a/src/021_BattleGame/Actor/ActorUnkFOFA.cpp +++ b/src/021_BattleGame/Actor/ActorUnkFOFA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFOFA); -Actor *ActorProfileUnkFOFA::Create() { +Actor* ActorProfileUnkFOFA::Create() { return new(HeapIndex_2) ActorUnkFOFA(); } diff --git a/src/021_BattleGame/Actor/ActorUnkLVOF.cpp b/src/021_BattleGame/Actor/ActorUnkLVOF.cpp index fcc47eaab..06cb4886e 100644 --- a/src/021_BattleGame/Actor/ActorUnkLVOF.cpp +++ b/src/021_BattleGame/Actor/ActorUnkLVOF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkLVOF); -Actor *ActorProfileUnkLVOF::Create() { +Actor* ActorProfileUnkLVOF::Create() { return new(HeapIndex_2) ActorUnkLVOF(); } diff --git a/src/021_BattleGame/MapObject/MapObjectUnkBAPL.cpp b/src/021_BattleGame/MapObject/MapObjectUnkBAPL.cpp index 3a3f4e732..604ceb835 100644 --- a/src/021_BattleGame/MapObject/MapObjectUnkBAPL.cpp +++ b/src/021_BattleGame/MapObject/MapObjectUnkBAPL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBAPL); -MapObject *MapObjectProfileUnkBAPL::Create() { +MapObject* MapObjectProfileUnkBAPL::Create() { return new(HeapIndex_2) MapObjectUnkBAPL(); } diff --git a/src/021_BattleGame/MapObject/MapObjectUnkBFFL.cpp b/src/021_BattleGame/MapObject/MapObjectUnkBFFL.cpp index 737e15dff..6b75cc8b4 100644 --- a/src/021_BattleGame/MapObject/MapObjectUnkBFFL.cpp +++ b/src/021_BattleGame/MapObject/MapObjectUnkBFFL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBFFL); -MapObject *MapObjectProfileUnkBFFL::Create() { +MapObject* MapObjectProfileUnkBFFL::Create() { return new(HeapIndex_2) MapObjectUnkBFFL(); } diff --git a/src/021_BattleGame/MapObject/MapObjectUnkBFSP.cpp b/src/021_BattleGame/MapObject/MapObjectUnkBFSP.cpp index 85dd62968..5a4295e1c 100644 --- a/src/021_BattleGame/MapObject/MapObjectUnkBFSP.cpp +++ b/src/021_BattleGame/MapObject/MapObjectUnkBFSP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBFSP); -MapObject *MapObjectProfileUnkBFSP::Create() { +MapObject* MapObjectProfileUnkBFSP::Create() { return new(HeapIndex_2) MapObjectUnkBFSP(); } diff --git a/src/024_MainGame/Actor/ActorUnkOBPC.cpp b/src/024_MainGame/Actor/ActorUnkOBPC.cpp index f4742c35b..c2c2af77d 100644 --- a/src/024_MainGame/Actor/ActorUnkOBPC.cpp +++ b/src/024_MainGame/Actor/ActorUnkOBPC.cpp @@ -9,7 +9,7 @@ DECL_PROFILE(ActorProfileUnkOBPC); -Actor *ActorProfileUnkOBPC::Create() { +Actor* ActorProfileUnkOBPC::Create() { return new(HeapIndex_2) ActorUnkOBPC(); } @@ -117,8 +117,8 @@ void ActorUnkOBPC::SetState(ActorState state, int param2) { bool ActorUnkOBPC::func_ov024_020d7154(void) { u8 temp_r4 = this->mUnk_5C.mParams[0]; - MapManagerBase *temp_r5 = gpCourseManager->mpMapMgr; - ActorManager *pActorMgr; + MapManagerBase* temp_r5 = gpCourseManager->mpMapMgr; + ActorManager* pActorMgr; VecFx32 sp10; switch (this->mUnk_94) { @@ -132,7 +132,7 @@ bool ActorUnkOBPC::func_ov024_020d7154(void) { case 2: { pActorMgr = gpActorManager; UnkStruct_ov000_020b3000 sp8(ActorId_KEYB); - Actor **ppActor = pActorMgr->func_01fff350(&sp8, pActorMgr->mActorTable); + Actor** ppActor = pActorMgr->func_01fff350(&sp8, pActorMgr->mActorTable); if (ppActor == pActorMgr->mUnk_08) { return false; @@ -144,7 +144,7 @@ bool ActorUnkOBPC::func_ov024_020d7154(void) { default: { pActorMgr = gpActorManager; UnkStruct_ov000_020b3000 sp0(ActorId_KEYT); - Actor **ppActor = pActorMgr->func_01fff350(&sp0, pActorMgr->mActorTable); + Actor** ppActor = pActorMgr->func_01fff350(&sp0, pActorMgr->mActorTable); if (ppActor == pActorMgr->mUnk_08) { return false; diff --git a/src/024_MainGame/Actor/Actor_Derived1_EC_024.cpp b/src/024_MainGame/Actor/Actor_Derived1_EC_024.cpp index 807a1d96b..ea66df793 100644 --- a/src/024_MainGame/Actor/Actor_Derived1_EC_024.cpp +++ b/src/024_MainGame/Actor/Actor_Derived1_EC_024.cpp @@ -21,12 +21,12 @@ Actor_Derived1_EC::Actor_Derived1_EC() { THUMB_END -void Actor_Derived1_EC::func_ov024_020d6680(const VecFx32 *param1, u8 *param2) { +void Actor_Derived1_EC::func_ov024_020d6680(const VecFx32* param1, u8* param2) { this->mUnk_00 = data_027e0960->func_ov000_0205a390(*param2); VecFx32_Copy(param1, &this->mUnk_0C); } -void Actor_Derived1_EC::func_ov024_020d66c0(const VecFx32 *param1, unk32 param2) { +void Actor_Derived1_EC::func_ov024_020d66c0(const VecFx32* param1, unk32 param2) { this->mUnk_00 = data_027e0960->func_ov000_0205a3fc(*param1, param2); VecFx32_Copy(param1, &this->mUnk_0C); } @@ -43,7 +43,7 @@ void Actor_Derived1_EC::func_ov024_020d6730() { BOOL var_r0; this->mUnk_08 |= 0x02; - this->mUnk_05 = *(volatile u8 *) &this->mUnk_04; + this->mUnk_05 = *(volatile u8*) &this->mUnk_04; switch (this->mUnk_00->pRALB->unk_02) { case 1: @@ -78,7 +78,7 @@ void Actor_Derived1_EC::func_ov024_020d6730() { break; case 2: if (this->mUnk_06) { - if (*(volatile u8 *) &this->mUnk_04 == 0) { + if (*(volatile u8*) &this->mUnk_04 == 0) { var_r0 = true; } else { var_r0 = false; @@ -157,8 +157,7 @@ void Actor_Derived1_EC::func_ov024_020d6730() { } } -u16 *Actor_Derived1_EC::func_ov024_020d69d8(VecFx32 *pPos, s16 *pAngle, VecFx32 *pVel, unk32 param4, s16 param5, - unk32 param6) { +u16* Actor_Derived1_EC::func_ov024_020d69d8(VecFx32* pPos, s16* pAngle, VecFx32* pVel, unk32 param4, s16 param5, unk32 param6) { VecFx32 sp1C; VecFx32 sp10; VecFx32 sp4; @@ -179,11 +178,11 @@ u16 *Actor_Derived1_EC::func_ov024_020d69d8(VecFx32 *pPos, s16 *pAngle, VecFx32 temp_r1 = FX_Atan2Idx(sp10.x, sp10.z); sp0.angle_s = temp_r1; - func_01ff930c((s16 *) pAngle, temp_r1, param5); + func_01ff930c((s16*) pAngle, temp_r1, param5); temp_r4 = func_01ff9258(sp1C.x - pPos->x, sp1C.z - pPos->z); - var_r0 = FX_MUL(param4, func_02017f54((s16 *) pAngle, sp0)); + var_r0 = FX_MUL(param4, func_02017f54((s16*) pAngle, sp0)); if (var_r0 < param6) { var_r0 = param6; } @@ -206,8 +205,7 @@ u16 *Actor_Derived1_EC::func_ov024_020d69d8(VecFx32 *pPos, s16 *pAngle, VecFx32 return &this->mUnk_08; } -u16 *Actor_Derived1_EC::func_ov024_020d6b7c(VecFx32 *pPos, s16 *pAngle, VecFx32 *pVel, unk32 param4, s16 param5, - unk32 param6) { +u16* Actor_Derived1_EC::func_ov024_020d6b7c(VecFx32* pPos, s16* pAngle, VecFx32* pVel, unk32 param4, s16 param5, unk32 param6) { VecFx32 sp28; VecFx32 sp1C; VecFx32 sp10; @@ -230,11 +228,11 @@ u16 *Actor_Derived1_EC::func_ov024_020d6b7c(VecFx32 *pPos, s16 *pAngle, VecFx32 temp_r1 = FX_Atan2Idx(sp1C.x, sp1C.z); sp0.angle_s = temp_r1; - func_01ff930c((s16 *) pAngle, temp_r1, param5); + func_01ff930c((s16*) pAngle, temp_r1, param5); temp_r4 = func_01ff9258(sp28.x - pPos->x, sp28.z - pPos->z); - var_r0 = FX_MUL(param4, func_02017f54((s16 *) pAngle, sp0)); + var_r0 = FX_MUL(param4, func_02017f54((s16*) pAngle, sp0)); if (var_r0 < param6) { var_r0 = param6; } @@ -261,7 +259,7 @@ u16 *Actor_Derived1_EC::func_ov024_020d6b7c(VecFx32 *pPos, s16 *pAngle, VecFx32 return &this->mUnk_08; } -u16 *Actor_Derived1_EC::func_ov024_020d6d80(VecFx32 *pPos, VecFx32 *pVel) { +u16* Actor_Derived1_EC::func_ov024_020d6d80(VecFx32* pPos, VecFx32* pVel) { VecFx32 sp18; VecFx32 spC; VecFx32 sp0; diff --git a/src/024_MainGame/Actor/UnkActorSystem1_024.cpp b/src/024_MainGame/Actor/UnkActorSystem1_024.cpp index 953d675cc..8eed270d1 100644 --- a/src/024_MainGame/Actor/UnkActorSystem1_024.cpp +++ b/src/024_MainGame/Actor/UnkActorSystem1_024.cpp @@ -18,7 +18,7 @@ void UnkActorSystem1::vfunc_10(unk32 param1) {} void UnkActorSystem1::vfunc_14(unk32 param1) {} -void UnkActorSystem1::vfunc_18(unk8 *param1) {} +void UnkActorSystem1::vfunc_18(unk8* param1) {} void UnkActorSystem1::vfunc_1C(unk32 param1) {} diff --git a/src/024_MainGame/Actor/UnkActorSystem2_024.cpp b/src/024_MainGame/Actor/UnkActorSystem2_024.cpp index d1e82ca71..e6c104c27 100644 --- a/src/024_MainGame/Actor/UnkActorSystem2_024.cpp +++ b/src/024_MainGame/Actor/UnkActorSystem2_024.cpp @@ -57,7 +57,7 @@ bool UnkActorSystem2::func_ov024_020c4f7c() { return this->mUnk_094.mUnk_6E; } -void UnkActorSystem2::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { +void UnkActorSystem2::vfunc_08(Input* pButtons, TouchControl* pTouchControl) { this->mUnk_01C.func_ov000_020609c4(); this->mUnk_094.func_ov000_020609c4(); @@ -69,7 +69,7 @@ void UnkActorSystem2::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { } } -void UnkActorSystem2::vfunc_10(unk8 *param1) { +void UnkActorSystem2::vfunc_10(unk8* param1) { Vec2us vec; if (this->func_ov024_020c510c()) { diff --git a/src/024_MainGame/Actor/UnkStruct_ov024_020d8660_024.cpp b/src/024_MainGame/Actor/UnkStruct_ov024_020d8660_024.cpp index 5481c7d79..b6ebc0ebd 100644 --- a/src/024_MainGame/Actor/UnkStruct_ov024_020d8660_024.cpp +++ b/src/024_MainGame/Actor/UnkStruct_ov024_020d8660_024.cpp @@ -11,9 +11,9 @@ #include -UnkStruct_ov024_020d8660 *data_ov024_020d8660 = NULL; +UnkStruct_ov024_020d8660* data_ov024_020d8660 = NULL; -void UnkStruct_ov024_020d8660::func_ov024_020c4a8c(UnkActorSystem1 *param1) { +void UnkStruct_ov024_020d8660::func_ov024_020c4a8c(UnkActorSystem1* param1) { this->mUnk_00 = param1; this->mUnk_1C = this->mUnk_00->vfunc_24(); data_ov000_020b51b8.func_ov000_0206d0bc(0x14); @@ -55,8 +55,8 @@ void UnkStruct_ov024_020d8660::func_ov024_020c4ba0() { if (this->mActorId != 0) { UnkStruct_ov000_020b3000 uStack_68(this->mActorId); - Actor **ppActor = gpActorManager->func_01fff350(&uStack_68, gpActorManager->mActorTable); - Actor *pActor = NULL; + Actor** ppActor = gpActorManager->func_01fff350(&uStack_68, gpActorManager->mActorTable); + Actor* pActor = NULL; if (ppActor != gpActorManager->mUnk_08) { pActor = *ppActor; @@ -133,7 +133,7 @@ void UnkStruct_ov024_020d8660::func_ov024_020c4d88(ActorId actorId, unk32 param2 this->mUnk_0C.mUnk_0D = false; } -void UnkStruct_ov024_020d8660::func_ov024_020c4dac(ActorId actorId, unk32 param2, UnkActorSystem_Infos1 *param3) { +void UnkStruct_ov024_020d8660::func_ov024_020c4dac(ActorId actorId, unk32 param2, UnkActorSystem_Infos1* param3) { this->mActorId = actorId; this->mUnk_08 = param2; this->mUnk_0C.mUnk_00 = param3->mUnk_00; diff --git a/src/024_MainGame/Game/AdventureModeManager_024.cpp b/src/024_MainGame/Game/AdventureModeManager_024.cpp index 47770f9a5..2924aade0 100644 --- a/src/024_MainGame/Game/AdventureModeManager_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_024.cpp @@ -31,7 +31,7 @@ #include #include -extern void *data_ov000_020b64f8; +extern void* data_ov000_020b64f8; AdventureModeManager::~AdventureModeManager() { delete this->mUnk_1B8; @@ -185,7 +185,7 @@ void AdventureModeManager::vfunc_24() { for (GameModeManagerBase_104::Iterator it1 = GetBeginIter(this->mUnk_15C->mUnk_04); it1 != GetEndIter(this->mUnk_15C->mUnk_04); it1++) { //! TODO: regalloc issues when using the iterator - for (GameModeManagerBase_104_0C *it2 = GetBeginIter(it1->mUnk_0C); it2 != GetEndIter(it1->mUnk_0C); + for (GameModeManagerBase_104_0C* it2 = GetBeginIter(it1->mUnk_0C); it2 != GetEndIter(it1->mUnk_0C); GetNextIter(it2)) { it2->vfunc_08(&sp24); } @@ -431,7 +431,7 @@ void AdventureModeManager::func_ov024_020c5cec() { } if (this->mUnk_160 != NULL && this->mUnk_160->mUnk_18 != NULL) { - AdventureModeManager_160_18 *ptr = this->mUnk_160->mUnk_18; + AdventureModeManager_160_18* ptr = this->mUnk_160->mUnk_18; this->mUnk_104.Append(this->mUnk_160->mUnk_18); ptr->vfunc_18(); } @@ -525,7 +525,7 @@ bool AdventureModeManager::func_ov024_020c623c() { return true; } -void AdventureModeManager::vfunc_28(unk8 *param1) { +void AdventureModeManager::vfunc_28(unk8* param1) { this->GameModeManagerBase::vfunc_28(param1); data_027e0998->func_ov000_02061768(); this->func_02018a14(param1); @@ -539,7 +539,7 @@ void AdventureModeManager::vfunc_28(unk8 *param1) { } } -void AdventureModeManager::DrawUI(unk8 *param1) { +void AdventureModeManager::DrawUI(unk8* param1) { s8 value = *param1; this->func_02018984(param1); @@ -679,7 +679,7 @@ void AdventureModeManager::func_ov024_020c6770(SceneIndex sceneIndex, u8 roomInd data_027e0cf8->func_ov024_020c7780(); if (this->mUnk_1AC->GetListLength() == 0) { - AdventureModeManager_1AC *ptr = this->mUnk_1AC; + AdventureModeManager_1AC* ptr = this->mUnk_1AC; this->mUnk_158->Append(ptr); ptr->vfunc_18(); } @@ -710,7 +710,7 @@ void AdventureModeManager::func_ov024_020c6840(SceneIndex sceneIndex) { } } -void AdventureModeManager::func_ov024_020c68d4(Vec2s *param1, unk32 param2) { +void AdventureModeManager::func_ov024_020c68d4(Vec2s* param1, unk32 param2) { data_027e0cf8->func_ov024_020c77d0(param1, param2); } @@ -840,7 +840,7 @@ void AdventureModeManager::func_ov024_020c6b8c() { } if (gpUICounterManager != NULL) { - UICounterManager *ptr = gpUICounterManager; + UICounterManager* ptr = gpUICounterManager; this->mUnk_104.Append(ptr); ptr->vfunc_18(); @@ -853,7 +853,7 @@ void AdventureModeManager::func_ov024_020c6b8c() { if (!data_027e09a4->IsTrain()) { if (!this->mUnk_1B5 && this->mUnk_1B0 != NULL) { - AdventureModeManager_1B0 *ptr = this->mUnk_1B0; + AdventureModeManager_1B0* ptr = this->mUnk_1B0; this->mUnk_104.Append(ptr); ptr->vfunc_18(); @@ -888,7 +888,7 @@ bool AdventureModeManager::func_ov024_020c6ce4() { return false; } -AdventureModeManager_194_0C *AdventureModeManager::func_ov024_020c6d04() { +AdventureModeManager_194_0C* AdventureModeManager::func_ov024_020c6d04() { return this->mUnk_194->mUnk_0C; } @@ -945,14 +945,14 @@ AdventureModeManager_1AC::AdventureModeManager_1AC() { AdventureModeManager_1AC::~AdventureModeManager_1AC() {} -void AdventureModeManager_1AC::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { +void AdventureModeManager_1AC::vfunc_08(Input* pButtons, TouchControl* pTouchControl) { data_027e0cf8->func_ov017_020c390c(pButtons, pTouchControl); } -void AdventureModeManager_1AC::vfunc_10(unk8 *param1) { +void AdventureModeManager_1AC::vfunc_10(unk8* param1) { data_027e0cf8->func_ov017_020c397c(param1); } -void AdventureModeManager_1AC::vfunc_14(unk8 *param1) { +void AdventureModeManager_1AC::vfunc_14(unk8* param1) { data_027e0cf8->func_ov017_020c39d4(param1); } diff --git a/src/024_MainGame/Game/AdventureModeManager_15C_20_00_024.cpp b/src/024_MainGame/Game/AdventureModeManager_15C_20_00_024.cpp index e81be457b..057a7635d 100644 --- a/src/024_MainGame/Game/AdventureModeManager_15C_20_00_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_15C_20_00_024.cpp @@ -79,7 +79,7 @@ void AdventureModeManager_15C_20_00::func_ov024_020ca658() { } } -void AdventureModeManager_15C_20_00::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { +void AdventureModeManager_15C_20_00::vfunc_08(Input* pButtons, TouchControl* pTouchControl) { switch (this->mUnk_01C) { case 1: case 2: diff --git a/src/024_MainGame/Game/AdventureModeManager_160_024.cpp b/src/024_MainGame/Game/AdventureModeManager_160_024.cpp index 3c8012e6d..33ec62d33 100644 --- a/src/024_MainGame/Game/AdventureModeManager_160_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_160_024.cpp @@ -18,7 +18,7 @@ void AdventureModeManager_160_4C::vfunc_0C() { data_0204a088->func_ov000_02061224(); } -AdventureModeManager_160::AdventureModeManager_160(GameModeManagerBase_104 *param1, AdventureModeManager_1B8 *param2) : +AdventureModeManager_160::AdventureModeManager_160(GameModeManagerBase_104* param1, AdventureModeManager_1B8* param2) : mUnk_0C(0), mUnk_10(param1), mUnk_14(NULL), diff --git a/src/024_MainGame/Game/AdventureModeManager_170_024.cpp b/src/024_MainGame/Game/AdventureModeManager_170_024.cpp index a5a0dafd7..7e21e606a 100644 --- a/src/024_MainGame/Game/AdventureModeManager_170_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_170_024.cpp @@ -14,7 +14,7 @@ void AdventureModeManager_170_14::vfunc_0C() { data_0204a088->func_ov000_02061224(); } -AdventureModeManager_170::AdventureModeManager_170(GameModeManagerBase_104 *param1) : +AdventureModeManager_170::AdventureModeManager_170(GameModeManagerBase_104* param1) : mUnk_0C(0), mUnk_10(param1), mUnk_38(0) { diff --git a/src/024_MainGame/Game/AdventureModeManager_174_024.cpp b/src/024_MainGame/Game/AdventureModeManager_174_024.cpp index 063edbf5f..142e9d60f 100644 --- a/src/024_MainGame/Game/AdventureModeManager_174_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_174_024.cpp @@ -6,7 +6,7 @@ THUMB_BEGIN -AdventureModeManager_174::AdventureModeManager_174(GameModeManagerBase_104 *param1) : +AdventureModeManager_174::AdventureModeManager_174(GameModeManagerBase_104* param1) : AdventureModeManager_174_Base(param1), mUnk_B8(0) { data_0204a088->func_ov000_020611dc(this, 5); diff --git a/src/024_MainGame/Game/AdventureModeManager_174_Base_024.cpp b/src/024_MainGame/Game/AdventureModeManager_174_Base_024.cpp index 89c095224..39020f882 100644 --- a/src/024_MainGame/Game/AdventureModeManager_174_Base_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_174_Base_024.cpp @@ -20,7 +20,7 @@ void AdventureModeManager_174_Base_10::vfunc_10() { data_0204a088->func_ov000_02061224(); } -AdventureModeManager_174_Base::AdventureModeManager_174_Base(GameModeManagerBase_104 *param1) : +AdventureModeManager_174_Base::AdventureModeManager_174_Base(GameModeManagerBase_104* param1) : mUnk_0C(param1) { this->mUnk_A4 = 99; this->mUnk_A6 = 99; @@ -70,7 +70,7 @@ void AdventureModeManager_174_Base::func_ov024_020c88f0() { data_ov000_020b504c.func_ov000_02068068(1); data_0204a088->mUnk_120 = NULL; - UnkStruct_027e09ac *ptr = data_027e09ac; + UnkStruct_027e09ac* ptr = data_027e09ac; this->mUnk_3C = data_027e09ac->mUnk_014; this->mUnk_A4 = ptr->mUnk_14C; this->mUnk_A6 = ptr->mUnk_14E; @@ -95,7 +95,7 @@ void AdventureModeManager_174_Base::func_ov024_020c8b2c() { data_0204a088->func_ov000_02061248(); gpCourseManager->func_ov000_02081c28(); - AdventureModeManager *pAdvMgr = GetAdventureModeManager(); + AdventureModeManager* pAdvMgr = GetAdventureModeManager(); if (data_027e09a4->IsTrain()) { GetAdventureModeManager()->func_ov024_020c555c(1); } else { diff --git a/src/024_MainGame/Game/AdventureModeManager_178_024.cpp b/src/024_MainGame/Game/AdventureModeManager_178_024.cpp index d4796384e..9e20906d3 100644 --- a/src/024_MainGame/Game/AdventureModeManager_178_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_178_024.cpp @@ -5,7 +5,7 @@ THUMB_BEGIN -AdventureModeManager_178::AdventureModeManager_178(GameModeManagerBase_104 *param1) : +AdventureModeManager_178::AdventureModeManager_178(GameModeManagerBase_104* param1) : AdventureModeManager_178_Base(param1), mUnk_B8(0) { data_0204a088->func_ov000_020611dc(this, 0x0D); diff --git a/src/024_MainGame/Game/AdventureModeManager_178_Base_024.cpp b/src/024_MainGame/Game/AdventureModeManager_178_Base_024.cpp index 6797af781..e02ad15ba 100644 --- a/src/024_MainGame/Game/AdventureModeManager_178_Base_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_178_Base_024.cpp @@ -4,7 +4,7 @@ THUMB_BEGIN -AdventureModeManager_178_Base::AdventureModeManager_178_Base(GameModeManagerBase_104 *param1) : +AdventureModeManager_178_Base::AdventureModeManager_178_Base(GameModeManagerBase_104* param1) : AdventureModeManager_174_Base(param1) {} void AdventureModeManager_178_Base::vfunc2_08(unk32 param1) { diff --git a/src/024_MainGame/Game/AdventureModeManager_180_024.cpp b/src/024_MainGame/Game/AdventureModeManager_180_024.cpp index 5dc508d61..a6519f256 100644 --- a/src/024_MainGame/Game/AdventureModeManager_180_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_180_024.cpp @@ -14,7 +14,7 @@ void AdventureModeManager_180_18::vfunc_0C(void) { data_0204a088->func_ov000_02061224(); } -AdventureModeManager_180::AdventureModeManager_180(GameModeManagerBase_104 *param1) : +AdventureModeManager_180::AdventureModeManager_180(GameModeManagerBase_104* param1) : mUnk_0C(0), mUnk_10(0), mUnk_14(param1), @@ -206,16 +206,15 @@ void AdventureModeManager_180::func_ov024_020c957c() { this->mUnk_0C = 2; struct { - void *ptr; + void* ptr; unk32 actorId; } local_10; local_10.ptr = &data_ov000_020b34c4; local_10.actorId = MapObjectId_SPTB; - MapObject **ppMapObj = - gpMapObjManager->func_01fff520((UnkStruct_ov000_020b34c4 *) &local_10, gpMapObjManager->mMapObjTable); + MapObject** ppMapObj = gpMapObjManager->func_01fff520((UnkStruct_ov000_020b34c4*) &local_10, gpMapObjManager->mMapObjTable); if (gpMapObjManager->mUnk_08 != ppMapObj) { - MapObjectUnkSPTB *pStampStation = (MapObjectUnkSPTB *) *ppMapObj; + MapObjectUnkSPTB* pStampStation = (MapObjectUnkSPTB*) *ppMapObj; pStampStation->func_ov031_0210b9c4(); } } @@ -225,16 +224,15 @@ void AdventureModeManager_180::func_ov024_020c95c4() { this->mUnk_0C = 3; struct { - void *ptr; + void* ptr; unk32 actorId; } local_10; local_10.ptr = &data_ov000_020b34c4; local_10.actorId = MapObjectId_SPTB; - MapObject **ppMapObj = - gpMapObjManager->func_01fff520((UnkStruct_ov000_020b34c4 *) &local_10, gpMapObjManager->mMapObjTable); + MapObject** ppMapObj = gpMapObjManager->func_01fff520((UnkStruct_ov000_020b34c4*) &local_10, gpMapObjManager->mMapObjTable); if (gpMapObjManager->mUnk_08 != ppMapObj) { - MapObjectUnkSPTB *pStampStation = (MapObjectUnkSPTB *) *ppMapObj; + MapObjectUnkSPTB* pStampStation = (MapObjectUnkSPTB*) *ppMapObj; pStampStation->func_ov031_0210b9e0(); } } diff --git a/src/024_MainGame/Game/AdventureModeManager_184_024.cpp b/src/024_MainGame/Game/AdventureModeManager_184_024.cpp index 3df9b0f22..5d8280107 100644 --- a/src/024_MainGame/Game/AdventureModeManager_184_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_184_024.cpp @@ -12,7 +12,7 @@ THUMB_BEGIN -AdventureModeManager_184::AdventureModeManager_184(GameModeManagerBase_104 *param1) { +AdventureModeManager_184::AdventureModeManager_184(GameModeManagerBase_104* param1) { this->mUnk_0C = param1; this->mUnk_10 = NULL; this->mUnk_14 = NULL; diff --git a/src/024_MainGame/Game/AdventureModeManager_18C_024.cpp b/src/024_MainGame/Game/AdventureModeManager_18C_024.cpp index 5a77dcdbe..96a0070db 100644 --- a/src/024_MainGame/Game/AdventureModeManager_18C_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_18C_024.cpp @@ -24,7 +24,7 @@ void AdventureModeManager_18C_14::vfunc_10(void) { data_0204a088->func_ov000_02061224(); } -AdventureModeManager_18C::AdventureModeManager_18C(GameModeManagerBase_104 *param1) : +AdventureModeManager_18C::AdventureModeManager_18C(GameModeManagerBase_104* param1) : mUnk_0C(param1), mUnk_10(NULL), mUnk_38(false), diff --git a/src/024_MainGame/Game/AdventureModeManager_190_024.cpp b/src/024_MainGame/Game/AdventureModeManager_190_024.cpp index 2c2cbd486..296042106 100644 --- a/src/024_MainGame/Game/AdventureModeManager_190_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_190_024.cpp @@ -16,7 +16,7 @@ void AdventureModeManager_190_38::vfunc_0C() { this->mpParent->func_ov024_020ca280(); } -AdventureModeManager_190::AdventureModeManager_190(GameModeManagerBase_104 *param1) : +AdventureModeManager_190::AdventureModeManager_190(GameModeManagerBase_104* param1) : mUnk_0C(param1), mUnk_10(NULL), mUnk_38(this), diff --git a/src/024_MainGame/Game/AdventureModeManager_1B8_Base_024.cpp b/src/024_MainGame/Game/AdventureModeManager_1B8_Base_024.cpp index 8539b4972..f5d0fe9a9 100644 --- a/src/024_MainGame/Game/AdventureModeManager_1B8_Base_024.cpp +++ b/src/024_MainGame/Game/AdventureModeManager_1B8_Base_024.cpp @@ -18,7 +18,7 @@ static u16 data_ov024_020d869c; static const AdventureModeManager_1B8_Base_1C data_ov024_020d8200(0x14, 0x08, 0xD8, 0xB0); AdventureModeManager_1B8_Base::AdventureModeManager_1B8_Base(u8 bgType, bool param2, - const AdventureModeManager_1B8_Base_1C ¶m3, bool param4, + const AdventureModeManager_1B8_Base_1C& param3, bool param4, bool param5) { this->mUnk_00 = ADVMGR_UNK; this->mUnk_04 = ADVMGR_UNK; @@ -31,8 +31,8 @@ AdventureModeManager_1B8_Base::AdventureModeManager_1B8_Base(u8 bgType, bool par this->mIsTopScreen = param2; this->mUnk_10 = param4; this->mUnk_14 = GetUnkValue_ImplS(param3.mUnk_06, param4); - this->mUnk_18 = (u8 *) ::operator new(this->mUnk_14, HeapIndex_1, 4); - MI_CpuCopy16((void *) ¶m3, &this->mUnk_1C, sizeof(AdventureModeManager_1B8_Base_1C)); + this->mUnk_18 = (u8*) ::operator new(this->mUnk_14, HeapIndex_1, 4); + MI_CpuCopy16((void*) ¶m3, &this->mUnk_1C, sizeof(AdventureModeManager_1B8_Base_1C)); this->func_ov024_020d0698(); } @@ -63,13 +63,13 @@ void AdventureModeManager_1B8_Base::func_ov024_020d06d0() { this->func_ov024_020d0a64(); } -void AdventureModeManager_1B8_Base::func_ov024_020d072c(unk8 *param1) { +void AdventureModeManager_1B8_Base::func_ov024_020d072c(unk8* param1) { if (this->mUnk_0A) { this->func_ov024_020d0a64(); } } -static inline void SetUnkValue4(int a, int b, int *pVal) { +static inline void SetUnkValue4(int a, int b, int* pVal) { if (a <= b) { if (*pVal < 0) { *pVal = -*pVal; @@ -198,7 +198,7 @@ bool AdventureModeManager_1B8_Base::func_ov024_020d0924(unk32 param1, unk32 para for (; var_r7_2 <= var_r8; var_r7_2++) { for (var_r4 = var_r5; var_r4 <= var_r6; var_r4++) { unk32 index = this->func_ov024_020d0db4(var_r4, var_r7_2); - u8 *pBuffer = this->mUnk_18; + u8* pBuffer = this->mUnk_18; if (this->mUnk_10) { u8 value = pBuffer[index]; @@ -233,7 +233,7 @@ void AdventureModeManager_1B8_Base::func_ov024_020d0a64() { u32 var_r6; s32 var_r6_2; s32 var_r7; - u8 *temp_r7; + u8* temp_r7; s32 var_r8; if (this->mUnk_0D) { @@ -305,7 +305,7 @@ void AdventureModeManager_1B8_Base::func_ov024_020d0a64() { this->mUnk_0C = 0; } -void AdventureModeManager_1B8_Base::TryLoadBGChar(void *ptr, u32 offset, u32 size) { +void AdventureModeManager_1B8_Base::TryLoadBGChar(void* ptr, u32 offset, u32 size) { DC_StoreAll(); if (!this->mIsTopScreen) { @@ -387,7 +387,7 @@ bool AdventureModeManager_1B8_Base::func_ov024_020d0df8(unk32 param1, unk32 para return var_r4; } -void AdventureModeManager_1B8_Base::func_ov024_020d0e64(void *ptr, u32 size) { +void AdventureModeManager_1B8_Base::func_ov024_020d0e64(void* ptr, u32 size) { DC_FlushRange(ptr, size * 2); GXS_BeginLoadBGExtPltt(); GXS_LoadBGExtPltt(ptr, 0x4000, size * 2); @@ -402,7 +402,7 @@ bool AdventureModeManager_1B8_Base::func_ov024_020d0e98() { return false; } -void AdventureModeManager_1B8_Base::func_ov024_020d0ec0(s32 *pFlags, s32 position, bool doSet) { +void AdventureModeManager_1B8_Base::func_ov024_020d0ec0(s32* pFlags, s32 position, bool doSet) { if (doSet) { SET_FLAG_ALT(pFlags, position); } else { @@ -410,7 +410,7 @@ void AdventureModeManager_1B8_Base::func_ov024_020d0ec0(s32 *pFlags, s32 positio } } -bool AdventureModeManager_1B8_Base::func_ov024_020d0f0c(s32 *pFlags, s32 position) { +bool AdventureModeManager_1B8_Base::func_ov024_020d0f0c(s32* pFlags, s32 position) { if (GET_FLAG_ALT(pFlags, position)) { return true; } @@ -431,7 +431,7 @@ AdventureModeManager_1B8::AdventureModeManager_1B8(u8 bgType, bool param2, bool AdventureModeManager_1B8::~AdventureModeManager_1B8() {} -void AdventureModeManager_1B8::func_ov024_020d0fb4(unk32 param1, unk32 param2, u8 param3, u8 param4, TouchControl *param5) { +void AdventureModeManager_1B8::func_ov024_020d0fb4(unk32 param1, unk32 param2, u8 param3, u8 param4, TouchControl* param5) { param1 -= data_0204a110.mUnk_E02; if (CHECK_TOUCH_FLAGS(param5, TouchFlag_TouchedNow) || @@ -479,18 +479,18 @@ void AdventureModeManager_1B8::func_ov024_020d114c() { bool AdventureModeManager_1B8::func_ov024_020d1160() { UnkDataStruct2 sp1C(0x4A90); - s32 *unk_00 = (s32 *) sp1C.unk_00; - void *sp14 = (void *) ((u8 *) sp1C.unk_00 + 0x1290); - void *unk_28 = this->mUnk_28; + s32* unk_00 = (s32*) sp1C.unk_00; + void* sp14 = (void*) ((u8*) sp1C.unk_00 + 0x1290); + void* unk_28 = this->mUnk_28; - this->func_ov024_020d14a8((AdventureModeManager_1B8_Base_1C *) &data_ov024_020d8200, 0x1290, unk_00); + this->func_ov024_020d14a8((AdventureModeManager_1B8_Base_1C*) &data_ov024_020d8200, 0x1290, unk_00); for (int spC = 0; spC < 4; spC++) { u32 temp_r0 = func_0202955c(unk_00, 0x1290, unk_28, 4, sp14); if (temp_r0 != 0 && temp_r0 <= 0xFFC) { if (0xFFC - temp_r0 != 0) { - MI_CpuFill8((void *) ((u8 *) unk_28 + temp_r0), 0, 0xFFC - temp_r0); + MI_CpuFill8((void*) ((u8*) unk_28 + temp_r0), 0, 0xFFC - temp_r0); } return true; @@ -569,10 +569,10 @@ void AdventureModeManager_1B8::func_ov024_020d13cc(s32 param1) { if (GET_FLAG(gSaveManager.mUnk_000->unk_B30.unk_00, this->mUnk_24)) { UnkDataStruct2 sp4(0x2290); - void *unk_00 = sp4.unk_00; + void* unk_00 = sp4.unk_00; if (gSaveManager.func_ov000_020a0b70(unk_00, this->mUnk_24)) { - s32 *ptr = (s32 *) ((u8 *) sp4.unk_00 + 0x1000); + s32* ptr = (s32*) ((u8*) sp4.unk_00 + 0x1000); func_02029058(unk_00, ptr); this->func_ov024_020d1564(&data_ov024_020d8200, 0x1290, ptr, 1); return; // this is required @@ -580,7 +580,7 @@ void AdventureModeManager_1B8::func_ov024_020d13cc(s32 param1) { } } -bool AdventureModeManager_1B8::func_ov024_020d14a8(AdventureModeManager_1B8_Base_1C *param1, unk32 param2, s32 *pFlags) { +bool AdventureModeManager_1B8::func_ov024_020d14a8(AdventureModeManager_1B8_Base_1C* param1, unk32 param2, s32* pFlags) { int i; int var_r5; int temp_r6; @@ -608,7 +608,7 @@ bool AdventureModeManager_1B8::func_ov024_020d14a8(AdventureModeManager_1B8_Base return ret; } -void AdventureModeManager_1B8::func_ov024_020d1564(const AdventureModeManager_1B8_Base_1C *param1, unk32 param2, s32 *pFlags, +void AdventureModeManager_1B8::func_ov024_020d1564(const AdventureModeManager_1B8_Base_1C* param1, unk32 param2, s32* pFlags, const u8 param4) { int i; int var_r5; @@ -631,7 +631,7 @@ void AdventureModeManager_1B8::func_ov024_020d1564(const AdventureModeManager_1B } } -void AdventureModeManager_1B8::func_ov024_020d1614(GameSaveSlot *param1) { +void AdventureModeManager_1B8::func_ov024_020d1614(GameSaveSlot* param1) { this->mUnk_28 = param1; MI_CpuClearFast(this->mUnk_28, 0x1000); StaticInstance::sInstance.func_ov017_020bba78(); diff --git a/src/024_MainGame/Game/GameModeAdventure_024.cpp b/src/024_MainGame/Game/GameModeAdventure_024.cpp index b5d7bf0ac..692d4e132 100644 --- a/src/024_MainGame/Game/GameModeAdventure_024.cpp +++ b/src/024_MainGame/Game/GameModeAdventure_024.cpp @@ -26,10 +26,10 @@ void GameModeAdventure::vfunc_08() { data_ov000_020b504c.func_ov001_020be510(); data_ov000_020b50c0.func_ov001_020bd854(); - GameSaveSlot *pSaveFile = data_ov000_020b4eec.func_ov001_020be12c(); + GameSaveSlot* pSaveFile = data_ov000_020b4eec.func_ov001_020be12c(); #if IS_JP || IS_EUR1 - SaveInfoData *pSaveInfoData = &pSaveFile->mInfoData; + SaveInfoData* pSaveInfoData = &pSaveFile->mInfoData; if (pSaveInfoData->sceneIndex == SceneIndex_f_ajito2) { pSaveInfoData->sceneIndex = SceneIndex_f_ajito; @@ -72,8 +72,8 @@ void GameModeAdventure::vfunc_1C() { } void GameModeAdventure::vfunc_20() { - UnkStruct_027e09a4 *temp = data_027e09a4; - unk8 *ptr = &data_0204a110.mUnk_DF2; + UnkStruct_027e09a4* temp = data_027e09a4; + unk8* ptr = &data_0204a110.mUnk_DF2; if (data_0204a088->mUnk_120 & 1) { temp->func_ov017_020bb994(ptr); diff --git a/src/024_MainGame/MiscAdvManager.cpp b/src/024_MainGame/MiscAdvManager.cpp index cf0f0dd89..d46a1eaae 100644 --- a/src/024_MainGame/MiscAdvManager.cpp +++ b/src/024_MainGame/MiscAdvManager.cpp @@ -5,9 +5,9 @@ #include -MiscAdvManager *gpMiscAdvManager = NULL; +MiscAdvManager* gpMiscAdvManager = NULL; -MiscAdvManager *MiscAdvManager::Create() { +MiscAdvManager* MiscAdvManager::Create() { return new(HeapIndex_1) MiscAdvManager(); } @@ -19,7 +19,7 @@ MiscAdvManager::MiscAdvManager() { MiscAdvManager::~MiscAdvManager() {} -void MiscAdvManager::func_ov024_020d6310(MiscAdvManager *pSrc) { +void MiscAdvManager::func_ov024_020d6310(MiscAdvManager* pSrc) { Date local_10; MI_CpuCopyFast(pSrc, this, sizeof(MiscAdvManager)); @@ -104,15 +104,15 @@ unk32 MiscAdvManager::GetStamp(unk32 index) { return this->mObtainedStamps[index]; } -u16 *MiscAdvManager::GetStampDate(unk32 index) { - return (u16 *) &this->mStampDates[index]; +u16* MiscAdvManager::GetStampDate(unk32 index) { + return (u16*) &this->mStampDates[index]; } -Vec2bCpp *MiscAdvManager::GetStampPos(unk32 index) { - return (Vec2bCpp *) &this->mStampPositions[index]; +Vec2bCpp* MiscAdvManager::GetStampPos(unk32 index) { + return (Vec2bCpp*) &this->mStampPositions[index]; } -void MiscAdvManager::func_ov024_020d64b4(s8 param1, unk32 param2, const u16 *param3) { +void MiscAdvManager::func_ov024_020d64b4(s8 param1, unk32 param2, const u16* param3) { if (param2 < 0) { return; } diff --git a/src/024_MainGame/TitleCard/UnkStruct_ov024_020d8694_024.cpp b/src/024_MainGame/TitleCard/UnkStruct_ov024_020d8694_024.cpp index cc54f7a26..9e9c0d3a5 100644 --- a/src/024_MainGame/TitleCard/UnkStruct_ov024_020d8694_024.cpp +++ b/src/024_MainGame/TitleCard/UnkStruct_ov024_020d8694_024.cpp @@ -2,7 +2,7 @@ #include "System/SysNew.hpp" #include "Unknown/UnkStruct_ov024_020d8694.hpp" -UnkStruct_ov024_020d8694 *data_ov024_020d8694 = NULL; +UnkStruct_ov024_020d8694* data_ov024_020d8694 = NULL; static const u32 sBMGSceneMap[] = { BMG_ID(BMGGroup_maingame, MsgIndex_ForestLand), // TC_SceneMsgIdx_ForestLand @@ -65,11 +65,11 @@ static const u32 sBMGSceneMap[] = { BMG_ID(BMGGroup_maingame, MsgIndex_SlipperyStation), // TC_SceneMsgIdx_SlipperyStation }; -UnkStruct_ov024_020d8694 *UnkStruct_ov024_020d8694::Create(GameModeManagerBase_004 *param1) { +UnkStruct_ov024_020d8694* UnkStruct_ov024_020d8694::Create(GameModeManagerBase_004* param1) { return new(HeapIndex_1) UnkStruct_ov024_020d8694(param1); } -UnkStruct_ov024_020d8694::UnkStruct_ov024_020d8694(GameModeManagerBase_004 *param1) : +UnkStruct_ov024_020d8694::UnkStruct_ov024_020d8694(GameModeManagerBase_004* param1) : mUnk_01C(param1), mUnk_188(param1), mUnk_2FC(param1), @@ -123,7 +123,7 @@ void UnkStruct_ov024_020d8694::func_ov024_020cb040() { this->mUnk_01C.func_ov024_020cc088(true); } -void UnkStruct_ov024_020d8694::func_ov024_020cb054(unk32 param1, Vec2s *param2, Vec2s *param3) { +void UnkStruct_ov024_020d8694::func_ov024_020cb054(unk32 param1, Vec2s* param2, Vec2s* param3) { this->func_ov024_020cb0c4(); Vec2s local_20; @@ -152,13 +152,13 @@ void UnkStruct_ov024_020d8694::func_ov024_020cb0c4() { this->mUnk_2FC.func_ov024_020cb5bc(); } -void UnkStruct_ov024_020d8694::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { +void UnkStruct_ov024_020d8694::vfunc_08(Input* pButtons, TouchControl* pTouchControl) { this->mUnk_01C.vfunc_00(); this->mUnk_188.vfunc_00(); this->mUnk_2FC.vfunc_00(); } -void UnkStruct_ov024_020d8694::vfunc_10(unk8 *param1) { +void UnkStruct_ov024_020d8694::vfunc_10(unk8* param1) { this->mUnk_01C.vfunc_04(param1); this->mUnk_188.vfunc_04(param1); this->mUnk_2FC.vfunc_04(param1); diff --git a/src/024_MainGame/TitleCard/UnkTitleCardSystem1_024.cpp b/src/024_MainGame/TitleCard/UnkTitleCardSystem1_024.cpp index b510f4b0b..e5bdfb448 100644 --- a/src/024_MainGame/TitleCard/UnkTitleCardSystem1_024.cpp +++ b/src/024_MainGame/TitleCard/UnkTitleCardSystem1_024.cpp @@ -13,7 +13,7 @@ #include "Unknown/UnkStruct_ov024_020d8694.hpp" #include -UnkTitleCardSystem1::UnkTitleCardSystem1(GameModeManagerBase_004 *param1) : +UnkTitleCardSystem1::UnkTitleCardSystem1(GameModeManagerBase_004* param1) : mUnk_004(4), mUnk_008(NULL), mUnk_00C(NULL), @@ -21,8 +21,8 @@ UnkTitleCardSystem1::UnkTitleCardSystem1(GameModeManagerBase_004 *param1) : mUnk_014(param1), mUnk_134(false) {} -void UnkTitleCardSystem1::func_ov024_020cb274(UnkSystem2_UnkSubSystem11_Derived2 *param1, - UnkSystem2_UnkSubSystem5_Base_10 *param2) { +void UnkTitleCardSystem1::func_ov024_020cb274(UnkSystem2_UnkSubSystem11_Derived2* param1, + UnkSystem2_UnkSubSystem5_Base_10* param2) { this->mUnk_008 = param1; this->mUnk_00C = param2; } @@ -41,7 +41,7 @@ void UnkTitleCardSystem1::func_ov024_020cb284(unk32 param1, unk32 param2) { this->mUnk_134 = true; this->mUnk_010 = param2; - EntryINF1 *pINF1 = data_ov000_020b504c.mUnk_000->func_ov000_02067a2c(param1); + EntryINF1* pINF1 = data_ov000_020b504c.mUnk_000->func_ov000_02067a2c(param1); u8 fontIndex = pINF1->fontIndex; if (fontIndex == FontIndex_04) { fontIndex = FontIndex_DSZ2_msg; @@ -51,7 +51,7 @@ void UnkTitleCardSystem1::func_ov024_020cb284(unk32 param1, unk32 param2) { this->vfunc_10(); this->vfunc_0C(); - UnkStruct_func_02019590 *puVar5 = data_0204a110.func_02019590(this->mUnk_004, this->vfunc_08()); + UnkStruct_func_02019590* puVar5 = data_0204a110.func_02019590(this->mUnk_004, this->vfunc_08()); s16 bitFieldVal2 = puVar5->c_b2; s16 bitFieldVal1 = puVar5->c_b1; @@ -67,19 +67,19 @@ void UnkTitleCardSystem1::func_ov024_020cb284(unk32 param1, unk32 param2) { Vec2s sp4; sp4.x = bitFieldVal1; sp4.y = bitFieldVal2; - this->func_ov024_020cb490(&sp10, (unk32 *) &sp4); + this->func_ov024_020cb490(&sp10, (unk32*) &sp4); this->mUnk_008->mUnk_1C.mUnk_08 = pINF1->mUnk_07; spC.func_ov000_02067a60(data_ov000_020b504c.mUnk_000, param1); unk32 temp_r7 = this->mUnk_00C->func_ov000_020691e0(&spC); - UnkSystem2_UnkSubSystem11_Derived2 *temp_r8 = this->mUnk_008; + UnkSystem2_UnkSubSystem11_Derived2* temp_r8 = this->mUnk_008; this->mUnk_130 = temp_r7 + this->vfunc_18(); unk32 temp_r0_3 = (this->mUnk_008->mUnk_04.unk_08 * 8); int temp_r5_3 = (this->mUnk_008->func_ov000_02061db8() / 2) + ((temp_r0_3 - this->mUnk_008->func_ov000_02061da8()) / 2); int temp_r6_2 = (((this->mUnk_008->mUnk_04.unk_04 * 8) - temp_r7) / 2); - UnkMsgDataStruct1 *ptr = (UnkMsgDataStruct1 *) &sp8; // cast is required + UnkMsgDataStruct1* ptr = (UnkMsgDataStruct1*) &sp8; // cast is required ptr->func_ov000_02067a60(data_ov000_020b504c.mUnk_000, param1); this->mUnk_00C->vfunc_14((unk32) ptr->mUnk_00); Vec2s sp0; @@ -90,8 +90,8 @@ void UnkTitleCardSystem1::func_ov024_020cb284(unk32 param1, unk32 param2) { } //! TODO: fake match? see UnkStruct_func_02019590 -void UnkTitleCardSystem1::func_ov024_020cb490(UnkDataStruct2 *param1, unk32 *param2) { - UnkStruct_func_02019590 *ptr = data_0204a110.func_02019590(this->mUnk_004, this->vfunc_08()); +void UnkTitleCardSystem1::func_ov024_020cb490(UnkDataStruct2* param1, unk32* param2) { + UnkStruct_func_02019590* ptr = data_0204a110.func_02019590(this->mUnk_004, this->vfunc_08()); u16 arg7_val = ptr->e; bool var_r2 = this->mUnk_010 == 1; @@ -133,12 +133,12 @@ void UnkTitleCardSystem1::func_ov024_020cb5bc() { void UnkTitleCardSystem1::vfunc_00() {} -void UnkTitleCardSystem1::vfunc_04(unk8 *param1) { +void UnkTitleCardSystem1::vfunc_04(unk8* param1) { UnkDataStruct1 auStack_20(0x40); this->func_ov024_020cb654(param1, &auStack_20); } -void UnkTitleCardSystem1::func_ov024_020cb654(unk8 *param1, UnkDataStruct1 *param2) { +void UnkTitleCardSystem1::func_ov024_020cb654(unk8* param1, UnkDataStruct1* param2) { Vec2s sp34; Vec2s sp30; Vec2s sp2C; @@ -152,7 +152,7 @@ void UnkTitleCardSystem1::func_ov024_020cb654(unk8 *param1, UnkDataStruct1 *para } if (r4) { - unk8 param = ((volatile unk8 *) param1)[this->mUnk_010]; + unk8 param = ((volatile unk8*) param1)[this->mUnk_010]; if (this->mUnk_008->mUnk_2C == param) { r3 = true; @@ -168,11 +168,11 @@ void UnkTitleCardSystem1::func_ov024_020cb654(unk8 *param1, UnkDataStruct1 *para func_0201e8d4(&sp20, &this->mUnk_0A8); - Vec2s *pSp24 = (Vec2s *) &sp24; + Vec2s* pSp24 = (Vec2s*) &sp24; func_0201e8d4(pSp24, &this->mUnk_064); Vec2s_Add(pSp24, &sp20, &sp34); - data_0204af1c.func_0201aa44(&this->mUnk_030, &sp34, 1, (void *) param2); + data_0204af1c.func_0201aa44(&this->mUnk_030, &sp34, 1, (void*) param2); s16 unk_056 = this->mUnk_048.mUnk_0E.x; Vec2s sp18; @@ -189,12 +189,12 @@ void UnkTitleCardSystem1::func_ov024_020cb654(unk8 *param1, UnkDataStruct1 *para offset.y = 0; func_0201e8d4(&sp10, &this->mUnk_0A8); - Vec2s *pSp14 = (Vec2s *) &sp14; + Vec2s* pSp14 = (Vec2s*) &sp14; func_0201e8d4(pSp14, &this->mUnk_064); Vec2s_OffsetAdd(pSp14, &sp10, &offset, &sp30); while (true) { - data_0204af1c.func_0201aa44(&this->mUnk_018, &sp30, 1, (void *) param2); + data_0204af1c.func_0201aa44(&this->mUnk_018, &sp30, 1, (void*) param2); s16 step_x = this->mUnk_018.mUnk_0E.x; var_r7 -= step_x; @@ -212,15 +212,15 @@ void UnkTitleCardSystem1::func_ov024_020cb654(unk8 *param1, UnkDataStruct1 *para Vec2s spC; Vec2s sp8; func_0201e8d4(&sp8, &this->mUnk_0EC); - Vec2s *pSpC = (Vec2s *) &spC; + Vec2s* pSpC = (Vec2s*) &spC; func_0201e8d4(pSpC, &this->mUnk_064); Vec2s_Add(pSpC, &sp8, &sp2C); - data_0204af1c.func_0201aa44(&this->mUnk_048, &sp2C, 1, (void *) param2); + data_0204af1c.func_0201aa44(&this->mUnk_048, &sp2C, 1, (void*) param2); if (this->vfunc_14()) { Vec2s sp4; - Vec2s *pSp4 = (Vec2s *) &sp4; + Vec2s* pSp4 = (Vec2s*) &sp4; func_0201e8d4(pSp4, &this->mUnk_064); Vec2s_Add(pSp4, &this->mUnk_060, &sp28); this->mUnk_008->func_ov000_0206216c(&sp28, 0, 0); @@ -235,7 +235,7 @@ unk32 UnkTitleCardSystem1::vfunc_18() { return 0x1E; } -UnkTitleCardSystem1_Derived1::UnkTitleCardSystem1_Derived1(GameModeManagerBase_004 *param1) : +UnkTitleCardSystem1_Derived1::UnkTitleCardSystem1_Derived1(GameModeManagerBase_004* param1) : UnkTitleCardSystem1(param1), mUnk_138(0), mUnk_13C(0), @@ -399,7 +399,7 @@ void UnkTitleCardSystem1_Derived1::func_ov024_020cbf98() { return; } - UnkStruct_027e0cd8_04_0C *ptr = gpCourseManager->mUnk_04->mUnk_0C; + UnkStruct_027e0cd8_04_0C* ptr = gpCourseManager->mUnk_04->mUnk_0C; s32 unk_08 = ptr->mUnk_08; u32 msgId = BMG_ID_NONE; @@ -463,7 +463,7 @@ unk32 UnkTitleCardSystem1_Derived1::vfunc_18() { return 0x1E; } -UnkStruct_ov024_020d8694_01C::UnkStruct_ov024_020d8694_01C(GameModeManagerBase_004 *param1) : +UnkStruct_ov024_020d8694_01C::UnkStruct_ov024_020d8694_01C(GameModeManagerBase_004* param1) : UnkTitleCardSystem1_Derived1(param1), mUnk_168(false) {} @@ -519,7 +519,7 @@ void UnkStruct_ov024_020d8694_01C::vfunc_00() { } } -UnkStruct_ov024_020d8694_188::UnkStruct_ov024_020d8694_188(GameModeManagerBase_004 *param1) : +UnkStruct_ov024_020d8694_188::UnkStruct_ov024_020d8694_188(GameModeManagerBase_004* param1) : UnkTitleCardSystem1_Derived1(param1) {} void UnkStruct_ov024_020d8694_188::vfunc_1C(u32 msgId, unk32 param2, bool param3) { @@ -553,7 +553,7 @@ void UnkStruct_ov024_020d8694_188::vfunc_00() { this->mUnk_144.UpdateLogic(); } -void UnkStruct_ov024_020d8694_188::vfunc_04(unk8 *param1) { +void UnkStruct_ov024_020d8694_188::vfunc_04(unk8* param1) { MtxFx22 local; local = data_027e0120; local._11 = FX_Div(FX_F32_TO_FX32(1.0f), this->mUnk_144.func_0201ec30()); @@ -570,12 +570,12 @@ bool UnkStruct_ov024_020d8694_188::vfunc_14() { return false; } -UnkStruct_ov024_020d8694_2FC::UnkStruct_ov024_020d8694_2FC(GameModeManagerBase_004 *param1) : +UnkStruct_ov024_020d8694_2FC::UnkStruct_ov024_020d8694_2FC(GameModeManagerBase_004* param1) : UnkTitleCardSystem1(param1) {} void UnkStruct_ov024_020d8694_2FC::vfunc_00() { //! TODO: volatile hack - if ((*(volatile bool *) &this->mUnk_064.mUnk_0A)) { + if ((*(volatile bool*) &this->mUnk_064.mUnk_0A)) { this->mUnk_064.UpdateLogic(); this->mUnk_0A8.UpdateLogic(); this->mUnk_0EC.UpdateLogic(); @@ -587,7 +587,7 @@ void UnkStruct_ov024_020d8694_2FC::vfunc_10() { data_ov024_020d8694->func_ov024_020cb178(this->mUnk_004); } -void UnkStruct_ov024_020d8694_2FC::func_ov024_020ccb10(unk32 param1, Vec2s *param2, Vec2s *param3) { +void UnkStruct_ov024_020d8694_2FC::func_ov024_020ccb10(unk32 param1, Vec2s* param2, Vec2s* param3) { s16 x1; s16 x2; diff --git a/src/024_MainGame/Train/CargoManager_024.cpp b/src/024_MainGame/Train/CargoManager_024.cpp index 89984a64c..55ee2008f 100644 --- a/src/024_MainGame/Train/CargoManager_024.cpp +++ b/src/024_MainGame/Train/CargoManager_024.cpp @@ -5,7 +5,7 @@ // probably doesn't belong here but it's just to make data line up properly const UnkStruct_ov024_020d86a8 data_ov024_020d78b8 = {0}; -CargoManager *CargoManager::Create() { +CargoManager* CargoManager::Create() { return new(HeapIndex_1) CargoManager(); } @@ -14,8 +14,8 @@ void CargoManager::SetCargo(unk32 type, unk32 amount) { this->func_ov024_020d5900(); } -void CargoManager::GetTypeAndAmount(unk32 *pType, unk32 *pAmount) { - volatile Cargo *pCargo = &this->mCargo2; +void CargoManager::GetTypeAndAmount(unk32* pType, unk32* pAmount) { + volatile Cargo* pCargo = &this->mCargo2; unk32 type = pCargo->mType; unk32 amount = pCargo->mAmount; diff --git a/src/024_MainGame/Train/MapObjectProfile_Derived5.cpp b/src/024_MainGame/Train/MapObjectProfile_Derived5.cpp index 341253fea..531fc5b98 100644 --- a/src/024_MainGame/Train/MapObjectProfile_Derived5.cpp +++ b/src/024_MainGame/Train/MapObjectProfile_Derived5.cpp @@ -1,16 +1,16 @@ #include "MainGame/UnkTrainSystems.hpp" #include "Unknown/Common.hpp" -static const char *data_ov024_020d8374[] = { +static const char* data_ov024_020d8374[] = { "pillar", "seaPillar", "stopper", "bubble", "blastLava", "blastSand", "blastSnow", "blastSoil", "blastWater", "super", "darkPillar", "cannonball", }; -static const char *data_ov024_020d8358[] = { +static const char* data_ov024_020d8358[] = { "ice", "wood", "iron", "fish", "kokko", "jar", "ore", }; -const char *func_ov024_020d46b4(unk32 param1) { +const char* func_ov024_020d46b4(unk32 param1) { return data_ov024_020d8374[param1]; } diff --git a/src/024_MainGame/Train/PassengerManager.cpp b/src/024_MainGame/Train/PassengerManager.cpp index 9e19e3f6c..7f7ad45e3 100644 --- a/src/024_MainGame/Train/PassengerManager.cpp +++ b/src/024_MainGame/Train/PassengerManager.cpp @@ -126,11 +126,11 @@ AdventureFlag PassengerManager::GetFailFlag(ActorId actorId) { return AdventureFlag_Nothing; } -PassengerManager *PassengerManager::Create() { +PassengerManager* PassengerManager::Create() { return new(HeapIndex_1) PassengerManager(); } -void PassengerManager::func_ov024_020d41bc(const UnkStruct_Param1 *param1) { +void PassengerManager::func_ov024_020d41bc(const UnkStruct_Param1* param1) { this->mPassenger.mActorId = param1->actorId; this->mPassenger.mUnk_04 = param1->mUnk_04; this->mPassenger.mSceneIndex = (s16) param1->sceneIndex; @@ -140,7 +140,7 @@ void PassengerManager::func_ov024_020d41bc(const UnkStruct_Param1 *param1) { this->func_ov024_020d4228(); } -void PassengerManager::func_ov024_020d41f4(UnkStruct_Param1 *param1) { +void PassengerManager::func_ov024_020d41f4(UnkStruct_Param1* param1) { param1->actorId = this->mPassenger2.mActorId; param1->mUnk_04 = this->mPassenger2.mUnk_04; param1->sceneIndex = this->mPassenger2.mSceneIndex; @@ -284,8 +284,8 @@ ActorId PassengerManager::GetActorId() { return this->mPassenger.mActorId; } -PassengerManager *PassengerManager::GetInstance() { - PassengerManager *pPassengerManager = this; +PassengerManager* PassengerManager::GetInstance() { + PassengerManager* pPassengerManager = this; if (!this->CanCompleteTrip() && !this->IsCaughtByPirates()) { pPassengerManager = NULL; diff --git a/src/024_MainGame/Train/UnkDataStruct4.cpp b/src/024_MainGame/Train/UnkDataStruct4.cpp index 5d1d210a1..79dbb73fc 100644 --- a/src/024_MainGame/Train/UnkDataStruct4.cpp +++ b/src/024_MainGame/Train/UnkDataStruct4.cpp @@ -25,11 +25,11 @@ void UnkDataStruct4::func_ov024_020d2518() {} void UnkDataStruct4::func_ov024_020d251c() {} -void UnkDataStruct4::func_ov024_020d2520(EntranceInfo *param1) { +void UnkDataStruct4::func_ov024_020d2520(EntranceInfo* param1) { this->func_ov024_020d2538(param1->sceneIndex, param1->roomIndex, NULL); } -void UnkDataStruct4::func_ov024_020d2538(u32 sceneIndex, u8 roomIndex, UnkDataStruct4_14_2 *param3) { +void UnkDataStruct4::func_ov024_020d2538(u32 sceneIndex, u8 roomIndex, UnkDataStruct4_14_2* param3) { this->mUnk_64 = param3; this->func_ov024_020d258c(sceneIndex, roomIndex); this->func_ov024_020d3140(); @@ -46,28 +46,28 @@ void UnkDataStruct4::func_ov024_020d258c(u32 sceneIndex, u8 roomIndex) { wchar_t sp34[16]; wchar_t sp10[2]; FileInfos sp8; - CourseListEntry *pEntry; + CourseListEntry* pEntry; this->mSceneIndex = sceneIndex; sp10[0] = L'\0'; sp10[1] = L'\0'; - OS_SNPrintf((char *) sp10, sizeof(sp10), "T%02d", roomIndex); + OS_SNPrintf((char*) sp10, sizeof(sp10), "T%02d", roomIndex); sp34[0] = L'\0'; sp34[15] = L'\0'; pEntry = data_027e09a0->GetCourseEntry(sceneIndex); - const char *string = "Map/%s/train%02d.bin"; - OS_SNPrintf((char *) sp34, sizeof(sp34), string, pEntry->name, roomIndex); + const char* string = "Map/%s/train%02d.bin"; + OS_SNPrintf((char*) sp34, sizeof(sp34), string, pEntry->name, roomIndex); UnkStruct2 sp24(NULL, 1); - sp24.mUnk_04 = (char *) sp34; - sp24.func_020154ec((char *) sp10); + sp24.mUnk_04 = (char*) sp34; + sp24.func_020154ec((char*) sp10); pEntry = data_027e09a0->GetCourseEntry(sceneIndex); - OS_SNPrintf((char *) sp34, sizeof(sp34), "%s:ztb/%s_%02d.ztb", sp10, pEntry->name, roomIndex); + OS_SNPrintf((char*) sp34, sizeof(sp34), "%s:ztb/%s_%02d.ztb", sp10, pEntry->name, roomIndex); - UnkFileSystem3 sp14((char *) sp34); + UnkFileSystem3 sp14((char*) sp34); sp14.vfunc_08(0x10); sp8.pFile = sp14.mpFile; sp8.size = sp14.mFileSize; @@ -88,7 +88,7 @@ void UnkDataStruct4::func_ov024_020d26b0(unk32 param1) { this->mUnk_14[i] = &this->mUnk_64[i]; } } else { - for (UnkDataStruct4_14_2 **ptr = this->mUnk_14; ptr != &this->mUnk_14[ARRAY_LEN(this->mUnk_14)]; ptr++) { + for (UnkDataStruct4_14_2** ptr = this->mUnk_14; ptr != &this->mUnk_14[ARRAY_LEN(this->mUnk_14)]; ptr++) { *ptr = new(HeapIndex_1) UnkDataStruct4_14_2(); } } @@ -98,7 +98,7 @@ void UnkDataStruct4::func_ov024_020d26b0(unk32 param1) { void UnkDataStruct4::func_ov024_020d277c() { if (this->mUnk_64 == NULL) { - for (UnkDataStruct4_14_2 **ptr = this->mUnk_14; ptr != &this->mUnk_14[ARRAY_LEN(this->mUnk_14)]; ptr++) { + for (UnkDataStruct4_14_2** ptr = this->mUnk_14; ptr != &this->mUnk_14[ARRAY_LEN(this->mUnk_14)]; ptr++) { delete *ptr; } } @@ -110,8 +110,8 @@ void UnkDataStruct4::func_ov024_020d277c() { } void UnkDataStruct4::func_ov024_020d27cc() { - UnkDataStruct4_14_2 **new_var; - UnkDataStruct4_14_2 **new_var2; + UnkDataStruct4_14_2** new_var; + UnkDataStruct4_14_2** new_var2; for (int i = 0; i < ARRAY_LEN(this->mUnk_14); i++) { for (int j = 0; j < ARRAY_LEN(this->mUnk_14[0]->mUnk_00); j++) { @@ -123,7 +123,7 @@ void UnkDataStruct4::func_ov024_020d27cc() { } void UnkDataStruct4::func_ov024_020d280c() { - UnkDataStruct4_14_2 **ppUnk_14; + UnkDataStruct4_14_2** ppUnk_14; int i; int j; int k; @@ -184,7 +184,7 @@ bool UnkDataStruct4::func_ov024_020d2a18(unk32 param1, unk32 param2, unk32 param return false; } -void UnkDataStruct4::func_ov024_020d2b08(unk32 param1, unk32 param2, VecFx32 *param3) const { +void UnkDataStruct4::func_ov024_020d2b08(unk32 param1, unk32 param2, VecFx32* param3) const { VecFx32 result; result.x = param1 * this->mUnk_08 - this->mUnk_0C + (this->mUnk_08 >> 1); result.y = 0; @@ -192,7 +192,7 @@ void UnkDataStruct4::func_ov024_020d2b08(unk32 param1, unk32 param2, VecFx32 *pa VecFx32_Copy(&result, param3); } -void UnkDataStruct4::func_ov024_020d2b40(Vec2s *param1, const UnkDataStruct4 *thisx) { +void UnkDataStruct4::func_ov024_020d2b40(Vec2s* param1, const UnkDataStruct4* thisx) { param1->x = -1; param1->y = -1; @@ -218,7 +218,7 @@ void UnkDataStruct4::func_ov024_020d2b40(Vec2s *param1, const UnkDataStruct4 *th } } -void UnkDataStruct4::func_ov024_020d2bcc(Vec2s *param1, const UnkDataStruct4 *thisx) { +void UnkDataStruct4::func_ov024_020d2bcc(Vec2s* param1, const UnkDataStruct4* thisx) { param1->x = -1; param1->y = -1; @@ -246,7 +246,7 @@ void UnkDataStruct4::func_ov024_020d2bcc(Vec2s *param1, const UnkDataStruct4 *th void UnkDataStruct4::func_ov024_020d2c54(UnkArrayDataType1 param1, unk32 param2) { MI_CpuFill8(param1, 0, sizeof(UnkArrayDataType1)); - UnkDataStruct4_14_2 **ppUnk_14 = this->mUnk_14; + UnkDataStruct4_14_2** ppUnk_14 = this->mUnk_14; for (int k = 0; k < ARRAY_LEN(data_ov024_020d7684) - 2; k++) { //! TODO: fake match, how is this accessed?? @@ -265,19 +265,19 @@ void UnkDataStruct4::func_ov024_020d2cfc(UnkArrayDataType1 param1, unk32 param2, unk32 sp40; unk32 sp3C; u8 sp38[4]; - UnkDataStruct4_14_2 **sp24; + UnkDataStruct4_14_2** sp24; unk32 sp20; - UnkDataStruct4_14 *sp1C; + UnkDataStruct4_14* sp1C; unk32 sp18; unk32 var_r9; u8 temp_r10; unk32 temp_r8; unk32 temp_r4; - UnkDataStruct4_14 *temp_r5; + UnkDataStruct4_14* temp_r5; unk32 var_r7; unk32 var_r11; - UnkDataStruct4_14_2 **dummy; - UnkDataStruct4_14_2 *ptr; + UnkDataStruct4_14_2** dummy; + UnkDataStruct4_14_2* ptr; MI_CpuFill8(param1, 0, sizeof(UnkArrayDataType1)); @@ -381,11 +381,11 @@ s32 UnkDataStruct4::func_ov024_020d3068() const { return ((s32) this->mUnk_C8 - (s32) this->mUnk_68) / (s32) sizeof(VecFx32); } -bool UnkDataStruct4::func_ov024_020d308c(fx32 *param1, fx32 *param2, unk16 param3) const { +bool UnkDataStruct4::func_ov024_020d308c(fx32* param1, fx32* param2, unk16 param3) const { s32 arrayLen = this->func_ov024_020d3068(); for (int i = 0; i < arrayLen; i++) { - const VecFx32 *pUnk_68 = &this->mUnk_68[i]; + const VecFx32* pUnk_68 = &this->mUnk_68[i]; if (pUnk_68->x == param3) { if (param1 != NULL) { @@ -404,8 +404,8 @@ bool UnkDataStruct4::func_ov024_020d308c(fx32 *param1, fx32 *param2, unk16 param } void UnkDataStruct4::func_ov024_020d3100() { - UnkDataStruct4_14_2 **new_var; - UnkDataStruct4_14_2 **new_var2; + UnkDataStruct4_14_2** new_var; + UnkDataStruct4_14_2** new_var2; for (int i = 0; i < ARRAY_LEN(this->mUnk_14); i++) { for (int j = 0; j < ARRAY_LEN(this->mUnk_14[0]->mUnk_00); j++) { diff --git a/src/024_MainGame/Train/UnkDataStruct4_14.cpp b/src/024_MainGame/Train/UnkDataStruct4_14.cpp index 57cd1c986..b5043ca36 100644 --- a/src/024_MainGame/Train/UnkDataStruct4_14.cpp +++ b/src/024_MainGame/Train/UnkDataStruct4_14.cpp @@ -35,7 +35,7 @@ u8 UnkDataStruct4_14::func_ov024_020d1a98(unk32 param1, unk32 param2) { return data_ov024_020d7555[param1 + 1 + ((param2 + 1) * 3)]; } -void UnkDataStruct4_14::func_ov024_020d1ab8(unk32 param1, unk32 *param2, unk32 *param3) { +void UnkDataStruct4_14::func_ov024_020d1ab8(unk32 param1, unk32* param2, unk32* param3) { switch (param1) { case 0x10: *param2 = 0; @@ -78,7 +78,7 @@ void UnkDataStruct4_14::func_ov024_020d1ab8(unk32 param1, unk32 *param2, unk32 * } } -s32 UnkDataStruct4_14::func_ov024_020d1b98(unk32 *param1, unk32 param2) { +s32 UnkDataStruct4_14::func_ov024_020d1b98(unk32* param1, unk32 param2) { s32 var_r3 = 0; if (param2 & 0x01) { @@ -117,7 +117,7 @@ s32 UnkDataStruct4_14::func_ov024_020d1be0(s32 param1) { return 0x00; } -s32 UnkDataStruct4_14::func_ov024_020d1c3c(unk32 *param1, unk32 param2) const { +s32 UnkDataStruct4_14::func_ov024_020d1c3c(unk32* param1, unk32 param2) const { s32 j = 0; for (int i = 0; i < 4; i++) { @@ -196,7 +196,7 @@ bool UnkDataStruct4_14::func_ov024_020d1df4(unk32 param1) const { return func_ov024_020d1a18(param1) & this->func_ov024_020d1da0(); } -void UnkDataStruct4_14::func_ov024_020d1e20(unk16 *param1, unk32 param2) { +void UnkDataStruct4_14::func_ov024_020d1e20(unk16* param1, unk32 param2) { switch (param2) { case 0x10: param1[0] = 0; diff --git a/src/024_MainGame/Train/UnkStruct_027e0ce0_34_024.cpp b/src/024_MainGame/Train/UnkStruct_027e0ce0_34_024.cpp index 1a5f829b0..81390ffb7 100644 --- a/src/024_MainGame/Train/UnkStruct_027e0ce0_34_024.cpp +++ b/src/024_MainGame/Train/UnkStruct_027e0ce0_34_024.cpp @@ -18,7 +18,7 @@ s8 UnkStruct_027e0ce0_34::func_ov024_020d3c54(unk32 param1) { return data_ov024_020d7570[param1]; } -void UnkStruct_027e0ce0_34::func_ov024_020d3c60(SaveFile_00000_0000_Data_D8 *param1) { +void UnkStruct_027e0ce0_34::func_ov024_020d3c60(SaveFile_00000_0000_Data_D8* param1) { param1->spiritTrackFlags = this->mSpiritTrackFlags; for (s32 i = 0; i < ARRAY_LEN(param1->unk_60); i++) { @@ -81,7 +81,7 @@ unk32 UnkStruct_027e0ce0_34::func_ov024_020d3d20() { } void UnkStruct_027e0ce0_34::func_ov024_020d3d80(unk32 param1) { - unk32 *puVar1; + unk32* puVar1; this->mUnk_24 = param1; @@ -112,7 +112,7 @@ u32 UnkStruct_027e0ce0_34::func_ov024_020d3dc0(unk32 param1, unk32 param2) { bool UnkStruct_027e0ce0_34::func_ov024_020d3dcc() { //! TODO: fake match? - for (int i = 0; i < *(volatile unk32 *) &this->mUnk_2C; i++) { + for (int i = 0; i < *(volatile unk32*) &this->mUnk_2C; i++) { if (this->mUnk_00[i] == 3) { return true; } @@ -152,7 +152,7 @@ void UnkStruct_027e0ce0_34::func_ov024_020d3e30(unk32 param1, unk32 param2) { this->func_ov024_020d3d80(this->func_ov024_020d3d20()); } -void *UnkStruct_027e0ce0_34::func_ov024_020d3e68(unk32 param1) { +void* UnkStruct_027e0ce0_34::func_ov024_020d3e68(unk32 param1) { unk32 iVar1 = this->func_ov024_020d3e0c(param1); unk32 iVar2 = this->func_ov024_020d3dec(param1); return NNS_G3dGetMdl(data_027e0d00->mUnk_020[iVar2][iVar1]->mUnk_50); @@ -238,7 +238,7 @@ void UnkStruct_027e0ce0_34::func_ov024_020d404c() { this->func_ov024_020d4098(temp1, temp2); } -void UnkStruct_027e0ce0_34::func_ov024_020d4098(s32 *param1, s32 *param2) { +void UnkStruct_027e0ce0_34::func_ov024_020d4098(s32* param1, s32* param2) { s32 value1; s32 value2; s32 var_r6 = 0; diff --git a/src/024_MainGame/Train/UnkStruct_027e0cf8_00_0C_024.cpp b/src/024_MainGame/Train/UnkStruct_027e0cf8_00_0C_024.cpp index 430a90b26..00c67dfa7 100644 --- a/src/024_MainGame/Train/UnkStruct_027e0cf8_00_0C_024.cpp +++ b/src/024_MainGame/Train/UnkStruct_027e0cf8_00_0C_024.cpp @@ -246,7 +246,7 @@ UnkStruct_027e0cf8_00::UnkStruct_027e0cf8_00() { UnkStruct_027e0cf8_00::~UnkStruct_027e0cf8_00() {} -void UnkStruct_027e0cf8_00::func_ov024_020cf9d4(UnkStruct_027e0cf8_00_18_00 *param1) { +void UnkStruct_027e0cf8_00::func_ov024_020cf9d4(UnkStruct_027e0cf8_00_18_00* param1) { switch (this->mRandom.Next32(3)) { case 0: param1->mUnk_00.func_ov000_0206082c(0x64, 0x00); @@ -261,20 +261,20 @@ void UnkStruct_027e0cf8_00::func_ov024_020cf9d4(UnkStruct_027e0cf8_00_18_00 *par break; } - u32 value1 = this->mRandom.Next32(((u8 *) this->mUnk_2238 - (u8 *) &this->mUnk_0018.mUnk_18C0) / 8); + u32 value1 = this->mRandom.Next32(((u8*) this->mUnk_2238 - (u8*) &this->mUnk_0018.mUnk_18C0) / 8); u32 value2 = this->mRandom.Next32(17); - u32 value3 = *(u32 *) ((u8 *) &this->mUnk_0018.mUnk_18C0 + (value1 << 3)); + u32 value3 = *(u32*) ((u8*) &this->mUnk_0018.mUnk_18C0 + (value1 << 3)); param1->mUnk_78 = value3 + ((value2 - 8) << 12); u32 value4 = this->mRandom.Next32(17); - u32 value5 = *(u32 *) ((u8 *) &this->mUnk_0018.mUnk_18C0 + (value1 << 3) + 4); + u32 value5 = *(u32*) ((u8*) &this->mUnk_0018.mUnk_18C0 + (value1 << 3) + 4); param1->mUnk_7C = value5 + ((value4 - 8) << 12); param1->mUnk_80 = this->mRandom.Next32(25); } -void UnkStruct_027e0cf8_00::func_ov024_020cfb7c(UnkDataStruct4 *param1, Vec2s *param2, unk32 param3, u16 param4, unk32 param5, +void UnkStruct_027e0cf8_00::func_ov024_020cfb7c(UnkDataStruct4* param1, Vec2s* param2, unk32 param3, u16 param4, unk32 param5, unk32 param6) { this->mUnk_224C = 0; this->mUnk_2244 = param5; @@ -292,7 +292,7 @@ void UnkStruct_027e0cf8_00::func_ov024_020cfb7c(UnkDataStruct4 *param1, Vec2s *p VecFx32 spC = data_027e07d4; for (s16 i = 0; i < ARRAY_LEN(param1->mUnk_14); i++) { - UnkDataStruct4_14_2 **pUnk_14 = param1->mUnk_14; + UnkDataStruct4_14_2** pUnk_14 = param1->mUnk_14; for (s16 j = 0; j < ARRAY_LEN(param1->mUnk_14[0]->mUnk_00); j++) { if (pUnk_14[i]->mUnk_00[j].func_ov024_020d1d30(param3, param4)) { @@ -302,7 +302,7 @@ void UnkStruct_027e0cf8_00::func_ov024_020cfb7c(UnkDataStruct4 *param1, Vec2s *p temp2.x = spC.x; temp2.y = spC.z; - Vec2p *unk_2238 = this->mUnk_2238; + Vec2p* unk_2238 = this->mUnk_2238; if (unk_2238 != NULL) { Vec2p_Copy(&temp2, unk_2238); Vec2p_Copy(&temp2, unk_2238); //! TODO: fake match? @@ -313,7 +313,7 @@ void UnkStruct_027e0cf8_00::func_ov024_020cfb7c(UnkDataStruct4 *param1, Vec2s *p } } - s32 value = (((u8 *) this->mUnk_2238 - (u8 *) &this->mUnk_0018.mUnk_18C0) / 8) * 2; + s32 value = (((u8*) this->mUnk_2238 - (u8*) &this->mUnk_0018.mUnk_18C0) / 8) * 2; if (value > ARRAY_LEN(this->mUnk_0018.mUnk_00)) { value = ARRAY_LEN(this->mUnk_0018.mUnk_00); @@ -331,7 +331,7 @@ void UnkStruct_027e0cf8_00::func_ov024_020cfb7c(UnkDataStruct4 *param1, Vec2s *p s32 UnkStruct_027e0cf8_00::func_ov024_020cfd54(s32 param1, s32 stationSceneIdx, s32 param3, s32 param4) { u32 i; - const UnkStruct_ov024_020d8098 *ptr; + const UnkStruct_ov024_020d8098* ptr; bool var_r8; bool var_r9; bool var_r10; @@ -355,7 +355,7 @@ s32 UnkStruct_027e0cf8_00::func_ov024_020cfd54(s32 param1, s32 stationSceneIdx, temp[0] = param3; temp[1] = param4; - s8 *new_var4 = temp; + s8* new_var4 = temp; if (ptr->mUnk_04.x != new_var4[0] || ptr->mUnk_04.y != new_var4[1]) { var_r9 = 0; } @@ -391,7 +391,7 @@ s32 UnkStruct_027e0cf8_00::func_ov024_020cfe6c(s32 param1, s32 param2, s32 param s16 UnkStruct_027e0cf8_00::func_ov024_020cfe94(s32 param1) { for (u32 i = 0; i < ARRAY_LEN(data_ov024_020d8098); i++) { - const UnkStruct_ov024_020d8098 *ptr = &data_ov024_020d8098[i]; + const UnkStruct_ov024_020d8098* ptr = &data_ov024_020d8098[i]; if (ptr->mUnk_06 == param1) { return ptr->mStationSceneIdx; @@ -433,7 +433,7 @@ UnkStruct_027e0cf8_0C::UnkStruct_027e0cf8_0C() : UnkStruct_027e0cf8_0C::~UnkStruct_027e0cf8_0C() {} -void UnkStruct_027e0cf8_0C::func_ov024_020cff8c(UnkDataStruct4 *param1, Vec2s *param2) { +void UnkStruct_027e0cf8_0C::func_ov024_020cff8c(UnkDataStruct4* param1, Vec2s* param2) { Vec2s_Copy(param2, &this->mUnk_168); this->mUnk_150.func_ov000_0205fc20(0x66, 0x00, NULL, NULL); this->mUnk_15C.func_ov000_0205fc20(0x66, 0x01, NULL, NULL); @@ -448,16 +448,16 @@ void UnkStruct_027e0cf8_0C::func_ov024_020d0004() { } } -void UnkStruct_027e0cf8_0C::func_ov024_020d002c(const UnkDataStruct4 *param1) { +void UnkStruct_027e0cf8_0C::func_ov024_020d002c(const UnkDataStruct4* param1) { int i; int j; unk32 unk_16C; - const UnkStruct_ov024_020d8098 *temp_r6; - UnkStruct_027e0cf8_0C_00 *temp_r9; + const UnkStruct_ov024_020d8098* temp_r6; + UnkStruct_027e0cf8_0C_00* temp_r9; s8 temp_r8; - UnkDataStruct4_14_2 *const *sp8; - const UnkDataStruct4_14 *pUnk_14; - const UnkDataStruct4_14 *new_var; + UnkDataStruct4_14_2* const* sp8; + const UnkDataStruct4_14* pUnk_14; + const UnkDataStruct4_14* new_var; SceneIndex temp_r11; VecFx32 spC; s32 temp_r0; @@ -536,14 +536,14 @@ void UnkStruct_027e0cf8_0C::func_ov024_020d002c(const UnkDataStruct4 *param1) { } } -void UnkStruct_027e0cf8_0C::func_ov024_020d01c0(const UnkDataStruct4 *param1) { +void UnkStruct_027e0cf8_0C::func_ov024_020d01c0(const UnkDataStruct4* param1) { SceneIndex sceneIndex = param1->mSceneIndex; for (u32 i = 0; i < ARRAY_LEN(data_ov024_020d7454); i++) { - const UnkStruct_ov024_020d7454 *temp_r7 = &data_ov024_020d7454[i]; + const UnkStruct_ov024_020d7454* temp_r7 = &data_ov024_020d7454[i]; if (sceneIndex == temp_r7->mSceneIndex) { - UnkStruct_027e0cf8_0C_00 *temp_r8 = &this->mUnk_000[this->mUnk_16C]; + UnkStruct_027e0cf8_0C_00* temp_r8 = &this->mUnk_000[this->mUnk_16C]; if (temp_r7->mAdvFlag == AdventureFlag_Unset) { temp_r8->mUnk_18 = true; @@ -580,10 +580,10 @@ void UnkStruct_027e0cf8_0C::func_ov024_020d01c0(const UnkDataStruct4 *param1) { } } -bool UnkStruct_027e0cf8_0C::func_ov024_020d02e0(fx32 *pX, fx32 *pZ, s32 param3) { +bool UnkStruct_027e0cf8_0C::func_ov024_020d02e0(fx32* pX, fx32* pZ, s32 param3) { //! TODO: fake match? - for (int i = 0; i < *(volatile unk32 *) &this->mUnk_16C; i++) { - UnkStruct_027e0cf8_0C_00 *iVar2 = &this->mUnk_000[i]; + for (int i = 0; i < *(volatile unk32*) &this->mUnk_16C; i++) { + UnkStruct_027e0cf8_0C_00* iVar2 = &this->mUnk_000[i]; if (iVar2->mUnk_14 == param3) { if (pX != NULL) { @@ -601,7 +601,7 @@ bool UnkStruct_027e0cf8_0C::func_ov024_020d02e0(fx32 *pX, fx32 *pZ, s32 param3) return false; } -bool UnkStruct_027e0cf8_0C::func_ov024_020d0340(Vec2s *param1, unk32 param2) { +bool UnkStruct_027e0cf8_0C::func_ov024_020d0340(Vec2s* param1, unk32 param2) { VecFx32 sp4 = data_027e07d4; if (this->func_ov024_020d02e0(&sp4.x, &sp4.z, param2)) { @@ -620,14 +620,14 @@ bool UnkStruct_027e0cf8_0C::func_ov024_020d0340(Vec2s *param1, unk32 param2) { return false; } -void UnkStruct_027e0cf8_0C::func_ov024_020d03f8(Vec2s *param1) { +void UnkStruct_027e0cf8_0C::func_ov024_020d03f8(Vec2s* param1) { Vec2s local_8; local_8.x = param1->x; local_8.y = param1->y; UnkStruct_027e0cf8_00::func_ov024_020cfe94(this->func_ov024_020d041c(&local_8)); } -s32 UnkStruct_027e0cf8_0C::func_ov024_020d041c(Vec2s *param1) { +s32 UnkStruct_027e0cf8_0C::func_ov024_020d041c(Vec2s* param1) { Vec2s sp0; s16 var_r0; s16 var_r2; @@ -681,7 +681,7 @@ s32 UnkStruct_027e0cf8_0C::func_ov024_020d041c(Vec2s *param1) { bool UnkStruct_027e0cf8_0C::func_ov024_020d0510(s16 param1) { for (u32 i = 0; i < ARRAY_LEN(data_ov024_020d8098); i++) { - const UnkStruct_ov024_020d8098 *ptr = &data_ov024_020d8098[i]; + const UnkStruct_ov024_020d8098* ptr = &data_ov024_020d8098[i]; if (ptr->mUnk_06 == param1) { if (ptr->mUnk_0B) { diff --git a/src/024_MainGame/Train/UnkStruct_027e0cf8_024.cpp b/src/024_MainGame/Train/UnkStruct_027e0cf8_024.cpp index 243276425..32bfc6ae1 100644 --- a/src/024_MainGame/Train/UnkStruct_027e0cf8_024.cpp +++ b/src/024_MainGame/Train/UnkStruct_027e0cf8_024.cpp @@ -3,7 +3,7 @@ #include "Unknown/UnkStruct_027e09a4.hpp" #include "Unknown/UnkStruct_027e0cf8.hpp" -UnkStruct_027e0cf8 *UnkStruct_027e0cf8::Create() { +UnkStruct_027e0cf8* UnkStruct_027e0cf8::Create() { return new(HeapIndex_1) UnkStruct_027e0cf8(); } @@ -40,7 +40,7 @@ UnkStruct_027e0cf8::~UnkStruct_027e0cf8() { DELETE(this->mUnk_00); } -void UnkStruct_027e0cf8::func_ov024_020c755c(UnkDataStruct4 *param1) { +void UnkStruct_027e0cf8::func_ov024_020c755c(UnkDataStruct4* param1) { unk32 local_1c = -1; unk16 local_20 = 0; @@ -53,7 +53,7 @@ void UnkStruct_027e0cf8::func_ov024_020c755c(UnkDataStruct4 *param1) { } } -void UnkStruct_027e0cf8::func_ov024_020c75d0(UnkDataStruct4 *param1, unk32 param2, u16 param3) { +void UnkStruct_027e0cf8::func_ov024_020c75d0(UnkDataStruct4* param1, unk32 param2, u16 param3) { if (this->mUnk_1C) { UnkStruct_027e0cf8::func_ov024_020c7724(); } @@ -61,7 +61,7 @@ void UnkStruct_027e0cf8::func_ov024_020c75d0(UnkDataStruct4 *param1, unk32 param SceneIndex sceneIndex = param1->mSceneIndex; volatile Vec2us local_1c; - func_ov024_020d524c((Vec2s *) &local_1c, sceneIndex); + func_ov024_020d524c((Vec2s*) &local_1c, sceneIndex); Vec2us result; result.x = local_1c.x; @@ -70,7 +70,7 @@ void UnkStruct_027e0cf8::func_ov024_020c75d0(UnkDataStruct4 *param1, unk32 param this->mUnk_10.y = result.y; volatile Vec2us local_20; - func_ov024_020d51dc((Vec2s *) &local_20, sceneIndex); + func_ov024_020d51dc((Vec2s*) &local_20, sceneIndex); result.x = local_20.x; result.y = local_20.y; @@ -137,24 +137,24 @@ void UnkStruct_027e0cf8::func_ov024_020c77b0(bool param1) { this->mUnk_08->func_ov024_020d341c(param1); } -bool UnkStruct_027e0cf8::func_ov024_020c77c0(fx32 *pX, fx32 *pZ, s32 param3) { +bool UnkStruct_027e0cf8::func_ov024_020c77c0(fx32* pX, fx32* pZ, s32 param3) { return this->mUnk_0C->func_ov024_020d02e0(pX, pZ, param3); } -bool UnkStruct_027e0cf8::func_ov024_020c77d0(Vec2s *param1, unk32 param2) { +bool UnkStruct_027e0cf8::func_ov024_020c77d0(Vec2s* param1, unk32 param2) { return this->mUnk_0C->func_ov024_020d0340(param1, param2); } -void UnkStruct_027e0cf8::func_ov024_020c77e0(Vec2s *param1) { - UnkStruct_027e0cf8_0C *ptr = this->mUnk_0C; +void UnkStruct_027e0cf8::func_ov024_020c77e0(Vec2s* param1) { + UnkStruct_027e0cf8_0C* ptr = this->mUnk_0C; Vec2s local_8; local_8.x = param1->x; local_8.y = param1->y; ptr->func_ov024_020d03f8(&local_8); } -void UnkStruct_027e0cf8::func_ov024_020c7804(Vec2s *param1) { - UnkStruct_027e0cf8_0C *ptr = this->mUnk_0C; +void UnkStruct_027e0cf8::func_ov024_020c7804(Vec2s* param1) { + UnkStruct_027e0cf8_0C* ptr = this->mUnk_0C; Vec2s local_8; local_8.x = param1->x; local_8.y = param1->y; @@ -185,7 +185,7 @@ void UnkStruct_027e0cf8::func_ov024_020c7898() { this->mUnk_28 = this->mUnk_2A; } -bool UnkStruct_027e0cf8::func_ov024_020c78ac(unk32 *param1, unk16 *param2) { +bool UnkStruct_027e0cf8::func_ov024_020c78ac(unk32* param1, unk16* param2) { if (this->mUnk_20 != -1) { u16 temp = this->mUnk_28; diff --git a/src/024_MainGame/Train/UnkStruct_027e0cf8_08_00_024.cpp b/src/024_MainGame/Train/UnkStruct_027e0cf8_08_00_024.cpp index 4656b174c..2f1e0f764 100644 --- a/src/024_MainGame/Train/UnkStruct_027e0cf8_08_00_024.cpp +++ b/src/024_MainGame/Train/UnkStruct_027e0cf8_08_00_024.cpp @@ -3,11 +3,11 @@ #include -bool UnkStruct_027e0cf8_08_00::func_ov024_020d3900(Vec2s *param1, fx32 *param2, fx32 *param3, unk32 param4, unk32 param5) { +bool UnkStruct_027e0cf8_08_00::func_ov024_020d3900(Vec2s* param1, fx32* param2, fx32* param3, unk32 param4, unk32 param5) { return UnkStruct_027e0cf8_08_00::func_ov024_020d3970(param1, param2, param3, param4, param5); } -bool UnkStruct_027e0cf8_08_00::func_ov024_020d3914(Vec2s *param1, Vec2s *param2, Vec2s *param3) { +bool UnkStruct_027e0cf8_08_00::func_ov024_020d3914(Vec2s* param1, Vec2s* param2, Vec2s* param3) { fx32 x = 0; fx32 y = 0; @@ -20,7 +20,7 @@ bool UnkStruct_027e0cf8_08_00::func_ov024_020d3914(Vec2s *param1, Vec2s *param2, return false; } -bool UnkStruct_027e0cf8_08_00::func_ov024_020d3970(Vec2s *param1, fx32 *param2, fx32 *param3, unk32 param4, unk32 param5) { +bool UnkStruct_027e0cf8_08_00::func_ov024_020d3970(Vec2s* param1, fx32* param2, fx32* param3, unk32 param4, unk32 param5) { if (UnkStruct_027e0cf8_08_00::func_ov024_020d39fc(param1, param4, param5)) { fx32 temp1 = param4 - param1->x; fx32 temp2 = param5 - param1->y; @@ -40,7 +40,7 @@ bool UnkStruct_027e0cf8_08_00::func_ov024_020d3970(Vec2s *param1, fx32 *param2, return false; } -bool UnkStruct_027e0cf8_08_00::func_ov024_020d39fc(Vec2s *param1, unk32 param2, unk32 param3) { +bool UnkStruct_027e0cf8_08_00::func_ov024_020d39fc(Vec2s* param1, unk32 param2, unk32 param3) { unk32 temp_r1 = param2 - param1->x; unk32 temp_r0 = param3 - param1->y; @@ -51,7 +51,7 @@ bool UnkStruct_027e0cf8_08_00::func_ov024_020d39fc(Vec2s *param1, unk32 param2, return false; } -bool UnkStruct_027e0cf8_08_00::func_ov024_020d3a34(Vec2s *param1, unk32 param2, unk32 param3) { +bool UnkStruct_027e0cf8_08_00::func_ov024_020d3a34(Vec2s* param1, unk32 param2, unk32 param3) { if (param2 >= 0 && param2 < 0x14 && param3 >= 0 && param3 < 0x0F) { return true; } @@ -59,14 +59,14 @@ bool UnkStruct_027e0cf8_08_00::func_ov024_020d3a34(Vec2s *param1, unk32 param2, return false; } -void UnkStruct_027e0cf8_08_00::func_ov024_020d3a60(Vec2s *param1, Vec2s *param2, unk32 param3, unk32 param4) { +void UnkStruct_027e0cf8_08_00::func_ov024_020d3a60(Vec2s* param1, Vec2s* param2, unk32 param3, unk32 param4) { fx32 x = param2->x + (param3 * 0x0C) + 0x06; fx32 y = param2->y + (param4 * 0x0C) + 0x06; param1->x = x; param1->y = y; } -bool UnkStruct_027e0cf8_08_00::func_ov024_020d3a8c(Vec2s *param1) { +bool UnkStruct_027e0cf8_08_00::func_ov024_020d3a8c(Vec2s* param1) { bool var_r2 = true; bool var_r3 = true; bool var_ip = true; @@ -86,7 +86,7 @@ bool UnkStruct_027e0cf8_08_00::func_ov024_020d3a8c(Vec2s *param1) { return var_r2; } -void UnkStruct_027e0cf8_08_00::func_ov024_020d3adc(Vec2s *param1, unk32 param2, unk32 param3, u8 param4, bool param5, +void UnkStruct_027e0cf8_08_00::func_ov024_020d3adc(Vec2s* param1, unk32 param2, unk32 param3, u8 param4, bool param5, u8 param6) { UnkArrayDataType2 sp10; Vec2s spC; @@ -121,7 +121,7 @@ void UnkStruct_027e0cf8_08_00::func_ov024_020d3adc(Vec2s *param1, unk32 param2, unk32 UnkStruct_027e0cf8_08_00::func_ov024_020d3bfc(UnkArrayDataType2 param1, unk32 param2, unk32 param3, bool param4) { int i; - Vec2s *temp_r5 = this->mUnk_178[param2][param3]; + Vec2s* temp_r5 = this->mUnk_178[param2][param3]; s32 arrayLen = param4 ? 4 : 7; for (i = 0; i < arrayLen; i++) { diff --git a/src/024_MainGame/Train/UnkStruct_027e0cf8_08_024.cpp b/src/024_MainGame/Train/UnkStruct_027e0cf8_08_024.cpp index 2a4d63c54..de16027bf 100644 --- a/src/024_MainGame/Train/UnkStruct_027e0cf8_08_024.cpp +++ b/src/024_MainGame/Train/UnkStruct_027e0cf8_08_024.cpp @@ -48,7 +48,7 @@ u8 UnkStruct_027e0cf8_08::func_ov024_020d3158(SceneIndex sceneIndex) { } UnkStruct_027e0cf8_08::UnkStruct_027e0cf8_08() { - UnkStruct_027e0cf8_08_00 *ptr = new(HeapIndex_1) UnkStruct_027e0cf8_08_00(1); + UnkStruct_027e0cf8_08_00* ptr = new(HeapIndex_1) UnkStruct_027e0cf8_08_00(1); this->mUnk_000 = ptr; this->mUnk_004 = -1; this->mUnk_008 = 0; @@ -63,7 +63,7 @@ UnkStruct_027e0cf8_08::~UnkStruct_027e0cf8_08() { DELETE(this->mUnk_000); } -void UnkStruct_027e0cf8_08::func_ov024_020d32b4(unk8 *param1) { +void UnkStruct_027e0cf8_08::func_ov024_020d32b4(unk8* param1) { this->mUnk_000->func_ov024_020d072c(param1); func_02019cec(this->mUnk_268, 0x0F); } @@ -72,22 +72,22 @@ void UnkStruct_027e0cf8_08::func_ov024_020d32d8() { this->mUnk_000->func_ov024_020d06d0(); } -void UnkStruct_027e0cf8_08::func_ov024_020d32e8(Vec2s *param1) { +void UnkStruct_027e0cf8_08::func_ov024_020d32e8(Vec2s* param1) { Vec2s temp; temp.x = param1->x; temp.y = param1->y; Vec2s_Copy(&temp, &this->mUnk_000->mUnk_174); } -void UnkStruct_027e0cf8_08::func_ov024_020d3324(UnkDataStruct4 *param1) { +void UnkStruct_027e0cf8_08::func_ov024_020d3324(UnkDataStruct4* param1) { this->func_ov024_020d336c(param1, -1, 0, 0, 0); } -void UnkStruct_027e0cf8_08::func_ov024_020d3348(UnkDataStruct4 *param1, unk32 param2, u16 param3, unk32 param4, unk32 param5) { +void UnkStruct_027e0cf8_08::func_ov024_020d3348(UnkDataStruct4* param1, unk32 param2, u16 param3, unk32 param4, unk32 param5) { this->func_ov024_020d336c(param1, param2, param3, param4, param5); } -void UnkStruct_027e0cf8_08::func_ov024_020d336c(UnkDataStruct4 *param1, unk32 param2, unk32 param3, unk32 param4, +void UnkStruct_027e0cf8_08::func_ov024_020d336c(UnkDataStruct4* param1, unk32 param2, unk32 param3, unk32 param4, unk32 param5) { this->mUnk_26A = UnkStruct_027e0cf8_08::func_ov024_020d3158(param1->mSceneIndex); this->mUnk_008 = param4; @@ -114,16 +114,15 @@ void UnkStruct_027e0cf8_08::func_ov024_020d341c(bool param1) { this->mUnk_000->mUnk_08 = param1; } -void UnkStruct_027e0cf8_08::func_ov024_020d3428(const UnkDataStruct4 *param1, unk32 param2, u8 param3) { - UnkDataStruct4_14_2 *const *pUnk_14 = NULL; +void UnkStruct_027e0cf8_08::func_ov024_020d3428(const UnkDataStruct4* param1, unk32 param2, u8 param3) { + UnkDataStruct4_14_2* const* pUnk_14 = NULL; unk32 auStack_30[3]; for (int i = 0; i < ARRAY_LEN(param1->mUnk_14); i++) { for (int j = 0; j < ARRAY_LEN(param1->mUnk_14[0]->mUnk_00); j++) { pUnk_14 = param1->mUnk_14; - UnkDataStruct4_14_2 *const *dummy = pUnk_14; // somehow required to match - this->func_ov024_020d351c(i, j, auStack_30, pUnk_14[i]->mUnk_00[j].func_ov024_020d1c3c(auStack_30, param2), - param3); + UnkDataStruct4_14_2* const* dummy = pUnk_14; // somehow required to match + this->func_ov024_020d351c(i, j, auStack_30, pUnk_14[i]->mUnk_00[j].func_ov024_020d1c3c(auStack_30, param2), param3); } } } @@ -142,7 +141,7 @@ void UnkStruct_027e0cf8_08::func_ov024_020d34a0(UnkArrayDataType1 param1, u8 par } } -void UnkStruct_027e0cf8_08::func_ov024_020d351c(unk32 param1, unk32 param2, unk32 *param3, unk32 param4, u8 param5) { +void UnkStruct_027e0cf8_08::func_ov024_020d351c(unk32 param1, unk32 param2, unk32* param3, unk32 param4, u8 param5) { unk16 sVar1; unk16 sVar2; diff --git a/src/024_MainGame/Train/UnkStruct_027e0d00.cpp b/src/024_MainGame/Train/UnkStruct_027e0d00.cpp index 3be5a8953..48b10189c 100644 --- a/src/024_MainGame/Train/UnkStruct_027e0d00.cpp +++ b/src/024_MainGame/Train/UnkStruct_027e0d00.cpp @@ -13,8 +13,8 @@ static const unk32 data_ov024_020d762c[] = {0x444C, 0x2178, 0x203C, 0x static const unk32 data_ov024_020d765c[] = {0x0080, 0x0000, 0x0000, 0x0000}; const unk32 data_ov024_020d766c[] = {0x0004, 0x0610, 0x03F0, 0x0450}; -void UnkStruct_027e0d00::func_ov024_020d47c4(unk32 *param1, unk32 *param2, unk32 param3) { - UnkStruct_027e0ce0_34 *ptr = UnkStruct_027e0ce0::func_ov000_0205c904(); +void UnkStruct_027e0d00::func_ov024_020d47c4(unk32* param1, unk32* param2, unk32 param3) { + UnkStruct_027e0ce0_34* ptr = UnkStruct_027e0ce0::func_ov000_0205c904(); if (param3 < ptr->mUnk_2C) { *param1 = ptr->func_ov024_020d3dec(param3); @@ -28,7 +28,7 @@ void UnkStruct_027e0d00::func_ov024_020d47c4(unk32 *param1, unk32 *param2, unk32 } } -UnkStruct_027e0d00 *UnkStruct_027e0d00::Create() { +UnkStruct_027e0d00* UnkStruct_027e0d00::Create() { return new(HeapIndex_1) UnkStruct_027e0d00(); } @@ -69,7 +69,7 @@ void UnkStruct_027e0d00::func_ov024_020d49ec(unk32 param1, unk32 param2) { } void UnkStruct_027e0d00::func_ov024_020d4a50() { - UnkStruct_027e0ce0_34 *ptr = UnkStruct_027e0ce0::func_ov000_0205c904(); + UnkStruct_027e0ce0_34* ptr = UnkStruct_027e0ce0::func_ov000_0205c904(); for (int i = 0; i < MAX_TRAIN_PARTS; i++) { unk32 local_1c = -1; @@ -111,11 +111,11 @@ void UnkStruct_027e0d00::func_ov024_020d4af4() { unk32 local_20 = -1; UnkStruct_027e0d00::func_ov024_020d47c4(&local_1c, &local_20, i); - UnkStruct_027e0d00_20 *pUnk20 = this->mUnk_020[local_1c][local_20]; + UnkStruct_027e0d00_20* pUnk20 = this->mUnk_020[local_1c][local_20]; if (pUnk20 != NULL && pUnk20->mUnk_20.mUnk_04 != NULL) { #if IS_JP - UnkStruct_027e0d00_00 *ptr = this->mUnk_000[local_1c]; + UnkStruct_027e0d00_00* ptr = this->mUnk_000[local_1c]; func_ov000_02058c74(ptr, ptr->mUnk_1C, ptr->mUnk_20, ptr->mUnk_24, ptr->mUnk_1B); #endif @@ -175,7 +175,7 @@ void UnkStruct_027e0d00::func_ov024_020d4d10() { void UnkStruct_027e0d00::func_ov024_020d4d44() { if (this->mUnk_0F4 != NULL && this->mUnk_0F4->mUnk_20.mUnk_04 != NULL) { #if IS_JP - UnkStruct_027e0d00_00 *ptr = this->mUnk_0F8; + UnkStruct_027e0d00_00* ptr = this->mUnk_0F8; func_ov000_02058c74(ptr, ptr->mUnk_1C, ptr->mUnk_20, ptr->mUnk_24, ptr->mUnk_1B); #endif this->mUnk_0F4->func_ov000_02058914(this->mUnk_0F8); @@ -197,7 +197,7 @@ void UnkStruct_027e0d00::func_ov024_020d4df8() { } } -G3d_Model *UnkStruct_027e0d00::func_ov024_020d4e3c(unk32 param1) { +G3d_Model* UnkStruct_027e0d00::func_ov024_020d4e3c(unk32 param1) { if (this->mUnk_0B0[param1] != NULL) { return NNS_G3dGetMdl(this->mUnk_0B0[param1]->mUnk_50); } diff --git a/src/024_MainGame/Train/UnkStruct_027e0d00_20.cpp b/src/024_MainGame/Train/UnkStruct_027e0d00_20.cpp index 458d2951d..470606763 100644 --- a/src/024_MainGame/Train/UnkStruct_027e0d00_20.cpp +++ b/src/024_MainGame/Train/UnkStruct_027e0d00_20.cpp @@ -7,30 +7,30 @@ #include #include -extern const char *data_ov000_020aa244; // ".narc" -extern const char *data_ov000_020aa24c; // ".bin" -extern const char *data_ov000_020aa250[4]; +extern const char* data_ov000_020aa244; // ".narc" +extern const char* data_ov000_020aa24c; // ".bin" +extern const char* data_ov000_020aa250[4]; -static const char *data_ov024_020d8474[] = { +static const char* data_ov024_020d8474[] = { "Train/loco", "Train/cann", "Train/pass", "Train/flat", }; -static const char *data_ov024_020d8484[] = { +static const char* data_ov024_020d8484[] = { "lord", "wood", "iron", "bone", "euro", "fest", "cute", "gold", }; DUMMY_BSS(); -void UnkStruct_027e0d00_20::func_ov024_020d4e9c(wchar_t *param1, unk32 param2, bool param3) { - const char *fileExt = param3 ? data_ov000_020aa24c : data_ov000_020aa244; - OS_SNPrintf((char *) param1, 0x40, "%s/anim%s", data_ov024_020d8474[param2], fileExt); +void UnkStruct_027e0d00_20::func_ov024_020d4e9c(wchar_t* param1, unk32 param2, bool param3) { + const char* fileExt = param3 ? data_ov000_020aa24c : data_ov000_020aa244; + OS_SNPrintf((char*) param1, 0x40, "%s/anim%s", data_ov024_020d8474[param2], fileExt); } -void UnkStruct_027e0d00_20::func_ov024_020d4edc(wchar_t *param1, wchar_t *param2, unk32 param3) { - OS_SNPrintf((char *) param1, 0x40, "%s:/anm%s", param2, data_ov000_020aa250[param3]); +void UnkStruct_027e0d00_20::func_ov024_020d4edc(wchar_t* param1, wchar_t* param2, unk32 param3) { + OS_SNPrintf((char*) param1, 0x40, "%s:/anm%s", param2, data_ov000_020aa250[param3]); } UnkStruct_027e0d00_20::UnkStruct_027e0d00_20(unk32 param1, unk32 param2) : @@ -41,11 +41,11 @@ UnkStruct_027e0d00_20::UnkStruct_027e0d00_20(unk32 param1, unk32 param2) : mUnk_B0(0), mUnk_B4(0) {} -void UnkStruct_027e0d00_20::func_ov024_020d4fa0(void *param1, unk32 param2) { +void UnkStruct_027e0d00_20::func_ov024_020d4fa0(void* param1, unk32 param2) { u8 unknown[0x90]; ModelRender_Derived2 local_120(NNS_G3dGetMdl(this->mUnk_50), 0x0C, unknown); - VecFx32 *iVar2; - VecFx32 *iVar3; + VecFx32* iVar2; + VecFx32* iVar3; fx32 temp; iVar2 = local_120.func_ov000_0205a7a8(local_120.func_ov000_0205a778("rear_point")); @@ -58,19 +58,19 @@ void UnkStruct_027e0d00_20::func_ov024_020d4fa0(void *param1, unk32 param2) { temp = iVar3->z + iVar2->z; this->mUnk_B4 = temp / 2; - if (*(volatile unk32 *) &this->mUnk_94 != 0) { + if (*(volatile unk32*) &this->mUnk_94 != 0) { wchar_t local_160[32]; UnkStruct_027e0d00_20::func_ov024_020d4e9c(local_160, this->mUnk_94, true); this->mUnk_A4.~UnkSystem3(); this->mUnk_A4.mUnk_00 = local_160; - this->mUnk_A4.func_02015460((const char *) &this->mUnk_9C.mUnk_00, param1, param2); + this->mUnk_A4.func_02015460((const char*) &this->mUnk_9C.mUnk_00, param1, param2); for (int i = 0; i < ARRAY_LEN(data_ov000_020aa250); i++) { - UnkStruct_027e0d00_20::func_ov024_020d4edc(local_160, (wchar_t *) &this->mUnk_9C.mUnk_00, i); + UnkStruct_027e0d00_20::func_ov024_020d4edc(local_160, (wchar_t*) &this->mUnk_9C.mUnk_00, i); - MapObjectProfile_Derived2_20_Base_54 *ptr = &this->mUnk_54[i]; + MapObjectProfile_Derived2_20_Base_54* ptr = &this->mUnk_54[i]; ptr->vfunc_0C(); - this->mUnk_54[i].mUnk_04 = (const char *) local_160; + this->mUnk_54[i].mUnk_04 = (const char*) local_160; ptr->vfunc_08(0x10); } } diff --git a/src/024_MainGame/Train/UnkTrainSystem1_024.cpp b/src/024_MainGame/Train/UnkTrainSystem1_024.cpp index 583ba8c09..de9d6cdee 100644 --- a/src/024_MainGame/Train/UnkTrainSystem1_024.cpp +++ b/src/024_MainGame/Train/UnkTrainSystem1_024.cpp @@ -11,9 +11,9 @@ #include "versions.h" struct UnkStruct_ov024_020d86a8_Mgr { - const UnkStruct_ov024_020d86a8 *pInstance; + const UnkStruct_ov024_020d86a8* pInstance; - UnkStruct_ov024_020d86a8_Mgr(const UnkStruct_ov024_020d86a8 *pInstance) { + UnkStruct_ov024_020d86a8_Mgr(const UnkStruct_ov024_020d86a8* pInstance) { this->pInstance = pInstance; } }; @@ -64,9 +64,9 @@ void UnkTrainSystem1::func_ov024_020d54f4() { this->mUnk_08 -= 2; } - PassengerManager *pPassengerMgr = gpPassengerManager; + PassengerManager* pPassengerMgr = gpPassengerManager; if (pPassengerMgr->CanCompleteTrip()) { - UnkStruct_027e0d00 *ptr = data_027e0d00; + UnkStruct_027e0d00* ptr = data_027e0d00; this->mUnk_14 = ptr->func_ov024_020d4b9c(pPassengerMgr->GetHappinessCond()); } } else { @@ -86,7 +86,7 @@ void UnkTrainSystem1::func_ov024_020d54f4() { } } -void UnkTrainSystem1::func_ov024_020d562c(const VecFx32 *param1, fx32 param2) { +void UnkTrainSystem1::func_ov024_020d562c(const VecFx32* param1, fx32 param2) { VecFx32 sp44; VecFx32 sp38; VecFx32 sp2C; @@ -106,7 +106,7 @@ void UnkTrainSystem1::func_ov024_020d562c(const VecFx32 *param1, fx32 param2) { func_ov000_0205c1f0(sp4, this->mUnk_14); if (data_ov024_020d86a8.pInstance->mUnk_00_1 == 0) { - UnkStruct_027e09bc *ptr = data_027e09bc; + UnkStruct_027e09bc* ptr = data_027e09bc; fx32 temp = this->mUnk_00 + this->mUnk_04; fx32 temp_r1 = FX_MUL(temp, param2); new_var3 = FX_MUL(param2, 0x266); @@ -119,9 +119,9 @@ void UnkTrainSystem1::func_ov024_020d562c(const VecFx32 *param1, fx32 param2) { sp44.z = new_var5; #if IS_JP - UnkStruct_027e09bc_0C *temp_r8_2 = data_027e09bc->mUnk_04[0][0]; + UnkStruct_027e09bc_0C* temp_r8_2 = data_027e09bc->mUnk_04[0][0]; #else - UnkStruct_027e09bc_0C *temp_r8_2 = data_027e09bc->mUnk_04[1][0]; + UnkStruct_027e09bc_0C* temp_r8_2 = data_027e09bc->mUnk_04[1][0]; #endif temp_r1_3.x = temp_r8_2->mUnk_034.x; diff --git a/src/024_MainGame/Train/UnkTrainSystem2_024.cpp b/src/024_MainGame/Train/UnkTrainSystem2_024.cpp index cca721481..3fe67731f 100644 --- a/src/024_MainGame/Train/UnkTrainSystem2_024.cpp +++ b/src/024_MainGame/Train/UnkTrainSystem2_024.cpp @@ -20,9 +20,9 @@ const UnkCargoStruct data_ov024_020d78c0[] = { }; struct UnkStruct_ov024_020d86a8_Mgr { - const UnkStruct_ov024_020d86a8 *pInstance; + const UnkStruct_ov024_020d86a8* pInstance; - UnkStruct_ov024_020d86a8_Mgr(const UnkStruct_ov024_020d86a8 *pInstance) { + UnkStruct_ov024_020d86a8_Mgr(const UnkStruct_ov024_020d86a8* pInstance) { this->pInstance = pInstance; } }; @@ -64,7 +64,7 @@ void UnkTrainSystem2::func_ov024_020d5990() { } } -void UnkTrainSystem2::func_ov024_020d5afc(const MtxFx33 *param1, const VecFx32 *param2, unk32 param3) { +void UnkTrainSystem2::func_ov024_020d5afc(const MtxFx33* param1, const VecFx32* param2, unk32 param3) { if (this->mUnk_00 <= 0) { return; } diff --git a/src/024_MainGame/Train/code_020d51dc_024.cpp b/src/024_MainGame/Train/code_020d51dc_024.cpp index a43a4d702..596fae13f 100644 --- a/src/024_MainGame/Train/code_020d51dc_024.cpp +++ b/src/024_MainGame/Train/code_020d51dc_024.cpp @@ -36,7 +36,7 @@ extern char data_ov024_020d85a8[]; extern char data_ov024_020d85bc[]; // unused, probably a debug leftover? -const char *data_ov024_020d8520[] = { +const char* data_ov024_020d8520[] = { data_ov024_020d8588, data_ov024_020d8590, data_ov024_020d8560, data_ov024_020d8568, data_ov024_020d859c, data_ov024_020d8570, data_ov024_020d8580, data_ov024_020d8558, data_ov024_020d8550, data_ov024_020d85a8, data_ov024_020d85bc, data_ov024_020d8578, @@ -265,11 +265,11 @@ static const UnkStruct_ov024_020d76c0 data_ov024_020d76c0[] = { }, }; -void func_ov024_020d51dc(Vec2s *param1, SceneIndex sceneIndex) { +void func_ov024_020d51dc(Vec2s* param1, SceneIndex sceneIndex) { static const Vec2s data_ov024_020d851c(-8, -6); Vec2s local_10; - Vec2s *ptr = (Vec2s *) &local_10; + Vec2s* ptr = (Vec2s*) &local_10; func_ov024_020d524c(ptr, sceneIndex); Vec2s temp; @@ -280,7 +280,7 @@ void func_ov024_020d51dc(Vec2s *param1, SceneIndex sceneIndex) { param1->y = temp.y; } -void func_ov024_020d524c(Vec2s *param1, SceneIndex sceneIndex) { +void func_ov024_020d524c(Vec2s* param1, SceneIndex sceneIndex) { switch ((s32) sceneIndex) { case SceneIndex_t_area0: case SceneIndex_t_tutorial: @@ -326,7 +326,7 @@ bool func_ov024_020d5340(SceneIndex sceneIndex) { return sceneIndex - SceneIndex_t_area0 <= SceneIndex_t_area3 - SceneIndex_t_area0; } -bool func_ov024_020d5354(s32 *pFlagPos, s16 *pFlagValue, ItemId itemId) { +bool func_ov024_020d5354(s32* pFlagPos, s16* pFlagValue, ItemId itemId) { for (int i = 0; i < ARRAY_LEN(data_ov024_020d76c0); i++) { if (data_ov024_020d76c0[i].itemId == itemId) { *pFlagPos = data_ov024_020d76c0[i].flagPos; diff --git a/src/024_MainGame/UICounterManager.cpp b/src/024_MainGame/UICounterManager.cpp index 63564dfed..b578bca62 100644 --- a/src/024_MainGame/UICounterManager.cpp +++ b/src/024_MainGame/UICounterManager.cpp @@ -12,7 +12,7 @@ #include "Unknown/UnkStruct_ov024_020d8660.hpp" #include "versions.h" -UICounterManager *gpUICounterManager = NULL; +UICounterManager* gpUICounterManager = NULL; static const u16 data_ov024_020d73d8[] = { 0x09, @@ -44,7 +44,7 @@ static const u16 data_ov024_020d7432[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x00, }; -UICounterManager *UICounterManager::Create() { +UICounterManager* UICounterManager::Create() { return new(HeapIndex_1) UICounterManager(); } @@ -112,7 +112,7 @@ void UICounterManager::func_ov024_020cd094() { #if __MWERKS__ local.data = data_ov000_020b504c.func_ov000_02067bc4(0)->mUnk_028.data; #else - UnkTextStruct1 *pData = &data_ov000_020b504c.func_ov000_02067bc4(0)->mUnk_028; + UnkTextStruct1* pData = &data_ov000_020b504c.func_ov000_02067bc4(0)->mUnk_028; local.mUnk_00 = pData->mUnk_00; local.mUnk_02 = pData->mUnk_02; @@ -150,7 +150,7 @@ void UICounterManager::func_ov024_020cd150() { } } -void UICounterManager::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { +void UICounterManager::vfunc_08(Input* pButtons, TouchControl* pTouchControl) { if (this->mUnk_020 && !this->func_ov024_020cd604()) { this->mpHealth->func_ov024_020cd9f0(); } @@ -172,7 +172,7 @@ void UICounterManager::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { } } -void UICounterManager::vfunc_10(unk8 *param1) { +void UICounterManager::vfunc_10(unk8* param1) { if (data_0204a110.mUnk_DF4 == 0 && !this->func_ov024_020cd604()) { if (this->mUnk_020) { this->mpHealth->func_ov024_020cdaac(); @@ -428,8 +428,8 @@ void UICounter_Health::func_ov024_020cdaac() { } //! TODO: regalloc fix - Vec2s *ptr2 = &sp4; - CellAnimObject *ptr3 = &this->mUnk_3E4[1]; + Vec2s* ptr2 = &sp4; + CellAnimObject* ptr3 = &this->mUnk_3E4[1]; switch (this->GetIterValue(var_r8)) { case 0: @@ -898,14 +898,14 @@ void UICounter_Rupees::func_ov024_020ce5cc() { } } -void UICounter_Rupees::func_ov024_020ce88c(unk8 *param1) { +void UICounter_Rupees::func_ov024_020ce88c(unk8* param1) { UnkDataStruct1 sp14; Vec2s sp10; Vec2s spC; Vec2s sp8; Vec2s sp4; - Vec2s *pSpC = (Vec2s *) &spC; + Vec2s* pSpC = (Vec2s*) &spC; func_0201e8d4(pSpC, &this->mUnk_018); Vec2s_Add(pSpC, &this->mUnk_106, &sp10); data_0204af1c.func_0201aa44(&this->mUnk_000, &sp10, 2, NULL); @@ -913,7 +913,7 @@ void UICounter_Rupees::func_ov024_020ce88c(unk8 *param1) { sp14.Init(); sp14.SetUnk04(2); - Vec2s *pSp4 = (Vec2s *) &sp4; + Vec2s* pSp4 = (Vec2s*) &sp4; func_0201e8d4(pSp4, &this->mUnk_018); Vec2s_OffsetAdd(pSp4, &this->mUnk_0FC, &this->mUnk_106, &sp8); Vec2s_Copy(&sp8, &this->mUnk_05C.mUnk_00); @@ -1152,7 +1152,7 @@ void UICounter_Cargo::func_ov024_020cef58() { } } -void UICounter_Cargo::func_ov024_020cf2b8(unk8 *param1) { +void UICounter_Cargo::func_ov024_020cf2b8(unk8* param1) { UnkDataStruct1 sp24; Vec2s sp20; Vec2s sp1C; @@ -1163,17 +1163,17 @@ void UICounter_Cargo::func_ov024_020cf2b8(unk8 *param1) { Vec2s sp8; Vec2s sp4; - Vec2s *pSp1C = (Vec2s *) &sp1C; + Vec2s* pSp1C = (Vec2s*) &sp1C; func_0201e8d4(pSp1C, &this->mUnk_04C); Vec2s_Add(pSp1C, &this->mUnk_218, &sp20); data_0204af1c.func_0201aa44(&this->mUnk_004, &sp20, 2, NULL); - Vec2s *pSp14 = (Vec2s *) &sp14; + Vec2s* pSp14 = (Vec2s*) &sp14; func_0201e8d4(&sp14, &this->mUnk_04C); Vec2s_OffsetAdd2(pSp14, &this->mUnk_138, &this->mUnk_218, &sp18); data_0204af1c.func_0201aa44(&this->mUnk_01C, &sp18, 2, NULL); - Vec2s *pSpC = (Vec2s *) &spC; + Vec2s* pSpC = (Vec2s*) &spC; func_0201e8d4(&spC, &this->mUnk_04C); Vec2s_OffsetAdd2(pSpC, &this->mUnk_134, &this->mUnk_218, &sp10); data_0204af1c.func_0201aa44(&this->mUnk_034, &sp10, 2, NULL); @@ -1181,7 +1181,7 @@ void UICounter_Cargo::func_ov024_020cf2b8(unk8 *param1) { sp24.Init(); sp24.SetUnk04(2); - Vec2s *pSp4 = (Vec2s *) &sp4; + Vec2s* pSp4 = (Vec2s*) &sp4; func_0201e8d4(&sp4, &this->mUnk_04C); Vec2s_OffsetAdd(pSp4, &this->mUnk_130, &this->mUnk_218, &sp8); Vec2s_Copy(&sp8, &this->mUnk_090.mUnk_00); diff --git a/src/024_MainGame/Unknown/UnkAdventureModeSystem1_024.cpp b/src/024_MainGame/Unknown/UnkAdventureModeSystem1_024.cpp index 6e07f473c..f71946479 100644 --- a/src/024_MainGame/Unknown/UnkAdventureModeSystem1_024.cpp +++ b/src/024_MainGame/Unknown/UnkAdventureModeSystem1_024.cpp @@ -1,6 +1,6 @@ #include "MainGame/UnkAdventureModeSystem1.hpp" -UnkAdventureModeSystem1::UnkAdventureModeSystem1(Vec2s *param1, Vec2s *param2, bool param3) { +UnkAdventureModeSystem1::UnkAdventureModeSystem1(Vec2s* param1, Vec2s* param2, bool param3) { Vec2s local_24; Vec2s local_20; @@ -33,7 +33,7 @@ UnkAdventureModeSystem1::UnkAdventureModeSystem1(bool param3) { } } -void UnkAdventureModeSystem1::func_ov024_020cab58(Vec2s *param1, Vec2s *param2) { +void UnkAdventureModeSystem1::func_ov024_020cab58(Vec2s* param1, Vec2s* param2) { Vec2s local_24; Vec2s local_20; diff --git a/src/024_MainGame/Unknown/UnkStruct_027e0998_024.cpp b/src/024_MainGame/Unknown/UnkStruct_027e0998_024.cpp index 0bba232e9..ea43679aa 100644 --- a/src/024_MainGame/Unknown/UnkStruct_027e0998_024.cpp +++ b/src/024_MainGame/Unknown/UnkStruct_027e0998_024.cpp @@ -21,13 +21,13 @@ UnkStruct_027e0998::~UnkStruct_027e0998() { UnkStruct_027e0998::UnkStruct_027e0998() {} -UnkStruct_027e0998 *UnkStruct_027e0998::Create() { +UnkStruct_027e0998* UnkStruct_027e0998::Create() { return new(HeapIndex_1) UnkStruct_027e0998(); } -bool UnkStruct_027e0998::vfunc_00(VecFx32 *pPos, Vec2s *param2, RefStruct *param3) { +bool UnkStruct_027e0998::vfunc_00(VecFx32* pPos, Vec2s* param2, RefStruct* param3) { if (data_027e09a4->IsCutscene()) { - CutsceneParamsEntry *pEntry = Cutscene_GetParamEntry(data_027e09a4->CurrentCSIndex()); + CutsceneParamsEntry* pEntry = Cutscene_GetParamEntry(data_027e09a4->CurrentCSIndex()); if (pEntry->mUnk_18 == 1) { return false; @@ -58,7 +58,7 @@ bool UnkStruct_027e0998::vfunc_00(VecFx32 *pPos, Vec2s *param2, RefStruct *param stack[2] = 0x200; stack[3] = 0x000; - if (*(u32 *) &stack[2] != value) { + if (*(u32*) &stack[2] != value) { return false; } @@ -95,7 +95,7 @@ bool UnkStruct_027e0998::func_ov024_020c716c() { return false; } -bool UnkStruct_027e0998::func_ov024_020c7214(VecFx32 *pPos, Vec2s *param2, RefStruct *param3) { +bool UnkStruct_027e0998::func_ov024_020c7214(VecFx32* pPos, Vec2s* param2, RefStruct* param3) { bool temp_r4 = this->UnkStruct_027e0998_Base::vfunc_00(pPos, param2, param3); if (data_027e09a4->IsTrain()) { @@ -109,7 +109,7 @@ bool UnkStruct_027e0998::func_ov024_020c7214(VecFx32 *pPos, Vec2s *param2, RefSt return temp_r4; } -bool UnkStruct_027e0998::func_ov024_020c727c(Vec2s *param1, RefStruct *param2) { +bool UnkStruct_027e0998::func_ov024_020c727c(Vec2s* param1, RefStruct* param2) { if (!param2->acRef.UnkCheck1()) { return false; } @@ -124,7 +124,7 @@ bool UnkStruct_027e0998::func_ov024_020c727c(Vec2s *param1, RefStruct *param2) { } bool UnkStruct_027e0998::func_ov024_020c7300(unk32 param1) { - UnkStruct_0204a088 *ptr = data_0204a088; + UnkStruct_0204a088* ptr = data_0204a088; unk32 unk_00; unk32 unk_04; diff --git a/src/024_MainGame/Unknown/UnkStruct_027e0d08_024.cpp b/src/024_MainGame/Unknown/UnkStruct_027e0d08_024.cpp index abf6e9d24..fee685c77 100644 --- a/src/024_MainGame/Unknown/UnkStruct_027e0d08_024.cpp +++ b/src/024_MainGame/Unknown/UnkStruct_027e0d08_024.cpp @@ -25,7 +25,7 @@ UnkStruct_027e0d08::~UnkStruct_027e0d08() { this->func_ov024_020d5fac(); } -UnkStruct_027e0d08 *UnkStruct_027e0d08::Create() { +UnkStruct_027e0d08* UnkStruct_027e0d08::Create() { return new(HeapIndex_1) UnkStruct_027e0d08(); } @@ -52,10 +52,10 @@ void UnkStruct_027e0d08::func_ov024_020d5d54() { void UnkStruct_027e0d08::func_ov024_020d5dd4(unk32 param1) { data_ov000_020b50c0.func_ov000_0206a5fc(); this->mUnk_00 = data_ov000_020b50c0.mUnk_CC; - this->mUnk_04 = (s16 *) data_ov000_020b50c0.mUnk_D4; - this->mUnk_08 = (s16 *) data_ov000_020b50c0.mUnk_D8; - this->mUnk_0C = (s16 *) data_ov000_020b50c0.mUnk_DC; - this->mUnk_10 = (s16 *) data_ov000_020b50c0.mUnk_E0; + this->mUnk_04 = (s16*) data_ov000_020b50c0.mUnk_D4; + this->mUnk_08 = (s16*) data_ov000_020b50c0.mUnk_D8; + this->mUnk_0C = (s16*) data_ov000_020b50c0.mUnk_DC; + this->mUnk_10 = (s16*) data_ov000_020b50c0.mUnk_E0; this->mUnk_28 = param1; } @@ -83,8 +83,7 @@ void UnkStruct_027e0d08::func_ov024_020d5e20() { this->ResetBuffers(); - if (NNS_SndCaptureStartEffect(this->mUnk_00, 0x800, 0, 0x3FEC, 0x04, (void *) UnkStruct_027e0d08::func_ov024_020d5fb8, - 0)) { + if (NNS_SndCaptureStartEffect(this->mUnk_00, 0x800, 0, 0x3FEC, 0x04, (void*) UnkStruct_027e0d08::func_ov024_020d5fb8, 0)) { SND_SetOutputSelector(0, 0, 0, 0); MI_CpuClearFast(this->mUnk_04, 0x2000); MI_CpuClearFast(this->mUnk_08, 0x2000); @@ -97,17 +96,17 @@ void UnkStruct_027e0d08::func_ov024_020d5fac() { NNS_SndCaptureStopEffect(); } -void UnkStruct_027e0d08::func_ov024_020d5fb8(s16 *param1, s16 *param2, u32 param3) { +void UnkStruct_027e0d08::func_ov024_020d5fb8(s16* param1, s16* param2, u32 param3) { data_027e0d08->func_ov024_020d5fe4(param1, param2, param3); } -void UnkStruct_027e0d08::func_ov024_020d5fe4(s16 *param1, s16 *param2, u32 param3) { +void UnkStruct_027e0d08::func_ov024_020d5fe4(s16* param1, s16* param2, u32 param3) { s32 var_ip; s32 var_r3; u32 spC; u32 temp_r1; - s16 *var_r5_2; - s16 *var_r7; + s16* var_r5_2; + s16* var_r7; s32 temp_r5; u32 temp_r6_2; u32 temp_r7_3; @@ -118,19 +117,19 @@ void UnkStruct_027e0d08::func_ov024_020d5fe4(s16 *param1, s16 *param2, u32 param var_ip = 0; var_r3 = 0; - s16 *var_r2 = &this->mUnk_0C[8] - this->mUnk_1C; - s16 *var_r5 = &this->mUnk_10[8] - this->mUnk_1C; + s16* var_r2 = &this->mUnk_0C[8] - this->mUnk_1C; + s16* var_r5 = &this->mUnk_10[8] - this->mUnk_1C; for (int var_r6 = 0; var_r6 < this->mUnk_1C; var_r2++, var_r5++, var_r6++) { var_ip += *var_r2; var_r3 += *var_r5; } - s16 *new_var; - s16 *var_r9_2; - s16 *var_r10; - s16 *var_r6_2 = &this->mUnk_04[temp_r1]; - s16 *var_r8 = &this->mUnk_08[temp_r1]; - s16 *temp_lr = &this->mUnk_04[0x1000]; + s16* new_var; + s16* var_r9_2; + s16* var_r10; + s16* var_r6_2 = &this->mUnk_04[temp_r1]; + s16* var_r8 = &this->mUnk_08[temp_r1]; + s16* temp_lr = &this->mUnk_04[0x1000]; var_r5_2 = param1; var_r7 = param2; diff --git a/src/024_MainGame/Unknown/UnkStruct_ov024_020d86a0_024.cpp b/src/024_MainGame/Unknown/UnkStruct_ov024_020d86a0_024.cpp index 7f9d53c44..e1e60e2aa 100644 --- a/src/024_MainGame/Unknown/UnkStruct_ov024_020d86a0_024.cpp +++ b/src/024_MainGame/Unknown/UnkStruct_ov024_020d86a0_024.cpp @@ -1,9 +1,9 @@ #include "System/SysNew.hpp" #include "Unknown/UnkStruct_ov024_020d86a0.hpp" -UnkStruct_ov024_020d86a0 *data_ov024_020d86a0 = NULL; +UnkStruct_ov024_020d86a0* data_ov024_020d86a0 = NULL; -UnkStruct_ov024_020d86a0 *UnkStruct_ov024_020d86a0::Create() { +UnkStruct_ov024_020d86a0* UnkStruct_ov024_020d86a0::Create() { return new(HeapIndex_1) UnkStruct_ov024_020d86a0(); } @@ -13,7 +13,7 @@ void UnkStruct_ov024_020d86a0::func_ov024_020d167c() { } } -UnkStruct_ov024_020d86a0_00::UnkStruct_ov024_020d86a0_00(UnkStruct_ov024_020d86a0 *pInstance) { +UnkStruct_ov024_020d86a0_00::UnkStruct_ov024_020d86a0_00(UnkStruct_ov024_020d86a0* pInstance) { this->mpInstance = pInstance; } diff --git a/src/024_MainGame/ZeldaTrainBinary.cpp b/src/024_MainGame/ZeldaTrainBinary.cpp index afb91739a..b211758b0 100644 --- a/src/024_MainGame/ZeldaTrainBinary.cpp +++ b/src/024_MainGame/ZeldaTrainBinary.cpp @@ -4,35 +4,35 @@ THUMB_BEGIN -BOOL ZTB_ParseFile(FileInfos *pFileInfos, UnkDataStruct4 *pDst) { - ZTBHeader *pHeader = (ZTBHeader *) pFileInfos->pFile; - ZTBSectionHeader *pSection = (ZTBSectionHeader *) ((u8 *) pHeader + sizeof(ZTBHeader)); +BOOL ZTB_ParseFile(FileInfos* pFileInfos, UnkDataStruct4* pDst) { + ZTBHeader* pHeader = (ZTBHeader*) pFileInfos->pFile; + ZTBSectionHeader* pSection = (ZTBSectionHeader*) ((u8*) pHeader + sizeof(ZTBHeader)); for (int i = 0; i < pHeader->nSections; i++) { switch (pSection->type) { case ZTBSectionType_GRDB: - ZTB_ParseGRDB(pFileInfos, pDst, (ZTBSectionGRDB *) pSection); + ZTB_ParseGRDB(pFileInfos, pDst, (ZTBSectionGRDB*) pSection); break; case ZTBSectionType_STAB: - ZTB_ParseSTAB(pFileInfos, pDst, (ZTBSectionSTAB *) pSection); + ZTB_ParseSTAB(pFileInfos, pDst, (ZTBSectionSTAB*) pSection); break; case ZTBSectionType_LDMK: - ZTB_ParseLDMK(pFileInfos, pDst, (ZTBSectionLDMK *) pSection); + ZTB_ParseLDMK(pFileInfos, pDst, (ZTBSectionLDMK*) pSection); break; case ZTBSectionType_GRRL: - ZTB_ParseGRRL(pFileInfos, pDst, (ZTBSectionGRRL *) pSection); + ZTB_ParseGRRL(pFileInfos, pDst, (ZTBSectionGRRL*) pSection); break; default: break; } - pSection = (ZTBSectionHeader *) ((u8 *) pSection + pSection->nSize); + pSection = (ZTBSectionHeader*) ((u8*) pSection + pSection->nSize); } return true; } -BOOL ZTB_ParseGRDB(FileInfos *pFileInfos, UnkDataStruct4 *pDst, ZTBSectionGRDB *pGRDB) { +BOOL ZTB_ParseGRDB(FileInfos* pFileInfos, UnkDataStruct4* pDst, ZTBSectionGRDB* pGRDB) { pDst->func_ov024_020d26b0(pGRDB->header.unk_0A); for (u16 i = 0; i < pGRDB->header.nEntries1; i++) { @@ -45,14 +45,14 @@ BOOL ZTB_ParseGRDB(FileInfos *pFileInfos, UnkDataStruct4 *pDst, ZTBSectionGRDB * return true; } -BOOL ZTB_ParseGRRL(FileInfos *pFileInfos, UnkDataStruct4 *pDst, ZTBSectionGRRL *pGRRL) { +BOOL ZTB_ParseGRRL(FileInfos* pFileInfos, UnkDataStruct4* pDst, ZTBSectionGRRL* pGRRL) { for (int i = 0; i < pGRRL->header.nEntries; i++) { ZTBEntryGRRL entry = pGRRL->entries[i]; - ZTBEntryGRRL *pEntry = &entry; + ZTBEntryGRRL* pEntry = &entry; u8 var_r4 = entry.unk_04; - UnkDataStruct4_14 *temp_r5 = &pDst->mUnk_14[pGRRL->entries[i].unk_00]->mUnk_00[pGRRL->entries[i].unk_01]; - u8 *new_var = &pEntry->unk_02; + UnkDataStruct4_14* temp_r5 = &pDst->mUnk_14[pGRRL->entries[i].unk_00]->mUnk_00[pGRRL->entries[i].unk_01]; + u8* new_var = &pEntry->unk_02; u8 new_var2 = pGRRL->entries[i].unk_01; if (var_r4 == 0x03) { @@ -92,21 +92,21 @@ BOOL ZTB_ParseGRRL(FileInfos *pFileInfos, UnkDataStruct4 *pDst, ZTBSectionGRRL * return true; } -BOOL ZTB_ParseSTAB(FileInfos *pFileInfos, UnkDataStruct4 *pDst, ZTBSectionSTAB *pSTAB) { +BOOL ZTB_ParseSTAB(FileInfos* pFileInfos, UnkDataStruct4* pDst, ZTBSectionSTAB* pSTAB) { for (int i = 0; i < pSTAB->header.nEntries; i++) { ZTBEntrySTAB entry = pSTAB->entries[i]; u8 new_var4 = pSTAB->entries[i].unk_11; new_var4 = new_var4 & 0xFF; - UnkDataStruct4_14 *ptr = &pDst->mUnk_14[pSTAB->entries[i].unk_10]->mUnk_00[new_var4]; + UnkDataStruct4_14* ptr = &pDst->mUnk_14[pSTAB->entries[i].unk_10]->mUnk_00[new_var4]; ptr->mStationSceneIndex = data_027e09a0->GetSceneIndexFromName(entry.sceneName); } return true; } -BOOL ZTB_ParseLDMK(FileInfos *pFileInfos, UnkDataStruct4 *pDst, ZTBSectionLDMK *pLDMK) { +BOOL ZTB_ParseLDMK(FileInfos* pFileInfos, UnkDataStruct4* pDst, ZTBSectionLDMK* pLDMK) { for (int i = 0; i < pLDMK->header.nEntries; i++) { ZTBEntryLDMK entry = pLDMK->entries[i]; diff --git a/src/025_Title/GameModeTitleScreen.cpp b/src/025_Title/GameModeTitleScreen.cpp index 07b1bc76a..d5f1b0ca8 100644 --- a/src/025_Title/GameModeTitleScreen.cpp +++ b/src/025_Title/GameModeTitleScreen.cpp @@ -46,8 +46,8 @@ void GameModeTitleScreen::vfunc_1C() { } void GameModeTitleScreen::vfunc_20() { - UnkStruct_027e09a4 *ptr4 = data_027e09a4; - s8 *ptr = &data_0204a110.mUnk_DF2; + UnkStruct_027e09a4* ptr4 = data_027e09a4; + s8* ptr = &data_0204a110.mUnk_DF2; if ((data_0204a088->mUnk_120 & 1) != 0) { ptr4->func_ov017_020bb994(ptr); diff --git a/src/025_Title/TitleScreen.cpp b/src/025_Title/TitleScreen.cpp index 9d8606f0f..a33fbbf1f 100644 --- a/src/025_Title/TitleScreen.cpp +++ b/src/025_Title/TitleScreen.cpp @@ -44,16 +44,16 @@ TitleScreen::TitleScreen() : this->mUnk_1A = 1; wchar_t acStack_54[32]; - char *pcVar1 = data_02049be0.func_02014ff4(); + char* pcVar1 = data_02049be0.func_02014ff4(); acStack_54[ARRAY_LEN(acStack_54) - 1] = '\0'; - strncpy((char *) acStack_54, pcVar1, sizeof(acStack_54) - 1); + strncpy((char*) acStack_54, pcVar1, sizeof(acStack_54) - 1); - char *path = "/Screen/tex2d.bin"; - size_t len = strlen((char *) acStack_54); - strncpy((char *) acStack_54 + len, path, sizeof(acStack_54) - len - 1); + char* path = "/Screen/tex2d.bin"; + size_t len = strlen((char*) acStack_54); + strncpy((char*) acStack_54 + len, path, sizeof(acStack_54) - len - 1); { - UnkStruct_StackTitleScreen auStack_68((char *) acStack_54, 1); + UnkStruct_StackTitleScreen auStack_68((char*) acStack_54, 1); auStack_68.func_ov000_02059270(0x3E, "title", 0x32500000); } @@ -155,7 +155,7 @@ void TitleScreen::func_ov025_020c4ea0(TitleScreenState state) { } } -void TitleScreen::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { +void TitleScreen::vfunc_08(Input* pButtons, TouchControl* pTouchControl) { if (this->mShowUI) { this->mUnk_024.func_ov000_020609c4(); this->mUnk_09C.func_ov000_020609c4(); @@ -170,10 +170,10 @@ void TitleScreen::vfunc_08(Input *pButtons, TouchControl *pTouchControl) { data_0204a110.mUnk_D9C.func_0201c504(1, 10, 0x10, 8); } -void TitleScreen::func_ov025_020c5200(Input *pButtons, TouchControl *pTouchControl) {} +void TitleScreen::func_ov025_020c5200(Input* pButtons, TouchControl* pTouchControl) {} // https://decomp.me/scratch/6nDGM -void TitleScreen::func_ov025_020c5204(Input *pButtons, TouchControl *pTouchControl) { +void TitleScreen::func_ov025_020c5204(Input* pButtons, TouchControl* pTouchControl) { if (pTouchControl->mFlags & 1) { this->mUnk_021 = 1U; } @@ -187,7 +187,7 @@ void TitleScreen::func_ov025_020c5204(Input *pButtons, TouchControl *pTouchContr func_ov025_020c4e54(); } -void TitleScreen::func_ov025_020c5240(Input *pButtons, TouchControl *pTouchControl) { +void TitleScreen::func_ov025_020c5240(Input* pButtons, TouchControl* pTouchControl) { this->mUnk_218.UpdateLogic(); this->mUnk_204.mUnk_10 = this->mUnk_218.func_0201f04c(); @@ -210,7 +210,7 @@ void TitleScreen::func_ov025_020c5240(Input *pButtons, TouchControl *pTouchContr this->func_ov025_020c4ea0(TitleScreenState_IdleBeforeFileSelect); } -void TitleScreen::func_ov025_020c53d0(Input *pButtons, TouchControl *pTouchControl) { +void TitleScreen::func_ov025_020c53d0(Input* pButtons, TouchControl* pTouchControl) { this->mUnk_344++; if (this->mUnk_344 == 15) { @@ -249,14 +249,14 @@ void TitleScreen::func_ov025_020c53d0(Input *pButtons, TouchControl *pTouchContr } } -void TitleScreen::func_ov025_020c55a4(Input *pButtons, TouchControl *pTouchControl) { +void TitleScreen::func_ov025_020c55a4(Input* pButtons, TouchControl* pTouchControl) { if (CHECK_TOUCH_FLAGS(pTouchControl, TouchFlag_UntouchedNow) || CHECK_BUTTON_COMBO(pButtons->press, PAD_BUTTON_START)) { data_ov000_020b5214.func_ov000_0206db44(0x0B); this->func_ov025_020c4ea0(TitleScreenState_ToFileSelect); } } -void TitleScreen::func_ov025_020c55e4(Input *pButtons, TouchControl *pTouchControl) { +void TitleScreen::func_ov025_020c55e4(Input* pButtons, TouchControl* pTouchControl) { if (!this->mUnk_024.func_ov000_02060af8()) { return; } @@ -276,7 +276,7 @@ void TitleScreen::func_ov025_020c55e4(Input *pButtons, TouchControl *pTouchContr data_0204a060.func_020183d4(true, (GameModeCreateCallback) UnkStruct_0204a060::func_02018424, 1); } -void TitleScreen::vfunc_14(unk8 *param1) { +void TitleScreen::vfunc_14(unk8* param1) { if (param1[1] == 0) { this->func_ov025_020c592c(); data_0204a110.mUnk_D9C.func_0201c494(3); @@ -288,7 +288,7 @@ void TitleScreen::vfunc_14(unk8 *param1) { } } -void TitleScreen::vfunc_10(unk8 *param1) { +void TitleScreen::vfunc_10(unk8* param1) { if (this->mShowUI) { if (param1[0] == 0 && this->mUnk_09C.mUnk_6E) { UnkStruct_ov019_020d24c8_28_258 uStack_3c(0x58, 0x00); @@ -337,8 +337,8 @@ void TitleScreen::vfunc_10(unk8 *param1) { void TitleScreen::vfunc_0C(unk32 param1) { if (param1 == 1 && this->mShowUI) { - UnkStruct_027e0954 *ptr = data_027e0954; - TitleScreen_Sub2 *pList = GetLinkListRef(this->mUnk_204); + UnkStruct_027e0954* ptr = data_027e0954; + TitleScreen_Sub2* pList = GetLinkListRef(this->mUnk_204); ptr->mUnk_00[1].mUnk_04.Prepend(pList); } } diff --git a/src/025_Title/TitleScreenManager.cpp b/src/025_Title/TitleScreenManager.cpp index 244dfa507..7b7d1cfe4 100644 --- a/src/025_Title/TitleScreenManager.cpp +++ b/src/025_Title/TitleScreenManager.cpp @@ -4,7 +4,7 @@ const s16 data_ov025_020c5a0c[] = {0x0016, 0x003C}; -GameModeManagerBase *TitleScreenManager::Create(UnkStruct_0204a110_Sub2 *param1) { +GameModeManagerBase* TitleScreenManager::Create(UnkStruct_0204a110_Sub2* param1) { return new(HeapIndex_1) TitleScreenManager(param1); } @@ -12,8 +12,8 @@ void TitleScreenManager::vfunc_14() { this->mUnk_004.func_ov001_020bd734(data_ov025_020c5a0c); this->mUnk_004.func_0201c00c(0x24, 1); - TitleScreen *pTitleScreen = new(HeapIndex_1) TitleScreen(); - this->mpGameMode = (GameModeBase *) pTitleScreen; + TitleScreen* pTitleScreen = new(HeapIndex_1) TitleScreen(); + this->mpGameMode = (GameModeBase*) pTitleScreen; this->mUnk_104.Append(pTitleScreen); pTitleScreen->vfunc_18(); } @@ -29,12 +29,12 @@ void TitleScreenManager::vfunc_24() { this->func_02018908(); } -void TitleScreenManager::vfunc_28(unk8 *param1) { +void TitleScreenManager::vfunc_28(unk8* param1) { this->GameModeManagerBase::vfunc_28(param1); this->func_02018a14(param1); } -void TitleScreenManager::DrawUI(unk8 *param1) { +void TitleScreenManager::DrawUI(unk8* param1) { this->func_02018984(param1); this->func_02018830(param1); } @@ -42,11 +42,11 @@ void TitleScreenManager::DrawUI(unk8 *param1) { void TitleScreenManager::vfunc_38(u32 param1, u8 param2, unk16 param3, unk16 param4) {} void TitleScreenManager::func_ov025_020c4c20() { - ((TitleScreen *) this->mpGameMode)->func_ov025_020c4e6c(); + ((TitleScreen*) this->mpGameMode)->func_ov025_020c4e6c(); } void TitleScreenManager::func_ov025_020c4c30() { - ((TitleScreen *) this->mpGameMode)->func_ov025_020c4e90(); + ((TitleScreen*) this->mpGameMode)->func_ov025_020c4e90(); } TitleScreenManager::~TitleScreenManager() {} diff --git a/src/026_Train/Actor/ActorUnkBDEM.cpp b/src/026_Train/Actor/ActorUnkBDEM.cpp index 97449b46b..5a14ad5ef 100644 --- a/src/026_Train/Actor/ActorUnkBDEM.cpp +++ b/src/026_Train/Actor/ActorUnkBDEM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBDEM); -Actor *ActorProfileUnkBDEM::Create() { +Actor* ActorProfileUnkBDEM::Create() { return new(HeapIndex_2) ActorUnkBDEM(); } diff --git a/src/026_Train/Actor/ActorUnkCNBL.cpp b/src/026_Train/Actor/ActorUnkCNBL.cpp index e8774cce3..a0e426b30 100644 --- a/src/026_Train/Actor/ActorUnkCNBL.cpp +++ b/src/026_Train/Actor/ActorUnkCNBL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCNBL); -Actor *ActorProfileUnkCNBL::Create() { +Actor* ActorProfileUnkCNBL::Create() { return new(HeapIndex_2) ActorUnkCNBL(); } diff --git a/src/026_Train/Actor/ActorUnkDKCL.cpp b/src/026_Train/Actor/ActorUnkDKCL.cpp index 800488cd3..b654397ee 100644 --- a/src/026_Train/Actor/ActorUnkDKCL.cpp +++ b/src/026_Train/Actor/ActorUnkDKCL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDKCL); -Actor *ActorProfileUnkDKCL::Create() { +Actor* ActorProfileUnkDKCL::Create() { return new(HeapIndex_2) ActorUnkDKCL(); } diff --git a/src/026_Train/Actor/ActorUnkDKTR.cpp b/src/026_Train/Actor/ActorUnkDKTR.cpp index dcf27abd8..16e93ed24 100644 --- a/src/026_Train/Actor/ActorUnkDKTR.cpp +++ b/src/026_Train/Actor/ActorUnkDKTR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDKTR); -Actor *ActorProfileUnkDKTR::Create() { +Actor* ActorProfileUnkDKTR::Create() { return new(HeapIndex_2) ActorUnkDKTR(); } diff --git a/src/026_Train/Actor/ActorUnkKLTR.cpp b/src/026_Train/Actor/ActorUnkKLTR.cpp index 571ee2a1b..e13f30717 100644 --- a/src/026_Train/Actor/ActorUnkKLTR.cpp +++ b/src/026_Train/Actor/ActorUnkKLTR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKLTR); -Actor *ActorProfileUnkKLTR::Create() { +Actor* ActorProfileUnkKLTR::Create() { return new(HeapIndex_2) ActorUnkKLTR(); } diff --git a/src/026_Train/Actor/ActorUnkRB1T.cpp b/src/026_Train/Actor/ActorUnkRB1T.cpp index 67b93bf8e..366abede6 100644 --- a/src/026_Train/Actor/ActorUnkRB1T.cpp +++ b/src/026_Train/Actor/ActorUnkRB1T.cpp @@ -8,7 +8,7 @@ extern UnkActorDataStruct1 data_ov026_02137edc; DECL_PROFILE(ActorProfileUnkRB1T); -Actor *ActorProfileUnkRB1T::Create() { +Actor* ActorProfileUnkRB1T::Create() { return new(HeapIndex_2) ActorUnkRB1T(); } @@ -106,7 +106,7 @@ void ActorUnkRB1T::func_ov026_0212052c(void) {} void ActorUnkRB1T::func_ov026_02120744(void) {} void ActorUnkRB1T::func_ov026_021207e0(void) {} void ActorUnkRB1T::func_ov026_02120874(void) {} -void ActorUnkRB1T::func_ov026_021208a0(Actor *param1, G3d_RenderState *param2) {} +void ActorUnkRB1T::func_ov026_021208a0(Actor* param1, G3d_RenderState* param2) {} void ActorUnkRB1T::func_ov026_02120954(void) {} void ActorUnkRB1T::func_ov026_02120974(void) {} void ActorUnkRB1T::func_ov026_021209d8(void) {} diff --git a/src/026_Train/Actor/ActorUnkRBNT.cpp b/src/026_Train/Actor/ActorUnkRBNT.cpp index 1e998721e..22f0f5254 100644 --- a/src/026_Train/Actor/ActorUnkRBNT.cpp +++ b/src/026_Train/Actor/ActorUnkRBNT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRBNT); -Actor *ActorProfileUnkRBNT::Create() { +Actor* ActorProfileUnkRBNT::Create() { return new(HeapIndex_2) ActorUnkRBNT(); } diff --git a/src/026_Train/Actor/ActorUnkRBRT.cpp b/src/026_Train/Actor/ActorUnkRBRT.cpp index d7f52daa1..99d2cb06b 100644 --- a/src/026_Train/Actor/ActorUnkRBRT.cpp +++ b/src/026_Train/Actor/ActorUnkRBRT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRBRT); -Actor *ActorProfileUnkRBRT::Create() { +Actor* ActorProfileUnkRBRT::Create() { return new(HeapIndex_2) ActorUnkRBRT(); } diff --git a/src/026_Train/Actor/ActorUnkSNST.cpp b/src/026_Train/Actor/ActorUnkSNST.cpp index 93358126b..03e1d268b 100644 --- a/src/026_Train/Actor/ActorUnkSNST.cpp +++ b/src/026_Train/Actor/ActorUnkSNST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSNST); -Actor *ActorProfileUnkSNST::Create() { +Actor* ActorProfileUnkSNST::Create() { return new(HeapIndex_2) ActorUnkSNST(); } diff --git a/src/026_Train/Actor/ActorUnkTBRD.cpp b/src/026_Train/Actor/ActorUnkTBRD.cpp index 422ad6480..9d92ce01d 100644 --- a/src/026_Train/Actor/ActorUnkTBRD.cpp +++ b/src/026_Train/Actor/ActorUnkTBRD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTBRD); -Actor *ActorProfileUnkTBRD::Create() { +Actor* ActorProfileUnkTBRD::Create() { return new(HeapIndex_2) ActorUnkTBRD(); } diff --git a/src/026_Train/Actor/ActorUnkTCOW_WCAS.cpp b/src/026_Train/Actor/ActorUnkTCOW_WCAS.cpp index 7ca603677..c6edc83e6 100644 --- a/src/026_Train/Actor/ActorUnkTCOW_WCAS.cpp +++ b/src/026_Train/Actor/ActorUnkTCOW_WCAS.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkTCOW); -Actor *ActorProfileUnkTCOW::Create() { +Actor* ActorProfileUnkTCOW::Create() { return new(HeapIndex_2) ActorUnkTCOW(); } @@ -20,7 +20,7 @@ ActorUnkTCOW::ActorUnkTCOW() {} DECL_PROFILE(ActorProfileUnkWCAS); -Actor *ActorProfileUnkWCAS::Create() { +Actor* ActorProfileUnkWCAS::Create() { return new(HeapIndex_2) ActorUnkWCAS(); } diff --git a/src/026_Train/Actor/ActorUnkTFAT.cpp b/src/026_Train/Actor/ActorUnkTFAT.cpp index 56ee91bf4..57e58f087 100644 --- a/src/026_Train/Actor/ActorUnkTFAT.cpp +++ b/src/026_Train/Actor/ActorUnkTFAT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTFAT); -Actor *ActorProfileUnkTFAT::Create() { +Actor* ActorProfileUnkTFAT::Create() { return new(HeapIndex_2) ActorUnkTFAT(); } diff --git a/src/026_Train/Actor/ActorUnkTHER.cpp b/src/026_Train/Actor/ActorUnkTHER.cpp index dda39e383..82b6f763c 100644 --- a/src/026_Train/Actor/ActorUnkTHER.cpp +++ b/src/026_Train/Actor/ActorUnkTHER.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTHER); -Actor *ActorProfileUnkTHER::Create() { +Actor* ActorProfileUnkTHER::Create() { return new(HeapIndex_2) ActorUnkTHER(); } diff --git a/src/026_Train/Actor/ActorUnkTRBC.cpp b/src/026_Train/Actor/ActorUnkTRBC.cpp index 946dac09b..ab0808e36 100644 --- a/src/026_Train/Actor/ActorUnkTRBC.cpp +++ b/src/026_Train/Actor/ActorUnkTRBC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTRBC); -Actor *ActorProfileUnkTRBC::Create() { +Actor* ActorProfileUnkTRBC::Create() { return new(HeapIndex_2) ActorUnkTRBC(); } diff --git a/src/026_Train/Actor/ActorUnkTRCB.cpp b/src/026_Train/Actor/ActorUnkTRCB.cpp index 213b6c128..3abe8208b 100644 --- a/src/026_Train/Actor/ActorUnkTRCB.cpp +++ b/src/026_Train/Actor/ActorUnkTRCB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTRCB); -Actor *ActorProfileUnkTRCB::Create() { +Actor* ActorProfileUnkTRCB::Create() { return new(HeapIndex_2) ActorUnkTRCB(); } diff --git a/src/026_Train/Actor/ActorUnkTRSG.cpp b/src/026_Train/Actor/ActorUnkTRSG.cpp index 2f77cba97..6f5c34ed1 100644 --- a/src/026_Train/Actor/ActorUnkTRSG.cpp +++ b/src/026_Train/Actor/ActorUnkTRSG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTRSG); -Actor *ActorProfileUnkTRSG::Create() { +Actor* ActorProfileUnkTRSG::Create() { return new(HeapIndex_2) ActorUnkTRSG(); } diff --git a/src/026_Train/Actor/ActorUnkTRSP.cpp b/src/026_Train/Actor/ActorUnkTRSP.cpp index 0927a5e08..3f401bdb7 100644 --- a/src/026_Train/Actor/ActorUnkTRSP.cpp +++ b/src/026_Train/Actor/ActorUnkTRSP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTRSP); -Actor *ActorProfileUnkTRSP::Create() { +Actor* ActorProfileUnkTRSP::Create() { return new(HeapIndex_2) ActorUnkTRSP(); } diff --git a/src/026_Train/Actor/ActorUnkTRTT.cpp b/src/026_Train/Actor/ActorUnkTRTT.cpp index d5610b863..a5f54fbfd 100644 --- a/src/026_Train/Actor/ActorUnkTRTT.cpp +++ b/src/026_Train/Actor/ActorUnkTRTT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTRTT); -Actor *ActorProfileUnkTRTT::Create() { +Actor* ActorProfileUnkTRTT::Create() { return new(HeapIndex_2) ActorUnkTRTT(); } diff --git a/src/026_Train/Actor/ActorUnkTRUP.cpp b/src/026_Train/Actor/ActorUnkTRUP.cpp index 4dedbee82..ef1c6453b 100644 --- a/src/026_Train/Actor/ActorUnkTRUP.cpp +++ b/src/026_Train/Actor/ActorUnkTRUP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTRUP); -Actor *ActorProfileUnkTRUP::Create() { +Actor* ActorProfileUnkTRUP::Create() { return new(HeapIndex_2) ActorUnkTRUP(); } diff --git a/src/026_Train/Actor/ActorUnkTTET.cpp b/src/026_Train/Actor/ActorUnkTTET.cpp index 6588b0bfc..161565fea 100644 --- a/src/026_Train/Actor/ActorUnkTTET.cpp +++ b/src/026_Train/Actor/ActorUnkTTET.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTTET); -Actor *ActorProfileUnkTTET::Create() { +Actor* ActorProfileUnkTTET::Create() { return new(HeapIndex_2) ActorUnkTTET(); } diff --git a/src/026_Train/Actor/ActorUnkTVLR.cpp b/src/026_Train/Actor/ActorUnkTVLR.cpp index 5fcd30379..4738a5dc4 100644 --- a/src/026_Train/Actor/ActorUnkTVLR.cpp +++ b/src/026_Train/Actor/ActorUnkTVLR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTVLR); -Actor *ActorProfileUnkTVLR::Create() { +Actor* ActorProfileUnkTVLR::Create() { return new(HeapIndex_2) ActorUnkTVLR(); } diff --git a/src/026_Train/MapObject/MapObjectUnkEBRD.cpp b/src/026_Train/MapObject/MapObjectUnkEBRD.cpp index 8dd6d5cd6..147a12005 100644 --- a/src/026_Train/MapObject/MapObjectUnkEBRD.cpp +++ b/src/026_Train/MapObject/MapObjectUnkEBRD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkEBRD); -MapObject *MapObjectProfileUnkEBRD::Create() { +MapObject* MapObjectProfileUnkEBRD::Create() { return new(HeapIndex_2) MapObjectUnkEBRD(); } diff --git a/src/026_Train/MapObject/MapObjectUnkEFRS.cpp b/src/026_Train/MapObject/MapObjectUnkEFRS.cpp index 7a1551233..b89b575f9 100644 --- a/src/026_Train/MapObject/MapObjectUnkEFRS.cpp +++ b/src/026_Train/MapObject/MapObjectUnkEFRS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkEFRS); -MapObject *MapObjectProfileUnkEFRS::Create() { +MapObject* MapObjectProfileUnkEFRS::Create() { return new(HeapIndex_2) MapObjectUnkEFRS(); } diff --git a/src/026_Train/MapObject/MapObjectUnkETNL.cpp b/src/026_Train/MapObject/MapObjectUnkETNL.cpp index d7841a1c1..ab6d64ff8 100644 --- a/src/026_Train/MapObject/MapObjectUnkETNL.cpp +++ b/src/026_Train/MapObject/MapObjectUnkETNL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETNL); -MapObject *MapObjectProfileUnkETNL::Create() { +MapObject* MapObjectProfileUnkETNL::Create() { return new(HeapIndex_2) MapObjectUnkETNL(); } diff --git a/src/026_Train/MapObject/MapObjectUnkETSD.cpp b/src/026_Train/MapObject/MapObjectUnkETSD.cpp index 43ee51434..da916cc40 100644 --- a/src/026_Train/MapObject/MapObjectUnkETSD.cpp +++ b/src/026_Train/MapObject/MapObjectUnkETSD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETSD); -MapObject *MapObjectProfileUnkETSD::Create() { +MapObject* MapObjectProfileUnkETSD::Create() { return new(HeapIndex_2) MapObjectUnkETSD(); } diff --git a/src/026_Train/MapObject/MapObjectUnkMTGT.cpp b/src/026_Train/MapObject/MapObjectUnkMTGT.cpp index eed96c1a6..272929a4a 100644 --- a/src/026_Train/MapObject/MapObjectUnkMTGT.cpp +++ b/src/026_Train/MapObject/MapObjectUnkMTGT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMTGT); -MapObject *MapObjectProfileUnkMTGT::Create() { +MapObject* MapObjectProfileUnkMTGT::Create() { return new(HeapIndex_2) MapObjectUnkMTGT(); } diff --git a/src/026_Train/MapObject/MapObjectUnkMTWR.cpp b/src/026_Train/MapObject/MapObjectUnkMTWR.cpp index dfa13cc3e..82e8e7565 100644 --- a/src/026_Train/MapObject/MapObjectUnkMTWR.cpp +++ b/src/026_Train/MapObject/MapObjectUnkMTWR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMTWR); -MapObject *MapObjectProfileUnkMTWR::Create() { +MapObject* MapObjectProfileUnkMTWR::Create() { return new(HeapIndex_2) MapObjectUnkMTWR(); } diff --git a/src/026_Train/MapObject/MapObjectUnkPLFA.cpp b/src/026_Train/MapObject/MapObjectUnkPLFA.cpp index 60124647a..e3d431bf2 100644 --- a/src/026_Train/MapObject/MapObjectUnkPLFA.cpp +++ b/src/026_Train/MapObject/MapObjectUnkPLFA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkPLFA); -MapObject *MapObjectProfileUnkPLFA::Create() { +MapObject* MapObjectProfileUnkPLFA::Create() { return new(HeapIndex_2) MapObjectUnkPLFA(); } diff --git a/src/026_Train/MapObject/MapObjectUnkPLFM.cpp b/src/026_Train/MapObject/MapObjectUnkPLFM.cpp index 376997af8..1aeccfd92 100644 --- a/src/026_Train/MapObject/MapObjectUnkPLFM.cpp +++ b/src/026_Train/MapObject/MapObjectUnkPLFM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkPLFM); -MapObject *MapObjectProfileUnkPLFM::Create() { +MapObject* MapObjectProfileUnkPLFM::Create() { return new(HeapIndex_2) MapObjectUnkPLFM(); } diff --git a/src/026_Train/MapObject/MapObjectUnkTBSF.cpp b/src/026_Train/MapObject/MapObjectUnkTBSF.cpp index d585fc774..97c837fb9 100644 --- a/src/026_Train/MapObject/MapObjectUnkTBSF.cpp +++ b/src/026_Train/MapObject/MapObjectUnkTBSF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTBSF); -MapObject *MapObjectProfileUnkTBSF::Create() { +MapObject* MapObjectProfileUnkTBSF::Create() { return new(HeapIndex_2) MapObjectUnkTBSF(); } diff --git a/src/026_Train/MapObject/MapObjectUnkTRET.cpp b/src/026_Train/MapObject/MapObjectUnkTRET.cpp index f3607d119..6dbcf3dc4 100644 --- a/src/026_Train/MapObject/MapObjectUnkTRET.cpp +++ b/src/026_Train/MapObject/MapObjectUnkTRET.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRET); -MapObject *MapObjectProfileUnkTRET::Create() { +MapObject* MapObjectProfileUnkTRET::Create() { return new(HeapIndex_2) MapObjectUnkTRET(); } diff --git a/src/026_Train/MapObject/MapObjectUnkTRPT.cpp b/src/026_Train/MapObject/MapObjectUnkTRPT.cpp index 274bc8d44..a66ccdd7e 100644 --- a/src/026_Train/MapObject/MapObjectUnkTRPT.cpp +++ b/src/026_Train/MapObject/MapObjectUnkTRPT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRPT); -MapObject *MapObjectProfileUnkTRPT::Create() { +MapObject* MapObjectProfileUnkTRPT::Create() { return new(HeapIndex_2) MapObjectUnkTRPT(); } diff --git a/src/026_Train/MapObject/MapObjectUnkTRRC.cpp b/src/026_Train/MapObject/MapObjectUnkTRRC.cpp index 355e14892..71ff85265 100644 --- a/src/026_Train/MapObject/MapObjectUnkTRRC.cpp +++ b/src/026_Train/MapObject/MapObjectUnkTRRC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRRC); -MapObject *MapObjectProfileUnkTRRC::Create() { +MapObject* MapObjectProfileUnkTRRC::Create() { return new(HeapIndex_2) MapObjectUnkTRRC(); } diff --git a/src/026_Train/MapObject/MapObjectUnkTRTF.cpp b/src/026_Train/MapObject/MapObjectUnkTRTF.cpp index 4ece9e9e8..b49f2b4b3 100644 --- a/src/026_Train/MapObject/MapObjectUnkTRTF.cpp +++ b/src/026_Train/MapObject/MapObjectUnkTRTF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRTF); -MapObject *MapObjectProfileUnkTRTF::Create() { +MapObject* MapObjectProfileUnkTRTF::Create() { return new(HeapIndex_2) MapObjectUnkTRTF(); } diff --git a/src/026_Train/code_02102924.cpp b/src/026_Train/code_02102924.cpp index 55f80a8c4..e5a63d7ef 100644 --- a/src/026_Train/code_02102924.cpp +++ b/src/026_Train/code_02102924.cpp @@ -95,6 +95,6 @@ static TrainSpeedPreset data_ov026_02135fec[TrainPresetType_Max] = { }, }; -const TrainSpeedPreset *func_ov026_02102924(int index) { +const TrainSpeedPreset* func_ov026_02102924(int index) { return &data_ov026_02135fec[index]; } diff --git a/src/027_TrainForest/Actor/ActorUnkFKTR.cpp b/src/027_TrainForest/Actor/ActorUnkFKTR.cpp index de440e83e..b862d7594 100644 --- a/src/027_TrainForest/Actor/ActorUnkFKTR.cpp +++ b/src/027_TrainForest/Actor/ActorUnkFKTR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFKTR); -Actor *ActorProfileUnkFKTR::Create() { +Actor* ActorProfileUnkFKTR::Create() { return new(HeapIndex_2) ActorUnkFKTR(); } diff --git a/src/027_TrainForest/Actor/ActorUnkTRER.cpp b/src/027_TrainForest/Actor/ActorUnkTRER.cpp index 3f5435e1a..d7b24936f 100644 --- a/src/027_TrainForest/Actor/ActorUnkTRER.cpp +++ b/src/027_TrainForest/Actor/ActorUnkTRER.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTRER); -Actor *ActorProfileUnkTRER::Create() { +Actor* ActorProfileUnkTRER::Create() { return new(HeapIndex_2) ActorUnkTRER(); } diff --git a/src/027_TrainForest/MapObject/MapObjectUnkCSTL.cpp b/src/027_TrainForest/MapObject/MapObjectUnkCSTL.cpp index bf9913767..c48911f27 100644 --- a/src/027_TrainForest/MapObject/MapObjectUnkCSTL.cpp +++ b/src/027_TrainForest/MapObject/MapObjectUnkCSTL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkCSTL); -MapObject *MapObjectProfileUnkCSTL::Create() { +MapObject* MapObjectProfileUnkCSTL::Create() { return new(HeapIndex_2) MapObjectUnkCSTL(); } diff --git a/src/027_TrainForest/MapObject/MapObjectUnkETDK.cpp b/src/027_TrainForest/MapObject/MapObjectUnkETDK.cpp index a949fbaa4..94182cf89 100644 --- a/src/027_TrainForest/MapObject/MapObjectUnkETDK.cpp +++ b/src/027_TrainForest/MapObject/MapObjectUnkETDK.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETDK); -MapObject *MapObjectProfileUnkETDK::Create() { +MapObject* MapObjectProfileUnkETDK::Create() { return new(HeapIndex_2) MapObjectUnkETDK(); } diff --git a/src/027_TrainForest/MapObject/MapObjectUnkMBRG.cpp b/src/027_TrainForest/MapObject/MapObjectUnkMBRG.cpp index 0e67ab375..39e70149b 100644 --- a/src/027_TrainForest/MapObject/MapObjectUnkMBRG.cpp +++ b/src/027_TrainForest/MapObject/MapObjectUnkMBRG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMBRG); -MapObject *MapObjectProfileUnkMBRG::Create() { +MapObject* MapObjectProfileUnkMBRG::Create() { return new(HeapIndex_2) MapObjectUnkMBRG(); } diff --git a/src/027_TrainForest/MapObject/MapObjectUnkMZFE.cpp b/src/027_TrainForest/MapObject/MapObjectUnkMZFE.cpp index b0dbf3a46..84fc9ad99 100644 --- a/src/027_TrainForest/MapObject/MapObjectUnkMZFE.cpp +++ b/src/027_TrainForest/MapObject/MapObjectUnkMZFE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMZFE); -MapObject *MapObjectProfileUnkMZFE::Create() { +MapObject* MapObjectProfileUnkMZFE::Create() { return new(HeapIndex_2) MapObjectUnkMZFE(); } diff --git a/src/027_TrainForest/MapObject/MapObjectUnkTMFR.cpp b/src/027_TrainForest/MapObject/MapObjectUnkTMFR.cpp index f66ede707..83a32af70 100644 --- a/src/027_TrainForest/MapObject/MapObjectUnkTMFR.cpp +++ b/src/027_TrainForest/MapObject/MapObjectUnkTMFR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTMFR); -MapObject *MapObjectProfileUnkTMFR::Create() { +MapObject* MapObjectProfileUnkTMFR::Create() { return new(HeapIndex_2) MapObjectUnkTMFR(); } diff --git a/src/027_TrainForest/MapObject/MapObjectUnkTRBR.cpp b/src/027_TrainForest/MapObject/MapObjectUnkTRBR.cpp index 9c8ba0f45..322aaa54c 100644 --- a/src/027_TrainForest/MapObject/MapObjectUnkTRBR.cpp +++ b/src/027_TrainForest/MapObject/MapObjectUnkTRBR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRBR); -MapObject *MapObjectProfileUnkTRBR::Create() { +MapObject* MapObjectProfileUnkTRBR::Create() { return new(HeapIndex_2) MapObjectUnkTRBR(); } diff --git a/src/027_TrainForest/MapObject/MapObjectUnkTRDA.cpp b/src/027_TrainForest/MapObject/MapObjectUnkTRDA.cpp index 77db929b5..987fd9e71 100644 --- a/src/027_TrainForest/MapObject/MapObjectUnkTRDA.cpp +++ b/src/027_TrainForest/MapObject/MapObjectUnkTRDA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRDA); -MapObject *MapObjectProfileUnkTRDA::Create() { +MapObject* MapObjectProfileUnkTRDA::Create() { return new(HeapIndex_2) MapObjectUnkTRDA(); } diff --git a/src/027_TrainForest/MapObject/MapObjectUnkTRFO.cpp b/src/027_TrainForest/MapObject/MapObjectUnkTRFO.cpp index 1cfe4675c..14adf65ad 100644 --- a/src/027_TrainForest/MapObject/MapObjectUnkTRFO.cpp +++ b/src/027_TrainForest/MapObject/MapObjectUnkTRFO.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRFO); -MapObject *MapObjectProfileUnkTRFO::Create() { +MapObject* MapObjectProfileUnkTRFO::Create() { return new(HeapIndex_2) MapObjectUnkTRFO(); } diff --git a/src/027_TrainForest/MapObject/MapObjectUnkTRFV.cpp b/src/027_TrainForest/MapObject/MapObjectUnkTRFV.cpp index 76f33e5a4..1ae25eb1d 100644 --- a/src/027_TrainForest/MapObject/MapObjectUnkTRFV.cpp +++ b/src/027_TrainForest/MapObject/MapObjectUnkTRFV.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRFV); -MapObject *MapObjectProfileUnkTRFV::Create() { +MapObject* MapObjectProfileUnkTRFV::Create() { return new(HeapIndex_2) MapObjectUnkTRFV(); } diff --git a/src/027_TrainForest/MapObject/MapObjectUnkTRRA.cpp b/src/027_TrainForest/MapObject/MapObjectUnkTRRA.cpp index 0d753c460..447a976fb 100644 --- a/src/027_TrainForest/MapObject/MapObjectUnkTRRA.cpp +++ b/src/027_TrainForest/MapObject/MapObjectUnkTRRA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRRA); -MapObject *MapObjectProfileUnkTRRA::Create() { +MapObject* MapObjectProfileUnkTRRA::Create() { return new(HeapIndex_2) MapObjectUnkTRRA(); } diff --git a/src/027_TrainForest/MapObject/MapObjectUnkTRSH.cpp b/src/027_TrainForest/MapObject/MapObjectUnkTRSH.cpp index c995fcb91..e1523a721 100644 --- a/src/027_TrainForest/MapObject/MapObjectUnkTRSH.cpp +++ b/src/027_TrainForest/MapObject/MapObjectUnkTRSH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRSH); -MapObject *MapObjectProfileUnkTRSH::Create() { +MapObject* MapObjectProfileUnkTRSH::Create() { return new(HeapIndex_2) MapObjectUnkTRSH(); } diff --git a/src/028_TrainSnow/Actor/ActorUnkSNMA.cpp b/src/028_TrainSnow/Actor/ActorUnkSNMA.cpp index 9e970e698..61d6f16d9 100644 --- a/src/028_TrainSnow/Actor/ActorUnkSNMA.cpp +++ b/src/028_TrainSnow/Actor/ActorUnkSNMA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSNMA); -Actor *ActorProfileUnkSNMA::Create() { +Actor* ActorProfileUnkSNMA::Create() { return new(HeapIndex_2) ActorUnkSNMA(); } diff --git a/src/028_TrainSnow/Actor/ActorUnkSNMB.cpp b/src/028_TrainSnow/Actor/ActorUnkSNMB.cpp index f8341e1d3..061ae7eb2 100644 --- a/src/028_TrainSnow/Actor/ActorUnkSNMB.cpp +++ b/src/028_TrainSnow/Actor/ActorUnkSNMB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSNMB); -Actor *ActorProfileUnkSNMB::Create() { +Actor* ActorProfileUnkSNMB::Create() { return new(HeapIndex_2) ActorUnkSNMB(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkEFRF.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkEFRF.cpp index e2d7ad752..e6a17f598 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkEFRF.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkEFRF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkEFRF); -MapObject *MapObjectProfileUnkEFRF::Create() { +MapObject* MapObjectProfileUnkEFRF::Create() { return new(HeapIndex_2) MapObjectUnkEFRF(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkETNS.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkETNS.cpp index 649088452..11ff1fdd5 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkETNS.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkETNS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETNS); -MapObject *MapObjectProfileUnkETNS::Create() { +MapObject* MapObjectProfileUnkETNS::Create() { return new(HeapIndex_2) MapObjectUnkETNS(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkETSW.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkETSW.cpp index 41c646ef3..cfbeba91f 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkETSW.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkETSW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETSW); -MapObject *MapObjectProfileUnkETSW::Create() { +MapObject* MapObjectProfileUnkETSW::Create() { return new(HeapIndex_2) MapObjectUnkETSW(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkRBSR.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkRBSR.cpp index ddf7db6d3..d0b70db85 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkRBSR.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkRBSR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkRBSR); -MapObject *MapObjectProfileUnkRBSR::Create() { +MapObject* MapObjectProfileUnkRBSR::Create() { return new(HeapIndex_2) MapObjectUnkRBSR(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkRLPT.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkRLPT.cpp index 833926481..bfa0b973d 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkRLPT.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkRLPT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkRLPT); -MapObject *MapObjectProfileUnkRLPT::Create() { +MapObject* MapObjectProfileUnkRLPT::Create() { return new(HeapIndex_2) MapObjectUnkRLPT(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkTMSN.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkTMSN.cpp index ac2a2d735..c804bf6a1 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkTMSN.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkTMSN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTMSN); -MapObject *MapObjectProfileUnkTMSN::Create() { +MapObject* MapObjectProfileUnkTMSN::Create() { return new(HeapIndex_2) MapObjectUnkTMSN(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkTRBM.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkTRBM.cpp index 85d66bcd9..cf881dc51 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkTRBM.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkTRBM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRBM); -MapObject *MapObjectProfileUnkTRBM::Create() { +MapObject* MapObjectProfileUnkTRBM::Create() { return new(HeapIndex_2) MapObjectUnkTRBM(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkTRFS.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkTRFS.cpp index eacec209a..54236eb23 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkTRFS.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkTRFS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRFS); -MapObject *MapObjectProfileUnkTRFS::Create() { +MapObject* MapObjectProfileUnkTRFS::Create() { return new(HeapIndex_2) MapObjectUnkTRFS(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkTRH0.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkTRH0.cpp index 6347bd67b..adec0d5b2 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkTRH0.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkTRH0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRH0); -MapObject *MapObjectProfileUnkTRH0::Create() { +MapObject* MapObjectProfileUnkTRH0::Create() { return new(HeapIndex_2) MapObjectUnkTRH0(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkTRMA.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkTRMA.cpp index 72b86ff18..fad1d6584 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkTRMA.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkTRMA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRMA); -MapObject *MapObjectProfileUnkTRMA::Create() { +MapObject* MapObjectProfileUnkTRMA::Create() { return new(HeapIndex_2) MapObjectUnkTRMA(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkTRRS.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkTRRS.cpp index 871e3a06f..147d4a64f 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkTRRS.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkTRRS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRRS); -MapObject *MapObjectProfileUnkTRRS::Create() { +MapObject* MapObjectProfileUnkTRRS::Create() { return new(HeapIndex_2) MapObjectUnkTRRS(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkTRSR.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkTRSR.cpp index efe0aee21..c345794f5 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkTRSR.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkTRSR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRSR); -MapObject *MapObjectProfileUnkTRSR::Create() { +MapObject* MapObjectProfileUnkTRSR::Create() { return new(HeapIndex_2) MapObjectUnkTRSR(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkTRSS.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkTRSS.cpp index edf3f89f1..565d1441d 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkTRSS.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkTRSS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRSS); -MapObject *MapObjectProfileUnkTRSS::Create() { +MapObject* MapObjectProfileUnkTRSS::Create() { return new(HeapIndex_2) MapObjectUnkTRSS(); } diff --git a/src/028_TrainSnow/MapObject/MapObjectUnkTRTS.cpp b/src/028_TrainSnow/MapObject/MapObjectUnkTRTS.cpp index 0a9898830..78b08d9f4 100644 --- a/src/028_TrainSnow/MapObject/MapObjectUnkTRTS.cpp +++ b/src/028_TrainSnow/MapObject/MapObjectUnkTRTS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRTS); -MapObject *MapObjectProfileUnkTRTS::Create() { +MapObject* MapObjectProfileUnkTRTS::Create() { return new(HeapIndex_2) MapObjectUnkTRTS(); } diff --git a/src/029_TrainWater/Actor/ActorUnkBLJF.cpp b/src/029_TrainWater/Actor/ActorUnkBLJF.cpp index 296d55b66..37a14baef 100644 --- a/src/029_TrainWater/Actor/ActorUnkBLJF.cpp +++ b/src/029_TrainWater/Actor/ActorUnkBLJF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBLJF); -Actor *ActorProfileUnkBLJF::Create() { +Actor* ActorProfileUnkBLJF::Create() { return new(HeapIndex_2) ActorUnkBLJF(); } diff --git a/src/029_TrainWater/Actor/ActorUnkDLPN.cpp b/src/029_TrainWater/Actor/ActorUnkDLPN.cpp index fcc8e2fc7..9fd501506 100644 --- a/src/029_TrainWater/Actor/ActorUnkDLPN.cpp +++ b/src/029_TrainWater/Actor/ActorUnkDLPN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDLPN); -Actor *ActorProfileUnkDLPN::Create() { +Actor* ActorProfileUnkDLPN::Create() { return new(HeapIndex_2) ActorUnkDLPN(); } diff --git a/src/029_TrainWater/Actor/ActorUnkMDYG.cpp b/src/029_TrainWater/Actor/ActorUnkMDYG.cpp index a4539aa0b..3345fcf3c 100644 --- a/src/029_TrainWater/Actor/ActorUnkMDYG.cpp +++ b/src/029_TrainWater/Actor/ActorUnkMDYG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMDYG); -Actor *ActorProfileUnkMDYG::Create() { +Actor* ActorProfileUnkMDYG::Create() { return new(HeapIndex_2) ActorUnkMDYG(); } diff --git a/src/029_TrainWater/Actor/ActorUnkPRSP.cpp b/src/029_TrainWater/Actor/ActorUnkPRSP.cpp index cae205f2f..acc52c517 100644 --- a/src/029_TrainWater/Actor/ActorUnkPRSP.cpp +++ b/src/029_TrainWater/Actor/ActorUnkPRSP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPRSP); -Actor *ActorProfileUnkPRSP::Create() { +Actor* ActorProfileUnkPRSP::Create() { return new(HeapIndex_2) ActorUnkPRSP(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkRBBL.cpp b/src/029_TrainWater/MapObject/MapObjectUnkRBBL.cpp index 218aec510..49d692950 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkRBBL.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkRBBL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkRBBL); -MapObject *MapObjectProfileUnkRBBL::Create() { +MapObject* MapObjectProfileUnkRBBL::Create() { return new(HeapIndex_2) MapObjectUnkRBBL(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkSBDE.cpp b/src/029_TrainWater/MapObject/MapObjectUnkSBDE.cpp index 278b11334..4ed4715af 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkSBDE.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkSBDE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSBDE); -MapObject *MapObjectProfileUnkSBDE::Create() { +MapObject* MapObjectProfileUnkSBDE::Create() { return new(HeapIndex_2) MapObjectUnkSBDE(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkSTDE.cpp b/src/029_TrainWater/MapObject/MapObjectUnkSTDE.cpp index 0e615befb..606727e4a 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkSTDE.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkSTDE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSTDE); -MapObject *MapObjectProfileUnkSTDE::Create() { +MapObject* MapObjectProfileUnkSTDE::Create() { return new(HeapIndex_2) MapObjectUnkSTDE(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkTBSS.cpp b/src/029_TrainWater/MapObject/MapObjectUnkTBSS.cpp index 181e6cdfc..7629eced4 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkTBSS.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkTBSS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTBSS); -MapObject *MapObjectProfileUnkTBSS::Create() { +MapObject* MapObjectProfileUnkTBSS::Create() { return new(HeapIndex_2) MapObjectUnkTBSS(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkTCBT.cpp b/src/029_TrainWater/MapObject/MapObjectUnkTCBT.cpp index 9557d9ca6..9bee088aa 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkTCBT.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkTCBT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTCBT); -MapObject *MapObjectProfileUnkTCBT::Create() { +MapObject* MapObjectProfileUnkTCBT::Create() { return new(HeapIndex_2) MapObjectUnkTCBT(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkTMDE.cpp b/src/029_TrainWater/MapObject/MapObjectUnkTMDE.cpp index 3b82120a3..29169ee4b 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkTMDE.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkTMDE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTMDE); -MapObject *MapObjectProfileUnkTMDE::Create() { +MapObject* MapObjectProfileUnkTMDE::Create() { return new(HeapIndex_2) MapObjectUnkTMDE(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkTMWT.cpp b/src/029_TrainWater/MapObject/MapObjectUnkTMWT.cpp index b7930450f..825662773 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkTMWT.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkTMWT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTMWT); -MapObject *MapObjectProfileUnkTMWT::Create() { +MapObject* MapObjectProfileUnkTMWT::Create() { return new(HeapIndex_2) MapObjectUnkTMWT(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkTRBL.cpp b/src/029_TrainWater/MapObject/MapObjectUnkTRBL.cpp index 4aa560854..e0a4cf5eb 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkTRBL.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkTRBL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRBL); -MapObject *MapObjectProfileUnkTRBL::Create() { +MapObject* MapObjectProfileUnkTRBL::Create() { return new(HeapIndex_2) MapObjectUnkTRBL(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkTRH1.cpp b/src/029_TrainWater/MapObject/MapObjectUnkTRH1.cpp index 0e365b016..32e200edc 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkTRH1.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkTRH1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRH1); -MapObject *MapObjectProfileUnkTRH1::Create() { +MapObject* MapObjectProfileUnkTRH1::Create() { return new(HeapIndex_2) MapObjectUnkTRH1(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkTRPI.cpp b/src/029_TrainWater/MapObject/MapObjectUnkTRPI.cpp index 4f9d81cee..bbd334727 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkTRPI.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkTRPI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRPI); -MapObject *MapObjectProfileUnkTRPI::Create() { +MapObject* MapObjectProfileUnkTRPI::Create() { return new(HeapIndex_2) MapObjectUnkTRPI(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkTRRD.cpp b/src/029_TrainWater/MapObject/MapObjectUnkTRRD.cpp index c349a3613..ba76d40bc 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkTRRD.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkTRRD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRRD); -MapObject *MapObjectProfileUnkTRRD::Create() { +MapObject* MapObjectProfileUnkTRRD::Create() { return new(HeapIndex_2) MapObjectUnkTRRD(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkTRRW.cpp b/src/029_TrainWater/MapObject/MapObjectUnkTRRW.cpp index 5919b3b91..eb9dab0d6 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkTRRW.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkTRRW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRRW); -MapObject *MapObjectProfileUnkTRRW::Create() { +MapObject* MapObjectProfileUnkTRRW::Create() { return new(HeapIndex_2) MapObjectUnkTRRW(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkTRSA.cpp b/src/029_TrainWater/MapObject/MapObjectUnkTRSA.cpp index 40dcb5e72..8f0bdfb3d 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkTRSA.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkTRSA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRSA); -MapObject *MapObjectProfileUnkTRSA::Create() { +MapObject* MapObjectProfileUnkTRSA::Create() { return new(HeapIndex_2) MapObjectUnkTRSA(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkTRWA.cpp b/src/029_TrainWater/MapObject/MapObjectUnkTRWA.cpp index f550d9666..8b74da44d 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkTRWA.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkTRWA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRWA); -MapObject *MapObjectProfileUnkTRWA::Create() { +MapObject* MapObjectProfileUnkTRWA::Create() { return new(HeapIndex_2) MapObjectUnkTRWA(); } diff --git a/src/029_TrainWater/MapObject/MapObjectUnkWHSW.cpp b/src/029_TrainWater/MapObject/MapObjectUnkWHSW.cpp index cc864fcce..416e4aa28 100644 --- a/src/029_TrainWater/MapObject/MapObjectUnkWHSW.cpp +++ b/src/029_TrainWater/MapObject/MapObjectUnkWHSW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkWHSW); -MapObject *MapObjectProfileUnkWHSW::Create() { +MapObject* MapObjectProfileUnkWHSW::Create() { return new(HeapIndex_2) MapObjectUnkWHSW(); } diff --git a/src/030_TrainFlame/Actor/ActorUnkFDKY.cpp b/src/030_TrainFlame/Actor/ActorUnkFDKY.cpp index 369d07465..6f3f58d40 100644 --- a/src/030_TrainFlame/Actor/ActorUnkFDKY.cpp +++ b/src/030_TrainFlame/Actor/ActorUnkFDKY.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFDKY); -Actor *ActorProfileUnkFDKY::Create() { +Actor* ActorProfileUnkFDKY::Create() { return new(HeapIndex_2) ActorUnkFDKY(); } diff --git a/src/030_TrainFlame/Actor/ActorUnkGOVT.cpp b/src/030_TrainFlame/Actor/ActorUnkGOVT.cpp index fd9a91a33..aa3fd84f3 100644 --- a/src/030_TrainFlame/Actor/ActorUnkGOVT.cpp +++ b/src/030_TrainFlame/Actor/ActorUnkGOVT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkGOVT); -Actor *ActorProfileUnkGOVT::Create() { +Actor* ActorProfileUnkGOVT::Create() { return new(HeapIndex_2) ActorUnkGOVT(); } diff --git a/src/030_TrainFlame/Actor/ActorUnkHELA.cpp b/src/030_TrainFlame/Actor/ActorUnkHELA.cpp index 2c9a67057..69f360c04 100644 --- a/src/030_TrainFlame/Actor/ActorUnkHELA.cpp +++ b/src/030_TrainFlame/Actor/ActorUnkHELA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkHELA); -Actor *ActorProfileUnkHELA::Create() { +Actor* ActorProfileUnkHELA::Create() { return new(HeapIndex_2) ActorUnkHELA(); } diff --git a/src/030_TrainFlame/Actor/ActorUnkHLMG.cpp b/src/030_TrainFlame/Actor/ActorUnkHLMG.cpp index e4c56eb40..83c7f0de0 100644 --- a/src/030_TrainFlame/Actor/ActorUnkHLMG.cpp +++ b/src/030_TrainFlame/Actor/ActorUnkHLMG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkHLMG); -Actor *ActorProfileUnkHLMG::Create() { +Actor* ActorProfileUnkHLMG::Create() { return new(HeapIndex_2) ActorUnkHLMG(); } diff --git a/src/030_TrainFlame/Actor/ActorUnkSGMG.cpp b/src/030_TrainFlame/Actor/ActorUnkSGMG.cpp index 60b9791a4..1b71d9497 100644 --- a/src/030_TrainFlame/Actor/ActorUnkSGMG.cpp +++ b/src/030_TrainFlame/Actor/ActorUnkSGMG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSGMG); -Actor *ActorProfileUnkSGMG::Create() { +Actor* ActorProfileUnkSGMG::Create() { return new(HeapIndex_2) ActorUnkSGMG(); } diff --git a/src/030_TrainFlame/Actor/ActorUnkTTFT.cpp b/src/030_TrainFlame/Actor/ActorUnkTTFT.cpp index f5d4bf982..f051e14d9 100644 --- a/src/030_TrainFlame/Actor/ActorUnkTTFT.cpp +++ b/src/030_TrainFlame/Actor/ActorUnkTTFT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTTFT); -Actor *ActorProfileUnkTTFT::Create() { +Actor* ActorProfileUnkTTFT::Create() { return new(HeapIndex_2) ActorUnkTTFT(); } diff --git a/src/030_TrainFlame/Actor/ActorUnkWKTR.cpp b/src/030_TrainFlame/Actor/ActorUnkWKTR.cpp index 57a404af4..ebaedbc9c 100644 --- a/src/030_TrainFlame/Actor/ActorUnkWKTR.cpp +++ b/src/030_TrainFlame/Actor/ActorUnkWKTR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWKTR); -Actor *ActorProfileUnkWKTR::Create() { +Actor* ActorProfileUnkWKTR::Create() { return new(HeapIndex_2) ActorUnkWKTR(); } diff --git a/src/030_TrainFlame/MapObject/MapObjectUnkETTV.cpp b/src/030_TrainFlame/MapObject/MapObjectUnkETTV.cpp index b51c858c6..7cddda1f3 100644 --- a/src/030_TrainFlame/MapObject/MapObjectUnkETTV.cpp +++ b/src/030_TrainFlame/MapObject/MapObjectUnkETTV.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETTV); -MapObject *MapObjectProfileUnkETTV::Create() { +MapObject* MapObjectProfileUnkETTV::Create() { return new(HeapIndex_2) MapObjectUnkETTV(); } diff --git a/src/030_TrainFlame/MapObject/MapObjectUnkTRFI.cpp b/src/030_TrainFlame/MapObject/MapObjectUnkTRFI.cpp index 24767f571..8f3b01ec9 100644 --- a/src/030_TrainFlame/MapObject/MapObjectUnkTRFI.cpp +++ b/src/030_TrainFlame/MapObject/MapObjectUnkTRFI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRFI); -MapObject *MapObjectProfileUnkTRFI::Create() { +MapObject* MapObjectProfileUnkTRFI::Create() { return new(HeapIndex_2) MapObjectUnkTRFI(); } diff --git a/src/030_TrainFlame/MapObject/MapObjectUnkTRGM.cpp b/src/030_TrainFlame/MapObject/MapObjectUnkTRGM.cpp index 13d1306f9..994371697 100644 --- a/src/030_TrainFlame/MapObject/MapObjectUnkTRGM.cpp +++ b/src/030_TrainFlame/MapObject/MapObjectUnkTRGM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRGM); -MapObject *MapObjectProfileUnkTRGM::Create() { +MapObject* MapObjectProfileUnkTRGM::Create() { return new(HeapIndex_2) MapObjectUnkTRGM(); } diff --git a/src/030_TrainFlame/MapObject/MapObjectUnkTRH2.cpp b/src/030_TrainFlame/MapObject/MapObjectUnkTRH2.cpp index f6cd0310b..372dc0dd0 100644 --- a/src/030_TrainFlame/MapObject/MapObjectUnkTRH2.cpp +++ b/src/030_TrainFlame/MapObject/MapObjectUnkTRH2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRH2); -MapObject *MapObjectProfileUnkTRH2::Create() { +MapObject* MapObjectProfileUnkTRH2::Create() { return new(HeapIndex_2) MapObjectUnkTRH2(); } diff --git a/src/030_TrainFlame/MapObject/MapObjectUnkTRH3.cpp b/src/030_TrainFlame/MapObject/MapObjectUnkTRH3.cpp index 3a27b4091..501af4ccb 100644 --- a/src/030_TrainFlame/MapObject/MapObjectUnkTRH3.cpp +++ b/src/030_TrainFlame/MapObject/MapObjectUnkTRH3.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRH3); -MapObject *MapObjectProfileUnkTRH3::Create() { +MapObject* MapObjectProfileUnkTRH3::Create() { return new(HeapIndex_2) MapObjectUnkTRH3(); } diff --git a/src/030_TrainFlame/MapObject/MapObjectUnkTRST.cpp b/src/030_TrainFlame/MapObject/MapObjectUnkTRST.cpp index 11c213855..4d44c13e7 100644 --- a/src/030_TrainFlame/MapObject/MapObjectUnkTRST.cpp +++ b/src/030_TrainFlame/MapObject/MapObjectUnkTRST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRST); -MapObject *MapObjectProfileUnkTRST::Create() { +MapObject* MapObjectProfileUnkTRST::Create() { return new(HeapIndex_2) MapObjectUnkTRST(); } diff --git a/src/031_Land/Actor/ActorBlast.cpp b/src/031_Land/Actor/ActorBlast.cpp index 62e0b3ca9..5795d79ef 100644 --- a/src/031_Land/Actor/ActorBlast.cpp +++ b/src/031_Land/Actor/ActorBlast.cpp @@ -17,7 +17,7 @@ extern VecFx32 data_027e07d4; DECL_PROFILE(ActorProfileBlast); -Actor *ActorProfileBlast::Create() { +Actor* ActorProfileBlast::Create() { return new(HeapIndex_2) ActorBlast(); } @@ -26,7 +26,7 @@ ActorProfileBlast::ActorProfileBlast() : VecFx32_Init(FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), &this->mUnk_04.center); } -bool ActorBlast_E8::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, const VecFx32 *param4) { +bool ActorBlast_E8::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, const VecFx32* param4) { struct { VecFx32 unk_00; int pad; @@ -39,9 +39,9 @@ bool ActorBlast_E8::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, co s32 temp_r2_2; s32 var_r0; s32 var_r0_2; - u16 *temp_r2; - Actor *temp_r0; - MapObject *temp_r0_2; + u16* temp_r2; + Actor* temp_r0; + MapObject* temp_r0_2; param2->vfunc_10(&sp24.unk_00); @@ -122,7 +122,7 @@ bool ActorBlast::Init(unk32 param1) { data_027e0cec->func_ov000_0209feac(0x80F, &this->mPos, 0x2, 0x0, 0x0); } - MapManagerBase *data = gpCourseManager->mpMapMgr; + MapManagerBase* data = gpCourseManager->mpMapMgr; if (data->mUnk_110 == 0x7 && data->func_ov000_0208217c(&this->mPos, 0x1)) { ActorParams actorParams; RefStruct actorRef; @@ -194,7 +194,7 @@ fx32 ActorBlast::func_ov031_020e3b94() { return FX_F32_TO_FX32(0.5f); } -void ActorBlast::func_ov031_020e3b9c(Actor *spawner, unk16 param1, unk16 param2) { +void ActorBlast::func_ov031_020e3b9c(Actor* spawner, unk16 param1, unk16 param2) { ActorParams actorParams; RefStruct ref; diff --git a/src/031_Land/Actor/ActorBomb.cpp b/src/031_Land/Actor/ActorBomb.cpp index 69d54d296..ac67d3dd7 100644 --- a/src/031_Land/Actor/ActorBomb.cpp +++ b/src/031_Land/Actor/ActorBomb.cpp @@ -73,7 +73,7 @@ static PTMF data_ov031_02112c38[ActorBombState_Max] = { DECL_PROFILE(ActorProfileBomb); -Actor *ActorProfileBomb::Create() { +Actor* ActorProfileBomb::Create() { return new(HeapIndex_2) ActorBomb(); } @@ -82,28 +82,28 @@ ActorProfileBomb::ActorProfileBomb() : this->mUnk_04.Init(FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.2999f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.4f)); } -G3d_Model *ActorBomb::func_ov031_020e1540(u16 param1) { +G3d_Model* ActorBomb::func_ov031_020e1540(u16 param1) { if (param1 == 0x0) { - return data_027e0ce0->mUnk_1C->func_ov000_0208ed30(0x0, 0x1, (char *) data_ov031_02110a40[2]); + return data_027e0ce0->mUnk_1C->func_ov000_0208ed30(0x0, 0x1, (char*) data_ov031_02110a40[2]); } return NNS_G3dGetMdl( - ((MapObjectProfileBombFlower *) data_ov000_020b5d34.GetProfileFromId(MapObjectId_BombFlower))->mUnk_20.mUnk_50); + ((MapObjectProfileBombFlower*) data_ov000_020b5d34.GetProfileFromId(MapObjectId_BombFlower))->mUnk_20.mUnk_50); } -UnkStruct_ov000_02058a84 *ActorBomb::func_ov031_020e15d0(u16 param1) { +UnkStruct_ov000_02058a84* ActorBomb::func_ov031_020e15d0(u16 param1) { if (param1 == 0x0) { - return data_027e0ce0->mUnk_1C->func_ov000_0208ee94(0x0, 0x1, (char *) data_ov031_02110a40[3], 0x1); + return data_027e0ce0->mUnk_1C->func_ov000_0208ee94(0x0, 0x1, (char*) data_ov031_02110a40[3], 0x1); } - MapObjectProfileBombFlower *pProfile = - ((MapObjectProfileBombFlower *) data_ov000_020b5d34.GetProfileFromId(MapObjectId_BombFlower)); + MapObjectProfileBombFlower* pProfile = + ((MapObjectProfileBombFlower*) data_ov000_020b5d34.GetProfileFromId(MapObjectId_BombFlower)); - return pProfile->mUnk_20.func_ov000_02058a84(0x1, (char *) data_ov031_02110a40[1]); + return pProfile->mUnk_20.func_ov000_02058a84(0x1, (char*) data_ov031_02110a40[1]); } -void ActorBomb::func_ov031_020e1634(G3d_RenderState *param1) { - G3d_NameList *iVar1 = G3d_GetBoneList(param1->renderObj->model); +void ActorBomb::func_ov031_020e1634(G3d_RenderState* param1) { + G3d_NameList* iVar1 = G3d_GetBoneList(param1->renderObj->model); uint uVar2 = iVar1 != NULL ? func_0200f218(iVar1, data_ov031_021109fc) : -1; uint uVar3 = G3d_GetCurBoneId(param1); @@ -135,10 +135,10 @@ ActorBomb::ActorBomb() : { if (this->mUnk_5C.mParams[0] != 0x1) { this->mUnk_1EF = false; - this->mUnk_17C = (VecFx32 *) &data_ov031_02110a28; + this->mUnk_17C = (VecFx32*) &data_ov031_02110a28; } else { NNS_G3dRenderObjSetCallBack(&this->mUnk_094.mRenderObj, ActorBomb::func_ov031_020e1634, 0x0, 0x2, 0x2); - this->mUnk_17C = (VecFx32 *) &data_ov031_02110a10; + this->mUnk_17C = (VecFx32*) &data_ov031_02110a10; this->mUnk_1EF = true; } this->mUnk_164[0].mUnk_04 = 0x810; @@ -154,7 +154,7 @@ ActorBomb::ActorBomb() : void ActorBomb::func_ov031_020e17f4() {} bool ActorBomb::Init(unk32 param1) { - Sphere *pSphere = &this->mpProfile->mUnk_04; + Sphere* pSphere = &this->mpProfile->mUnk_04; this->mUnk_154.center = pSphere->center; this->mUnk_154.radius = pSphere->radius; @@ -188,7 +188,7 @@ void ActorBomb::func_ov031_020e1908() { this->mUnk_1F0 = true; } -void ActorBomb::func_ov031_020e1920(const VecFx32 *param1) { +void ActorBomb::func_ov031_020e1920(const VecFx32* param1) { VecFx32_Copy(param1, &this->mUnk_1CC); } @@ -203,7 +203,7 @@ void ActorBomb::func_ov031_020e193c() { data_027e0cec->func_ov000_020a0140(&this->mUnk_164[0], &sp0C); data_027e0cec->func_ov000_020a0140(&this->mUnk_164[1], &sp00); - for (ActorBomb_unk *ptr = this->mUnk_164; ptr != this->mUnk_164 + ARRAY_LEN(this->mUnk_164); ptr++) { + for (ActorBomb_unk* ptr = this->mUnk_164; ptr != this->mUnk_164 + ARRAY_LEN(this->mUnk_164); ptr++) { if (ptr->mUnk_00 != NULL) { ptr->mUnk_00->mUnk_24 &= ~0x8; } @@ -211,7 +211,7 @@ void ActorBomb::func_ov031_020e193c() { return; } - for (ActorBomb_unk *ptr = this->mUnk_164; ptr != this->mUnk_164 + ARRAY_LEN(this->mUnk_164); ptr++) { + for (ActorBomb_unk* ptr = this->mUnk_164; ptr != this->mUnk_164 + ARRAY_LEN(this->mUnk_164); ptr++) { ptr->func_ov000_020a0334(); } } @@ -256,7 +256,7 @@ void ActorBomb::vfunc_24() { } void ActorBomb::func_ov031_020e1b1c() { - UnkStruct_ov000_02058a84 *param1 = this->func_ov031_020e15d0(this->mUnk_5C.mParams[0]); + UnkStruct_ov000_02058a84* param1 = this->func_ov031_020e15d0(this->mUnk_5C.mParams[0]); BOOL var_r3; // weird but less weird than `func_ov019_020d0c90` @@ -403,7 +403,7 @@ void ActorBomb::func_ov031_020e1f18() { if (!this->mUnk_1F1) #endif { - ItemManager *itemManager = data_027e0ce0->mUnk_2C; + ItemManager* itemManager = data_027e0ce0->mUnk_2C; if (itemManager != NULL && itemManager->GetInventory()->GetBombAmount() > 0) { itemManager->GetInventory()->GiveBombs(-1); #if IS_JP @@ -511,14 +511,14 @@ void ActorBomb::func_ov031_020e2134() { void ActorBomb::vfunc_2C(unk32 param1) { if (!this->Actor::func_01fff5d0(param1, 0x0)) { - for (ActorBomb_unk *ptr = this->mUnk_164; ptr != this->mUnk_164 + ARRAY_LEN(this->mUnk_164); ptr++) { + for (ActorBomb_unk* ptr = this->mUnk_164; ptr != this->mUnk_164 + ARRAY_LEN(this->mUnk_164); ptr++) { ptr->func_ov000_020a0334(); } return; } if (!data_027e09b8->mUnk_97) { - for (ActorBomb_unk *ptr = this->mUnk_164; ptr != this->mUnk_164 + ARRAY_LEN(this->mUnk_164); ptr++) { + for (ActorBomb_unk* ptr = this->mUnk_164; ptr != this->mUnk_164 + ARRAY_LEN(this->mUnk_164); ptr++) { if (ptr->mUnk_00 != NULL) { ptr->mUnk_00->mUnk_24 |= 0x8; } @@ -526,7 +526,7 @@ void ActorBomb::vfunc_2C(unk32 param1) { return; } - for (ActorBomb_unk *ptr = this->mUnk_164; ptr != this->mUnk_164 + ARRAY_LEN(this->mUnk_164); ptr++) { + for (ActorBomb_unk* ptr = this->mUnk_164; ptr != this->mUnk_164 + ARRAY_LEN(this->mUnk_164); ptr++) { if (ptr->mUnk_00 != NULL) { ptr->mUnk_00->mUnk_24 &= ~0x8; } @@ -584,7 +584,7 @@ bool ActorBomb::Grab(ActorGrabParams grabParams) { this->Actor::Grab(grabParams); } -bool ActorBomb::Drop(ActorGrabParams grabParams, const VecFx32 *pVel) { +bool ActorBomb::Drop(ActorGrabParams grabParams, const VecFx32* pVel) { this->SetState(ActorBombState_2); this->mUnk_1E4 = this->mUnk_1E0; this->mUnk_1E0 = 0x0; @@ -604,7 +604,7 @@ bool ActorBomb::Drop(ActorGrabParams grabParams, const VecFx32 *pVel) { this->mPrevPos.x = sp0C.x; this->mPrevPos.z = sp0C.z; } else { - Actor *actor = gpActorManager->func_01fff3b4(grabParams.mUnk_00); + Actor* actor = gpActorManager->func_01fff3b4(grabParams.mUnk_00); if (actor != NULL) { VecFx32 sp00 = actor->mPos; @@ -637,7 +637,7 @@ bool ActorBomb::func_ov031_020e262c() { return true; } -void ActorBomb::func_ov031_020e2680(VecFx32 *param1) { +void ActorBomb::func_ov031_020e2680(VecFx32* param1) { if (this->mVel.y == FX_F32_TO_FX32(0.0f)) { return; } @@ -662,7 +662,7 @@ void ActorBomb::func_ov031_020e2680(VecFx32 *param1) { this->mVel.z = FX_MUL(sp00.z, FX_MUL(velLength, FX_F32_TO_FX32(0.2f))); } -void ActorBomb::func_ov031_020e2780(VecFx32 *param1) { +void ActorBomb::func_ov031_020e2780(VecFx32* param1) { VecFx32 sp00 = *param1; if (!VecFx32_TryNormalize(&sp00)) { @@ -679,7 +679,7 @@ void ActorBomb::func_ov031_020e2780(VecFx32 *param1) { this->mVel.z = ROUND_FX32(this->mVel.z * FX_F32_TO_FX32(0.75f)); } -fx32 ActorBomb::func_ov031_020e2820(UnkStruct_ov031_Items_00 *param1) { +fx32 ActorBomb::func_ov031_020e2820(UnkStruct_ov031_Items_00* param1) { UnkStruct_ov031_020e5d18_00 sp60; VecFx32 sp54; VecFx32 sp48; @@ -729,7 +729,7 @@ fx32 ActorBomb::func_ov031_020e2820(UnkStruct_ov031_Items_00 *param1) { return var_r11; } -fx32 ActorBomb::func_ov031_020e295c(UnkStruct_ov031_Items_00 *param1) { +fx32 ActorBomb::func_ov031_020e295c(UnkStruct_ov031_Items_00* param1) { UnkStruct_ov031_020e5d18_00 sp60; VecFx32 sp54; VecFx32 sp48; @@ -863,7 +863,7 @@ void ActorBomb::func_ov031_020e2c2c() { this->func_ov031_020e2780(&this->mUnk_180.mUnk_0C); } -ActorBomb_180::ActorBomb_180(Actor *param1) : +ActorBomb_180::ActorBomb_180(Actor* param1) : mUnk_08(param1) { VecFx32_Init(FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), &this->mUnk_0C); this->mUnk_18 = 0x0; @@ -873,7 +873,7 @@ ActorBomb_180::~ActorBomb_180() { this->mUnk_08 = NULL; } -bool ActorBomb_180::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool ActorBomb_180::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { if (((param1->mUnk_04->mUnk_24[param1->mUnk_00->mUnk_06] >> 0x19) & 0x01) == 0x01) { return false; } @@ -885,7 +885,7 @@ bool ActorBomb_180::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param return this->UnkStruct_ov031_Items_00::vfunc_08(param1, param2); } -bool ActorBomb_180::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, const VecFx32 *param4) { +bool ActorBomb_180::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, const VecFx32* param4) { MapObjRef sp54; VecFx32 sp24; VecFx32 sp18; @@ -910,7 +910,7 @@ bool ActorBomb_180::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, co sp54 = ref.moRef; sp0 = sp54.GetUnk02(); - MapObject *temp_r0 = gpMapObjManager->func_01fff498(sp0); + MapObject* temp_r0 = gpMapObjManager->func_01fff498(sp0); if (temp_r0 != NULL) { switch (temp_r0->GetMapObjectId()) { @@ -1039,11 +1039,11 @@ bool ActorBomb_180::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, co this->mUnk_18.data = ref.data; if (var_r5 != 0) { - if (((ActorBomb *) this->mUnk_08)->func_ov031_020e1d58()) { - ((ActorBomb *) this->mUnk_08)->func_ov031_020e2680(&sp24); + if (((ActorBomb*) this->mUnk_08)->func_ov031_020e1d58()) { + ((ActorBomb*) this->mUnk_08)->func_ov031_020e2680(&sp24); } } else { - ((ActorBomb *) this->mUnk_08)->func_ov031_020e2780(&sp24); + ((ActorBomb*) this->mUnk_08)->func_ov031_020e2780(&sp24); } return true; @@ -1051,17 +1051,17 @@ bool ActorBomb_180::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, co bool ActorBomb_180::vfunc_10(RefStruct param1, unk32 param2) { if (param1.common.type == 0x1) { - Actor *actor = gpActorManager->func_01fff3b4(param1); + Actor* actor = gpActorManager->func_01fff3b4(param1); if (actor != NULL && actor->GetActorId() == ActorId_Bomb) { ActorBlast::func_ov031_020e3b9c(this->mUnk_08, 0x0, 0x0); this->mUnk_08->func_ov000_020984d0(); - ((ActorBomb *) actor)->SetState(ActorBombState_5); + ((ActorBomb*) actor)->SetState(ActorBombState_5); } } return true; } -bool ActorBomb_ov031_020e2134::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool ActorBomb_ov031_020e2134::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { // the cast is required otherwise the compiler will ignore that condition since it's always false //! TODO: is this a macro/inline? if ((s32) ((param1->mUnk_04->mUnk_24[param1->mUnk_00->mUnk_06] >> 0x09) & 0x07) == 0x0A) { @@ -1071,13 +1071,13 @@ bool ActorBomb_ov031_020e2134::vfunc_08(const UnkStruct_ov031_020f3310 *param1, return this->UnkStruct_ov031_Items_00::vfunc_08(param1, param2); } -ActorBomb_19C::ActorBomb_19C(Actor *param1) : +ActorBomb_19C::ActorBomb_19C(Actor* param1) : mUnk_2C(param1) {} -void ActorBomb_19C::vfunc_10(const Actor *actor) { +void ActorBomb_19C::vfunc_10(const Actor* actor) { #pragma unused(actor) - Actor *bomb = this->mUnk_2C; + Actor* bomb = this->mUnk_2C; if (!GET_FLAG(bomb->mFlags, ActorFlag_Alive)) { return; diff --git a/src/031_Land/Actor/ActorCharacter.cpp b/src/031_Land/Actor/ActorCharacter.cpp index 7f4b74882..db5763c9a 100644 --- a/src/031_Land/Actor/ActorCharacter.cpp +++ b/src/031_Land/Actor/ActorCharacter.cpp @@ -30,7 +30,7 @@ static PTMF data_ov031_02113218[ActorCharacterState_Max] = { &ActorCharacter::vfunc_0DC, // ActorCharacterState_8 }; -ActorCharacter::ActorCharacter(ModelRender *param1, UnkStruct_ov000_020b31f0 *param2) : +ActorCharacter::ActorCharacter(ModelRender* param1, UnkStruct_ov000_020b31f0* param2) : Actor_Derived1(param1, param2), mUnk_120(0x64), mUnk_122(0xC8), @@ -49,7 +49,7 @@ ActorCharacter::ActorCharacter(ModelRender *param1, UnkStruct_ov000_020b31f0 *pa ActorCharacter::~ActorCharacter() {} -ActorCharacter_12C::ActorCharacter_12C(ActorCharacter *param1) : +ActorCharacter_12C::ActorCharacter_12C(ActorCharacter* param1) : mUnk_08(param1), mUnk_0C(0, 0, 0) {} @@ -58,7 +58,7 @@ ActorCharacter_12C::~ActorCharacter_12C() { } // non-matching -bool ActorCharacter_12C::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool ActorCharacter_12C::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { #pragma unused(param2) if (param1->mUnk_08.y > FX_F32_TO_FX32(0.0f)) { return true; @@ -76,8 +76,8 @@ bool ActorCharacter_12C::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 return true; } // non-matching -bool ActorCharacter_12C::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) {} +bool ActorCharacter_12C::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) {} void ActorCharacter::vfunc_AC() { this->mUnk_4A[0] = 0x5; @@ -381,7 +381,7 @@ void ActorCharacter::vfunc_110() { for (unk32 index = 0x0; index < 2; ++index) { if (this->mUnk_094.mUnk_0C->vfunc_28()->func_02015080(this->mUnk_15C[index]) == 0x0) { u32 sp4; - u32 *sp4Ptr = &sp4; + u32* sp4Ptr = &sp4; func_01fff05c(sp4Ptr, gpCourseManager->mpMapMgr, &this->mPos); data_027e09a8->func_ov000_02071934(*sp4Ptr & 0x1F, &this->mPos, this->Actor::GetActorId(), index != 0); return; diff --git a/src/031_Land/Actor/ActorHeart.cpp b/src/031_Land/Actor/ActorHeart.cpp index a7fe5fa5b..6dee18eff 100644 --- a/src/031_Land/Actor/ActorHeart.cpp +++ b/src/031_Land/Actor/ActorHeart.cpp @@ -32,7 +32,7 @@ static PTMF data_ov031_02113d74[ActorHeartState_Max] = { DECL_PROFILE(ActorProfileHeart); -Actor *ActorProfileHeart::Create() { +Actor* ActorProfileHeart::Create() { return new(HeapIndex_2) ActorHeart(); } @@ -41,7 +41,7 @@ ActorProfileHeart::ActorProfileHeart() : this->mUnk_04.Init(FX_F32_TO_FX32(0.25)); } -void ActorHeart::func_ov031_020eed64(RefStruct *pOutRef, const VecFx32 *pPos, u32 params, RefStruct ref) { +void ActorHeart::func_ov031_020eed64(RefStruct* pOutRef, const VecFx32* pPos, u32 params, RefStruct ref) { ActorParams actorParams; actorParams.mUnk_28.Reset(); @@ -78,7 +78,7 @@ ActorHeart::ActorHeart() : func_01ffedac(&sp0, &this->mPos); if (gpCourseManager->mpMapMgr->func_ov000_02080180(&sp0) == 0x5) { - this->mUnk_34 = (Sphere *) &data_ov031_02113d64; + this->mUnk_34 = (Sphere*) &data_ov031_02113d64; } } @@ -99,7 +99,7 @@ void ActorHeart::Update() { sp2.y = 0x666; sp2.z = -0x4CD; - unk16 *psp0 = (unk16 *) &sp0; + unk16* psp0 = (unk16*) &sp0; func_01fff17c(psp0, data_027e0ce0, 0); func_02018114(&sp2.x, *psp0); @@ -306,7 +306,7 @@ typedef struct { void ActorHeart::func_ov031_020ef458() { // which actor is this ? - UnkActor_02ef458 *actor = (UnkActor_02ef458 *) gpActorManager->func_01fff3b4(this->mUnk_C4); + UnkActor_02ef458* actor = (UnkActor_02ef458*) gpActorManager->func_01fff3b4(this->mUnk_C4); if (actor == nullptr) { this->SetState(ActorHeartState_FallingDown); return; @@ -403,7 +403,7 @@ void ActorHeart::func_ov031_020ef698() { } } -ActorHeart_C4::ActorHeart_C4(Actor *param1) : +ActorHeart_C4::ActorHeart_C4(Actor* param1) : Actor_C4(param1) { this->mUnk_20 = param1; this->mUnk_04 = 1; @@ -411,7 +411,7 @@ ActorHeart_C4::ActorHeart_C4(Actor *param1) : bool ActorHeart_C4::vfunc_00(RefStruct ref, unk32 param3) { if (param3 != 0) { - ActorHeart *pHeart = this->GetActorPtr(); + ActorHeart* pHeart = this->GetActorPtr(); pHeart->mUnk_C4 = ref; pHeart->SetState(ActorHeartState_Sliding); } @@ -424,7 +424,7 @@ bool ActorHeart_C4::vfunc_04() { return this->Actor_C4::vfunc_04(); } -void ActorHeart_C4::vfunc_0C(VecFx32 *param1) { +void ActorHeart_C4::vfunc_0C(VecFx32* param1) { this->GetActorPtr()->SetState(ActorHeartState_FallingDown); this->Actor_C4::vfunc_0C(param1); } diff --git a/src/031_Land/Actor/ActorItemBoomerang.cpp b/src/031_Land/Actor/ActorItemBoomerang.cpp index 44e6902a1..b0dd38c72 100644 --- a/src/031_Land/Actor/ActorItemBoomerang.cpp +++ b/src/031_Land/Actor/ActorItemBoomerang.cpp @@ -18,15 +18,15 @@ DECL_PROFILE(ActorProfileItemBoomerang); -Actor *ActorProfileItemBoomerang::Create() { +Actor* ActorProfileItemBoomerang::Create() { return new(HeapIndex_2) ActorItemBoomerang(); } ActorProfileItemBoomerang::ActorProfileItemBoomerang() : ActorProfile(ActorId_ItemBoomerang) {} -static inline G3d_Model *GetModel() { - UnkStruct_027e0ce0_1C *ptr = data_027e0ce0->mUnk_1C; +static inline G3d_Model* GetModel() { + UnkStruct_027e0ce0_1C* ptr = data_027e0ce0->mUnk_1C; return ptr->func_ov000_0208ed30(0x0, 0x1, ItemManager::func_ov000_020a8974(ItemFlag_Boomerang)->mUnk_10); } @@ -104,7 +104,7 @@ void ActorItemBoomerang::Update() { STACK_PAD(0x04); - VecFx32 *temp_r0 = &this->mPos; + VecFx32* temp_r0 = &this->mPos; VecFx32_Copy(&this->mPos, &this->mPrevPos); VEC_Add(temp_r0, &this->mVel, temp_r0); @@ -151,7 +151,7 @@ void ActorItemBoomerang::Update() { sp14.Reset(); - if (!data_027e0d2c->func_ov031_020d962c(&this->mPos, 0x4CD, &sp6C, (RefStruct *) &sp14)) { + if (!data_027e0d2c->func_ov031_020d962c(&this->mPos, 0x4CD, &sp6C, (RefStruct*) &sp14)) { this->SetState(ActorItemBoomerangState_ReturningToLink); } else { @@ -178,7 +178,7 @@ void ActorItemBoomerang::Update() { sp20 = sp14.moRef; spE = sp20.GetUnk02(); - MapObject *temp_r0_5 = gpMapObjManager->func_01fff498(spE); + MapObject* temp_r0_5 = gpMapObjManager->func_01fff498(spE); if (temp_r0_5 == NULL) { return; @@ -234,10 +234,10 @@ void ActorItemBoomerang::Update() { if (this->mUnk_128 == 0x2) { func_01ffedac(&spC, &sp3C); - MapObject *object = gpMapObjManager->func_01fff498(spC); + MapObject* object = gpMapObjManager->func_01fff498(spC); if (object != NULL && object->GetMapObjectId() == MapObjectId_ICEB) { - ((MapObjectUnkICEB *) object)->func_ov094_02174870(); + ((MapObjectUnkICEB*) object)->func_ov094_02174870(); } } data_027e0d2c->func_ov031_020d95b4(); @@ -262,7 +262,7 @@ void ActorItemBoomerang::func_ov031_020e5034(unk32 param1) { return; } this->mUnk_128 = param1; - UnkSystem7 *ptr = NULL; + UnkSystem7* ptr = NULL; switch (this->mUnk_128) { case 0x1: @@ -327,8 +327,8 @@ void ActorItemBoomerang::func_ov031_020e5220() { void ActorItemBoomerang::func_ov031_020e52a0() { if (!(this->mUnk_128 != 0x1 && this->mUnk_128 != 0x2)) { - for (UnkSystem7 *ptr = this->mUnk_12C; ptr != &this->mUnk_12C[ARRAY_LEN(this->mUnk_12C)]; ++ptr) { - UnkSystem7_UnkStruct_00 *data = ptr->mUnk_00; + for (UnkSystem7* ptr = this->mUnk_12C; ptr != &this->mUnk_12C[ARRAY_LEN(this->mUnk_12C)]; ++ptr) { + UnkSystem7_UnkStruct_00* data = ptr->mUnk_00; if (data != NULL) { data->mUnk_28.x = this->mPos.x + data->mUnk_20->mUnk_00->mUnk_04.x; @@ -337,7 +337,7 @@ void ActorItemBoomerang::func_ov031_020e52a0() { } } } else { - for (UnkSystem7 *ptr = this->mUnk_12C; ptr != &this->mUnk_12C[ARRAY_LEN(this->mUnk_12C)]; ++ptr) { + for (UnkSystem7* ptr = this->mUnk_12C; ptr != &this->mUnk_12C[ARRAY_LEN(this->mUnk_12C)]; ++ptr) { ptr->func_ov000_020a0334(); } } @@ -351,19 +351,19 @@ void ActorItemBoomerang::vfunc_2C(unk32 param1) { } } -void ActorItemBoomerang_A0::vfunc_10(const Actor *actor) { +void ActorItemBoomerang_A0::vfunc_10(const Actor* actor) { data_027e0d2c->func_ov031_020d95c8(actor->mRef); } -void ActorItemBoomerang_CC::vfunc_10(const Actor *actor) { +void ActorItemBoomerang_CC::vfunc_10(const Actor* actor) { data_027e0d2c->func_ov031_020d95c8(actor->mRef); } -bool ActorItemBoomerang_CC::vfunc_0C(Actor *actor, VecFx32 *param2) { +bool ActorItemBoomerang_CC::vfunc_0C(Actor* actor, VecFx32* param2) { if (actor != NULL) { - u32 refData = *(vu32 *) &this->mUnk_2C; + u32 refData = *(vu32*) &this->mUnk_2C; - if (*(u32 *) &actor->mRef == refData && VecFx32_IsCleared(&actor->mVel)) { + if (*(u32*) &actor->mRef == refData && VecFx32_IsCleared(&actor->mVel)) { this->mUnk_2C.Reset(); return UnkStruct_ov031_Items_01::vfunc_0C(actor, param2); } @@ -379,12 +379,12 @@ void Sphere::func_ov031_020e45fc() { this->radius = FX_F32_TO_FX32(0.3f); } -ActorItemBoomerang_11C::ActorItemBoomerang_11C(ActorItemBoomerang *param1) : +ActorItemBoomerang_11C::ActorItemBoomerang_11C(ActorItemBoomerang* param1) : mUnk_08(param1) {} ActorItemBoomerang_11C::~ActorItemBoomerang_11C() {} -bool ActorItemBoomerang_11C::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool ActorItemBoomerang_11C::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { u32 var = param1->mUnk_04->mUnk_24[param1->mUnk_00->mUnk_06]; if (((var >> 0x18) & 1) == 1) { @@ -394,8 +394,8 @@ bool ActorItemBoomerang_11C::vfunc_08(const UnkStruct_ov031_020f3310 *param1, un return this->UnkStruct_ov031_Items_00::vfunc_08(param1, param2); } -bool ActorItemBoomerang_11C::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) { +bool ActorItemBoomerang_11C::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) { u32 val = (param2->mUnk_08 >> 9) & 7; if (val == 0x2) { @@ -413,7 +413,7 @@ bool ActorItemBoomerang_11C::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *p MapObjRef moRef = ref.moRef; Vec2bCpp pos = moRef.GetUnk02(); - MapObject *mapObject = gpMapObjManager->func_01fff498(pos); + MapObject* mapObject = gpMapObjManager->func_01fff498(pos); if (mapObject == NULL) { return false; @@ -435,7 +435,7 @@ bool ActorItemBoomerang_11C::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *p MapObjRef moRef = ref.moRef; Vec2bCpp pos = moRef.GetUnk02(); - MapObject *mapObject = gpMapObjManager->func_01fff498(pos); + MapObject* mapObject = gpMapObjManager->func_01fff498(pos); if (mapObject == NULL) { return false; @@ -444,7 +444,7 @@ bool ActorItemBoomerang_11C::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *p switch (mapObject->GetMapObjectId()) { case MapObjectId_Torch: case MapObjectId_SWHT: - data_027e0d2c->func_ov031_020d95c8(*(RefStruct *) &ref); //! TODO: ref conflicts + data_027e0d2c->func_ov031_020d95c8(*(RefStruct*) &ref); //! TODO: ref conflicts case MapObjectId_Pot: mapObject->vfunc_1C(this->mUnk_08->mRef, 0xC, &this->mUnk_08->mVel); return false; diff --git a/src/031_Land/Actor/ActorItemDrop.cpp b/src/031_Land/Actor/ActorItemDrop.cpp index 8fcbad2ca..a717b91bd 100644 --- a/src/031_Land/Actor/ActorItemDrop.cpp +++ b/src/031_Land/Actor/ActorItemDrop.cpp @@ -27,7 +27,7 @@ static const u32 data_ov031_02110bc8[] = { DECL_PROFILE(ActorProfileArrowDrop); -Actor *ActorProfileArrowDrop::Create() { +Actor* ActorProfileArrowDrop::Create() { return new(HeapIndex_2) ActorItemDrop(); } @@ -38,7 +38,7 @@ ActorProfileArrowDrop::ActorProfileArrowDrop() : DECL_PROFILE(ActorProfileBombDrop); -Actor *ActorProfileBombDrop::Create() { +Actor* ActorProfileBombDrop::Create() { return new(HeapIndex_2) ActorItemDrop(); } @@ -49,7 +49,7 @@ ActorProfileBombDrop::ActorProfileBombDrop() : DECL_PROFILE(ActorProfileRedPotionDrop); -Actor *ActorProfileRedPotionDrop::Create() { +Actor* ActorProfileRedPotionDrop::Create() { return new(HeapIndex_2) ActorItemDrop(); } @@ -60,7 +60,7 @@ ActorProfileRedPotionDrop::ActorProfileRedPotionDrop() : DECL_PROFILE(ActorProfileTreasureDrop); -Actor *ActorProfileTreasureDrop::Create() { +Actor* ActorProfileTreasureDrop::Create() { return new(HeapIndex_2) ActorItemDrop(); } @@ -69,7 +69,7 @@ ActorProfileTreasureDrop::ActorProfileTreasureDrop() : this->mUnk_04.Init(0x400); } -void ActorItemDrop::func_ov031_020f9f8c(RefStruct *pOutRef, const VecFx32 *pPos, u32 params, RefStruct ref) { +void ActorItemDrop::func_ov031_020f9f8c(RefStruct* pOutRef, const VecFx32* pPos, u32 params, RefStruct ref) { ActorParams actorParams; actorParams.mUnk_28.Reset(); @@ -164,7 +164,7 @@ ActorItemDrop::ActorItemDrop() : func_01ffedac(&sp0, &this->mPos); if (gpCourseManager->mpMapMgr->func_ov000_02080180(&sp0) == 0x5) { - this->mUnk_34 = (Sphere *) &data_ov031_02114ba0; + this->mUnk_34 = (Sphere*) &data_ov031_02114ba0; } } @@ -392,7 +392,7 @@ class UnkActor_ov031_020fa678 : public Actor { }; void ActorItemDrop::func_ov031_020fa678() { - UnkActor_ov031_020fa678 *actor = (UnkActor_ov031_020fa678 *) gpActorManager->func_01fff3b4(this->mUnk_E0); + UnkActor_ov031_020fa678* actor = (UnkActor_ov031_020fa678*) gpActorManager->func_01fff3b4(this->mUnk_E0); if (actor == NULL) { this->SetState(ActorItemDropState_1); @@ -517,7 +517,7 @@ void ActorItemDrop::func_ov031_020fa900() { } } -ActorItemDrop_C4::ActorItemDrop_C4(Actor *param1) : +ActorItemDrop_C4::ActorItemDrop_C4(Actor* param1) : Actor_C4(param1) { this->mUnk_20 = param1; this->mUnk_04 = 0x1; @@ -525,7 +525,7 @@ ActorItemDrop_C4::ActorItemDrop_C4(Actor *param1) : bool ActorItemDrop_C4::vfunc_00(RefStruct ref, unk32 param2) { if (param2 != 0) { - ActorItemDrop *actorDroppedItem = this->GetActorPtr(); + ActorItemDrop* actorDroppedItem = this->GetActorPtr(); actorDroppedItem->mUnk_E0 = ref; actorDroppedItem->SetState(ActorItemDropState_4); } @@ -538,7 +538,7 @@ bool ActorItemDrop_C4::vfunc_04() { return Actor_C4::vfunc_04(); } -void ActorItemDrop_C4::vfunc_0C(VecFx32 *param1) { +void ActorItemDrop_C4::vfunc_0C(VecFx32* param1) { this->GetActorPtr()->SetState(ActorItemDropState_1); Actor_C4::vfunc_0C(param1); } diff --git a/src/031_Land/Actor/ActorItemFlower.cpp b/src/031_Land/Actor/ActorItemFlower.cpp index abe77b5cf..53c2fb791 100644 --- a/src/031_Land/Actor/ActorItemFlower.cpp +++ b/src/031_Land/Actor/ActorItemFlower.cpp @@ -31,7 +31,7 @@ static PTMF data_ov031_02114174[ActorItemFlowerState_Max] = { DECL_PROFILE(ActorProfileItemFlower); -Actor *ActorProfileItemFlower::Create() { +Actor* ActorProfileItemFlower::Create() { return new(HeapIndex_2) ActorItemFlower(); } diff --git a/src/031_Land/Actor/ActorItemTornado.cpp b/src/031_Land/Actor/ActorItemTornado.cpp index 487d5d7fa..ff7f90696 100644 --- a/src/031_Land/Actor/ActorItemTornado.cpp +++ b/src/031_Land/Actor/ActorItemTornado.cpp @@ -20,13 +20,13 @@ static const char data_ov031_02110a88[16] = "ef_tsumuji"; static const Sphere data_ov031_02112fdc(0, FX_F32_TO_FX32(0.85f), 0, FX_F32_TO_FX32(0.8f)); -bool UnkStruct_ov031_02112ff4::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool UnkStruct_ov031_02112ff4::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { #pragma unused(param2) return ((param1->mUnk_04->mUnk_24[param1->mUnk_00->mUnk_06] >> 0x1A) & 0x01) != 0x01; } -bool UnkStruct_ov031_02112ff4::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) { +bool UnkStruct_ov031_02112ff4::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) { #pragma unused(param3, param4) if (((param2->mUnk_08 >> 0x1A) & 0x01) == 0x01) { @@ -37,11 +37,11 @@ bool UnkStruct_ov031_02112ff4::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 MapObjRef sp4 = ref.moRef; Vec2bCpp sp0 = sp4.GetUnk02(); - MapObject *temp_r5 = gpMapObjManager->func_01fff498(sp0); + MapObject* temp_r5 = gpMapObjManager->func_01fff498(sp0); switch (temp_r5->GetMapObjectId()) { case MapObjectId_SWWN: - ((ActorItemTornado *) this->mUnk_04)->func_ov031_020e6340(&temp_r5->mPos, 0x32, 0x04); + ((ActorItemTornado*) this->mUnk_04)->func_ov031_020e6340(&temp_r5->mPos, 0x32, 0x04); break; case MapObjectId_STNE: case MapObjectId_Pot: @@ -57,13 +57,13 @@ bool UnkStruct_ov031_02112ff4::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 void ActorItemTornado_17C::vfunc_00(unk32 param1, unk32 param2) { #pragma unused(param1, param2) - ActorItemTornado *pActor = (ActorItemTornado *) this->mUnk_14; //! TODO: conflicting types + ActorItemTornado* pActor = (ActorItemTornado*) this->mUnk_14; //! TODO: conflicting types pActor->mUnk_94.func_01ffc5a0(pActor->mUnk_1DC, pActor->mAngle, &this->mUnk_04); } DECL_PROFILE(ActorProfileItemTornado); -Actor *ActorProfileItemTornado::Create() { +Actor* ActorProfileItemTornado::Create() { return new(HeapIndex_2) ActorItemTornado(); } @@ -78,7 +78,7 @@ ActorItemTornado::ActorItemTornado() : mUnk_F4(data_027e0ce0->mUnk_1C->func_ov000_0208ee94(0x00, 0x01, data_ov031_02110a88, 0x00), this->mUnk_94.mpModel), mUnk_134(data_027e0ce0->mUnk_1C->func_ov000_0208ee94(0x00, 0x01, data_ov031_02110a88, 0x02), this->mUnk_94.mpModel), mUnk_174(this), - mUnk_17C((LinkStateBase *) this), //! TODO: conflicting type + mUnk_17C((LinkStateBase*) this), //! TODO: conflicting type mUnk_1C0(0, 0, 0), mUnk_1CC(0x00), mUnk_1CE(false), @@ -103,7 +103,7 @@ bool ActorItemTornado::Init(unk32 param1) { this->mUnk_44 = 0x1F; - this->mUnk_34 = (Sphere *) &data_ov031_02112fdc; + this->mUnk_34 = (Sphere*) &data_ov031_02112fdc; this->mUnk_194.mUnk_04 = this->mRef; this->mUnk_194.mUnk_0C.Init(this->mPos.x, this->mPos.y + FX_F32_TO_FX32(0.85f), this->mPos.z, FX_F32_TO_FX32(0.8f)); @@ -124,7 +124,7 @@ void ActorItemTornado::SetState(ActorState state) { case ActorItemTornadoState_Ending: data_027e09a8->func_ov000_02071b30(0x8D6D, &this->mPos, 0x0); - for (UnkSystem7 *ptr = this->mUnk_1E0; ptr != &this->mUnk_1E0[ARRAY_LEN(this->mUnk_1E0)]; ++ptr) { + for (UnkSystem7* ptr = this->mUnk_1E0; ptr != &this->mUnk_1E0[ARRAY_LEN(this->mUnk_1E0)]; ++ptr) { ptr->func_ov000_020a0334(); } @@ -171,8 +171,8 @@ void ActorItemTornado::func_ov031_020e5d18(unk32 param1) { case ActorItemTornadoState_Moving: data_027e09a8->func_ov000_02071d34(&this->mRef, 0x8D6C, &this->mPos, 0x0); - for (UnkSystem7 *ptr = this->mUnk_1E0; ptr != &this->mUnk_1E0[ARRAY_LEN(this->mUnk_1E0)]; ++ptr) { - UnkSystem7_UnkStruct_00 *data = ptr->mUnk_00; + for (UnkSystem7* ptr = this->mUnk_1E0; ptr != &this->mUnk_1E0[ARRAY_LEN(this->mUnk_1E0)]; ++ptr) { + UnkSystem7_UnkStruct_00* data = ptr->mUnk_00; if (data != NULL) { data->mUnk_28.x = this->mPos.x + data->mUnk_20->mUnk_00->mUnk_04.x; @@ -298,7 +298,7 @@ void ActorItemTornado::vfunc_2C(unk32 param1) { } u32 var_r7; - G3d_Model *var_r8 = this->mUnk_94.mpModel; + G3d_Model* var_r8 = this->mUnk_94.mpModel; func_0200ef9c(var_r8, var_r1); for (var_r7 = 0x0; var_r7 < this->mUnk_1D1; ++var_r7) { @@ -334,7 +334,7 @@ bool ActorItemTornado::func_ov031_020e6314(u16 param1) { return true; } -bool ActorItemTornado::func_ov031_020e6340(const VecFx32 *param1, unk16 param2, unk16 param3) { +bool ActorItemTornado::func_ov031_020e6340(const VecFx32* param1, unk16 param2, unk16 param3) { if (this->mState == ActorItemTornadoState_Ending) { return false; } diff --git a/src/031_Land/Actor/ActorPot.cpp b/src/031_Land/Actor/ActorPot.cpp index 956aa471c..95da1fc78 100644 --- a/src/031_Land/Actor/ActorPot.cpp +++ b/src/031_Land/Actor/ActorPot.cpp @@ -30,7 +30,7 @@ static PTMF data_ov031_02114060[ActorPotState_Max] = { DECL_PROFILE(ActorProfilePot); -Actor *ActorProfilePot::Create() { +Actor* ActorProfilePot::Create() { return new(HeapIndex_2) ActorPot(); } diff --git a/src/031_Land/Actor/ActorRollingStone.cpp b/src/031_Land/Actor/ActorRollingStone.cpp index d887c6d6d..3ae270a81 100644 --- a/src/031_Land/Actor/ActorRollingStone.cpp +++ b/src/031_Land/Actor/ActorRollingStone.cpp @@ -53,7 +53,7 @@ static PTMF data_ov031_02114aec[ActorRollingStoneState_Max] = DECL_PROFILE(ActorProfileRollingStone); -Actor *ActorProfileRollingStone::Create() { +Actor* ActorProfileRollingStone::Create() { return new(HeapIndex_2) ActorRollingStone(); } @@ -62,8 +62,8 @@ ActorProfileRollingStone::ActorProfileRollingStone() : this->mUnk_04.Init(FX_F32_TO_FX32(0.8f)); } -bool ActorRollingStone_104::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) { +bool ActorRollingStone_104::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) { #pragma unused(param2, param3, param4) bool var_r2 = true; @@ -77,7 +77,7 @@ bool ActorRollingStone_104::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *pa bool ActorRollingStone_104::vfunc_10(RefStruct param1, unk32 param2) { if (param1.common.type != 0x0) { - Actor *actor = gpActorManager->func_01fff3b4(param1); + Actor* actor = gpActorManager->func_01fff3b4(param1); if (actor != NULL) { switch (actor->GetActorId()) { case ActorId_CASE: @@ -93,10 +93,10 @@ bool ActorRollingStone_104::vfunc_10(RefStruct param1, unk32 param2) { return this->UnkStruct_027e0ce0_38_Base::vfunc_10(param1, param2); } -void ActorRollingStone_D4::vfunc_10(const Actor *actor) { - if (((Actor *) actor)->GetActorId() == ActorId_RollingStone) { +void ActorRollingStone_D4::vfunc_10(const Actor* actor) { + if (((Actor*) actor)->GetActorId() == ActorId_RollingStone) { this->mUnk_2C->SetState(ActorRollingStoneState_6); - ((ActorRollingStone *) actor)->SetState(ActorRollingStoneState_6); + ((ActorRollingStone*) actor)->SetState(ActorRollingStoneState_6); } } @@ -119,7 +119,7 @@ ActorRollingStone::ActorRollingStone() : this->mUnk_44 = 0x9F; - this->mUnk_38 = (Actor_38 *) &this->mUnk_A0; + this->mUnk_38 = (Actor_38*) &this->mUnk_A0; this->mUnk_38->mUnk_08 = 0x3; } @@ -373,7 +373,7 @@ void ActorRollingStone::func_ov031_020f8de8() { } void ActorRollingStone::func_ov031_020f8ed4() { - for (UnkSystem7 *ptr = this->mUnk_130; ptr != &this->mUnk_130[ARRAY_LEN(this->mUnk_130)]; ++ptr) { + for (UnkSystem7* ptr = this->mUnk_130; ptr != &this->mUnk_130[ARRAY_LEN(this->mUnk_130)]; ++ptr) { ptr->func_ov000_020a0334(); } this->func_ov031_020f8880(); @@ -501,7 +501,7 @@ void ActorRollingStone::func_ov031_020f9250() { this->vfunc_40(); this->mUnk_2C = 0x0; - for (UnkSystem7 *ptr = this->mUnk_130; ptr != &this->mUnk_130[ARRAY_LEN(this->mUnk_130)]; ++ptr) { + for (UnkSystem7* ptr = this->mUnk_130; ptr != &this->mUnk_130[ARRAY_LEN(this->mUnk_130)]; ++ptr) { ptr->func_ov000_020a0334(); } @@ -755,13 +755,13 @@ void ActorRollingStone::func_ov031_020f98e4() { void ActorRollingStone::func_ov031_020f9af4() {} void ActorRollingStone::func_ov031_020f9af8() { - UnkSystem7 *ptr; + UnkSystem7* ptr; fx32 x = this->mPos.x; fx32 y = this->mPos.y + FX_F32_TO_FX32(0.4f); fx32 z = this->mPos.z; for (ptr = this->mUnk_130; ptr != &this->mUnk_130[ARRAY_LEN(this->mUnk_130)]; ptr++) { - UnkSystem7_UnkStruct_00 *data = ptr->mUnk_00; + UnkSystem7_UnkStruct_00* data = ptr->mUnk_00; if (data != NULL) { data->mUnk_28.x = x + data->mUnk_20->mUnk_00->mUnk_04.x; @@ -779,7 +779,7 @@ bool ActorRollingStone::func_ov031_020f9ba4() { VecFx32 sp0; if (!data_027e0ce0->func_01fff1a4()) { - VecFx32 *pVec = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* pVec = data_027e0ce0->func_01fff148(PlayerType_Link); VecFx32 temp; temp.x = this->mPos.x - pVec->x; @@ -793,8 +793,8 @@ bool ActorRollingStone::func_ov031_020f9ba4() { return VEC_Mag(&sp18) > FX_F32_TO_FX32(8.0f); } - VecFx32 *pVec1 = data_027e0ce0->func_01fff148(PlayerType_Link); - VecFx32 *pVec2 = data_027e0ce0->func_01fff148(PlayerType_Zelda); + VecFx32* pVec1 = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* pVec2 = data_027e0ce0->func_01fff148(PlayerType_Zelda); fx32 new_var; diff --git a/src/031_Land/Actor/ActorRupee.cpp b/src/031_Land/Actor/ActorRupee.cpp index fa794d7d3..97a4ae541 100644 --- a/src/031_Land/Actor/ActorRupee.cpp +++ b/src/031_Land/Actor/ActorRupee.cpp @@ -45,7 +45,7 @@ extern Sphere data_ov031_02113478; DECL_PROFILE(ActorProfileRupee); -Actor *ActorProfileRupee::Create() { +Actor* ActorProfileRupee::Create() { return new(HeapIndex_2) ActorRupee(); } @@ -57,7 +57,7 @@ ActorProfileRupee::ActorProfileRupee() : this->mUnk_04.radius = 0x556; } -void ActorRupee::func_ov031_020e8d2c(RefStruct *pOutRef, const VecFx32 *pPos, u32 params, u32 unk_2C, RefStruct ref) { +void ActorRupee::func_ov031_020e8d2c(RefStruct* pOutRef, const VecFx32* pPos, u32 params, u32 unk_2C, RefStruct ref) { ActorParams actorParams; actorParams.mUnk_28.Reset(); @@ -201,7 +201,7 @@ void ActorRupee::func_ov031_020e9068() { this->SetState(ActorRupeeState_5); break; default: { - ItemManager *pItemManager = data_027e0ce0->mUnk_2C; + ItemManager* pItemManager = data_027e0ce0->mUnk_2C; pItemManager->GetInventory()->GiveRupees(func_02017158(), false, true); var_r4 = true; break; @@ -421,7 +421,7 @@ void ActorRupee::func_ov031_020e95b0() { // non-matching void ActorRupee::func_ov031_020e95c0() { - Actor *pActor; + Actor* pActor; pActor = gpActorManager->func_01fff3b4(this->mUnk_C0); if (pActor == NULL) { @@ -486,9 +486,9 @@ void ActorRupee::func_ov031_020e970c() { void ActorRupee::func_ov031_020e9740() { Vec2bCpp sp0; unk32 sp4; - unk32 *psp4; + unk32* psp4; s32 temp_r2; - MapManagerBase *temp_r0; + MapManagerBase* temp_r0; func_01ffedac(&sp0, &this->mPos); sp4 = 0; @@ -599,7 +599,7 @@ void ActorRupee::Update() { uVar3 = uStack_18; if ((this->mUnk_9C.mUnk_08 & 0x3FFFF) != 0) { - sVar1 = *(short *) &this->mUnk_9C.mUnk_1C; + sVar1 = *(short*) &this->mUnk_9C.mUnk_1C; switch (this->mUnk_9C.mUnk_1C) { case 0x08: @@ -815,7 +815,7 @@ bool ActorRupee::func_ov031_020e9e5c() { return bVar7; } -ActorRupee_C4::ActorRupee_C4(Actor *param1) : +ActorRupee_C4::ActorRupee_C4(Actor* param1) : Actor_C4(param1) { this->mUnk_20 = param1; this->mUnk_04 = 1; @@ -823,7 +823,7 @@ ActorRupee_C4::ActorRupee_C4(Actor *param1) : bool ActorRupee_C4::vfunc_00(RefStruct ref, unk32 param2) { if (param2 != 0) { - ActorRupee *pRupee = this->GetActorPtr(); + ActorRupee* pRupee = this->GetActorPtr(); pRupee->mUnk_C0 = ref.Get32(); pRupee->SetState(ActorRupeeState_7); } @@ -836,7 +836,7 @@ bool ActorRupee_C4::vfunc_04() { return this->Actor_C4::vfunc_04(); } -void ActorRupee_C4::vfunc_0C(VecFx32 *param1) { +void ActorRupee_C4::vfunc_0C(VecFx32* param1) { this->GetActorPtr()->SetState(ActorRupeeState_1); this->Actor_C4::vfunc_0C(param1); } diff --git a/src/031_Land/Actor/ActorShotArrow.cpp b/src/031_Land/Actor/ActorShotArrow.cpp index 5d8bbc30b..c25546d94 100644 --- a/src/031_Land/Actor/ActorShotArrow.cpp +++ b/src/031_Land/Actor/ActorShotArrow.cpp @@ -39,7 +39,7 @@ extern char data_ov031_02110b5c[0x14]; // = "ef_arrowB"; extern char data_ov031_02110b08[0x34]; // = "ef_arrowB"; extern MtxFx43 data_027e0964; -extern ActorUnkIWTS *data_027e0d80; +extern ActorUnkIWTS* data_027e0d80; extern bool data_ov073_02163fe0; struct UnkStruct_ov073_02163ff4 { @@ -49,11 +49,11 @@ struct UnkStruct_ov073_02163ff4 { }; extern UnkStruct_ov073_02163ff4 data_ov073_02163ff4; -extern ActorUnkMRD2 *data_ov075_02163518; +extern ActorUnkMRD2* data_ov075_02163518; DECL_PROFILE(ActorProfileShotArrow); -Actor *ActorProfileShotArrow::Create() { +Actor* ActorProfileShotArrow::Create() { return new(HeapIndex_2) ActorShotArrow(); } @@ -62,7 +62,7 @@ ActorProfileShotArrow::ActorProfileShotArrow() : this->mUnk_04.Init(FX_F32_TO_FX32(0.2f)); } -MapObjectProfile_Derived2_20_Base *func_ov031_020f1404() { +MapObjectProfile_Derived2_20_Base* func_ov031_020f1404() { return data_027e0ce0->mUnk_1C->mUnk_08[PlayerCharacter_Link][1]; } @@ -350,9 +350,8 @@ void ActorShotArrow::func_ov031_020f1e3c() { this->mTimer.Set(0, this->mUnk_258); } - Actor *targetActor = this->mUnk_1C8.mUnk_00; - if (targetActor == NULL || !GET_FLAG(targetActor->mFlags, ActorFlag_Alive) || - GET_FLAG(targetActor->mFlags, ActorFlag_18)) { + Actor* targetActor = this->mUnk_1C8.mUnk_00; + if (targetActor == NULL || !GET_FLAG(targetActor->mFlags, ActorFlag_Alive) || GET_FLAG(targetActor->mFlags, ActorFlag_18)) { this->func_ov031_020f2c08(0x400); } @@ -487,7 +486,7 @@ void ActorShotArrow::func_ov031_020f229c() { this->mUnk_168 = FX_MUL(this->mUnk_168 + this->mUnk_16C, FX_F32_TO_FX32(0.8f)); } -void ActorShotArrow::func_ov031_020f22d4(MtxFx33 *param1, VecFx32 *param2) { +void ActorShotArrow::func_ov031_020f22d4(MtxFx33* param1, VecFx32* param2) { func_0200eab0(this->mUnk_A0.mpModel, 0x0, this->mUnk_25E); this->mUnk_A0.vfunc_14(param1, param2); } @@ -581,7 +580,7 @@ void ActorShotArrow::vfunc_2C(unk32 param1) { data_027e09b4->func_ov017_020c08c4(&this->mPos, 0x7B, 0x666, (s32) (u8) var_r4, (s32) (s16) this->mAngle.angle_s, 1); } -void ActorShotArrow::func_ov031_020f2654(MtxFx33 *param1) { +void ActorShotArrow::func_ov031_020f2654(MtxFx33* param1) { VecFx32 sp0; fx32 scaleZ = FX_MUL(this->mUnk_168, FX_F32_TO_FX32(1.0f)); @@ -668,7 +667,7 @@ void ActorShotArrow::func_ov031_020f28ac() { this->func_ov031_020f2cac(&sp1C, true); break; case 4: { - Actor *var_r0_2 = gpActorManager->func_01fff3b4(this->mUnk_140.mUnk_0C); + Actor* var_r0_2 = gpActorManager->func_01fff3b4(this->mUnk_140.mUnk_0C); if (var_r0_2 != NULL) { VEC_Subtract(&this->mPos, &var_r0_2->mPos, &sp1C); @@ -701,7 +700,7 @@ void ActorShotArrow::func_ov031_020f28ac() { break; case 3: if (this->mUnk_140.mUnk_0C.common.type != 0) { - Actor *var_r0_2 = gpActorManager->func_01fff3b4(this->mUnk_140.mUnk_0C); + Actor* var_r0_2 = gpActorManager->func_01fff3b4(this->mUnk_140.mUnk_0C); if (var_r0_2 != NULL) { VEC_Subtract(&var_r0_2->mPos, &var_r0_2->mPrevPos, &sp1C); @@ -764,7 +763,7 @@ void ActorShotArrow::func_ov031_020f2c08(unk16 param1) { this->func_ov031_020f2cac(&sp0, false); } -void ActorShotArrow::func_ov031_020f2cac(const VecFx32 *param1, bool param2) { +void ActorShotArrow::func_ov031_020f2cac(const VecFx32* param1, bool param2) { VecFx32 sp1C; VecFx32 sp10; VecFx16 sp8; @@ -785,7 +784,7 @@ void ActorShotArrow::func_ov031_020f2cac(const VecFx32 *param1, bool param2) { this->mVel.y = param1->y; this->mVel.z = param1->z; } else { - func_01ff94cc(&this->mVel, (VecFx32 *) param1, &sp1C); + func_01ff94cc(&this->mVel, (VecFx32*) param1, &sp1C); } } else { this->mVel.x = -this->mVel.x; @@ -817,7 +816,7 @@ void ActorShotArrow::func_ov031_020f2cac(const VecFx32 *param1, bool param2) { } void ActorShotArrow::func_ov031_020f2ef0() { - ActorShotArrow_178 *unk_178; + ActorShotArrow_178* unk_178; UnkStruct_ov031_020e5d18_00 spC; spC.mUnk_00.Reset(); @@ -830,7 +829,7 @@ void ActorShotArrow::func_ov031_020f2ef0() { this->mUnk_46 = temp_r5; } -void ActorShotArrow::func_ov031_020f2f5c(VecFx32 *param1) { +void ActorShotArrow::func_ov031_020f2f5c(VecFx32* param1) { VecFx32_Copy(&this->mPos, &this->mPrevPos); VEC_Add(&this->mPos, param1, &this->mPos); VEC_Subtract(&this->mPos, &this->mVel, &this->mPos); @@ -865,7 +864,7 @@ void ActorShotArrow::func_ov031_020f3000() { VecFx32_Copy(&vec, &this->mUnk_1DC.mUnk_00.vec); } -void ActorShotArrow::func_ov031_020f311c(MtxFx43 *param1) { +void ActorShotArrow::func_ov031_020f311c(MtxFx43* param1) { MtxFx43 m1; MtxFx43 m2; @@ -878,7 +877,7 @@ void ActorShotArrow::func_ov031_020f311c(MtxFx43 *param1) { func_01ffad5c(&m1, &m2, &m1); - VecFx32_Copy(&this->mPos, (VecFx32 *) &m1._30); + VecFx32_Copy(&this->mPos, (VecFx32*) &m1._30); func_01ffad5c(this->mUnk_224, &data_027e0964, &m2); func_01ffa9e8(&m2, &m2); @@ -924,7 +923,7 @@ bool ActorShotArrow::func_ov031_020f3258(u16 param1) { return false; } -ActorShotArrow_178::ActorShotArrow_178(ActorShotArrow *param1) { +ActorShotArrow_178::ActorShotArrow_178(ActorShotArrow* param1) { this->mUnk_08 = param1; this->mUnk_0C.x = FX_F32_TO_FX32(0.0f); this->mUnk_0C.y = FX_F32_TO_FX32(0.0f); @@ -940,7 +939,7 @@ void ActorShotArrow_178::func_ov031_020f3304() { this->mUnk_18 = FX_F32_TO_FX32(0.0f); } -bool ActorShotArrow_178::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool ActorShotArrow_178::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { #pragma unused(param2) u32 temp_r3 = param1->mUnk_04->mUnk_24[param1->mUnk_00->mUnk_06]; @@ -968,8 +967,8 @@ bool ActorShotArrow_178::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 return true; } -bool ActorShotArrow_178::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) { +bool ActorShotArrow_178::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) { VecFx32 sp3C; VecFx32 jp_sp48; VecFx32 jp_sp3C; @@ -983,7 +982,7 @@ bool ActorShotArrow_178::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param Vec2bCpp sp0; bool var_r1; bool var_r5; - MapObject *pMapObj; + MapObject* pMapObj; bool var_r7; var_r5 = true; @@ -1052,7 +1051,7 @@ bool ActorShotArrow_178::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param if (var_r1 && var_r7) { sp8 = ref.moRef; sp2 = sp8.GetUnk02(); - MapObject *pMapObj = gpMapObjManager->func_01fff498(sp2); + MapObject* pMapObj = gpMapObjManager->func_01fff498(sp2); if (pMapObj != NULL) { switch (pMapObj->GetMapObjectId()) { @@ -1071,7 +1070,7 @@ bool ActorShotArrow_178::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param if (var_r7) { sp4 = ref.moRef; sp0 = sp4.GetUnk02(); - MapObject *pMapObj = gpMapObjManager->func_01fff498(sp0); + MapObject* pMapObj = gpMapObjManager->func_01fff498(sp0); if (pMapObj != NULL) { if (pMapObj->GetMapObjectId() == MapObjectId_TREE && pMapObj->mUnk_20.mParams[2] == 0x02) { @@ -1150,12 +1149,12 @@ bool ActorShotArrow_178::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param return true; } -ActorShotArrow_194::ActorShotArrow_194(ActorShotArrow *param1) { +ActorShotArrow_194::ActorShotArrow_194(ActorShotArrow* param1) { this->mUnk_2C = param1; this->mUnk_30 = 0; } -void ActorShotArrow_194::func_ov031_020f374c(Actor *actor) { +void ActorShotArrow_194::func_ov031_020f374c(Actor* actor) { VecFx32 sp28; VecFx32 sp1C; Sphere spC; @@ -1189,17 +1188,17 @@ void ActorShotArrow_194::func_ov031_020f374c(Actor *actor) { this->mUnk_2C->mUnk_1C8.mUnk_00 = actor; } -void ActorShotArrow_194::vfunc_10(const Actor *actor) { +void ActorShotArrow_194::vfunc_10(const Actor* actor) { VecFx32 sp1C; VecFx32 sp10; - MtxFx43 *spC; + MtxFx43* spC; unk32 sp8; RefStruct sp4; STACK_PAD(4); u32 actorRef = actor->mRef.Get32(); - u32 thisRef = *(vu32 *) &this->mUnk_04; + u32 thisRef = *(vu32*) &this->mUnk_04; if (!(actorRef != thisRef && actor->mUnk_34 != NULL)) { return; @@ -1209,15 +1208,15 @@ void ActorShotArrow_194::vfunc_10(const Actor *actor) { return; } - if (((Actor *) actor)->GetActorId() == ActorId_ShotArrow) { + if (((Actor*) actor)->GetActorId() == ActorId_ShotArrow) { return; } s16 result = FX_Atan2Idx(this->mUnk_2C->mVel.x, this->mUnk_2C->mVel.z); - switch (((Actor *) actor)->GetActorId()) { + switch (((Actor*) actor)->GetActorId()) { case ActorId_WIDR: - this->func_ov031_020f374c(((Actor *) actor)); + this->func_ov031_020f374c(((Actor*) actor)); this->mUnk_2C->func_ov031_020f2bec(); if (actor != NULL) { @@ -1229,7 +1228,7 @@ void ActorShotArrow_194::vfunc_10(const Actor *actor) { break; case ActorId_IWTS: - this->func_ov031_020f374c((Actor *) actor); + this->func_ov031_020f374c((Actor*) actor); spC = NULL; if (data_027e0d80->func_ov084_02153064(&this->mUnk_2C->mRef, &spC)) { @@ -1239,10 +1238,10 @@ void ActorShotArrow_194::vfunc_10(const Actor *actor) { break; case ActorId_MRD2: { - ActorUnkMRD2 *ptr = data_ov075_02163518; + ActorUnkMRD2* ptr = data_ov075_02163518; if (ptr->mUnk_910 == 1) { - this->func_ov031_020f374c((Actor *) actor); + this->func_ov031_020f374c((Actor*) actor); sp8 = 0; if (ptr->func_ov075_0215bbf0(&this->mUnk_2C->mRef, &sp8)) { @@ -1261,10 +1260,10 @@ void ActorShotArrow_194::vfunc_10(const Actor *actor) { sp4 = actor->mUnk_5C.mUnk_28; if (sp4.acRef.type_index != 0 && sp4.common.type != ActorRefType_0) { - ActorUnkGYAM *lockedActor = (ActorUnkGYAM *) gpActorManager->func_01fff3b4(sp4); + ActorUnkGYAM* lockedActor = (ActorUnkGYAM*) gpActorManager->func_01fff3b4(sp4); if (lockedActor != NULL && lockedActor->GetActorId() == ActorId_GYAM) { - this->func_ov031_020f374c((Actor *) actor); + this->func_ov031_020f374c((Actor*) actor); this->mUnk_2C->func_ov031_020f311c(&lockedActor->mUnk_220); SET_FLAG(this->mUnk_2C->mFlags, ActorFlag_Visible); this->mUnk_2C->mUnk_258 = 0x0; @@ -1274,7 +1273,7 @@ void ActorShotArrow_194::vfunc_10(const Actor *actor) { // fallthrough default: if (!this->IsParam1_3Or4()) { - this->func_ov031_020f374c((Actor *) actor); + this->func_ov031_020f374c((Actor*) actor); this->mUnk_2C->func_ov031_020f2bbc(); if (actor) { VEC_Subtract(&this->mUnk_2C->mPos, &actor->mPos, &sp10); @@ -1292,14 +1291,14 @@ void ActorShotArrow_194::vfunc_10(const Actor *actor) { } } -bool ActorShotArrow_194::vfunc_0C(Actor *actor, VecFx32 *vector) { +bool ActorShotArrow_194::vfunc_0C(Actor* actor, VecFx32* vector) { VecFx32 sp14; Sphere sp4; STACK_PAD(4); u32 actorRef = actor->mRef.Get32(); - u32 thisRef = *(vu32 *) &this->mUnk_04; + u32 thisRef = *(vu32*) &this->mUnk_04; if (!(actorRef != thisRef && actor->mUnk_34 != NULL) || !(this->mUnk_2C->mState == ActorShotArrowState_0 || this->mUnk_2C->mState == ActorShotArrowState_5)) { diff --git a/src/031_Land/Actor/ActorUnkATTG.cpp b/src/031_Land/Actor/ActorUnkATTG.cpp index 80a98574c..921850900 100644 --- a/src/031_Land/Actor/ActorUnkATTG.cpp +++ b/src/031_Land/Actor/ActorUnkATTG.cpp @@ -8,7 +8,7 @@ DECL_PROFILE(ActorProfileUnkATTG); -Actor *ActorProfileUnkATTG::Create() { +Actor* ActorProfileUnkATTG::Create() { return new(HeapIndex_2) ActorUnkATTG(); } @@ -85,8 +85,8 @@ void ActorUnkATTG::func_ov031_020f3eec(ActorState state, unk32 param2) { bool ActorUnkATTG::func_ov031_020f4014() { unk32 param1 = this->mUnk_5C.mParams[0] & 0xFF; - MapManagerBase *ptr = gpCourseManager->mpMapMgr; - VecFx32 *param2 = data_027e0ce0->func_01fff148(PlayerType_Link); + MapManagerBase* ptr = gpCourseManager->mpMapMgr; + VecFx32* param2 = data_027e0ce0->func_01fff148(PlayerType_Link); return ptr->func_ov000_020802ec(param1, param2); } diff --git a/src/031_Land/Actor/ActorUnkCLLT.cpp b/src/031_Land/Actor/ActorUnkCLLT.cpp index ad349b6bc..18461f293 100644 --- a/src/031_Land/Actor/ActorUnkCLLT.cpp +++ b/src/031_Land/Actor/ActorUnkCLLT.cpp @@ -3,7 +3,7 @@ DECL_PROFILE(ActorProfileUnkCLLT); -Actor *ActorProfileUnkCLLT::Create() { +Actor* ActorProfileUnkCLLT::Create() { return new(HeapIndex_2) ActorUnkCLLT(); } @@ -11,7 +11,7 @@ ActorProfileUnkCLLT::ActorProfileUnkCLLT() : ActorProfile(ActorId_CLLT) {} ActorUnkCLLT::ActorUnkCLLT() : - mUnk_9C(*(unk32 *) this) {} + mUnk_9C(*(unk32*) this) {} void ActorUnkCLLT::vfunc_58() { if (!data_ov000_020b504c.func_ov000_0206807c(this->mUnk_5C.mUnk_20, &this->mUnk_9C)) { @@ -30,11 +30,11 @@ void ActorUnkCLLT::vfunc_5C() { void ActorUnkCLLT::vfunc_60(ActorState state) { if (state == ActorUnkCLLTState_1) { - Actor *actor = this->func_ov031_020e3df8(); + Actor* actor = this->func_ov031_020e3df8(); if (actor != NULL) { u32 actorRef = actor->mRef.Get32(); - u32 thisRef = *(vu32 *) &this->mRef; + u32 thisRef = *(vu32*) &this->mRef; this->mUnk_9C.mUnk_2C.data = actorRef; this->mUnk_9C.mUnk_30.data = thisRef; diff --git a/src/031_Land/Actor/ActorUnkEFSB.cpp b/src/031_Land/Actor/ActorUnkEFSB.cpp index ddfd31536..fc554b757 100644 --- a/src/031_Land/Actor/ActorUnkEFSB.cpp +++ b/src/031_Land/Actor/ActorUnkEFSB.cpp @@ -9,7 +9,7 @@ static G3d_AnimTag data_ov031_02114ed0[0x2] = { DECL_PROFILE(ActorProfileUnkEFSB); -Actor *ActorProfileUnkEFSB::Create() { +Actor* ActorProfileUnkEFSB::Create() { return new(HeapIndex_2) ActorUnkEFSB(); } diff --git a/src/031_Land/Actor/ActorUnkFLEN.cpp b/src/031_Land/Actor/ActorUnkFLEN.cpp index a922fd9d2..ff2cd6da8 100644 --- a/src/031_Land/Actor/ActorUnkFLEN.cpp +++ b/src/031_Land/Actor/ActorUnkFLEN.cpp @@ -9,7 +9,7 @@ static const ActorId data_ov031_02110b94[] = {ActorId_ChuChu}; DECL_PROFILE(ActorProfileUnkFLEN); -Actor *ActorProfileUnkFLEN::Create() { +Actor* ActorProfileUnkFLEN::Create() { return new(HeapIndex_2) ActorUnkFLEN(); } @@ -30,7 +30,7 @@ bool ActorUnkFLEN::Init(int param1) { this->mUnk_94 = 0; } - if (ActorProfile *profile = data_ov000_020b539c_eur.GetProfileFromId(data_ov031_02110b94[this->mUnk_5C.mParams[0]])) { + if (ActorProfile* profile = data_ov000_020b539c_eur.GetProfileFromId(data_ov031_02110b94[this->mUnk_5C.mParams[0]])) { profile->vfunc_08(); } diff --git a/src/031_Land/Actor/ActorUnkMLCK.cpp b/src/031_Land/Actor/ActorUnkMLCK.cpp index 8432ac17c..b2275fdcd 100644 --- a/src/031_Land/Actor/ActorUnkMLCK.cpp +++ b/src/031_Land/Actor/ActorUnkMLCK.cpp @@ -25,7 +25,7 @@ static const unk32 data_ov031_02110bec[] = {0x90, 0x92, 0x94, 0x96, 0x98}; DECL_PROFILE(ActorProfileUnkMLCK); -Actor *ActorProfileUnkMLCK::Create() { +Actor* ActorProfileUnkMLCK::Create() { return new(HeapIndex_2) ActorUnkMLCK(); } @@ -50,7 +50,7 @@ bool ActorUnkMLCK::Init(unk32 param1) { this->mUnk_B8 = this->mUnk_5C.mParams[0]; UnkStruct_ov031_02112ad4 local_9c(ActorId_MLCK, this->mUnk_5C.mParams[0]); - Actor **lppActor = gpActorManager->func_01fff350(&local_9c, gpActorManager->mActorTable); + Actor** lppActor = gpActorManager->func_01fff350(&local_9c, gpActorManager->mActorTable); if (gpActorManager->mUnk_08 != lppActor) { return false; @@ -137,7 +137,7 @@ void ActorUnkMLCK::vfunc_6C() { this->func_ov000_02098a88(0x0, 0x1); } - for (ActorUnkMLCK_A0 **ptr = this->mUnk_A0; ptr != this->mUnk_B4; ptr++) { + for (ActorUnkMLCK_A0** ptr = this->mUnk_A0; ptr != this->mUnk_B4; ptr++) { (*ptr)->vfunc_00(); } } @@ -212,7 +212,7 @@ void ActorUnkMLCK::func_ov031_020fb11c() { data_027e0d34->func_ov031_020d996c(); this->vfunc_64(0x0); - for (ActorUnkMLCK_A0 **ptr = this->mUnk_A0; ptr != this->mUnk_B4; ptr++) { + for (ActorUnkMLCK_A0** ptr = this->mUnk_A0; ptr != this->mUnk_B4; ptr++) { (*ptr)->vfunc_08(); } } @@ -238,7 +238,7 @@ void ActorUnkMLCK_D8::vfunc2_04() { } } -void ActorUnkMLCK::func_ov031_020fb1e8(ActorUnkMLCK_A0 *param1) { +void ActorUnkMLCK::func_ov031_020fb1e8(ActorUnkMLCK_A0* param1) { if (this->mUnk_B4 != NULL) { *this->mUnk_B4 = param1; } @@ -249,7 +249,7 @@ void ActorUnkMLCK::func_ov031_020fb1e8(ActorUnkMLCK_A0 *param1) { bool ActorUnkMLCK::func_ov031_020fb204(unk32 param1) { #pragma unused(param1) - for (ActorUnkMLCK_A0 **ptr = this->mUnk_A0; ptr != this->mUnk_B4; ptr++) { + for (ActorUnkMLCK_A0** ptr = this->mUnk_A0; ptr != this->mUnk_B4; ptr++) { if ((*ptr)->vfunc_04()) { return true; } diff --git a/src/031_Land/Actor/ActorUnkNFSP.cpp b/src/031_Land/Actor/ActorUnkNFSP.cpp index 1f0f021f7..b08d941e2 100644 --- a/src/031_Land/Actor/ActorUnkNFSP.cpp +++ b/src/031_Land/Actor/ActorUnkNFSP.cpp @@ -25,7 +25,7 @@ class ActorUnkNFSP_ov031_020fb9b4 : public Actor { DECL_PROFILE(ActorProfileUnkNFSP); -Actor *ActorProfileUnkNFSP::Create() { +Actor* ActorProfileUnkNFSP::Create() { return new(HeapIndex_2) ActorUnkNFSP(); } @@ -44,7 +44,7 @@ ActorUnkNFSP::ActorUnkNFSP() : } bool ActorUnkNFSP::Init(unk32 param1) { - this->mUnk_9C = (MapObjectUnkSWFS *) param1; + this->mUnk_9C = (MapObjectUnkSWFS*) param1; this->mUnk_C0.mUnk_08.x = 0x0; this->mUnk_C0.mUnk_08.y = 0x0; @@ -88,8 +88,8 @@ void ActorUnkNFSP::func_ov031_020fb988() { this->func_ov031_020fbb8c(); } -Actor *ActorUnkNFSP::func_ov031_020fb994() { - Actor *pActor = gpActorManager->func_01fff3b4(this->mUnk_E4); +Actor* ActorUnkNFSP::func_ov031_020fb994() { + Actor* pActor = gpActorManager->func_01fff3b4(this->mUnk_E4); if (pActor != NULL) { return pActor; @@ -99,7 +99,7 @@ Actor *ActorUnkNFSP::func_ov031_020fb994() { } void ActorUnkNFSP::func_ov031_020fb9b4() { - ActorUnkNFSP_ov031_020fb9b4 *actor = (ActorUnkNFSP_ov031_020fb9b4 *) gpActorManager->func_01fff3b4(this->mUnk_E4); + ActorUnkNFSP_ov031_020fb9b4* actor = (ActorUnkNFSP_ov031_020fb9b4*) gpActorManager->func_01fff3b4(this->mUnk_E4); if (actor == NULL) { return; } @@ -154,7 +154,7 @@ void ActorUnkNFSP::vfunc_54(unk32 param1) { this->mUnk_40 = &this->mUnk_C0; break; case 0x3: { - ActorUnkNFSP_vfunc_54 *actor = (ActorUnkNFSP_vfunc_54 *) gpActorManager->func_01fff3b4(this->mUnk_E4); + ActorUnkNFSP_vfunc_54* actor = (ActorUnkNFSP_vfunc_54*) gpActorManager->func_01fff3b4(this->mUnk_E4); if (actor != NULL) { actor->mUnk_2B0 = 0x0; } @@ -191,7 +191,7 @@ void ActorUnkNFSP::func_ov031_020fbbe0() { this->mUnk_9C->func_ov031_0210d710(); } -ActorUnkNFSP_C0::ActorUnkNFSP_C0(ActorUnkNFSP *actor) : +ActorUnkNFSP_C0::ActorUnkNFSP_C0(ActorUnkNFSP* actor) : Actor_C4(actor) { this->mUnk_20 = actor; this->mUnk_04 = 0x1; @@ -221,7 +221,7 @@ void ActorUnkNFSP_C0::vfunc_08() { this->Actor_C4::vfunc_08(); } -void ActorUnkNFSP_C0::vfunc_0C(VecFx32 *param1) { +void ActorUnkNFSP_C0::vfunc_0C(VecFx32* param1) { this->mUnk_04 = 0x1; this->GetActorPtr()->vfunc_54(0x3); this->Actor_C4::vfunc_0C(param1); diff --git a/src/031_Land/Actor/ActorUnkNORE.cpp b/src/031_Land/Actor/ActorUnkNORE.cpp index f8b8f2b50..600455733 100644 --- a/src/031_Land/Actor/ActorUnkNORE.cpp +++ b/src/031_Land/Actor/ActorUnkNORE.cpp @@ -6,7 +6,7 @@ DECL_PROFILE(ActorProfileUnkNORE); -Actor *ActorProfileUnkNORE::Create() { +Actor* ActorProfileUnkNORE::Create() { return new(HeapIndex_2) ActorUnkNORE(); } @@ -18,7 +18,7 @@ ActorUnkNORE::ActorUnkNORE() {} bool ActorUnkNORE::Init(unk32 param1) { Vec2bCpp local_vec; - MapManagerBase *unk_obj = gpCourseManager->mpMapMgr; + MapManagerBase* unk_obj = gpCourseManager->mpMapMgr; func_01ffedac(&local_vec, &this->mPos); diff --git a/src/031_Land/Actor/ActorUnkNTTZ.cpp b/src/031_Land/Actor/ActorUnkNTTZ.cpp index 4b7b506f7..0bb8e9c73 100644 --- a/src/031_Land/Actor/ActorUnkNTTZ.cpp +++ b/src/031_Land/Actor/ActorUnkNTTZ.cpp @@ -6,7 +6,7 @@ DECL_PROFILE(ActorProfileUnkNTTZ); -Actor *ActorProfileUnkNTTZ::Create() { +Actor* ActorProfileUnkNTTZ::Create() { return new(HeapIndex_2) ActorUnkNTTZ(); } @@ -31,7 +31,7 @@ void ActorUnkNTTZ::func_ov031_020f61a0() { return; } - ActorUnkTGTZ *actorTGTZ = (ActorUnkTGTZ *) gpActorManager->func_01fff3b4(this->mUnk_5C.mUnk_28); + ActorUnkTGTZ* actorTGTZ = (ActorUnkTGTZ*) gpActorManager->func_01fff3b4(this->mUnk_5C.mUnk_28); if (actorTGTZ == NULL || actorTGTZ->GetActorId() != ActorId_TGTZ) { return; } @@ -44,7 +44,7 @@ void ActorUnkNTTZ::func_ov031_020f61f0() { return; } - ActorUnkTGTZ *actorTGTZ = (ActorUnkTGTZ *) gpActorManager->func_01fff3b4(this->mUnk_5C.mUnk_28); + ActorUnkTGTZ* actorTGTZ = (ActorUnkTGTZ*) gpActorManager->func_01fff3b4(this->mUnk_5C.mUnk_28); if (actorTGTZ == NULL || actorTGTZ->GetActorId() != ActorId_TGTZ) { return; } diff --git a/src/031_Land/Actor/ActorUnkRMTG.cpp b/src/031_Land/Actor/ActorUnkRMTG.cpp index 3f5ddd8b0..a7fe6a8b3 100644 --- a/src/031_Land/Actor/ActorUnkRMTG.cpp +++ b/src/031_Land/Actor/ActorUnkRMTG.cpp @@ -8,7 +8,7 @@ extern const char data_ov031_02110ad0; DECL_PROFILE(ActorProfileUnkRMTG); -Actor *ActorProfileUnkRMTG::Create() { +Actor* ActorProfileUnkRMTG::Create() { return new(HeapIndex_2) ActorUnkRMTG(); } @@ -22,7 +22,7 @@ bool ActorUnkRMTG::Init(unk32 param1) { this->mPos.x -= FX_F32_TO_FX32(0.5f); this->mPos.z -= FX_F32_TO_FX32(0.5f); - MapManagerBase *data = gpCourseManager->mpMapMgr; + MapManagerBase* data = gpCourseManager->mpMapMgr; Vec2bCpp sp0; func_01ffedac(&sp0, &this->mPos); @@ -38,7 +38,7 @@ bool ActorUnkRMTG::Init(unk32 param1) { } void ActorUnkRMTG::Setup() { - UnkStruct_027e09bc_0C *data = data_027e09bc->mUnk_04[1][0]; + UnkStruct_027e09bc_0C* data = data_027e09bc->mUnk_04[1][0]; data->func_ov000_0207834c(&this->mPos, func_ov000_02077590(0x7), 0x0); } diff --git a/src/031_Land/Actor/ActorUnkROCK.cpp b/src/031_Land/Actor/ActorUnkROCK.cpp index d36f34c7e..3f148fb6b 100644 --- a/src/031_Land/Actor/ActorUnkROCK.cpp +++ b/src/031_Land/Actor/ActorUnkROCK.cpp @@ -11,7 +11,7 @@ extern MtxFx33 data_027e0130; DECL_PROFILE(ActorProfileUnkROCK); -Actor *ActorProfileUnkROCK::Create() { +Actor* ActorProfileUnkROCK::Create() { return new(HeapIndex_2) ActorUnkROCK(); } @@ -118,7 +118,7 @@ bool ActorUnkROCK::Grab(ActorGrabParams param1) { return true; } -bool ActorUnkROCK::Drop(ActorGrabParams param1, const VecFx32 *param2) { +bool ActorUnkROCK::Drop(ActorGrabParams param1, const VecFx32* param2) { if (!this->Actor::Drop(param1, param2)) { return false; } diff --git a/src/031_Land/Actor/ActorUnkSCCN.cpp b/src/031_Land/Actor/ActorUnkSCCN.cpp index 59ff7fb79..52fe58f61 100644 --- a/src/031_Land/Actor/ActorUnkSCCN.cpp +++ b/src/031_Land/Actor/ActorUnkSCCN.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkSCCN); -Actor *ActorProfileUnkSCCN::Create() { +Actor* ActorProfileUnkSCCN::Create() { return new(HeapIndex_2) ActorUnkSCCN(); } @@ -23,8 +23,8 @@ bool ActorUnkSCCN::Init(unk32 param1) { return false; } - MapManagerBase *data_0C = gpCourseManager->mpMapMgr; - UnkStruct_027e0cd8_0C_Base_148_00 *ptr = data_0C->func_ov000_02080620(this->mUnk_5C.mParams[1]); + MapManagerBase* data_0C = gpCourseManager->mpMapMgr; + UnkStruct_027e0cd8_0C_Base_148_00* ptr = data_0C->func_ov000_02080620(this->mUnk_5C.mParams[1]); if (ptr == NULL) { return false; @@ -33,7 +33,7 @@ bool ActorUnkSCCN::Init(unk32 param1) { if (!ptr->vfunc_04()) { VecFx32x2 spC; - VecFx32x2 *pVec = &ptr->mUnk_14; + VecFx32x2* pVec = &ptr->mUnk_14; spC.unk_00 = pVec->unk_00; spC.unk_0C = pVec->unk_0C; @@ -41,7 +41,7 @@ bool ActorUnkSCCN::Init(unk32 param1) { this->mPos.y = data_0C->vfunc_28(&this->mPos, 0x01, 0x00); VecFx32 sp0; - VecFx32 *psp0 = (VecFx32 *) &sp0; + VecFx32* psp0 = (VecFx32*) &sp0; VecFx32_Reset(psp0); sp0.x = -this->mPos.x; sp0.z = -this->mPos.z; diff --git a/src/031_Land/Actor/ActorUnkSKDO.cpp b/src/031_Land/Actor/ActorUnkSKDO.cpp index 8cafbb3bd..0cfa8f768 100644 --- a/src/031_Land/Actor/ActorUnkSKDO.cpp +++ b/src/031_Land/Actor/ActorUnkSKDO.cpp @@ -8,7 +8,7 @@ DECL_PROFILE(ActorProfileUnkSKDO); -Actor *ActorProfileUnkSKDO::Create() { +Actor* ActorProfileUnkSKDO::Create() { return new(HeapIndex_2) ActorUnkSKDO(); } @@ -27,10 +27,10 @@ void ActorUnkSKDO::Setup() { stack.mUnk_08 = this->mPos; stack.mUnk_14 = FX_F32_TO_FX32(2.0f); - MapObject **mapObject = gpMapObjManager->func_01fff520(&stack, gpMapObjManager->mMapObjTable); + MapObject** mapObject = gpMapObjManager->func_01fff520(&stack, gpMapObjManager->mMapObjTable); if (gpMapObjManager->mUnk_08 != mapObject) { - this->mUnk_98 = (MapObjectUnkSKDI *) *mapObject; + this->mUnk_98 = (MapObjectUnkSKDI*) *mapObject; } } @@ -46,7 +46,7 @@ void ActorUnkSKDO::vfunc_54(unk32 param1) { this->mUnk_94 = param1; } -bool ActorUnkSKDO_ov031_02115ce8::vfunc_00(MapObject *param1) { +bool ActorUnkSKDO_ov031_02115ce8::vfunc_00(MapObject* param1) { if (this->UnkStruct_ov000_020b34c4::vfunc_00(param1)) { if (func_01ffb9cc(¶m1->mPos, &this->mUnk_08) < this->mUnk_14) { return true; diff --git a/src/031_Land/Actor/ActorUnkSWBM.cpp b/src/031_Land/Actor/ActorUnkSWBM.cpp index 78595828d..0f68eaeb4 100644 --- a/src/031_Land/Actor/ActorUnkSWBM.cpp +++ b/src/031_Land/Actor/ActorUnkSWBM.cpp @@ -14,17 +14,17 @@ static const Sphere data_ov031_02113114(FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.35f)); -bool ActorUnkSWBM_94::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool ActorUnkSWBM_94::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { #pragma unused(param2) return (((u32) param1->mUnk_04->mUnk_24[param1->mUnk_00->mUnk_06] >> 0x16) & 0x1) != 0x1; } -bool ActorUnkSWBM_94::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, const VecFx32 *param4) { +bool ActorUnkSWBM_94::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, const VecFx32* param4) { #pragma unused(ref, param3, param4) return ((param2->mUnk_08 >> 0x16) & 0x1) != 0x1; } -bool ActorUnkSWBM_98::vfunc_0C(Actor *param1, VecFx32 *vector) { +bool ActorUnkSWBM_98::vfunc_0C(Actor* param1, VecFx32* vector) { bool retValue = this->UnkStruct_ov031_Items_01::vfunc_0C(param1, vector); if (!retValue) { return retValue; @@ -38,10 +38,10 @@ bool ActorUnkSWBM_98::vfunc_0C(Actor *param1, VecFx32 *vector) { return retValue; } -void ActorUnkSWBM_98::vfunc_10(const Actor *actor) { +void ActorUnkSWBM_98::vfunc_10(const Actor* actor) { switch (GET_FLAG(actor->mFlags, ActorFlag_17) ? 1 : 0) { case false: { - ActorUnkSWBM *actorSWBM = this->mUnk_2C; + ActorUnkSWBM* actorSWBM = this->mUnk_2C; if (actorSWBM->mState != ActorUnkSWBMState_0) { break; } @@ -57,7 +57,7 @@ void ActorUnkSWBM_98::vfunc_10(const Actor *actor) { // non-matching void ActorUnkSWBM_C8::vfunc_00(unk32 param1, unk32 param2) { #pragma unused(param1, param2) - ActorUnkSWBM *actor = this->mUnk_14; + ActorUnkSWBM* actor = this->mUnk_14; unk32 var_r6; s16 var_r7; s16 var_r8; @@ -66,7 +66,7 @@ void ActorUnkSWBM_C8::vfunc_00(unk32 param1, unk32 param2) { NNS_G3dGeFlushBuffer(); G3_MaterialColorDiffAmb(0xFFFF, 0x1084); - VecFx32 *textureParam = &data_027e095c->mUnk_000[8]; + VecFx32* textureParam = &data_027e095c->mUnk_000[8]; G3_TexImageParam(GX_TEXFMT_NONE, GX_TEXGEN_NONE, GX_TEXSIZE_S8, GX_TEXSIZE_T8, GX_TEXREPEAT_NONE, GX_TEXFLIP_NONE, GX_TEXPLTTCOLOR0_USE, textureParam->z); G3_TexPlttBase(G3_TEXPLTTBASE_ADDR(textureParam->y), G3_TEXPLTTBASE_FMT(textureParam->z)); @@ -93,7 +93,7 @@ void ActorUnkSWBM_C8::vfunc_00(unk32 param1, unk32 param2) { DECL_PROFILE(ActorProfileUnkSWBM); -Actor *ActorProfileUnkSWBM::Create() { +Actor* ActorProfileUnkSWBM::Create() { return new(HeapIndex_2) ActorUnkSWBM(); } @@ -118,7 +118,7 @@ bool ActorUnkSWBM::Init(unk32 param1) { #pragma unused(param1) this->mUnk_44 = 0x1F; - this->mUnk_34 = (Sphere *) &data_ov031_02113114; + this->mUnk_34 = (Sphere*) &data_ov031_02113114; this->mUnk_098.mUnk_04 = this->mRef; fx32 posX = this->mPos.x; @@ -200,7 +200,7 @@ void ActorUnkSWBM::Update() { VecFx32_Copy(&this->mPos, &this->mPrevPos); VEC_Add(&this->mPos, &this->mVel, &this->mPos); - for (VecFx32 *vec = &this->mUnk_0E4[ARRAY_LEN(this->mUnk_0E4) - 1]; vec > &this->mUnk_0E4[0]; --vec) { + for (VecFx32* vec = &this->mUnk_0E4[ARRAY_LEN(this->mUnk_0E4) - 1]; vec > &this->mUnk_0E4[0]; --vec) { VecFx32_Copy(vec - 1, vec); } @@ -250,8 +250,8 @@ void ActorUnkSWBM::Update() { actorSpC.mUnk_00.Reset(); actorSpC.func_01ffe6c4(this->mRef, &this->mPos, &this->mPrevPos, this->mUnk_44, &this->mPos, &this->mUnk_094); - unk32 val = Actor::func_ov000_0207df88(&actorSpC, this->mUnk_30, 0x07) | - Actor::func_ov000_0207e294(&actorSpC.mUnk_00, this->mUnk_30); + unk32 val = Actor::func_ov000_0207df88(&actorSpC, this->mUnk_30, 0x07) | + Actor::func_ov000_0207e294(&actorSpC.mUnk_00, this->mUnk_30); this->mUnk_46 = val; if (val == 0x0) { @@ -278,14 +278,12 @@ void ActorUnkSWBM::vfunc_24() { this->Update(); } -void ActorUnkSWBM::func_ov031_020e718c(const VecFx32 *param0, MtxFx33 *param1, s32 param2, s16 param3, s16 param4, - s16 param5) { +void ActorUnkSWBM::func_ov031_020e718c(const VecFx32* param0, MtxFx33* param1, s32 param2, s16 param3, s16 param4, s16 param5) { if (param2 <= 0) { return; } - G3_PolygonAttr(GX_LIGHTMASK_NONE, GX_POLYGONMODE_MODULATE, GX_CULL_BACK, data_ov000_020b4ec4.func_01ffc768(0x4), param2, - 0); + G3_PolygonAttr(GX_LIGHTMASK_NONE, GX_POLYGONMODE_MODULATE, GX_CULL_BACK, data_ov000_020b4ec4.func_01ffc768(0x4), param2, 0); G3_PushMtx(); G3_Translate(param0->x, param0->y, param0->z); diff --git a/src/031_Land/Actor/ActorUnkSWCH.cpp b/src/031_Land/Actor/ActorUnkSWCH.cpp index 03ca77cac..370bd7746 100644 --- a/src/031_Land/Actor/ActorUnkSWCH.cpp +++ b/src/031_Land/Actor/ActorUnkSWCH.cpp @@ -3,7 +3,7 @@ DECL_PROFILE(ActorProfileUnkSWCH); -Actor *ActorProfileUnkSWCH::Create() { +Actor* ActorProfileUnkSWCH::Create() { return new(HeapIndex_2) ActorUnkSWCH(); } diff --git a/src/031_Land/Actor/ActorUnkSWON.cpp b/src/031_Land/Actor/ActorUnkSWON.cpp index 25b937d23..51b5b4854 100644 --- a/src/031_Land/Actor/ActorUnkSWON.cpp +++ b/src/031_Land/Actor/ActorUnkSWON.cpp @@ -3,7 +3,7 @@ DECL_PROFILE(ActorProfileUnkSWON); -Actor *ActorProfileUnkSWON::Create() { +Actor* ActorProfileUnkSWON::Create() { return new(HeapIndex_2) ActorUnkSWON(); } diff --git a/src/031_Land/Actor/ActorUnkTGTZ.cpp b/src/031_Land/Actor/ActorUnkTGTZ.cpp index ed9777c69..48c71f2f7 100644 --- a/src/031_Land/Actor/ActorUnkTGTZ.cpp +++ b/src/031_Land/Actor/ActorUnkTGTZ.cpp @@ -15,7 +15,7 @@ #if IS_JP static const VecFx32Cpp data_ov031_02116344(FX_F32_TO_FX32(1.5f), FX_F32_TO_FX32(2.0f), FX_F32_TO_FX32(0.0f)); #else -static char *data_ov031_021145a4 = "target"; +static char* data_ov031_021145a4 = "target"; #endif UnkStruct_ov019_020d24c8_28_258_00_Derived1 data_ov031_02116b58; @@ -26,7 +26,7 @@ DECL_PROFILE(ActorProfileUnkTGTZ); DUMMY_RODATA(); DUMMY_DATA(1); -Actor *ActorProfileUnkTGTZ::Create() { +Actor* ActorProfileUnkTGTZ::Create() { return new(HeapIndex_2) ActorUnkTGTZ(); } @@ -189,7 +189,7 @@ void ActorUnkTGTZ::Update() { } if (this->mUnk_1CC == 0x1) { - ActorUnkNTTZ *actor = this->mUnk_1B4; + ActorUnkNTTZ* actor = this->mUnk_1B4; VecFx32 vecSp0C = actor->mPos; vecSp0C.y = this->mPos.y + this->mUnk_1C4 + FX_F32_TO_FX32(1.5f); @@ -209,13 +209,13 @@ void ActorUnkTGTZ::func_ov031_020f6e5c(RefStruct param1) { if (param1.common.unk_00 == 0x0) { return; } - Actor *actor = gpActorManager->func_01fff3b4(param1); + Actor* actor = gpActorManager->func_01fff3b4(param1); if (actor != NULL) { UNSET_FLAG(actor->mFlags, ActorFlag_Alive); } } -void ActorUnkTGTZ::func_ov031_020f6ea8(RefStruct *param0, u16 param1, const VecFx32 *param2, s16 param3, u16 param4) { +void ActorUnkTGTZ::func_ov031_020f6ea8(RefStruct* param0, u16 param1, const VecFx32* param2, s16 param3, u16 param4) { ActorParams params; params.mUnk_28 = 0; @@ -259,10 +259,10 @@ void ActorUnkTGTZ::func_ov031_020f6f20(unk32 param1) { VecFx32 vec1; #if IS_JP - MTX_MultVec33((VecFx32 *) &data_ov031_02116344, &this->mUnk_190, &vec1); + MTX_MultVec33((VecFx32*) &data_ov031_02116344, &this->mUnk_190, &vec1); #else this->mUnk_094.func_ov000_02057d9c(); - VecFx32 *pVec = this->mUnk_094.func_ov000_0205a7a8(this->mUnk_094.func_ov000_0205a778(data_ov031_021145a4)); + VecFx32* pVec = this->mUnk_094.func_ov000_0205a7a8(this->mUnk_094.func_ov000_0205a778(data_ov031_021145a4)); MTX_MultVec33(pVec, &this->mUnk_190, &vec1); #endif @@ -277,7 +277,7 @@ void ActorUnkTGTZ::func_ov031_020f6f20(unk32 param1) { VecFx32 vec3 = vec2; - ActorUnkNTTZ *actor = this->mUnk_1B4; + ActorUnkNTTZ* actor = this->mUnk_1B4; VecFx32_Init(vec3.x, vec3.y, vec3.z, &actor->mPos); VecFx32_Init(vec3.x, vec3.y, vec3.z, &actor->mPrevPos); @@ -309,7 +309,7 @@ void ActorUnkTGTZ::func_ov031_020f6f20(unk32 param1) { } } -void ActorUnkTGTZ::vfunc_30(Actor_vfunc_30 *param1) { +void ActorUnkTGTZ::vfunc_30(Actor_vfunc_30* param1) { Vec2s sp10; struct { /* 00 */ unk32 unk_00; @@ -398,7 +398,7 @@ void ActorUnkTGTZ::func_ov031_020f7358() { Actor::func_ov000_020973f4(&ref, &data_ov000_020b539c_eur, ActorId_NTTZ, ¶ms, 0x0); - ActorUnkNTTZ *actor = (ActorUnkNTTZ *) gpActorManager->func_01fff3b4(ref); + ActorUnkNTTZ* actor = (ActorUnkNTTZ*) gpActorManager->func_01fff3b4(ref); this->mUnk_1B4 = actor; u16 value = this->mUnk_5C.mParams[0]; diff --git a/src/031_Land/Actor/ActorUnkTLKT.cpp b/src/031_Land/Actor/ActorUnkTLKT.cpp index a01e30e78..096d7c72f 100644 --- a/src/031_Land/Actor/ActorUnkTLKT.cpp +++ b/src/031_Land/Actor/ActorUnkTLKT.cpp @@ -9,7 +9,7 @@ DECL_PROFILE(ActorProfileUnkTLKT); -Actor *ActorProfileUnkTLKT::Create() { +Actor* ActorProfileUnkTLKT::Create() { return new(HeapIndex_2) ActorUnkTLKT(); } @@ -82,7 +82,7 @@ void ActorUnkTLKT::vfunc_68() { void ActorUnkTLKT::vfunc_60(ActorState state) { switch (state) { case ActorUnkTLKTState_1: { - Actor *actor = this->func_ov031_020e3df8(); + Actor* actor = this->func_ov031_020e3df8(); if (this->mUnk_5C.mParams[0] == 0x0 && actor == NULL) { this->vfunc_60(ActorUnkTLKTState_5); return; @@ -99,7 +99,7 @@ void ActorUnkTLKT::vfunc_60(ActorState state) { switch (this->mUnk_5C.mParams[1]) { case 0x0: { actorUnkSp40.mUnk_32 = 0x5; - VecFx32 *pos = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* pos = data_027e0ce0->func_01fff148(PlayerType_Link); VecFx32_Copy(pos, &actorUnkSp40.mUnk_34); actorUnkSp40.mUnk_08 |= 0x1; actorUnkSp40.mUnk_08 |= 0x1; @@ -135,7 +135,7 @@ void ActorUnkTLKT::vfunc_60(ActorState state) { case ActorUnkTLKTState_3: UnkStackStruct1 unkSp00; func_ov000_02072fd0(&unkSp00); - unkSp00.mUnk_04 = static_cast(static_cast(this)); + unkSp00.mUnk_04 = static_cast(static_cast(this)); unkSp00.mUnk_3A = 0x0; unkSp00.mUnk_3B = 0x0; diff --git a/src/031_Land/Actor/ActorUnkZLSL_ZSRS.cpp b/src/031_Land/Actor/ActorUnkZLSL_ZSRS.cpp index 5e0cf6cec..4b87cacb8 100644 --- a/src/031_Land/Actor/ActorUnkZLSL_ZSRS.cpp +++ b/src/031_Land/Actor/ActorUnkZLSL_ZSRS.cpp @@ -144,7 +144,7 @@ static char data_ov031_02113d58[0x0B] = "Npc/ZLDA/"; DECL_PROFILE(ActorProfileUnkZSRS); -Actor *ActorProfileUnkZSRS::Create() { +Actor* ActorProfileUnkZSRS::Create() { return NULL; } @@ -155,7 +155,7 @@ ActorProfileUnkZSRS::ActorProfileUnkZSRS() : DECL_PROFILE(ActorProfileUnkZLSL); -Actor *ActorProfileUnkZLSL::Create() { +Actor* ActorProfileUnkZLSL::Create() { return new(HeapIndex_2) ActorUnkZLSL(); } @@ -170,7 +170,7 @@ ActorProfileUnkZLSL::ActorProfileUnkZLSL() : this->mUnk_18 = 0x0; } -bool UnkStruct_ov031_0211361c::vfunc_00(Actor *pActor) { +bool UnkStruct_ov031_0211361c::vfunc_00(Actor* pActor) { if (pActor != NULL && pActor->GetActorId() == ActorId_RAT0 && pActor->mState == ActorUnkRAT0State_0 && pActor->mUnk_5C.mParams[1] == 0x1) { return true; @@ -179,7 +179,7 @@ bool UnkStruct_ov031_0211361c::vfunc_00(Actor *pActor) { return false; } -ModelRender_ov031_02113670::ModelRender_ov031_02113670(G3d_Model *pModel) : +ModelRender_ov031_02113670::ModelRender_ov031_02113670(G3d_Model* pModel) : ModelRender_ov000_020b4d64(pModel) {} void ModelRender_ov031_02113670::vfunc_0C() { @@ -199,15 +199,15 @@ void ActorUnkZLSL::func_ov031_020ea100() { Actor::func_ov000_020973f4(&ref, &data_ov000_020b539c_eur, ActorId_ZLSL, ¶ms, 0x00); } -static inline G3d_Model *GetModelFromProfile() { +static inline G3d_Model* GetModelFromProfile() { return NNS_G3dGetMdl(GET_PROFILE(ActorProfileUnkZSRS)->vfunc_04()->mUnk_50); } -static inline G3d_Model *GetModel() { +static inline G3d_Model* GetModel() { return NNS_G3dGetMdl(data_027e0ce0->mUnk_1C->mUnk_08[PlayerCharacter_Zelda][0]->mUnk_50); } -extern Actor *data_027e0d3c; +extern Actor* data_027e0d3c; ActorUnkZLSL::ActorUnkZLSL() : ActorUnkZSRS(&this->mUnk_1620, GetModel(), GET_PROFILE(ActorProfileUnkZSRS)->vfunc_04(), @@ -251,7 +251,7 @@ ActorUnkZLSL::ActorUnkZLSL() : this->mUnk_1690.func_ov031_020eeb58(); this->mUnk_26F4.mUnk_08 = 0x001; - this->mUnk_38 = (Actor_38 *) &this->mUnk_26F4; + this->mUnk_38 = (Actor_38*) &this->mUnk_26F4; this->mUnk_2894.Init(0); } @@ -434,7 +434,7 @@ void ActorUnkZLSL::func_ov031_020eab40(unk32 param1) { VecFx32 vec; VecFx32_Copy(this->func_ov000_0209853c(PlayerType_Link), &vec); - VecFx32 *pVec = this->func_ov000_0209853c(PlayerType_Link); + VecFx32* pVec = this->func_ov000_0209853c(PlayerType_Link); VecFx32 oVec; VEC_Subtract(&this->mPos, pVec, &oVec); @@ -459,7 +459,7 @@ void ActorUnkZLSL::func_ov031_020eab40(unk32 param1) { func_01ff93c0(&this->mVel, FX_F32_TO_FX32(0.1001f)); } - VecFx32 *pVec2 = this->func_ov000_0209853c(PlayerType_Link); + VecFx32* pVec2 = this->func_ov000_0209853c(PlayerType_Link); func_01ff930c(&this->mAngle.angle_s, func_02016958(&this->mPos, pVec2), 0x71C); } @@ -512,7 +512,7 @@ void ActorUnkZLSL::func_ov031_020ead7c() { unk16 sp6; unk16 sp4; - ActorUnkRPMT *actor = (ActorUnkRPMT *) func_02016fbc(ActorId_RPMT, &this->mPos, 0x0); + ActorUnkRPMT* actor = (ActorUnkRPMT*) func_02016fbc(ActorId_RPMT, &this->mPos, 0x0); if (actor != NULL && actor->mState == ActorUnkRPMTState_1) { this->mUnk_0B0 |= 0x8; @@ -537,12 +537,12 @@ void ActorUnkZLSL::func_ov031_020ead7c() { this->mUnk_28E4 = this->func_ov031_020ee2c8(); - UnkStruct_027e0ce0 *ptr = data_027e0ce0; + UnkStruct_027e0ce0* ptr = data_027e0ce0; func_01fff17c(&spA, data_027e0ce0, 0); if (this->mUnk_0B0 & 0x08) { - unk16 *psp8 = (unk16 *) &sp8; - func_01fff17c((unk16 *) psp8, data_027e0ce0, 1); + unk16* psp8 = (unk16*) &sp8; + func_01fff17c((unk16*) psp8, data_027e0ce0, 1); spA = *psp8; } @@ -551,14 +551,14 @@ void ActorUnkZLSL::func_ov031_020ead7c() { } sp6 = spA + this->mUnk_28E4; - func_020169d4(&sp18, &sp24, &sp6, (void *) &data_ov031_02110acc); + func_020169d4(&sp18, &sp24, &sp6, (void*) &data_ov031_02110acc); if (func_02016c68(&sp24, &sp18, this->mRef, 4, 0) || func_02016cf0(&sp24, &sp18, this->mRef, 8, 0)) { this->mUnk_28E4 = -this->mUnk_28E4; } sp4 = spA + this->mUnk_28E4; - func_020169d4(&this->mUnk_2878.vec, &sp24, &sp4, (void *) &data_ov031_02110acc); + func_020169d4(&this->mUnk_2878.vec, &sp24, &sp4, (void*) &data_ov031_02110acc); this->func_ov031_020ec6d8(true); VecFx32_Reset(&this->mUnk_28A4.vec); @@ -587,7 +587,7 @@ void ActorUnkZLSL::func_ov031_020eafe0() { func_01fff17c(&sp8, data_027e0ce0, 0x00); spA = sp8 + this->mUnk_28E4; - func_020169d4(&spC, this->func_ov000_0209853c(PlayerType_Link), &spA, (void *) &data_ov031_02110acc); + func_020169d4(&spC, this->func_ov000_0209853c(PlayerType_Link), &spA, (void*) &data_ov031_02110acc); if (func_02016c68(this->func_ov000_0209853c(PlayerType_Link), &spC, this->mRef, 4, 0) || func_02016cf0(this->func_ov000_0209853c(PlayerType_Link), &spC, this->mRef, 8, 0)) { @@ -596,7 +596,7 @@ void ActorUnkZLSL::func_ov031_020eafe0() { func_01fff17c(&sp4, data_027e0ce0, 0); sp6 = sp4 + this->mUnk_28E4; - func_020169d4(&this->mUnk_2878.vec, this->func_ov000_0209853c(PlayerType_Link), &sp6, (void *) &data_ov031_02110acc); + func_020169d4(&this->mUnk_2878.vec, this->func_ov000_0209853c(PlayerType_Link), &sp6, (void*) &data_ov031_02110acc); this->func_ov031_020ec6d8(true); VecFx32_Init(FX_F32_TO_FX32(0.5f), FX_F32_TO_FX32(0.5f), FX_F32_TO_FX32(0.5f), &this->mUnk_28A4.vec); @@ -627,7 +627,7 @@ void ActorUnkZLSL::func_ov031_020eb188() { } void ActorUnkZLSL::func_ov031_020eb218() { - if (*(volatile u16 *) &this->mUnk_2900 & 0x10 && !this->mUnk_2874) { + if (*(volatile u16*) &this->mUnk_2900 & 0x10 && !this->mUnk_2874) { this->mUnk_2900 &= ~0x10; data_027e09a8->func_ov000_02071c90(0x139, &this->mPos, 0x0); } @@ -637,7 +637,7 @@ void ActorUnkZLSL::func_ov031_020eb218() { } } -bool ActorUnkZLSL::func_ov031_020eb2b0(VecFx32 *param1, unk32 param2) { +bool ActorUnkZLSL::func_ov031_020eb2b0(VecFx32* param1, unk32 param2) { VecFx32 sp1C; VecFx32 sp10; VecFx32 sp4; @@ -751,7 +751,7 @@ class ActorUnkZLSL_020eb61ec_16C { /* 04 */ virtual void vfunc_04(); /* 08 */ virtual void vfunc_08(); /* 0C */ virtual void vfunc_0C(); - /* 10 */ virtual ActorUnkZLSL_020eb61ec_16C_vfunc_10 *vfunc_10(); + /* 10 */ virtual ActorUnkZLSL_020eb61ec_16C_vfunc_10* vfunc_10(); }; // related to ov071 ? @@ -763,7 +763,7 @@ class ActorUnkZLSL_020eb61ec : public Actor { }; void ActorUnkZLSL::func_ov031_020eb61c() { - ActorUnkZLSL_020eb61ec *actor = (ActorUnkZLSL_020eb61ec *) gpActorManager->func_01fff3b4(this->mUnk_28DC); + ActorUnkZLSL_020eb61ec* actor = (ActorUnkZLSL_020eb61ec*) gpActorManager->func_01fff3b4(this->mUnk_28DC); VecFx32 vec; switch (this->mUnk_286E) { @@ -864,7 +864,7 @@ void ActorUnkZLSL::func_ov031_020eba58() { } void ActorUnkZLSL::func_ov031_020eba8c() { - ActorUnkZLSL_020eb61ec *actor = (ActorUnkZLSL_020eb61ec *) gpActorManager->func_01fff3b4(this->mUnk_28DC); + ActorUnkZLSL_020eb61ec* actor = (ActorUnkZLSL_020eb61ec*) gpActorManager->func_01fff3b4(this->mUnk_28DC); VecFx32 vec; switch (this->mUnk_286E) { @@ -920,7 +920,7 @@ void ActorUnkZLSL::func_ov031_020eba8c() { this->func_ov031_020ed4e4(0x5, 0x93F); break; case 0x4: { - VecFx32 *pVec = this->func_ov000_0209853c(PlayerType_Link); + VecFx32* pVec = this->func_ov000_0209853c(PlayerType_Link); if (func_01ff9258(this->mPos.x - pVec->x, this->mPos.z - pVec->z) > 0x3000) { this->func_ov031_020eb2b0(&actor->mPos, 0x666); } else { @@ -1176,7 +1176,7 @@ bool ActorUnkZLSL::func_ov031_020ec49c() { } unk32 ActorUnkZLSL::func_ov031_020ec54c() { - ActorUnkFTRN *val = (ActorUnkFTRN *) func_02016fbc(ActorId_FieldTrain, &this->mPos, 0x0); + ActorUnkFTRN* val = (ActorUnkFTRN*) func_02016fbc(ActorId_FieldTrain, &this->mPos, 0x0); bool var = false; switch (this->mUnk_2872) { @@ -1214,7 +1214,7 @@ void ActorUnkZLSL::vfunc_B0() { unk32 var = this->mUnk_2904; if (var == 0x0) { - ActorUnkZSTG *actor = (ActorUnkZSTG *) func_02016fbc(ActorId_ZSTG, &this->mPos, 0x0); + ActorUnkZSTG* actor = (ActorUnkZSTG*) func_02016fbc(ActorId_ZSTG, &this->mPos, 0x0); if (actor != NULL) { var = actor->mUnk_5C.mUnk_20; if (actor->mUnk_5C.mParams[1] == 0x1) { @@ -1222,7 +1222,7 @@ void ActorUnkZLSL::vfunc_B0() { } } } else { - ActorUnkZSTG *actor = (ActorUnkZSTG *) func_02016fbc(ActorId_ZSTG, &this->mPos, 0x0); + ActorUnkZSTG* actor = (ActorUnkZSTG*) func_02016fbc(ActorId_ZSTG, &this->mPos, 0x0); if (actor != NULL) { if (actor->mUnk_5C.mParams[1] == 0x1) { stack.mUnk_32 = 0x0; @@ -1386,7 +1386,7 @@ void ActorUnkZLSL::func_ov031_020ecbe0() { unk16 sp2; unk16 sp0; - unk16 *psp0 = (unk16 *) &sp0; + unk16* psp0 = (unk16*) &sp0; func_01fff17c(psp0, data_027e0ce0, 0x0); sp2 = *psp0 + FX_F32_TO_FX32(2.6668f); @@ -1397,13 +1397,13 @@ void ActorUnkZLSL::func_ov031_020ecbe0() { } void ActorUnkZLSL::func_ov031_020ecc68(bool param1) { - Actor *temp_r7 = gpActorManager->func_01fff3b4(this->mUnk_28DC); + Actor* temp_r7 = gpActorManager->func_01fff3b4(this->mUnk_28DC); UnkStackStruct1 sp34; VecFx32 sp28; UnkStackStruct2 sp8; if (param1) { - VecFx32 *temp_r0 = this->func_ov000_0209853c(PlayerType_Zelda); + VecFx32* temp_r0 = this->func_ov000_0209853c(PlayerType_Zelda); if (func_01ff9258(temp_r7->mPos.x - temp_r0->x, temp_r7->mPos.z - temp_r0->z) > 0x3000) { this->func_ov031_020ed0b0(); @@ -1437,7 +1437,7 @@ void ActorUnkZLSL::func_ov031_020ecc68(bool param1) { VecFx32_Copy(&this->mUnk_28F4.vec, &this->mUnk_28E8.vec); VEC_Add(&this->mUnk_28E8.vec, &sp28, &this->mUnk_28E8.vec); - ActorPhantomBase *pPhantom = (ActorPhantomBase *) gpActorManager->func_01fff3b4(this->mUnk_28DC); + ActorPhantomBase* pPhantom = (ActorPhantomBase*) gpActorManager->func_01fff3b4(this->mUnk_28DC); if (pPhantom != NULL) { pPhantom->mUnk_530 = this->mUnk_28C8; } @@ -1461,8 +1461,8 @@ void ActorUnkZLSL::func_ov031_020ecea8(UnkAngleStruct param1, unk32 param2, unk3 unk16 sp2; unk16 sp0; s16 temp_r5; - VecFx32 *temp_r0_2; - VecFx32 *temp_r0_3; + VecFx32* temp_r0_2; + VecFx32* temp_r0_3; sp58 = *this->func_ov000_0209853c(playerType); this->func_ov031_020edd14(&sp4C); @@ -1482,11 +1482,11 @@ void ActorUnkZLSL::func_ov031_020ecea8(UnkAngleStruct param1, unk32 param2, unk3 s16 angle = FX_Atan2Idx(sp1C.x, sp1C.z); sp2 = param1.angle_s + angle; - func_020169d4(&sp34, &sp40, &sp2, (char *) ¶m2); + func_020169d4(&sp34, &sp40, &sp2, (char*) ¶m2); angle = FX_Atan2Idx(sp1C.x, sp1C.z); sp0 = angle - param1.angle_s; - func_020169d4(&sp28, &sp40, &sp0, (char *) ¶m2); + func_020169d4(&sp28, &sp40, &sp0, (char*) ¶m2); if (sp34.z < sp28.z) { VecFx32_Copy(&sp28, &sp34); @@ -1548,7 +1548,7 @@ void ActorUnkZLSL::func_ov031_020ed0b0() { this->mUnk_28BC.vec.y += FX_F32_TO_FX32(1.0f); this->func_ov031_020edd14(&spC); - func_020169d4(&this->mUnk_28E8.vec, &sp24, (unk16 *) &data_ov031_02110ac0, (void *) &data_ov031_02110ac4); + func_020169d4(&this->mUnk_28E8.vec, &sp24, (unk16*) &data_ov031_02110ac0, (void*) &data_ov031_02110ac4); this->mUnk_28E8.vec.y += 0x4800; VecFx32_Copy(&sp24, &this->mUnk_28F4.vec); @@ -1609,14 +1609,14 @@ bool ActorUnkZLSL::func_ov031_020ed55c(unk32 param1) { this->mUnk_2904 = param1; this->SetState(ActorUnkZLSLState_TakeHumanShapeTrainStation); - unk16 *psp8 = (unk16 *) &sp8; + unk16* psp8 = (unk16*) &sp8; func_01fff17c(psp8, data_027e0ce0, 0); spA = *psp8 + 0xE39; func_020169d4(&this->mUnk_28B0.vec, this->func_ov000_0209853c(PlayerType_Link), &spA, data_ov031_021135f0); if (func_02016c68(&this->mPos, &this->mUnk_28B0.vec, this->mRef, 4, 0)) { - unk16 *psp4 = (unk16 *) &sp4; + unk16* psp4 = (unk16*) &sp4; func_01fff17c(psp4, data_027e0ce0, 0); sp6 = *psp4 + 0xFFFF8E39; @@ -1638,15 +1638,15 @@ bool ActorUnkZLSL::func_ov031_020ed55c(unk32 param1) { bool ActorUnkZLSL::func_ov031_020ed6cc(unk32 param1) { unk16 sp2; unk16 sp0; - unk16 *psp2; - unk16 *psp0; + unk16* psp2; + unk16* psp0; s32 temp_r4; this->func_ov031_020eab40(param1); switch (this->mUnk_2870) { case 0: - psp2 = (unk16 *) &sp2; + psp2 = (unk16*) &sp2; func_ov000_020986b4(psp2, this, 0); this->mAngle = *psp2; @@ -1666,7 +1666,7 @@ bool ActorUnkZLSL::func_ov031_020ed6cc(unk32 param1) { } break; case 1: - psp0 = (unk16 *) &sp0; + psp0 = (unk16*) &sp0; func_ov000_020986b4(psp0, this, 0); this->mAngle = *psp0; @@ -1691,7 +1691,7 @@ bool ActorUnkZLSL::func_ov031_020ed8ac(fx32 param1) { VecFx32 sp10; unk16 spE; unk16 spC; - unk16 *pspC; + unk16* pspC; unk16 spA; unk16 sp8; unk16 sp6; @@ -1707,14 +1707,14 @@ bool ActorUnkZLSL::func_ov031_020ed8ac(fx32 param1) { sp1C.y = sp10.y + param1; sp1C.z = sp10.z; - pspC = (unk16 *) &spC; + pspC = (unk16*) &spC; func_ov000_020986b4(pspC, this, 0); this->mAngle = *pspC; if (VecFx32_IsCleared(&this->mUnk_28BC.vec)) { func_01fff17c(&sp8, data_027e0ce0, 0); spA = sp8 + this->mUnk_28E4; - func_020169d4(&sp28, &sp1C, &spA, (void *) &data_ov031_02110acc); + func_020169d4(&sp28, &sp1C, &spA, (void*) &data_ov031_02110acc); } else { sp28.x = this->mUnk_28BC.vec.x; sp28.y = this->mUnk_28BC.vec.y; @@ -1794,7 +1794,7 @@ void ActorUnkZLSL::func_ov031_020edc80() { this->mUnk_46 = var_r6; } -void ActorUnkZLSL::func_ov031_020edd14(VecFx32 *param1) { +void ActorUnkZLSL::func_ov031_020edd14(VecFx32* param1) { VecFx32_Copy(&gpActorManager->func_01fff3b4(this->mUnk_28DC)->mPos, param1); } @@ -1803,7 +1803,7 @@ void ActorUnkZLSL::func_ov031_020edd54(RefStruct ref) { return; } - ActorPhantomBase *pPhantom = (ActorPhantomBase *) gpActorManager->func_01fff3b4(ref); + ActorPhantomBase* pPhantom = (ActorPhantomBase*) gpActorManager->func_01fff3b4(ref); bool var_r2 = false; if (!(pPhantom->mState != 0x0E || pPhantom->mUnk_316 != 0x01)) { @@ -1825,12 +1825,12 @@ void ActorUnkZLSL::func_ov031_020ede30(RefStruct ref) { unk32 var_r6 = 0; u8 var_r7 = 0; - Actor *temp_r0 = gpActorManager->func_01fff3b4(ref); + Actor* temp_r0 = gpActorManager->func_01fff3b4(ref); if (temp_r0 != NULL) { - VecFx32 *pPos = &temp_r0->mPos; + VecFx32* pPos = &temp_r0->mPos; - if (func_01ff9258((*(VecFx32 **) &pPos)->x - this->mPos.x, pPos->z - this->mPos.z) > 0x4800) { + if (func_01ff9258((*(VecFx32**) &pPos)->x - this->mPos.x, pPos->z - this->mPos.z) > 0x4800) { this->func_ov031_020edf98(ref); return; } @@ -1851,7 +1851,7 @@ void ActorUnkZLSL::func_ov031_020ede30(RefStruct ref) { return; } - VecFx32 *pPos = &gpActorManager->func_01fff3b4(this->mUnk_28CC[var_r8].ref)->mPos; + VecFx32* pPos = &gpActorManager->func_01fff3b4(this->mUnk_28CC[var_r8].ref)->mPos; unk32 temp_r0_5 = func_01ff9258(pPos->x - this->mPos.x, pPos->z - this->mPos.z); if (temp_r0_5 > var_r6) { @@ -1873,7 +1873,7 @@ void ActorUnkZLSL::func_ov031_020edf98(RefStruct ref) { } } -void ActorUnkZLSL::GetOffsetPos(VecFx32 *pPos) const { +void ActorUnkZLSL::GetOffsetPos(VecFx32* pPos) const { VecFx32_Copy(&this->mUnk_2878.vec, pPos); pPos->y += this->mYOffset; } @@ -1928,15 +1928,15 @@ void ActorUnkZLSL::vfunc_A4() { func_01ff9318(&this->mUnk_0DA, this->mUnk_0CE, this->mUnk_0D0); } -void ActorUnkZLSL::func_ov031_020ee1f4(Actor *param1, G3d_RenderState *param2) { - ActorUnkZLSL *thisx = (ActorUnkZLSL *) param1; - G3d_RenderObject *pRenderObject = param2->renderObj; +void ActorUnkZLSL::func_ov031_020ee1f4(Actor* param1, G3d_RenderState* param2) { + ActorUnkZLSL* thisx = (ActorUnkZLSL*) param1; + G3d_RenderObject* pRenderObject = param2->renderObj; s32 var_r2 = G3d_GetCurBoneMtxId(param2); if (var_r2 == 0x0A && pRenderObject->mUnk_25 == 2) { MtxFx33 sp24; MtxFx33 sp0; - G3d_RenderState_B4 *temp_r6 = param2->mUnk_B4; + G3d_RenderState_B4* temp_r6 = param2->mUnk_B4; temp_r6->mUnk_00 &= ~0x02; MTX_RotZ33_(&sp24, SIN(thisx->mUnk_28E0), COS(thisx->mUnk_28E0)); @@ -1958,12 +1958,12 @@ unk16 ActorUnkZLSL::func_ov031_020ee2c8() { func_01fff17c(&sp4, data_027e0ce0, 0); sp6 = sp4 + 0x2AAB; - func_020169d4(&sp14, this->func_ov000_0209853c(PlayerType_Link), &sp6, (void *) &data_ov031_02110acc); + func_020169d4(&sp14, this->func_ov000_0209853c(PlayerType_Link), &sp6, (void*) &data_ov031_02110acc); func_01fff17c(&sp0, data_027e0ce0, 0); var_r6 = 0xD555; sp2 = sp0 + var_r6; - func_020169d4(&sp20, this->func_ov000_0209853c(PlayerType_Link), &sp2, (void *) &data_ov031_02110acc); + func_020169d4(&sp20, this->func_ov000_0209853c(PlayerType_Link), &sp2, (void*) &data_ov031_02110acc); sp8.x = data_027e0208.mUnk_240.x; sp8.y = data_027e0208.mUnk_240.y; @@ -2042,7 +2042,7 @@ s16 ActorUnkZLSL::vfunc_80(unk32 param1, unk32 param2, unk32 param3) { switch (value) { case 0x201: { - ActorUnkRPMT *actor = (ActorUnkRPMT *) func_02016fbc(ActorId_RPMT, &this->mPos, 0x0); + ActorUnkRPMT* actor = (ActorUnkRPMT*) func_02016fbc(ActorId_RPMT, &this->mPos, 0x0); if (actor != NULL) { return actor->mUnk_A4; @@ -2059,7 +2059,7 @@ s16 ActorUnkZLSL::vfunc_80(unk32 param1, unk32 param2, unk32 param3) { bool ActorUnkZLSL::func_ov031_020ee724() { UnkStruct_ov031_0211361c stack; - Actor **actor = gpActorManager->func_01fff350(&stack, gpActorManager->mActorTable); + Actor** actor = gpActorManager->func_01fff350(&stack, gpActorManager->mActorTable); return *actor != NULL; } diff --git a/src/031_Land/Course/MapManagerLand.cpp b/src/031_Land/Course/MapManagerLand.cpp index 9ff2137b3..15ee8f2ab 100644 --- a/src/031_Land/Course/MapManagerLand.cpp +++ b/src/031_Land/Course/MapManagerLand.cpp @@ -17,9 +17,9 @@ struct UnkStruct_ov031_02110650 { /* 06 */ unk16 unk_06; }; -static const char *data_ov031_02112948[] = {"MA0", "MA1", "MA2", "MA3"}; +static const char* data_ov031_02112948[] = {"MA0", "MA1", "MA2", "MA3"}; -static const char *data_ov031_0211298c[] = { +static const char* data_ov031_0211298c[] = { "", "Map/anm/sanctuary.bin", "Map/anm/seat_kiwa.bin", @@ -30,11 +30,11 @@ static const char *data_ov031_0211298c[] = { "Map/anm/f1.bin", }; -static const char *data_ov031_0211296c[] = { +static const char* data_ov031_0211296c[] = { "", "sanctuary", "seat_kiwa", "lava_kiwa", "d0_wt", "di_wtf_sp1", "di_wtf", "f1_wt", }; -static const char *data_ov031_02112958[] = {"nsbca", "nsbva", "nsbma", "nsbtp", "nsbta"}; +static const char* data_ov031_02112958[] = {"nsbca", "nsbva", "nsbma", "nsbtp", "nsbta"}; static const UnkStruct_ov031_02110650 data_ov031_02110650 = { .unk_00 = 0x00, @@ -113,7 +113,7 @@ void MapManagerLand::func_ov031_020d88c0() { for (int var_r6 = 0; var_r6 < var_r8; var_r6++) { if (this->mUnk_160[var_r6] != NULL && - STD_CompareString(data_ov031_0211298c[temp_r5], (const char *) this->mUnk_160[var_r6]->mUnk_00) == 0) { + STD_CompareString(data_ov031_0211298c[temp_r5], (const char*) this->mUnk_160[var_r6]->mUnk_00) == 0) { sp10 = var_r6; break; } @@ -121,24 +121,24 @@ void MapManagerLand::func_ov031_020d88c0() { if (sp10 == var_r8) { this->mUnk_160[var_r8] = new(HeapIndex_1) UnkSystem3(0, 0x9B, 1, 1); - this->mUnk_160[var_r8]->Reset((void *) data_ov031_0211298c[temp_r5]); + this->mUnk_160[var_r8]->Reset((void*) data_ov031_0211298c[temp_r5]); this->mUnk_160[var_r8]->func_0201541c(data_ov031_02112948[var_r8], 0x10); } - u8 *spC = (u8 *) data_ov031_02110650.unk_01[temp_r5]; + u8* spC = (u8*) data_ov031_02110650.unk_01[temp_r5]; for (int var_r9 = 0; var_r9 < ARRAY_LEN(data_ov031_02110650.unk_01[temp_r5]); var_r9++) { if (spC[var_r9]) { wchar_t sp24[16]; sp24[0] = '\0'; sp24[ARRAY_LEN(sp24) - 1] = '\0'; - OS_SNPrintf((char *) &sp24, 0x20, "%s:/%s.%s", data_ov031_02112948[sp10], data_ov031_0211296c[temp_r5], + OS_SNPrintf((char*) &sp24, 0x20, "%s:/%s.%s", data_ov031_02112948[sp10], data_ov031_0211296c[temp_r5], data_ov031_02112958[var_r9]); - UnkFileSystem3 sp14((const char *) sp24); + UnkFileSystem3 sp14((const char*) sp24); - this->mUnk_170[var_r8][var_r9] = new(HeapIndex_1) - ModelRender_UnkSystem1_Derived2(func_ov000_0205ac34(&sp14, 0), this->mSceneRender.mpModel); + this->mUnk_170[var_r8][var_r9] = + new(HeapIndex_1) ModelRender_UnkSystem1_Derived2(func_ov000_0205ac34(&sp14, 0), this->mSceneRender.mpModel); this->mSceneRender.func_ov000_02057c98(&this->mUnk_170[var_r8][var_r9]->mUnk_00); } } @@ -146,7 +146,7 @@ void MapManagerLand::func_ov031_020d88c0() { } void MapManagerLand::func_ov031_020d8ae4() { - G3d_NameList *var_r0 = G3d_GetBoneList(this->mSceneRender.mpModel); + G3d_NameList* var_r0 = G3d_GetBoneList(this->mSceneRender.mpModel); this->mUnk_1D8 = var_r0 != NULL ? func_0200f218(var_r0, data_ov031_02110640) : -1; if (this->mUnk_1D8 != -1) { @@ -155,7 +155,7 @@ void MapManagerLand::func_ov031_020d8ae4() { } } -void MapManagerLand::vfunc_1C(const EntranceInfo *param1, bool param2, bool param3) { +void MapManagerLand::vfunc_1C(const EntranceInfo* param1, bool param2, bool param3) { #pragma unused(param2) u8 roomIndex; @@ -185,7 +185,7 @@ void MapManagerLand::vfunc_1C(const EntranceInfo *param1, bool param2, bool para sceneIndex = param1->sceneIndex; roomIndex = gpCourseManager->mUnk_04->mUnk_0C->mRoomIndex; - AdventureModeManager *pAdvModeMgr = GetAdventureModeManager(); + AdventureModeManager* pAdvModeMgr = GetAdventureModeManager(); if (sceneIndex == SceneIndex_f_passenger) { sceneIndex = SceneIndex_d_main_f; @@ -199,12 +199,12 @@ void MapManagerLand::vfunc_1C(const EntranceInfo *param1, bool param2, bool para } } -void MapManagerLand::func_ov031_020d8cb8(G3d_RenderState *param1) { +void MapManagerLand::func_ov031_020d8cb8(G3d_RenderState* param1) { MapManagerLand::func_ov031_020d8cd0(param1->renderObj->modelRender, param1); } -void MapManagerLand::func_ov031_020d8cd0(void *modelRender, G3d_RenderState *param1) { - MapManagerLand *thisx = (MapManagerLand *) modelRender; +void MapManagerLand::func_ov031_020d8cd0(void* modelRender, G3d_RenderState* param1) { + MapManagerLand* thisx = (MapManagerLand*) modelRender; int var_r3 = G3d_GetCurBoneId(param1); diff --git a/src/031_Land/Course/UnkStruct_027e0cd8_0C_1D0_031.cpp b/src/031_Land/Course/UnkStruct_027e0cd8_0C_1D0_031.cpp index 72315812e..5aa10006e 100644 --- a/src/031_Land/Course/UnkStruct_027e0cd8_0C_1D0_031.cpp +++ b/src/031_Land/Course/UnkStruct_027e0cd8_0C_1D0_031.cpp @@ -3,26 +3,26 @@ #include "Course/CourseManager.hpp" #include "Unknown/UnkStruct_ov000_020b3000.hpp" -void UnkStruct_027e0cd8_0C_1D0::func_ov031_020d9314(unk32 param1, ActorUnkMLCK_A0 *param2) { +void UnkStruct_027e0cd8_0C_1D0::func_ov031_020d9314(unk32 param1, ActorUnkMLCK_A0* param2) { UnkStruct_ov031_02112ad4 local_18(ActorId_MLCK, param1); - ActorUnkMLCK *pActor = (ActorUnkMLCK *) *gpActorManager->func_01fff350(&local_18, gpActorManager->mActorTable); + ActorUnkMLCK* pActor = (ActorUnkMLCK*) *gpActorManager->func_01fff350(&local_18, gpActorManager->mActorTable); pActor->func_ov031_020fb1e8(param2); } -void UnkStruct_027e0cd8_0C_1D0::func_ov031_020d9368(Actor *pActor, Actor_vfunc_30 *param2) { +void UnkStruct_027e0cd8_0C_1D0::func_ov031_020d9368(Actor* pActor, Actor_vfunc_30* param2) { bool value = param2 != NULL; if (pActor->GetActorId() == ActorId_MLCK) { - ((ActorUnkMLCK *) pActor)->mUnk_F3 = value; + ((ActorUnkMLCK*) pActor)->mUnk_F3 = value; } } -void UnkStruct_027e0cd8_0C_1D0::func_ov031_020d9398(void *param1) { +void UnkStruct_027e0cd8_0C_1D0::func_ov031_020d9398(void* param1) { gpActorManager->func_01fff2fc(UnkStruct_027e0cd8_0C_1D0::func_ov031_020d9368, param1); } -bool UnkStruct_ov031_02112ad4::vfunc_00(Actor *pActor) { +bool UnkStruct_ov031_02112ad4::vfunc_00(Actor* pActor) { if (this->mActorId == pActor->GetActorId() && this->mUnk_08 == pActor->mUnk_5C.mParams[0]) { return true; } diff --git a/src/031_Land/MapObject/MapObjectBombFlower.cpp b/src/031_Land/MapObject/MapObjectBombFlower.cpp index 5c1948fad..5de9759bd 100644 --- a/src/031_Land/MapObject/MapObjectBombFlower.cpp +++ b/src/031_Land/MapObject/MapObjectBombFlower.cpp @@ -16,7 +16,7 @@ struct UnkStruct_ov031_02102728 { DECL_PROFILE(MapObjectProfileBombFlower); -MapObject *MapObjectProfileBombFlower::Create() { +MapObject* MapObjectProfileBombFlower::Create() { return new(HeapIndex_ITCM) MapObjectBombFlower(); } @@ -50,7 +50,7 @@ MapObjectBombFlower::MapObjectBombFlower() : SET_FLAG(this->mFlags, MapObjFlag_6); } -bool MapObjectBombFlower::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) { +bool MapObjectBombFlower::vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) { this->mUnk_BC = false; switch (param2) { case 0xD: @@ -104,7 +104,7 @@ void MapObjectBombFlower::func_ov031_02102728(unk32 param1) { params.mUnk_28 = 0; params.func_ov000_020975f8(); - params.mUnk_28 = *(RefStruct *) &this->mRef; //! TODO: ref conflicts + params.mUnk_28 = *(RefStruct*) &this->mRef; //! TODO: ref conflicts VecFx32_Copy(&this->mPos, ¶ms.mInitialPos); params.mParams[0] = 0x0; @@ -223,7 +223,7 @@ void MapObjectBombFlower::vfunc_38() { RefStruct ref; Actor::func_ov000_020973f4(&ref, &data_ov000_020b539c_eur, this->mUnk_40, ¶ms, 0x0); - ActorBomb *bomb = (ActorBomb *) gpActorManager->func_01fff3b4(ref); + ActorBomb* bomb = (ActorBomb*) gpActorManager->func_01fff3b4(ref); if (bomb == NULL) { return; } @@ -239,7 +239,7 @@ unk32 MapObjectBombFlower::vfunc_28(PlayerType playerType, unk32 param2, unk32 p // non-matching // https://decomp.me/scratch/WRLuY -void MapObjectBombFlower::vfunc_50(RefStruct *param1, MapObjectPot_Base *thisx) { +void MapObjectBombFlower::vfunc_50(RefStruct* param1, MapObjectPot_Base* thisx) { ActorParams params; params.mUnk_28 = 0; diff --git a/src/031_Land/MapObject/MapObjectChestBase.cpp b/src/031_Land/MapObject/MapObjectChestBase.cpp index 57180214b..fb614a5b3 100644 --- a/src/031_Land/MapObject/MapObjectChestBase.cpp +++ b/src/031_Land/MapObject/MapObjectChestBase.cpp @@ -21,12 +21,12 @@ static const Vec2pCpp data_ov031_02115830(FX32_HALF, FX32_HALF); static const UnkStruct_ov031_02117c84 data_ov031_02117c84(0x3C); static const CellAnimObject data_ov031_02115c84; -MapObjectTreasureSpawned_74::MapObjectTreasureSpawned_74(G3d_Model *param1) : +MapObjectTreasureSpawned_74::MapObjectTreasureSpawned_74(G3d_Model* param1) : ModelRender(param1), mUnk_60(1) {} -void MapObjectTreasureSpawned_74::vfunc_1C(G3d_RenderState *param1) { - G3d_NameList *iVar1 = G3d_GetBoneList(param1->renderObj->model); +void MapObjectTreasureSpawned_74::vfunc_1C(G3d_RenderState* param1) { + G3d_NameList* iVar1 = G3d_GetBoneList(param1->renderObj->model); uint uVar2 = iVar1 != NULL ? func_0200f218(iVar1, "box_B") : -1; if (param1->currentCmd[1] == uVar2 && !this->mUnk_60) { @@ -55,7 +55,7 @@ bool MapObjectChestBase::Init() { SET_FLAG(this->mFlags, MapObjFlag_9); this->mUnk_18[0] = 0x0D; - MapManagerBase *pUVar2 = gpCourseManager->mpMapMgr; + MapManagerBase* pUVar2 = gpCourseManager->mpMapMgr; if (this->mUnk_20.mParams[3] == 1) { this->mPos.x += 0x7FC; @@ -75,7 +75,7 @@ bool MapObjectChestBase::Init() { // non-matching void MapObjectChestBase::Setup() { fx32 iVar2; - MapManagerBase *pUVar5; + MapManagerBase* pUVar5; VecFx32 sp48; VecFx32 sp3C; VecFx32 local_44[2]; @@ -108,22 +108,22 @@ void MapObjectChestBase::Setup() { spC.y = FX_F32_TO_FX32(1.0f); spC.z = FX_F32_TO_FX32(0.5f); - VEC_Add((VecFx32 *) &sp3C, &spC, (VecFx32 *) &sp3C); + VEC_Add((VecFx32*) &sp3C, &spC, (VecFx32*) &sp3C); local_68.x = this->mRef.moRef.unk_02.x; local_68.y = this->mRef.moRef.unk_02.y; - iVar2 = pUVar5->func_01ffedf4((Vec2bCpp *) &local_68); + iVar2 = pUVar5->func_01ffedf4((Vec2bCpp*) &local_68); if (this->mUnk_20.mParams[3] == 1) { Vec2bCpp temp_r0(this->mRef.moRef.unk_02.x, this->mRef.moRef.unk_02.y); temp_r0.x--; - if (pUVar5->func_01ffedf4((Vec2bCpp *) &temp_r0) > iVar2 || gpMapObjManager->func_01fff498(local_5e) != NULL) { + if (pUVar5->func_01ffedf4((Vec2bCpp*) &temp_r0) > iVar2 || gpMapObjManager->func_01fff498(local_5e) != NULL) { sp48.x -= FX_F32_TO_FX32(0.5f); } temp_r0.x += 3; - if (pUVar5->func_01ffedf4((Vec2bCpp *) &temp_r0) > iVar2 || gpMapObjManager->func_01fff498(local_5e) != NULL) { + if (pUVar5->func_01ffedf4((Vec2bCpp*) &temp_r0) > iVar2 || gpMapObjManager->func_01fff498(local_5e) != NULL) { sp3C.x += FX_F32_TO_FX32(0.5f); } } else { @@ -163,7 +163,7 @@ void MapObjectChestBase::Setup() { } } - func_01ffcfcc((fx32 *) local_44, &sp48, (VecFx32 *) &sp3C); + func_01ffcfcc((fx32*) local_44, &sp48, (VecFx32*) &sp3C); this->mUnk_050.mUnk_0C.x = local_44[0].x; this->mUnk_050.mUnk_0C.y = local_44[0].y; @@ -221,7 +221,7 @@ void MapObjectChestBase::func_ov031_02103878() { } void MapObjectChestBase::vfunc_38(unk32 param1, unk32 param2) {} -void MapObjectChestBase::vfunc_18(s8 *param1) {} +void MapObjectChestBase::vfunc_18(s8* param1) {} void MapObjectChestBase::vfunc_14(unk32 param1) {} unk32 MapObjectChestBase::vfunc_3C() {} @@ -247,6 +247,6 @@ void MapObjectChestBase::vfunc_50() { data_027e09a8->func_ov000_02071b30(0x151, &this->mPos, 0); } -Vec2p *MapObjectChestBase::vfunc_54() { - return (Vec2p *) &data_ov031_02115830; +Vec2p* MapObjectChestBase::vfunc_54() { + return (Vec2p*) &data_ov031_02115830; } diff --git a/src/031_Land/MapObject/MapObjectDoorBase.cpp b/src/031_Land/MapObject/MapObjectDoorBase.cpp index d8cf4484e..6d375aec9 100644 --- a/src/031_Land/MapObject/MapObjectDoorBase.cpp +++ b/src/031_Land/MapObject/MapObjectDoorBase.cpp @@ -92,7 +92,7 @@ void MapObjectDoorBase::func_ov031_020fbf10(bool param1, bool param2) { this->func_ov000_0209d2f0(5, 1, &local_18); } - MapObject_10 *pMapObject_10; + MapObject_10* pMapObject_10; if (!this->IsOrientedVertically()) { if (param1) { pMapObject_10 = &data_ov031_02117210.mUnk_00[1]; @@ -487,7 +487,7 @@ bool MapObjectDoorBase::vfunc_6C() { } struct stack_struct { - /* 00 */ void *mUnk_00; + /* 00 */ void* mUnk_00; /* 04 */ unk8 mUnk_04; /* 05 */ unk8 mUnk_05; /* 06 */ u16 mUnk_06; @@ -496,7 +496,7 @@ struct stack_struct { extern fx16 data_0203f964[]; -void MapObjectDoorBase::func_ov031_020fcb78(s8 *param1) { +void MapObjectDoorBase::func_ov031_020fcb78(s8* param1) { Vec2s sp10; stack_struct sp8; RefStruct sp4; @@ -515,7 +515,7 @@ void MapObjectDoorBase::func_ov031_020fcb78(s8 *param1) { bool uVar4 = (this->mUnk_84 % 0x1A) >= 0x0D ? true : false; //! TODO: fake match? - sp4 = *(RefStruct *) &this->mRef; //! TODO: ref conflicts + sp4 = *(RefStruct*) &this->mRef; //! TODO: ref conflicts if (data_027e0998->vfunc_00(&this->mPos, &sp10, &sp4) && uVar4 != 0) { MtxFx22 m; @@ -595,7 +595,7 @@ void MapObjectDoorBase::vfunc_44() {} void MapObjectDoorBase::vfunc_4C() {} -void MapObjectDoorBase::vfunc_84(unk32 param1, VecFx32 *param2, UnkAngleStruct *param3) { +void MapObjectDoorBase::vfunc_84(unk32 param1, VecFx32* param2, UnkAngleStruct* param3) { VecFx32 local_20; *param3 = this->mAngle.angle_s; @@ -623,10 +623,10 @@ void MapObjectDoorBase::func_ov031_020fcf0c(unk32 param1) { } bool MapObjectDoorBase::func_ov031_020fcf30() { - unk16 *plocal_10; + unk16* plocal_10; unk16 local_10; - plocal_10 = (unk16 *) &local_10; + plocal_10 = (unk16*) &local_10; MapObject::func_ov000_0209d22c(plocal_10, this, PlayerType_Link); @@ -644,9 +644,9 @@ void MapObjectDoorBase::vfunc2_08() { s32 temp_r0; s32 temp_r1; s32 temp_r2; - u16 *temp_r2_2; - u16 *temp_r3; - u16 *temp_r3_2; + u16* temp_r2_2; + u16* temp_r3; + u16* temp_r3_2; if (this->mState != MapObjDoorBaseState_1 || !this->mUnk_8C || (u16) (this->mAngle.angle_s + 0x2000) / DEG_TO_ANG(90) != 2) { diff --git a/src/031_Land/MapObject/MapObjectDoorClick.cpp b/src/031_Land/MapObject/MapObjectDoorClick.cpp index 2ac736d20..de112f3d4 100644 --- a/src/031_Land/MapObject/MapObjectDoorClick.cpp +++ b/src/031_Land/MapObject/MapObjectDoorClick.cpp @@ -17,7 +17,7 @@ const UnkStruct_ov031_021150b0 data_ov031_02115328(0x1E66); DECL_PROFILE(MapObjectProfileDoorClick); -MapObject *MapObjectProfileDoorClick::Create() { +MapObject* MapObjectProfileDoorClick::Create() { return new(HeapIndex_ITCM) MapObjectDoorClick(); } @@ -73,7 +73,7 @@ bool MapObjectDoorClick::Init(void) { } this->mUnk_A8.mUnk_07 = uVar2; - func_01ffcfcc((fx32 *) local_40, &local_1c, &local_28); + func_01ffcfcc((fx32*) local_40, &local_1c, &local_28); this->mUnk_A8.mUnk_0C.x = local_40[0].x; this->mUnk_A8.mUnk_0C.y = local_40[0].y; @@ -192,7 +192,7 @@ void MapObjectDoorClick::vfunc_08(void) { } } -void MapObjectDoorClick::vfunc_18(s8 *param1) { +void MapObjectDoorClick::vfunc_18(s8* param1) { this->func_ov031_020fcb78(param1); } @@ -245,7 +245,7 @@ void MapObjectDoorClick::vfunc_5C(MapObjState state, unk32 param2) { u32 temp_r8; UnkStackStruct1 sp8; s16 sp4; - s16 *sp4Ptr; + s16* sp4Ptr; this->mState = state; @@ -282,7 +282,7 @@ void MapObjectDoorClick::vfunc_5C(MapObjState state, unk32 param2) { } } -MapObject_10 *MapObjectDoorClick::vfunc2_14(void) { +MapObject_10* MapObjectDoorClick::vfunc2_14(void) { return &this->mUnk_A8; } diff --git a/src/031_Land/MapObject/MapObjectDoorDangerSpawn.cpp b/src/031_Land/MapObject/MapObjectDoorDangerSpawn.cpp index ca61e45de..5f1e27290 100644 --- a/src/031_Land/MapObject/MapObjectDoorDangerSpawn.cpp +++ b/src/031_Land/MapObject/MapObjectDoorDangerSpawn.cpp @@ -21,7 +21,7 @@ const UnkStruct_ov031_021150b0 data_ov031_021150b0(0x1E66); DECL_PROFILE(MapObjectProfileDoorDangerSpawn); -MapObject *MapObjectProfileDoorDangerSpawn::Create() { +MapObject* MapObjectProfileDoorDangerSpawn::Create() { return new(HeapIndex_ITCM) MapObjectDoorDangerSpawn(); } @@ -55,7 +55,7 @@ bool MapObjectDoorDangerSpawn::Init(void) { } void MapObjectDoorDangerSpawn::Setup(void) { - MapManagerBase *ptr; + MapManagerBase* ptr; VecFx32 auStack_20; if (this->mUnk_20.mParams[1] == 2) { @@ -87,16 +87,16 @@ void MapObjectDoorDangerSpawn::Setup(void) { MapObjectDoorDangerSpawn_ov031_02116e24 stack(MapObjectId_DoorDangerSpawn); bool run = true; - MapObject **ppMapObject = gpMapObjManager->func_01fff520(&stack, gpMapObjManager->mMapObjTable); + MapObject** ppMapObject = gpMapObjManager->func_01fff520(&stack, gpMapObjManager->mMapObjTable); if (ppMapObject != gpMapObjManager->mUnk_08) { - MapObjectDoorDangerSpawn *pMapObject = (MapObjectDoorDangerSpawn *) *ppMapObject; + MapObjectDoorDangerSpawn* pMapObject = (MapObjectDoorDangerSpawn*) *ppMapObject; u32 temp1; u32 temp2; if (pMapObject != NULL) { - temp1 = *(u32 *) &this->mRef; - temp2 = *(u32 *) &pMapObject->mRef; + temp1 = *(u32*) &this->mRef; + temp2 = *(u32*) &pMapObject->mRef; if (temp2 != temp1 && pMapObject->mUnk_A2) { run = false; @@ -119,7 +119,7 @@ void MapObjectDoorDangerSpawn::Setup(void) { ptr->func_ov000_020803ec(this->mUnk_20.mParams[0]); this->vfunc_5C(MapObjDoorDangerSpawnState_0, 0); - UnkStruct_027e09bc_0C *uVar5 = data_027e09bc->mUnk_04[1][0]; + UnkStruct_027e09bc_0C* uVar5 = data_027e09bc->mUnk_04[1][0]; MapObjectDoorDangerSpawn::func_ov031_020fe5fc(&auStack_20, this); uVar5->func_ov000_0207834c(&auStack_20, func_ov000_02077590(0), 0); @@ -165,7 +165,7 @@ void MapObjectDoorDangerSpawn::vfunc_08(void) { sp3C = *func_ov000_02077590(3); sp3C.s.mUnk_06 = this->mAngle.angle_s; - UnkStruct_027e09bc_0C *temp_r5 = data_027e09bc->mUnk_04[1][0]; + UnkStruct_027e09bc_0C* temp_r5 = data_027e09bc->mUnk_04[1][0]; this->func_ov031_020fe5fc(&sp10, this); temp_r5->func_ov000_02078764(&sp10, &sp3C, 0); @@ -176,7 +176,7 @@ void MapObjectDoorDangerSpawn::vfunc_08(void) { } } else { sp1C = *func_ov000_02077590(0); - UnkStruct_027e09bc_0C *temp_r7_2 = data_027e09bc->mUnk_04[1][0]; + UnkStruct_027e09bc_0C* temp_r7_2 = data_027e09bc->mUnk_04[1][0]; this->func_ov031_020fe5fc(&sp4, this); temp_r7_2->func_ov000_02078764(&sp4, &sp1C, 0); } @@ -195,7 +195,7 @@ void MapObjectDoorDangerSpawn::vfunc_08(void) { } } } else { - UnkStruct_027e09b8 *temp_r6 = data_027e09b8; + UnkStruct_027e09b8* temp_r6 = data_027e09b8; unk32 temp_r4 = this->vfunc_8C(); if (temp_r4 + 0x0A == temp_r6->func_ov000_0207330c()) { @@ -253,12 +253,12 @@ void MapObjectDoorDangerSpawn::vfunc_0C(void) { } void MapObjectDoorDangerSpawn::vfunc_5C(MapObjState state, unk32 param2) { - CourseManager **ptr; + CourseManager** ptr; s32 var_r6; u32 temp_r8; UnkStackStruct1 sp8; s16 sp4; - s16 *sp4Ptr; + s16* sp4Ptr; this->mState = state; this->mUnk_AC.Init(); @@ -267,7 +267,7 @@ void MapObjectDoorDangerSpawn::vfunc_5C(MapObjState state, unk32 param2) { case MapObjDoorDangerSpawnState_3: { this->vfunc_7C(); - sp4Ptr = (s16 *) &sp4; + sp4Ptr = (s16*) &sp4; MapObject::func_ov000_0209d22c(sp4Ptr, this, PlayerType_Link); if (*sp4Ptr >= 0x4000 || *sp4Ptr <= -0x4000) { @@ -382,7 +382,7 @@ void MapObjectDoorDangerSpawn::vfunc_5C(MapObjState state, unk32 param2) { } bool MapObjectDoorDangerSpawn::vfunc_64(void) { - MapManagerBase *pUVar4; + MapManagerBase* pUVar4; unk32 var_r0; bool var_r5; @@ -420,7 +420,7 @@ bool MapObjectDoorDangerSpawn::vfunc_64(void) { } bool MapObjectDoorDangerSpawn::vfunc_68(void) { - MapManagerBase *pUVar2 = gpCourseManager->mpMapMgr; + MapManagerBase* pUVar2 = gpCourseManager->mpMapMgr; if (this->mUnk_20.mParams[2] == 1) { if (func_ov000_0209d29c(1)) { @@ -445,7 +445,7 @@ bool MapObjectDoorDangerSpawn::vfunc_68(void) { } bool MapObjectDoorDangerSpawn::vfunc_6C(void) { - MapManagerBase *pUVar5; + MapManagerBase* pUVar5; switch (this->mUnk_20.mParams[1]) { case 1: @@ -499,8 +499,8 @@ bool MapObjectDoorDangerSpawn::vfunc_6C(void) { } bool MapObjectDoorDangerSpawn::func_ov031_020fdec8(void) { - MapManagerBase *pUVar4; - VecFx32 *uVar3; + MapManagerBase* pUVar4; + VecFx32* uVar3; int iVar1; switch (this->mUnk_20.mParams[1]) { @@ -527,7 +527,7 @@ bool MapObjectDoorDangerSpawn::func_ov031_020fdec8(void) { } pUVar4 = gpCourseManager->mpMapMgr; - uVar3 = (VecFx32 *) &pUVar4->func_ov001_020b8a5c(data_027e09a4->func_ov000_02070560()->spawnIndex, 0)->mUnk_00; + uVar3 = (VecFx32*) &pUVar4->func_ov001_020b8a5c(data_027e09a4->func_ov000_02070560()->spawnIndex, 0)->mUnk_00; if (pUVar4->func_ov000_020802ec(this->mUnk_20.mParams[0], uVar3)) { return true; @@ -541,7 +541,7 @@ bool MapObjectDoorDangerSpawn::func_ov031_020fdec8(void) { return false; } -void MapObjectDoorDangerSpawn::vfunc_18(s8 *param1) { +void MapObjectDoorDangerSpawn::vfunc_18(s8* param1) { this->func_ov031_020fcb78(param1); } @@ -673,7 +673,7 @@ unk32 MapObjectDoorDangerSpawn::vfunc_8C(void) { return 0; } -void MapObjectDoorDangerSpawn::vfunc_84(unk32 param1, VecFx32 *param2, UnkAngleStruct *param3) { +void MapObjectDoorDangerSpawn::vfunc_84(unk32 param1, VecFx32* param2, UnkAngleStruct* param3) { s16 iVar1; if (!this->mUnk_58) { @@ -713,10 +713,10 @@ void MapObjectDoorDangerSpawn::vfunc_84(unk32 param1, VecFx32 *param2, UnkAngleS VEC_Add(&this->mPos, &local_30, &this->mUnk_5C); } -void MapObjectDoorDangerSpawn::func_ov031_020fe5fc(VecFx32 *param1, MapObjectDoorDangerSpawn *thisx) { +void MapObjectDoorDangerSpawn::func_ov031_020fe5fc(VecFx32* param1, MapObjectDoorDangerSpawn* thisx) { if (data_027e0ce0->func_01fff1a4()) { - VecFx32 *piVar2 = data_027e0ce0->func_01fff148(PlayerType_Zelda); - VecFx32 *piVar3 = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* piVar2 = data_027e0ce0->func_01fff148(PlayerType_Zelda); + VecFx32* piVar3 = data_027e0ce0->func_01fff148(PlayerType_Link); VecFx32 temp; VecFx32_Init(piVar3->x, piVar3->y, piVar3->z, &temp); @@ -727,7 +727,7 @@ void MapObjectDoorDangerSpawn::func_ov031_020fe5fc(VecFx32 *param1, MapObjectDoo func_01ff93c0(&pos, FX_F32_TO_FX32(0.5f)); *param1 = pos; } else { - VecFx32 *piVar4 = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* piVar4 = data_027e0ce0->func_01fff148(PlayerType_Link); *param1 = *piVar4; } } diff --git a/src/031_Land/MapObject/MapObjectDoorKey.cpp b/src/031_Land/MapObject/MapObjectDoorKey.cpp index 467795e54..6ccd29316 100644 --- a/src/031_Land/MapObject/MapObjectDoorKey.cpp +++ b/src/031_Land/MapObject/MapObjectDoorKey.cpp @@ -9,7 +9,7 @@ const UnkStruct_ov031_021150b0 data_ov031_02115184(0x1E66); DECL_PROFILE(MapObjectProfileDoorKey); -MapObject *MapObjectProfileDoorKey::Create() { +MapObject* MapObjectProfileDoorKey::Create() { return new(HeapIndex_ITCM) MapObjectDoorKey(); } @@ -40,7 +40,7 @@ void MapObjectDoorKey::vfunc_08(void) { this->mUnk_A4 = false; } -void MapObjectDoorKey::vfunc_18(s8 *param1) { +void MapObjectDoorKey::vfunc_18(s8* param1) { this->MapObjectDoorBase::func_ov031_020fcb78(param1); } diff --git a/src/031_Land/MapObject/MapObjectDoorSwitch.cpp b/src/031_Land/MapObject/MapObjectDoorSwitch.cpp index f3deaea48..8d1da6ae6 100644 --- a/src/031_Land/MapObject/MapObjectDoorSwitch.cpp +++ b/src/031_Land/MapObject/MapObjectDoorSwitch.cpp @@ -10,7 +10,7 @@ const UnkStruct_ov031_021150b0 data_ov031_02115254(0x1E66); DECL_PROFILE(MapObjectProfileDoorSwitch); -MapObject *MapObjectProfileDoorSwitch::Create() { +MapObject* MapObjectProfileDoorSwitch::Create() { return new(HeapIndex_ITCM) MapObjectDoorSwitch(); } @@ -120,7 +120,7 @@ void MapObjectDoorSwitch::vfunc_14(unk32 param1) { this->mUnk_094.vfunc_14(&m, &local_40); } -void MapObjectDoorSwitch::vfunc_18(s8 *param1) { +void MapObjectDoorSwitch::vfunc_18(s8* param1) { this->func_ov031_020fcb78(param1); } @@ -143,7 +143,7 @@ void MapObjectDoorSwitch::vfunc_74(void) { } } -G3d_Model *MapObjectDoorSwitch::GetModel(void) { +G3d_Model* MapObjectDoorSwitch::GetModel(void) { return GetModelFromProfile(); } diff --git a/src/031_Land/MapObject/MapObjectDoorTouch.cpp b/src/031_Land/MapObject/MapObjectDoorTouch.cpp index 8f766c741..344a6fa09 100644 --- a/src/031_Land/MapObject/MapObjectDoorTouch.cpp +++ b/src/031_Land/MapObject/MapObjectDoorTouch.cpp @@ -6,7 +6,7 @@ extern u32 data_ov031_02110c3c[]; DECL_PROFILE(MapObjectProfileDoorTouch); -MapObject *MapObjectProfileDoorTouch::Create() { +MapObject* MapObjectProfileDoorTouch::Create() { return new(HeapIndex_ITCM) MapObjectDoorTouch(); } @@ -27,7 +27,7 @@ bool MapObjectDoorTouch::Init(void) { } void MapObjectDoorTouch::vfunc2_10(void) { - MapObjectProfileDoorTouch *p = GET_PROFILE(MapObjectProfileDoorTouch); + MapObjectProfileDoorTouch* p = GET_PROFILE(MapObjectProfileDoorTouch); unk32 index = this->mUnk_20.mParams[0]; this->mUnk_94.vfunc_08(GetModelFromProfile2(index, data_ov031_02110c3c[index])); } diff --git a/src/031_Land/MapObject/MapObjectGrass.cpp b/src/031_Land/MapObject/MapObjectGrass.cpp index 78abd691a..bd01b11d6 100644 --- a/src/031_Land/MapObject/MapObjectGrass.cpp +++ b/src/031_Land/MapObject/MapObjectGrass.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(MapObjectProfileGrass); -MapObject *MapObjectProfileGrass::Create() { +MapObject* MapObjectProfileGrass::Create() { return new(HeapIndex_ITCM) MapObjectGrass(); } @@ -105,7 +105,7 @@ bool MapObjectGrass::vfunc_38(MapObjState state, unk32 param2) { // non-matching bool MapObjectGrass::func_ov031_021016b4() {} -void MapObjectGrass::vfunc_3C(VecFx32 *param1) { +void MapObjectGrass::vfunc_3C(VecFx32* param1) { data_027e0cec->func_ov000_0209feac(0x923, param1, 0x4, 0x0, 0x0); } @@ -118,7 +118,7 @@ bool MapObjectGrass::func_ov031_02101778() { return false; } -bool MapObjectGrass::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) { +bool MapObjectGrass::vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) { if (this->mUnk_64 != -0x1) { return false; } @@ -170,6 +170,6 @@ void MapObjectGrass::func_ov031_02101968(unk32 param1) { } // non-matching -void MapObjectGrass::func_ov031_02101978(unk32 param1, VecFx32 *param2) { +void MapObjectGrass::func_ov031_02101978(unk32 param1, VecFx32* param2) { VecFx32_Copy(param2, &this->mUnk_40[param1]); } diff --git a/src/031_Land/MapObject/MapObjectPot.cpp b/src/031_Land/MapObject/MapObjectPot.cpp index eb4e6e62e..4734259b8 100644 --- a/src/031_Land/MapObject/MapObjectPot.cpp +++ b/src/031_Land/MapObject/MapObjectPot.cpp @@ -15,7 +15,7 @@ extern MapObject_10_Pot data_ov031_02118010; DECL_PROFILE(MapObjectProfilePot); -MapObject *MapObjectProfilePot::Create() { +MapObject* MapObjectProfilePot::Create() { return new(HeapIndex_ITCM) MapObjectPot(); } @@ -33,7 +33,7 @@ MapObjectProfilePot::MapObjectProfilePot() : this->mUnk_0C = 0x1000; } -ModelRender_ov000_020b198c::ModelRender_ov000_020b198c(G3d_Model *pModel, unk8 param2) : +ModelRender_ov000_020b198c::ModelRender_ov000_020b198c(G3d_Model* pModel, unk8 param2) : ModelRenderBase(pModel), mUnk_08(param2), mUnk_0A(0x0), @@ -53,7 +53,7 @@ void MapObjectPot::Setup() { this->mPos.y = func_01ffe868(&this->mPos, 0x1, 0x0); } -bool MapObjectPot::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) { +bool MapObjectPot::vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) { switch (param2) { case 0xD: this->SetState(0x1, 0x0); @@ -75,7 +75,7 @@ bool MapObjectPot::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) { break; case 0x4: if (data_027e0d38->func_ov031_020d9c04(0x1, 0x0, 0x0)) { - Actor *actor = gpActorManager->func_01fff3b4(param1); + Actor* actor = gpActorManager->func_01fff3b4(param1); if (actor != NULL) { this->mAngle.angle_s = actor->mAngle.angle_s; this->SetState(0x3, 0x0); @@ -127,11 +127,11 @@ unk32 MapObjectPot::vfunc_54() { return this->MapObjectPot_Base::vfunc_54(); } -void MapObjectPot::vfunc_24(MapObject *param1, VecFx32 param2) { +void MapObjectPot::vfunc_24(MapObject* param1, VecFx32 param2) { this->MapObjectPot_Base::vfunc_24(param1, param2); param1->func_ov000_0209d614(0x1); - if (((MapObjectPot_Base *) param1)->MapObjectPot_Base::vfunc_54() != 0x65) { + if (((MapObjectPot_Base*) param1)->MapObjectPot_Base::vfunc_54() != 0x65) { return; } diff --git a/src/031_Land/MapObject/MapObjectTreasureSpawned.cpp b/src/031_Land/MapObject/MapObjectTreasureSpawned.cpp index 5074e0b12..ab5d33d3b 100644 --- a/src/031_Land/MapObject/MapObjectTreasureSpawned.cpp +++ b/src/031_Land/MapObject/MapObjectTreasureSpawned.cpp @@ -7,7 +7,7 @@ static const Vec2pCpp data_ov031_021157b0(0x96B, 0x99A); DECL_PROFILE(MapObjectProfileTreasureSpawned); -MapObject *MapObjectProfileTreasureSpawned::Create() { +MapObject* MapObjectProfileTreasureSpawned::Create() { return new(HeapIndex_ITCM) MapObjectTreasureSpawned(); } @@ -35,8 +35,8 @@ bool MapObjectTreasureSpawned::vfunc_40() { return true; } -Vec2p *MapObjectTreasureSpawned::vfunc_54() { - return (Vec2p *) &data_ov031_021157b0; +Vec2p* MapObjectTreasureSpawned::vfunc_54() { + return (Vec2p*) &data_ov031_021157b0; } MapObjectTreasureSpawned::~MapObjectTreasureSpawned() {} diff --git a/src/031_Land/MapObject/MapObjectUnkBLCC.cpp b/src/031_Land/MapObject/MapObjectUnkBLCC.cpp index 7efde1344..24eb53347 100644 --- a/src/031_Land/MapObject/MapObjectUnkBLCC.cpp +++ b/src/031_Land/MapObject/MapObjectUnkBLCC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBLCC); -MapObject *MapObjectProfileUnkBLCC::Create() { +MapObject* MapObjectProfileUnkBLCC::Create() { return new(HeapIndex_2) MapObjectUnkBLCC(); } diff --git a/src/031_Land/MapObject/MapObjectUnkBREX.cpp b/src/031_Land/MapObject/MapObjectUnkBREX.cpp index 7ee2c2c3e..21be2bc5b 100644 --- a/src/031_Land/MapObject/MapObjectUnkBREX.cpp +++ b/src/031_Land/MapObject/MapObjectUnkBREX.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBREX); -MapObject *MapObjectProfileUnkBREX::Create() { +MapObject* MapObjectProfileUnkBREX::Create() { return new(HeapIndex_2) MapObjectUnkBREX(); } diff --git a/src/031_Land/MapObject/MapObjectUnkCRWL.cpp b/src/031_Land/MapObject/MapObjectUnkCRWL.cpp index 07ad83285..3c5cc439e 100644 --- a/src/031_Land/MapObject/MapObjectUnkCRWL.cpp +++ b/src/031_Land/MapObject/MapObjectUnkCRWL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkCRWL); -MapObject *MapObjectProfileUnkCRWL::Create() { +MapObject* MapObjectProfileUnkCRWL::Create() { return new(HeapIndex_2) MapObjectUnkCRWL(); } diff --git a/src/031_Land/MapObject/MapObjectUnkEXIT.cpp b/src/031_Land/MapObject/MapObjectUnkEXIT.cpp index bac9f356c..c207bde8d 100644 --- a/src/031_Land/MapObject/MapObjectUnkEXIT.cpp +++ b/src/031_Land/MapObject/MapObjectUnkEXIT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkEXIT); -MapObject *MapObjectProfileUnkEXIT::Create() { +MapObject* MapObjectProfileUnkEXIT::Create() { return new(HeapIndex_2) MapObjectUnkEXIT(); } diff --git a/src/031_Land/MapObject/MapObjectUnkGATE.cpp b/src/031_Land/MapObject/MapObjectUnkGATE.cpp index 18ed6d194..0aa2efbec 100644 --- a/src/031_Land/MapObject/MapObjectUnkGATE.cpp +++ b/src/031_Land/MapObject/MapObjectUnkGATE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkGATE); -MapObject *MapObjectProfileUnkGATE::Create() { +MapObject* MapObjectProfileUnkGATE::Create() { return new(HeapIndex_2) MapObjectUnkGATE(); } diff --git a/src/031_Land/MapObject/MapObjectUnkGSST.cpp b/src/031_Land/MapObject/MapObjectUnkGSST.cpp index 9e1e90ff9..6a7190890 100644 --- a/src/031_Land/MapObject/MapObjectUnkGSST.cpp +++ b/src/031_Land/MapObject/MapObjectUnkGSST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkGSST); -MapObject *MapObjectProfileUnkGSST::Create() { +MapObject* MapObjectProfileUnkGSST::Create() { return new(HeapIndex_2) MapObjectUnkGSST(); } diff --git a/src/031_Land/MapObject/MapObjectUnkITFL.cpp b/src/031_Land/MapObject/MapObjectUnkITFL.cpp index e8bbfac24..762b4f0b7 100644 --- a/src/031_Land/MapObject/MapObjectUnkITFL.cpp +++ b/src/031_Land/MapObject/MapObjectUnkITFL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkITFL); -MapObject *MapObjectProfileUnkITFL::Create() { +MapObject* MapObjectProfileUnkITFL::Create() { return new(HeapIndex_2) MapObjectUnkITFL(); } diff --git a/src/031_Land/MapObject/MapObjectUnkRLSG.cpp b/src/031_Land/MapObject/MapObjectUnkRLSG.cpp index bb12832fe..be634eef2 100644 --- a/src/031_Land/MapObject/MapObjectUnkRLSG.cpp +++ b/src/031_Land/MapObject/MapObjectUnkRLSG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkRLSG); -MapObject *MapObjectProfileUnkRLSG::Create() { +MapObject* MapObjectProfileUnkRLSG::Create() { return new(HeapIndex_2) MapObjectUnkRLSG(); } diff --git a/src/031_Land/MapObject/MapObjectUnkSAND.cpp b/src/031_Land/MapObject/MapObjectUnkSAND.cpp index 7cec9954e..6c5e7f6b9 100644 --- a/src/031_Land/MapObject/MapObjectUnkSAND.cpp +++ b/src/031_Land/MapObject/MapObjectUnkSAND.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSAND); -MapObject *MapObjectProfileUnkSAND::Create() { +MapObject* MapObjectProfileUnkSAND::Create() { return new(HeapIndex_2) MapObjectUnkSAND(); } @@ -14,7 +14,7 @@ MapObjectProfileUnkSAND::MapObjectProfileUnkSAND() : void MapObjectUnkSAND::func_ov031_0210acd4(void) {} void MapObjectUnkSAND::func_ov031_0210ad64(void) {} -bool MapObjectUnkSAND::func_ov031_0210ae00(Vec2bCpp param1, void *param2) {} +bool MapObjectUnkSAND::func_ov031_0210ae00(Vec2bCpp param1, void* param2) {} void MapObjectUnkSAND::func_ov031_0210ae90(void) {} void MapObjectUnkSAND::func_ov031_0210af50(void) {} void MapObjectUnkSAND::func_ov031_0210b018(void) {} @@ -22,7 +22,7 @@ void MapObjectUnkSAND::func_ov031_0210b028(void) {} void MapObjectUnkSAND::func_ov031_0210b0ac(void) {} void MapObjectUnkSAND::func_ov031_0210b0e4(void) {} void MapObjectUnkSAND::func_ov031_0210b144(void) {} -void MapObjectUnkSAND::func_ov031_0210b17c(MapObjectUnkSAND_40 *param1, unk32 param2) {} +void MapObjectUnkSAND::func_ov031_0210b17c(MapObjectUnkSAND_40* param1, unk32 param2) {} void MapObjectUnkSAND::func_ov031_0210b1ec(void) {} void MapObjectUnkSAND::func_ov031_0210b2cc(void) {} void MapObjectUnkSAND::func_ov031_0210b32c(void) {} diff --git a/src/031_Land/MapObject/MapObjectUnkSKBN.cpp b/src/031_Land/MapObject/MapObjectUnkSKBN.cpp index 5610be510..5ef84e479 100644 --- a/src/031_Land/MapObject/MapObjectUnkSKBN.cpp +++ b/src/031_Land/MapObject/MapObjectUnkSKBN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSKBN); -MapObject *MapObjectProfileUnkSKBN::Create() { +MapObject* MapObjectProfileUnkSKBN::Create() { return new(HeapIndex_2) MapObjectUnkSKBN(); } diff --git a/src/031_Land/MapObject/MapObjectUnkSKDI.cpp b/src/031_Land/MapObject/MapObjectUnkSKDI.cpp index 8f857eb35..18b42e6e4 100644 --- a/src/031_Land/MapObject/MapObjectUnkSKDI.cpp +++ b/src/031_Land/MapObject/MapObjectUnkSKDI.cpp @@ -11,7 +11,7 @@ DECL_PROFILE(MapObjectProfileUnkSKDI); -MapObject *MapObjectProfileUnkSKDI::Create() { +MapObject* MapObjectProfileUnkSKDI::Create() { return new(HeapIndex_ITCM) MapObjectUnkSKDI(); } @@ -163,13 +163,13 @@ void MapObjectUnkSKDI::func_ov031_0210643c(unk32 param1) { if (this->func_ov000_0209d3b4(0x0, FX_F32_TO_FX32(2.0f)) != 0x0) { VecFx32 vec; VecFx32_Init(this->mPos.x, this->mPos.y + FX_F32_TO_FX32(1.25f), this->mPos.z, &vec); - UnkStruct_027e0cec *data = data_027e0cec; - for (ActorBomb_unk *ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) { + UnkStruct_027e0cec* data = data_027e0cec; + for (ActorBomb_unk* ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) { data->func_ov000_020a0140(ptr, &vec); } } else { - UnkStruct_027e0cec *data = data_027e0cec; - for (ActorBomb_unk *ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) { + UnkStruct_027e0cec* data = data_027e0cec; + for (ActorBomb_unk* ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) { data->func_ov000_020a0110(ptr); } } @@ -263,8 +263,8 @@ void MapObjectUnkSKDI::func_ov031_02106678(MapObjState state, unk32 param2) { } this->func_ov000_0209d2c4(0x0, true); } - UnkStruct_027e0cec *data = data_027e0cec; - for (ActorBomb_unk *ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) { + UnkStruct_027e0cec* data = data_027e0cec; + for (ActorBomb_unk* ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) { data->func_ov000_020a0140(ptr, &sp48); } unk32 dc = this->mUnk_0D4.mUnk_08; @@ -286,8 +286,8 @@ void MapObjectUnkSKDI::func_ov031_02106678(MapObjState state, unk32 param2) { if (param2 == 0) { this->func_ov000_0209d2c4(0x0, false); - UnkStruct_027e0cec *data = data_027e0cec; - for (ActorBomb_unk *ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) { + UnkStruct_027e0cec* data = data_027e0cec; + for (ActorBomb_unk* ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) { data->func_ov000_020a0110(ptr); } if (this->mUnk_0FC == 0) { @@ -323,7 +323,7 @@ class ActorUnk_MapObjectUnkSKDI_vfunc_1C : public Actor { /* 12C */ }; -bool MapObjectUnkSKDI::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) { +bool MapObjectUnkSKDI::vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) { bool var_r1 = false; if (param1.acRef.type_index == 0x102) { @@ -363,8 +363,8 @@ bool MapObjectUnkSKDI::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) var_r1 = false; } if (this->mState == MapObjUnkSKDIState_2 && var_r1) { - ActorUnk_MapObjectUnkSKDI_vfunc_1C *actor = - (ActorUnk_MapObjectUnkSKDI_vfunc_1C *) gpActorManager->func_01fff3b4(param1); + ActorUnk_MapObjectUnkSKDI_vfunc_1C* actor = + (ActorUnk_MapObjectUnkSKDI_vfunc_1C*) gpActorManager->func_01fff3b4(param1); if (actor != NULL) { switch (actor->mUnk_128) { case 0x1: diff --git a/src/031_Land/MapObject/MapObjectUnkSPTB.cpp b/src/031_Land/MapObject/MapObjectUnkSPTB.cpp index 0bcd134d9..ffc3ffd73 100644 --- a/src/031_Land/MapObject/MapObjectUnkSPTB.cpp +++ b/src/031_Land/MapObject/MapObjectUnkSPTB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSPTB); -MapObject *MapObjectProfileUnkSPTB::Create() { +MapObject* MapObjectProfileUnkSPTB::Create() { return new(HeapIndex_2) MapObjectUnkSPTB(); } diff --git a/src/031_Land/MapObject/MapObjectUnkSTIR.cpp b/src/031_Land/MapObject/MapObjectUnkSTIR.cpp index a8c6df6b6..75d4422fc 100644 --- a/src/031_Land/MapObject/MapObjectUnkSTIR.cpp +++ b/src/031_Land/MapObject/MapObjectUnkSTIR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSTIR); -MapObject *MapObjectProfileUnkSTIR::Create() { +MapObject* MapObjectProfileUnkSTIR::Create() { return new(HeapIndex_2) MapObjectUnkSTIR(); } diff --git a/src/031_Land/MapObject/MapObjectUnkSTSP.cpp b/src/031_Land/MapObject/MapObjectUnkSTSP.cpp index 9ebd83b84..00f9365f5 100644 --- a/src/031_Land/MapObject/MapObjectUnkSTSP.cpp +++ b/src/031_Land/MapObject/MapObjectUnkSTSP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSTSP); -MapObject *MapObjectProfileUnkSTSP::Create() { +MapObject* MapObjectProfileUnkSTSP::Create() { return new(HeapIndex_2) MapObjectUnkSTSP(); } diff --git a/src/031_Land/MapObject/MapObjectUnkSWFS.cpp b/src/031_Land/MapObject/MapObjectUnkSWFS.cpp index 18bea02e5..6e02a4139 100644 --- a/src/031_Land/MapObject/MapObjectUnkSWFS.cpp +++ b/src/031_Land/MapObject/MapObjectUnkSWFS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSWFS); -MapObject *MapObjectProfileUnkSWFS::Create() { +MapObject* MapObjectProfileUnkSWFS::Create() { return new(HeapIndex_2) MapObjectUnkSWFS(); } @@ -29,9 +29,9 @@ void MapObjectUnkSWFS::func_ov031_0210d664(void) {} void MapObjectUnkSWFS::func_ov031_0210d710(void) {} void MapObjectUnkSWFS::func_ov031_0210d750(void) {} #if IS_JP -void MapObjectUnkSWFS::func_ov031_0210d794(VecFx32 *param1, unk32 param2) {} +void MapObjectUnkSWFS::func_ov031_0210d794(VecFx32* param1, unk32 param2) {} #else -void MapObjectUnkSWFS::func_ov031_0210d794(VecFx32 *param1, unk32 param2, unk32 param3) {} +void MapObjectUnkSWFS::func_ov031_0210d794(VecFx32* param1, unk32 param2, unk32 param3) {} #endif void MapObjectUnkSWFS::func_ov031_0210d924(void) {} void MapObjectUnkSWFS::func_ov031_0210d968(void) {} diff --git a/src/031_Land/MapObject/MapObjectUnkSWHT.cpp b/src/031_Land/MapObject/MapObjectUnkSWHT.cpp index b18ab8aea..7a7289486 100644 --- a/src/031_Land/MapObject/MapObjectUnkSWHT.cpp +++ b/src/031_Land/MapObject/MapObjectUnkSWHT.cpp @@ -18,7 +18,7 @@ DECL_PROFILE(MapObjectProfileUnkSWHT); static MapObject_10 data_ov031_02117a9c = MapObject_10(); static MapObjectProfile_Derived2_20 data_ov031_021179e8 = MapObjectProfile_Derived2_20(); -MapObject *MapObjectProfileUnkSWHT::Create() { +MapObject* MapObjectProfileUnkSWHT::Create() { return new(HeapIndex_ITCM) MapObjectUnkSWHT(); } @@ -44,7 +44,7 @@ MapObjectUnkSWHT::MapObjectUnkSWHT() : this->mUnk_0B4.mpModel = this->mUnk_054.mpModel; unk32 param2 = data_ov031_021179e8.func_ov000_02058a24(); - UnkStruct_ov000_02058a84 *param1 = data_ov031_021179e8.func_ov000_02058a84(0x3, &data_ov031_02110ce0); + UnkStruct_ov000_02058a84* param1 = data_ov031_021179e8.func_ov000_02058a84(0x3, &data_ov031_02110ce0); this->mUnk_0B4.func_ov000_020577a4(param1, param2, true); @@ -199,9 +199,9 @@ void MapObjectUnkSWHT::vfunc_14(unk32 param1) { this->mUnk_054.vfunc_18(&this->mPos); } -bool MapObjectUnkSWHT::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) { +bool MapObjectUnkSWHT::vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) { if (param1.common.type != 0x0) { - Actor *actor = gpActorManager->func_01fff3b4(param1); + Actor* actor = gpActorManager->func_01fff3b4(param1); if (actor != NULL) { if (actor->GetActorId() == ActorId_SRST) { return false; @@ -224,7 +224,7 @@ bool MapObjectUnkSWHT::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) return false; case 0xA: if (param1.common.type != 0x0) { - Actor *actor = gpActorManager->func_01fff3b4(param1); + Actor* actor = gpActorManager->func_01fff3b4(param1); if (actor != NULL) { if (actor->GetActorId() == ActorId_KEYB) { return true; diff --git a/src/031_Land/MapObject/MapObjectUnkTATZ.cpp b/src/031_Land/MapObject/MapObjectUnkTATZ.cpp index d67acdbcb..c42314b49 100644 --- a/src/031_Land/MapObject/MapObjectUnkTATZ.cpp +++ b/src/031_Land/MapObject/MapObjectUnkTATZ.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTATZ); -MapObject *MapObjectProfileUnkTATZ::Create() { +MapObject* MapObjectProfileUnkTATZ::Create() { return new(HeapIndex_2) MapObjectUnkTATZ(); } diff --git a/src/031_Land/MapObject/MapObjectUnkTRED.cpp b/src/031_Land/MapObject/MapObjectUnkTRED.cpp index e63f21015..4a43c6b8d 100644 --- a/src/031_Land/MapObject/MapObjectUnkTRED.cpp +++ b/src/031_Land/MapObject/MapObjectUnkTRED.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRED); -MapObject *MapObjectProfileUnkTRED::Create() { +MapObject* MapObjectProfileUnkTRED::Create() { return new(HeapIndex_2) MapObjectUnkTRED(); } diff --git a/src/031_Land/MapObject/MapObjectUnkTREN.cpp b/src/031_Land/MapObject/MapObjectUnkTREN.cpp index fbf868fde..86ef804e1 100644 --- a/src/031_Land/MapObject/MapObjectUnkTREN.cpp +++ b/src/031_Land/MapObject/MapObjectUnkTREN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTREN); -MapObject *MapObjectProfileUnkTREN::Create() { +MapObject* MapObjectProfileUnkTREN::Create() { return new(HeapIndex_2) MapObjectUnkTREN(); } diff --git a/src/031_Land/MapObject/MapObjectUnkTREW.cpp b/src/031_Land/MapObject/MapObjectUnkTREW.cpp index 974375154..505357852 100644 --- a/src/031_Land/MapObject/MapObjectUnkTREW.cpp +++ b/src/031_Land/MapObject/MapObjectUnkTREW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTREW); -MapObject *MapObjectProfileUnkTREW::Create() { +MapObject* MapObjectProfileUnkTREW::Create() { return new(HeapIndex_2) MapObjectUnkTREW(); } diff --git a/src/031_Land/MapObject/MapObjectUnkTRWS.cpp b/src/031_Land/MapObject/MapObjectUnkTRWS.cpp index ede26887c..def07565c 100644 --- a/src/031_Land/MapObject/MapObjectUnkTRWS.cpp +++ b/src/031_Land/MapObject/MapObjectUnkTRWS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRWS); -MapObject *MapObjectProfileUnkTRWS::Create() { +MapObject* MapObjectProfileUnkTRWS::Create() { return new(HeapIndex_2) MapObjectUnkTRWS(); } diff --git a/src/031_Land/Player/LinkStateDamage_031.cpp b/src/031_Land/Player/LinkStateDamage_031.cpp index e1191d196..81c15411e 100644 --- a/src/031_Land/Player/LinkStateDamage_031.cpp +++ b/src/031_Land/Player/LinkStateDamage_031.cpp @@ -50,15 +50,15 @@ void LinkStateDamage_84::func_ov031_020dacdc(bool param1) { VecFx32 sp0; this->mpLink->func_ov000_0208cc20(&sp0); - UnkStruct_027e0cec *temp_r0 = data_027e0cec; + UnkStruct_027e0cec* temp_r0 = data_027e0cec; - for (LinkStateDamage_84_10 *ptr = this->mUnk_10; ptr != &this->mUnk_10[ARRAY_LEN(this->mUnk_10)]; ptr++) { + for (LinkStateDamage_84_10* ptr = this->mUnk_10; ptr != &this->mUnk_10[ARRAY_LEN(this->mUnk_10)]; ptr++) { temp_r0->func_ov000_020a0140(ptr, &sp0); } } else { - UnkStruct_027e0cec *temp_r0 = data_027e0cec; + UnkStruct_027e0cec* temp_r0 = data_027e0cec; - for (LinkStateDamage_84_10 *ptr = this->mUnk_10; ptr != &this->mUnk_10[ARRAY_LEN(this->mUnk_10)]; ptr++) { + for (LinkStateDamage_84_10* ptr = this->mUnk_10; ptr != &this->mUnk_10[ARRAY_LEN(this->mUnk_10)]; ptr++) { temp_r0->func_ov000_020a0110(ptr); } } @@ -70,7 +70,7 @@ void LinkStateDamage_AC::func_ov031_020dad80() { } void LinkStateDamage_AC::func_ov031_020dad98() { - PlayerActorBase_70 *temp_r2 = this->mUnk_1C; + PlayerActorBase_70* temp_r2 = this->mUnk_1C; VecFx32_Copy(&data_027e07d4, &temp_r2->mUnk_118.vec); data_027e0cec->func_ov000_0209feac(0x894, &this->mpLink2->mPos.vec, 0x01, 0x00, 0x00); @@ -86,14 +86,14 @@ void LinkStateDamage_AC::func_ov031_020dae3c() { data_027e09a8->func_ov000_02071700(0x8C81, &this->mpLink2->mPos.vec); } -bool LinkStateDamage_AC::func_ov031_020dae8c(UnkStruct_027e0ce0_40 *param1) { +bool LinkStateDamage_AC::func_ov031_020dae8c(UnkStruct_027e0ce0_40* param1) { VecFx32 sp0; s32 temp_ip; s32 temp_r0; s32 temp_r4; - PlayerActorBase_70 *temp_r1; - LinkStateBase_2C *temp_r2; - void *temp_r3; + PlayerActorBase_70* temp_r1; + LinkStateBase_2C* temp_r2; + void* temp_r3; this->mUnk_24++; this->mUnk_1C->mUnk_12B = true; @@ -147,6 +147,6 @@ void LinkStateDamage_AC::func_ov031_020db028() { data_027e0958->func_ov000_02058fc4(this, &sp0); s32 matId = NNS_G3dGetUnkMatDataByName(NNS_G3dGetMat(this->mUnk_2C.mpModel), data_ov031_021106ec); - G3d_Model *temp_r4 = this->mUnk_2C.mpModel; + G3d_Model* temp_r4 = this->mUnk_2C.mpModel; func_0200ea38(temp_r4, matId, data_ov000_020b4ec4.func_01ffc768(0x00)); } diff --git a/src/031_Land/Player/LinkStateGrabbed_031.cpp b/src/031_Land/Player/LinkStateGrabbed_031.cpp index 58f00b45d..3f6255c53 100644 --- a/src/031_Land/Player/LinkStateGrabbed_031.cpp +++ b/src/031_Land/Player/LinkStateGrabbed_031.cpp @@ -11,7 +11,7 @@ #include "nitro/fx/consts.h" #include "nitro/math.h" -LinkStateGrabbed::LinkStateGrabbed(PlayerLinkActor_A0_84 *param1) : +LinkStateGrabbed::LinkStateGrabbed(PlayerLinkActor_A0_84* param1) : LinkStateBase(param1), mUnk_54(0x00), mUnk_58(0), @@ -28,7 +28,7 @@ LinkStateGrabbed::LinkStateGrabbed(PlayerLinkActor_A0_84 *param1) : mUnk_70(-2) {} LinkStateGrabbed::~LinkStateGrabbed() { - PlayerLinkActor *pLink = this->mpLink; + PlayerLinkActor* pLink = this->mpLink; pLink->mUnk_38.mUnk_00.mUnk_08 &= ~0x04; @@ -89,10 +89,10 @@ bool LinkStateGrabbed::func_ov031_020dd570() { extern unk16 data_ov000_020ace80; -void LinkStateGrabbed::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { +void LinkStateGrabbed::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1) { unk32 sp18; s32 var_r2; - UnkStruct_027e0ce0_40 *temp_r1_2; + UnkStruct_027e0ce0_40* temp_r1_2; STACK_PAD(8); @@ -225,7 +225,7 @@ void LinkStateGrabbed::vfunc_10(LinkState state, unk32 param2) { this->mUnk_64++; - if (*(u32 *) &this->mUnk_30->mUnk_34.mUnk_00 & 8) { + if (*(u32*) &this->mUnk_30->mUnk_34.mUnk_00 & 8) { if (data_027e0ce0->mHealth == 0) { this->mUnk_30->mUnk_34.mUnk_00 &= ~0x08; return; diff --git a/src/031_Land/Player/LinkStateHit_031.cpp b/src/031_Land/Player/LinkStateHit_031.cpp index f91a8cbf2..f7312756e 100644 --- a/src/031_Land/Player/LinkStateHit_031.cpp +++ b/src/031_Land/Player/LinkStateHit_031.cpp @@ -46,7 +46,7 @@ static const UnkStruct_ov031_02110798 data_ov031_02110798[] = { {0x0000, 0x0000, 0x1000, 0x0000, 0xF666, 0xFFFF, 0x00, 0x00, DEG_TO_ANG(0), FX_F32_TO_FX32(0.0f)}, }; -LinkStateHit::LinkStateHit(PlayerLinkActor_A0_84 *param1) : +LinkStateHit::LinkStateHit(PlayerLinkActor_A0_84* param1) : LinkStateBase(param1), mUnk_54(-1), mUnk_58(0x00), @@ -77,7 +77,7 @@ LinkStateHit::~LinkStateHit() { this->mUnk_BC.func_ov031_020e05fc(); } -void LinkStateHit::func_ov031_020de388(fx32 param1, VecFx32 *param2) { +void LinkStateHit::func_ov031_020de388(fx32 param1, VecFx32* param2) { fx32 unk_10 = data_ov031_02110798[this->mUnk_54].unk_10; u16 unk_0E = data_ov031_02110798[this->mUnk_54].unk_0E; @@ -97,7 +97,7 @@ inline fx32 inline_fn(fx32 param1) { return FX32_ONE - param1; } -void LinkStateHit::func_ov031_020de458(fx32 param1, VecFx32 *param2) { +void LinkStateHit::func_ov031_020de458(fx32 param1, VecFx32* param2) { switch (this->mUnk_54) { case 0: case 4: { @@ -125,7 +125,7 @@ void LinkStateHit::func_ov031_020de458(fx32 param1, VecFx32 *param2) { var_r1 += (param1 * data_ov031_02110798[this->mUnk_54].unk_04) / FX32_HALF; } else { //! TODO: remove inline - var_r1 += ((inline_fn(param1)) *data_ov031_02110798[this->mUnk_54].unk_04) / FX32_HALF; + var_r1 += ((inline_fn(param1)) * data_ov031_02110798[this->mUnk_54].unk_04) / FX32_HALF; } fx32 x = FX_MUL(SIN(this->mUnk_40->angle_s), var_r1); @@ -148,7 +148,7 @@ void LinkStateHit::func_ov031_020de458(fx32 param1, VecFx32 *param2) { } } -bool LinkStateHit::func_ov031_020de664(fx32 param1, Sphere *param2, Sphere *param3) { +bool LinkStateHit::func_ov031_020de664(fx32 param1, Sphere* param2, Sphere* param3) { if (this->mUnk_54 == -1 || this->mUnk_74 <= 0 || this->mUnk_CF) { if (param2 != NULL) { VecFx32_Copy(&data_027e07d4, ¶m2->center); @@ -192,7 +192,7 @@ void LinkStateHit::func_ov031_020de80c(unk32 param1) { } } -bool LinkStateHit::func_ov031_020de838(VecFx32 *param1, VecFx32 *param2, UnkStruct_ov031_02112b40 *param3) { +bool LinkStateHit::func_ov031_020de838(VecFx32* param1, VecFx32* param2, UnkStruct_ov031_02112b40* param3) { bool var_r4 = false; VecFx32 sp0; @@ -246,7 +246,7 @@ LinkState LinkStateHit::func_ov031_020de944(LinkState state) { return (func_ov000_020704c8()->Next32(0) & 0x80000000) ? LinkState_36 : LinkState_37; } -unk32 LinkStateHit::func_ov031_020de9a8(const UnkStruct_ov000_0208a38c *param1) { +unk32 LinkStateHit::func_ov031_020de9a8(const UnkStruct_ov000_0208a38c* param1) { if (param1->mUnk_00 != 0x04) { return 0x00; } @@ -263,7 +263,7 @@ unk32 LinkStateHit::func_ov031_020de9a8(const UnkStruct_ov000_0208a38c *param1) } s16 sp0; - func_ov000_0205d65c(&sp0, this->mUnk_34, (VecFx32 *) ¶m1->mUnk_04, *this->mUnk_40); + func_ov000_0205d65c(&sp0, this->mUnk_34, (VecFx32*) ¶m1->mUnk_04, *this->mUnk_40); this->mUnk_40->angle_s = sp0; return func_ov000_02090154(var_r4); } @@ -273,7 +273,7 @@ unk32 LinkStateHit::vfunc_00() { RefStruct spC; s16 sp0; s32 var_r6 = 0x00; - UnkStruct_027e0ce0_40 *temp_r8 = this->mUnk_24; + UnkStruct_027e0ce0_40* temp_r8 = this->mUnk_24; STACK_PAD(4); @@ -301,10 +301,10 @@ unk32 LinkStateHit::vfunc_00() { return var_r6; } -void LinkStateHit::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { +void LinkStateHit::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1) { unk32 sp0; s32 var_r0; - VecFx32 *temp_r0_3; + VecFx32* temp_r0_3; fx32 x, z; this->mUnk_2C->mUnk_58 = 0x00; @@ -415,9 +415,9 @@ void LinkStateHit::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { } } -static inline BOOL UnkInline1(LinkStateHit *thisx) { +static inline BOOL UnkInline1(LinkStateHit* thisx) { //! TODO: fake match? the inline is technically not required - if (*(u16 *) ((u8 *) &data_ov031_02110798[0].unk_04 + (thisx->mUnk_54 * sizeof(UnkStruct_ov031_02110798)) + 0x12) & 0x01) { + if (*(u16*) ((u8*) &data_ov031_02110798[0].unk_04 + (thisx->mUnk_54 * sizeof(UnkStruct_ov031_02110798)) + 0x12) & 0x01) { return true; } @@ -624,7 +624,7 @@ void LinkStateHit::vfunc_10(LinkState state, unk32 param2) { case 7: if (this->mUnk_D2 < 0x0F) { if (this->mUnk_4C->func_02015080(0xC000) != 0x00) { - ModelRender_UnkSystem1 *ptr = this->mUnk_48->mUnk_028; + ModelRender_UnkSystem1* ptr = this->mUnk_48->mUnk_028; this->mUnk_48->mUnk_020->mUnk_00.func_ov000_020577f8(0x6000); ptr->mUnk_00.func_ov000_020577f8(0x6000); this->mUnk_BC.func_ov031_020e0368(*this->mUnk_40, this->mUnk_54); @@ -637,7 +637,7 @@ void LinkStateHit::vfunc_10(LinkState state, unk32 param2) { case 8: if (this->mUnk_D2 < 0x11) { if (this->mUnk_4C->func_02015080(0xB000) != 0x00) { - ModelRender_UnkSystem1 *ptr = this->mUnk_48->mUnk_028; + ModelRender_UnkSystem1* ptr = this->mUnk_48->mUnk_028; this->mUnk_48->mUnk_020->mUnk_00.func_ov000_020577f8(0x6000); ptr->mUnk_00.func_ov000_020577f8(0x6000); this->mUnk_BC.func_ov031_020e0368(*this->mUnk_40, this->mUnk_54); @@ -709,8 +709,7 @@ void LinkStateHit::vfunc_10(LinkState state, unk32 param2) { switch (this->mUnk_48->mUnk_030.mUnk_0E) { case 7: if (this->mUnk_38->y > 0 && this->mUnk_B4 > 0) { - var_r6_2 -= - FX_MUL(var_r6_2 - temp_r5, FX_Div(this->mUnk_38->y, this->mUnk_B4)); + var_r6_2 -= FX_MUL(var_r6_2 - temp_r5, FX_Div(this->mUnk_38->y, this->mUnk_B4)); } this->mUnk_4C->mUnk_08 = var_r6_2; @@ -752,8 +751,7 @@ void LinkStateHit::vfunc_10(LinkState state, unk32 param2) { break; } case 9: - this->func_ov031_020de8ec(FX_Div(this->mUnk_4C->mUnk_08, var_r6_2 * 2) + - FX32_HALF); + this->func_ov031_020de8ec(FX_Div(this->mUnk_4C->mUnk_08, var_r6_2 * 2) + FX32_HALF); break; default: break; @@ -829,7 +827,7 @@ void LinkStateHit::vfunc_10(LinkState state, unk32 param2) { fx32 x = ROUND_FX32(SIN(spE) * ROUND_FX32(var_r6_3 * 0x571)); fx32 z = ROUND_FX32(COS(spE) * ROUND_FX32(var_r6_3 * 0x571)); - VecFx32 *temp_r2_8 = this->mUnk_3C; + VecFx32* temp_r2_8 = this->mUnk_3C; temp_r2_8->x = x; temp_r2_8->y = 0; temp_r2_8->z = z; @@ -897,7 +895,7 @@ void LinkStateHit::vfunc_10(LinkState state, unk32 param2) { VecFx32_Copy(this->mUnk_34, &this->mUnk_60); this->mUnk_60.y += var_r10_2; - fx32 z = *(fx32 *) &spCC.center.z - this->mUnk_60.z; + fx32 z = *(fx32*) &spCC.center.z - this->mUnk_60.z; fx32 x = spCC.center.x - this->mUnk_60.x; spA8.y = 0; spA8.x = x; @@ -991,8 +989,8 @@ void LinkStateHit::vfunc_10(LinkState state, unk32 param2) { } data_027e09c0->func_ov000_0207e58c(this->mUnk_78.mUnk_04, 8, var_r3, &this->mUnk_78); - data_027e0ce0->func_ov000_0208bc1c(PlayerType_Zelda, 0x00, 0x15, - &this->mUnk_78.mUnk_0C, 0x00, 0x00); + data_027e0ce0->func_ov000_0208bc1c(PlayerType_Zelda, 0x00, 0x15, &this->mUnk_78.mUnk_0C, + 0x00, 0x00); } } @@ -1095,7 +1093,7 @@ bool LinkStateHit::func_ov031_020e0110(unk32 param1, fx32 param2) { func_ov031_020e0d98(param1, this->mpLink->mUnk_50.mUnk_00.Copy(), this->mUnk_34, &sp8, *this->mUnk_40); if (param2 > 0) { - VecFx32 *pVec = this->mUnk_38; + VecFx32* pVec = this->mUnk_38; fx16 angle = this->mUnk_40->angle_s - DEG_TO_ANG(180); (void) ((f32) angle); diff --git a/src/031_Land/Player/LinkStateHit_BC_031.cpp b/src/031_Land/Player/LinkStateHit_BC_031.cpp index 62a7b9615..44a6723fd 100644 --- a/src/031_Land/Player/LinkStateHit_BC_031.cpp +++ b/src/031_Land/Player/LinkStateHit_BC_031.cpp @@ -12,7 +12,7 @@ LinkStateHit_BC::LinkStateHit_BC(unk32 param1) { this->mUnk_04.mUnk_00 = 0x00; } -void LinkStateHit_BC::func_ov031_020e0284(UnkAngleStruct param1, unk32 param2, VecFx32 *param3) { +void LinkStateHit_BC::func_ov031_020e0284(UnkAngleStruct param1, unk32 param2, VecFx32* param3) { data_027e0ce0->func_ov000_0208ba94(this->mUnk_00, param3); @@ -42,7 +42,7 @@ void LinkStateHit_BC::func_ov031_020e0368(UnkAngleStruct param1, unk32 param2) { VecFx32 spC; volatile VecFx16 sp4; u16 var_r2; - UnkSystem7_UnkStruct_00 *temp_r2; + UnkSystem7_UnkStruct_00* temp_r2; if (param2 == -1) { return; @@ -100,7 +100,7 @@ void LinkStateHit_BC::func_ov031_020e0368(UnkAngleStruct param1, unk32 param2) { } data_027e0cec->func_ov000_0209ff8c(&this->mUnk_04, var_r2, &sp18, 1); - s16 angle = *(volatile s16 *) ¶m1.angle_s; + s16 angle = *(volatile s16*) ¶m1.angle_s; if (this->mUnk_04.mUnk_00 != NULL) { this->mUnk_04.mUnk_00->mUnk_56 = angle; @@ -115,7 +115,7 @@ void LinkStateHit_BC::func_ov031_020e0550(UnkAngleStruct param1, unk32 param2) { VecFx32 sp0; this->func_ov031_020e0284(param1, param2, &sp0); - UnkSystem7_UnkStruct_00 *temp_r0 = this->mUnk_04.mUnk_00; + UnkSystem7_UnkStruct_00* temp_r0 = this->mUnk_04.mUnk_00; if (temp_r0 != NULL) { temp_r0->mUnk_28.x = sp0.x + temp_r0->mUnk_20->mUnk_00->mUnk_04.x; temp_r0->mUnk_28.y = sp0.y + temp_r0->mUnk_20->mUnk_00->mUnk_04.y; diff --git a/src/031_Land/Player/PlayerActors_031.cpp b/src/031_Land/Player/PlayerActors_031.cpp index 1d25943c9..2cd078738 100644 --- a/src/031_Land/Player/PlayerActors_031.cpp +++ b/src/031_Land/Player/PlayerActors_031.cpp @@ -17,8 +17,8 @@ void PlayerLinkActor::func_ov031_020dccf0() { this->func_ov031_020dccbc(); //! TODO: unrolled loop? - PlayerLinkActor_1B0 *ptr = &this->mUnk_1B0[0]; - PlayerLinkActor_1B0 *ptr2; + PlayerLinkActor_1B0* ptr = &this->mUnk_1B0[0]; + PlayerLinkActor_1B0* ptr2; ptr2 = ptr + 0; ptr2->mUnk_04 = 0xD04F + 0; @@ -49,7 +49,7 @@ PlayerZeldaActor_CC::PlayerZeldaActor_CC() { VecFx32_Reset(&this->mPosZelda); } -void PlayerZeldaActor_CC::func_ov031_020dcd70(const VecFx32 *pPosLink, const VecFx32 *pPosZelda) { +void PlayerZeldaActor_CC::func_ov031_020dcd70(const VecFx32* pPosLink, const VecFx32* pPosZelda) { this->mUnk_00 = true; VecFx32_Copy(pPosLink, &this->mPosLink); VecFx32_Copy(pPosZelda, &this->mPosZelda); diff --git a/src/031_Land/Player/PlayerLinkActor_A0_031.cpp b/src/031_Land/Player/PlayerLinkActor_A0_031.cpp index 75ac89067..67d08d909 100644 --- a/src/031_Land/Player/PlayerLinkActor_A0_031.cpp +++ b/src/031_Land/Player/PlayerLinkActor_A0_031.cpp @@ -15,7 +15,7 @@ void PlayerLinkActor_A0::func_ov031_020dda80(unk32 param1) { if (this->mState == LinkState_DoorTwoIdle) { - ((LinkStateActorPush *) this->mUnk_80)->mUnk_1C0 = param1; + ((LinkStateActorPush*) this->mUnk_80)->mUnk_1C0 = param1; } } @@ -54,12 +54,12 @@ void PlayerLinkActor_A0::func_ov031_020ddb10() { data_027e0cec->func_ov000_0209ff24(0x893, &spC, &sp6, 0x01); } -void PlayerLinkActor_A0::func_ov031_020ddbe4(const VecFx32 *param1, fx32 param2, UnkAngleStruct param3, u8 param4) { - void *temp_ip; - void *temp_lr; +void PlayerLinkActor_A0::func_ov031_020ddbe4(const VecFx32* param1, fx32 param2, UnkAngleStruct param3, u8 param4) { + void* temp_ip; + void* temp_lr; if (this->mState == LinkState_87) { - this->mUnk_80->mUnk_04.data[1] = ((LinkStatePlayerDemo4 *) this->mUnk_80)->mUnk_54; + this->mUnk_80->mUnk_04.data[1] = ((LinkStatePlayerDemo4*) this->mUnk_80)->mUnk_54; } else { this->mUnk_80->mUnk_04.data[1] = 0; } @@ -72,7 +72,7 @@ void PlayerLinkActor_A0::func_ov031_020ddbe4(const VecFx32 *param1, fx32 param2, this->func_ov000_020921e4(LinkState_71); } -void PlayerLinkActor_A0::func_ov031_020ddc5c(s32 direction, const VecFx32 *param2, LinkState state1, LinkState state2) { +void PlayerLinkActor_A0::func_ov031_020ddc5c(s32 direction, const VecFx32* param2, LinkState state1, LinkState state2) { switch (direction) { case 3: if (this->mState != state1) { @@ -91,11 +91,11 @@ void PlayerLinkActor_A0::func_ov031_020ddc5c(s32 direction, const VecFx32 *param } } -void PlayerLinkActor_A0::func_ov031_020ddcd8(VecFx32 *param1, UnkAngleStruct param2) { +void PlayerLinkActor_A0::func_ov031_020ddcd8(VecFx32* param1, UnkAngleStruct param2) { this->mpLink->func_ov000_0208c99c(param1, param2); this->func_ov000_020921e4(LinkState_Idle); - PlayerActorBase_70 *temp_r7 = this->mpLink->mUnk_70; + PlayerActorBase_70* temp_r7 = this->mpLink->mUnk_70; temp_r7->mUnk_030.mUnk_12 = 0x1000; temp_r7->mUnk_030.mUnk_17 = 0; @@ -108,7 +108,7 @@ void PlayerLinkActor_A0::func_ov031_020ddcd8(VecFx32 *param1, UnkAngleStruct par temp_r7->func_ov000_020830d4(this->mpLink->mAngle.angle_s, this->func_ov000_02093718(), this->func_ov000_0209378c(), 0); } -void PlayerLinkActor_A0::func_ov031_020ddda8(VecFx32 *param1, UnkAngleStruct param2) { +void PlayerLinkActor_A0::func_ov031_020ddda8(VecFx32* param1, UnkAngleStruct param2) { this->mpLink->func_ov000_0208c99c(param1, param2); if (this->mState != LinkState_69) { @@ -119,7 +119,7 @@ void PlayerLinkActor_A0::func_ov031_020ddda8(VecFx32 *param1, UnkAngleStruct par void PlayerLinkActor_A0::func_ov031_020dddf8() { if (this->mState != LinkState_ItemPanFluteIdle) { if (this->mState == LinkState_87) { - this->mUnk_80->mUnk_04.data[0] = ((LinkStatePlayerDemo4 *) this->mUnk_80)->mUnk_54; + this->mUnk_80->mUnk_04.data[0] = ((LinkStatePlayerDemo4*) this->mUnk_80)->mUnk_54; } else { this->mUnk_80->mUnk_04.data[0] = 0; } @@ -130,7 +130,7 @@ void PlayerLinkActor_A0::func_ov031_020dddf8() { void PlayerLinkActor_A0::func_ov031_020dde30(unk32 param1, unk32 param2, unk32 param3) { if (this->func_ov000_02091f08(LinkStateType_ItemPanFlute)) { - ((LinkStateItemPanFlute *) this->mUnk_80)->func_ov108_02185750(param1, param2, param3); + ((LinkStateItemPanFlute*) this->mUnk_80)->func_ov108_02185750(param1, param2, param3); } } @@ -140,7 +140,7 @@ void PlayerLinkActor_A0::func_ov031_020dde6c() { s32 var_r1; if (this->func_ov000_02091f08(LinkStateType_ItemPanFlute)) { - sp0 = ((LinkStateItemPanFlute *) this->mUnk_80)->mUnk_58; + sp0 = ((LinkStateItemPanFlute*) this->mUnk_80)->mUnk_58; if (sp0.common.type == 1 && data_027e09b8->func_ov000_020732dc(0x02)) { *this->func_ov000_02093b84() = sp0; @@ -157,7 +157,7 @@ void PlayerLinkActor_A0::func_ov031_020dde6c() { void PlayerLinkActor_A0::func_ov031_020ddf20(unk8 param1) { if (this->func_ov000_02091f08(LinkStateType_Stamp)) { - ((LinkStateStamp *) this->mUnk_80)->mUnk_78 = param1; + ((LinkStateStamp*) this->mUnk_80)->mUnk_78 = param1; } } @@ -167,7 +167,7 @@ void PlayerLinkActor_A0::func_ov031_020ddf44() { } } -void PlayerLinkActor_A0::func_ov031_020ddf6c(unk32 param1, const VecFx32 *param2) { +void PlayerLinkActor_A0::func_ov031_020ddf6c(unk32 param1, const VecFx32* param2) { //! TODO: weird function struct { int unk_00; @@ -178,11 +178,11 @@ void PlayerLinkActor_A0::func_ov031_020ddf6c(unk32 param1, const VecFx32 *param2 if (this->mState == LinkState_48) { spC.unk_04 = 0; spC.unk_08 = 0; - this->mpLink->func_ov000_0208dd70(param1, 0x1E, (Sphere *) &spC.unk_04, param2, 0x00); + this->mpLink->func_ov000_0208dd70(param1, 0x1E, (Sphere*) &spC.unk_04, param2, 0x00); } } -void PlayerLinkActor_A0::func_ov031_020ddfac(unk32 param1, const VecFx32 *param2) { +void PlayerLinkActor_A0::func_ov031_020ddfac(unk32 param1, const VecFx32* param2) { //! TODO: weird function struct { int unk_00; @@ -193,7 +193,7 @@ void PlayerLinkActor_A0::func_ov031_020ddfac(unk32 param1, const VecFx32 *param2 if (this->mState == LinkState_50) { spC.unk_04 = 0; spC.unk_08 = 0; - this->mpLink->func_ov000_0208dd70(param1, 0x1F, (Sphere *) &spC.unk_04, param2, 0x00); + this->mpLink->func_ov000_0208dd70(param1, 0x1F, (Sphere*) &spC.unk_04, param2, 0x00); } } @@ -245,7 +245,7 @@ bool PlayerLinkActor_A0::func_ov031_020ddfec(unk32 param1, RefStruct ref) { if (!var_r6 && (var_r7 & 0x08) && !((this->mUnk_34.mUnk_00 & 0x08) ? TRUE : FALSE)) { this->mUnk_34.mUnk_00 |= 0x08; - Actor *pActor = gpActorManager->func_01fff3b4(ref); + Actor* pActor = gpActorManager->func_01fff3b4(ref); if (pActor != NULL) { switch (pActor->GetActorId()) { diff --git a/src/031_Land/Player/PlayerLinkActor_A0_14_031.cpp b/src/031_Land/Player/PlayerLinkActor_A0_14_031.cpp index a700c67de..0028a60a8 100644 --- a/src/031_Land/Player/PlayerLinkActor_A0_14_031.cpp +++ b/src/031_Land/Player/PlayerLinkActor_A0_14_031.cpp @@ -24,7 +24,7 @@ PlayerLinkActor_A0_14::PlayerLinkActor_A0_14() : } void PlayerLinkActor_A0_14::func_ov031_020dd124() { - UnkStruct_027e0ce0_1C *temp_r4 = data_027e0ce0->mUnk_1C; + UnkStruct_027e0ce0_1C* temp_r4 = data_027e0ce0->mUnk_1C; if (data_027e0ce0->mUnk_2C->GetInventory()->func_ov000_020a86a4() == 0x01) { this->mUnk_04.vfunc_08(temp_r4->func_ov000_0208ed30(0x00, 0x01, data_ov031_02110770[0].name)); @@ -33,7 +33,7 @@ void PlayerLinkActor_A0_14::func_ov031_020dd124() { } } -void PlayerLinkActor_A0_14::func_ov031_020dd1a4(bool param1, VecFx32 *param2, UnkAngleStruct param3) { +void PlayerLinkActor_A0_14::func_ov031_020dd1a4(bool param1, VecFx32* param2, UnkAngleStruct param3) { this->mUnk_14.mUnk_30 = param3.angle_s; if (param1) { diff --git a/src/031_Land/Render/SkyboxLand.cpp b/src/031_Land/Render/SkyboxLand.cpp index dc39496f4..54e8f3615 100644 --- a/src/031_Land/Render/SkyboxLand.cpp +++ b/src/031_Land/Render/SkyboxLand.cpp @@ -15,11 +15,11 @@ static const char data_ov031_0211069c[SKYBOX_NUM_MAT_LAND][16] = { "Mat_kumo_top", "Mat_kumo_yoko", "Mat_sun", "Mat_sun_core", "Mat_sunny", }; -SkyboxLand::SkyboxLand(SkyboxManager_00 *param1) : +SkyboxLand::SkyboxLand(SkyboxManager_00* param1) : SkyboxBase(param1), mUnk_64(param1->func_ov000_02058a58(0x02, 0x00), NNS_G3dGetMdl(param1->mUnk_50)), mUnk_AC(false) { - EntranceInfo *pEntrance = data_027e09a4->func_ov000_02070560(); + EntranceInfo* pEntrance = data_027e09a4->func_ov000_02070560(); if (pEntrance->sceneIndex == SceneIndex_f_forest3 && pEntrance->roomIndex == 2) { this->mUnk_AC = true; @@ -29,7 +29,7 @@ SkyboxLand::SkyboxLand(SkyboxManager_00 *param1) : this->mUnk_98[i] = 0; } - G3d_Material_List *pMatList = NNS_G3dGetMat(this->mpModel); + G3d_Material_List* pMatList = NNS_G3dGetMat(this->mpModel); for (int i = 0; i < SKYBOX_NUM_MAT_LAND; i++) { this->mUnk_84[i] = NNS_G3dGetUnkMatDataByName(pMatList, data_ov031_0211069c[i]); @@ -41,7 +41,7 @@ SkyboxLand::SkyboxLand(SkyboxManager_00 *param1) : SkyboxLand::~SkyboxLand() {} -void SkyboxLand::vfunc_18(VecFx32 *param1) { +void SkyboxLand::vfunc_18(VecFx32* param1) { if (this->mUnk_AC || data_027e09b8->func_01ffd420()) { this->ModelRender::vfunc_18(param1); } @@ -56,8 +56,8 @@ void SkyboxLand::vfunc_24() { #pragma opt_propagation off -void SkyboxLand::vfunc_1C(G3d_RenderState *param1) { - G3d_MaterialAnimation *pMatAnim = param1->matAnim; +void SkyboxLand::vfunc_1C(G3d_RenderState* param1) { + G3d_MaterialAnimation* pMatAnim = param1->matAnim; s32 matId = G3d_GetCurMatId(param1); s32 matIndex; @@ -68,7 +68,7 @@ void SkyboxLand::vfunc_1C(G3d_RenderState *param1) { } if (data_ov031_0211067c[matIndex]) { - G3d_Model *pMdl = this->mpModel; + G3d_Model* pMdl = this->mpModel; func_0200ea38(pMdl, matId, data_ov000_020b4ec4.func_01ffc768(0x06)); } diff --git a/src/031_Land/UnkStruct_027e0ce0_40_031.cpp b/src/031_Land/UnkStruct_027e0ce0_40_031.cpp index e3c659f07..f1aa17398 100644 --- a/src/031_Land/UnkStruct_027e0ce0_40_031.cpp +++ b/src/031_Land/UnkStruct_027e0ce0_40_031.cpp @@ -5,7 +5,7 @@ #include "nitro/math.h" #include "nitro/types.h" -void UnkStruct_027e0ce0_40::func_ov031_020dbe5c(PlayerType playerType, VecFx32 *param2) { +void UnkStruct_027e0ce0_40::func_ov031_020dbe5c(PlayerType playerType, VecFx32* param2) { if (playerType == PlayerType_Link) { this->mPlayer.func_ov000_0208d940(param2); } else { @@ -13,7 +13,7 @@ void UnkStruct_027e0ce0_40::func_ov031_020dbe5c(PlayerType playerType, VecFx32 * } } -VecFx32 *UnkStruct_027e0ce0_40::func_ov031_020dbe88(PlayerType playerType) { +VecFx32* UnkStruct_027e0ce0_40::func_ov031_020dbe88(PlayerType playerType) { return &this->mPlayerActors[playerType]->mUnk_90->mUnk_034.mUnk_04; } @@ -37,7 +37,7 @@ bool UnkStruct_027e0ce0_40::func_ov031_020dbee4(PlayerType playerType) { } } -void UnkStruct_027e0ce0_40::func_ov031_020dbf08(unk32 *param1, UnkStruct_027e0ce0_40 *thisx, PlayerType playerType) { +void UnkStruct_027e0ce0_40::func_ov031_020dbf08(unk32* param1, UnkStruct_027e0ce0_40* thisx, PlayerType playerType) { if (playerType == PlayerType_Link) { PlayerActorBase::func_ov000_0208dc58(param1, &thisx->mPlayer); } else { @@ -69,7 +69,7 @@ void UnkStruct_027e0ce0_40::func_ov031_020dbf7c(PlayerType playerType) { } } -void UnkStruct_027e0ce0_40::func_ov031_020dbfa0(PlayerType playerType, VecFx32 *param2) { +void UnkStruct_027e0ce0_40::func_ov031_020dbfa0(PlayerType playerType, VecFx32* param2) { STACK_PAD(4); bool var_r1 = false; @@ -100,7 +100,7 @@ void UnkStruct_027e0ce0_40::func_ov031_020dbfa0(PlayerType playerType, VecFx32 * this->mPlayerActors[playerType]->func_ov000_0208c8f8(param2); } -void UnkStruct_027e0ce0_40::func_ov031_020dc058(PlayerType playerType, VecFx32 *param2, UnkAngleStruct param3) { +void UnkStruct_027e0ce0_40::func_ov031_020dc058(PlayerType playerType, VecFx32* param2, UnkAngleStruct param3) { STACK_PAD(4); bool var_r1 = false; @@ -131,8 +131,8 @@ void UnkStruct_027e0ce0_40::func_ov031_020dc058(PlayerType playerType, VecFx32 * this->mPlayerActors[playerType]->func_ov000_0208c99c(param2, param3); } -bool UnkStruct_027e0ce0_40::func_ov031_020dc12c(PlayerType playerType, unk32 param2, unk32 param3, Sphere *param4, - const VecFx32 *param5, unk32 param6) { +bool UnkStruct_027e0ce0_40::func_ov031_020dc12c(PlayerType playerType, unk32 param2, unk32 param3, Sphere* param4, + const VecFx32* param5, unk32 param6) { if (playerType == PlayerType_Link) { return this->mPlayer.func_ov000_0208dd70(param2, param3, param4, param5, param6); } @@ -152,7 +152,7 @@ bool UnkStruct_027e0ce0_40::func_ov031_020dc1bc(PlayerType playerType, unk32 par } } -bool UnkStruct_027e0ce0_40::func_ov031_020dc1f0(PlayerType playerType, unk32 param2, unk32 param3, VecFx32 *param4) { +bool UnkStruct_027e0ce0_40::func_ov031_020dc1f0(PlayerType playerType, unk32 param2, unk32 param3, VecFx32* param4) { if (playerType == PlayerType_Link) { return this->mPlayer.func_ov000_0208e568(param2, param3, param4); } else { @@ -188,7 +188,7 @@ bool UnkStruct_027e0ce0_40::func_ov031_020dc288(PlayerType playerType, bool para return true; } -bool UnkStruct_027e0ce0_40::func_ov031_020dc2a0(PlayerType playerType, VecFx32 *param2, BOOL param3, BOOL param4) { +bool UnkStruct_027e0ce0_40::func_ov031_020dc2a0(PlayerType playerType, VecFx32* param2, BOOL param3, BOOL param4) { if (playerType == PlayerType_Link) { return this->mPlayer.func_ov000_0208e548(param2, param3, param4); } else { @@ -199,7 +199,7 @@ bool UnkStruct_027e0ce0_40::func_ov031_020dc2a0(PlayerType playerType, VecFx32 * THUMB_END -void UnkStruct_027e0ce0_40::func_ov031_020dc2d4(PlayerType playerType, const VecFx32 *param2) { +void UnkStruct_027e0ce0_40::func_ov031_020dc2d4(PlayerType playerType, const VecFx32* param2) { VecFx32_Copy(param2, &this->mPlayerActors[playerType]->mUnk_90->mUnk_0A4); } @@ -214,13 +214,13 @@ void UnkStruct_027e0ce0_40::func_ov031_020dc2fc(PlayerType playerType, unk32 par } } - PlayerActorBase *pPlayer = this->mPlayerActors[playerType]; + PlayerActorBase* pPlayer = this->mPlayerActors[playerType]; UnkAngleStruct angle = pPlayer->mAngle.angle_s; pPlayer->mUnk_70->func_ov000_02082c58(param2, angle, param3, param4); } void UnkStruct_027e0ce0_40::func_ov031_020dc384(PlayerType playerType, bool param2) { - PlayerActorBase *pPlayer = this->mPlayerActors[playerType]; + PlayerActorBase* pPlayer = this->mPlayerActors[playerType]; if (pPlayer != NULL) { if (param2) { diff --git a/src/031_Land/UnkStruct_027e0ce0_40_Base_78_031.cpp b/src/031_Land/UnkStruct_027e0ce0_40_Base_78_031.cpp index 91da3b496..5b9ae6e53 100644 --- a/src/031_Land/UnkStruct_027e0ce0_40_Base_78_031.cpp +++ b/src/031_Land/UnkStruct_027e0ce0_40_Base_78_031.cpp @@ -16,7 +16,7 @@ UnkStruct_027e0ce0_40_Base_78::~UnkStruct_027e0ce0_40_Base_78() {} THUMB_END //! TODO: make it work with inlines -void UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcd9c(const VecFx32 *param1, VecFx32 *param2) { +void UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcd9c(const VecFx32* param1, VecFx32* param2) { u16 var_r1; s32 temp_r1; u16 var_r2; @@ -25,7 +25,7 @@ void UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcd9c(const VecFx32 *param1, V bool var_ip_2; bool var_lr; u16 temp_r3; - Actor *temp_r0; + Actor* temp_r0; STACK_PAD(4); @@ -91,7 +91,7 @@ void UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcd9c(const VecFx32 *param1, V } //! TODO: make it work with inlines -void UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcea4(UnkAngleStruct *pAngle, UnkStruct_027e0ce0_40_Base_78 *thisx, +void UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcea4(UnkAngleStruct* pAngle, UnkStruct_027e0ce0_40_Base_78* thisx, UnkAngleStruct angle) { bool var_r2; bool var_r2_2; @@ -158,7 +158,7 @@ void UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcea4(UnkAngleStruct *pAngle, } //! TODO: make it work with inlines -bool UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcfb4(VecFx32 *param1) { +bool UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcfb4(VecFx32* param1) { u16 var_r1; s32 temp_r1; u16 var_r2; @@ -167,7 +167,7 @@ bool UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcfb4(VecFx32 *param1) { bool var_ip_2; bool var_lr; u16 temp_r3; - Actor *temp_r0; + Actor* temp_r0; STACK_PAD(4); @@ -194,7 +194,7 @@ bool UnkStruct_027e0ce0_40_Base_78::func_ov031_020dcfb4(VecFx32 *param1) { } if (var_ip) { - VecFx32 *pVec = data_027e0ce0->func_01fff168(PlayerType_Zelda); + VecFx32* pVec = data_027e0ce0->func_01fff168(PlayerType_Zelda); param1->x = pVec->x; param1->y = pVec->y; param1->z = pVec->z; diff --git a/src/031_Land/UnkStruct_027e0ce0_40_Base_7C_04_031.cpp b/src/031_Land/UnkStruct_027e0ce0_40_Base_7C_04_031.cpp index 605087d9b..ebda96127 100644 --- a/src/031_Land/UnkStruct_027e0ce0_40_Base_7C_04_031.cpp +++ b/src/031_Land/UnkStruct_027e0ce0_40_Base_7C_04_031.cpp @@ -38,10 +38,10 @@ UnkStruct_027e0ce0_40_Base_7C_04_Base::UnkStruct_027e0ce0_40_Base_7C_04_Base() : mUnk_04(data_027e0ce0->mUnk_1C->func_ov000_0208ed30(0x00, 0x01, data_ov031_02110724)), mUnk_64(this->mUnk_04.mpModel), mUnk_A4(0x03) { - UnkStruct_027e0ce0_1C *temp_r6 = data_027e0ce0->mUnk_1C; + UnkStruct_027e0ce0_1C* temp_r6 = data_027e0ce0->mUnk_1C; for (u32 var_r4 = 0; var_r4 < ARRAY_LEN(this->mUnk_A8); var_r4++) { - const char *ptr = data_ov031_02110734[0].unk_04; + const char* ptr = data_ov031_02110734[0].unk_04; this->mUnk_A8[var_r4] = temp_r6->func_ov000_0208ee94(0x00, 0x01, ptr + (var_r4 * sizeof(UnkStruct_ov031_02110738)), 0x00); } @@ -54,7 +54,7 @@ UnkStruct_027e0ce0_40_Base_7C_04_Base::UnkStruct_027e0ce0_40_Base_7C_04_Base() : THUMB_END void UnkStruct_027e0ce0_40_Base_7C_04_Base::func_ov031_020dcad0(s32 index) { - const UnkStruct_ov031_02110738 *ptr = &data_ov031_02110734[1]; + const UnkStruct_ov031_02110738* ptr = &data_ov031_02110734[1]; this->mUnk_64.mUnk_00.func_ov000_020577a4(this->mUnk_A8[index], 0x00, ptr[index].unk_00); this->mUnk_A4 = index; } diff --git a/src/031_Land/UnkStruct_027e0d2c_031.cpp b/src/031_Land/UnkStruct_027e0d2c_031.cpp index a3a4399e0..51587afb7 100644 --- a/src/031_Land/UnkStruct_027e0d2c_031.cpp +++ b/src/031_Land/UnkStruct_027e0d2c_031.cpp @@ -6,7 +6,7 @@ THUMB_BEGIN -void UnkStruct_027e0d2c::Create(UnkStruct_ItemManager_20_04 *param1) { +void UnkStruct_027e0d2c::Create(UnkStruct_ItemManager_20_04* param1) { new(HeapIndex_1) UnkStruct_027e0d2c(param1); } @@ -24,11 +24,11 @@ bool UnkStruct_027e0d2c::func_ov031_020d95ec(RefStruct ref) { return this->mUnk_00->mUnk_008.mUnk_32C.func_ov031_020d9ccc(ref) != 0; } -void UnkStruct_027e0d2c::func_ov031_020d961c(RefStruct *pRef, UnkStruct_027e0d2c *thisx) { +void UnkStruct_027e0d2c::func_ov031_020d961c(RefStruct* pRef, UnkStruct_027e0d2c* thisx) { *pRef = thisx->mUnk_00->mRef; } -bool UnkStruct_027e0d2c::func_ov031_020d962c(VecFx32 *param1, unk32 param2, VecFx32 *param3, RefStruct *param4) { +bool UnkStruct_027e0d2c::func_ov031_020d962c(VecFx32* param1, unk32 param2, VecFx32* param3, RefStruct* param4) { return this->mUnk_00->mUnk_008.func_ov031_020dc700(param1, param2, param3, param4); } diff --git a/src/031_Land/UnkStruct_027e0d30_031.cpp b/src/031_Land/UnkStruct_027e0d30_031.cpp index 5e9e642f0..6a6c69cb9 100644 --- a/src/031_Land/UnkStruct_027e0d30_031.cpp +++ b/src/031_Land/UnkStruct_027e0d30_031.cpp @@ -3,7 +3,7 @@ THUMB_BEGIN -void UnkStruct_027e0d30::Create(UnkStruct_ItemManager_20_08 *param1) { +void UnkStruct_027e0d30::Create(UnkStruct_ItemManager_20_08* param1) { new(HeapIndex_1) UnkStruct_027e0d30(param1); } @@ -13,7 +13,7 @@ u16 UnkStruct_027e0d30::func_ov031_020d9674() { return this->mUnk_00->func_ov031_020db5e8(); } -void UnkStruct_027e0d30::func_ov031_020d9684(u16 param1, VecFx32 *param2) { +void UnkStruct_027e0d30::func_ov031_020d9684(u16 param1, VecFx32* param2) { this->mUnk_00->func_ov031_020db614(param1, param2); } diff --git a/src/031_Land/UnkStruct_027e0d34.cpp b/src/031_Land/UnkStruct_027e0d34.cpp index c4fdb02eb..3a00938b0 100644 --- a/src/031_Land/UnkStruct_027e0d34.cpp +++ b/src/031_Land/UnkStruct_027e0d34.cpp @@ -7,12 +7,12 @@ THUMB_BEGIN -UnkStruct_027e0d34 *UnkStruct_027e0d34::Create(PlayerLinkActor *pPlayer, PlayerLinkActor_A0 *param2, - UnkStruct_027e0ce0_40 *param3) { +UnkStruct_027e0d34* UnkStruct_027e0d34::Create(PlayerLinkActor* pPlayer, PlayerLinkActor_A0* param2, + UnkStruct_027e0ce0_40* param3) { return new(HeapIndex_1) UnkStruct_027e0d34(pPlayer, param2, param3); } -UnkStruct_027e0d34::UnkStruct_027e0d34(PlayerLinkActor *pPlayer, PlayerLinkActor_A0 *param2, UnkStruct_027e0ce0_40 *param3) { +UnkStruct_027e0d34::UnkStruct_027e0d34(PlayerLinkActor* pPlayer, PlayerLinkActor_A0* param2, UnkStruct_027e0ce0_40* param3) { this->mpPlayer = pPlayer; this->mUnk_04 = param2; this->mUnk_08 = param3; @@ -24,7 +24,7 @@ bool UnkStruct_027e0d34::func_ov031_020d96e0() { THUMB_END -void UnkStruct_027e0d34::func_ov031_020d96e4(const VecFx32 *param1, VecFx32 *param2) { +void UnkStruct_027e0d34::func_ov031_020d96e4(const VecFx32* param1, VecFx32* param2) { this->mpPlayer->func_ov000_0208d8f0(param1, param2); } @@ -128,27 +128,27 @@ void UnkStruct_027e0d34::func_ov031_020d9844() { this->mUnk_04->func_ov000_02093d0c(); } -void UnkStruct_027e0d34::func_ov031_020d9854(VecFx32 *param1, fx32 param2) { +void UnkStruct_027e0d34::func_ov031_020d9854(VecFx32* param1, fx32 param2) { this->mUnk_04->func_ov031_020ddbe4(param1, param2, UnkAngleStruct(0), 0); } -void UnkStruct_027e0d34::func_ov031_020d9888(VecFx32 *param1, fx32 param2, UnkAngleStruct param3) { +void UnkStruct_027e0d34::func_ov031_020d9888(VecFx32* param1, fx32 param2, UnkAngleStruct param3) { this->mUnk_04->func_ov031_020ddbe4(param1, param2, param3, 1); } -void UnkStruct_027e0d34::func_ov031_020d98bc(unk32 param1, const VecFx32 *param2) { +void UnkStruct_027e0d34::func_ov031_020d98bc(unk32 param1, const VecFx32* param2) { this->mUnk_04->func_ov031_020ddc5c(param1, param2, LinkState_64, LinkState_65); } -void UnkStruct_027e0d34::func_ov031_020d98d8(unk32 param1, const VecFx32 *param2) { +void UnkStruct_027e0d34::func_ov031_020d98d8(unk32 param1, const VecFx32* param2) { this->mUnk_04->func_ov031_020ddc5c(param1, param2, LinkState_66, LinkState_67); } -void UnkStruct_027e0d34::func_ov031_020d98f4(VecFx32 *param1, UnkAngleStruct param2) { +void UnkStruct_027e0d34::func_ov031_020d98f4(VecFx32* param1, UnkAngleStruct param2) { this->mUnk_04->func_ov031_020ddcd8(param1, param2); } -void UnkStruct_027e0d34::func_ov031_020d9920(VecFx32 *param1, UnkAngleStruct param2) { +void UnkStruct_027e0d34::func_ov031_020d9920(VecFx32* param1, UnkAngleStruct param2) { this->mUnk_04->func_ov031_020ddda8(param1, param2); } @@ -190,11 +190,11 @@ unk32 UnkStruct_027e0d34::func_ov031_020d99cc() { return this->mUnk_04->func_ov000_02093ad8(); } -void UnkStruct_027e0d34::func_ov031_020d99dc(unk32 param1, const VecFx32 *param2) { +void UnkStruct_027e0d34::func_ov031_020d99dc(unk32 param1, const VecFx32* param2) { this->mUnk_04->func_ov031_020ddf6c(param1, param2); } -void UnkStruct_027e0d34::func_ov031_020d99ec(unk32 param1, const VecFx32 *param2) { +void UnkStruct_027e0d34::func_ov031_020d99ec(unk32 param1, const VecFx32* param2) { this->mUnk_04->func_ov031_020ddfac(param1, param2); } @@ -218,8 +218,8 @@ bool UnkStruct_027e0d34::func_ov031_020d9a4c(bool param1) { return this->mUnk_04->func_ov000_02093da0(param1); } -void UnkStruct_027e0d34::func_ov031_020d9a5c(const VecFx32 *param1) { - PlayerLinkActor_9C *temp_r2 = this->mpPlayer->mUnk_90; +void UnkStruct_027e0d34::func_ov031_020d9a5c(const VecFx32* param1) { + PlayerLinkActor_9C* temp_r2 = this->mpPlayer->mUnk_90; VEC_Add(&temp_r2->mUnk_104, param1, &temp_r2->mUnk_104); } @@ -241,7 +241,7 @@ bool UnkStruct_027e0d34::func_ov031_020d9ab8() { if (this->mUnk_08->IsUnk78()) { //! TODO: fake match? u32 value2 = 0; - u32 var_r2 = *(u32 *) &value2; + u32 var_r2 = *(u32*) &value2; if (this->mUnk_08->GetUnk78()->HasValue() && !this->mUnk_08->GetUnk78()->UnkCheck1()) { var_r2 = true; diff --git a/src/031_Land/UnkStruct_027e0d38.cpp b/src/031_Land/UnkStruct_027e0d38.cpp index 25aea54c4..a82b04df9 100644 --- a/src/031_Land/UnkStruct_027e0d38.cpp +++ b/src/031_Land/UnkStruct_027e0d38.cpp @@ -6,7 +6,7 @@ THUMB_BEGIN -void UnkStruct_027e0d38::Create(UnkStruct_ItemManager_20_00 *param1) { +void UnkStruct_027e0d38::Create(UnkStruct_ItemManager_20_00* param1) { new(HeapIndex_1) UnkStruct_027e0d38(param1); } @@ -20,11 +20,11 @@ bool UnkStruct_027e0d38::func_ov031_020d9c04(unk32 param1, unk32 param2, bool pa return this->mUnk_00->func_ov031_020dbd24(param1, param2, param3); } -void UnkStruct_027e0d38::func_ov031_020d9c14(RefStruct ref, VecFx32 *param2, VecFx32 *param3) { +void UnkStruct_027e0d38::func_ov031_020d9c14(RefStruct ref, VecFx32* param2, VecFx32* param3) { this->mUnk_00->func_ov031_020dbd98(ref, param2, param3); } -bool UnkStruct_027e0d38::func_ov031_020d9c34(bool param1, VecFx32 *param2) { +bool UnkStruct_027e0d38::func_ov031_020d9c34(bool param1, VecFx32* param2) { return this->mUnk_00->func_ov031_020dbb38(param1, param2); } diff --git a/src/031_Land/UnkStruct_ItemManager_20_00_031.cpp b/src/031_Land/UnkStruct_ItemManager_20_00_031.cpp index 9bfedb6df..a49a1d0d4 100644 --- a/src/031_Land/UnkStruct_ItemManager_20_00_031.cpp +++ b/src/031_Land/UnkStruct_ItemManager_20_00_031.cpp @@ -22,9 +22,9 @@ void UnkStruct_ItemManager_20_00::func_ov031_020dba74(ItemFlag itemFlag) { } } -bool UnkStruct_ItemManager_20_00::func_ov031_020dba8c(bool param1, VecFx32 *param2) { +bool UnkStruct_ItemManager_20_00::func_ov031_020dba8c(bool param1, VecFx32* param2) { if (!this->mUnk_00.IsEmpty()) { - Actor *pActor = gpActorManager->func_01fff3b4(this->mUnk_00.Copy()); + Actor* pActor = gpActorManager->func_01fff3b4(this->mUnk_00.Copy()); if (pActor != NULL && pActor->GetActorId() == ActorId_ItemTornado) { VecFx32_Copy(&pActor->mPos, param2); @@ -42,13 +42,13 @@ bool UnkStruct_ItemManager_20_00::func_ov031_020dba8c(bool param1, VecFx32 *para return false; } -bool UnkStruct_ItemManager_20_00::func_ov031_020dbb38(bool param1, VecFx32 *param2) { +bool UnkStruct_ItemManager_20_00::func_ov031_020dbb38(bool param1, VecFx32* param2) { #pragma unused(param1, param2) VecFx32 pos; return this->func_ov031_020dba8c(false, &pos); } -bool UnkStruct_ItemManager_20_00::func_ov031_020dbb54(const VecFx32 *pInitialPos, UnkAngleStruct initialAngle, RefStruct ref) { +bool UnkStruct_ItemManager_20_00::func_ov031_020dbb54(const VecFx32* pInitialPos, UnkAngleStruct initialAngle, RefStruct ref) { ActorParams sp10; RefStruct spC; @@ -61,7 +61,7 @@ bool UnkStruct_ItemManager_20_00::func_ov031_020dbb54(const VecFx32 *pInitialPos this->mUnk_00 = spC; if (!this->mUnk_00.IsEmpty()) { - data_027e09a8->func_ov000_02071700(0x8CA5, (VecFx32 *) pInitialPos); + data_027e09a8->func_ov000_02071700(0x8CA5, (VecFx32*) pInitialPos); this->mUnk_08.func_ov031_020e14a8(); return true; @@ -72,7 +72,7 @@ bool UnkStruct_ItemManager_20_00::func_ov031_020dbb54(const VecFx32 *pInitialPos bool UnkStruct_ItemManager_20_00::func_ov031_020dbc18(u16 param1) { if (!this->mUnk_00.Copy().IsEmpty()) { - ActorItemTornado *pActor = (ActorItemTornado *) gpActorManager->func_01fff3b4(this->mUnk_00); + ActorItemTornado* pActor = (ActorItemTornado*) gpActorManager->func_01fff3b4(this->mUnk_00); if (pActor != NULL && pActor->GetActorId() == ActorId_ItemTornado) { return pActor->func_ov031_020e6314(param1); @@ -116,7 +116,7 @@ bool UnkStruct_ItemManager_20_00::func_ov031_020dbd24(unk32 param1, unk32 param2 return value; } -bool UnkStruct_ItemManager_20_00::func_ov031_020dbd98(RefStruct ref, VecFx32 *param2, VecFx32 *param3) { +bool UnkStruct_ItemManager_20_00::func_ov031_020dbd98(RefStruct ref, VecFx32* param2, VecFx32* param3) { this->mUnk_04 = ref; if (this->mUnk_1C != 0 && this->mUnk_1C < 4) { diff --git a/src/031_Land/UnkStruct_ItemManager_20_031.cpp b/src/031_Land/UnkStruct_ItemManager_20_031.cpp index 1ebfd9a1d..85bfaf30c 100644 --- a/src/031_Land/UnkStruct_ItemManager_20_031.cpp +++ b/src/031_Land/UnkStruct_ItemManager_20_031.cpp @@ -33,7 +33,7 @@ void UnkStruct_ItemManager_20::func_ov031_020db8cc() { this->mUnk_08->func_ov031_020db5b4(); } -bool UnkStruct_ItemManager_20::func_ov031_020db8f8(UnkStruct_027e0ce0_30_00 *param1) { +bool UnkStruct_ItemManager_20::func_ov031_020db8f8(UnkStruct_027e0ce0_30_00* param1) { unk32 value = this->mUnk_08->func_ov031_020db6a4(¶m1->mUnk_00[PlayerType_Link]); if (value == 0x00) { diff --git a/src/031_Land/UnkStruct_ItemManager_20_04_031.cpp b/src/031_Land/UnkStruct_ItemManager_20_04_031.cpp index 988b9b0b6..7bb2d407d 100644 --- a/src/031_Land/UnkStruct_ItemManager_20_04_031.cpp +++ b/src/031_Land/UnkStruct_ItemManager_20_04_031.cpp @@ -27,9 +27,9 @@ void UnkStruct_ItemManager_20_04::func_ov031_020db350(ItemFlag itemFlag) { } } -bool UnkStruct_ItemManager_20_04::func_ov031_020db374(VecFx32 *param1) { +bool UnkStruct_ItemManager_20_04::func_ov031_020db374(VecFx32* param1) { if (!this->mRef.IsEmpty()) { - Actor *temp_r0 = gpActorManager->func_01fff3b4(this->mRef.Copy()); + Actor* temp_r0 = gpActorManager->func_01fff3b4(this->mRef.Copy()); if (temp_r0 != NULL && temp_r0->GetActorId() == ActorId_ItemBoomerang) { VecFx32_Copy(&temp_r0->mPos, param1); @@ -45,7 +45,7 @@ bool UnkStruct_ItemManager_20_04::func_ov031_020db3e8() { return this->func_ov031_020db374(&sp0); } -bool UnkStruct_ItemManager_20_04::func_ov031_020db400(const VecFx32 *pInitialPos, UnkAngleStruct initialAngle, RefStruct ref) { +bool UnkStruct_ItemManager_20_04::func_ov031_020db400(const VecFx32* pInitialPos, UnkAngleStruct initialAngle, RefStruct ref) { ActorParams sp10; RefStruct spC; @@ -61,7 +61,7 @@ bool UnkStruct_ItemManager_20_04::func_ov031_020db400(const VecFx32 *pInitialPos return this->mUnk_004; } -unk32 UnkStruct_ItemManager_20_04::func_ov031_020db498(VecFx32 *param1) { +unk32 UnkStruct_ItemManager_20_04::func_ov031_020db498(VecFx32* param1) { if (this->mUnk_004 && !data_027e0cdc->func_ov000_02082a28(0x0E) && this->func_ov031_020db374(param1)) { return 0x0E; } @@ -75,13 +75,13 @@ void UnkStruct_ItemManager_20_04::func_ov031_020db4f0(bool param1, bool param2) } } -void UnkStruct_ItemManager_20_04::func_ov031_020db528(void *param1) { +void UnkStruct_ItemManager_20_04::func_ov031_020db528(void* param1) { if (!data_0204a110.func_02019514()) { bool var_r4 = false; u32 var_r5 = 0x00; if (!this->mRef.Copy().IsEmpty()) { - ActorItemBoomerang *temp_r0 = (ActorItemBoomerang *) gpActorManager->func_01fff3b4(this->mRef); + ActorItemBoomerang* temp_r0 = (ActorItemBoomerang*) gpActorManager->func_01fff3b4(this->mRef); if (temp_r0 != NULL && temp_r0->GetActorId() == ActorId_ItemBoomerang) { var_r5 = temp_r0->mUnk_128; diff --git a/src/031_Land/UnkStruct_ItemManager_20_04_08_031.cpp b/src/031_Land/UnkStruct_ItemManager_20_04_08_031.cpp index 5905f7752..46365b2f0 100644 --- a/src/031_Land/UnkStruct_ItemManager_20_04_08_031.cpp +++ b/src/031_Land/UnkStruct_ItemManager_20_04_08_031.cpp @@ -28,7 +28,7 @@ void UnkStruct_ItemManager_20_04_08::func_ov031_020dc480() { this->mUnk_32C.Reset(); } -void UnkStruct_ItemManager_20_04_08::func_ov031_020dc4b8(const VecFx32 *param1) { +void UnkStruct_ItemManager_20_04_08::func_ov031_020dc4b8(const VecFx32* param1) { if (this->mUnk_310.GetCount() >= 64) { return; } @@ -68,8 +68,8 @@ void UnkStruct_ItemManager_20_04_08::func_ov031_020dc4b8(const VecFx32 *param1) } } -bool UnkStruct_ItemManager_20_04_08::func_ov031_020dc700(const VecFx32 *param1, fx32 param2, VecFx32 *param3, - RefStruct *param4) { +bool UnkStruct_ItemManager_20_04_08::func_ov031_020dc700(const VecFx32* param1, fx32 param2, VecFx32* param3, + RefStruct* param4) { STACK_PAD(4); VecFx32_Copy(param1, param3); @@ -109,8 +109,8 @@ bool UnkStruct_ItemManager_20_04_08::func_ov031_020dc700(const VecFx32 *param1, return true; } -void UnkStruct_ItemManager_20_04_08::func_ov031_020dc8a0(void *param1, bool param2, u32 param3) { - void *var_r1; +void UnkStruct_ItemManager_20_04_08::func_ov031_020dc8a0(void* param1, bool param2, u32 param3) { + void* var_r1; this->mUnk_320 = param1; this->mUnk_327 = param2; diff --git a/src/031_Land/UnkStruct_ItemManager_20_04_32C_031.cpp b/src/031_Land/UnkStruct_ItemManager_20_04_32C_031.cpp index 12498a135..c1607de26 100644 --- a/src/031_Land/UnkStruct_ItemManager_20_04_32C_031.cpp +++ b/src/031_Land/UnkStruct_ItemManager_20_04_32C_031.cpp @@ -10,9 +10,9 @@ #include "nitro/math.h" #include "nitro/types.h" -Actor *UnkStruct_ItemManager_20_04_32C::func_ov031_020d9c64(RefStruct ref) { +Actor* UnkStruct_ItemManager_20_04_32C::func_ov031_020d9c64(RefStruct ref) { if (ref.common.type == 1) { - Actor *pActor = gpActorManager->func_01fff3b4(ref); + Actor* pActor = gpActorManager->func_01fff3b4(ref); if (pActor != NULL && pActor->GetActorId() == ActorId_BMHN) { return pActor; @@ -25,7 +25,7 @@ Actor *UnkStruct_ItemManager_20_04_32C::func_ov031_020d9c64(RefStruct ref) { s32 UnkStruct_ItemManager_20_04_32C::func_ov031_020d9ccc(RefStruct ref) { s32 count = 0; - for (UnkStruct_ItemManager_20_04_32C_00 *ptr = this->mUnk_00; ptr != this->GetUnkA0(); ptr++) { + for (UnkStruct_ItemManager_20_04_32C_00* ptr = this->mUnk_00; ptr != this->GetUnkA0(); ptr++) { if (ref == ptr->mRef) { count++; } @@ -45,7 +45,7 @@ bool UnkStruct_ItemManager_20_04_32C::func_ov031_020d9d10(RefStruct ref, u16 par return false; } - Actor *pActor = func_ov031_020d9c64(ref.Copy()); + Actor* pActor = func_ov031_020d9c64(ref.Copy()); u32 var_r6 = pActor != NULL ? pActor->mUnk_5C.mParams[0] : 1; u32 var_r7 = this->GetCount() != 0 ? this->func_ov031_020d9ccc(ref) : 0; @@ -55,7 +55,7 @@ bool UnkStruct_ItemManager_20_04_32C::func_ov031_020d9d10(RefStruct ref, u16 par if (pActor != NULL) { if (var_r6 > 1) { - Sphere *temp_r0_4 = pActor->mUnk_34; + Sphere* temp_r0_4 = pActor->mUnk_34; if (temp_r0_4 != NULL && temp_r0_4->radius > 0) { u16 angle = (0xFFFF / var_r6) * var_r7; @@ -70,7 +70,7 @@ bool UnkStruct_ItemManager_20_04_32C::func_ov031_020d9d10(RefStruct ref, u16 par } UnkStruct_ItemManager_20_04_32C_00 sp18; - UnkStruct_ItemManager_20_04_32C_00 *psp18 = (UnkStruct_ItemManager_20_04_32C_00 *) &sp18; + UnkStruct_ItemManager_20_04_32C_00* psp18 = (UnkStruct_ItemManager_20_04_32C_00*) &sp18; sp18.mRef = ref.Copy(); sp18.mUnk_04 = param2; sp18.mUnk_08 = sp38; @@ -91,7 +91,7 @@ bool UnkStruct_ItemManager_20_04_32C::func_ov031_020d9d10(RefStruct ref, u16 par } bool UnkStruct_ItemManager_20_04_32C::func_ov031_020d9f34(RefStruct ref) { - for (UnkStruct_ItemManager_20_04_32C_00 *var_r3 = this->mUnk_00; var_r3 != this->mUnk_A0; var_r3++) { + for (UnkStruct_ItemManager_20_04_32C_00* var_r3 = this->mUnk_00; var_r3 != this->mUnk_A0; var_r3++) { if (ref == var_r3->mRef) { this->UnkAction1(var_r3); return true; @@ -101,14 +101,14 @@ bool UnkStruct_ItemManager_20_04_32C::func_ov031_020d9f34(RefStruct ref) { return false; } -bool UnkStruct_ItemManager_20_04_32C::func_ov031_020d9fd0(u16 param1, const VecFx32 *param2) { - for (UnkStruct_ItemManager_20_04_32C_00 *var_r4 = this->mUnk_00; var_r4 != this->mUnk_A0; var_r4++) { +bool UnkStruct_ItemManager_20_04_32C::func_ov031_020d9fd0(u16 param1, const VecFx32* param2) { + for (UnkStruct_ItemManager_20_04_32C_00* var_r4 = this->mUnk_00; var_r4 != this->mUnk_A0; var_r4++) { if (var_r4->mUnk_04 != param1) { continue; } RefStruct temp_r8 = var_r4->mRef; - Actor *temp_r0 = UnkStruct_ItemManager_20_04_32C::func_ov031_020d9c64(temp_r8); + Actor* temp_r0 = UnkStruct_ItemManager_20_04_32C::func_ov031_020d9c64(temp_r8); if (temp_r0 == NULL) { continue; @@ -117,15 +117,15 @@ bool UnkStruct_ItemManager_20_04_32C::func_ov031_020d9fd0(u16 param1, const VecF RefStruct sp0 = temp_r0->mUnk_5C.mUnk_28; if (sp0.common.type == 1) { - Actor *temp_r0_2 = gpActorManager->func_01fff3b4(sp0); + Actor* temp_r0_2 = gpActorManager->func_01fff3b4(sp0); if (temp_r0_2 != NULL) { switch (temp_r0_2->GetActorId()) { case ActorId_PSBL: - ((ActorUnkPSBL *) temp_r0_2)->func_ov079_02152658((VecFx32 *) param2); + ((ActorUnkPSBL*) temp_r0_2)->func_ov079_02152658((VecFx32*) param2); break; case ActorId_ICBS: - ((ActorUnkICBS *) temp_r0_2)->func_ov080_02151970((VecFx32 *) param2); + ((ActorUnkICBS*) temp_r0_2)->func_ov080_02151970((VecFx32*) param2); break; default: break; @@ -143,9 +143,8 @@ bool UnkStruct_ItemManager_20_04_32C::func_ov031_020d9fd0(u16 param1, const VecF return false; } -void UnkStruct_ItemManager_20_04_32C::func_ov031_020da104(RefStruct *pRef, UnkStruct_ItemManager_20_04_32C *thisx, - u16 param3) { - for (UnkStruct_ItemManager_20_04_32C_00 *var_ip = thisx->GetUnk00(); var_ip != thisx->GetUnkA0(); var_ip++) { +void UnkStruct_ItemManager_20_04_32C::func_ov031_020da104(RefStruct* pRef, UnkStruct_ItemManager_20_04_32C* thisx, u16 param3) { + for (UnkStruct_ItemManager_20_04_32C_00* var_ip = thisx->GetUnk00(); var_ip != thisx->GetUnkA0(); var_ip++) { if (var_ip->mUnk_04 == param3) { *pRef = var_ip->mRef; return; @@ -155,8 +154,8 @@ void UnkStruct_ItemManager_20_04_32C::func_ov031_020da104(RefStruct *pRef, UnkSt pRef->Reset(); } -void UnkStruct_ItemManager_20_04_32C::func_ov031_020da144(void *param1) { - for (UnkStruct_ItemManager_20_04_32C_00 *var_r4 = this->mUnk_00; var_r4 != this->mUnk_A0; var_r4++) { +void UnkStruct_ItemManager_20_04_32C::func_ov031_020da144(void* param1) { + for (UnkStruct_ItemManager_20_04_32C_00* var_r4 = this->mUnk_00; var_r4 != this->mUnk_A0; var_r4++) { VecFx32 sp0; if (func_ov000_0205cbc4(var_r4->mRef, &sp0)) { diff --git a/src/031_Land/UnkStruct_ItemManager_20_08_031.cpp b/src/031_Land/UnkStruct_ItemManager_20_08_031.cpp index 70883fe28..6f219f07b 100644 --- a/src/031_Land/UnkStruct_ItemManager_20_08_031.cpp +++ b/src/031_Land/UnkStruct_ItemManager_20_08_031.cpp @@ -32,7 +32,7 @@ u16 UnkStruct_ItemManager_20_08::func_ov031_020db5e8() { return var_r3; } -void UnkStruct_ItemManager_20_08::func_ov031_020db614(u16 param1, const VecFx32 *param2) { +void UnkStruct_ItemManager_20_08::func_ov031_020db614(u16 param1, const VecFx32* param2) { if (param1 > this->mUnk_00) { this->mUnk_00 = param1; @@ -56,7 +56,7 @@ void UnkStruct_ItemManager_20_08::func_ov031_020db614(u16 param1, const VecFx32 this->mUnk_13 = 45; } -unk32 UnkStruct_ItemManager_20_08::func_ov031_020db6a4(VecFx32 *param1) { +unk32 UnkStruct_ItemManager_20_08::func_ov031_020db6a4(VecFx32* param1) { if ((this->mUnk_10 & 0x01) && !data_027e0cdc->func_ov000_02082a28(0x0F)) { VecFx32 temp; @@ -93,7 +93,7 @@ void UnkStruct_ItemManager_20_08::func_ov031_020db704(bool param1, bool param2) } //! TODO: fake match - if (!(*(vu16 *) &this->mUnk_10 & 0x01)) { + if (!(*(vu16*) &this->mUnk_10 & 0x01)) { return; } diff --git a/src/031_Land/UnkStruct_ItemManager_20_0C_031.cpp b/src/031_Land/UnkStruct_ItemManager_20_0C_031.cpp index fba7ced56..835e2f7dc 100644 --- a/src/031_Land/UnkStruct_ItemManager_20_0C_031.cpp +++ b/src/031_Land/UnkStruct_ItemManager_20_0C_031.cpp @@ -26,13 +26,13 @@ UnkStruct_ov031_02116380 data_ov031_02116380; void UnkStruct_ItemManager_20_0C::func_ov031_020db958(bool param1, bool param2) { #pragma unused(param2) - Vec2bCpp *var_r10 = data_ov031_02116380.unk_00; + Vec2bCpp* var_r10 = data_ov031_02116380.unk_00; while (var_r10 != data_ov031_02116380.unk_80) { if (!MapObjectUnkSAND::func_ov031_0210ae00(*var_r10, NULL)) { data_ov031_02116380.unk_80--; - for (u16 *var_r1 = var_r10->data; var_r1 != data_ov031_02116380.unk_80->data; var_r1++) { + for (u16* var_r1 = var_r10->data; var_r1 != data_ov031_02116380.unk_80->data; var_r1++) { var_r1[0] = var_r1[1]; } } else { @@ -47,6 +47,6 @@ void UnkStruct_ItemManager_20_0C::func_ov031_020db958(bool param1, bool param2) } } -void UnkStruct_ItemManager_20_0C::func_ov031_020dba3c(void *param1) { +void UnkStruct_ItemManager_20_0C::func_ov031_020dba3c(void* param1) { #pragma unused(param1) } diff --git a/src/031_Land/UnkStruct_ItemManager_20_10_031.cpp b/src/031_Land/UnkStruct_ItemManager_20_10_031.cpp index 94f07f993..d919cfb87 100644 --- a/src/031_Land/UnkStruct_ItemManager_20_10_031.cpp +++ b/src/031_Land/UnkStruct_ItemManager_20_10_031.cpp @@ -4,7 +4,7 @@ void UnkStruct_ItemManager_20_10::func_ov031_020db2b0() { for (u32 i = 0; i < ARRAY_LEN(this->mUnk_00); i++) { - this->mUnk_00[*(u32 *) &i].ref.Reset(); //! TODO: fake match + this->mUnk_00[*(u32*) &i].ref.Reset(); //! TODO: fake match } } diff --git a/src/031_Land/UnkStruct_ov031_02112b40_031.cpp b/src/031_Land/UnkStruct_ov031_02112b40_031.cpp index 02fd13cc8..aa0d56e79 100644 --- a/src/031_Land/UnkStruct_ov031_02112b40_031.cpp +++ b/src/031_Land/UnkStruct_ov031_02112b40_031.cpp @@ -32,7 +32,7 @@ void UnkStruct_ov031_02112b40::func_ov031_020da5ec() { this->mUnk_1A = false; } -bool UnkStruct_ov031_02112b40::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool UnkStruct_ov031_02112b40::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { #pragma unused(param2) if (((param1->mUnk_04->mUnk_24[param1->mUnk_00->mUnk_06] >> 0x16) & 0x01) == 0x01) { @@ -56,8 +56,8 @@ bool UnkStruct_ov031_02112b40::vfunc_08(const UnkStruct_ov031_020f3310 *param1, return true; } -bool UnkStruct_ov031_02112b40::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) { +bool UnkStruct_ov031_02112b40::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) { RefStruct sp18[2]; MapObjRef sp14[2]; MapObjRef sp8; @@ -78,7 +78,7 @@ bool UnkStruct_ov031_02112b40::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 if (sp18[0].common.unk_00 == 0x1000) { sp14[1] = sp18[0].moRef; sp2 = sp14[1].GetUnk02(); - MapObject *pMapObj = gpMapObjManager->func_01fff498(sp2); + MapObject* pMapObj = gpMapObjManager->func_01fff498(sp2); if (pMapObj != NULL) { switch (pMapObj->GetMapObjectId()) { @@ -113,7 +113,7 @@ bool UnkStruct_ov031_02112b40::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 } } } else if (sp18[0].common.type == 1) { - Actor *pActor = gpActorManager->func_01fff3b4(ref); + Actor* pActor = gpActorManager->func_01fff3b4(ref); if (pActor != NULL) { switch (pActor->GetActorId()) { @@ -146,7 +146,7 @@ bool UnkStruct_ov031_02112b40::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 //! TODO: fake match, stack is annoying sp14[-2] = ref.Copy().moRef; sp0 = sp14[-2].GetUnk02(); - MapObject *temp_r5 = gpMapObjManager->func_01fff498(sp0); + MapObject* temp_r5 = gpMapObjManager->func_01fff498(sp0); switch (temp_r5->GetMapObjectId()) { case MapObjectId_BLCC: @@ -176,11 +176,11 @@ bool UnkStruct_ov031_02112b40::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 return false; } -bool UnkStruct_ov031_02112b40::func_ov031_020daaec(const UnkStruct_ov031_020e5d18_00 *param1, Sphere *pSphere) { +bool UnkStruct_ov031_02112b40::func_ov031_020daaec(const UnkStruct_ov031_020e5d18_00* param1, Sphere* pSphere) { VecFx32 sp24; UnkStruct_ov031_020e5d18_00 spC; bool var_r0; - const VecFx32 *temp_r5; + const VecFx32* temp_r5; bool var_r6; var_r6 = true; diff --git a/src/031_Land/UnkStruct_ov031_Items_01_Derived1.cpp b/src/031_Land/UnkStruct_ov031_Items_01_Derived1.cpp index 57307dc6f..14a381ffd 100644 --- a/src/031_Land/UnkStruct_ov031_Items_01_Derived1.cpp +++ b/src/031_Land/UnkStruct_ov031_Items_01_Derived1.cpp @@ -9,7 +9,7 @@ UnkStruct_ov031_Items_01_Derived1::UnkStruct_ov031_Items_01_Derived1(PlayerType this->mUnk_04.common.unk_02 = this->mPlayerType == PlayerType_Link ? 0x02 : 0x03; } -bool UnkStruct_ov031_Items_01_Derived1::vfunc_0C(Actor *param1, VecFx32 *vector) { +bool UnkStruct_ov031_Items_01_Derived1::vfunc_0C(Actor* param1, VecFx32* vector) { bool result = this->UnkStruct_ov031_Items_01::vfunc_0C(param1, vector); if (result) { diff --git a/src/031_Land/UnkStruct_ov031_Items_01_Derived2.cpp b/src/031_Land/UnkStruct_ov031_Items_01_Derived2.cpp index b9d4ef36d..93a3fd573 100644 --- a/src/031_Land/UnkStruct_ov031_Items_01_Derived2.cpp +++ b/src/031_Land/UnkStruct_ov031_Items_01_Derived2.cpp @@ -11,7 +11,7 @@ UnkStruct_ov031_Items_01_Derived2::UnkStruct_ov031_Items_01_Derived2(PlayerType this->mUnk_04.common.unk_02 = this->mPlayerType == PlayerType_Link ? 0x00 : 0x01; } -bool UnkStruct_ov031_Items_01_Derived2::vfunc_0C(Actor *param1, VecFx32 *vector) { +bool UnkStruct_ov031_Items_01_Derived2::vfunc_0C(Actor* param1, VecFx32* vector) { bool result = this->UnkStruct_ov031_Items_01::vfunc_0C(param1, vector); if (result) { diff --git a/src/031_Land/UnkStruct_ov031_Items_02_031.cpp b/src/031_Land/UnkStruct_ov031_Items_02_031.cpp index aa3f523ac..53238e857 100644 --- a/src/031_Land/UnkStruct_ov031_Items_02_031.cpp +++ b/src/031_Land/UnkStruct_ov031_Items_02_031.cpp @@ -7,7 +7,7 @@ bool UnkStruct_ov031_Items_02_38::vfunc_08(RefStruct ref, unk32 param2, unk32 param3) { #pragma unused(param2, param3) if (ref.common.type != 0) { - Actor *pActor = gpActorManager->func_01fff3b4(ref); + Actor* pActor = gpActorManager->func_01fff3b4(ref); if (pActor == NULL) { return false; diff --git a/src/031_Land/code_020d9c64_031.cpp b/src/031_Land/code_020d9c64_031.cpp index b491fb527..2492dc8ec 100644 --- a/src/031_Land/code_020d9c64_031.cpp +++ b/src/031_Land/code_020d9c64_031.cpp @@ -15,15 +15,15 @@ UnkStruct_027e0ce0_1C_D4::UnkStruct_027e0ce0_1C_D4() : THUMB_END -bool UnkStruct_ov031_02112b24::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) { +bool UnkStruct_ov031_02112b24::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) { #pragma unused(param2, param3, param4) if (ref.common.unk_00 == 0x1000) { RefStruct sp8; MapObjRef sp4 = ref.moRef; Vec2bCpp sp0 = sp4.GetUnk02(); - MapObject *pMapObj = gpMapObjManager->func_01fff498(sp0); + MapObject* pMapObj = gpMapObjManager->func_01fff498(sp0); //! @bug: it doesn't check if `pMapObj` is NULL if (GET_FLAG(pMapObj->mFlags, MapObjFlag_7)) { @@ -35,7 +35,7 @@ bool UnkStruct_ov031_02112b24::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 return false; } -void UnkStruct_ov031_02112b24::func_ov031_020da274(const VecFx32 *param1, const VecFx32 *param2, u16 param3) { +void UnkStruct_ov031_02112b24::func_ov031_020da274(const VecFx32* param1, const VecFx32* param2, u16 param3) { Sphere sp94; UnkStruct_ov031_020e5d18_00 sp7C; Sphere sp6C; @@ -47,7 +47,7 @@ void UnkStruct_ov031_02112b24::func_ov031_020da274(const VecFx32 *param1, const u32 pad[3]; RefStruct ref; } sp24; - Actor **var_r8; + Actor** var_r8; bool var_r9; this->mUnk_08 = param3; @@ -86,7 +86,7 @@ void UnkStruct_ov031_02112b24::func_ov031_020da274(const VecFx32 *param1, const RefStruct unk_A4 = this->mUnk_04->mUnk_A4; if (!unk_A4.IsEmpty()) { - Actor *temp_r0_3 = gpActorManager->func_01fff3b4(unk_A4); + Actor* temp_r0_3 = gpActorManager->func_01fff3b4(unk_A4); if (temp_r0_3 == NULL) { this->mUnk_04->mUnk_A4.Reset(); @@ -117,7 +117,7 @@ void UnkStruct_ov031_02112b24::func_ov031_020da274(const VecFx32 *param1, const } } -bool UnkStruct_ov031_02112b18::vfunc_00(Actor *pActor) { +bool UnkStruct_ov031_02112b18::vfunc_00(Actor* pActor) { bool var_r0 = false; bool var_r3 = pActor->IsVisible() && pActor->IsFlag12(); diff --git a/src/031_Land/code_020db0fc_031.cpp b/src/031_Land/code_020db0fc_031.cpp index 26a105253..187100153 100644 --- a/src/031_Land/code_020db0fc_031.cpp +++ b/src/031_Land/code_020db0fc_031.cpp @@ -9,7 +9,7 @@ void PlayerLinkActor_134::func_ov031_020db0fc() { } } -void PlayerLinkActor_134::func_ov031_020db120(VecFx32 *param1) { +void PlayerLinkActor_134::func_ov031_020db120(VecFx32* param1) { data_027e0cec->func_ov000_0209ff8c(&this->mUnk_00.mUnk_00, 0x88F, param1, 0x01); this->mUnk_04 = 0x1E; } @@ -54,7 +54,7 @@ void UnkStruct_027e0ce0_40_108::vfunc_00() { func_ov000_0205be34(&sp14, 0x2F); for (u32 var_r5 = 0; var_r5 < temp_r4; var_r5++) { - UnkStruct_027e0ce0_40_108_10 *temp_ip = &this->mUnk_10[var_r5]; + UnkStruct_027e0ce0_40_108_10* temp_ip = &this->mUnk_10[var_r5]; if (temp_ip->mUnk_04 != 0) { Vec2s sp10; diff --git a/src/032_MapA1/Actor/ActorFleeingSpinut.cpp b/src/032_MapA1/Actor/ActorFleeingSpinut.cpp index 02c68ecd4..65898f735 100644 --- a/src/032_MapA1/Actor/ActorFleeingSpinut.cpp +++ b/src/032_MapA1/Actor/ActorFleeingSpinut.cpp @@ -27,7 +27,7 @@ static G3d_AnimTag data_ov032_021223cc = {.index = 1, .name = "discover", .unkno DECL_PROFILE(ActorProfileFleeingSpinut); -Actor *ActorProfileFleeingSpinut::Create() { +Actor* ActorProfileFleeingSpinut::Create() { return new(HeapIndex_2) ActorFleeingSpinut(); } @@ -43,9 +43,9 @@ ActorFleeingSpinut::ActorFleeingSpinut() : mUnk_1BE(0x0), mUnk_224(true) { SET_FLAG(this->mFlags, ActorFlag_6); - *(s16 *) &this->mUnk_44 |= 0x40; + *(s16*) &this->mUnk_44 |= 0x40; - this->mUnk_38 = (Actor_38 *) &this->mUnk_1E0; + this->mUnk_38 = (Actor_38*) &this->mUnk_1E0; this->mUnk_38->mUnk_08 = 0x01; this->mUnk_21C = 0x0; @@ -184,7 +184,7 @@ void ActorFleeingSpinut::Update() { data_027e09c0->func_ov000_0207de98(this->mRef, &sp04, this->mUnk_38); } -void ActorFleeingSpinut::vfunc_30(Actor_vfunc_30 *param1) { +void ActorFleeingSpinut::vfunc_30(Actor_vfunc_30* param1) { if (!this->func_ov032_0211be04()) { return; } @@ -305,7 +305,7 @@ void ActorFleeingSpinut::func_ov032_0211c07c() { } void ActorFleeingSpinut::func_ov032_0211c108() { - UnkStruct_PlayerGet_50 *pGet50 = this->mUnk_110.vfunc_28(); + UnkStruct_PlayerGet_50* pGet50 = this->mUnk_110.vfunc_28(); fx32 pGet50Unk8 = pGet50->mUnk_08; fx32 pGet50Unk10 = pGet50->mUnk_10; @@ -319,7 +319,7 @@ void ActorFleeingSpinut::func_ov032_0211c108() { unk32 temp_r5_2 = FX_Div(pGet50Unk10 - pGet50Unk8, FX_F32_TO_FX32(1.0f)) >> 0xC; unk16 sp8; - unk16 *psp8 = (unk16 *) &sp8; + unk16* psp8 = (unk16*) &sp8; func_ov000_020986b4(psp8, this, var); unk16 value = *psp8; @@ -501,12 +501,12 @@ bool ActorFleeingSpinut::func_ov032_0211c938() { return true; } - MapManagerBase *temp_r8 = gpCourseManager->mpMapMgr; + MapManagerBase* temp_r8 = gpCourseManager->mpMapMgr; bool var_r8 = temp_r8->func_ov000_020802ec(this->mUnk_5C.mParams[0], data_027e0ce0->func_01fff148(PlayerType_Link)); if (data_027e0ce0->func_01fff1a4()) { //! @bug or fake match? probably meant to be `var_r8 = var_r8 || temp_r6->func_ov000_020802ec(...)`? - MapManagerBase *temp_r6 = gpCourseManager->mpMapMgr; + MapManagerBase* temp_r6 = gpCourseManager->mpMapMgr; var_r8 = var_r8 | temp_r6->func_ov000_020802ec(this->mUnk_5C.mParams[0], data_027e0ce0->func_01fff148(PlayerType_Zelda)); } @@ -574,15 +574,15 @@ ActorFleeingSpinut_1EC::ActorFleeingSpinut_1EC() : this->mUnk_28 = 0x0; } -void ActorFleeingSpinut_1EC::func_ov032_0211cc48(const VecFx32 *param1) { +void ActorFleeingSpinut_1EC::func_ov032_0211cc48(const VecFx32* param1) { this->mUnk_04 = this->func_ov032_0211cd20(param1); unk32 var_r5 = INT_MAX; u32 temp_r0_2 = this->mUnk_04->vfunc_1C(); - UnkStruct_027e0960_TableEntry_04 *var_r7 = NULL; + UnkStruct_027e0960_TableEntry_04* var_r7 = NULL; for (int var_r8 = 0; var_r8 < temp_r0_2; var_r8++) { - UnkStruct_027e0960_TableEntry_04 *temp_r0_4 = this->mUnk_04->vfunc_18(var_r8); + UnkStruct_027e0960_TableEntry_04* temp_r0_4 = this->mUnk_04->vfunc_18(var_r8); if (!temp_r0_4->func_02017930(this->mUnk_04)) { VecFx32 sp0; @@ -602,12 +602,12 @@ void ActorFleeingSpinut_1EC::func_ov032_0211cc48(const VecFx32 *param1) { } } -UnkStruct_027e0960_TableEntry_04 *ActorFleeingSpinut_1EC::func_ov032_0211cd20(const VecFx32 *param1) { - UnkStruct_027e0960_TableEntry *tEntry = data_027e0960->func_ov000_0205a3fc(*param1, this->mUnk_00); +UnkStruct_027e0960_TableEntry_04* ActorFleeingSpinut_1EC::func_ov032_0211cd20(const VecFx32* param1) { + UnkStruct_027e0960_TableEntry* tEntry = data_027e0960->func_ov000_0205a3fc(*param1, this->mUnk_00); return tEntry->mTable.GetPtr(tEntry->func_ov000_02059da4(param1)); } -u16 *ActorFleeingSpinut_1EC::func_ov032_0211cd60(VecFx32 *param1, s16 *param2, VecFx32 *param3, unk32 param4, s16 param5, +u16* ActorFleeingSpinut_1EC::func_ov032_0211cd60(VecFx32* param1, s16* param2, VecFx32* param3, unk32 param4, s16 param5, unk32 param6) { VecFx32 sp1C; VecFx32 sp10; @@ -676,7 +676,7 @@ void ActorFleeingSpinut_1EC::func_ov032_0211cf74() { } void ActorFleeingSpinut_1EC::func_ov032_0211cfac(PlayerType playerType) { - UnkStruct_027e0960_TableEntry_04 *entry04 = this->func_ov032_0211cd20(data_027e0ce0->func_01fff148(playerType)); + UnkStruct_027e0960_TableEntry_04* entry04 = this->func_ov032_0211cd20(data_027e0ce0->func_01fff148(playerType)); VecFx32 sp00; entry04->vfunc_0C(&sp00); @@ -696,7 +696,7 @@ void ActorFleeingSpinut_1EC::func_ov032_0211d028() { this->mUnk_0C[1] = NULL; } -bool ActorFleeingSpinut_1EC::func_ov032_0211d040(VecFx32 *param1) { +bool ActorFleeingSpinut_1EC::func_ov032_0211d040(VecFx32* param1) { return (this->func_ov032_0211d568(param1, this->mUnk_04, NULL) > 0) || (this->func_ov032_0211d568(param1, this->mUnk_08, NULL) > 0); } @@ -705,12 +705,12 @@ bool ActorFleeingSpinut_1EC::func_ov032_0211d040(VecFx32 *param1) { (temp_r5->UnknownInline1(param1, a) > b || !this->func_ov032_0211d2e4(this->mUnk_04, a) || \ this->func_ov032_0211d2e4(this->mUnk_08, a)) -void ActorFleeingSpinut_1EC::func_ov032_0211d08c(VecFx32 *param1) { +void ActorFleeingSpinut_1EC::func_ov032_0211d08c(VecFx32* param1) { VecFx32 sp18; VecFx32 spC; VecFx32 sp0; - UnkStruct_027e0ce0 *temp_r5 = data_027e0ce0; + UnkStruct_027e0ce0* temp_r5 = data_027e0ce0; if (this->func_ov032_0211d568(param1, this->mUnk_08, this->mUnk_04) > 0) { if (UNK_CHECK1(PlayerType_Link, 0x3CCD) && (!temp_r5->func_01fff1a4() || UNK_CHECK1(PlayerType_Zelda, 0x3CCD)) && @@ -753,7 +753,7 @@ void ActorFleeingSpinut_1EC::func_ov032_0211d08c(VecFx32 *param1) { this->func_ov032_0211d910(); } -bool ActorFleeingSpinut_1EC::func_ov032_0211d2e4(UnkStruct_027e0960_TableEntry_04_Base *param1, unk32 param2) { +bool ActorFleeingSpinut_1EC::func_ov032_0211d2e4(UnkStruct_027e0960_TableEntry_04_Base* param1, unk32 param2) { if (param1 == NULL || this->mUnk_0C[param2] == NULL) { return false; } @@ -765,7 +765,7 @@ bool ActorFleeingSpinut_1EC::func_ov032_0211d2e4(UnkStruct_027e0960_TableEntry_0 u32 temp_r0 = param1->vfunc_1C(); for (u32 var_r7 = 0; var_r7 < temp_r0; var_r7++) { - UnkStruct_027e0960_TableEntry_04_Base *temp_r0 = param1->vfunc_18(var_r7); + UnkStruct_027e0960_TableEntry_04_Base* temp_r0 = param1->vfunc_18(var_r7); if (this->mUnk_0C[param2] != NULL && temp_r0->func_02017930(this->mUnk_0C[param2])) { return true; @@ -775,18 +775,18 @@ bool ActorFleeingSpinut_1EC::func_ov032_0211d2e4(UnkStruct_027e0960_TableEntry_0 return false; } -UnkStruct_027e0960_TableEntry_04 *ActorFleeingSpinut_1EC::func_ov032_0211d384(VecFx32 *param1) { +UnkStruct_027e0960_TableEntry_04* ActorFleeingSpinut_1EC::func_ov032_0211d384(VecFx32* param1) { if (this->func_ov032_0211d920(param1)) { return NULL; } - UnkStruct_027e0960_TableEntry_04 *spC[5]; + UnkStruct_027e0960_TableEntry_04* spC[5]; u32 sp8 = this->mUnk_04->vfunc_1C(); bool sp4; - UnkStruct_027e0960_TableEntry_04 *temp_r0_3; + UnkStruct_027e0960_TableEntry_04* temp_r0_3; u32 var_r5; u32 var_r6; - UnkStruct_027e0960_TableEntry_04 *var_r11; + UnkStruct_027e0960_TableEntry_04* var_r11; sp4 = false; var_r5 = 0; @@ -815,8 +815,8 @@ UnkStruct_027e0960_TableEntry_04 *ActorFleeingSpinut_1EC::func_ov032_0211d384(Ve return var_r5 != 0 ? spC[gRandom.Next32(var_r5)] : sp4 ? this->mUnk_08 : var_r11; } -unk32 ActorFleeingSpinut_1EC::func_ov032_0211d568(VecFx32 *param1, UnkStruct_027e0960_TableEntry_04_Base *param2, - UnkStruct_027e0960_TableEntry_04_Base *param3) { +unk32 ActorFleeingSpinut_1EC::func_ov032_0211d568(VecFx32* param1, UnkStruct_027e0960_TableEntry_04_Base* param2, + UnkStruct_027e0960_TableEntry_04_Base* param3) { if (this->func_ov032_0211d674(param1, param2) == 0) { return 0x0; } @@ -830,7 +830,7 @@ unk32 ActorFleeingSpinut_1EC::func_ov032_0211d568(VecFx32 *param1, UnkStruct_027 VecFx32 sp00; param2->vfunc_0C(&sp00); - UnkStruct_027e0960_TableEntry_04_Base *temp; + UnkStruct_027e0960_TableEntry_04_Base* temp; for (u32 i = 0; i < val; ++i) { temp = param2->vfunc_18(i); @@ -848,7 +848,7 @@ unk32 ActorFleeingSpinut_1EC::func_ov032_0211d568(VecFx32 *param1, UnkStruct_027 return ret; } -bool ActorFleeingSpinut_1EC::func_ov032_0211d674(VecFx32 *param1, UnkStruct_027e0960_TableEntry_04_Base *param2) { +bool ActorFleeingSpinut_1EC::func_ov032_0211d674(VecFx32* param1, UnkStruct_027e0960_TableEntry_04_Base* param2) { if (this->func_ov032_0211d6d8(param1, param2, PlayerType_Link) && (!data_027e0ce0->func_01fff1a4() || this->func_ov032_0211d6d8(param1, param2, PlayerType_Zelda))) { return true; @@ -856,15 +856,15 @@ bool ActorFleeingSpinut_1EC::func_ov032_0211d674(VecFx32 *param1, UnkStruct_027e return false; } -bool ActorFleeingSpinut_1EC::func_ov032_0211d6d8(VecFx32 *param1, UnkStruct_027e0960_TableEntry_04_Base *param2, +bool ActorFleeingSpinut_1EC::func_ov032_0211d6d8(VecFx32* param1, UnkStruct_027e0960_TableEntry_04_Base* param2, PlayerType playerType) { VecFx32 sp18; VecFx32 spC; VecFx32 sp0; bool var_r4; bool var_r5; - VecFx32 *temp_r4; - void *temp_r1; + VecFx32* temp_r4; + void* temp_r1; temp_r4 = data_027e0ce0->func_01fff148(playerType); param2->vfunc_0C(&sp18); @@ -878,7 +878,7 @@ bool ActorFleeingSpinut_1EC::func_ov032_0211d6d8(VecFx32 *param1, UnkStruct_027e if (this->mUnk_0C[playerType] != 0) { if (!param2->func_02017930(this->mUnk_0C[playerType])) { if (this->mUnk_0C[playerType]->func_02017930(this->func_ov032_0211cd20(param1)) != 0 && - *(void *volatile *) &this->mUnk_14[playerType] != NULL) { + *(void* volatile*) &this->mUnk_14[playerType] != NULL) { if (param2->func_02017930(this->mUnk_14[playerType])) { //! TODO: try to remove this by using an inline goto block_8; @@ -898,7 +898,7 @@ bool ActorFleeingSpinut_1EC::func_ov032_0211d6d8(VecFx32 *param1, UnkStruct_027e return !var_r4; } -void ActorFleeingSpinut_1EC::func_ov032_0211d7e8(VecFx32 *param1) { +void ActorFleeingSpinut_1EC::func_ov032_0211d7e8(VecFx32* param1) { this->func_ov032_0211d830(this->func_ov032_0211d384(param1)); this->func_ov032_0211d80c(); } @@ -910,7 +910,7 @@ void ActorFleeingSpinut_1EC::func_ov032_0211d80c() { } } -void ActorFleeingSpinut_1EC::func_ov032_0211d830(UnkStruct_027e0960_TableEntry_04 *param1) { +void ActorFleeingSpinut_1EC::func_ov032_0211d830(UnkStruct_027e0960_TableEntry_04* param1) { this->mUnk_08 = this->mUnk_04; if (this->mUnk_04 != NULL) { this->mUnk_04->vfunc_0C(&this->mUnk_1C.vec); @@ -918,7 +918,7 @@ void ActorFleeingSpinut_1EC::func_ov032_0211d830(UnkStruct_027e0960_TableEntry_0 this->mUnk_04 = param1; } -bool ActorFleeingSpinut_1EC::func_ov032_0211d864(VecFx32 *param1) { +bool ActorFleeingSpinut_1EC::func_ov032_0211d864(VecFx32* param1) { if (this->mUnk_2C == 0x0) { return false; } @@ -935,19 +935,19 @@ bool ActorFleeingSpinut_1EC::func_ov032_0211d864(VecFx32 *param1) { } void ActorFleeingSpinut_1EC::func_ov032_0211d910() { - UnkStruct_027e0960_TableEntry_04 *oldUnk04 = this->mUnk_04; + UnkStruct_027e0960_TableEntry_04* oldUnk04 = this->mUnk_04; this->mUnk_04 = this->mUnk_08; this->mUnk_08 = oldUnk04; } -bool ActorFleeingSpinut_1EC::func_ov032_0211d920(VecFx32 *param1) { - VecFx32 *temp_r0; - UnkStruct_027e0ce0 *temp_r5; +bool ActorFleeingSpinut_1EC::func_ov032_0211d920(VecFx32* param1) { + VecFx32* temp_r0; + UnkStruct_027e0ce0* temp_r5; bool var_r6; bool var_r7; bool var_r8; - temp_r5 = *(UnkStruct_027e0ce0 **) &data_027e0ce0; + temp_r5 = *(UnkStruct_027e0ce0**) &data_027e0ce0; if (!temp_r5->func_01fff1a4()) { return false; @@ -977,7 +977,7 @@ bool ActorFleeingSpinut_1EC::func_ov032_0211d920(VecFx32 *param1) { return var_r6; } -bool ActorFleeingSpinut_1EC::func_ov032_0211da0c(PlayerType playerType, VecFx32 *param2) { +bool ActorFleeingSpinut_1EC::func_ov032_0211da0c(PlayerType playerType, VecFx32* param2) { VecFx32 sp18; VecFx32 spC; VecFx32 sp0; @@ -987,7 +987,7 @@ bool ActorFleeingSpinut_1EC::func_ov032_0211da0c(PlayerType playerType, VecFx32 bool var_r6_2; bool var_r6_3; - VecFx32 *temp_r4 = data_027e0ce0->func_01fff148(playerType); + VecFx32* temp_r4 = data_027e0ce0->func_01fff148(playerType); this->mUnk_04->vfunc_0C(&sp18); VEC_Subtract(&sp18, param2, &sp0); diff --git a/src/032_MapA1/Actor/ActorKeese.cpp b/src/032_MapA1/Actor/ActorKeese.cpp index 9e8174798..72b4a5f9d 100644 --- a/src/032_MapA1/Actor/ActorKeese.cpp +++ b/src/032_MapA1/Actor/ActorKeese.cpp @@ -65,7 +65,7 @@ static PTMF data_ov032_021225dc[ActorKeeseState_Max] = { DECL_PROFILE(ActorProfileKeese); -Actor *ActorProfileKeese::Create() { +Actor* ActorProfileKeese::Create() { return new(HeapIndex_2) ActorKeese(); } @@ -76,7 +76,7 @@ ActorProfileKeese::ActorProfileKeese() : this->vfunc_04()->mUnk_15 = 0x1; } -ModelRender_ov032_02122568::ModelRender_ov032_02122568(G3d_Model *pModel) : +ModelRender_ov032_02122568::ModelRender_ov032_02122568(G3d_Model* pModel) : UnkStruct_ov000_020b3268(pModel), mUnk_6C(this->ModelRenderBase::func_ov000_02057f18(&data_ov032_02121ed0.unk_04)) {} @@ -99,12 +99,12 @@ ActorKeese::ActorKeese() : mUnk_2D4(0x0) { this->Actor::func_ov000_0209862c(0x4); SET_FLAG(this->mFlags, ActorFlag_6); - *(s16 *) &this->mUnk_44 &= ~0x20; + *(s16*) &this->mUnk_44 &= ~0x20; SET_FLAG(this->mFlags, ActorFlag_9); this->mUnk_A4 = &data_ov032_021224d8.vec; } -ActorKeese_2AC::ActorKeese_2AC(ActorKeese *param1) : +ActorKeese_2AC::ActorKeese_2AC(ActorKeese* param1) : mUnk_08(param1), mUnk_0C(FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f)) {} @@ -112,16 +112,16 @@ ActorKeese_2AC::~ActorKeese_2AC() { this->mUnk_08 = NULL; } -bool ActorKeese_2AC::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool ActorKeese_2AC::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { VecFx16_Copy2VecFx32(¶m1->mUnk_08, &this->mUnk_0C.vec); return this->UnkStruct_ov031_Items_00::vfunc_08(param1, param2); } -bool ActorKeese_2AC::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, const VecFx32 *param4) { +bool ActorKeese_2AC::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, const VecFx32* param4) { if (ref.moRef.unk_00_u16 & 0x1000) { MapObjRef moRef = ref.moRef; Vec2bCpp pos = moRef.GetUnk02(); - MapObjectUnkSKDI *temp_r4 = (MapObjectUnkSKDI *) gpMapObjManager->func_01fff498(pos); + MapObjectUnkSKDI* temp_r4 = (MapObjectUnkSKDI*) gpMapObjManager->func_01fff498(pos); if (temp_r4->GetMapObjectId() == MapObjectId_Torch) { if (this->mUnk_08->mPos.y >= this->mUnk_08->mUnk_5C.mInitialPos.y + FX_F32_TO_FX32(0.2f)) { @@ -175,7 +175,7 @@ void ActorKeese::func_ov032_0211e0d4(s16 param1, unk32 param2) { this->mUnk_278.func_ov000_020a0334(); - for (ActorKeese_284 *ptr = this->mUnk_284; ptr != &this->mUnk_284[ARRAY_LEN(this->mUnk_284)]; ++ptr) { + for (ActorKeese_284* ptr = this->mUnk_284; ptr != &this->mUnk_284[ARRAY_LEN(this->mUnk_284)]; ++ptr) { ptr->func_ov000_020a0334(); } break; @@ -183,14 +183,14 @@ void ActorKeese::func_ov032_0211e0d4(s16 param1, unk32 param2) { case 0x1: { this->mUnk_1CC.func_ov000_02099ddc(data_ov032_021224fc, 0x1000, 0x2000); - ActorKeese_284 *ptr = this->mUnk_284; + ActorKeese_284* ptr = this->mUnk_284; ptr[0].mUnk_04 = 0xD045; ptr[0].mUnk_08 = 0x2; ptr[1].mUnk_04 = 0xD046; ptr[1].mUnk_08 = 0x2; - UnkStruct_027e0cec *data = data_027e0cec; - for (ActorKeese_284 *ptr = this->mUnk_284; ptr != &this->mUnk_284[ARRAY_LEN(this->mUnk_284)]; ++ptr) { + UnkStruct_027e0cec* data = data_027e0cec; + for (ActorKeese_284* ptr = this->mUnk_284; ptr != &this->mUnk_284[ARRAY_LEN(this->mUnk_284)]; ++ptr) { data->func_ov000_020a0140(ptr, &this->mUnk_2C4.vec); } @@ -214,7 +214,7 @@ void ActorKeese::func_ov032_0211e0d4(s16 param1, unk32 param2) { data_027e09a8->func_ov000_02071b30(0x9822, &this->mPos, 0x0); } - for (ActorKeese_284 *ptr = this->mUnk_284; ptr != &this->mUnk_284[ARRAY_LEN(this->mUnk_284)]; ++ptr) { + for (ActorKeese_284* ptr = this->mUnk_284; ptr != &this->mUnk_284[ARRAY_LEN(this->mUnk_284)]; ++ptr) { ptr->func_ov000_020a0334(); } break; @@ -227,8 +227,8 @@ void ActorKeese::func_ov032_0211e0d4(s16 param1, unk32 param2) { void ActorKeese::func_ov032_0211e308() { switch (this->mUnk_22A) { case 0x1: { - UnkStruct_027e0cec *data = data_027e0cec; - for (ActorKeese_284 *ptr = this->mUnk_284; ptr != &this->mUnk_284[ARRAY_LEN(this->mUnk_284)]; ++ptr) { + UnkStruct_027e0cec* data = data_027e0cec; + for (ActorKeese_284* ptr = this->mUnk_284; ptr != &this->mUnk_284[ARRAY_LEN(this->mUnk_284)]; ++ptr) { data->func_ov000_020a0140(ptr, &this->mUnk_2C4.vec); } break; @@ -293,8 +293,7 @@ void ActorKeese::func_ov032_0211e468() { switch (this->mUnk_248.mUnk_1C) { case 12: if (this->mUnk_22A != 0) { - ActorItemBoomerang *temp_r0_2 = - (ActorItemBoomerang *) gpActorManager->func_01fff3b4(this->mUnk_248.mUnk_0C); + ActorItemBoomerang* temp_r0_2 = (ActorItemBoomerang*) gpActorManager->func_01fff3b4(this->mUnk_248.mUnk_0C); if (temp_r0_2 != NULL) { switch (this->mUnk_22A) { @@ -450,7 +449,7 @@ void ActorKeese::vfunc_2C(unk32 param1) { if (!this->func_01fff5d0(param1, 0x0)) { this->mUnk_278.func_ov000_020a0334(); - for (ActorKeese_284 *ptr = this->mUnk_284; ptr != &this->mUnk_284[ARRAY_LEN(this->mUnk_284)]; ++ptr) { + for (ActorKeese_284* ptr = this->mUnk_284; ptr != &this->mUnk_284[ARRAY_LEN(this->mUnk_284)]; ++ptr) { ptr->func_ov000_020a0334(); } } else { @@ -474,7 +473,7 @@ void ActorKeese::func_ov032_0211e9ec() { this->mTimer.Set(0, gRandom.Next32(31) + 30); u32 sp0; - u32 *psp0 = (u32 *) &sp0; + u32* psp0 = (u32*) &sp0; fx32 var_r5 = this->mUnk_5C.mInitialPos.y; func_01fff05c(psp0, gpCourseManager->mpMapMgr, &this->mPos); @@ -527,7 +526,7 @@ void ActorKeese::func_ov032_0211eb60() { return; } - VecFx32 *vec = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* vec = data_027e0ce0->func_01fff148(PlayerType_Link); if (!func_02016b8c(&this->mPos, vec, 0x3000, this->mAngle, 0x1000, 0x1)) { return; @@ -541,7 +540,7 @@ void ActorKeese::func_ov032_0211ece8() { s32 var_r4 = this->mUnk_5C.mInitialPos.y; u32 sp0; - u32 *psp0 = (u32 *) &sp0; + u32* psp0 = (u32*) &sp0; func_01fff05c(psp0, gpCourseManager->mpMapMgr, &this->mPos); bool var_r2 = false; @@ -596,7 +595,7 @@ void ActorKeese::func_ov032_0211f0a8() { this->func_ov032_0211f93c(&this->mUnk_5C.mInitialPos, 0x38E); if (this->mTimer.HasExpired()) { - VecFx32 *vec = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* vec = data_027e0ce0->func_01fff148(PlayerType_Link); if (func_02016b8c(&this->mPos, vec, 0x3000, this->mAngle, 0x1000, 0x1)) { this->SetState(ActorKeeseState_2); } @@ -655,7 +654,7 @@ void ActorKeese::func_ov032_0211f310() { if (this->mUnk_48 <= 0x0) { this->vfunc_54(0x0); } else { - Timer *pTimer = &this->mUnk_268.mUnk_08; + Timer* pTimer = &this->mUnk_268.mUnk_08; if (pTimer->HasReachedMaxU()) { this->func_ov032_0211e380(); @@ -757,7 +756,7 @@ void ActorKeese::func_ov032_0211f604() { void ActorKeese::func_ov032_0211f614() { MapObjRef sp4 = this->mUnk_2D0.moRef; Vec2bCpp sp0 = sp4.GetUnk02(); - MapObjectUnkSKDI *temp_r0 = (MapObjectUnkSKDI *) gpMapObjManager->func_01fff498(sp0); + MapObjectUnkSKDI* temp_r0 = (MapObjectUnkSKDI*) gpMapObjManager->func_01fff498(sp0); if (temp_r0->vfunc_40() == MapObjUnkSKDIState_2 || this->mUnk_22A != 0) { this->func_ov032_0211e380(); @@ -775,7 +774,7 @@ void ActorKeese::func_ov032_0211f6bc() { this->mUnk_278.func_ov000_020a0334(); - for (ActorKeese_284 *ptr = this->mUnk_284; ptr != &this->mUnk_284[ARRAY_LEN(this->mUnk_284)]; ptr++) { + for (ActorKeese_284* ptr = this->mUnk_284; ptr != &this->mUnk_284[ARRAY_LEN(this->mUnk_284)]; ptr++) { ptr->func_ov000_020a0334(); } @@ -790,7 +789,7 @@ void ActorKeese::func_ov032_0211f6bc() { spC.y += FX_F32_TO_FX32(2.0f); fx32 var_r4 = this->mUnk_5C.mInitialPos.y; - u32 *psp8 = (u32 *) &sp8; + u32* psp8 = (u32*) &sp8; func_01fff05c(psp8, gpCourseManager->mpMapMgr, &this->mPos); bool var_r5_2 = false; @@ -811,7 +810,7 @@ void ActorKeese::func_ov032_0211f6bc() { } void ActorKeese::func_ov032_0211f804() { - Actor *actor = gpActorManager->func_01fff3b4(this->mUnk_2D4); + Actor* actor = gpActorManager->func_01fff3b4(this->mUnk_2D4); switch (this->mUnk_228) { case 0x0: @@ -849,7 +848,7 @@ void ActorKeese::func_ov032_0211f804() { } } -bool ActorKeese::func_ov032_0211f93c(VecFx32 *param1, unk32 param2) { +bool ActorKeese::func_ov032_0211f93c(VecFx32* param1, unk32 param2) { VecFx32 sp0; VEC_Subtract(param1, &this->mPos, &sp0); @@ -872,7 +871,7 @@ bool ActorKeese::func_ov032_0211f9c4() { UnkStruct_ov032_0212251c sp04; STACK_PAD(4); - MapObject *pMapObj = sp04.func_020170ac(&this->mPos); + MapObject* pMapObj = sp04.func_020170ac(&this->mPos); if (pMapObj == NULL || func_01ff9258(pMapObj->mPos.x - this->mPos.x, pMapObj->mPos.z - this->mPos.z) > 0x3000) { return false; } @@ -901,9 +900,9 @@ bool ActorKeese::func_ov032_0211fa4c(PlayerType playerType) { return true; } -void ActorKeese::func_ov032_0211faf0(Actor *param1, G3d_RenderState *param2) { - ActorKeese *thisx = (ActorKeese *) param1; - G3d_RenderObject *pRenderObject = param2->renderObj; +void ActorKeese::func_ov032_0211faf0(Actor* param1, G3d_RenderState* param2) { + ActorKeese* thisx = (ActorKeese*) param1; + G3d_RenderObject* pRenderObject = param2->renderObj; s32 var_r1 = G3d_GetCurBoneMtxId(param2); if (var_r1 != thisx->mUnk_0B0.mUnk_6C) { @@ -934,9 +933,8 @@ void ActorKeese::func_ov032_0211faf0(Actor *param1, G3d_RenderState *param2) { UnkStruct_ov032_0212251c::UnkStruct_ov032_0212251c() : UnkStruct_ov000_020b34c4(MapObjectId_Torch) {} -bool UnkStruct_ov032_0212251c::vfunc_00(MapObject *param1) { - return this->UnkStruct_ov000_020b34c4::vfunc_00(param1) && - ((MapObjectUnkSKDI *) param1)->vfunc_40() == MapObjUnkSKDIState_1; +bool UnkStruct_ov032_0212251c::vfunc_00(MapObject* param1) { + return this->UnkStruct_ov000_020b34c4::vfunc_00(param1) && ((MapObjectUnkSKDI*) param1)->vfunc_40() == MapObjUnkSKDIState_1; } ActorKeese_284::ActorKeese_284() : diff --git a/src/032_MapA1/Actor/ActorSpinut.cpp b/src/032_MapA1/Actor/ActorSpinut.cpp index 2612ed2de..52b8ad319 100644 --- a/src/032_MapA1/Actor/ActorSpinut.cpp +++ b/src/032_MapA1/Actor/ActorSpinut.cpp @@ -54,7 +54,7 @@ static PTMF data_ov032_02122348[ActorSpinutState_Max] = { DECL_PROFILE(ActorProfileSpinut); -Actor *ActorProfileSpinut::Create() { +Actor* ActorProfileSpinut::Create() { return new(HeapIndex_2) ActorSpinut(); } @@ -78,7 +78,7 @@ ActorSpinut::ActorSpinut() : mUnk_296(0, 0) { VecFx32_Init(FX_F32_TO_FX32(1.0f), FX_F32_TO_FX32(1.0f), FX_F32_TO_FX32(1.0f), &this->mUnk_27C); - this->mUnk_38 = (Actor_38 *) &this->mUnk_258; + this->mUnk_38 = (Actor_38*) &this->mUnk_258; this->mUnk_38->mUnk_08 = 0x01; this->mUnk_228.mUnk_04 |= 0x8000; @@ -111,12 +111,12 @@ bool ActorSpinut::Init(unk32 param1) { void ActorSpinut::Setup() { if (this->mUnk_5C.mParams[0] == 0x2) { this->mUnk_294 = false; - Actor *actor = func_02016fbc(ActorId_Soldier, &this->mPos, 0x0); + Actor* actor = func_02016fbc(ActorId_Soldier, &this->mPos, 0x0); if (actor == NULL) { this->SetState(ActorSpinutState_0); } else { - fx32 z2 = *(volatile fx32 *) &actor->mPos.z; + fx32 z2 = *(volatile fx32*) &actor->mPos.z; this->mAngle = FX_Atan2Idx(actor->mPos.x - this->mPos.x, z2 - this->mPos.z); this->SetState(ActorSpinutState_11); } @@ -142,7 +142,7 @@ void ActorSpinut::func_ov032_021194dc(ActorState state) { return; } - gpActorManager->func_01fff2fc(ActorSpinut::func_ov032_0211b37c, (void *) param2); //! TODO: cast is right? + gpActorManager->func_01fff2fc(ActorSpinut::func_ov032_0211b37c, (void*) param2); //! TODO: cast is right? } void ActorSpinut::SetState(ActorState state) { @@ -316,13 +316,13 @@ void ActorSpinut::func_ov032_02119be8() { } void ActorSpinut::func_ov032_02119c80() { - UnkStruct_PlayerGet_50 *playerGet50 = this->mUnk_110.vfunc_28(); + UnkStruct_PlayerGet_50* playerGet50 = this->mUnk_110.vfunc_28(); fx32 val = FX_Div(playerGet50->mUnk_10 - playerGet50->mUnk_08, FX_F32_TO_FX32(1.3f)); val >>= 0xC; s16 sp0; - s16 *psp0 = (s16 *) &sp0; + s16* psp0 = (s16*) &sp0; func_ov000_020986b4(psp0, this, 0x0); s16 value = *psp0; @@ -354,7 +354,7 @@ void ActorSpinut::func_ov032_02119d7c() { void ActorSpinut::func_ov032_02119df4() { s16 sp0; - s16 *psp0 = (s16 *) &sp0; + s16* psp0 = (s16*) &sp0; s16 delta = this->mTimer.GetRemainingTime(); func_ov000_020986b4(psp0, this, 0x0); @@ -409,7 +409,7 @@ void ActorSpinut::func_ov032_02119f40() { case 0x1: { s16 var; - s16 *r5 = (s16 *) &var; + s16* r5 = (s16*) &var; func_ov000_020986b4(r5, this, 0x0); func_01ff930c(&this->mAngle.angle_s, *r5, 0x2D8); @@ -603,7 +603,7 @@ void ActorSpinut::func_ov032_0211a86c() { return; } - Timer *ptr = &this->mUnk_248.mUnk_08; + Timer* ptr = &this->mUnk_248.mUnk_08; if (!ptr->HasReachedMaxU()) { this->SetState(ActorSpinutState_7); return; @@ -662,7 +662,7 @@ void ActorSpinut::func_ov032_0211ab20() { this->Actor_Derived2::func_ov000_02098f34(&this->mUnk_228.mUnk_10); this->vfunc_40(); - *((s16 *) &this->mUnk_44) &= ~0x20; + *((s16*) &this->mUnk_44) &= ~0x20; this->mUnk_2C = 0x0; this->mUnk_110.vfunc_1C(data_ov032_02122184, 0x1000, 0x19A, 0x0); @@ -685,7 +685,7 @@ void ActorSpinut::func_ov032_0211abc0() { this->SetState(ActorSpinutState_7); - *((s16 *) &this->mUnk_44) |= 0x20; + *((s16*) &this->mUnk_44) |= 0x20; } void ActorSpinut::func_ov032_0211ac20() { @@ -768,29 +768,29 @@ void ActorSpinut::func_ov032_0211b024() { } bool ActorSpinut::func_ov032_0211b064(unk32 param1) const { - VecFx32 *temp_r0; + VecFx32* temp_r0; bool var_r5; temp_r0 = data_027e0ce0->func_01fff148(PlayerType_Link); var_r5 = false; - if (func_ov000_0205adfc(temp_r0, (VecFx32 *) &this->mPos) && + if (func_ov000_0205adfc(temp_r0, (VecFx32*) &this->mPos) && func_01ff9258(temp_r0->x - this->mPos.x, temp_r0->z - this->mPos.z) < this->mUnk_264) { var_r5 = true; } if (param1 != 0) { - var_r5 = var_r5 && func_02016ae0((VecFx32 *) &this->mPos, temp_r0, this->mAngle, 0x4E39, 0x1); + var_r5 = var_r5 && func_02016ae0((VecFx32*) &this->mPos, temp_r0, this->mAngle, 0x4E39, 0x1); } return var_r5; } bool ActorSpinut::func_ov032_0211b114() { - UnkStruct_027e0ce0 *temp_r6 = data_027e0ce0; + UnkStruct_027e0ce0* temp_r6 = data_027e0ce0; s16 sp0; - s16 *psp0 = (s16 *) &sp0; + s16* psp0 = (s16*) &sp0; func_01fff17c(psp0, temp_r6, 0); s16 temp_r5 = *psp0; @@ -858,9 +858,9 @@ void ActorSpinut::func_ov032_0211b298() { } } -void ActorSpinut::func_ov032_0211b37c(Actor *thisx, Actor_vfunc_30 *param1) { +void ActorSpinut::func_ov032_0211b37c(Actor* thisx, Actor_vfunc_30* param1) { if (thisx->GetActorId() == ActorId_Spinut) { - ((ActorSpinut *) thisx)->mUnk_294 = true; + ((ActorSpinut*) thisx)->mUnk_294 = true; thisx->mTimer.Set(0, (u16) param1); //! TODO: fake match } } @@ -926,7 +926,7 @@ ActorSpinut_268::ActorSpinut_268() { ActorSpinut_268::~ActorSpinut_268() {} -bool ActorSpinut_268::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool ActorSpinut_268::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { VecFx16_Copy2VecFx32(¶m1->mUnk_08, &this->mUnk_08); this->UnkStruct_ov031_Items_00::vfunc_08(param1, param2); } diff --git a/src/032_MapA1/Actor/ActorUnkNSSW.cpp b/src/032_MapA1/Actor/ActorUnkNSSW.cpp index e46b90859..68994a08b 100644 --- a/src/032_MapA1/Actor/ActorUnkNSSW.cpp +++ b/src/032_MapA1/Actor/ActorUnkNSSW.cpp @@ -31,7 +31,7 @@ static const char data_ov032_02121ee4[16] = "muchi_sword"; DECL_PROFILE(ActorProfileUnkNSSW); -Actor *ActorProfileUnkNSSW::Create() { +Actor* ActorProfileUnkNSSW::Create() { return new(HeapIndex_2) ActorUnkNSSW(); } @@ -42,7 +42,7 @@ ActorProfileUnkNSSW::ActorProfileUnkNSSW() : ActorUnkNSSW::ActorUnkNSSW() : mUnk_0B0( - G3d_GetUnkPtr(((MapObjectProfile_Derived2 *) data_ov000_020b5d34.GetProfileFromId(MapObjectId_SWSW))->mUnk_20.mUnk_50, + G3d_GetUnkPtr(((MapObjectProfile_Derived2*) data_ov000_020b5d34.GetProfileFromId(MapObjectId_SWSW))->mUnk_20.mUnk_50, data_ov032_02121ee4), true), mUnk_0BC(0x7), @@ -94,8 +94,8 @@ void ActorUnkNSSW::Update() { fx16 x1 = sp10.vec.x; - VecFx16_Init(x1, y1, z1, (VecFx16 *) &this->mUnk_0E0.mUnk_08); - VecFx16_Init(x2, y2, z2, (VecFx16 *) &this->mUnk_0E0.mUnk_0E); + VecFx16_Init(x1, y1, z1, (VecFx16*) &this->mUnk_0E0.mUnk_08); + VecFx16_Init(x2, y2, z2, (VecFx16*) &this->mUnk_0E0.mUnk_0E); this->mUnk_0E0.mUnk_1C = 0x1; @@ -115,7 +115,7 @@ void ActorUnkNSSW::Update() { break; } - MapManagerBase *data = gpCourseManager->mpMapMgr; + MapManagerBase* data = gpCourseManager->mpMapMgr; Vec2bCpp sp0; func_01ffedac(&sp0, &this->mPos); @@ -135,7 +135,7 @@ void ActorUnkNSSW::Update() { this->func_ov032_02120190(); #if IS_JP { - ActorUnkITWP *actor = (ActorUnkITWP *) gpActorManager->func_01fff3b4(this->mUnk_134); + ActorUnkITWP* actor = (ActorUnkITWP*) gpActorManager->func_01fff3b4(this->mUnk_134); if (actor != NULL) { actor->mUnk_17F = this->mUnk_19C = true; } @@ -167,7 +167,7 @@ void ActorUnkNSSW::Update() { } void ActorUnkNSSW::func_ov032_02120118() { - ActorUnkITWP *actor = (ActorUnkITWP *) gpActorManager->func_01fff3b4(this->mUnk_134); + ActorUnkITWP* actor = (ActorUnkITWP*) gpActorManager->func_01fff3b4(this->mUnk_134); if (actor == NULL) { return; } @@ -181,15 +181,15 @@ void ActorUnkNSSW::func_ov032_02120118() { } void ActorUnkNSSW::func_ov032_02120190() { - ActorUnkITWP *actor = (ActorUnkITWP *) gpActorManager->func_01fff3b4(this->mUnk_134); + ActorUnkITWP* actor = (ActorUnkITWP*) gpActorManager->func_01fff3b4(this->mUnk_134); if (actor == NULL) { this->func_ov032_02120894(0x6); return; } - VecFx16_Init(FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), (VecFx16 *) &this->mUnk_0E0.mUnk_08); - VecFx16_Init(FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), (VecFx16 *) &this->mUnk_0E0.mUnk_0E); + VecFx16_Init(FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), (VecFx16*) &this->mUnk_0E0.mUnk_08); + VecFx16_Init(FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), (VecFx16*) &this->mUnk_0E0.mUnk_0E); VecFx32_Copy(&this->mPos, &this->mPrevPos); VecFx32 vec; @@ -231,7 +231,7 @@ void ActorUnkNSSW::func_ov032_021202d8() { fx32 y = gpCourseManager->mpMapMgr->vfunc_28(&vec, 0x1, 0x0); if (this->mPos.y <= y) { Vec2bCpp sp00; - MapManagerBase *data_0C = gpCourseManager->mpMapMgr; + MapManagerBase* data_0C = gpCourseManager->mpMapMgr; func_01ffedac(&sp00, &vec); if (data_0C->func_ov000_02080180(&sp00) == 0x14) { this->func_ov032_02120894(0x5); @@ -275,7 +275,7 @@ void ActorUnkNSSW::func_ov032_021203fc() { #endif if (this->mUnk_0BC == 0x0) { - MapObjectUnkSWSW *objectSWSW = this->mUnk_188; + MapObjectUnkSWSW* objectSWSW = this->mUnk_188; if (objectSWSW == NULL) { return; } @@ -310,7 +310,7 @@ void ActorUnkNSSW::func_ov032_021203fc() { if (!sp84.TryNormalize()) { sp84.CopyOut(&data_027e0108); - unk16 *ptr = (unk16 *) &spC; + unk16* ptr = (unk16*) &spC; func_01fff17c(ptr, data_027e0ce0, 0); func_01ff9638(&sp84.vec, *ptr); } @@ -342,7 +342,7 @@ void ActorUnkNSSW::func_ov032_021203fc() { #endif if (this->mUnk_0BC == 0x0) { - MapObjectUnkSWSW *objectSWSW = this->mUnk_188; + MapObjectUnkSWSW* objectSWSW = this->mUnk_188; if (objectSWSW == NULL) { return; } @@ -445,7 +445,7 @@ void ActorUnkNSSW::func_ov032_02120894(unk32 param1) { case 0x4: this->mUnk_138.CopyIn(&this->mUnk_144); - *(s16 *) &this->mUnk_44 &= ~0x20; + *(s16*) &this->mUnk_44 &= ~0x20; this->mUnk_1A0 = 0x0; break; @@ -483,12 +483,12 @@ void ActorUnkNSSW::func_ov032_02120894(unk32 param1) { MTX_RotY33_(&this->mUnk_150, SIN(angle), COS(angle)); - *(s16 *) &this->mUnk_44 &= ~0x20; + *(s16*) &this->mUnk_44 &= ~0x20; #if IS_JP || IS_EUR1 UnkStruct_ov031_020e5d18_00 spC; spC.mUnk_00.Reset(); - VecFx32 *vec2 = this->Actor::func_ov000_0209853c(PlayerType_Link); + VecFx32* vec2 = this->Actor::func_ov000_0209853c(PlayerType_Link); spC.func_01ffe6c4(this->mRef, &this->mPos, vec2, this->mUnk_44, &this->mPos, NULL); Actor::func_ov000_0207df88(&spC, this->mUnk_30, 0x10); @@ -514,7 +514,7 @@ void ActorUnkNSSW::func_ov032_02120b6c() { this->func_ov032_02120894(0x3); } -void ActorUnkNSSW::func_ov032_02120b7c(VecFx32 *param1) { +void ActorUnkNSSW::func_ov032_02120b7c(VecFx32* param1) { fx32 x = param1->x; fx32 y = param1->y; fx32 z = param1->z; @@ -535,7 +535,7 @@ void ActorUnkNSSW::func_ov032_02120bc0() { this->func_ov032_02120894(0x6); } -void ActorUnkNSSW::func_ov032_02120bfc(Actor *actor) { +void ActorUnkNSSW::func_ov032_02120bfc(Actor* actor) { #if IS_EUR1 if (this->mUnk_0BC != 0x4) { return; @@ -550,7 +550,7 @@ void ActorUnkNSSW::func_ov032_02120bfc(Actor *actor) { this->mUnk_19D = false; break; case ActorId_RCHU: - if (((ActorUnkRCHU *) actor)->mUnk_268 != 0x0) { + if (((ActorUnkRCHU*) actor)->mUnk_268 != 0x0) { this->mUnk_19D = false; } break; @@ -569,7 +569,7 @@ void ActorUnkNSSW::func_ov032_02120bfc(Actor *actor) { } #if IS_JP -void ActorUnkNSSW::func_ov032_02122b0c(MapObject *mapObject) { +void ActorUnkNSSW::func_ov032_02122b0c(MapObject* mapObject) { if (mapObject == NULL) { return; } @@ -590,7 +590,7 @@ void ActorUnkNSSW::func_ov032_02122b0c(MapObject *mapObject) { } #endif -void ActorUnkNSSW::func_ov032_02120c64(MapObjectUnkSWSW *param1) { +void ActorUnkNSSW::func_ov032_02120c64(MapObjectUnkSWSW* param1) { if (this->mUnk_0BC != 0x4) { return; } @@ -614,7 +614,7 @@ void ActorUnkNSSW::func_ov032_02120c64(MapObjectUnkSWSW *param1) { this->mUnk_188 = param1; } -ActorUnkNSSW_0E0::ActorUnkNSSW_0E0(ActorUnkNSSW *actor) : +ActorUnkNSSW_0E0::ActorUnkNSSW_0E0(ActorUnkNSSW* actor) : Actor_C4(actor, 0x1) { this->mUnk_20 = actor; this->mUnk_04 = 0x1; @@ -622,7 +622,7 @@ ActorUnkNSSW_0E0::ActorUnkNSSW_0E0(ActorUnkNSSW *actor) : bool ActorUnkNSSW_0E0::vfunc_00(RefStruct ref, unk32 param2) { if (param2 != 0x0) { - ActorUnkNSSW *actor = this->GetActorPtr(); + ActorUnkNSSW* actor = this->GetActorPtr(); actor->func_ov032_02120b34(ref); } @@ -634,7 +634,7 @@ bool ActorUnkNSSW_0E0::vfunc_04() { return this->Actor_C4::vfunc_04(); } -void ActorUnkNSSW_0E0::vfunc_0C(VecFx32 *param1) { +void ActorUnkNSSW_0E0::vfunc_0C(VecFx32* param1) { if (VEC_Mag(param1) < FX_F32_TO_FX32(0.01f)) { this->GetActorPtr()->func_ov032_02120bc0(); } else { @@ -644,21 +644,20 @@ void ActorUnkNSSW_0E0::vfunc_0C(VecFx32 *param1) { return this->Actor_C4::vfunc_0C(param1); } -ActorUnkNSSW_104::ActorUnkNSSW_104(ActorUnkNSSW *actor) : +ActorUnkNSSW_104::ActorUnkNSSW_104(ActorUnkNSSW* actor) : mUnk_2C(actor) {} -void ActorUnkNSSW_104::vfunc_10(const Actor *actor) { - this->mUnk_2C->func_ov032_02120bfc((Actor *) actor); +void ActorUnkNSSW_104::vfunc_10(const Actor* actor) { + this->mUnk_2C->func_ov032_02120bfc((Actor*) actor); } #if IS_JP -bool ActorUnkNSSW_138::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) { +bool ActorUnkNSSW_138::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, const VecFx32* param4) { if (ref.moRef.unk_00_u16 & 0x1000) { MapObjRef moRef = ref.moRef; Vec2bCpp pos = moRef.GetUnk02(); - MapObject *mapObject = gpMapObjManager->func_01fff498(pos); + MapObject* mapObject = gpMapObjManager->func_01fff498(pos); if (mapObject != NULL) { this->mUnk_08->func_ov032_02122b0c(mapObject); diff --git a/src/032_MapA1/MapObject/MapObjectUnkSWSW.cpp b/src/032_MapA1/MapObject/MapObjectUnkSWSW.cpp index 98ee1e24f..a8e81ef1b 100644 --- a/src/032_MapA1/MapObject/MapObjectUnkSWSW.cpp +++ b/src/032_MapA1/MapObject/MapObjectUnkSWSW.cpp @@ -21,7 +21,7 @@ extern MapObject_10 data_ov032_02122b8c; DECL_PROFILE(MapObjectProfileUnkSWSW); -MapObject *MapObjectProfileUnkSWSW::Create() { +MapObject* MapObjectProfileUnkSWSW::Create() { return new(HeapIndex_ITCM) MapObjectUnkSWSW(); } @@ -38,7 +38,7 @@ MapObjectProfileUnkSWSW::MapObjectProfileUnkSWSW() : this->mUnk_20.mUnk_15 = 0x1; } -MapObjectUnkSWSW_40::MapObjectUnkSWSW_40(G3d_Model *pModel) : +MapObjectUnkSWSW_40::MapObjectUnkSWSW_40(G3d_Model* pModel) : ModelRender(pModel), mUnk_60(0x0), mUnk_64(0x0), @@ -51,7 +51,7 @@ MapObjectUnkSWSW_40::MapObjectUnkSWSW_40(G3d_Model *pModel) : this->ModelRender::func_ov000_02057c38(0x6, 0x2); } -void MapObjectUnkSWSW_40::vfunc_1C(G3d_RenderState *param1) { +void MapObjectUnkSWSW_40::vfunc_1C(G3d_RenderState* param1) { if (param1->currentCmd[1] == this->mUnk_60) { param1->mUnk_B4->mUnk_00 &= ~0x2; MTX_RotX33_(¶m1->mUnk_B4->mUnk_28, SIN(this->mUnk_68), COS(this->mUnk_68)); @@ -110,7 +110,7 @@ MapObjectUnkSWSW::MapObjectUnkSWSW() : bool MapObjectUnkSWSW::Init() { Vec2bCpp sp00; - MapManagerBase *pMapMgr = gpCourseManager->mpMapMgr; + MapManagerBase* pMapMgr = gpCourseManager->mpMapMgr; func_01ffedac(&sp00, &this->mPos); if (pMapMgr->func_ov000_02080180(&sp00) == 0x14) { @@ -123,7 +123,7 @@ bool MapObjectUnkSWSW::Init() { this->mUnk_0AC.mpModel = this->mUnk_040.mpModel; unk32 param2 = data_ov032_02122ad8.func_ov000_02058a24(); - UnkStruct_ov000_02058a84 *param1 = data_ov032_02122ad8.func_ov000_02058a84(0x3, &data_ov032_02121f04); + UnkStruct_ov000_02058a84* param1 = data_ov032_02122ad8.func_ov000_02058a84(0x3, &data_ov032_02121f04); this->mUnk_0AC.func_ov000_020577a4(param1, param2, true); @@ -153,7 +153,7 @@ bool MapObjectUnkSWSW::Init() { VecFx32_Init(this->mPos.x + this->mUnk_0EC.vec.x, this->mPos.y + this->mUnk_0EC.vec.y, this->mPos.z + this->mUnk_0EC.vec.z, &sp04); - ActorUnkNSSW *actorNSSW = this->func_ov032_02121dc8(&sp04); + ActorUnkNSSW* actorNSSW = this->func_ov032_02121dc8(&sp04); this->mUnk_0F8 = actorNSSW; this->mUnk_114 = actorNSSW; @@ -203,7 +203,7 @@ void MapObjectUnkSWSW::vfunc_08() { return; } - VecFx32 *vec = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* vec = data_027e0ce0->func_01fff148(PlayerType_Link); VecFx32 sp48; VecFx32_Init(vec->x - this->mPos.x, vec->y - this->mPos.y, vec->z - this->mPos.z, &sp48); VEC_Normalize(&sp48, &sp48); @@ -264,7 +264,7 @@ void MapObjectUnkSWSW::vfunc_08() { this->mPos.z + this->mUnk_0EC.vec.z, &sp30); sp18 = sp30; - ActorUnkNSSW *actorNSSW = this->mUnk_0F8; + ActorUnkNSSW* actorNSSW = this->mUnk_0F8; VecFx32_Copy(&sp18, &actorNSSW->mPos); VecFx32_Copy(&sp18, &actorNSSW->mPrevPos); @@ -281,7 +281,7 @@ void MapObjectUnkSWSW::vfunc_08() { sp0C = sp24; - ActorUnkNSSW *actorNSSW = this->mUnk_0F8; + ActorUnkNSSW* actorNSSW = this->mUnk_0F8; VecFx32_Copy(&sp0C, &actorNSSW->mPos); VecFx32_Copy(&sp0C, &actorNSSW->mPrevPos); } @@ -309,15 +309,15 @@ void MapObjectUnkSWSW::vfunc_08() { } if (this->mUnk_114 != NULL) { - (*(u16 *) &this->mUnk_20.mUnk_08) = this->mUnk_10C; + (*(u16*) &this->mUnk_20.mUnk_08) = this->mUnk_10C; } this->mAngle = this->mUnk_10C; } -bool MapObjectUnkSWSW::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) { +bool MapObjectUnkSWSW::vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) { if (this->mUnk_0FC != 0x2) { if (param1.common.type != 0x0) { - Actor *actor = gpActorManager->func_01fff3b4(param1); + Actor* actor = gpActorManager->func_01fff3b4(param1); if (actor != NULL) { if (actor->GetActorId() == ActorId_NSSW) { @@ -330,7 +330,7 @@ bool MapObjectUnkSWSW::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) } if (param1.common.type != 0x0) { - ActorUnkNSSW *actorNSSW = (ActorUnkNSSW *) gpActorManager->func_01fff3b4(param1); + ActorUnkNSSW* actorNSSW = (ActorUnkNSSW*) gpActorManager->func_01fff3b4(param1); if (actorNSSW != NULL) { if (actorNSSW->GetActorId() == ActorId_NSSW) { @@ -340,7 +340,7 @@ bool MapObjectUnkSWSW::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) UnkAngleStruct angle; angle.angle_s = actorNSSW->mAngle.angle_s; - VecFx32 *vec = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* vec = data_027e0ce0->func_01fff148(PlayerType_Link); if (!func_02016ae0(&actorNSSW->mPos, vec, angle, 0x2AAB, 0x1)) { return false; @@ -356,7 +356,7 @@ bool MapObjectUnkSWSW::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) this->mPos.z + this->mUnk_0EC.vec.z, &sp14); sp08 = sp14; - ActorUnkNSSW *nssw114 = this->mUnk_114; + ActorUnkNSSW* nssw114 = this->mUnk_114; VecFx32_Init(sp08.x, sp08.y, sp08.z, &nssw114->mPos); VecFx32_Init(sp08.x, sp08.y, sp08.z, &nssw114->mPrevPos); @@ -442,7 +442,7 @@ void MapObjectUnkSWSW::vfunc_3C(unk32 param1) { VecFx32_Init(this->mPos.x + this->mUnk_0EC.vec.x, this->mPos.y + this->mUnk_0EC.vec.y, this->mPos.z + this->mUnk_0EC.vec.z, &sp0C); - ActorUnkNSSW *actorNSSW = this->func_ov032_02121dc8(&sp0C); + ActorUnkNSSW* actorNSSW = this->func_ov032_02121dc8(&sp0C); this->mUnk_0F8 = actorNSSW; this->mUnk_114 = actorNSSW; @@ -453,7 +453,7 @@ void MapObjectUnkSWSW::vfunc_3C(unk32 param1) { this->mPos.z + this->mUnk_0EC.vec.z - FX_F32_TO_FX32(1.0f), &sp18); sp00 = sp18; - ActorUnkNSSW *nssw0F8 = this->mUnk_0F8; + ActorUnkNSSW* nssw0F8 = this->mUnk_0F8; VecFx32_Copy(&sp00, &nssw0F8->mPos); VecFx32_Copy(&sp00, &nssw0F8->mPrevPos); break; @@ -487,7 +487,7 @@ struct UnkStack_ov032_02121dc8 { }; // non-matching (vec copy) -ActorUnkNSSW *MapObjectUnkSWSW::func_ov032_02121dc8(VecFx32 *param1) { +ActorUnkNSSW* MapObjectUnkSWSW::func_ov032_02121dc8(VecFx32* param1) { ActorParams params; UnkStack_ov032_02121dc8 unk; @@ -501,7 +501,7 @@ ActorUnkNSSW *MapObjectUnkSWSW::func_ov032_02121dc8(VecFx32 *param1) { Actor::func_ov000_020973f4(&unk.ref, &data_ov000_020b539c_eur, ActorId_NSSW, ¶ms, 0x0); - ActorUnkNSSW *actor = (ActorUnkNSSW *) gpActorManager->func_01fff3b4(unk.ref); + ActorUnkNSSW* actor = (ActorUnkNSSW*) gpActorManager->func_01fff3b4(unk.ref); actor->mUnk_184 = this; actor->mUnk_188 = this; diff --git a/src/033_MapA2/Actor/ActorUnkRCFO.cpp b/src/033_MapA2/Actor/ActorUnkRCFO.cpp index 94b19cb2b..abf3dae78 100644 --- a/src/033_MapA2/Actor/ActorUnkRCFO.cpp +++ b/src/033_MapA2/Actor/ActorUnkRCFO.cpp @@ -11,9 +11,9 @@ DECL_PROFILE(ActorProfileUnkRCFO); -char *data_ov033_02121190[] = {"-", "☆", "tri", "sitaboko", "umbrella"}; +char* data_ov033_02121190[] = {"-", "☆", "tri", "sitaboko", "umbrella"}; -Actor *ActorProfileUnkRCFO::Create() { +Actor* ActorProfileUnkRCFO::Create() { return new(HeapIndex_2) ActorUnkRCFO(); } @@ -58,8 +58,8 @@ bool ActorUnkRCFO::Init(unk32 param1) { void ActorUnkRCFO::Setup() { this->mUnk_DCC = this->mUnk_C3C; - for (MapObject **mapObjectPtr = gpMapObjManager->mMapObjTable; mapObjectPtr != gpMapObjManager->mUnk_08; ++mapObjectPtr) { - MapObjectUnkRCFL *mapObject = (MapObjectUnkRCFL *) *mapObjectPtr; + for (MapObject** mapObjectPtr = gpMapObjManager->mMapObjTable; mapObjectPtr != gpMapObjManager->mUnk_08; ++mapObjectPtr) { + MapObjectUnkRCFL* mapObject = (MapObjectUnkRCFL*) *mapObjectPtr; if (mapObject == NULL || mapObject->GetMapObjectId() != MapObjectId_RCFL) { continue; @@ -97,10 +97,10 @@ void ActorUnkRCFO::Setup() { void ActorUnkRCFO::Update() { bool foundOneRCFL = false; - MapObjectUnkRCFL *lastValidRCFL = NULL; + MapObjectUnkRCFL* lastValidRCFL = NULL; - for (MapObjectUnkRCFL **mapObjectPtr = this->mUnk_C3C; mapObjectPtr != this->mUnk_DCC; ++mapObjectPtr) { - MapObjectUnkRCFL *mapObject = *mapObjectPtr; + for (MapObjectUnkRCFL** mapObjectPtr = this->mUnk_C3C; mapObjectPtr != this->mUnk_DCC; ++mapObjectPtr) { + MapObjectUnkRCFL* mapObject = *mapObjectPtr; if (mapObject->mUnk_40 == 0x1) { foundOneRCFL = true; lastValidRCFL = mapObject; @@ -151,8 +151,8 @@ void ActorUnkRCFO::Update() { case 0x2: { if (data_027e09b8->func_ov000_020732ec(this->mUnk_DF8) == 0x0) { - for (MapObjectUnkRCFL **mapObjectPtr = this->mUnk_C3C; mapObjectPtr != this->mUnk_DCC; ++mapObjectPtr) { - MapObjectUnkRCFL *mapObject = *mapObjectPtr; + for (MapObjectUnkRCFL** mapObjectPtr = this->mUnk_C3C; mapObjectPtr != this->mUnk_DCC; ++mapObjectPtr) { + MapObjectUnkRCFL* mapObject = *mapObjectPtr; mapObject->func_ov033_0211bcdc(); } @@ -162,8 +162,8 @@ void ActorUnkRCFO::Update() { } if (this->mUnk_DD8.GetValue() == 0x1E) { - for (MapObjectUnkRCFL **mapObjectPtr = this->mUnk_C3C; mapObjectPtr != this->mUnk_DCC; ++mapObjectPtr) { - MapObjectUnkRCFL *mapObject = *mapObjectPtr; + for (MapObjectUnkRCFL** mapObjectPtr = this->mUnk_C3C; mapObjectPtr != this->mUnk_DCC; ++mapObjectPtr) { + MapObjectUnkRCFL* mapObject = *mapObjectPtr; if (!(mapObject->mUnk_40 != 0x2 && mapObject->mUnk_40 != 0x1)) { mapObject->func_ov033_0211bcc4(); } @@ -246,8 +246,8 @@ void ActorUnkRCFO::func_ov033_02119840(unk32 param1, unk32 param2) { } void ActorUnkRCFO::func_ov033_021199f4() { - for (MapObject **mapObjectPtr = gpMapObjManager->mMapObjTable; mapObjectPtr != gpMapObjManager->mUnk_08; ++mapObjectPtr) { - MapObjectUnkRCFL *mapObject = (MapObjectUnkRCFL *) *mapObjectPtr; + for (MapObject** mapObjectPtr = gpMapObjManager->mMapObjTable; mapObjectPtr != gpMapObjManager->mUnk_08; ++mapObjectPtr) { + MapObjectUnkRCFL* mapObject = (MapObjectUnkRCFL*) *mapObjectPtr; if (mapObject == NULL || mapObject->GetMapObjectId() != MapObjectId_RCFL) { continue; @@ -259,7 +259,7 @@ void ActorUnkRCFO::func_ov033_021199f4() { // non-matching void ActorUnkRCFO::func_ov033_02119a58() { - VecFx32 *vec = data_027e0ce0->func_01fff148(PlayerType_Zelda); + VecFx32* vec = data_027e0ce0->func_01fff148(PlayerType_Zelda); Vec2s sp; sp.x = (FX_Div(vec->x - this->mUnk_DDC.vec.x, this->mUnk_DE8.vec.x - this->mUnk_DDC.vec.x) << 8) >> 0xC; @@ -278,14 +278,14 @@ void ActorUnkRCFO::func_ov033_02119a58() { sp.y = 0xBF; } - unk32 *val = this->mUnk_910.mUnk_00; + unk32* val = this->mUnk_910.mUnk_00; unk32 delta = (uintptr_t) this->mUnk_910.mUnk_04 - (uintptr_t) val; if ((u32) (delta / 4) == 0x0) { this->mUnk_910.func_ov000_0205b1d8(&sp); return; } - Vec2s *newVal = (Vec2s *) (val + delta * 2); + Vec2s* newVal = (Vec2s*) (val + delta * 2); bool cond = false; // strange vec2s access @@ -310,7 +310,7 @@ bool ActorUnkRCFO::func_ov033_02119bc4() { this->mUnk_094.func_ov033_021190f4(); } -ActorUnkRCFO_DFC::ActorUnkRCFO_DFC(ActorUnkRCFO_910 *param1) : +ActorUnkRCFO_DFC::ActorUnkRCFO_DFC(ActorUnkRCFO_910* param1) : mUnk_10(param1), mUnk_14(true), mUnk_15(false) {} diff --git a/src/033_MapA2/MapObject/MapObjectUnkDOPA.cpp b/src/033_MapA2/MapObject/MapObjectUnkDOPA.cpp index 78b49ca63..6adaafb02 100644 --- a/src/033_MapA2/MapObject/MapObjectUnkDOPA.cpp +++ b/src/033_MapA2/MapObject/MapObjectUnkDOPA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDOPA); -MapObject *MapObjectProfileUnkDOPA::Create() { +MapObject* MapObjectProfileUnkDOPA::Create() { return new(HeapIndex_2) MapObjectUnkDOPA(); } diff --git a/src/033_MapA2/MapObject/MapObjectUnkRCFL.cpp b/src/033_MapA2/MapObject/MapObjectUnkRCFL.cpp index 2cd114220..b78fa0e83 100644 --- a/src/033_MapA2/MapObject/MapObjectUnkRCFL.cpp +++ b/src/033_MapA2/MapObject/MapObjectUnkRCFL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkRCFL); -MapObject *MapObjectProfileUnkRCFL::Create() { +MapObject* MapObjectProfileUnkRCFL::Create() { return new(HeapIndex_ITCM) MapObjectUnkRCFL(); } diff --git a/src/034_MapA3/Actor/ActorUnkBSFC.cpp b/src/034_MapA3/Actor/ActorUnkBSFC.cpp index 62883ae96..e0c87bb74 100644 --- a/src/034_MapA3/Actor/ActorUnkBSFC.cpp +++ b/src/034_MapA3/Actor/ActorUnkBSFC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBSFC); -Actor *ActorProfileUnkBSFC::Create() { +Actor* ActorProfileUnkBSFC::Create() { return new(HeapIndex_2) ActorUnkBSFC(); } diff --git a/src/034_MapA3/Actor/ActorUnkFCHL.cpp b/src/034_MapA3/Actor/ActorUnkFCHL.cpp index 6a50bd403..237337902 100644 --- a/src/034_MapA3/Actor/ActorUnkFCHL.cpp +++ b/src/034_MapA3/Actor/ActorUnkFCHL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFCHL); -Actor *ActorProfileUnkFCHL::Create() { +Actor* ActorProfileUnkFCHL::Create() { return new(HeapIndex_2) ActorUnkFCHL(); } diff --git a/src/034_MapA3/Actor/ActorUnkRMM1.cpp b/src/034_MapA3/Actor/ActorUnkRMM1.cpp index 59f3fec88..0d4fd7a1f 100644 --- a/src/034_MapA3/Actor/ActorUnkRMM1.cpp +++ b/src/034_MapA3/Actor/ActorUnkRMM1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMM1); -Actor *ActorProfileUnkRMM1::Create() { +Actor* ActorProfileUnkRMM1::Create() { return new(HeapIndex_2) ActorUnkRMM1(); } diff --git a/src/034_MapA3/Actor/ActorUnkTRLY.cpp b/src/034_MapA3/Actor/ActorUnkTRLY.cpp index 391d31bd4..15c05a6ba 100644 --- a/src/034_MapA3/Actor/ActorUnkTRLY.cpp +++ b/src/034_MapA3/Actor/ActorUnkTRLY.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTRLY); -Actor *ActorProfileUnkTRLY::Create() { +Actor* ActorProfileUnkTRLY::Create() { return new(HeapIndex_2) ActorUnkTRLY(); } diff --git a/src/034_MapA3/Actor/ActorUnkTRRL.cpp b/src/034_MapA3/Actor/ActorUnkTRRL.cpp index cd617c33e..3430f154c 100644 --- a/src/034_MapA3/Actor/ActorUnkTRRL.cpp +++ b/src/034_MapA3/Actor/ActorUnkTRRL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTRRL); -Actor *ActorProfileUnkTRRL::Create() { +Actor* ActorProfileUnkTRRL::Create() { return new(HeapIndex_2) ActorUnkTRRL(); } diff --git a/src/034_MapA3/MapObject/MapObjectUnkGELG.cpp b/src/034_MapA3/MapObject/MapObjectUnkGELG.cpp index 2c2bec52b..911f7ef51 100644 --- a/src/034_MapA3/MapObject/MapObjectUnkGELG.cpp +++ b/src/034_MapA3/MapObject/MapObjectUnkGELG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkGELG); -MapObject *MapObjectProfileUnkGELG::Create() { +MapObject* MapObjectProfileUnkGELG::Create() { return new(HeapIndex_2) MapObjectUnkGELG(); } diff --git a/src/034_MapA3/MapObject/MapObjectUnkTRSW.cpp b/src/034_MapA3/MapObject/MapObjectUnkTRSW.cpp index 696a59c3b..9d9c1bfff 100644 --- a/src/034_MapA3/MapObject/MapObjectUnkTRSW.cpp +++ b/src/034_MapA3/MapObject/MapObjectUnkTRSW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRSW); -MapObject *MapObjectProfileUnkTRSW::Create() { +MapObject* MapObjectProfileUnkTRSW::Create() { return new(HeapIndex_2) MapObjectUnkTRSW(); } diff --git a/src/034_MapA3/MapObject/MapObjectUnkWPHL.cpp b/src/034_MapA3/MapObject/MapObjectUnkWPHL.cpp index 64d39321e..0efba80c4 100644 --- a/src/034_MapA3/MapObject/MapObjectUnkWPHL.cpp +++ b/src/034_MapA3/MapObject/MapObjectUnkWPHL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkWPHL); -MapObject *MapObjectProfileUnkWPHL::Create() { +MapObject* MapObjectProfileUnkWPHL::Create() { return new(HeapIndex_2) MapObjectUnkWPHL(); } diff --git a/src/035_MapA4/Actor/ActorUnkFIFI.cpp b/src/035_MapA4/Actor/ActorUnkFIFI.cpp index 897ce0734..edbdd9ca4 100644 --- a/src/035_MapA4/Actor/ActorUnkFIFI.cpp +++ b/src/035_MapA4/Actor/ActorUnkFIFI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFIFI); -Actor *ActorProfileUnkFIFI::Create() { +Actor* ActorProfileUnkFIFI::Create() { return new(HeapIndex_2) ActorUnkFIFI(); } diff --git a/src/035_MapA4/Actor/ActorUnkFIMA.cpp b/src/035_MapA4/Actor/ActorUnkFIMA.cpp index 4c43171cc..4ab8957b7 100644 --- a/src/035_MapA4/Actor/ActorUnkFIMA.cpp +++ b/src/035_MapA4/Actor/ActorUnkFIMA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFIMA); -Actor *ActorProfileUnkFIMA::Create() { +Actor* ActorProfileUnkFIMA::Create() { return new(HeapIndex_2) ActorUnkFIMA(); } diff --git a/src/035_MapA4/Actor/ActorUnkFIML.cpp b/src/035_MapA4/Actor/ActorUnkFIML.cpp index 375415525..87e4c35e5 100644 --- a/src/035_MapA4/Actor/ActorUnkFIML.cpp +++ b/src/035_MapA4/Actor/ActorUnkFIML.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFIML); -Actor *ActorProfileUnkFIML::Create() { +Actor* ActorProfileUnkFIML::Create() { return new(HeapIndex_2) ActorUnkFIML(); } diff --git a/src/035_MapA4/Actor/ActorUnkFMAS_FMLS.cpp b/src/035_MapA4/Actor/ActorUnkFMAS_FMLS.cpp index 838cd6f8d..9d4d8c132 100644 --- a/src/035_MapA4/Actor/ActorUnkFMAS_FMLS.cpp +++ b/src/035_MapA4/Actor/ActorUnkFMAS_FMLS.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkFMAS); -Actor *ActorProfileUnkFMAS::Create() { +Actor* ActorProfileUnkFMAS::Create() { return new(HeapIndex_2) ActorUnkFMAS(); } @@ -20,7 +20,7 @@ ActorUnkFMAS::ActorUnkFMAS() {} DECL_PROFILE(ActorProfileUnkFMLS); -Actor *ActorProfileUnkFMLS::Create() { +Actor* ActorProfileUnkFMLS::Create() { return new(HeapIndex_2) ActorUnkFMLS(); } diff --git a/src/036_MapA5/Actor/ActorUnkCAMY.cpp b/src/036_MapA5/Actor/ActorUnkCAMY.cpp index bb0692114..f2fa3e642 100644 --- a/src/036_MapA5/Actor/ActorUnkCAMY.cpp +++ b/src/036_MapA5/Actor/ActorUnkCAMY.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCAMY); -Actor *ActorProfileUnkCAMY::Create() { +Actor* ActorProfileUnkCAMY::Create() { return new(HeapIndex_2) ActorUnkCAMY(); } diff --git a/src/036_MapA5/Actor/ActorUnkFOMY.cpp b/src/036_MapA5/Actor/ActorUnkFOMY.cpp index ee0b597bf..2af03fd7f 100644 --- a/src/036_MapA5/Actor/ActorUnkFOMY.cpp +++ b/src/036_MapA5/Actor/ActorUnkFOMY.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFOMY); -Actor *ActorProfileUnkFOMY::Create() { +Actor* ActorProfileUnkFOMY::Create() { return new(HeapIndex_2) ActorUnkFOMY(); } diff --git a/src/036_MapA5/Actor/ActorUnkGORY.cpp b/src/036_MapA5/Actor/ActorUnkGORY.cpp index 6581bd522..544b3be3a 100644 --- a/src/036_MapA5/Actor/ActorUnkGORY.cpp +++ b/src/036_MapA5/Actor/ActorUnkGORY.cpp @@ -8,7 +8,7 @@ DECL_PROFILE(ActorProfileUnkGORY); -Actor *ActorProfileUnkGORY::Create() { +Actor* ActorProfileUnkGORY::Create() { return new(HeapIndex_2) ActorUnkGORY(); } diff --git a/src/036_MapA5/Actor/ActorUnkRMST.cpp b/src/036_MapA5/Actor/ActorUnkRMST.cpp index c32d49d44..f1fb3bbf1 100644 --- a/src/036_MapA5/Actor/ActorUnkRMST.cpp +++ b/src/036_MapA5/Actor/ActorUnkRMST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMST); -Actor *ActorProfileUnkRMST::Create() { +Actor* ActorProfileUnkRMST::Create() { return new(HeapIndex_2) ActorUnkRMST(); } diff --git a/src/036_MapA5/Actor/ActorUnkSHIT.cpp b/src/036_MapA5/Actor/ActorUnkSHIT.cpp index 4f601870f..c7573b91a 100644 --- a/src/036_MapA5/Actor/ActorUnkSHIT.cpp +++ b/src/036_MapA5/Actor/ActorUnkSHIT.cpp @@ -10,7 +10,7 @@ DECL_PROFILE(ActorProfileUnkSHIT); -Actor *ActorProfileUnkSHIT::Create() { +Actor* ActorProfileUnkSHIT::Create() { return new(HeapIndex_2) ActorUnkSHIT(); } @@ -173,7 +173,7 @@ void ActorUnkSHIT::func_ov036_0211d28c(void) {} void ActorUnkSHIT::func_ov036_0211d2a8(void) {} bool ActorUnkSHIT::func_ov036_0211d2dc(void) { - ItemManager *pIVar4 = data_027e0ce0->mUnk_2C; + ItemManager* pIVar4 = data_027e0ce0->mUnk_2C; switch (this->mItemId) { case ItemId_NormalShield: @@ -283,7 +283,7 @@ bool ActorUnkSHIT::func_ov036_0211d2dc(void) { } void ActorUnkSHIT::func_ov036_0211d570(unk32 param1) { - ItemManager *pIVar4 = data_027e0ce0->mUnk_2C; + ItemManager* pIVar4 = data_027e0ce0->mUnk_2C; switch (this->mItemId) { case ItemId_NormalShield: diff --git a/src/036_MapA5/Actor/ActorUnkTEHT.cpp b/src/036_MapA5/Actor/ActorUnkTEHT.cpp index be6721629..5f71371d3 100644 --- a/src/036_MapA5/Actor/ActorUnkTEHT.cpp +++ b/src/036_MapA5/Actor/ActorUnkTEHT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTEHT); -Actor *ActorProfileUnkTEHT::Create() { +Actor* ActorProfileUnkTEHT::Create() { return new(HeapIndex_2) ActorUnkTEHT(); } diff --git a/src/036_MapA5/Actor/ActorUnkTERY.cpp b/src/036_MapA5/Actor/ActorUnkTERY.cpp index d155cfe57..4153df695 100644 --- a/src/036_MapA5/Actor/ActorUnkTERY.cpp +++ b/src/036_MapA5/Actor/ActorUnkTERY.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTERY); -Actor *ActorProfileUnkTERY::Create() { +Actor* ActorProfileUnkTERY::Create() { return new(HeapIndex_2) ActorUnkTERY(); } diff --git a/src/036_MapA5/Actor/ActorUnkWAWY.cpp b/src/036_MapA5/Actor/ActorUnkWAWY.cpp index c07cdf708..d1f559fdc 100644 --- a/src/036_MapA5/Actor/ActorUnkWAWY.cpp +++ b/src/036_MapA5/Actor/ActorUnkWAWY.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWAWY); -Actor *ActorProfileUnkWAWY::Create() { +Actor* ActorProfileUnkWAWY::Create() { return new(HeapIndex_2) ActorUnkWAWY(); } diff --git a/src/036_MapA5/Actor/ActorUnkYUKY.cpp b/src/036_MapA5/Actor/ActorUnkYUKY.cpp index 5c7b22883..c2c9e4d34 100644 --- a/src/036_MapA5/Actor/ActorUnkYUKY.cpp +++ b/src/036_MapA5/Actor/ActorUnkYUKY.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkYUKY); -Actor *ActorProfileUnkYUKY::Create() { +Actor* ActorProfileUnkYUKY::Create() { return new(HeapIndex_2) ActorUnkYUKY(); } diff --git a/src/037_MapA6/Actor/ActorUnkSOLF.cpp b/src/037_MapA6/Actor/ActorUnkSOLF.cpp index 55b139a0f..5576c6cf4 100644 --- a/src/037_MapA6/Actor/ActorUnkSOLF.cpp +++ b/src/037_MapA6/Actor/ActorUnkSOLF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSOLF); -Actor *ActorProfileUnkSOLF::Create() { +Actor* ActorProfileUnkSOLF::Create() { return new(HeapIndex_2) ActorUnkSOLF(); } diff --git a/src/037_MapA6/Actor/ActorUnkSOLT.cpp b/src/037_MapA6/Actor/ActorUnkSOLT.cpp index 99466d4c0..9d7848d37 100644 --- a/src/037_MapA6/Actor/ActorUnkSOLT.cpp +++ b/src/037_MapA6/Actor/ActorUnkSOLT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSOLT); -Actor *ActorProfileUnkSOLT::Create() { +Actor* ActorProfileUnkSOLT::Create() { return new(HeapIndex_2) ActorUnkSOLT(); } diff --git a/src/037_MapA6/Actor/ActorUnkTUTO.cpp b/src/037_MapA6/Actor/ActorUnkTUTO.cpp index a3881e158..ec1803d03 100644 --- a/src/037_MapA6/Actor/ActorUnkTUTO.cpp +++ b/src/037_MapA6/Actor/ActorUnkTUTO.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTUTO); -Actor *ActorProfileUnkTUTO::Create() { +Actor* ActorProfileUnkTUTO::Create() { return new(HeapIndex_2) ActorUnkTUTO(); } diff --git a/src/038_MapA7/Actor/ActorUnkBLBL.cpp b/src/038_MapA7/Actor/ActorUnkBLBL.cpp index 0dc74f229..8eab2fbf9 100644 --- a/src/038_MapA7/Actor/ActorUnkBLBL.cpp +++ b/src/038_MapA7/Actor/ActorUnkBLBL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBLBL); -Actor *ActorProfileUnkBLBL::Create() { +Actor* ActorProfileUnkBLBL::Create() { return new(HeapIndex_2) ActorUnkBLBL(); } diff --git a/src/038_MapA7/Actor/ActorUnkBLBR.cpp b/src/038_MapA7/Actor/ActorUnkBLBR.cpp index af61b03f1..7fb274889 100644 --- a/src/038_MapA7/Actor/ActorUnkBLBR.cpp +++ b/src/038_MapA7/Actor/ActorUnkBLBR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBLBR); -Actor *ActorProfileUnkBLBR::Create() { +Actor* ActorProfileUnkBLBR::Create() { return new(HeapIndex_2) ActorUnkBLBR(); } diff --git a/src/038_MapA7/Actor/ActorUnkGRCF.cpp b/src/038_MapA7/Actor/ActorUnkGRCF.cpp index 7881994a6..95a63c87c 100644 --- a/src/038_MapA7/Actor/ActorUnkGRCF.cpp +++ b/src/038_MapA7/Actor/ActorUnkGRCF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkGRCF); -Actor *ActorProfileUnkGRCF::Create() { +Actor* ActorProfileUnkGRCF::Create() { return new(HeapIndex_2) ActorUnkGRCF(); } diff --git a/src/038_MapA7/Actor/ActorUnkPLSR.cpp b/src/038_MapA7/Actor/ActorUnkPLSR.cpp index 646909998..1c437409e 100644 --- a/src/038_MapA7/Actor/ActorUnkPLSR.cpp +++ b/src/038_MapA7/Actor/ActorUnkPLSR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPLSR); -Actor *ActorProfileUnkPLSR::Create() { +Actor* ActorProfileUnkPLSR::Create() { return new(HeapIndex_2) ActorUnkPLSR(); } diff --git a/src/038_MapA7/Actor/ActorUnkWWFS.cpp b/src/038_MapA7/Actor/ActorUnkWWFS.cpp index 4b38288b9..80de8c027 100644 --- a/src/038_MapA7/Actor/ActorUnkWWFS.cpp +++ b/src/038_MapA7/Actor/ActorUnkWWFS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWWFS); -Actor *ActorProfileUnkWWFS::Create() { +Actor* ActorProfileUnkWWFS::Create() { return new(HeapIndex_2) ActorUnkWWFS(); } diff --git a/src/038_MapA7/MapObject/MapObjectUnkBLSR.cpp b/src/038_MapA7/MapObject/MapObjectUnkBLSR.cpp index 61fdf738d..1629b6e4a 100644 --- a/src/038_MapA7/MapObject/MapObjectUnkBLSR.cpp +++ b/src/038_MapA7/MapObject/MapObjectUnkBLSR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBLSR); -MapObject *MapObjectProfileUnkBLSR::Create() { +MapObject* MapObjectProfileUnkBLSR::Create() { return new(HeapIndex_2) MapObjectUnkBLSR(); } diff --git a/src/038_MapA7/MapObject/MapObjectUnkFSSN.cpp b/src/038_MapA7/MapObject/MapObjectUnkFSSN.cpp index 15bb04d19..c41bafffa 100644 --- a/src/038_MapA7/MapObject/MapObjectUnkFSSN.cpp +++ b/src/038_MapA7/MapObject/MapObjectUnkFSSN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFSSN); -MapObject *MapObjectProfileUnkFSSN::Create() { +MapObject* MapObjectProfileUnkFSSN::Create() { return new(HeapIndex_2) MapObjectUnkFSSN(); } diff --git a/src/038_MapA7/MapObject/MapObjectUnkSWBR.cpp b/src/038_MapA7/MapObject/MapObjectUnkSWBR.cpp index b270e4cff..15e280d22 100644 --- a/src/038_MapA7/MapObject/MapObjectUnkSWBR.cpp +++ b/src/038_MapA7/MapObject/MapObjectUnkSWBR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSWBR); -MapObject *MapObjectProfileUnkSWBR::Create() { +MapObject* MapObjectProfileUnkSWBR::Create() { return new(HeapIndex_2) MapObjectUnkSWBR(); } diff --git a/src/039_MapA8/Actor/ActorUnkRMM4.cpp b/src/039_MapA8/Actor/ActorUnkRMM4.cpp index 78e916455..3a959c395 100644 --- a/src/039_MapA8/Actor/ActorUnkRMM4.cpp +++ b/src/039_MapA8/Actor/ActorUnkRMM4.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMM4); -Actor *ActorProfileUnkRMM4::Create() { +Actor* ActorProfileUnkRMM4::Create() { return new(HeapIndex_2) ActorUnkRMM4(); } diff --git a/src/039_MapA8/Actor/ActorUnkSIRO_SIRS_SRNM_SRSL.cpp b/src/039_MapA8/Actor/ActorUnkSIRO_SIRS_SRNM_SRSL.cpp index 7f9132599..df9ae3d97 100644 --- a/src/039_MapA8/Actor/ActorUnkSIRO_SIRS_SRNM_SRSL.cpp +++ b/src/039_MapA8/Actor/ActorUnkSIRO_SIRS_SRNM_SRSL.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkSIRO); -Actor *ActorProfileUnkSIRO::Create() { +Actor* ActorProfileUnkSIRO::Create() { return new(HeapIndex_2) ActorUnkSIRO(); } @@ -20,7 +20,7 @@ ActorUnkSIRO::ActorUnkSIRO() {} DECL_PROFILE(ActorProfileUnkSIRS); -Actor *ActorProfileUnkSIRS::Create() { +Actor* ActorProfileUnkSIRS::Create() { return new(HeapIndex_2) ActorUnkSIRS(); } @@ -33,7 +33,7 @@ ActorUnkSIRS::ActorUnkSIRS() {} DECL_PROFILE(ActorProfileUnkSRNM); -Actor *ActorProfileUnkSRNM::Create() { +Actor* ActorProfileUnkSRNM::Create() { return new(HeapIndex_2) ActorUnkSRNM(); } @@ -46,7 +46,7 @@ ActorUnkSRNM::ActorUnkSRNM() {} DECL_PROFILE(ActorProfileUnkSRSL); -Actor *ActorProfileUnkSRSL::Create() { +Actor* ActorProfileUnkSRSL::Create() { return new(HeapIndex_2) ActorUnkSRSL(); } diff --git a/src/039_MapA8/Actor/ActorUnkZELD.cpp b/src/039_MapA8/Actor/ActorUnkZELD.cpp index 5f01625b8..3e4eec0bf 100644 --- a/src/039_MapA8/Actor/ActorUnkZELD.cpp +++ b/src/039_MapA8/Actor/ActorUnkZELD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkZELD); -Actor *ActorProfileUnkZELD::Create() { +Actor* ActorProfileUnkZELD::Create() { return new(HeapIndex_2) ActorUnkZELD(); } diff --git a/src/039_MapA8/Actor/ActorUnkZLSS.cpp b/src/039_MapA8/Actor/ActorUnkZLSS.cpp index 6a285745e..b517761e6 100644 --- a/src/039_MapA8/Actor/ActorUnkZLSS.cpp +++ b/src/039_MapA8/Actor/ActorUnkZLSS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkZLSS); -Actor *ActorProfileUnkZLSS::Create() { +Actor* ActorProfileUnkZLSS::Create() { return new(HeapIndex_2) ActorUnkZLSS(); } diff --git a/src/039_MapA8/MapObject/MapObjectUnkGTAT.cpp b/src/039_MapA8/MapObject/MapObjectUnkGTAT.cpp index c9474bdfe..f86943abb 100644 --- a/src/039_MapA8/MapObject/MapObjectUnkGTAT.cpp +++ b/src/039_MapA8/MapObject/MapObjectUnkGTAT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkGTAT); -MapObject *MapObjectProfileUnkGTAT::Create() { +MapObject* MapObjectProfileUnkGTAT::Create() { return new(HeapIndex_2) MapObjectUnkGTAT(); } diff --git a/src/040_MapB1/Actor/ActorUnkCAWB_CRFP_FOMA_FOMB_FOMC_FOMR_FOMS_FOPD_GOCP_GORP_NCCA_NCCS_WAMA.cpp b/src/040_MapB1/Actor/ActorUnkCAWB_CRFP_FOMA_FOMB_FOMC_FOMR_FOMS_FOPD_GOCP_GORP_NCCA_NCCS_WAMA.cpp index 2aefc7911..e9e58dde0 100644 --- a/src/040_MapB1/Actor/ActorUnkCAWB_CRFP_FOMA_FOMB_FOMC_FOMR_FOMS_FOPD_GOCP_GORP_NCCA_NCCS_WAMA.cpp +++ b/src/040_MapB1/Actor/ActorUnkCAWB_CRFP_FOMA_FOMB_FOMC_FOMR_FOMS_FOPD_GOCP_GORP_NCCA_NCCS_WAMA.cpp @@ -24,7 +24,7 @@ DECL_PROFILE(ActorProfileUnkCRFP); // --- Actor NCCS --- -Actor *ActorProfileUnkNCCS::Create() { +Actor* ActorProfileUnkNCCS::Create() { return NULL; } @@ -35,7 +35,7 @@ ActorUnkNCCS::ActorUnkNCCS() {} // --- Actor FOMS --- -Actor *ActorProfileUnkFOMS::Create() { +Actor* ActorProfileUnkFOMS::Create() { return NULL; } @@ -46,7 +46,7 @@ ActorUnkFOMS::ActorUnkFOMS() {} // --- Actor NCCA --- -Actor *ActorProfileUnkNCCA::Create() { +Actor* ActorProfileUnkNCCA::Create() { return new(HeapIndex_2) ActorUnkNCCA(); } @@ -57,7 +57,7 @@ ActorUnkNCCA::ActorUnkNCCA() {} // --- Actor WAMA --- -Actor *ActorProfileUnkWAMA::Create() { +Actor* ActorProfileUnkWAMA::Create() { return new(HeapIndex_2) ActorUnkWAMA(); } @@ -68,7 +68,7 @@ ActorUnkWAMA::ActorUnkWAMA() {} // --- Actor GORP --- -Actor *ActorProfileUnkGORP::Create() { +Actor* ActorProfileUnkGORP::Create() { return new(HeapIndex_2) ActorUnkGORP(); } @@ -79,7 +79,7 @@ ActorUnkGORP::ActorUnkGORP() {} // --- Actor GOCP --- -Actor *ActorProfileUnkGOCP::Create() { +Actor* ActorProfileUnkGOCP::Create() { return new(HeapIndex_2) ActorUnkGOCP(); } @@ -90,7 +90,7 @@ ActorUnkGOCP::ActorUnkGOCP() {} // --- Actor CAWB --- -Actor *ActorProfileUnkCAWB::Create() { +Actor* ActorProfileUnkCAWB::Create() { return new(HeapIndex_2) ActorUnkCAWB(); } @@ -101,7 +101,7 @@ ActorUnkCAWB::ActorUnkCAWB() {} // --- Actor FOPD --- -Actor *ActorProfileUnkFOPD::Create() { +Actor* ActorProfileUnkFOPD::Create() { return new(HeapIndex_2) ActorUnkFOPD(); } @@ -112,7 +112,7 @@ ActorUnkFOPD::ActorUnkFOPD() {} // --- Actor FOMA --- -Actor *ActorProfileUnkFOMA::Create() { +Actor* ActorProfileUnkFOMA::Create() { return new(HeapIndex_2) ActorUnkFOMA(); } @@ -123,7 +123,7 @@ ActorUnkFOMA::ActorUnkFOMA() {} // --- Actor FOMB --- -Actor *ActorProfileUnkFOMB::Create() { +Actor* ActorProfileUnkFOMB::Create() { return new(HeapIndex_2) ActorUnkFOMB(); } @@ -134,7 +134,7 @@ ActorUnkFOMB::ActorUnkFOMB() {} // --- Actor FOMC --- -Actor *ActorProfileUnkFOMC::Create() { +Actor* ActorProfileUnkFOMC::Create() { return new(HeapIndex_2) ActorUnkFOMC(); } @@ -145,7 +145,7 @@ ActorUnkFOMC::ActorUnkFOMC() {} // --- Actor FOMR --- -Actor *ActorProfileUnkFOMR::Create() { +Actor* ActorProfileUnkFOMR::Create() { return new(HeapIndex_2) ActorUnkFOMR(); } @@ -156,7 +156,7 @@ ActorUnkFOMR::ActorUnkFOMR() {} // --- Actor CRFP --- -Actor *ActorProfileUnkCRFP::Create() { +Actor* ActorProfileUnkCRFP::Create() { return new(HeapIndex_2) ActorUnkCRFP(); } diff --git a/src/040_MapB1/Actor/ActorUnkFTRN.cpp b/src/040_MapB1/Actor/ActorUnkFTRN.cpp index 6ed3ca9e1..2d0b55c32 100644 --- a/src/040_MapB1/Actor/ActorUnkFTRN.cpp +++ b/src/040_MapB1/Actor/ActorUnkFTRN.cpp @@ -10,7 +10,7 @@ THUMB_BEGIN DECL_PROFILE(ActorProfileUnkFTRN); -Actor *ActorProfileUnkFTRN::Create() { +Actor* ActorProfileUnkFTRN::Create() { return new(HeapIndex_2) ActorUnkFTRN(); } diff --git a/src/040_MapB1/Actor/ActorUnkOLDS.cpp b/src/040_MapB1/Actor/ActorUnkOLDS.cpp index 8c3f36a0a..3910bc2b5 100644 --- a/src/040_MapB1/Actor/ActorUnkOLDS.cpp +++ b/src/040_MapB1/Actor/ActorUnkOLDS.cpp @@ -11,7 +11,7 @@ THUMB_BEGIN DECL_PROFILE(ActorProfileUnkOLDS); -Actor *ActorProfileUnkOLDS::Create() { +Actor* ActorProfileUnkOLDS::Create() { return new(HeapIndex_2) ActorUnkOLDS(); } diff --git a/src/040_MapB1/Actor/ActorUnkTMNP.cpp b/src/040_MapB1/Actor/ActorUnkTMNP.cpp index a03db87b1..bd2f6a864 100644 --- a/src/040_MapB1/Actor/ActorUnkTMNP.cpp +++ b/src/040_MapB1/Actor/ActorUnkTMNP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTMNP); -Actor *ActorProfileUnkTMNP::Create() { +Actor* ActorProfileUnkTMNP::Create() { return new(HeapIndex_2) ActorUnkTMNP(); } diff --git a/src/040_MapB1/Actor/ActorUnkYKAP_YKCP_YKEP.cpp b/src/040_MapB1/Actor/ActorUnkYKAP_YKCP_YKEP.cpp index 3c4d3a788..04e60a1b3 100644 --- a/src/040_MapB1/Actor/ActorUnkYKAP_YKCP_YKEP.cpp +++ b/src/040_MapB1/Actor/ActorUnkYKAP_YKCP_YKEP.cpp @@ -12,7 +12,7 @@ THUMB_BEGIN DECL_PROFILE(ActorProfileUnkYKAP); -Actor *ActorProfileUnkYKAP::Create() { +Actor* ActorProfileUnkYKAP::Create() { return new(HeapIndex_2) ActorUnkYKAP(); } @@ -25,7 +25,7 @@ ActorUnkYKAP::ActorUnkYKAP() {} DECL_PROFILE(ActorProfileUnkYKCP); -Actor *ActorProfileUnkYKCP::Create() { +Actor* ActorProfileUnkYKCP::Create() { return new(HeapIndex_2) ActorUnkYKCP(); } @@ -38,7 +38,7 @@ ActorUnkYKCP::ActorUnkYKCP() {} DECL_PROFILE(ActorProfileUnkYKEP); -Actor *ActorProfileUnkYKEP::Create() { +Actor* ActorProfileUnkYKEP::Create() { return new(HeapIndex_2) ActorUnkYKEP(); } diff --git a/src/040_MapB1/Actor/ActorUnkZSTG.cpp b/src/040_MapB1/Actor/ActorUnkZSTG.cpp index 73277de34..598bfd4fd 100644 --- a/src/040_MapB1/Actor/ActorUnkZSTG.cpp +++ b/src/040_MapB1/Actor/ActorUnkZSTG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkZSTG); -Actor *ActorProfileUnkZSTG::Create() { +Actor* ActorProfileUnkZSTG::Create() { return new(HeapIndex_2) ActorUnkZSTG(); } diff --git a/src/040_MapB1/MapObject/MapObjectUnkFRAI.cpp b/src/040_MapB1/MapObject/MapObjectUnkFRAI.cpp index 0311afc85..553482f54 100644 --- a/src/040_MapB1/MapObject/MapObjectUnkFRAI.cpp +++ b/src/040_MapB1/MapObject/MapObjectUnkFRAI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFRAI); -MapObject *MapObjectProfileUnkFRAI::Create() { +MapObject* MapObjectProfileUnkFRAI::Create() { return new(HeapIndex_2) MapObjectUnkFRAI(); } diff --git a/src/040_MapB1/MapObject/MapObjectUnkFSTA.cpp b/src/040_MapB1/MapObject/MapObjectUnkFSTA.cpp index e01df6857..313baaa4d 100644 --- a/src/040_MapB1/MapObject/MapObjectUnkFSTA.cpp +++ b/src/040_MapB1/MapObject/MapObjectUnkFSTA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFSTA); -MapObject *MapObjectProfileUnkFSTA::Create() { +MapObject* MapObjectProfileUnkFSTA::Create() { return new(HeapIndex_2) MapObjectUnkFSTA(); } diff --git a/src/041_MapB2/Actor/ActorUnkKEYB.cpp b/src/041_MapB2/Actor/ActorUnkKEYB.cpp index 7350d3a05..cb4eaf653 100644 --- a/src/041_MapB2/Actor/ActorUnkKEYB.cpp +++ b/src/041_MapB2/Actor/ActorUnkKEYB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKEYB); -Actor *ActorProfileUnkKEYB::Create() { +Actor* ActorProfileUnkKEYB::Create() { return new(HeapIndex_2) ActorUnkKEYB(); } diff --git a/src/041_MapB2/Actor/ActorUnkKEYT.cpp b/src/041_MapB2/Actor/ActorUnkKEYT.cpp index 8709182af..507ffd57f 100644 --- a/src/041_MapB2/Actor/ActorUnkKEYT.cpp +++ b/src/041_MapB2/Actor/ActorUnkKEYT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKEYT); -Actor *ActorProfileUnkKEYT::Create() { +Actor* ActorProfileUnkKEYT::Create() { return new(HeapIndex_2) ActorUnkKEYT(); } diff --git a/src/041_MapB2/Actor/ActorUnkKGDB.cpp b/src/041_MapB2/Actor/ActorUnkKGDB.cpp index 046ce32c1..99176157f 100644 --- a/src/041_MapB2/Actor/ActorUnkKGDB.cpp +++ b/src/041_MapB2/Actor/ActorUnkKGDB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKGDB); -Actor *ActorProfileUnkKGDB::Create() { +Actor* ActorProfileUnkKGDB::Create() { return new(HeapIndex_2) ActorUnkKGDB(); } diff --git a/src/041_MapB2/Actor/ActorUnkKGDN.cpp b/src/041_MapB2/Actor/ActorUnkKGDN.cpp index ec5af60e6..aec0806ae 100644 --- a/src/041_MapB2/Actor/ActorUnkKGDN.cpp +++ b/src/041_MapB2/Actor/ActorUnkKGDN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKGDN); -Actor *ActorProfileUnkKGDN::Create() { +Actor* ActorProfileUnkKGDN::Create() { return new(HeapIndex_2) ActorUnkKGDN(); } diff --git a/src/041_MapB2/Actor/ActorUnkRPMT.cpp b/src/041_MapB2/Actor/ActorUnkRPMT.cpp index 3d361d49c..41664bb61 100644 --- a/src/041_MapB2/Actor/ActorUnkRPMT.cpp +++ b/src/041_MapB2/Actor/ActorUnkRPMT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRPMT); -Actor *ActorProfileUnkRPMT::Create() { +Actor* ActorProfileUnkRPMT::Create() { return new(HeapIndex_2) ActorUnkRPMT(); } diff --git a/src/041_MapB2/MapObject/MapObjectUnkDRBK.cpp b/src/041_MapB2/MapObject/MapObjectUnkDRBK.cpp index a9600b39d..a69c38e67 100644 --- a/src/041_MapB2/MapObject/MapObjectUnkDRBK.cpp +++ b/src/041_MapB2/MapObject/MapObjectUnkDRBK.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRBK); -MapObject *MapObjectProfileUnkDRBK::Create() { +MapObject* MapObjectProfileUnkDRBK::Create() { return new(HeapIndex_2) MapObjectUnkDRBK(); } diff --git a/src/041_MapB2/MapObject/MapObjectUnkDRMC.cpp b/src/041_MapB2/MapObject/MapObjectUnkDRMC.cpp index fdfeb83a5..11166838e 100644 --- a/src/041_MapB2/MapObject/MapObjectUnkDRMC.cpp +++ b/src/041_MapB2/MapObject/MapObjectUnkDRMC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRMC); -MapObject *MapObjectProfileUnkDRMC::Create() { +MapObject* MapObjectProfileUnkDRMC::Create() { return new(HeapIndex_2) MapObjectUnkDRMC(); } diff --git a/src/041_MapB2/MapObject/MapObjectUnkDRTK.cpp b/src/041_MapB2/MapObject/MapObjectUnkDRTK.cpp index 87b85fef6..8ac0fe690 100644 --- a/src/041_MapB2/MapObject/MapObjectUnkDRTK.cpp +++ b/src/041_MapB2/MapObject/MapObjectUnkDRTK.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRTK); -MapObject *MapObjectProfileUnkDRTK::Create() { +MapObject* MapObjectProfileUnkDRTK::Create() { return new(HeapIndex_2) MapObjectUnkDRTK(); } diff --git a/src/042_MapB3/Actor/ActorUnkMIFR.cpp b/src/042_MapB3/Actor/ActorUnkMIFR.cpp index 44baa2b68..438c4bddd 100644 --- a/src/042_MapB3/Actor/ActorUnkMIFR.cpp +++ b/src/042_MapB3/Actor/ActorUnkMIFR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMIFR); -Actor *ActorProfileUnkMIFR::Create() { +Actor* ActorProfileUnkMIFR::Create() { return new(HeapIndex_2) ActorUnkMIFR(); } diff --git a/src/042_MapB3/Actor/ActorUnkOCTA.cpp b/src/042_MapB3/Actor/ActorUnkOCTA.cpp index c55e61a02..6755759b9 100644 --- a/src/042_MapB3/Actor/ActorUnkOCTA.cpp +++ b/src/042_MapB3/Actor/ActorUnkOCTA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkOCTA); -Actor *ActorProfileUnkOCTA::Create() { +Actor* ActorProfileUnkOCTA::Create() { return new(HeapIndex_2) ActorUnkOCTA(); } diff --git a/src/042_MapB3/Actor/ActorUnkOCTS.cpp b/src/042_MapB3/Actor/ActorUnkOCTS.cpp index 1faf369b0..b13ed107c 100644 --- a/src/042_MapB3/Actor/ActorUnkOCTS.cpp +++ b/src/042_MapB3/Actor/ActorUnkOCTS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkOCTS); -Actor *ActorProfileUnkOCTS::Create() { +Actor* ActorProfileUnkOCTS::Create() { return new(HeapIndex_2) ActorUnkOCTS(); } diff --git a/src/042_MapB3/Actor/ActorUnkPHEY.cpp b/src/042_MapB3/Actor/ActorUnkPHEY.cpp index 41ce6d110..58e1f5212 100644 --- a/src/042_MapB3/Actor/ActorUnkPHEY.cpp +++ b/src/042_MapB3/Actor/ActorUnkPHEY.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPHEY); -Actor *ActorProfileUnkPHEY::Create() { +Actor* ActorProfileUnkPHEY::Create() { return new(HeapIndex_2) ActorUnkPHEY(); } diff --git a/src/042_MapB3/Actor/ActorUnkPMTT.cpp b/src/042_MapB3/Actor/ActorUnkPMTT.cpp index 9603f6bc5..9f03d1abd 100644 --- a/src/042_MapB3/Actor/ActorUnkPMTT.cpp +++ b/src/042_MapB3/Actor/ActorUnkPMTT.cpp @@ -8,7 +8,7 @@ DECL_PROFILE(ActorProfileUnkPMTT); -Actor *ActorProfileUnkPMTT::Create() { +Actor* ActorProfileUnkPMTT::Create() { return new(HeapIndex_2) ActorUnkPMTT(); } diff --git a/src/042_MapB3/MapObject/MapObjectUnkSWRA.cpp b/src/042_MapB3/MapObject/MapObjectUnkSWRA.cpp index 59cc7fb34..f38e82fc8 100644 --- a/src/042_MapB3/MapObject/MapObjectUnkSWRA.cpp +++ b/src/042_MapB3/MapObject/MapObjectUnkSWRA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSWRA); -MapObject *MapObjectProfileUnkSWRA::Create() { +MapObject* MapObjectProfileUnkSWRA::Create() { return new(HeapIndex_2) MapObjectUnkSWRA(); } diff --git a/src/043_MapB4/Actor/ActorUnkSHDL.cpp b/src/043_MapB4/Actor/ActorUnkSHDL.cpp index 1037166bb..e08192b5f 100644 --- a/src/043_MapB4/Actor/ActorUnkSHDL.cpp +++ b/src/043_MapB4/Actor/ActorUnkSHDL.cpp @@ -7,7 +7,7 @@ THUMB_BEGIN DECL_PROFILE(ActorProfileUnkSHDL); -Actor *ActorProfileUnkSHDL::Create() { +Actor* ActorProfileUnkSHDL::Create() { return new(HeapIndex_2) ActorUnkSHDL(); } diff --git a/src/043_MapB4/Actor/ActorUnkSTFB.cpp b/src/043_MapB4/Actor/ActorUnkSTFB.cpp index b4b9a19c9..b5d9ac3eb 100644 --- a/src/043_MapB4/Actor/ActorUnkSTFB.cpp +++ b/src/043_MapB4/Actor/ActorUnkSTFB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSTFB); -Actor *ActorProfileUnkSTFB::Create() { +Actor* ActorProfileUnkSTFB::Create() { return new(HeapIndex_2) ActorUnkSTFB(); } diff --git a/src/043_MapB4/Actor/ActorUnkSTFH.cpp b/src/043_MapB4/Actor/ActorUnkSTFH.cpp index 7862e3a10..4ef3cfe27 100644 --- a/src/043_MapB4/Actor/ActorUnkSTFH.cpp +++ b/src/043_MapB4/Actor/ActorUnkSTFH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSTFH); -Actor *ActorProfileUnkSTFH::Create() { +Actor* ActorProfileUnkSTFH::Create() { return new(HeapIndex_2) ActorUnkSTFH(); } diff --git a/src/043_MapB4/Actor/ActorUnkSTLF.cpp b/src/043_MapB4/Actor/ActorUnkSTLF.cpp index b0aacc701..e0e662c40 100644 --- a/src/043_MapB4/Actor/ActorUnkSTLF.cpp +++ b/src/043_MapB4/Actor/ActorUnkSTLF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSTLF); -Actor *ActorProfileUnkSTLF::Create() { +Actor* ActorProfileUnkSTLF::Create() { return new(HeapIndex_2) ActorUnkSTLF(); } diff --git a/src/044_MapB5/Actor/ActorUnkIBBA.cpp b/src/044_MapB5/Actor/ActorUnkIBBA.cpp index b6c246d9a..876123210 100644 --- a/src/044_MapB5/Actor/ActorUnkIBBA.cpp +++ b/src/044_MapB5/Actor/ActorUnkIBBA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkIBBA); -Actor *ActorProfileUnkIBBA::Create() { +Actor* ActorProfileUnkIBBA::Create() { return new(HeapIndex_2) ActorUnkIBBA(); } diff --git a/src/044_MapB5/Actor/ActorUnkIBSP.cpp b/src/044_MapB5/Actor/ActorUnkIBSP.cpp index 3ad0a02b7..c3e264f50 100644 --- a/src/044_MapB5/Actor/ActorUnkIBSP.cpp +++ b/src/044_MapB5/Actor/ActorUnkIBSP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkIBSP); -Actor *ActorProfileUnkIBSP::Create() { +Actor* ActorProfileUnkIBSP::Create() { return new(HeapIndex_2) ActorUnkIBSP(); } diff --git a/src/044_MapB5/Actor/ActorUnkICBB.cpp b/src/044_MapB5/Actor/ActorUnkICBB.cpp index a3bdda519..9d2cbe6c3 100644 --- a/src/044_MapB5/Actor/ActorUnkICBB.cpp +++ b/src/044_MapB5/Actor/ActorUnkICBB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkICBB); -Actor *ActorProfileUnkICBB::Create() { +Actor* ActorProfileUnkICBB::Create() { return new(HeapIndex_2) ActorUnkICBB(); } diff --git a/src/044_MapB5/Actor/ActorUnkL2MT.cpp b/src/044_MapB5/Actor/ActorUnkL2MT.cpp index 463c33b81..558e8018a 100644 --- a/src/044_MapB5/Actor/ActorUnkL2MT.cpp +++ b/src/044_MapB5/Actor/ActorUnkL2MT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkL2MT); -Actor *ActorProfileUnkL2MT::Create() { +Actor* ActorProfileUnkL2MT::Create() { return new(HeapIndex_2) ActorUnkL2MT(); } diff --git a/src/044_MapB5/Actor/ActorUnkL2V1.cpp b/src/044_MapB5/Actor/ActorUnkL2V1.cpp index 46abe7c4a..200014d2c 100644 --- a/src/044_MapB5/Actor/ActorUnkL2V1.cpp +++ b/src/044_MapB5/Actor/ActorUnkL2V1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkL2V1); -Actor *ActorProfileUnkL2V1::Create() { +Actor* ActorProfileUnkL2V1::Create() { return new(HeapIndex_2) ActorUnkL2V1(); } diff --git a/src/044_MapB5/Actor/ActorUnkL2V2.cpp b/src/044_MapB5/Actor/ActorUnkL2V2.cpp index b2f6e5d8c..884f5d6f8 100644 --- a/src/044_MapB5/Actor/ActorUnkL2V2.cpp +++ b/src/044_MapB5/Actor/ActorUnkL2V2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkL2V2); -Actor *ActorProfileUnkL2V2::Create() { +Actor* ActorProfileUnkL2V2::Create() { return new(HeapIndex_2) ActorUnkL2V2(); } diff --git a/src/044_MapB5/Actor/ActorUnkRBL2.cpp b/src/044_MapB5/Actor/ActorUnkRBL2.cpp index aa59aa905..39e77f2be 100644 --- a/src/044_MapB5/Actor/ActorUnkRBL2.cpp +++ b/src/044_MapB5/Actor/ActorUnkRBL2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRBL2); -Actor *ActorProfileUnkRBL2::Create() { +Actor* ActorProfileUnkRBL2::Create() { return new(HeapIndex_2) ActorUnkRBL2(); } diff --git a/src/045_MapB6/Actor/ActorUnkBDBA.cpp b/src/045_MapB6/Actor/ActorUnkBDBA.cpp index 94f7cae9b..af43e5698 100644 --- a/src/045_MapB6/Actor/ActorUnkBDBA.cpp +++ b/src/045_MapB6/Actor/ActorUnkBDBA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBDBA); -Actor *ActorProfileUnkBDBA::Create() { +Actor* ActorProfileUnkBDBA::Create() { return new(HeapIndex_2) ActorUnkBDBA(); } diff --git a/src/045_MapB6/Actor/ActorUnkBDGA.cpp b/src/045_MapB6/Actor/ActorUnkBDGA.cpp index 1ed6b1396..865754887 100644 --- a/src/045_MapB6/Actor/ActorUnkBDGA.cpp +++ b/src/045_MapB6/Actor/ActorUnkBDGA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBDGA); -Actor *ActorProfileUnkBDGA::Create() { +Actor* ActorProfileUnkBDGA::Create() { return new(HeapIndex_2) ActorUnkBDGA(); } diff --git a/src/045_MapB6/Actor/ActorUnkBDLB.cpp b/src/045_MapB6/Actor/ActorUnkBDLB.cpp index 584bdc88a..fbf2aa177 100644 --- a/src/045_MapB6/Actor/ActorUnkBDLB.cpp +++ b/src/045_MapB6/Actor/ActorUnkBDLB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBDLB); -Actor *ActorProfileUnkBDLB::Create() { +Actor* ActorProfileUnkBDLB::Create() { return new(HeapIndex_2) ActorUnkBDLB(); } diff --git a/src/045_MapB6/Actor/ActorUnkRMBD.cpp b/src/045_MapB6/Actor/ActorUnkRMBD.cpp index e4c26cf61..fd948a304 100644 --- a/src/045_MapB6/Actor/ActorUnkRMBD.cpp +++ b/src/045_MapB6/Actor/ActorUnkRMBD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMBD); -Actor *ActorProfileUnkRMBD::Create() { +Actor* ActorProfileUnkRMBD::Create() { return new(HeapIndex_2) ActorUnkRMBD(); } diff --git a/src/045_MapB6/Actor/ActorUnkWPCL.cpp b/src/045_MapB6/Actor/ActorUnkWPCL.cpp index 0d68694bf..581419f12 100644 --- a/src/045_MapB6/Actor/ActorUnkWPCL.cpp +++ b/src/045_MapB6/Actor/ActorUnkWPCL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWPCL); -Actor *ActorProfileUnkWPCL::Create() { +Actor* ActorProfileUnkWPCL::Create() { return new(HeapIndex_2) ActorUnkWPCL(); } diff --git a/src/045_MapB6/MapObject/MapObjectUnkRDSD.cpp b/src/045_MapB6/MapObject/MapObjectUnkRDSD.cpp index 308879128..5ab7b1692 100644 --- a/src/045_MapB6/MapObject/MapObjectUnkRDSD.cpp +++ b/src/045_MapB6/MapObject/MapObjectUnkRDSD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkRDSD); -MapObject *MapObjectProfileUnkRDSD::Create() { +MapObject* MapObjectProfileUnkRDSD::Create() { return new(HeapIndex_2) MapObjectUnkRDSD(); } diff --git a/src/046_MapB7/Actor/ActorUnkWBN2.cpp b/src/046_MapB7/Actor/ActorUnkWBN2.cpp index f15b25e39..ec20d070c 100644 --- a/src/046_MapB7/Actor/ActorUnkWBN2.cpp +++ b/src/046_MapB7/Actor/ActorUnkWBN2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWBN2); -Actor *ActorProfileUnkWBN2::Create() { +Actor* ActorProfileUnkWBN2::Create() { return new(HeapIndex_2) ActorUnkWBN2(); } diff --git a/src/046_MapB7/Actor/ActorUnkWBTN.cpp b/src/046_MapB7/Actor/ActorUnkWBTN.cpp index 6288298f2..d6980883b 100644 --- a/src/046_MapB7/Actor/ActorUnkWBTN.cpp +++ b/src/046_MapB7/Actor/ActorUnkWBTN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWBTN); -Actor *ActorProfileUnkWBTN::Create() { +Actor* ActorProfileUnkWBTN::Create() { return new(HeapIndex_2) ActorUnkWBTN(); } diff --git a/src/046_MapB7/Actor/ActorUnkWTH2.cpp b/src/046_MapB7/Actor/ActorUnkWTH2.cpp index ad516a71f..936db5313 100644 --- a/src/046_MapB7/Actor/ActorUnkWTH2.cpp +++ b/src/046_MapB7/Actor/ActorUnkWTH2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWTH2); -Actor *ActorProfileUnkWTH2::Create() { +Actor* ActorProfileUnkWTH2::Create() { return new(HeapIndex_2) ActorUnkWTH2(); } diff --git a/src/046_MapB7/Actor/ActorUnkWTH3.cpp b/src/046_MapB7/Actor/ActorUnkWTH3.cpp index 13e407c18..cd55758c0 100644 --- a/src/046_MapB7/Actor/ActorUnkWTH3.cpp +++ b/src/046_MapB7/Actor/ActorUnkWTH3.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWTH3); -Actor *ActorProfileUnkWTH3::Create() { +Actor* ActorProfileUnkWTH3::Create() { return new(HeapIndex_2) ActorUnkWTH3(); } diff --git a/src/046_MapB7/Actor/ActorUnkWTTH.cpp b/src/046_MapB7/Actor/ActorUnkWTTH.cpp index c296c4d5e..54755568a 100644 --- a/src/046_MapB7/Actor/ActorUnkWTTH.cpp +++ b/src/046_MapB7/Actor/ActorUnkWTTH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWTTH); -Actor *ActorProfileUnkWTTH::Create() { +Actor* ActorProfileUnkWTTH::Create() { return new(HeapIndex_2) ActorUnkWTTH(); } diff --git a/src/047_MapC1/Actor/ActorUnkDLTG.cpp b/src/047_MapC1/Actor/ActorUnkDLTG.cpp index 145cb80fb..4d4c5c319 100644 --- a/src/047_MapC1/Actor/ActorUnkDLTG.cpp +++ b/src/047_MapC1/Actor/ActorUnkDLTG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDLTG); -Actor *ActorProfileUnkDLTG::Create() { +Actor* ActorProfileUnkDLTG::Create() { return new(HeapIndex_2) ActorUnkDLTG(); } diff --git a/src/047_MapC1/Actor/ActorUnkEVCH.cpp b/src/047_MapC1/Actor/ActorUnkEVCH.cpp index ccbea09a8..bc66df1ea 100644 --- a/src/047_MapC1/Actor/ActorUnkEVCH.cpp +++ b/src/047_MapC1/Actor/ActorUnkEVCH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEVCH); -Actor *ActorProfileUnkEVCH::Create() { +Actor* ActorProfileUnkEVCH::Create() { return new(HeapIndex_2) ActorUnkEVCH(); } diff --git a/src/047_MapC1/Actor/ActorUnkFLDK.cpp b/src/047_MapC1/Actor/ActorUnkFLDK.cpp index 0b9752c9f..e334b11dc 100644 --- a/src/047_MapC1/Actor/ActorUnkFLDK.cpp +++ b/src/047_MapC1/Actor/ActorUnkFLDK.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFLDK); -Actor *ActorProfileUnkFLDK::Create() { +Actor* ActorProfileUnkFLDK::Create() { return new(HeapIndex_2) ActorUnkFLDK(); } diff --git a/src/047_MapC1/Actor/ActorUnkGHOS.cpp b/src/047_MapC1/Actor/ActorUnkGHOS.cpp index 8e7a5ca25..a90693d29 100644 --- a/src/047_MapC1/Actor/ActorUnkGHOS.cpp +++ b/src/047_MapC1/Actor/ActorUnkGHOS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkGHOS); -Actor *ActorProfileUnkGHOS::Create() { +Actor* ActorProfileUnkGHOS::Create() { return new(HeapIndex_2) ActorUnkGHOS(); } diff --git a/src/048_MapC2/Actor/ActorUnkPBK2.cpp b/src/048_MapC2/Actor/ActorUnkPBK2.cpp index da6c56d4b..4d70a132a 100644 --- a/src/048_MapC2/Actor/ActorUnkPBK2.cpp +++ b/src/048_MapC2/Actor/ActorUnkPBK2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPBK2); -Actor *ActorProfileUnkPBK2::Create() { +Actor* ActorProfileUnkPBK2::Create() { return new(HeapIndex_2) ActorUnkPBK2(); } diff --git a/src/048_MapC2/Actor/ActorUnkPSBK.cpp b/src/048_MapC2/Actor/ActorUnkPSBK.cpp index 4a188df87..8035e28cb 100644 --- a/src/048_MapC2/Actor/ActorUnkPSBK.cpp +++ b/src/048_MapC2/Actor/ActorUnkPSBK.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPSBK); -Actor *ActorProfileUnkPSBK::Create() { +Actor* ActorProfileUnkPSBK::Create() { return new(HeapIndex_2) ActorUnkPSBK(); } diff --git a/src/048_MapC2/MapObject/MapObjectUnkDRTW.cpp b/src/048_MapC2/MapObject/MapObjectUnkDRTW.cpp index fdb259a52..020a0f959 100644 --- a/src/048_MapC2/MapObject/MapObjectUnkDRTW.cpp +++ b/src/048_MapC2/MapObject/MapObjectUnkDRTW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRTW); -MapObject *MapObjectProfileUnkDRTW::Create() { +MapObject* MapObjectProfileUnkDRTW::Create() { return new(HeapIndex_2) MapObjectUnkDRTW(); } diff --git a/src/048_MapC2/UnkStruct_ov048_02137600.cpp b/src/048_MapC2/UnkStruct_ov048_02137600.cpp index 3e2d39465..532ea0e6c 100644 --- a/src/048_MapC2/UnkStruct_ov048_02137600.cpp +++ b/src/048_MapC2/UnkStruct_ov048_02137600.cpp @@ -6,7 +6,7 @@ UnkStruct_ov048_02137600::UnkStruct_ov048_02137600() {} bool UnkStruct_ov048_02137600::Init(unk32 param1) {} unk32 UnkStruct_ov048_02137600::vfunc_54(unk32 angle) {} -bool UnkStruct_ov048_02137600::vfunc_58(VecFx32 *param1) {} +bool UnkStruct_ov048_02137600::vfunc_58(VecFx32* param1) {} void UnkStruct_ov048_02137600::vfunc_74(void) {} unk32 UnkStruct_ov048_02137600::vfunc_5C(void) {} unk32 UnkStruct_ov048_02137600::vfunc_60(void) {} diff --git a/src/049_MapC3/Actor/ActorUnkBEEE.cpp b/src/049_MapC3/Actor/ActorUnkBEEE.cpp index e1d195fe8..c4e23e650 100644 --- a/src/049_MapC3/Actor/ActorUnkBEEE.cpp +++ b/src/049_MapC3/Actor/ActorUnkBEEE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBEEE); -Actor *ActorProfileUnkBEEE::Create() { +Actor* ActorProfileUnkBEEE::Create() { return new(HeapIndex_2) ActorUnkBEEE(); } diff --git a/src/049_MapC3/Actor/ActorUnkBEEH.cpp b/src/049_MapC3/Actor/ActorUnkBEEH.cpp index 07e73744d..6387f3597 100644 --- a/src/049_MapC3/Actor/ActorUnkBEEH.cpp +++ b/src/049_MapC3/Actor/ActorUnkBEEH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBEEH); -Actor *ActorProfileUnkBEEH::Create() { +Actor* ActorProfileUnkBEEH::Create() { return new(HeapIndex_2) ActorUnkBEEH(); } diff --git a/src/049_MapC3/Actor/ActorUnkCRCH.cpp b/src/049_MapC3/Actor/ActorUnkCRCH.cpp index 82325f225..262f091e0 100644 --- a/src/049_MapC3/Actor/ActorUnkCRCH.cpp +++ b/src/049_MapC3/Actor/ActorUnkCRCH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCRCH); -Actor *ActorProfileUnkCRCH::Create() { +Actor* ActorProfileUnkCRCH::Create() { return new(HeapIndex_2) ActorUnkCRCH(); } diff --git a/src/049_MapC3/Actor/ActorUnkCROW.cpp b/src/049_MapC3/Actor/ActorUnkCROW.cpp index f9f864649..9a4a49790 100644 --- a/src/049_MapC3/Actor/ActorUnkCROW.cpp +++ b/src/049_MapC3/Actor/ActorUnkCROW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCROW); -Actor *ActorProfileUnkCROW::Create() { +Actor* ActorProfileUnkCROW::Create() { return new(HeapIndex_2) ActorUnkCROW(); } diff --git a/src/049_MapC3/Actor/ActorUnkPOST.cpp b/src/049_MapC3/Actor/ActorUnkPOST.cpp index 5d33060f0..77bce1dab 100644 --- a/src/049_MapC3/Actor/ActorUnkPOST.cpp +++ b/src/049_MapC3/Actor/ActorUnkPOST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPOST); -Actor *ActorProfileUnkPOST::Create() { +Actor* ActorProfileUnkPOST::Create() { return new(HeapIndex_2) ActorUnkPOST(); } diff --git a/src/049_MapC3/Actor/ActorUnkPTMN.cpp b/src/049_MapC3/Actor/ActorUnkPTMN.cpp index 4207e8479..49de1fb07 100644 --- a/src/049_MapC3/Actor/ActorUnkPTMN.cpp +++ b/src/049_MapC3/Actor/ActorUnkPTMN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPTMN); -Actor *ActorProfileUnkPTMN::Create() { +Actor* ActorProfileUnkPTMN::Create() { return new(HeapIndex_2) ActorUnkPTMN(); } diff --git a/src/050_MapC4/Actor/ActorUnkFRTN.cpp b/src/050_MapC4/Actor/ActorUnkFRTN.cpp index 55f05ceaf..48331e22d 100644 --- a/src/050_MapC4/Actor/ActorUnkFRTN.cpp +++ b/src/050_MapC4/Actor/ActorUnkFRTN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFRTN); -Actor *ActorProfileUnkFRTN::Create() { +Actor* ActorProfileUnkFRTN::Create() { return new(HeapIndex_2) ActorUnkFRTN(); } diff --git a/src/050_MapC4/Actor/ActorUnkKMOH.cpp b/src/050_MapC4/Actor/ActorUnkKMOH.cpp index 05ba5023d..1e7179dbc 100644 --- a/src/050_MapC4/Actor/ActorUnkKMOH.cpp +++ b/src/050_MapC4/Actor/ActorUnkKMOH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKMOH); -Actor *ActorProfileUnkKMOH::Create() { +Actor* ActorProfileUnkKMOH::Create() { return new(HeapIndex_2) ActorUnkKMOH(); } diff --git a/src/050_MapC4/Actor/ActorUnkKMOS.cpp b/src/050_MapC4/Actor/ActorUnkKMOS.cpp index 8208cc097..cbdf7f03c 100644 --- a/src/050_MapC4/Actor/ActorUnkKMOS.cpp +++ b/src/050_MapC4/Actor/ActorUnkKMOS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKMOS); -Actor *ActorProfileUnkKMOS::Create() { +Actor* ActorProfileUnkKMOS::Create() { return new(HeapIndex_2) ActorUnkKMOS(); } diff --git a/src/050_MapC4/MapObject/MapObjectUnkGTTN.cpp b/src/050_MapC4/MapObject/MapObjectUnkGTTN.cpp index 02510989d..3a66ecae6 100644 --- a/src/050_MapC4/MapObject/MapObjectUnkGTTN.cpp +++ b/src/050_MapC4/MapObject/MapObjectUnkGTTN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkGTTN); -MapObject *MapObjectProfileUnkGTTN::Create() { +MapObject* MapObjectProfileUnkGTTN::Create() { return new(HeapIndex_2) MapObjectUnkGTTN(); } diff --git a/src/051_MapC5/Actor/ActorUnkGYAM.cpp b/src/051_MapC5/Actor/ActorUnkGYAM.cpp index ccd2d1e91..e7bd5b83f 100644 --- a/src/051_MapC5/Actor/ActorUnkGYAM.cpp +++ b/src/051_MapC5/Actor/ActorUnkGYAM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkGYAM); -Actor *ActorProfileUnkGYAM::Create() { +Actor* ActorProfileUnkGYAM::Create() { return new(HeapIndex_2) ActorUnkGYAM(); } diff --git a/src/052_MapC6/Actor/ActorUnkNAVI.cpp b/src/052_MapC6/Actor/ActorUnkNAVI.cpp index 3f5a807ab..1b42a6f0c 100644 --- a/src/052_MapC6/Actor/ActorUnkNAVI.cpp +++ b/src/052_MapC6/Actor/ActorUnkNAVI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkNAVI); -Actor *ActorProfileUnkNAVI::Create() { +Actor* ActorProfileUnkNAVI::Create() { return new(HeapIndex_2) ActorUnkNAVI(); } diff --git a/src/052_MapC6/Actor/ActorUnkPTSW.cpp b/src/052_MapC6/Actor/ActorUnkPTSW.cpp index 83b8669af..14f93467f 100644 --- a/src/052_MapC6/Actor/ActorUnkPTSW.cpp +++ b/src/052_MapC6/Actor/ActorUnkPTSW.cpp @@ -8,7 +8,7 @@ DECL_PROFILE(ActorProfileUnkPTSW); -Actor *ActorProfileUnkPTSW::Create() { +Actor* ActorProfileUnkPTSW::Create() { return new(HeapIndex_2) ActorUnkPTSW(); } diff --git a/src/052_MapC6/Actor/ActorUnkSTLW.cpp b/src/052_MapC6/Actor/ActorUnkSTLW.cpp index 99a33be2e..d357e21af 100644 --- a/src/052_MapC6/Actor/ActorUnkSTLW.cpp +++ b/src/052_MapC6/Actor/ActorUnkSTLW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSTLW); -Actor *ActorProfileUnkSTLW::Create() { +Actor* ActorProfileUnkSTLW::Create() { return new(HeapIndex_2) ActorUnkSTLW(); } diff --git a/src/052_MapC6/Actor/ActorUnkSTWH.cpp b/src/052_MapC6/Actor/ActorUnkSTWH.cpp index d148ce757..e6292df17 100644 --- a/src/052_MapC6/Actor/ActorUnkSTWH.cpp +++ b/src/052_MapC6/Actor/ActorUnkSTWH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSTWH); -Actor *ActorProfileUnkSTWH::Create() { +Actor* ActorProfileUnkSTWH::Create() { return new(HeapIndex_2) ActorUnkSTWH(); } diff --git a/src/053_MapD1/Actor/ActorUnkLIKE.cpp b/src/053_MapD1/Actor/ActorUnkLIKE.cpp index cca37c991..ae83ce3b2 100644 --- a/src/053_MapD1/Actor/ActorUnkLIKE.cpp +++ b/src/053_MapD1/Actor/ActorUnkLIKE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkLIKE); -Actor *ActorProfileUnkLIKE::Create() { +Actor* ActorProfileUnkLIKE::Create() { return new(HeapIndex_2) ActorUnkLIKE(); } diff --git a/src/053_MapD1/Actor/ActorUnkRAT0.cpp b/src/053_MapD1/Actor/ActorUnkRAT0.cpp index 69d18fabc..0757fe989 100644 --- a/src/053_MapD1/Actor/ActorUnkRAT0.cpp +++ b/src/053_MapD1/Actor/ActorUnkRAT0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRAT0); -Actor *ActorProfileUnkRAT0::Create() { +Actor* ActorProfileUnkRAT0::Create() { return new(HeapIndex_2) ActorUnkRAT0(); } diff --git a/src/054_MapD2/Actor/ActorUnkFBBF.cpp b/src/054_MapD2/Actor/ActorUnkFBBF.cpp index 8abdc54f7..80b382ba6 100644 --- a/src/054_MapD2/Actor/ActorUnkFBBF.cpp +++ b/src/054_MapD2/Actor/ActorUnkFBBF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFBBF); -Actor *ActorProfileUnkFBBF::Create() { +Actor* ActorProfileUnkFBBF::Create() { return new(HeapIndex_2) ActorUnkFBBF(); } diff --git a/src/054_MapD2/Actor/ActorUnkFBBH.cpp b/src/054_MapD2/Actor/ActorUnkFBBH.cpp index acb6f3876..5971a756d 100644 --- a/src/054_MapD2/Actor/ActorUnkFBBH.cpp +++ b/src/054_MapD2/Actor/ActorUnkFBBH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFBBH); -Actor *ActorProfileUnkFBBH::Create() { +Actor* ActorProfileUnkFBBH::Create() { return new(HeapIndex_2) ActorUnkFBBH(); } diff --git a/src/054_MapD2/Actor/ActorUnkFIBB.cpp b/src/054_MapD2/Actor/ActorUnkFIBB.cpp index 0a1109f7f..c009d54e6 100644 --- a/src/054_MapD2/Actor/ActorUnkFIBB.cpp +++ b/src/054_MapD2/Actor/ActorUnkFIBB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFIBB); -Actor *ActorProfileUnkFIBB::Create() { +Actor* ActorProfileUnkFIBB::Create() { return new(HeapIndex_2) ActorUnkFIBB(); } diff --git a/src/055_MapD3/Actor/ActorUnkCHUC.cpp b/src/055_MapD3/Actor/ActorUnkCHUC.cpp index 02f0fee29..aba7e8978 100644 --- a/src/055_MapD3/Actor/ActorUnkCHUC.cpp +++ b/src/055_MapD3/Actor/ActorUnkCHUC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCHUC); -Actor *ActorProfileUnkCHUC::Create() { +Actor* ActorProfileUnkCHUC::Create() { return new(HeapIndex_2) ActorUnkCHUC(); } diff --git a/src/055_MapD3/Actor/ActorUnkRCHU.cpp b/src/055_MapD3/Actor/ActorUnkRCHU.cpp index 94b816de6..2244e852a 100644 --- a/src/055_MapD3/Actor/ActorUnkRCHU.cpp +++ b/src/055_MapD3/Actor/ActorUnkRCHU.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRCHU); -Actor *ActorProfileUnkRCHU::Create() { +Actor* ActorProfileUnkRCHU::Create() { return new(HeapIndex_2) ActorUnkRCHU(); } diff --git a/src/055_MapD3/Actor/ActorUnkRCMS.cpp b/src/055_MapD3/Actor/ActorUnkRCMS.cpp index 84211ac6b..0c0f9e991 100644 --- a/src/055_MapD3/Actor/ActorUnkRCMS.cpp +++ b/src/055_MapD3/Actor/ActorUnkRCMS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRCMS); -Actor *ActorProfileUnkRCMS::Create() { +Actor* ActorProfileUnkRCMS::Create() { return new(HeapIndex_2) ActorUnkRCMS(); } diff --git a/src/056_MapD4/Actor/ActorUnkFSIR.cpp b/src/056_MapD4/Actor/ActorUnkFSIR.cpp index 12500f052..4e562d917 100644 --- a/src/056_MapD4/Actor/ActorUnkFSIR.cpp +++ b/src/056_MapD4/Actor/ActorUnkFSIR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFSIR); -Actor *ActorProfileUnkFSIR::Create() { +Actor* ActorProfileUnkFSIR::Create() { return new(HeapIndex_2) ActorUnkFSIR(); } diff --git a/src/056_MapD4/Actor/ActorUnkPASS.cpp b/src/056_MapD4/Actor/ActorUnkPASS.cpp index 65195dd54..90cd662d7 100644 --- a/src/056_MapD4/Actor/ActorUnkPASS.cpp +++ b/src/056_MapD4/Actor/ActorUnkPASS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPASS); -Actor *ActorProfileUnkPASS::Create() { +Actor* ActorProfileUnkPASS::Create() { return new(HeapIndex_2) ActorUnkPASS(); } diff --git a/src/056_MapD4/MapObject/MapObjectUnkFSVC.cpp b/src/056_MapD4/MapObject/MapObjectUnkFSVC.cpp index da8bdac8c..d9aa6a70a 100644 --- a/src/056_MapD4/MapObject/MapObjectUnkFSVC.cpp +++ b/src/056_MapD4/MapObject/MapObjectUnkFSVC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFSVC); -MapObject *MapObjectProfileUnkFSVC::Create() { +MapObject* MapObjectProfileUnkFSVC::Create() { return new(HeapIndex_2) MapObjectUnkFSVC(); } diff --git a/src/057_MapD5/Actor/ActorUnkELVT.cpp b/src/057_MapD5/Actor/ActorUnkELVT.cpp index eedeffc52..b9005c652 100644 --- a/src/057_MapD5/Actor/ActorUnkELVT.cpp +++ b/src/057_MapD5/Actor/ActorUnkELVT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkELVT); -Actor *ActorProfileUnkELVT::Create() { +Actor* ActorProfileUnkELVT::Create() { return new(HeapIndex_2) ActorUnkELVT(); } diff --git a/src/057_MapD5/Actor/ActorUnkFSSF.cpp b/src/057_MapD5/Actor/ActorUnkFSSF.cpp index 819212449..3fb7b867f 100644 --- a/src/057_MapD5/Actor/ActorUnkFSSF.cpp +++ b/src/057_MapD5/Actor/ActorUnkFSSF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFSSF); -Actor *ActorProfileUnkFSSF::Create() { +Actor* ActorProfileUnkFSSF::Create() { return new(HeapIndex_2) ActorUnkFSSF(); } diff --git a/src/057_MapD5/Actor/ActorUnkFSST.cpp b/src/057_MapD5/Actor/ActorUnkFSST.cpp index c07c4879f..3a36d1f7c 100644 --- a/src/057_MapD5/Actor/ActorUnkFSST.cpp +++ b/src/057_MapD5/Actor/ActorUnkFSST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFSST); -Actor *ActorProfileUnkFSST::Create() { +Actor* ActorProfileUnkFSST::Create() { return new(HeapIndex_2) ActorUnkFSST(); } diff --git a/src/057_MapD5/Actor/ActorUnkGTTG.cpp b/src/057_MapD5/Actor/ActorUnkGTTG.cpp index f2ee06ee7..06fcc8795 100644 --- a/src/057_MapD5/Actor/ActorUnkGTTG.cpp +++ b/src/057_MapD5/Actor/ActorUnkGTTG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkGTTG); -Actor *ActorProfileUnkGTTG::Create() { +Actor* ActorProfileUnkGTTG::Create() { return new(HeapIndex_2) ActorUnkGTTG(); } diff --git a/src/057_MapD5/Actor/ActorUnkHYSW.cpp b/src/057_MapD5/Actor/ActorUnkHYSW.cpp index 7d12bcd01..cdec297d7 100644 --- a/src/057_MapD5/Actor/ActorUnkHYSW.cpp +++ b/src/057_MapD5/Actor/ActorUnkHYSW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkHYSW); -Actor *ActorProfileUnkHYSW::Create() { +Actor* ActorProfileUnkHYSW::Create() { return new(HeapIndex_2) ActorUnkHYSW(); } diff --git a/src/057_MapD5/Actor/ActorUnkRMFK.cpp b/src/057_MapD5/Actor/ActorUnkRMFK.cpp index 974febb81..f4cebb689 100644 --- a/src/057_MapD5/Actor/ActorUnkRMFK.cpp +++ b/src/057_MapD5/Actor/ActorUnkRMFK.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMFK); -Actor *ActorProfileUnkRMFK::Create() { +Actor* ActorProfileUnkRMFK::Create() { return new(HeapIndex_2) ActorUnkRMFK(); } diff --git a/src/057_MapD5/MapObject/MapObjectUnkTRLN.cpp b/src/057_MapD5/MapObject/MapObjectUnkTRLN.cpp index 12c0ee186..192b62a03 100644 --- a/src/057_MapD5/MapObject/MapObjectUnkTRLN.cpp +++ b/src/057_MapD5/MapObject/MapObjectUnkTRLN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRLN); -MapObject *MapObjectProfileUnkTRLN::Create() { +MapObject* MapObjectProfileUnkTRLN::Create() { return new(HeapIndex_2) MapObjectUnkTRLN(); } diff --git a/src/058_Field/Actor/ActorKenzo.cpp b/src/058_Field/Actor/ActorKenzo.cpp index 8b2cf6c3e..2216cbd96 100644 --- a/src/058_Field/Actor/ActorKenzo.cpp +++ b/src/058_Field/Actor/ActorKenzo.cpp @@ -54,7 +54,7 @@ static PTMF data_ov058_02154ee0[ActorKenzoState_Max] = { DECL_PROFILE(ActorProfileKenzo); -Actor *ActorProfileKenzo::Create() { +Actor* ActorProfileKenzo::Create() { return new(HeapIndex_2) ActorKenzo(); } @@ -179,8 +179,8 @@ void ActorKenzo::Update() { bool ActorKenzo::vfunc_5C(unk32 param1, unk32 param2) { bool retValue = this->Actor_Derived1::vfunc_5C(param1, param2); - if (retValue && (this->mUnk_5C.mParams[2] == 0x1 || - (this->mUnk_5C.mParams[2] == 0x0 && this->Actor_Derived1::func_ov000_020a8dd0()))) { + if (retValue && + (this->mUnk_5C.mParams[2] == 0x1 || (this->mUnk_5C.mParams[2] == 0x0 && this->Actor_Derived1::func_ov000_020a8dd0()))) { UNSET_FLAG(this->mFlags, ActorFlag_Alive); } @@ -270,7 +270,7 @@ void ActorKenzo::vfunc_124() { } // non-matching first parameter is not a Vec2p -void ActorKenzo::vfunc_128(Vec2p *param1, unk32 param2) { +void ActorKenzo::vfunc_128(Vec2p* param1, unk32 param2) { if (param1 == NULL) { return; } @@ -283,7 +283,7 @@ void ActorKenzo::vfunc_128(Vec2p *param1, unk32 param2) { } } -void ActorKenzo::func_ov058_021487c8(unk32 param1, VecFx32 *param2) { +void ActorKenzo::func_ov058_021487c8(unk32 param1, VecFx32* param2) { data_027e09a8->func_ov000_02071b30(param1, param2, 0x0); } @@ -293,14 +293,14 @@ unk32 ActorKenzo::vfunc_7C(unk32 param1) { } bool ActorKenzo::vfunc_9C() { - PassengerManager *instance = gpPassengerManager; + PassengerManager* instance = gpPassengerManager; instance->TryBoardTrain(this->GetActorId(), SceneIndex_f_bridge2, 0xFF); return true; } unk32 ActorKenzo::vfunc_A0() { if (this->func_ov058_0214885c()) { - PassengerManager *instance = gpPassengerManager; + PassengerManager* instance = gpPassengerManager; this->mUnk_354 = this->func_ov058_021488d8(); @@ -311,7 +311,7 @@ unk32 ActorKenzo::vfunc_A0() { } bool ActorKenzo::func_ov058_0214885c() { - PassengerManager *instance = gpPassengerManager; + PassengerManager* instance = gpPassengerManager; if (instance->CanCompleteTrip()) { instance = instance->GetInstance(); @@ -349,7 +349,7 @@ s16 ActorKenzo::vfunc_80(unk32 param1, unk32 param2, unk32 param3) { } } else { - PassengerManager *instance = gpPassengerManager; + PassengerManager* instance = gpPassengerManager; if (instance->CanCompleteTrip()) { return 0x1; @@ -418,14 +418,14 @@ void ActorKenzo::vfunc_2C(unk32 param1) { this->mUnk_2BC.func_ov000_02058038(&this->mUnk_320); } -void ActorKenzo::func_ov058_02148b04(Actor *param1, G3d_RenderState *param2) { - ActorKenzo *thiz = (ActorKenzo *) param1; +void ActorKenzo::func_ov058_02148b04(Actor* param1, G3d_RenderState* param2) { + ActorKenzo* thiz = (ActorKenzo*) param1; if (thiz->mUnk_31C < 0) { return; } - G3d_RenderObject *renderObj = param2->renderObj; + G3d_RenderObject* renderObj = param2->renderObj; s32 val = G3d_GetCurBoneMtxId(param2); if (val != thiz->mUnk_31C) { diff --git a/src/058_Field/Actor/ActorLokomos.cpp b/src/058_Field/Actor/ActorLokomos.cpp index 93e4b3908..6b863b3ed 100644 --- a/src/058_Field/Actor/ActorLokomos.cpp +++ b/src/058_Field/Actor/ActorLokomos.cpp @@ -47,7 +47,7 @@ extern unk32 data_ov063_021642fc[]; // --- Actor SYOS --- DECL_PROFILE(ActorProfileUnkSYOS); -Actor *ActorProfileUnkSYOS::Create() { +Actor* ActorProfileUnkSYOS::Create() { return NULL; } @@ -57,7 +57,7 @@ ActorProfileUnkSYOS::ActorProfileUnkSYOS() : // --- Actor SYSS --- DECL_PROFILE(ActorProfileUnkSYSS); -Actor *ActorProfileUnkSYSS::Create() { +Actor* ActorProfileUnkSYSS::Create() { return NULL; } @@ -67,7 +67,7 @@ ActorProfileUnkSYSS::ActorProfileUnkSYSS() : // --- Actor SYWS --- DECL_PROFILE(ActorProfileUnkSYWS); -Actor *ActorProfileUnkSYWS::Create() { +Actor* ActorProfileUnkSYWS::Create() { return NULL; } @@ -77,7 +77,7 @@ ActorProfileUnkSYWS::ActorProfileUnkSYWS() : // --- Actor SYIS --- DECL_PROFILE(ActorProfileUnkSYIS); -Actor *ActorProfileUnkSYIS::Create() { +Actor* ActorProfileUnkSYIS::Create() { return NULL; } @@ -87,7 +87,7 @@ ActorProfileUnkSYIS::ActorProfileUnkSYIS() : // --- Actor SYDS --- DECL_PROFILE(ActorProfileUnkSYDS); -Actor *ActorProfileUnkSYDS::Create() { +Actor* ActorProfileUnkSYDS::Create() { return NULL; } @@ -97,7 +97,7 @@ ActorProfileUnkSYDS::ActorProfileUnkSYDS() : // --- Actor SYOL --- DECL_PROFILE(ActorProfileUnkSYOL); -Actor *ActorProfileUnkSYOL::Create() { +Actor* ActorProfileUnkSYOL::Create() { return NULL; } @@ -107,7 +107,7 @@ ActorProfileUnkSYOL::ActorProfileUnkSYOL() : // --- Actor SYSL --- DECL_PROFILE(ActorProfileUnkSYSL); -Actor *ActorProfileUnkSYSL::Create() { +Actor* ActorProfileUnkSYSL::Create() { return NULL; } @@ -117,7 +117,7 @@ ActorProfileUnkSYSL::ActorProfileUnkSYSL() : // --- Actor SYWL --- DECL_PROFILE(ActorProfileUnkSYWL); -Actor *ActorProfileUnkSYWL::Create() { +Actor* ActorProfileUnkSYWL::Create() { return NULL; } @@ -127,7 +127,7 @@ ActorProfileUnkSYWL::ActorProfileUnkSYWL() : // --- Actor SYIL --- DECL_PROFILE(ActorProfileUnkSYIL); -Actor *ActorProfileUnkSYIL::Create() { +Actor* ActorProfileUnkSYIL::Create() { return NULL; } @@ -137,7 +137,7 @@ ActorProfileUnkSYIL::ActorProfileUnkSYIL() : // --- Actor SYDL --- DECL_PROFILE(ActorProfileUnkSYDL); -Actor *ActorProfileUnkSYDL::Create() { +Actor* ActorProfileUnkSYDL::Create() { return NULL; } @@ -147,7 +147,7 @@ ActorProfileUnkSYDL::ActorProfileUnkSYDL() : // --- Actor SYFO --- DECL_PROFILE(ActorProfileUnkSYFO); -Actor *ActorProfileUnkSYFO::Create() { +Actor* ActorProfileUnkSYFO::Create() { return new(HeapIndex_2) ActorLokomo(); } @@ -169,7 +169,7 @@ ActorProfileUnkSYFO::ActorProfileUnkSYFO() : // --- Actor SYSN --- DECL_PROFILE(ActorProfileUnkSYSN); -Actor *ActorProfileUnkSYSN::Create() { +Actor* ActorProfileUnkSYSN::Create() { return new(HeapIndex_2) ActorLokomo(); } @@ -191,7 +191,7 @@ ActorProfileUnkSYSN::ActorProfileUnkSYSN() : // --- Actor SYWA --- DECL_PROFILE(ActorProfileUnkSYWA); -Actor *ActorProfileUnkSYWA::Create() { +Actor* ActorProfileUnkSYWA::Create() { return new(HeapIndex_2) ActorLokomo(); } @@ -213,7 +213,7 @@ ActorProfileUnkSYWA::ActorProfileUnkSYWA() : // --- Actor SYFI --- DECL_PROFILE(ActorProfileUnkSYFI); -Actor *ActorProfileUnkSYFI::Create() { +Actor* ActorProfileUnkSYFI::Create() { return new(HeapIndex_2) ActorLokomo(); } @@ -235,7 +235,7 @@ ActorProfileUnkSYFI::ActorProfileUnkSYFI() : // --- Actor SYDE --- DECL_PROFILE(ActorProfileUnkSYDE); -Actor *ActorProfileUnkSYDE::Create() { +Actor* ActorProfileUnkSYDE::Create() { return new(HeapIndex_2) ActorLokomo(); } @@ -295,7 +295,7 @@ static G3d_AnimTag data_ov058_02154cdc[] = { {15, "play_armRC", 0}, {16, "rhythm", 0}, {17, "fear", 0}, {18, "tremble", 0}, {19, "fly", 0}, }; -UnkActorFileSystem2 *ActorLokomo::func_ov058_02143438(unk32 param1) { +UnkActorFileSystem2* ActorLokomo::func_ov058_02143438(unk32 param1) { ActorLokomoId lokomoId; if (param1 != 0) { ActorId id = data_ov000_020b539c_eur.mUnk_30->mActorId; @@ -322,7 +322,7 @@ UnkActorFileSystem2 *ActorLokomo::func_ov058_02143438(unk32 param1) { lokomoId = ActorLokomo_Rael; } - ActorProfile *profile; + ActorProfile* profile; switch (lokomoId) { case ActorLokomo_Gage: profile = data_ov000_020b539c_eur.GetProfileFromId(GetGageModelId()); @@ -350,8 +350,8 @@ UnkActorFileSystem2 *ActorLokomo::func_ov058_02143438(unk32 param1) { return profile->vfunc_04(); } -inline ActorProfile_Derived1 *GetLokomoProfile(ActorId currentActorId) { - ActorProfile_Derived1 *profile; +inline ActorProfile_Derived1* GetLokomoProfile(ActorId currentActorId) { + ActorProfile_Derived1* profile; // switch according to M2C but could not match if (currentActorId == ActorId_Gage) { profile = GET_PROFILE(ActorProfileUnkSYFO); @@ -370,7 +370,7 @@ inline ActorProfile_Derived1 *GetLokomoProfile(ActorId currentActorId) { return profile; } -inline G3d_Model *GetLokomoModel(ActorId currentActorId, const char *names) { +inline G3d_Model* GetLokomoModel(ActorId currentActorId, const char* names) { u32 index; // switch according to M2C but could not match if (currentActorId == ActorId_Gage) { @@ -388,9 +388,9 @@ inline G3d_Model *GetLokomoModel(ActorId currentActorId, const char *names) { } ActorLokomo::ActorLokomo() : - ActorKenzo_Base(&this->mUnk_24C, (UnkActorFileSystem2 *) GetLokomoProfile(data_ov000_020b539c_eur.mUnk_30->mActorId) - ->vfunc_04() - ->func_ov000_02058a24()), + ActorKenzo_Base( + &this->mUnk_24C, + (UnkActorFileSystem2*) GetLokomoProfile(data_ov000_020b539c_eur.mUnk_30->mActorId)->vfunc_04()->func_ov000_02058a24()), mUnk_24C(GetLokomoModel(data_ov000_020b539c_eur.mUnk_30->mActorId, data_ov058_02153100[0])), mUnk_2BC(GetLokomoModel(data_ov000_020b539c_eur.mUnk_30->mActorId, data_ov058_02153100[1])), mUnk_328(GetLokomoModel(data_ov000_020b539c_eur.mUnk_30->mActorId, data_ov058_02153100[2])), @@ -670,8 +670,8 @@ bool ActorLokomo::Init(unk32 param1) { this->mUnk_0E4 = &ActorLokomo::func_ov058_02147760; if (this->mUnk_904) { - unk32 *array = data_ov058_02152fac[this->func_ov058_021456d8()]; - ActorUnkKOKO_unk *koko = this->mUnk_894; + unk32* array = data_ov058_02152fac[this->func_ov058_021456d8()]; + ActorUnkKOKO_unk* koko = this->mUnk_894; for (int idx = 0; idx < 5; ++idx) { koko[idx].mUnk_04 = array[idx]; koko[idx].mUnk_08 = 0x2; @@ -909,7 +909,7 @@ void ActorLokomo::func_ov058_02145ef0() { UnkAngleStruct angle = this->mAngle.angle_s - DEG_TO_ANG(180); - UnkStruct_027e0ce0 *data = data_027e0ce0; + UnkStruct_027e0ce0* data = data_027e0ce0; sp1C = *data->func_01fff148(PlayerType_Link); data->func_ov000_0208bbd4(PlayerType_Link, &sp1C, angle); @@ -939,7 +939,7 @@ void ActorLokomo::func_ov058_02146070() { return; } - UnkStruct_027e0960_TableEntry *tableEntry = data_027e0960->func_ov000_0205a390(param1); + UnkStruct_027e0960_TableEntry* tableEntry = data_027e0960->func_ov000_0205a390(param1); VecFx32Cpp sp04; tableEntry->mTable.GetPtr(0)->vfunc_0C(&sp04.vec); @@ -1156,7 +1156,7 @@ void ActorLokomo::vfunc_100() { // non-matching void ActorLokomo::vfunc_124() { unk32 val; - UnkStruct_ov063_021641c8 *data = &data_ov063_021641c8; + UnkStruct_ov063_021641c8* data = &data_ov063_021641c8; if (this->mUnk_903) { val = this->vfunc_08(); } else { @@ -1168,7 +1168,7 @@ void ActorLokomo::vfunc_124() { if (this->mUnk_903) { switch (this->mUnk_8F4) { case 0x1: { - UnkStruct_027e0ce0 *data = data_027e0ce0; + UnkStruct_027e0ce0* data = data_027e0ce0; UnkAngleStruct sp04; unk16 sp00; if (!this->mUnk_900) { @@ -1191,7 +1191,7 @@ void ActorLokomo::vfunc_124() { } case 0x3: { - UnkStruct_027e0ce0 *data = data_027e0ce0; + UnkStruct_027e0ce0* data = data_027e0ce0; VecFx32 sp14 = *data->func_01fff148(PlayerType_Link); data->func_ov000_0208bbd4(PlayerType_Link, &sp14, this->mUnk_8FE); this->func_ov058_02146848(&sp14, 0x0); @@ -1271,7 +1271,7 @@ void ActorLokomo::vfunc_124() { this->func_ov058_021471f4(param); } -void ActorLokomo::func_ov058_02146848(VecFx32 *param1, UnkAngleStruct param2) { +void ActorLokomo::func_ov058_02146848(VecFx32* param1, UnkAngleStruct param2) { VecFx32 sp04 = *param1; sp04.x += SIN(param2.angle_u) * 0xA000; @@ -1450,12 +1450,12 @@ void ActorLokomo::func_ov058_02146d74(unk32 param1, unk32 param2) { } if (this->mUnk_903) { - G3d_AnimTag *data = data_ov058_02154cdc; + G3d_AnimTag* data = data_ov058_02154cdc; this->mUnk_5B0.vfunc_1C(data[this->func_ov058_02146ccc()], FX_MUL(var4, 0x1000), var, 0x0); this->mUnk_69C.vfunc_1C(data[this->func_ov058_02146cec(0x0)], 0x0, var, 0x0); this->mUnk_788.vfunc_1C(data[this->func_ov058_02146d30(0x0)], 0x0, var, 0x0); } else { - G3d_AnimTag *data = data_ov058_02154cdc; + G3d_AnimTag* data = data_ov058_02154cdc; this->mUnk_5B0.vfunc_1C(data[this->func_ov058_02146ccc()], 0x1000, var, 0x0); this->mUnk_69C.vfunc_1C(data[this->func_ov058_02146cec(0x0)], 0x1000, var, 0x0); this->mUnk_788.vfunc_1C(data[this->func_ov058_02146d30(0x0)], 0x1000, var, 0x0); @@ -1544,12 +1544,12 @@ void ActorLokomo::func_ov058_021471f4(unk32 param1) { } SET_FLAG(this->mFlags, ActorFlag_Visible); - UnkStruct_027e0cec *data = data_027e0cec; - for (ActorUnkKOKO_unk *ptr = this->mUnk_894; ptr < this->mUnk_894 + ARRAY_LEN(this->mUnk_894); ++ptr) { + UnkStruct_027e0cec* data = data_027e0cec; + for (ActorUnkKOKO_unk* ptr = this->mUnk_894; ptr < this->mUnk_894 + ARRAY_LEN(this->mUnk_894); ++ptr) { data->func_ov000_020a0140(ptr, &this->mPos); } - VecFx32 *vec = &data_ov058_02152f10[this->func_ov058_021456d8()]; + VecFx32* vec = &data_ov058_02152f10[this->func_ov058_021456d8()]; for (int idx = 0; idx < 3; ++idx) { data_027e0cec->func_ov000_0209feac(vec->values[idx], &this->mPos, 0x2, 0x0, 0x0); } @@ -1584,7 +1584,7 @@ void ActorLokomo::func_ov058_021471f4(unk32 param1) { } case ActorLokomo_Steem: { - UnkStruct_PlayerGet_50 *pGet50_69C = this->mUnk_69C.vfunc_28(); + UnkStruct_PlayerGet_50* pGet50_69C = this->mUnk_69C.vfunc_28(); if (!pGet50_69C->func_01ff8fa8() && pGet50_69C->mUnk_08 != pGet50_69C->mUnk_0C) { break; } @@ -1595,12 +1595,12 @@ void ActorLokomo::func_ov058_021471f4(unk32 param1) { pGet50_69C->mUnk_04 = 0x3CCD; pGet50_69C->mUnk_08 = 0x0; - *(u16 *) &pGet50_69C->mUnk_02 &= 0xFFF7; + *(u16*) &pGet50_69C->mUnk_02 &= 0xFFF7; - UnkStruct_PlayerGet_50 *pGet50_788 = this->mUnk_788.vfunc_28(); + UnkStruct_PlayerGet_50* pGet50_788 = this->mUnk_788.vfunc_28(); pGet50_788->mUnk_04 = 0x3CCD; pGet50_788->mUnk_08 = 0x0; - *(u16 *) &pGet50_788->mUnk_02 &= 0xFFF7; + *(u16*) &pGet50_788->mUnk_02 &= 0xFFF7; this->func_ov058_02146c6c(); break; @@ -1609,8 +1609,8 @@ void ActorLokomo::func_ov058_021471f4(unk32 param1) { case ActorLokomo_Embrose: { u8 arg1 = (u8) param1; bool var6 = false; - UnkStruct_PlayerGet_50 *pGet50_69C = this->mUnk_69C.vfunc_28(); - UnkStruct_PlayerGet_50 *pGet50_788 = this->mUnk_788.vfunc_28(); + UnkStruct_PlayerGet_50* pGet50_69C = this->mUnk_69C.vfunc_28(); + UnkStruct_PlayerGet_50* pGet50_788 = this->mUnk_788.vfunc_28(); if (pGet50_69C->func_01ff8fa8() || pGet50_69C->mUnk_08 == pGet50_69C->mUnk_0C) { switch (arg1) { @@ -1631,7 +1631,7 @@ void ActorLokomo::func_ov058_021471f4(unk32 param1) { pGet50_69C->mUnk_08 = 0x0; break; } - *(u16 *) &pGet50_69C->mUnk_02 &= 0xFFF7; + *(u16*) &pGet50_69C->mUnk_02 &= 0xFFF7; } if (pGet50_788->func_01ff8fa8() || pGet50_788->mUnk_08 == pGet50_788->mUnk_0C) { @@ -1653,7 +1653,7 @@ void ActorLokomo::func_ov058_021471f4(unk32 param1) { pGet50_788->mUnk_08 = 0x0; break; } - *(u16 *) &pGet50_788->mUnk_02 &= 0xFFF7; + *(u16*) &pGet50_788->mUnk_02 &= 0xFFF7; } if (!var6) { @@ -1670,13 +1670,13 @@ void ActorLokomo::func_ov058_021471f4(unk32 param1) { } void ActorLokomo_874::vfunc2_00() { - data_ov063_021641d0[((ActorLokomo *) this->mUnk_04)->func_ov058_021456d8()] = this->mUnk_04; + data_ov063_021641d0[((ActorLokomo*) this->mUnk_04)->func_ov058_021456d8()] = this->mUnk_04; } -void ActorLokomo::func_ov058_02147760(Actor *param0, G3d_RenderState_ *param1) { - ActorLokomo *thiz = (ActorLokomo *) param0; +void ActorLokomo::func_ov058_02147760(Actor* param0, G3d_RenderState_* param1) { + ActorLokomo* thiz = (ActorLokomo*) param0; - G3d_RenderObject *renderObj = param1->renderObj; + G3d_RenderObject* renderObj = param1->renderObj; s32 val = G3d_GetCurBoneMtxId(param1); if (val == thiz->mUnk_908) { if (renderObj->mUnk_25 == 0x2) { @@ -1734,10 +1734,10 @@ void ActorLokomo::func_ov058_02147760(Actor *param0, G3d_RenderState_ *param1) { renderObj->mUnk_25 = 0x2; } -void ActorLokomo::func_ov058_02147860(Actor *param0, G3d_RenderState_ *param1) { - ActorLokomo *thiz = (ActorLokomo *) param0; +void ActorLokomo::func_ov058_02147860(Actor* param0, G3d_RenderState_* param1) { + ActorLokomo* thiz = (ActorLokomo*) param0; - G3d_RenderObject *renderObj = param1->renderObj; + G3d_RenderObject* renderObj = param1->renderObj; s32 val = G3d_GetCurBoneMtxId(param1); if (val == thiz->mUnk_8D0) { @@ -1822,7 +1822,7 @@ void ActorLokomo::func_ov058_02147860(Actor *param0, G3d_RenderState_ *param1) { bool ActorLokomo::vfunc_9C() { if (this->GetActorId() == ActorId_Carben) { - PassengerManager *instance = gpPassengerManager; + PassengerManager* instance = gpPassengerManager; instance->TryBoardTrain(this->GetActorId(), SceneIndex_f_water2, 0xFF); } @@ -1857,7 +1857,7 @@ bool ActorLokomo::func_ov058_02147aec() { return false; } - PassengerManager *instance = gpPassengerManager; + PassengerManager* instance = gpPassengerManager; if (instance->CanCompleteTrip()) { instance = instance->GetInstance(); @@ -1887,7 +1887,7 @@ void ActorLokomo::func_ov058_02147b98() { } // non-matching (something on the stack (params)) -void ActorLokomo::func_ov058_02147bc4(VecFx32 *vec, UnkAngleStruct param1) { +void ActorLokomo::func_ov058_02147bc4(VecFx32* vec, UnkAngleStruct param1) { if (this->mUnk_904) { this->mPos = *vec; this->mAngle = param1; diff --git a/src/058_Field/Actor/ActorUnkBSTG.cpp b/src/058_Field/Actor/ActorUnkBSTG.cpp index e07f96588..64923ade9 100644 --- a/src/058_Field/Actor/ActorUnkBSTG.cpp +++ b/src/058_Field/Actor/ActorUnkBSTG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBSTG); -Actor *ActorProfileUnkBSTG::Create() { +Actor* ActorProfileUnkBSTG::Create() { return new(HeapIndex_2) ActorUnkBSTG(); } diff --git a/src/058_Field/Actor/ActorUnkFBRD.cpp b/src/058_Field/Actor/ActorUnkFBRD.cpp index 6d9bb049d..833dbc5fe 100644 --- a/src/058_Field/Actor/ActorUnkFBRD.cpp +++ b/src/058_Field/Actor/ActorUnkFBRD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFBRD); -Actor *ActorProfileUnkFBRD::Create() { +Actor* ActorProfileUnkFBRD::Create() { return new(HeapIndex_2) ActorUnkFBRD(); } diff --git a/src/058_Field/Actor/ActorUnkFBSC.cpp b/src/058_Field/Actor/ActorUnkFBSC.cpp index 5dec70c95..3717fc30a 100644 --- a/src/058_Field/Actor/ActorUnkFBSC.cpp +++ b/src/058_Field/Actor/ActorUnkFBSC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFBSC); -Actor *ActorProfileUnkFBSC::Create() { +Actor* ActorProfileUnkFBSC::Create() { return new(HeapIndex_2) ActorUnkFBSC(); } diff --git a/src/058_Field/Actor/ActorUnkKOAT.cpp b/src/058_Field/Actor/ActorUnkKOAT.cpp index 754ff5c05..b7a32393c 100644 --- a/src/058_Field/Actor/ActorUnkKOAT.cpp +++ b/src/058_Field/Actor/ActorUnkKOAT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKOAT); -Actor *ActorProfileUnkKOAT::Create() { +Actor* ActorProfileUnkKOAT::Create() { return new(HeapIndex_2) ActorUnkKOAT(); } diff --git a/src/058_Field/Actor/ActorUnkKOCH.cpp b/src/058_Field/Actor/ActorUnkKOCH.cpp index dd7d31900..00a829741 100644 --- a/src/058_Field/Actor/ActorUnkKOCH.cpp +++ b/src/058_Field/Actor/ActorUnkKOCH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKOCH); -Actor *ActorProfileUnkKOCH::Create() { +Actor* ActorProfileUnkKOCH::Create() { return new(HeapIndex_2) ActorUnkKOCH(); } diff --git a/src/058_Field/Actor/ActorUnkKOKO.cpp b/src/058_Field/Actor/ActorUnkKOKO.cpp index 0805cb43e..5f9c57273 100644 --- a/src/058_Field/Actor/ActorUnkKOKO.cpp +++ b/src/058_Field/Actor/ActorUnkKOKO.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKOKO); -Actor *ActorProfileUnkKOKO::Create() { +Actor* ActorProfileUnkKOKO::Create() { return new(HeapIndex_2) ActorUnkKOKO(); } diff --git a/src/058_Field/Actor/ActorUnkNSTN.cpp b/src/058_Field/Actor/ActorUnkNSTN.cpp index ed3767691..ad3d7eb37 100644 --- a/src/058_Field/Actor/ActorUnkNSTN.cpp +++ b/src/058_Field/Actor/ActorUnkNSTN.cpp @@ -28,7 +28,7 @@ static PTMF data_ov058_021545e0[ActorUnkNSTNState_Max] = { DECL_PROFILE(ActorProfileUnkNSTN); -Actor *ActorProfileUnkNSTN::Create() { +Actor* ActorProfileUnkNSTN::Create() { return new(HeapIndex_2) ActorUnkNSTN(); } diff --git a/src/058_Field/Actor/ActorUnkTMNA.cpp b/src/058_Field/Actor/ActorUnkTMNA.cpp index 0da90618e..a38f56791 100644 --- a/src/058_Field/Actor/ActorUnkTMNA.cpp +++ b/src/058_Field/Actor/ActorUnkTMNA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTMNA); -Actor *ActorProfileUnkTMNA::Create() { +Actor* ActorProfileUnkTMNA::Create() { return new(HeapIndex_2) ActorUnkTMNA(); } diff --git a/src/058_Field/Actor/ActorUnkTMNC.cpp b/src/058_Field/Actor/ActorUnkTMNC.cpp index d6067c54a..12030ae28 100644 --- a/src/058_Field/Actor/ActorUnkTMNC.cpp +++ b/src/058_Field/Actor/ActorUnkTMNC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTMNC); -Actor *ActorProfileUnkTMNC::Create() { +Actor* ActorProfileUnkTMNC::Create() { return new(HeapIndex_2) ActorUnkTMNC(); } diff --git a/src/058_Field/Actor/ActorUnkWPCH.cpp b/src/058_Field/Actor/ActorUnkWPCH.cpp index 0d295d2f2..756805a9c 100644 --- a/src/058_Field/Actor/ActorUnkWPCH.cpp +++ b/src/058_Field/Actor/ActorUnkWPCH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWPCH); -Actor *ActorProfileUnkWPCH::Create() { +Actor* ActorProfileUnkWPCH::Create() { return new(HeapIndex_2) ActorUnkWPCH(); } diff --git a/src/058_Field/Actor/ActorWhipBird.cpp b/src/058_Field/Actor/ActorWhipBird.cpp index 53d286a29..fefee5774 100644 --- a/src/058_Field/Actor/ActorWhipBird.cpp +++ b/src/058_Field/Actor/ActorWhipBird.cpp @@ -46,7 +46,7 @@ class UnkStruct_UnkWPBD_bss { DECL_PROFILE(ActorProfileWhipBird); static UnkStruct_UnkWPBD_bss data_ov058_02157110; -Actor *ActorProfileWhipBird::Create() { +Actor* ActorProfileWhipBird::Create() { return new(HeapIndex_2) ActorWhipBird(); } @@ -55,7 +55,7 @@ ActorProfileWhipBird::ActorProfileWhipBird() : this->mUnk_04.Init(FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(-0.5002f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.5f)); } -bool ActorWhipBird_32C::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool ActorWhipBird_32C::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { unk32 var = param1->mUnk_04->mUnk_24[param1->mUnk_00->mUnk_06] & 0x1F; if (var == 0x2 || var == 0x0) { return false; @@ -71,7 +71,7 @@ bool ActorWhipBird_32C::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 p return ret; } -ActorWhipBird_214::ActorWhipBird_214(ActorWhipBird *param1) : +ActorWhipBird_214::ActorWhipBird_214(ActorWhipBird* param1) : Actor_C4(param1) { this->mUnk_20 = param1; this->mUnk_04 = 0x2; @@ -165,7 +165,7 @@ bool ActorWhipBird::Init(unk32 param1) { void ActorWhipBird::Setup() { if (this->func_ov058_0214cab8()) { - ActorLokomo *carben = (ActorLokomo *) func_02016fbc(ActorId_Carben, &this->mPos, 0x0); + ActorLokomo* carben = (ActorLokomo*) func_02016fbc(ActorId_Carben, &this->mPos, 0x0); if (carben != NULL) { carben->func_ov058_02147d20(); } @@ -278,7 +278,7 @@ void ActorWhipBird::vfunc_2C(unk32 param1) { this->mUnk_295 = true; if (!data_ov058_02157110.mUnk_00 && !this->mUnk_294) { if (data_027e0ce0->func_ov000_0208bf34(0x2)) { - VecFx32 *vec = this->func_ov000_0209853c(PlayerType_Link); + VecFx32* vec = this->func_ov000_0209853c(PlayerType_Link); if (func_01ff9258(vec->x - this->mUnk_268.vec.x, vec->z - this->mUnk_268.vec.z) < 0x5000) { data_027e09bc->mUnk_04[0][param1]->mUnk_0C->func_ov000_020786dc(&this->mUnk_268.vec); } @@ -333,7 +333,7 @@ void ActorWhipBird::func_ov058_0214b820() { } unk16 timer = - ((UnkStruct_027e0960_TableEntry_04_Base_Derived1 **) this->mUnk_2F4.mUnk_00->mTable.GetPtr(this->mUnk_2F4.mUnk_05) + ((UnkStruct_027e0960_TableEntry_04_Base_Derived1**) this->mUnk_2F4.mUnk_00->mTable.GetPtr(this->mUnk_2F4.mUnk_05) ->mUnk_14)[0] ->mUnk_14; if (timer >= 0) { @@ -396,7 +396,7 @@ void ActorWhipBird::func_ov058_0214b8dc() { this->SetState(ActorWhipBirdState_0); } -void ActorWhipBird::func_ov058_0214bbcc(VecFx32 *param1, fx32 newVelZ) { +void ActorWhipBird::func_ov058_0214bbcc(VecFx32* param1, fx32 newVelZ) { bool expiredTimer = this->mUnk_32C.mUnk_0C.HasExpired(); if (this->mUnk_290.HasExpired()) { @@ -445,7 +445,7 @@ void ActorWhipBird::func_ov058_0214bd98() { this->mUnk_238.Set(FX_F32_TO_FX32(-1.0002f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f)); this->func_ov058_0214cfa4(0x1000); - unk16 angle = func_02016958((VecFx32 *) &data_ov058_0215530c.vec, &vec.vec); + unk16 angle = func_02016958((VecFx32*) &data_ov058_0215530c.vec, &vec.vec); sp6C.Set(FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(4.0f), FX_F32_TO_FX32(0.0f)); func_01ff9638(&sp6C.vec, angle); @@ -463,7 +463,7 @@ void ActorWhipBird::func_ov058_0214bd98() { data_ov058_02155300.y = data_027e09b8->func_ov000_02073388(&stack, 0x0); this->mTimer.Set(0, 150); - ActorLokomo *lokomo = (ActorLokomo *) func_02016fbc(ActorId_Carben, &this->mPos, 0x0); + ActorLokomo* lokomo = (ActorLokomo*) func_02016fbc(ActorId_Carben, &this->mPos, 0x0); lokomo->func_ov058_02147d20(); } @@ -561,7 +561,7 @@ void ActorWhipBird::func_ov058_0214c394() { } } - VecFx32 *vec = this->func_ov000_0209853c(PlayerType_Link); + VecFx32* vec = this->func_ov000_0209853c(PlayerType_Link); sp28.vec.y = vec->y + FX_F32_TO_FX32(3.5f); this->func_ov058_0214bbcc(&sp28.vec, this->mUnk_280); @@ -591,7 +591,7 @@ void ActorWhipBird::func_ov058_0214c394() { } void ActorWhipBird::func_ov058_0214c6d8() { - VecFx32 *vec = this->Actor::func_ov000_0209853c(PlayerType_Link); + VecFx32* vec = this->Actor::func_ov000_0209853c(PlayerType_Link); if (func_01ff9258(vec->x - this->mPos.x, vec->z - this->mPos.z) >= 0x7000) { VecFx32Cpp sp0C; @@ -622,7 +622,7 @@ void ActorWhipBird::func_ov058_0214c6d8() { // non-matching void ActorWhipBird::func_ov058_0214c824() { this->Actor::func_ov000_02098a88(0x1, 0x1); - ActorLokomo *lokomo = (ActorLokomo *) func_02016fbc(ActorId_Carben, &this->mPos, 0x0); + ActorLokomo* lokomo = (ActorLokomo*) func_02016fbc(ActorId_Carben, &this->mPos, 0x0); VecFx32Cpp vec = lokomo->mUnk_5C.mInitialPos; VecFx32_Init(vec.vec.x, vec.vec.y, vec.vec.z, &lokomo->mPos); @@ -632,8 +632,8 @@ void ActorWhipBird::func_ov058_0214c824() { VecFx32_Init(0, 0, 0, &this->mVel); UNSET_FLAG(this->mFlags, ActorFlag_Visible); - Actor *actor1 = gpActorManager->func_01fff3b4(this->mUnk_30C); - Actor *actor2 = gpActorManager->func_01fff3b4(this->mUnk_310); + Actor* actor1 = gpActorManager->func_01fff3b4(this->mUnk_30C); + Actor* actor2 = gpActorManager->func_01fff3b4(this->mUnk_310); if (actor1 != NULL) { actor1->func_ov000_020984d0(); @@ -726,7 +726,7 @@ void ActorWhipBird::func_ov058_0214cbe8() { } bool ActorWhipBird::func_ov058_0214cc80() { - MapManagerBase *data = gpCourseManager->mpMapMgr; + MapManagerBase* data = gpCourseManager->mpMapMgr; if (this->mUnk_5C.mParams[1] != 0x0) { if (!data->func_ov000_020802ec(this->mUnk_5C.mParams[1], this->Actor::func_ov000_0209853c(PlayerType_Link))) { return true; @@ -737,7 +737,7 @@ bool ActorWhipBird::func_ov058_0214cc80() { } void ActorWhipBird::func_ov058_0214ccd0() { - ActorLokomo *lokomo = (ActorLokomo *) func_02016fbc(ActorId_Carben, &this->mPos, 0x0); + ActorLokomo* lokomo = (ActorLokomo*) func_02016fbc(ActorId_Carben, &this->mPos, 0x0); if (lokomo == NULL) { return; } @@ -759,7 +759,7 @@ void ActorWhipBird::func_ov058_0214ccd0() { // non-matching void ActorWhipBird::func_ov058_0214cd94() { - ActorLokomo *lokomo = (ActorLokomo *) func_02016fbc(ActorId_Carben, &this->mPos, 0x0); + ActorLokomo* lokomo = (ActorLokomo*) func_02016fbc(ActorId_Carben, &this->mPos, 0x0); if (lokomo == NULL) { return; } @@ -783,8 +783,8 @@ void ActorWhipBird::func_ov058_0214cd94() { VEC_Add(&sp0C.vec, &this->mUnk_244.vec, &sp0C.vec); } - Actor_ov031_02114438 *actor = (Actor_ov031_02114438 *) gpActorManager->func_01fff3b4(this->mUnk_30C); - Actor_ov031_02114438 *actor2 = (Actor_ov031_02114438 *) gpActorManager->func_01fff3b4(this->mUnk_310); + Actor_ov031_02114438* actor = (Actor_ov031_02114438*) gpActorManager->func_01fff3b4(this->mUnk_30C); + Actor_ov031_02114438* actor2 = (Actor_ov031_02114438*) gpActorManager->func_01fff3b4(this->mUnk_310); if (actor != NULL) { SET_FLAG(actor->mFlags, ActorFlag_Visible); @@ -834,15 +834,15 @@ void ActorWhipBird::func_ov058_0214cfa4(unk32 param1) { func_ov000_0205f4fc(&this->mUnk_298, &this->mUnk_2A8); } -void ActorWhipBird::func_ov058_0214d078(Actor *param1, G3d_RenderState *param2) { - ActorWhipBird *thiz = (ActorWhipBird *) param1; +void ActorWhipBird::func_ov058_0214d078(Actor* param1, G3d_RenderState* param2) { + ActorWhipBird* thiz = (ActorWhipBird*) param1; MtxFx33 sp6C; MtxFx43 sp3C; MtxFx33 sp18; VecFx32Cpp sp0C; VecFx32Cpp sp00; - G3d_RenderObject *renderObj = param2->renderObj; + G3d_RenderObject* renderObj = param2->renderObj; s32 val = G3d_GetCurBoneMtxId(param2); if (val != 0x1) { @@ -852,7 +852,7 @@ void ActorWhipBird::func_ov058_0214d078(Actor *param1, G3d_RenderState *param2) if (renderObj->mUnk_25 == 0x2) { param2->callbackSegment[6] = 0x3; renderObj->mUnk_25 = 0x3; - G3d_RenderState_B4 *renderStateB4 = param2->mUnk_B4; + G3d_RenderState_B4* renderStateB4 = param2->mUnk_B4; renderStateB4->mUnk_00 &= ~0x2; @@ -874,7 +874,7 @@ void ActorWhipBird::func_ov058_0214d078(Actor *param1, G3d_RenderState *param2) G3d_GetCurrentMtx(&sp3C, NULL); func_01ffad5c(&sp3C, &data_027e0964, &sp3C); - sp0C.CopyOut((VecFx32 *) &sp3C.values[9]); + sp0C.CopyOut((VecFx32*) &sp3C.values[9]); thiz->mUnk_250.CopyOut(&sp0C); MI_Copy36B(&sp3C, &sp18); diff --git a/src/058_Field/MapObject/MapObjectUnkBBFL.cpp b/src/058_Field/MapObject/MapObjectUnkBBFL.cpp index c9bfafe11..bb3443b93 100644 --- a/src/058_Field/MapObject/MapObjectUnkBBFL.cpp +++ b/src/058_Field/MapObject/MapObjectUnkBBFL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBBFL); -MapObject *MapObjectProfileUnkBBFL::Create() { +MapObject* MapObjectProfileUnkBBFL::Create() { return new(HeapIndex_2) MapObjectUnkBBFL(); } diff --git a/src/058_Field/MapObject/MapObjectUnkDRHS.cpp b/src/058_Field/MapObject/MapObjectUnkDRHS.cpp index cbfa6b518..034a2444a 100644 --- a/src/058_Field/MapObject/MapObjectUnkDRHS.cpp +++ b/src/058_Field/MapObject/MapObjectUnkDRHS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRHS); -MapObject *MapObjectProfileUnkDRHS::Create() { +MapObject* MapObjectProfileUnkDRHS::Create() { return new(HeapIndex_2) MapObjectUnkDRHS(); } diff --git a/src/058_Field/MapObject/MapObjectUnkEXHS.cpp b/src/058_Field/MapObject/MapObjectUnkEXHS.cpp index d30e2e185..a5be06d68 100644 --- a/src/058_Field/MapObject/MapObjectUnkEXHS.cpp +++ b/src/058_Field/MapObject/MapObjectUnkEXHS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkEXHS); -MapObject *MapObjectProfileUnkEXHS::Create() { +MapObject* MapObjectProfileUnkEXHS::Create() { return new(HeapIndex_2) MapObjectUnkEXHS(); } diff --git a/src/058_Field/MapObject/MapObjectUnkGRSV.cpp b/src/058_Field/MapObject/MapObjectUnkGRSV.cpp index 093dff87a..b4718f8b8 100644 --- a/src/058_Field/MapObject/MapObjectUnkGRSV.cpp +++ b/src/058_Field/MapObject/MapObjectUnkGRSV.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkGRSV); -MapObject *MapObjectProfileUnkGRSV::Create() { +MapObject* MapObjectProfileUnkGRSV::Create() { return new(HeapIndex_2) MapObjectUnkGRSV(); } diff --git a/src/058_Field/MapObject/MapObjectUnkHOST.cpp b/src/058_Field/MapObject/MapObjectUnkHOST.cpp index 484feb453..294aef314 100644 --- a/src/058_Field/MapObject/MapObjectUnkHOST.cpp +++ b/src/058_Field/MapObject/MapObjectUnkHOST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkHOST); -MapObject *MapObjectProfileUnkHOST::Create() { +MapObject* MapObjectProfileUnkHOST::Create() { return new(HeapIndex_2) MapObjectUnkHOST(); } diff --git a/src/058_Field/MapObject/MapObjectUnkHOUS.cpp b/src/058_Field/MapObject/MapObjectUnkHOUS.cpp index 591b60113..b639c82f3 100644 --- a/src/058_Field/MapObject/MapObjectUnkHOUS.cpp +++ b/src/058_Field/MapObject/MapObjectUnkHOUS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkHOUS); -MapObject *MapObjectProfileUnkHOUS::Create() { +MapObject* MapObjectProfileUnkHOUS::Create() { return new(HeapIndex_2) MapObjectUnkHOUS(); } diff --git a/src/058_Field/MapObject/MapObjectUnkKNBN.cpp b/src/058_Field/MapObject/MapObjectUnkKNBN.cpp index a7efeaadf..2a7f11b4d 100644 --- a/src/058_Field/MapObject/MapObjectUnkKNBN.cpp +++ b/src/058_Field/MapObject/MapObjectUnkKNBN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkKNBN); -MapObject *MapObjectProfileUnkKNBN::Create() { +MapObject* MapObjectProfileUnkKNBN::Create() { return new(HeapIndex_2) MapObjectUnkKNBN(); } diff --git a/src/058_Field/MapObject/MapObjectUnkLEVS.cpp b/src/058_Field/MapObject/MapObjectUnkLEVS.cpp index 16444568b..b9f312b88 100644 --- a/src/058_Field/MapObject/MapObjectUnkLEVS.cpp +++ b/src/058_Field/MapObject/MapObjectUnkLEVS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkLEVS); -MapObject *MapObjectProfileUnkLEVS::Create() { +MapObject* MapObjectProfileUnkLEVS::Create() { return new(HeapIndex_2) MapObjectUnkLEVS(); } diff --git a/src/058_Field/MapObject/MapObjectUnkMSCL.cpp b/src/058_Field/MapObject/MapObjectUnkMSCL.cpp index f2cfadce0..f983fa28c 100644 --- a/src/058_Field/MapObject/MapObjectUnkMSCL.cpp +++ b/src/058_Field/MapObject/MapObjectUnkMSCL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMSCL); -MapObject *MapObjectProfileUnkMSCL::Create() { +MapObject* MapObjectProfileUnkMSCL::Create() { return new(HeapIndex_2) MapObjectUnkMSCL(); } diff --git a/src/058_Field/MapObject/MapObjectUnkSTNE.cpp b/src/058_Field/MapObject/MapObjectUnkSTNE.cpp index e8e778f85..e5573b7bd 100644 --- a/src/058_Field/MapObject/MapObjectUnkSTNE.cpp +++ b/src/058_Field/MapObject/MapObjectUnkSTNE.cpp @@ -10,7 +10,7 @@ static MapObject_10_Pot data_ov058_0215775c = MapObject_10_Pot(); DECL_PROFILE(MapObjectProfileUnkSTNE); -MapObject *MapObjectProfileUnkSTNE::Create() { +MapObject* MapObjectProfileUnkSTNE::Create() { return new(HeapIndex_ITCM) MapObjectUnkSTNE(); } @@ -38,7 +38,7 @@ MapObjectUnkSTNE::MapObjectUnkSTNE() : SET_FLAG(this->mFlags, MapObjFlag_8); } -bool MapObjectUnkSTNE::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) { +bool MapObjectUnkSTNE::vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) { #pragma unused(param3) switch (param2) { case 0x0: @@ -48,7 +48,7 @@ bool MapObjectUnkSTNE::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) case 0x4: if (data_027e0d38->func_ov031_020d9c04(0x2, 0x0, 0x0)) { - Actor *actor = gpActorManager->func_01fff3b4(param1); + Actor* actor = gpActorManager->func_01fff3b4(param1); if (actor != NULL) { this->mAngle.angle_s = actor->mAngle.angle_s; this->SetState(0x3, 0x0); @@ -111,8 +111,8 @@ bool MapObjectUnkSTNE::func_ov058_0214efb8() { } // non-matching -void MapObjectUnkSTNE::vfunc_24(MapObject *param1, VecFx32 param2) { - ((MapObjectPot_Base *) param1)->MapObjectPot_Base::vfunc_24(param1, param2); +void MapObjectUnkSTNE::vfunc_24(MapObject* param1, VecFx32 param2) { + ((MapObjectPot_Base*) param1)->MapObjectPot_Base::vfunc_24(param1, param2); } bool MapObjectUnkSTNE::vfunc_4C() { diff --git a/src/058_Field/MapObject/MapObjectUnkSWCB.cpp b/src/058_Field/MapObject/MapObjectUnkSWCB.cpp index e9f058edc..5a47a4092 100644 --- a/src/058_Field/MapObject/MapObjectUnkSWCB.cpp +++ b/src/058_Field/MapObject/MapObjectUnkSWCB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSWCB); -MapObject *MapObjectProfileUnkSWCB::Create() { +MapObject* MapObjectProfileUnkSWCB::Create() { return new(HeapIndex_2) MapObjectUnkSWCB(); } diff --git a/src/058_Field/MapObject/MapObjectUnkTREE.cpp b/src/058_Field/MapObject/MapObjectUnkTREE.cpp index 70dfdc2df..ebfdb2434 100644 --- a/src/058_Field/MapObject/MapObjectUnkTREE.cpp +++ b/src/058_Field/MapObject/MapObjectUnkTREE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTREE); -MapObject *MapObjectProfileUnkTREE::Create() { +MapObject* MapObjectProfileUnkTREE::Create() { return new(HeapIndex_2) MapObjectUnkTREE(); } diff --git a/src/059_InTrain/Actor/ActorUnkCAGE.cpp b/src/059_InTrain/Actor/ActorUnkCAGE.cpp index cb173ec23..fca8e65a4 100644 --- a/src/059_InTrain/Actor/ActorUnkCAGE.cpp +++ b/src/059_InTrain/Actor/ActorUnkCAGE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCAGE); -Actor *ActorProfileUnkCAGE::Create() { +Actor* ActorProfileUnkCAGE::Create() { return new(HeapIndex_2) ActorUnkCAGE(); } diff --git a/src/059_InTrain/Actor/ActorUnkPBSP.cpp b/src/059_InTrain/Actor/ActorUnkPBSP.cpp index a33c185e4..6aa9b44eb 100644 --- a/src/059_InTrain/Actor/ActorUnkPBSP.cpp +++ b/src/059_InTrain/Actor/ActorUnkPBSP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPBSP); -Actor *ActorProfileUnkPBSP::Create() { +Actor* ActorProfileUnkPBSP::Create() { return new(HeapIndex_2) ActorUnkPBSP(); } diff --git a/src/059_InTrain/Actor/ActorUnkPSBS.cpp b/src/059_InTrain/Actor/ActorUnkPSBS.cpp index 4f22154a4..f47b40a11 100644 --- a/src/059_InTrain/Actor/ActorUnkPSBS.cpp +++ b/src/059_InTrain/Actor/ActorUnkPSBS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPSBS); -Actor *ActorProfileUnkPSBS::Create() { +Actor* ActorProfileUnkPSBS::Create() { return new(HeapIndex_2) ActorUnkPSBS(); } diff --git a/src/059_InTrain/Actor/ActorUnkPSEM.cpp b/src/059_InTrain/Actor/ActorUnkPSEM.cpp index 295e303ad..c24290d35 100644 --- a/src/059_InTrain/Actor/ActorUnkPSEM.cpp +++ b/src/059_InTrain/Actor/ActorUnkPSEM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPSEM); -Actor *ActorProfileUnkPSEM::Create() { +Actor* ActorProfileUnkPSEM::Create() { return new(HeapIndex_2) ActorUnkPSEM(); } diff --git a/src/059_InTrain/Actor/ActorUnkPSNP.cpp b/src/059_InTrain/Actor/ActorUnkPSNP.cpp index 1c1dfda13..31643700e 100644 --- a/src/059_InTrain/Actor/ActorUnkPSNP.cpp +++ b/src/059_InTrain/Actor/ActorUnkPSNP.cpp @@ -7,7 +7,7 @@ THUMB_BEGIN DECL_PROFILE(ActorProfileUnkPSNP); -Actor *ActorProfileUnkPSNP::Create() { +Actor* ActorProfileUnkPSNP::Create() { return new(HeapIndex_2) ActorUnkPSNP(); } diff --git a/src/059_InTrain/Actor/ActorUnkRMTB.cpp b/src/059_InTrain/Actor/ActorUnkRMTB.cpp index a3bd2a68f..4084f3f32 100644 --- a/src/059_InTrain/Actor/ActorUnkRMTB.cpp +++ b/src/059_InTrain/Actor/ActorUnkRMTB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMTB); -Actor *ActorProfileUnkRMTB::Create() { +Actor* ActorProfileUnkRMTB::Create() { return new(HeapIndex_2) ActorUnkRMTB(); } diff --git a/src/059_InTrain/Actor/ActorUnkRMTR.cpp b/src/059_InTrain/Actor/ActorUnkRMTR.cpp index 2974f1ea5..a65437551 100644 --- a/src/059_InTrain/Actor/ActorUnkRMTR.cpp +++ b/src/059_InTrain/Actor/ActorUnkRMTR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMTR); -Actor *ActorProfileUnkRMTR::Create() { +Actor* ActorProfileUnkRMTR::Create() { return new(HeapIndex_2) ActorUnkRMTR(); } diff --git a/src/059_InTrain/Actor/ActorUnkRMVD.cpp b/src/059_InTrain/Actor/ActorUnkRMVD.cpp index 12792ca36..ec21975f5 100644 --- a/src/059_InTrain/Actor/ActorUnkRMVD.cpp +++ b/src/059_InTrain/Actor/ActorUnkRMVD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMVD); -Actor *ActorProfileUnkRMVD::Create() { +Actor* ActorProfileUnkRMVD::Create() { return new(HeapIndex_2) ActorUnkRMVD(); } diff --git a/src/059_InTrain/Actor/ActorUnkRMVF.cpp b/src/059_InTrain/Actor/ActorUnkRMVF.cpp index 578eda6d1..c1b5827da 100644 --- a/src/059_InTrain/Actor/ActorUnkRMVF.cpp +++ b/src/059_InTrain/Actor/ActorUnkRMVF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMVF); -Actor *ActorProfileUnkRMVF::Create() { +Actor* ActorProfileUnkRMVF::Create() { return new(HeapIndex_2) ActorUnkRMVF(); } diff --git a/src/059_InTrain/Actor/ActorUnkRMVS.cpp b/src/059_InTrain/Actor/ActorUnkRMVS.cpp index 04f3d3425..9c1036e02 100644 --- a/src/059_InTrain/Actor/ActorUnkRMVS.cpp +++ b/src/059_InTrain/Actor/ActorUnkRMVS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMVS); -Actor *ActorProfileUnkRMVS::Create() { +Actor* ActorProfileUnkRMVS::Create() { return new(HeapIndex_2) ActorUnkRMVS(); } diff --git a/src/059_InTrain/Actor/ActorUnkRMVT.cpp b/src/059_InTrain/Actor/ActorUnkRMVT.cpp index 49c0abb81..fa9c2fe9b 100644 --- a/src/059_InTrain/Actor/ActorUnkRMVT.cpp +++ b/src/059_InTrain/Actor/ActorUnkRMVT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMVT); -Actor *ActorProfileUnkRMVT::Create() { +Actor* ActorProfileUnkRMVT::Create() { return new(HeapIndex_2) ActorUnkRMVT(); } diff --git a/src/059_InTrain/Actor/ActorUnkRMVV.cpp b/src/059_InTrain/Actor/ActorUnkRMVV.cpp index 8406c58f0..41ba7ef88 100644 --- a/src/059_InTrain/Actor/ActorUnkRMVV.cpp +++ b/src/059_InTrain/Actor/ActorUnkRMVV.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMVV); -Actor *ActorProfileUnkRMVV::Create() { +Actor* ActorProfileUnkRMVV::Create() { return new(HeapIndex_2) ActorUnkRMVV(); } diff --git a/src/059_InTrain/Actor/ActorUnkRMVW.cpp b/src/059_InTrain/Actor/ActorUnkRMVW.cpp index 1dc6596f8..614be2754 100644 --- a/src/059_InTrain/Actor/ActorUnkRMVW.cpp +++ b/src/059_InTrain/Actor/ActorUnkRMVW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMVW); -Actor *ActorProfileUnkRMVW::Create() { +Actor* ActorProfileUnkRMVW::Create() { return new(HeapIndex_2) ActorUnkRMVW(); } diff --git a/src/059_InTrain/MapObject/MapObjectUnkEXTR.cpp b/src/059_InTrain/MapObject/MapObjectUnkEXTR.cpp index 846d06dde..a769095f2 100644 --- a/src/059_InTrain/MapObject/MapObjectUnkEXTR.cpp +++ b/src/059_InTrain/MapObject/MapObjectUnkEXTR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkEXTR); -MapObject *MapObjectProfileUnkEXTR::Create() { +MapObject* MapObjectProfileUnkEXTR::Create() { return new(HeapIndex_2) MapObjectUnkEXTR(); } diff --git a/src/060_Castle/Actor/ActorUnkCASL.cpp b/src/060_Castle/Actor/ActorUnkCASL.cpp index c2c7fee05..39ab5dd96 100644 --- a/src/060_Castle/Actor/ActorUnkCASL.cpp +++ b/src/060_Castle/Actor/ActorUnkCASL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCASL); -Actor *ActorProfileUnkCASL::Create() { +Actor* ActorProfileUnkCASL::Create() { return new(HeapIndex_2) ActorUnkCASL(); } diff --git a/src/060_Castle/Actor/ActorUnkCAST.cpp b/src/060_Castle/Actor/ActorUnkCAST.cpp index 27c324d72..6ceeb4eb1 100644 --- a/src/060_Castle/Actor/ActorUnkCAST.cpp +++ b/src/060_Castle/Actor/ActorUnkCAST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCAST); -Actor *ActorProfileUnkCAST::Create() { +Actor* ActorProfileUnkCAST::Create() { return new(HeapIndex_2) ActorUnkCAST(); } diff --git a/src/060_Castle/Actor/ActorUnkCOMM.cpp b/src/060_Castle/Actor/ActorUnkCOMM.cpp index be19dcb81..5f3cc43bf 100644 --- a/src/060_Castle/Actor/ActorUnkCOMM.cpp +++ b/src/060_Castle/Actor/ActorUnkCOMM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCOMM); -Actor *ActorProfileUnkCOMM::Create() { +Actor* ActorProfileUnkCOMM::Create() { return new(HeapIndex_2) ActorUnkCOMM(); } diff --git a/src/060_Castle/Actor/ActorUnkKIMA.cpp b/src/060_Castle/Actor/ActorUnkKIMA.cpp index 7ad1dacc5..fb813f2b9 100644 --- a/src/060_Castle/Actor/ActorUnkKIMA.cpp +++ b/src/060_Castle/Actor/ActorUnkKIMA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKIMA); -Actor *ActorProfileUnkKIMA::Create() { +Actor* ActorProfileUnkKIMA::Create() { return new(HeapIndex_2) ActorUnkKIMA(); } diff --git a/src/060_Castle/Actor/ActorUnkOLDM.cpp b/src/060_Castle/Actor/ActorUnkOLDM.cpp index be7797668..e60849f3d 100644 --- a/src/060_Castle/Actor/ActorUnkOLDM.cpp +++ b/src/060_Castle/Actor/ActorUnkOLDM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkOLDM); -Actor *ActorProfileUnkOLDM::Create() { +Actor* ActorProfileUnkOLDM::Create() { return new(HeapIndex_2) ActorUnkOLDM(); } diff --git a/src/060_Castle/Actor/ActorUnkRMC0.cpp b/src/060_Castle/Actor/ActorUnkRMC0.cpp index 8a789eb41..db70f6ff5 100644 --- a/src/060_Castle/Actor/ActorUnkRMC0.cpp +++ b/src/060_Castle/Actor/ActorUnkRMC0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMC0); -Actor *ActorProfileUnkRMC0::Create() { +Actor* ActorProfileUnkRMC0::Create() { return new(HeapIndex_2) ActorUnkRMC0(); } diff --git a/src/060_Castle/Actor/ActorUnkRMC1.cpp b/src/060_Castle/Actor/ActorUnkRMC1.cpp index 5113240ff..88be30ab5 100644 --- a/src/060_Castle/Actor/ActorUnkRMC1.cpp +++ b/src/060_Castle/Actor/ActorUnkRMC1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMC1); -Actor *ActorProfileUnkRMC1::Create() { +Actor* ActorProfileUnkRMC1::Create() { return new(HeapIndex_2) ActorUnkRMC1(); } diff --git a/src/060_Castle/Actor/ActorUnkRMC2.cpp b/src/060_Castle/Actor/ActorUnkRMC2.cpp index fe8940e00..58e02c973 100644 --- a/src/060_Castle/Actor/ActorUnkRMC2.cpp +++ b/src/060_Castle/Actor/ActorUnkRMC2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMC2); -Actor *ActorProfileUnkRMC2::Create() { +Actor* ActorProfileUnkRMC2::Create() { return new(HeapIndex_2) ActorUnkRMC2(); } diff --git a/src/060_Castle/Actor/ActorUnkRMC3.cpp b/src/060_Castle/Actor/ActorUnkRMC3.cpp index 8f6cb76fa..300ec37d1 100644 --- a/src/060_Castle/Actor/ActorUnkRMC3.cpp +++ b/src/060_Castle/Actor/ActorUnkRMC3.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMC3); -Actor *ActorProfileUnkRMC3::Create() { +Actor* ActorProfileUnkRMC3::Create() { return new(HeapIndex_2) ActorUnkRMC3(); } diff --git a/src/060_Castle/Actor/ActorUnkRMC4.cpp b/src/060_Castle/Actor/ActorUnkRMC4.cpp index d8a1c1a9c..34d84be93 100644 --- a/src/060_Castle/Actor/ActorUnkRMC4.cpp +++ b/src/060_Castle/Actor/ActorUnkRMC4.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMC4); -Actor *ActorProfileUnkRMC4::Create() { +Actor* ActorProfileUnkRMC4::Create() { return new(HeapIndex_2) ActorUnkRMC4(); } diff --git a/src/060_Castle/Actor/ActorUnkRMC5.cpp b/src/060_Castle/Actor/ActorUnkRMC5.cpp index 3d778205a..8c261d81c 100644 --- a/src/060_Castle/Actor/ActorUnkRMC5.cpp +++ b/src/060_Castle/Actor/ActorUnkRMC5.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMC5); -Actor *ActorProfileUnkRMC5::Create() { +Actor* ActorProfileUnkRMC5::Create() { return new(HeapIndex_2) ActorUnkRMC5(); } diff --git a/src/060_Castle/Actor/ActorUnkRMC6.cpp b/src/060_Castle/Actor/ActorUnkRMC6.cpp index 2d7183c5d..9b0f4eff5 100644 --- a/src/060_Castle/Actor/ActorUnkRMC6.cpp +++ b/src/060_Castle/Actor/ActorUnkRMC6.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMC6); -Actor *ActorProfileUnkRMC6::Create() { +Actor* ActorProfileUnkRMC6::Create() { return new(HeapIndex_2) ActorUnkRMC6(); } diff --git a/src/060_Castle/Actor/ActorUnkSOGB_SOGC_SOLG.cpp b/src/060_Castle/Actor/ActorUnkSOGB_SOGC_SOLG.cpp index fc8ed23c5..6115f6e56 100644 --- a/src/060_Castle/Actor/ActorUnkSOGB_SOGC_SOLG.cpp +++ b/src/060_Castle/Actor/ActorUnkSOGB_SOGC_SOLG.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkSOGB); -Actor *ActorProfileUnkSOGB::Create() { +Actor* ActorProfileUnkSOGB::Create() { return new(HeapIndex_2) ActorUnkSOGB(); } @@ -20,7 +20,7 @@ ActorUnkSOGB::ActorUnkSOGB() {} DECL_PROFILE(ActorProfileUnkSOGC); -Actor *ActorProfileUnkSOGC::Create() { +Actor* ActorProfileUnkSOGC::Create() { return new(HeapIndex_2) ActorUnkSOGC(); } @@ -33,7 +33,7 @@ ActorUnkSOGC::ActorUnkSOGC() {} DECL_PROFILE(ActorProfileUnkSOLG); -Actor *ActorProfileUnkSOLG::Create() { +Actor* ActorProfileUnkSOLG::Create() { return new(HeapIndex_2) ActorUnkSOLG(); } diff --git a/src/060_Castle/Actor/ActorUnkSOLB_SOLC_SOLD.cpp b/src/060_Castle/Actor/ActorUnkSOLB_SOLC_SOLD.cpp index 3a1a21c57..0c005b462 100644 --- a/src/060_Castle/Actor/ActorUnkSOLB_SOLC_SOLD.cpp +++ b/src/060_Castle/Actor/ActorUnkSOLB_SOLC_SOLD.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkSOLB); -Actor *ActorProfileUnkSOLB::Create() { +Actor* ActorProfileUnkSOLB::Create() { return new(HeapIndex_2) ActorUnkSOLB(); } @@ -20,7 +20,7 @@ ActorUnkSOLB::ActorUnkSOLB() {} DECL_PROFILE(ActorProfileUnkSOLC); -Actor *ActorProfileUnkSOLC::Create() { +Actor* ActorProfileUnkSOLC::Create() { return new(HeapIndex_2) ActorUnkSOLC(); } @@ -33,7 +33,7 @@ ActorUnkSOLC::ActorUnkSOLC() {} DECL_PROFILE(ActorProfileUnkSOLD); -Actor *ActorProfileUnkSOLD::Create() { +Actor* ActorProfileUnkSOLD::Create() { return new(HeapIndex_2) ActorUnkSOLD(); } diff --git a/src/060_Castle/Actor/ActorUnkZLSN.cpp b/src/060_Castle/Actor/ActorUnkZLSN.cpp index d1fdacf84..adc4255ff 100644 --- a/src/060_Castle/Actor/ActorUnkZLSN.cpp +++ b/src/060_Castle/Actor/ActorUnkZLSN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkZLSN); -Actor *ActorProfileUnkZLSN::Create() { +Actor* ActorProfileUnkZLSN::Create() { return new(HeapIndex_2) ActorUnkZLSN(); } diff --git a/src/060_Castle/MapObject/MapObjectUnkDFNC.cpp b/src/060_Castle/MapObject/MapObjectUnkDFNC.cpp index 6318def4e..12db8805a 100644 --- a/src/060_Castle/MapObject/MapObjectUnkDFNC.cpp +++ b/src/060_Castle/MapObject/MapObjectUnkDFNC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDFNC); -MapObject *MapObjectProfileUnkDFNC::Create() { +MapObject* MapObjectProfileUnkDFNC::Create() { return new(HeapIndex_2) MapObjectUnkDFNC(); } diff --git a/src/060_Castle/MapObject/MapObjectUnkEXCT.cpp b/src/060_Castle/MapObject/MapObjectUnkEXCT.cpp index 3a46f3291..e1caeff91 100644 --- a/src/060_Castle/MapObject/MapObjectUnkEXCT.cpp +++ b/src/060_Castle/MapObject/MapObjectUnkEXCT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkEXCT); -MapObject *MapObjectProfileUnkEXCT::Create() { +MapObject* MapObjectProfileUnkEXCT::Create() { return new(HeapIndex_2) MapObjectUnkEXCT(); } diff --git a/src/060_Castle/MapObject/MapObjectUnkPLCT.cpp b/src/060_Castle/MapObject/MapObjectUnkPLCT.cpp index deb64a43f..14fbc90a2 100644 --- a/src/060_Castle/MapObject/MapObjectUnkPLCT.cpp +++ b/src/060_Castle/MapObject/MapObjectUnkPLCT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkPLCT); -MapObject *MapObjectProfileUnkPLCT::Create() { +MapObject* MapObjectProfileUnkPLCT::Create() { return new(HeapIndex_2) MapObjectUnkPLCT(); } diff --git a/src/061_CastleTown/Actor/ActorUnkCAMA_CAMB_CAMS.cpp b/src/061_CastleTown/Actor/ActorUnkCAMA_CAMB_CAMS.cpp index 410f962c5..d94662dec 100644 --- a/src/061_CastleTown/Actor/ActorUnkCAMA_CAMB_CAMS.cpp +++ b/src/061_CastleTown/Actor/ActorUnkCAMA_CAMB_CAMS.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkCAMA); -Actor *ActorProfileUnkCAMA::Create() { +Actor* ActorProfileUnkCAMA::Create() { return new(HeapIndex_2) ActorUnkCAMA(); } @@ -20,7 +20,7 @@ ActorUnkCAMA::ActorUnkCAMA() {} DECL_PROFILE(ActorProfileUnkCAMB); -Actor *ActorProfileUnkCAMB::Create() { +Actor* ActorProfileUnkCAMB::Create() { return new(HeapIndex_2) ActorUnkCAMB(); } @@ -33,7 +33,7 @@ ActorUnkCAMB::ActorUnkCAMB() {} DECL_PROFILE(ActorProfileUnkCAMS); -Actor *ActorProfileUnkCAMS::Create() { +Actor* ActorProfileUnkCAMS::Create() { return new(HeapIndex_2) ActorUnkCAMS(); } diff --git a/src/061_CastleTown/Actor/ActorUnkCAWA.cpp b/src/061_CastleTown/Actor/ActorUnkCAWA.cpp index 68cdd02dc..ffa3b058d 100644 --- a/src/061_CastleTown/Actor/ActorUnkCAWA.cpp +++ b/src/061_CastleTown/Actor/ActorUnkCAWA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCAWA); -Actor *ActorProfileUnkCAWA::Create() { +Actor* ActorProfileUnkCAWA::Create() { return new(HeapIndex_2) ActorUnkCAWA(); } diff --git a/src/061_CastleTown/Actor/ActorUnkFLCT.cpp b/src/061_CastleTown/Actor/ActorUnkFLCT.cpp index 258476961..bd1275f35 100644 --- a/src/061_CastleTown/Actor/ActorUnkFLCT.cpp +++ b/src/061_CastleTown/Actor/ActorUnkFLCT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFLCT); -Actor *ActorProfileUnkFLCT::Create() { +Actor* ActorProfileUnkFLCT::Create() { return new(HeapIndex_2) ActorUnkFLCT(); } diff --git a/src/061_CastleTown/Actor/ActorUnkJOLN.cpp b/src/061_CastleTown/Actor/ActorUnkJOLN.cpp index d45e7dd79..2d5570c3c 100644 --- a/src/061_CastleTown/Actor/ActorUnkJOLN.cpp +++ b/src/061_CastleTown/Actor/ActorUnkJOLN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkJOLN); -Actor *ActorProfileUnkJOLN::Create() { +Actor* ActorProfileUnkJOLN::Create() { return new(HeapIndex_2) ActorUnkJOLN(); } diff --git a/src/061_CastleTown/Actor/ActorUnkRMT0.cpp b/src/061_CastleTown/Actor/ActorUnkRMT0.cpp index 155ebc6b9..3674fb143 100644 --- a/src/061_CastleTown/Actor/ActorUnkRMT0.cpp +++ b/src/061_CastleTown/Actor/ActorUnkRMT0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMT0); -Actor *ActorProfileUnkRMT0::Create() { +Actor* ActorProfileUnkRMT0::Create() { return new(HeapIndex_2) ActorUnkRMT0(); } diff --git a/src/061_CastleTown/Actor/ActorUnkRMT1.cpp b/src/061_CastleTown/Actor/ActorUnkRMT1.cpp index 6894e6f1b..faa0d4f02 100644 --- a/src/061_CastleTown/Actor/ActorUnkRMT1.cpp +++ b/src/061_CastleTown/Actor/ActorUnkRMT1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMT1); -Actor *ActorProfileUnkRMT1::Create() { +Actor* ActorProfileUnkRMT1::Create() { return new(HeapIndex_2) ActorUnkRMT1(); } diff --git a/src/061_CastleTown/Actor/ActorUnkRMT2.cpp b/src/061_CastleTown/Actor/ActorUnkRMT2.cpp index 99101b80c..904806f58 100644 --- a/src/061_CastleTown/Actor/ActorUnkRMT2.cpp +++ b/src/061_CastleTown/Actor/ActorUnkRMT2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMT2); -Actor *ActorProfileUnkRMT2::Create() { +Actor* ActorProfileUnkRMT2::Create() { return new(HeapIndex_2) ActorUnkRMT2(); } diff --git a/src/061_CastleTown/Actor/ActorUnkRMT3.cpp b/src/061_CastleTown/Actor/ActorUnkRMT3.cpp index e8a23bd77..6d6bd93e4 100644 --- a/src/061_CastleTown/Actor/ActorUnkRMT3.cpp +++ b/src/061_CastleTown/Actor/ActorUnkRMT3.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMT3); -Actor *ActorProfileUnkRMT3::Create() { +Actor* ActorProfileUnkRMT3::Create() { return new(HeapIndex_2) ActorUnkRMT3(); } diff --git a/src/061_CastleTown/Actor/ActorUnkRMT4.cpp b/src/061_CastleTown/Actor/ActorUnkRMT4.cpp index 90e402a2e..637453179 100644 --- a/src/061_CastleTown/Actor/ActorUnkRMT4.cpp +++ b/src/061_CastleTown/Actor/ActorUnkRMT4.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMT4); -Actor *ActorProfileUnkRMT4::Create() { +Actor* ActorProfileUnkRMT4::Create() { return new(HeapIndex_2) ActorUnkRMT4(); } diff --git a/src/061_CastleTown/MapObject/MapObjectUnkDRTY.cpp b/src/061_CastleTown/MapObject/MapObjectUnkDRTY.cpp index bed2d3dd8..c54de4b33 100644 --- a/src/061_CastleTown/MapObject/MapObjectUnkDRTY.cpp +++ b/src/061_CastleTown/MapObject/MapObjectUnkDRTY.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRTY); -MapObject *MapObjectProfileUnkDRTY::Create() { +MapObject* MapObjectProfileUnkDRTY::Create() { return new(HeapIndex_2) MapObjectUnkDRTY(); } diff --git a/src/061_CastleTown/MapObject/MapObjectUnkFSCT.cpp b/src/061_CastleTown/MapObject/MapObjectUnkFSCT.cpp index ccbf48ff8..850f51904 100644 --- a/src/061_CastleTown/MapObject/MapObjectUnkFSCT.cpp +++ b/src/061_CastleTown/MapObject/MapObjectUnkFSCT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFSCT); -MapObject *MapObjectProfileUnkFSCT::Create() { +MapObject* MapObjectProfileUnkFSCT::Create() { return new(HeapIndex_2) MapObjectUnkFSCT(); } diff --git a/src/062_Village/Actor/ActorUnkFBCH.cpp b/src/062_Village/Actor/ActorUnkFBCH.cpp index cf00b9fd9..d70f9fed6 100644 --- a/src/062_Village/Actor/ActorUnkFBCH.cpp +++ b/src/062_Village/Actor/ActorUnkFBCH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFBCH); -Actor *ActorProfileUnkFBCH::Create() { +Actor* ActorProfileUnkFBCH::Create() { return new(HeapIndex_2) ActorUnkFBCH(); } diff --git a/src/062_Village/Actor/ActorUnkLBCK.cpp b/src/062_Village/Actor/ActorUnkLBCK.cpp index d454dca18..674126f23 100644 --- a/src/062_Village/Actor/ActorUnkLBCK.cpp +++ b/src/062_Village/Actor/ActorUnkLBCK.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkLBCK); -Actor *ActorProfileUnkLBCK::Create() { +Actor* ActorProfileUnkLBCK::Create() { return new(HeapIndex_2) ActorUnkLBCK(); } diff --git a/src/062_Village/Actor/ActorUnkMOCT.cpp b/src/062_Village/Actor/ActorUnkMOCT.cpp index 958c7db7d..5c4d7e28e 100644 --- a/src/062_Village/Actor/ActorUnkMOCT.cpp +++ b/src/062_Village/Actor/ActorUnkMOCT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMOCT); -Actor *ActorProfileUnkMOCT::Create() { +Actor* ActorProfileUnkMOCT::Create() { return new(HeapIndex_2) ActorUnkMOCT(); } diff --git a/src/062_Village/Actor/ActorUnkNCCB_NCMB.cpp b/src/062_Village/Actor/ActorUnkNCCB_NCMB.cpp index b4b68aaee..0e60896b2 100644 --- a/src/062_Village/Actor/ActorUnkNCCB_NCMB.cpp +++ b/src/062_Village/Actor/ActorUnkNCCB_NCMB.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkNCCB); -Actor *ActorProfileUnkNCCB::Create() { +Actor* ActorProfileUnkNCCB::Create() { return new(HeapIndex_2) ActorUnkNCCB(); } @@ -20,7 +20,7 @@ ActorUnkNCCB::ActorUnkNCCB() {} DECL_PROFILE(ActorProfileUnkNCMB); -Actor *ActorProfileUnkNCMB::Create() { +Actor* ActorProfileUnkNCMB::Create() { return new(HeapIndex_2) ActorUnkNCMB(); } diff --git a/src/062_Village/Actor/ActorUnkNCWA.cpp b/src/062_Village/Actor/ActorUnkNCWA.cpp index ed3f2810a..ebd733a08 100644 --- a/src/062_Village/Actor/ActorUnkNCWA.cpp +++ b/src/062_Village/Actor/ActorUnkNCWA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkNCWA); -Actor *ActorProfileUnkNCWA::Create() { +Actor* ActorProfileUnkNCWA::Create() { return new(HeapIndex_2) ActorUnkNCWA(); } diff --git a/src/062_Village/Actor/ActorUnkNICO.cpp b/src/062_Village/Actor/ActorUnkNICO.cpp index c574e17ab..13788e614 100644 --- a/src/062_Village/Actor/ActorUnkNICO.cpp +++ b/src/062_Village/Actor/ActorUnkNICO.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkNICO); -Actor *ActorProfileUnkNICO::Create() { +Actor* ActorProfileUnkNICO::Create() { return new(HeapIndex_2) ActorUnkNICO(); } diff --git a/src/062_Village/Actor/ActorUnkNSHD.cpp b/src/062_Village/Actor/ActorUnkNSHD.cpp index e99841a4b..7b6c8e3df 100644 --- a/src/062_Village/Actor/ActorUnkNSHD.cpp +++ b/src/062_Village/Actor/ActorUnkNSHD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkNSHD); -Actor *ActorProfileUnkNSHD::Create() { +Actor* ActorProfileUnkNSHD::Create() { return new(HeapIndex_2) ActorUnkNSHD(); } diff --git a/src/062_Village/Actor/ActorUnkRMBC.cpp b/src/062_Village/Actor/ActorUnkRMBC.cpp index e34c74cd0..91e1565fd 100644 --- a/src/062_Village/Actor/ActorUnkRMBC.cpp +++ b/src/062_Village/Actor/ActorUnkRMBC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMBC); -Actor *ActorProfileUnkRMBC::Create() { +Actor* ActorProfileUnkRMBC::Create() { return new(HeapIndex_2) ActorUnkRMBC(); } diff --git a/src/062_Village/Actor/ActorUnkRML0.cpp b/src/062_Village/Actor/ActorUnkRML0.cpp index 1b720d2ba..69330fad6 100644 --- a/src/062_Village/Actor/ActorUnkRML0.cpp +++ b/src/062_Village/Actor/ActorUnkRML0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRML0); -Actor *ActorProfileUnkRML0::Create() { +Actor* ActorProfileUnkRML0::Create() { return new(HeapIndex_2) ActorUnkRML0(); } diff --git a/src/062_Village/Actor/ActorUnkRML1.cpp b/src/062_Village/Actor/ActorUnkRML1.cpp index 61cee9d62..93cdbd9ff 100644 --- a/src/062_Village/Actor/ActorUnkRML1.cpp +++ b/src/062_Village/Actor/ActorUnkRML1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRML1); -Actor *ActorProfileUnkRML1::Create() { +Actor* ActorProfileUnkRML1::Create() { return new(HeapIndex_2) ActorUnkRML1(); } diff --git a/src/062_Village/Actor/ActorUnkRML2.cpp b/src/062_Village/Actor/ActorUnkRML2.cpp index ab34c2507..d330f41e5 100644 --- a/src/062_Village/Actor/ActorUnkRML2.cpp +++ b/src/062_Village/Actor/ActorUnkRML2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRML2); -Actor *ActorProfileUnkRML2::Create() { +Actor* ActorProfileUnkRML2::Create() { return new(HeapIndex_2) ActorUnkRML2(); } diff --git a/src/062_Village/Actor/ActorUnkRML3.cpp b/src/062_Village/Actor/ActorUnkRML3.cpp index b277c009f..9f143c4dd 100644 --- a/src/062_Village/Actor/ActorUnkRML3.cpp +++ b/src/062_Village/Actor/ActorUnkRML3.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRML3); -Actor *ActorProfileUnkRML3::Create() { +Actor* ActorProfileUnkRML3::Create() { return new(HeapIndex_2) ActorUnkRML3(); } diff --git a/src/062_Village/Actor/ActorUnkRMLF.cpp b/src/062_Village/Actor/ActorUnkRMLF.cpp index 637a4cc4e..983e5db56 100644 --- a/src/062_Village/Actor/ActorUnkRMLF.cpp +++ b/src/062_Village/Actor/ActorUnkRMLF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMLF); -Actor *ActorProfileUnkRMLF::Create() { +Actor* ActorProfileUnkRMLF::Create() { return new(HeapIndex_2) ActorUnkRMLF(); } diff --git a/src/062_Village/Actor/ActorUnkTSLB.cpp b/src/062_Village/Actor/ActorUnkTSLB.cpp index 92bce6e5e..b1de7dc5f 100644 --- a/src/062_Village/Actor/ActorUnkTSLB.cpp +++ b/src/062_Village/Actor/ActorUnkTSLB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTSLB); -Actor *ActorProfileUnkTSLB::Create() { +Actor* ActorProfileUnkTSLB::Create() { return new(HeapIndex_2) ActorUnkTSLB(); } diff --git a/src/062_Village/MapObject/MapObjectUnkFSFS.cpp b/src/062_Village/MapObject/MapObjectUnkFSFS.cpp index 0f8c9fa4a..a2375ec55 100644 --- a/src/062_Village/MapObject/MapObjectUnkFSFS.cpp +++ b/src/062_Village/MapObject/MapObjectUnkFSFS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFSFS); -MapObject *MapObjectProfileUnkFSFS::Create() { +MapObject* MapObjectProfileUnkFSFS::Create() { return new(HeapIndex_2) MapObjectUnkFSFS(); } diff --git a/src/062_Village/MapObject/MapObjectUnkGBDR.cpp b/src/062_Village/MapObject/MapObjectUnkGBDR.cpp index 67ba3ebd6..54cb18dfd 100644 --- a/src/062_Village/MapObject/MapObjectUnkGBDR.cpp +++ b/src/062_Village/MapObject/MapObjectUnkGBDR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkGBDR); -MapObject *MapObjectProfileUnkGBDR::Create() { +MapObject* MapObjectProfileUnkGBDR::Create() { return new(HeapIndex_2) MapObjectUnkGBDR(); } diff --git a/src/062_Village/MapObject/MapObjectUnkHOL0.cpp b/src/062_Village/MapObject/MapObjectUnkHOL0.cpp index bb2b13b6e..a4c58abbe 100644 --- a/src/062_Village/MapObject/MapObjectUnkHOL0.cpp +++ b/src/062_Village/MapObject/MapObjectUnkHOL0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkHOL0); -MapObject *MapObjectProfileUnkHOL0::Create() { +MapObject* MapObjectProfileUnkHOL0::Create() { return new(HeapIndex_2) MapObjectUnkHOL0(); } diff --git a/src/062_Village/MapObject/MapObjectUnkHOL1.cpp b/src/062_Village/MapObject/MapObjectUnkHOL1.cpp index 5279252bd..1acec5fb5 100644 --- a/src/062_Village/MapObject/MapObjectUnkHOL1.cpp +++ b/src/062_Village/MapObject/MapObjectUnkHOL1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkHOL1); -MapObject *MapObjectProfileUnkHOL1::Create() { +MapObject* MapObjectProfileUnkHOL1::Create() { return new(HeapIndex_2) MapObjectUnkHOL1(); } diff --git a/src/062_Village/MapObject/MapObjectUnkHOL2.cpp b/src/062_Village/MapObject/MapObjectUnkHOL2.cpp index 71eac87fa..5e8a449e7 100644 --- a/src/062_Village/MapObject/MapObjectUnkHOL2.cpp +++ b/src/062_Village/MapObject/MapObjectUnkHOL2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkHOL2); -MapObject *MapObjectProfileUnkHOL2::Create() { +MapObject* MapObjectProfileUnkHOL2::Create() { return new(HeapIndex_2) MapObjectUnkHOL2(); } diff --git a/src/062_Village/MapObject/MapObjectUnkHOLB.cpp b/src/062_Village/MapObject/MapObjectUnkHOLB.cpp index 80227f96c..0e1e1db66 100644 --- a/src/062_Village/MapObject/MapObjectUnkHOLB.cpp +++ b/src/062_Village/MapObject/MapObjectUnkHOLB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkHOLB); -MapObject *MapObjectProfileUnkHOLB::Create() { +MapObject* MapObjectProfileUnkHOLB::Create() { return new(HeapIndex_2) MapObjectUnkHOLB(); } diff --git a/src/062_Village/MapObject/MapObjectUnkHOSB.cpp b/src/062_Village/MapObject/MapObjectUnkHOSB.cpp index 6486ea454..598dcb2a3 100644 --- a/src/062_Village/MapObject/MapObjectUnkHOSB.cpp +++ b/src/062_Village/MapObject/MapObjectUnkHOSB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkHOSB); -MapObject *MapObjectProfileUnkHOSB::Create() { +MapObject* MapObjectProfileUnkHOSB::Create() { return new(HeapIndex_2) MapObjectUnkHOSB(); } diff --git a/src/063_Shrine/Actor/ActorLobarrier.cpp b/src/063_Shrine/Actor/ActorLobarrier.cpp index 3a351f862..1831e5fa7 100644 --- a/src/063_Shrine/Actor/ActorLobarrier.cpp +++ b/src/063_Shrine/Actor/ActorLobarrier.cpp @@ -82,7 +82,7 @@ static PTMF data_ov063_02162fb0[ActorLobarrierState_Max] = { &ActorLobarrier::func_ov063_02159ec0, // ActorLobarrierState_10 }; -Actor *ActorProfileLobarrier::Create() { +Actor* ActorProfileLobarrier::Create() { return new(HeapIndex_2) ActorLobarrier(); } @@ -92,16 +92,16 @@ ActorProfileLobarrier::ActorProfileLobarrier() : this->mUnk_04.Init(0xCCD); } -UnkStruct_ov063_02162ee8::UnkStruct_ov063_02162ee8(G3d_Model *pModel) : +UnkStruct_ov063_02162ee8::UnkStruct_ov063_02162ee8(G3d_Model* pModel) : UnkStruct_ov000_020b3268(pModel), mUnk_6C(ModelRenderBase::func_ov000_02057f40(data_ov063_02162528)), mUnk_70(ModelRenderBase::func_ov000_02057f18(data_ov063_02162538)), mUnk_74(ModelRenderBase::func_ov000_02057f18(data_ov063_02162548)) {} -UnkStruct_ov063_02162e88::UnkStruct_ov063_02162e88(ActorLobarrier *param1) : +UnkStruct_ov063_02162e88::UnkStruct_ov063_02162e88(ActorLobarrier* param1) : mUnk_20(param1) {} -unk32 UnkStruct_ov063_02162e88::vfunc_04(RefStruct param1, unk32 param2, unk32 param3, unk32 *param4) { +unk32 UnkStruct_ov063_02162e88::vfunc_04(RefStruct param1, unk32 param2, unk32 param3, unk32* param4) { unk32 ret1 = Actor_9C::vfunc_04(param1, param2, param3, param4); if (ret1 == 0) { @@ -113,7 +113,7 @@ unk32 UnkStruct_ov063_02162e88::vfunc_04(RefStruct param1, unk32 param2, unk32 p } if (this->mUnk_20->func_ov063_0215a56c((unk16) FX_Atan2Idx(param4[0], param4[2])) && param1.common.type != 0) { - ActorShotArrow *ret4 = (ActorShotArrow *) gpActorManager->func_01fff3b4(param1); + ActorShotArrow* ret4 = (ActorShotArrow*) gpActorManager->func_01fff3b4(param1); if (ret4 != NULL && ret4->GetActorId() == ActorId_ShotArrow) { u16 angle = this->mUnk_20->mAngle.angle_s; @@ -145,7 +145,7 @@ ActorLobarrier::ActorLobarrier() : mUnk_274(0), mUnk_270(FX_F32_TO_FX32(0.05f)) { SET_FLAG(mFlags, ActorFlag_6); - Actor_38 *actor_38 = (Actor_38 *) &mUnk_1F4; + Actor_38* actor_38 = (Actor_38*) &mUnk_1F4; mUnk_38 = actor_38; actor_38->mUnk_08 = 4; this->func_ov000_0209862c(4); @@ -162,10 +162,10 @@ bool ActorLobarrier::Init(unk32 param1) { this->mUnk_0B0.func_ov000_0209a7b8(this, (UnkSystem4_UnkCallback) ActorLobarrier::func_ov063_0215a678); RefStruct var; - ActorManager *actorManager = gpActorManager; + ActorManager* actorManager = gpActorManager; ActorLobarrierShield::func_ov063_0215acec(&var, this->mRef); - this->shield = (ActorLobarrierShield *) actorManager->func_01fff3b4(var); + this->shield = (ActorLobarrierShield*) actorManager->func_01fff3b4(var); return true; } @@ -174,10 +174,10 @@ void ActorLobarrier::Setup() { mUnk_26C = mUnk_5C.mInitialAngle; s16 var; - func_ov000_020986b4((s16 *) &var, this, 0); + func_ov000_020986b4((s16*) &var, this, 0); s16 r2_val = var; - s16 r3_val = *((volatile s16 *) &var); + s16 r3_val = *((volatile s16*) &var); var = r2_val - mUnk_26C; int iVar2 = (s16) (r3_val - (s16) (mUnk_26C - DEG_TO_ANG(180))); @@ -270,9 +270,9 @@ void ActorLobarrier::Update() { switch (mUnk_200.mUnk_1C) { case 12: if (var_r5 != 0) { - Actor *iVar6 = gpActorManager->func_01fff3b4(mUnk_200.mUnk_0C); + Actor* iVar6 = gpActorManager->func_01fff3b4(mUnk_200.mUnk_0C); if (iVar6 != NULL) { - ((ActorItemBoomerang *) iVar6)->func_ov031_020e49b0(0x8D70); + ((ActorItemBoomerang*) iVar6)->func_ov031_020e49b0(0x8D70); } if (mState != 4) { this->SetState(ActorLobarrierState_RisingShield); @@ -408,8 +408,8 @@ void ActorLobarrier::vfunc_2C(unk32 param1) { void ActorLobarrier::func_ov063_02158b0c() { this->shield = NULL; mUnk_38->mUnk_08 = 1; - mUnk_34 = (Sphere *) &data_ov063_02162e90; - mUnk_30 = (Sphere *) &data_ov063_02162e90; + mUnk_34 = (Sphere*) &data_ov063_02162e90; + mUnk_30 = (Sphere*) &data_ov063_02162e90; } void ActorLobarrier::func_ov063_02158b34() { @@ -460,7 +460,7 @@ void ActorLobarrier::func_ov063_02158db0() { } s16 sp0; - s16 *psp0 = (s16 *) &sp0; + s16* psp0 = (s16*) &sp0; func_ov000_020986b4(psp0, this, 0); fx16 val = ((mUnk_276 << 14) + mUnk_26C) - *psp0; @@ -522,7 +522,7 @@ void ActorLobarrier::func_ov063_02159100() { return; } - u16 *tmpArr = (u16 *) &mUnk_224.mUnk_08; + u16* tmpArr = (u16*) &mUnk_224.mUnk_08; if (tmpArr[0] < tmpArr[1]) { this->SetState(ActorLobarrierState_Stunned); return; @@ -743,7 +743,7 @@ void ActorLobarrier::func_ov063_02159ca8() { mVel.z = FX_F32_TO_FX32(0.0f); mUnk_270 = FX_F32_TO_FX32(0.0f); volatile u16 var; - func_ov000_020986b4((s16 *) &var, this, 0); + func_ov000_020986b4((s16*) &var, this, 0); var = (s16) var - mUnk_26C; if ((s16) var > 0) { @@ -793,7 +793,7 @@ void ActorLobarrier::func_ov063_02159e20() { vfunc_40(); mUnk_2C = 0; - *(s16 *) &mUnk_44 &= 0xFFDF; + *(s16*) &mUnk_44 &= 0xFFDF; mUnk_128.vfunc_1C(data_ov063_02163068[0], 0x1000, 0x19A, 0); @@ -819,7 +819,7 @@ void ActorLobarrier::func_ov063_02159ec0() { this->SetState(ActorLobarrierState_Stunned); - *(s16 *) &mUnk_44 |= 0x20; + *(s16*) &mUnk_44 |= 0x20; } bool ActorLobarrier::func_ov063_02159f3c(fx32 param1) const { @@ -827,7 +827,7 @@ bool ActorLobarrier::func_ov063_02159f3c(fx32 param1) const { VecFx32 sp4; s16 sp0; - func_ov000_020986b4(&sp0, (Actor *) this, 0); + func_ov000_020986b4(&sp0, (Actor*) this, 0); if (ABS((s16) (sp0 - this->mUnk_26C)) >= 0x4000) { return 0; @@ -846,7 +846,7 @@ bool ActorLobarrier::func_ov063_02159f3c(fx32 param1) const { bool ActorLobarrier::func_ov063_0215a0f0() const { s16 var1; - func_ov000_020986b4((s16 *) &var1, (Actor *) this, 0); + func_ov000_020986b4((s16*) &var1, (Actor*) this, 0); if (ABS((s16) (var1 - mUnk_26C)) >= DEG_TO_ANG(90)) { return false; @@ -854,8 +854,8 @@ bool ActorLobarrier::func_ov063_0215a0f0() const { s16 ret1 = FX_Atan2Idx(mUnk_23C.mUnk_08.x, mUnk_23C.mUnk_08.z); s16 var2; - s16 *pvar2 = (s16 *) &var2; - func_ov000_020986b4(pvar2, (Actor *) this, 0); + s16* pvar2 = (s16*) &var2; + func_ov000_020986b4(pvar2, (Actor*) this, 0); s16 val2 = (*pvar2 - ret1); if ((mUnk_46 & 0x3C) && ABS(val2) > DEG_TO_ANG(90)) { @@ -865,8 +865,8 @@ bool ActorLobarrier::func_ov063_0215a0f0() const { unk32 val3; if (!VecFx32_IsCleared(&this->mVel)) { s16 sp0; - s16 *psp0 = (s16 *) &sp0; - func_ov000_020986b4((s16 *) psp0, (Actor *) this, 0); + s16* psp0 = (s16*) &sp0; + func_ov000_020986b4((s16*) psp0, (Actor*) this, 0); s16 value = *psp0; unk32 ret2 = FX_Atan2Idx(mVel.x, mVel.z); @@ -881,12 +881,12 @@ bool ActorLobarrier::func_ov063_0215a0f0() const { sp4.x = mPos.x + FX_MUL(SIN(mUnk_26C), 0x4000); sp4.z = mPos.z + FX_MUL(COS(mUnk_26C), 0x4000); - return func_01ff9a5c(data_027e0ce0->func_01fff148(PlayerType_Link), (VecFx32 *) &this->mPos, &sp4) < 0x4CD; + return func_01ff9a5c(data_027e0ce0->func_01fff148(PlayerType_Link), (VecFx32*) &this->mPos, &sp4) < 0x4CD; } bool ActorLobarrier::func_ov063_0215a2c0() const { s16 var1; - func_ov000_020986b4((s16 *) &var1, (Actor *) this, 0); + func_ov000_020986b4((s16*) &var1, (Actor*) this, 0); if (ABS((s16) (var1 - mUnk_26C)) >= DEG_TO_ANG(90)) { return false; @@ -894,8 +894,8 @@ bool ActorLobarrier::func_ov063_0215a2c0() const { s16 ret1 = FX_Atan2Idx(mUnk_23C.mUnk_08.x, mUnk_23C.mUnk_08.z); s16 var2; - s16 *pvar2 = (s16 *) &var2; - func_ov000_020986b4(pvar2, (Actor *) this, 0); + s16* pvar2 = (s16*) &var2; + func_ov000_020986b4(pvar2, (Actor*) this, 0); s16 val2 = (*pvar2 - ret1); if ((mUnk_46 & 0x3C) && ABS(val2) > DEG_TO_ANG(90)) { @@ -910,16 +910,16 @@ bool ActorLobarrier::func_ov063_0215a2c0() const { #if IS_JP VecFx32 result = *data_027e0ce0->func_01fff148(PlayerType_Link); result.y = this->mPos.y; - fx32 ret = func_01ff9a5c(&result, (VecFx32 *) &mPos, &sp4); + fx32 ret = func_01ff9a5c(&result, (VecFx32*) &mPos, &sp4); #else - fx32 ret = func_01ff9a5c(data_027e0ce0->func_01fff148(PlayerType_Link), (VecFx32 *) &mPos, &sp4); + fx32 ret = func_01ff9a5c(data_027e0ce0->func_01fff148(PlayerType_Link), (VecFx32*) &mPos, &sp4); #endif return ret < 0xB33; } void ActorLobarrier::func_ov063_0215a428() { - Timer *pTimer = &this->mUnk_224.mUnk_08; + Timer* pTimer = &this->mUnk_224.mUnk_08; if (!pTimer->HasReachedMaxU()) { this->SetState(ActorLobarrierState_Stunned); @@ -934,7 +934,7 @@ unk32 ActorLobarrier::func_ov063_0215a474() { s16 var; VecFx32 stackVec; - func_ov000_020986b4((s16 *) &var, this, 0); + func_ov000_020986b4((s16*) &var, this, 0); s32 val = ABS((s16) (var - mAngle.angle_s)); if (val >= DEG_TO_ANG(90)) { @@ -943,7 +943,7 @@ unk32 ActorLobarrier::func_ov063_0215a474() { this->func_ov063_0215a5a0(&stackVec); - VecFx32 *otherVec = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* otherVec = data_027e0ce0->func_01fff148(PlayerType_Link); #if IS_JP unk32 ret; @@ -962,7 +962,7 @@ unk32 ActorLobarrier::func_ov063_0215a474() { unk32 ActorLobarrier::func_ov063_0215a514() { s16 var; - func_ov000_020986b4((s16 *) &var, this, 0); + func_ov000_020986b4((s16*) &var, this, 0); var = (volatile s16) var - mUnk_26C; return DEG_TO_ANG(105) + 1 < ABS(var); @@ -976,7 +976,7 @@ bool ActorLobarrier::func_ov063_0215a56c(unk32 param1) { return ABS((s16) (param1 - mAngle.angle_s)) >= DEG_TO_ANG(90); } -void ActorLobarrier::func_ov063_0215a5a0(VecFx32 *param1) const { +void ActorLobarrier::func_ov063_0215a5a0(VecFx32* param1) const { VecFx32_Copy(&this->mUnk_250, param1); } @@ -996,8 +996,8 @@ unk32 ActorLobarrier::func_ov063_0215a5d8() { return data_ov000_020aecfc[0]; } -void ActorLobarrier::vfunc_10(Sphere *param1) const { - Sphere *temp_r3 = this->mUnk_34; +void ActorLobarrier::vfunc_10(Sphere* param1) const { + Sphere* temp_r3 = this->mUnk_34; param1->center = temp_r3->center; param1->radius = temp_r3->radius; VEC_Add(¶m1->center, &this->mPos, ¶m1->center); @@ -1010,8 +1010,8 @@ void ActorLobarrier::vfunc_10(Sphere *param1) const { } } -void ActorLobarrier::func_ov063_0215a678(ActorLobarrier *actor, UnkStruct_func_ov063_0215a678 *param2) { - ModelRender *modelRender = param2->mUnk_04; +void ActorLobarrier::func_ov063_0215a678(ActorLobarrier* actor, UnkStruct_func_ov063_0215a678* param2) { + ModelRender* modelRender = param2->mUnk_04; if (actor->shield == NULL) { func_0200eab0(modelRender->mpModel, actor->mUnk_0B0.mUnk_6C, 0x00); @@ -1021,13 +1021,13 @@ void ActorLobarrier::func_ov063_0215a678(ActorLobarrier *actor, UnkStruct_func_o unk32 var2 = param2->mUnk_08 & 0x10 ? param2->mUnk_AE : -1; if (var2 == actor->mUnk_0B0.mUnk_70) { - if (((u8 *) &modelRender->mRenderObj.mUnk_1C)[1] == 2) { - param2->mUnk_92 = 3; - ((u8 *) &modelRender->mRenderObj.mUnk_1C)[1] = 3; + if (((u8*) &modelRender->mRenderObj.mUnk_1C)[1] == 2) { + param2->mUnk_92 = 3; + ((u8*) &modelRender->mRenderObj.mUnk_1C)[1] = 3; return; } - if (((u8 *) &modelRender->mRenderObj.mUnk_1C)[1] != 3) { + if (((u8*) &modelRender->mRenderObj.mUnk_1C)[1] != 3) { return; } @@ -1044,20 +1044,20 @@ void ActorLobarrier::func_ov063_0215a678(ActorLobarrier *actor, UnkStruct_func_o actor->mUnk_250.y = vec.y; actor->mUnk_250.z = vec.z; - param2->mUnk_92 = 2; - ((u8 *) &modelRender->mRenderObj.mUnk_1C)[1] = 2; + param2->mUnk_92 = 2; + ((u8*) &modelRender->mRenderObj.mUnk_1C)[1] = 2; return; } unk32 var3 = param2->mUnk_08 & 0x10 ? param2->mUnk_AE : -1; if (var3 == actor->mUnk_0B0.mUnk_74) { - if (((u8 *) &modelRender->mRenderObj.mUnk_1C)[1] == 2) { - param2->mUnk_92 = 3; - ((u8 *) &modelRender->mRenderObj.mUnk_1C)[1] = 3; + if (((u8*) &modelRender->mRenderObj.mUnk_1C)[1] == 2) { + param2->mUnk_92 = 3; + ((u8*) &modelRender->mRenderObj.mUnk_1C)[1] = 3; return; } - if (((u8 *) &modelRender->mRenderObj.mUnk_1C)[1] != 3) { + if (((u8*) &modelRender->mRenderObj.mUnk_1C)[1] != 3) { return; } @@ -1074,8 +1074,8 @@ void ActorLobarrier::func_ov063_0215a678(ActorLobarrier *actor, UnkStruct_func_o actor->mUnk_25C.y = vec.y; actor->mUnk_25C.z = vec.z; - param2->mUnk_92 = 2; - ((u8 *) &modelRender->mRenderObj.mUnk_1C)[1] = 2; + param2->mUnk_92 = 2; + ((u8*) &modelRender->mRenderObj.mUnk_1C)[1] = 2; } } @@ -1085,7 +1085,7 @@ UnkStruct_ov063_02162ea8::UnkStruct_ov063_02162ea8() { UnkStruct_ov063_02162ea8::~UnkStruct_ov063_02162ea8() {} -bool UnkStruct_ov063_02162ea8::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool UnkStruct_ov063_02162ea8::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { bool retVal = UnkStruct_ov031_Items_00::vfunc_08(param1, param2); if (retVal && func_01ff9258(param1->mUnk_08.x, param1->mUnk_08.z) > 0) { VecFx16_Copy2VecFx32(¶m1->mUnk_08, &mUnk_08); @@ -1093,13 +1093,13 @@ bool UnkStruct_ov063_02162ea8::vfunc_08(const UnkStruct_ov031_020f3310 *param1, return retVal; } -bool UnkStruct_ov063_02162ea8::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3, - const VecFx32 *param4) { +bool UnkStruct_ov063_02162ea8::vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4* param2, const VecFx32* param3, + const VecFx32* param4) { if (ref.moRef.unk_00_u16 & 0x1000) { MapObjRef moRef = ref.moRef; Vec2bCpp pos = moRef.GetUnk02(); - MapObject *mapObject = gpMapObjManager->func_01fff498(pos); + MapObject* mapObject = gpMapObjManager->func_01fff498(pos); if (mapObject != NULL) { MapObjectId id = mapObject->GetMapObjectId(); diff --git a/src/063_Shrine/Actor/ActorLobarrierShield.cpp b/src/063_Shrine/Actor/ActorLobarrierShield.cpp index de6a434e0..13b646a2a 100644 --- a/src/063_Shrine/Actor/ActorLobarrierShield.cpp +++ b/src/063_Shrine/Actor/ActorLobarrierShield.cpp @@ -62,7 +62,7 @@ static PTMF data_ov063_02163110[ActorLobarrierShieldState_ DECL_PROFILE(ActorProfileLobarrierShield); -Actor *ActorProfileLobarrierShield::Create() { +Actor* ActorProfileLobarrierShield::Create() { return new(HeapIndex_2) ActorLobarrierShield(); } @@ -72,18 +72,18 @@ ActorProfileLobarrierShield::ActorProfileLobarrierShield() : mUnk_04.radius = FX32_HALF; } -UnkStruct_ov063_021631a0::UnkStruct_ov063_021631a0(G3d_Model *pModel) : +UnkStruct_ov063_021631a0::UnkStruct_ov063_021631a0(G3d_Model* pModel) : UnkStruct_ov000_020b3268(pModel), mUnk_6C(this->ModelRender::func_ov000_02057f18(data_ov063_02162568)) {} -ActorLobarrierShield_150::ActorLobarrierShield_150(Actor *param1) : +ActorLobarrierShield_150::ActorLobarrierShield_150(Actor* param1) : Actor_C4(param1, 1) { mUnk_20 = param1; mUnk_04 = 1; } bool ActorLobarrierShield_150::vfunc_00(RefStruct ref, unk32 param2) { - ActorLobarrierShield *actor = (ActorLobarrierShield *) mUnk_20; + ActorLobarrierShield* actor = (ActorLobarrierShield*) mUnk_20; if (actor->mUnk_1F4 == 0) { bool cond = true; if ((u32) actor->mState != ActorLobarrierShieldState_LyingOnGround && @@ -103,26 +103,26 @@ bool ActorLobarrierShield_150::vfunc_00(RefStruct ref, unk32 param2) { } bool ActorLobarrierShield_150::vfunc_04() { - ((ActorLobarrierShield *) mUnk_20)->func_ov063_0215b854(); + ((ActorLobarrierShield*) mUnk_20)->func_ov063_0215b854(); return Actor_C4::vfunc_04(); } -void ActorLobarrierShield_150::vfunc_0C(VecFx32 *param1) { - ((ActorLobarrierShield *) mUnk_20)->func_ov063_0215b8e8(param1); +void ActorLobarrierShield_150::vfunc_0C(VecFx32* param1) { + ((ActorLobarrierShield*) mUnk_20)->func_ov063_0215b8e8(param1); Actor_C4::vfunc_0C(param1); } -ActorLobarrierShield_174::ActorLobarrierShield_174(Actor *param1) { +ActorLobarrierShield_174::ActorLobarrierShield_174(Actor* param1) { mUnk_04 = 0; mUnk_2C = param1; } -void ActorLobarrierShield_174::vfunc_10(const Actor *actor) { - ((ActorLobarrierShield *) mUnk_2C)->func_ov063_0215b724(); +void ActorLobarrierShield_174::vfunc_10(const Actor* actor) { + ((ActorLobarrierShield*) mUnk_2C)->func_ov063_0215b724(); this->UnkStruct_ov031_Items_01::vfunc_10(actor); } -void ActorLobarrierShield::func_ov063_0215acec(RefStruct *ref1, RefStruct ref2) { +void ActorLobarrierShield::func_ov063_0215acec(RefStruct* ref1, RefStruct ref2) { ActorParams params; params.mUnk_28 = 0; @@ -148,14 +148,14 @@ ActorLobarrierShield::ActorLobarrierShield() : mUnk_124.mUnk_04 = 0; SET_FLAG2(mUnk_124.mUnk_04, ActorFlag_13); mUnk_124.mUnk_24 = true; - mUnk_38 = (Actor_38 *) &mUnk_1E8; + mUnk_38 = (Actor_38*) &mUnk_1E8; mUnk_38->mUnk_08 = 4; mUnk_A8 = &data_ov063_02162558; } bool ActorLobarrierShield::Init(unk32 param1) { #pragma unused(param1) - this->lobarrier = (ActorLobarrier *) gpActorManager->func_01fff3b4(mUnk_5C.mUnk_28); + this->lobarrier = (ActorLobarrier*) gpActorManager->func_01fff3b4(mUnk_5C.mUnk_28); mUnk_0B0.func_ov000_02057c38(6, 2); mUnk_0B0.func_ov000_0209a7b8(this, (UnkSystem4_UnkCallback) ActorLobarrierShield::func_ov063_0215b99c); @@ -200,7 +200,7 @@ void ActorLobarrierShield::func_ov063_0215afa4() { } void ActorLobarrierShield::func_ov063_0215afb8() { - ActorUnkITWP *otherActor = (ActorUnkITWP *) gpActorManager->func_01fff3b4(mUnk_1E4); + ActorUnkITWP* otherActor = (ActorUnkITWP*) gpActorManager->func_01fff3b4(mUnk_1E4); if (otherActor == NULL) { this->SetState(ActorLobarrierShieldState_Releasing); return; @@ -221,7 +221,7 @@ void ActorLobarrierShield::func_ov063_0215b054() { mVel.x = mUnk_1D8.vec.x; mVel.y = FX_F32_TO_FX32(0.0f); mVel.z = mUnk_1D8.vec.z; - UNSET_FLAG2(*(s16 *) &mUnk_44, ActorFlag_5); + UNSET_FLAG2(*(s16*) &mUnk_44, ActorFlag_5); this->mTimer.Reset(); } @@ -321,7 +321,7 @@ void ActorLobarrierShield::Update() { this->mUnk_150.mUnk_0E.y = var_r6; this->mUnk_150.mUnk_0E.z = var_r5; - VecFx32 *var_r0 = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* var_r0 = data_027e0ce0->func_01fff148(PlayerType_Link); // probably a disabled debug print that still ends up messing the codegen (void) ((f32) this->lobarrier->mUnk_25C.z); @@ -344,7 +344,7 @@ void ActorLobarrierShield::Update() { this->mUnk_150.mUnk_0E.y = var_r6; this->mUnk_150.mUnk_0E.z = var_r5; - VecFx32 *var_r0 = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* var_r0 = data_027e0ce0->func_01fff148(PlayerType_Link); // same as above (void) ((f32) this->mUnk_1CC.vec.z); @@ -366,7 +366,7 @@ void ActorLobarrierShield::Update() { data_027e0d38->func_ov031_020d9c44(data_ov000_020aed00[0]); break; case 11: { - Actor *pActor = gpActorManager->func_01fff3b4(this->mUnk_124.mUnk_0C); + Actor* pActor = gpActorManager->func_01fff3b4(this->mUnk_124.mUnk_0C); if (pActor->GetActorId() == ActorId_RollingStone) { this->func_ov063_0215b724(); @@ -414,7 +414,7 @@ void ActorLobarrierShield::vfunc_2C(unk32 param1) { } } -void ActorLobarrierShield::func_ov063_0215b6c8(VecFx32 *param1, UnkAngleStruct angle) { +void ActorLobarrierShield::func_ov063_0215b6c8(VecFx32* param1, UnkAngleStruct angle) { VecFx32 vec = *param1; this->mPos.x = vec.x; @@ -436,7 +436,7 @@ void ActorLobarrierShield::func_ov063_0215b724() { data_027e09a8->func_ov000_02071b30(0x9865, &mPos, 0); } -void ActorLobarrierShield::vfunc_10(Sphere *param1) const { +void ActorLobarrierShield::vfunc_10(Sphere* param1) const { if (this->lobarrier != NULL) { this->lobarrier->vfunc_10(param1); return; @@ -457,7 +457,7 @@ void ActorLobarrierShield::func_ov063_0215b814(RefStruct ref) { void ActorLobarrierShield::func_ov063_0215b854(void) { if (this->lobarrier != NULL) { - ActorLobarrier *actorCans = this->lobarrier; + ActorLobarrier* actorCans = this->lobarrier; VecFx32 vec = actorCans->mPos; @@ -483,7 +483,7 @@ void ActorLobarrierShield::func_ov063_0215b854(void) { this->SetState(ActorLobarrierShieldState_Grabbed); } -void ActorLobarrierShield::func_ov063_0215b8e8(const VecFx32 *param1) { +void ActorLobarrierShield::func_ov063_0215b8e8(const VecFx32* param1) { if (this->lobarrier != NULL) { this->lobarrier->func_ov063_0215a428(); @@ -503,7 +503,7 @@ void ActorLobarrierShield::func_ov063_0215b8e8(const VecFx32 *param1) { mUnk_150.mUnk_04 = 0; #endif - mUnk_1D8.vec.x = *(vs32 *) ¶m1->x; + mUnk_1D8.vec.x = *(vs32*) ¶m1->x; mUnk_1D8.vec.y = param1->y; mUnk_1D8.vec.z = param1->z; @@ -511,7 +511,7 @@ void ActorLobarrierShield::func_ov063_0215b8e8(const VecFx32 *param1) { } } -void ActorLobarrierShield::func_ov063_0215b99c(ActorLobarrierShield *param1, UnkStruct_func_ov063_0215a678 *param2) { +void ActorLobarrierShield::func_ov063_0215b99c(ActorLobarrierShield* param1, UnkStruct_func_ov063_0215a678* param2) { unk32 var1; if ((param2->mUnk_08 & 0x10) != 0) { var1 = param2->mUnk_AE; @@ -519,7 +519,7 @@ void ActorLobarrierShield::func_ov063_0215b99c(ActorLobarrierShield *param1, Unk var1 = -1; } - u8 *var2 = ((u8 *) param2->mUnk_04); + u8* var2 = ((u8*) param2->mUnk_04); // Can probably use a ternary instead of var1 if (var1 != param1->mUnk_0B0.mUnk_6C) { diff --git a/src/063_Shrine/Actor/ActorUnkRBLS.cpp b/src/063_Shrine/Actor/ActorUnkRBLS.cpp index 04357b3c1..0147846d5 100644 --- a/src/063_Shrine/Actor/ActorUnkRBLS.cpp +++ b/src/063_Shrine/Actor/ActorUnkRBLS.cpp @@ -9,7 +9,7 @@ static G3d_AnimTag data_ov063_02163740 = {0, "RBLS", 0x00}; DECL_PROFILE(ActorProfileUnkRBLS); -Actor *ActorProfileUnkRBLS::Create() { +Actor* ActorProfileUnkRBLS::Create() { return new(HeapIndex_2) ActorUnkRBLS(); } diff --git a/src/063_Shrine/Actor/ActorUnkRMSD.cpp b/src/063_Shrine/Actor/ActorUnkRMSD.cpp index 321cdc471..39ed9065c 100644 --- a/src/063_Shrine/Actor/ActorUnkRMSD.cpp +++ b/src/063_Shrine/Actor/ActorUnkRMSD.cpp @@ -11,7 +11,7 @@ static G3d_AnimTag data_ov063_021634b0 = {0, "RMSD", 0x00}; DECL_PROFILE(ActorProfileUnkRMSD); -Actor *ActorProfileUnkRMSD::Create() { +Actor* ActorProfileUnkRMSD::Create() { return new(HeapIndex_2) ActorUnkRMSD(); } @@ -34,10 +34,10 @@ void ActorUnkRMSD::vfunc_24(void) { this->Update(); } -G3d_Model *ActorUnkRMSD::vfunc_54(void) { +G3d_Model* ActorUnkRMSD::vfunc_54(void) { return GetModelFromProfile3(&GET_PROFILE(ActorProfileUnkRMSD)->mUnk_3C, data_ov063_021625e8); } -G3d_Model *ActorUnkRMSD::vfunc_58(void) { +G3d_Model* ActorUnkRMSD::vfunc_58(void) { return GetModelFromProfile3(&GET_PROFILE(ActorProfileUnkRMSD)->mUnk_3C, data_ov063_021625d8); } diff --git a/src/063_Shrine/Actor/ActorUnkRMSF.cpp b/src/063_Shrine/Actor/ActorUnkRMSF.cpp index 682123dde..6037d2b1c 100644 --- a/src/063_Shrine/Actor/ActorUnkRMSF.cpp +++ b/src/063_Shrine/Actor/ActorUnkRMSF.cpp @@ -7,7 +7,7 @@ static const char data_ov063_021625b8[16] = "RMSF_wall"; DECL_PROFILE(ActorProfileUnkRMSF); -Actor *ActorProfileUnkRMSF::Create() { +Actor* ActorProfileUnkRMSF::Create() { return new(HeapIndex_2) ActorUnkRMSF(); } @@ -16,11 +16,11 @@ ActorProfileUnkRMSF::ActorProfileUnkRMSF() : ActorUnkRMSF::ActorUnkRMSF() {} -G3d_Model *ActorUnkRMSF::vfunc_54(void) { +G3d_Model* ActorUnkRMSF::vfunc_54(void) { return GetModelFromProfile3(&GET_PROFILE(ActorProfileUnkRMSF)->mUnk_3C, data_ov063_021625c8); } -G3d_Model *ActorUnkRMSF::vfunc_58(void) { +G3d_Model* ActorUnkRMSF::vfunc_58(void) { return GetModelFromProfile3(&GET_PROFILE(ActorProfileUnkRMSF)->mUnk_3C, data_ov063_021625b8); } diff --git a/src/063_Shrine/Actor/ActorUnkRMSS.cpp b/src/063_Shrine/Actor/ActorUnkRMSS.cpp index 6f0db824d..0ebb23eef 100644 --- a/src/063_Shrine/Actor/ActorUnkRMSS.cpp +++ b/src/063_Shrine/Actor/ActorUnkRMSS.cpp @@ -7,7 +7,7 @@ static const char data_ov063_021625f8[16] = "RMSS_wall"; DECL_PROFILE(ActorProfileUnkRMSS); -Actor *ActorProfileUnkRMSS::Create() { +Actor* ActorProfileUnkRMSS::Create() { return new(HeapIndex_2) ActorUnkRMSS(); } @@ -16,11 +16,11 @@ ActorProfileUnkRMSS::ActorProfileUnkRMSS() : ActorUnkRMSS::ActorUnkRMSS() {} -G3d_Model *ActorUnkRMSS::vfunc_54(void) { +G3d_Model* ActorUnkRMSS::vfunc_54(void) { return GetModelFromProfile3(&GET_PROFILE(ActorProfileUnkRMSS)->mUnk_3C, data_ov063_02162608); } -G3d_Model *ActorUnkRMSS::vfunc_58(void) { +G3d_Model* ActorUnkRMSS::vfunc_58(void) { return GetModelFromProfile3(&GET_PROFILE(ActorProfileUnkRMSS)->mUnk_3C, data_ov063_021625f8); } diff --git a/src/063_Shrine/Actor/ActorUnkRMSV.cpp b/src/063_Shrine/Actor/ActorUnkRMSV.cpp index 40c30d0d2..d7d187318 100644 --- a/src/063_Shrine/Actor/ActorUnkRMSV.cpp +++ b/src/063_Shrine/Actor/ActorUnkRMSV.cpp @@ -13,7 +13,7 @@ static G3d_AnimTag data_ov063_021632ac[] = {{0, "RMSV", 0x00}, {1, "RMSV", 0x00} DECL_PROFILE(ActorProfileUnkRMSV); -Actor *ActorProfileUnkRMSV::Create() { +Actor* ActorProfileUnkRMSV::Create() { return new(HeapIndex_2) ActorUnkRMSV(); } @@ -41,10 +41,10 @@ void ActorUnkRMSV::vfunc_24(void) { this->Update(); } -G3d_Model *ActorUnkRMSV::vfunc_54(void) { +G3d_Model* ActorUnkRMSV::vfunc_54(void) { return GetModelFromProfile3(&GET_PROFILE(ActorProfileUnkRMSV)->mUnk_3C, data_ov063_02162578); } -G3d_Model *ActorUnkRMSV::vfunc_58(void) { +G3d_Model* ActorUnkRMSV::vfunc_58(void) { return GetModelFromProfile3(&GET_PROFILE(ActorProfileUnkRMSV)->mUnk_3C, data_ov063_02162588); } diff --git a/src/063_Shrine/Actor/ActorUnkRMSW.cpp b/src/063_Shrine/Actor/ActorUnkRMSW.cpp index 1b98ee623..2ecaf3c6c 100644 --- a/src/063_Shrine/Actor/ActorUnkRMSW.cpp +++ b/src/063_Shrine/Actor/ActorUnkRMSW.cpp @@ -11,7 +11,7 @@ static G3d_AnimTag data_ov063_02163388 = {0, "RMSW", 0x00}; DECL_PROFILE(ActorProfileUnkRMSW); -Actor *ActorProfileUnkRMSW::Create() { +Actor* ActorProfileUnkRMSW::Create() { return new(HeapIndex_2) ActorUnkRMSW(); } @@ -35,10 +35,10 @@ void ActorUnkRMSW::vfunc_24(void) { this->Update(); } -G3d_Model *ActorUnkRMSW::vfunc_54(void) { +G3d_Model* ActorUnkRMSW::vfunc_54(void) { return GetModelFromProfile3(&GET_PROFILE(ActorProfileUnkRMSW)->mUnk_3C, data_ov063_021625a8); } -G3d_Model *ActorUnkRMSW::vfunc_58(void) { +G3d_Model* ActorUnkRMSW::vfunc_58(void) { return GetModelFromProfile3(&GET_PROFILE(ActorProfileUnkRMSW)->mUnk_3C, data_ov063_02162598); } diff --git a/src/063_Shrine/MapObject/MapObjectUnkLTRW.cpp b/src/063_Shrine/MapObject/MapObjectUnkLTRW.cpp index e25ec413e..f524cf2f7 100644 --- a/src/063_Shrine/MapObject/MapObjectUnkLTRW.cpp +++ b/src/063_Shrine/MapObject/MapObjectUnkLTRW.cpp @@ -32,7 +32,7 @@ const UnkStruct_data_ov063_021639c4 data_ov063_021639c4(0x10002); DECL_PROFILE(MapObjectProfileUnkLTRW); -MapObject *MapObjectProfileUnkLTRW::Create() { +MapObject* MapObjectProfileUnkLTRW::Create() { return new(HeapIndex_ITCM) MapObjectUnkLTRW(); } @@ -73,7 +73,7 @@ void MapObjectUnkLTRW::vfunc_14(unk32 param1) { mUnk_40.vfunc_18(&mPos); } -bool MapObjectUnkLTRW::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) { +bool MapObjectUnkLTRW::vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) { if (param2 == 0xD) { func_ov031_020e0f30(param1); return false; @@ -82,9 +82,9 @@ bool MapObjectUnkLTRW::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) } unk32 MapObjectUnkLTRW::vfunc_28(PlayerType playerType, unk32 param2, unk32 param3) { - unk16 *plocal_60; + unk16* plocal_60; unk16 local_60; - plocal_60 = (unk16 *) &local_60; + plocal_60 = (unk16*) &local_60; MapObject::func_ov000_0209d22c(plocal_60, this, playerType); diff --git a/src/063_Shrine/MapObject/MapObjectUnkMTJR.cpp b/src/063_Shrine/MapObject/MapObjectUnkMTJR.cpp index 2c544586b..2f3549935 100644 --- a/src/063_Shrine/MapObject/MapObjectUnkMTJR.cpp +++ b/src/063_Shrine/MapObject/MapObjectUnkMTJR.cpp @@ -12,7 +12,7 @@ DECL_PROFILE(MapObjectProfileUnkMTJR); -MapObject *MapObjectProfileUnkMTJR::Create() { +MapObject* MapObjectProfileUnkMTJR::Create() { return new(HeapIndex_ITCM) MapObjectUnkMTJR(); } @@ -69,7 +69,7 @@ void MapObjectUnkMTJR::vfunc_0C() { this->vfunc_08(); } -bool MapObjectUnkMTJR::vfunc_1C(RefStruct param1, unk32 param2, VecFx32 *param3) { +bool MapObjectUnkMTJR::vfunc_1C(RefStruct param1, unk32 param2, VecFx32* param3) { switch (param2) { case 13: this->func_ov063_02161254(1); diff --git a/src/063_Shrine/MapObject/MapObjectUnkSTAT.cpp b/src/063_Shrine/MapObject/MapObjectUnkSTAT.cpp index a5c028f4f..baf79eb9e 100644 --- a/src/063_Shrine/MapObject/MapObjectUnkSTAT.cpp +++ b/src/063_Shrine/MapObject/MapObjectUnkSTAT.cpp @@ -15,7 +15,7 @@ DECL_PROFILE(MapObjectProfileUnkSTAT); -MapObject *MapObjectProfileUnkSTAT::Create() { +MapObject* MapObjectProfileUnkSTAT::Create() { return new(HeapIndex_ITCM) MapObjectUnkSTAT(); } @@ -120,7 +120,7 @@ void MapObjectUnkSTAT::func_ov063_0215f7ac(void) { u16 counter = this->mUnk_5A.value; if (30 < counter && counter < 50) { u32 randomVal = gRandom.Next32(0x15); - s32 gRandomVal = ((u32 *) gRandom.mRandomValue)[0]; + s32 gRandomVal = ((u32*) gRandom.mRandomValue)[0]; func_02039d60(func_02039f04(randomVal - 10) * 0.004f, 0); fx32 z; @@ -133,7 +133,7 @@ void MapObjectUnkSTAT::func_ov063_0215f7ac(void) { } func_02039d60(func_02039f04(gRandom.Next32(0x15) - 10) * 0.004f, 0); - gRandomVal = ((u32 *) gRandom.mRandomValue)[0]; + gRandomVal = ((u32*) gRandom.mRandomValue)[0]; fx32 x; if (gRandomVal >= 0) { @@ -142,7 +142,7 @@ void MapObjectUnkSTAT::func_ov063_0215f7ac(void) { x = func_0203ad88(func_02039f04(gRandom.Next32(0x15) - 10) * 0.004f * 4096.0f, 0x3F000000); } - VecFx32_Init(x, 0, z, (VecFx32 *) &mUnk_60); + VecFx32_Init(x, 0, z, (VecFx32*) &mUnk_60); } } else { if (this->func_ov063_0215fce0()) { diff --git a/src/063_Shrine/MapObject/MapObjectUnkSWCR.cpp b/src/063_Shrine/MapObject/MapObjectUnkSWCR.cpp index fd5f189f5..dc0837262 100644 --- a/src/063_Shrine/MapObject/MapObjectUnkSWCR.cpp +++ b/src/063_Shrine/MapObject/MapObjectUnkSWCR.cpp @@ -24,7 +24,7 @@ extern MapObject_10 data_ov063_021649e8; DECL_PROFILE(MapObjectProfileUnkSWCR); -MapObject *MapObjectProfileUnkSWCR::Create() { +MapObject* MapObjectProfileUnkSWCR::Create() { return new(HeapIndex_ITCM) MapObjectUnkSWCR(); } @@ -40,19 +40,19 @@ MapObjectProfileUnkSWCR::MapObjectProfileUnkSWCR() : } // non-matching (regalloc) -MapObjectUnkSWCR_160::MapObjectUnkSWCR_160(MapObject *param1) : +MapObjectUnkSWCR_160::MapObjectUnkSWCR_160(MapObject* param1) : mUnk_04(param1) {} void MapObjectUnkSWCR_160::vfunc_00(void) { - ((MapObjectUnkSWCR *) mUnk_04)->func_ov063_0216153c(); + ((MapObjectUnkSWCR*) mUnk_04)->func_ov063_0216153c(); } bool MapObjectUnkSWCR_160::vfunc_04(void) { - return ((MapObjectUnkSWCR *) mUnk_04)->func_ov063_021615c4(); + return ((MapObjectUnkSWCR*) mUnk_04)->func_ov063_021615c4(); } void MapObjectUnkSWCR_160::vfunc_08(void) { - ((MapObjectUnkSWCR *) mUnk_04)->func_ov063_02161638(); + ((MapObjectUnkSWCR*) mUnk_04)->func_ov063_02161638(); } void MapObjectUnkSWCR::func_ov063_0216153c(void) { @@ -106,7 +106,7 @@ MapObjectUnkSWCR::MapObjectUnkSWCR() : mUnk_179(0) {} bool MapObjectUnkSWCR::Init(void) { - ActorProfile *profile = data_ov000_020b539c_eur.GetProfileFromId(ActorId_EFSB); + ActorProfile* profile = data_ov000_020b539c_eur.GetProfileFromId(ActorId_EFSB); if (profile != NULL) { profile->vfunc_08(); } @@ -143,7 +143,7 @@ bool MapObjectUnkSWCR::Init(void) { } void MapObjectUnkSWCR::Setup(void) { - UnkStruct_027e0cd8_0C_1D0 *ret = gpCourseManager->func_ov000_02082164(); + UnkStruct_027e0cd8_0C_1D0* ret = gpCourseManager->func_ov000_02082164(); if (ret != NULL) { ret->func_ov031_020d9314(0x03, &this->mUnk_160); diff --git a/src/063_Shrine/MapObject/MapObjectUnkWLMS.cpp b/src/063_Shrine/MapObject/MapObjectUnkWLMS.cpp index 20fc92d45..8b265892d 100644 --- a/src/063_Shrine/MapObject/MapObjectUnkWLMS.cpp +++ b/src/063_Shrine/MapObject/MapObjectUnkWLMS.cpp @@ -46,7 +46,7 @@ CellAnimObject data_ov063_0216458c; DECL_PROFILE(MapObjectProfileUnkWLMS); -MapObject *MapObjectProfileUnkWLMS::Create() { +MapObject* MapObjectProfileUnkWLMS::Create() { return new(HeapIndex_ITCM) MapObjectUnkWLMS(); } @@ -64,7 +64,7 @@ MapObjectProfileUnkWLMS::MapObjectProfileUnkWLMS() : SET_FLAG2(mUnk_1E, 0); } -UnkStruct_ov063_02163910::UnkStruct_ov063_02163910(Actor *param1) { +UnkStruct_ov063_02163910::UnkStruct_ov063_02163910(Actor* param1) { mUnk_04 = (unk32) param1; // TODO : refactor with type } @@ -75,16 +75,16 @@ struct UnkStruct_ov063_02163910_04 { }; void UnkStruct_ov063_02163910::vfunc2_00() { - void *ptr = mUnk_04p; + void* ptr = mUnk_04p; if (ptr != NULL) { - ptr = &((UnkStruct_ov063_02163910_04 *) mUnk_04p)->mUnk_40; + ptr = &((UnkStruct_ov063_02163910_04*) mUnk_04p)->mUnk_40; } - data_0204a088->func_ov000_020611dc((FileSelectManager_UnkDrawBase *) ptr, 7); + data_0204a088->func_ov000_020611dc((FileSelectManager_UnkDrawBase*) ptr, 7); } void UnkStruct_ov063_02163910::vfunc2_04() { - ((UnkStruct_ov063_02163910_04 *) mUnk_04p)->mUnk_44.Detach(); + ((UnkStruct_ov063_02163910_04*) mUnk_04p)->mUnk_44.Detach(); } MapObjectUnkWLMS::MapObjectUnkWLMS() : @@ -96,7 +96,7 @@ MapObjectUnkWLMS::MapObjectUnkWLMS() : #if IS_JP || IS_EUR1 mUnk_31F(false), #endif - mUnk_320((Actor *) this) // TODO : refactor with type + mUnk_320((Actor*) this) // TODO : refactor with type { mUnk_10 = GET_PROFILE_D4(MapObjectProfileUnkWLMS); mUnk_D0.mUnk_1C = 0x2000; @@ -220,12 +220,12 @@ void MapObjectUnkWLMS::func_ov063_02160254(void) { } unk16 index = 0; while (index < 8) { - unk32 *data_ov063_021638e8p = (unk32 *) &data_ov063_021638e8; - unk16 val1 = (((s16 *) &data_ov063_021638e8p[index])[0]) + ((s16 *) &data_ov063_021638c0)[0]; - unk16 val2 = (((s16 *) &data_ov063_021638e8p[index])[1]) + ((s16 *) &data_ov063_021638c0)[1]; + unk32* data_ov063_021638e8p = (unk32*) &data_ov063_021638e8; + unk16 val1 = (((s16*) &data_ov063_021638e8p[index])[0]) + ((s16*) &data_ov063_021638c0)[0]; + unk16 val2 = (((s16*) &data_ov063_021638e8p[index])[1]) + ((s16*) &data_ov063_021638c0)[1]; - unk16 c = ((s16 *) &data_ov063_021638c0)[2], d = ((s16 *) &data_ov063_021638c0)[3]; - if (ABS(val1 - *(unk16 *) &((MapObjectUnkWLMS *) &data_ov063_021638c0)->mUnk_2F4.mState) <= c && + unk16 c = ((s16*) &data_ov063_021638c0)[2], d = ((s16*) &data_ov063_021638c0)[3]; + if (ABS(val1 - *(unk16*) &((MapObjectUnkWLMS*) &data_ov063_021638c0)->mUnk_2F4.mState) <= c && ABS(val2 - mUnk_2F4.mState.touchPos.y) <= d) { if (mUnk_316 < 0) { mUnk_316 = index; @@ -239,8 +239,8 @@ void MapObjectUnkWLMS::func_ov063_02160254(void) { if (index != mUnk_316) { mUnk_318 = index; data_ov000_020b5214_eur.func_ov000_0206db44(0x9B); - unk16 *cmp_target = - ((unk16 *) (mUnk_D0.mUnk_10.mUnk_00 + (mUnk_D0.mUnk_10.mUnk_04 - mUnk_D0.mUnk_10.mUnk_00))) - 2; + unk16* cmp_target = + ((unk16*) (mUnk_D0.mUnk_10.mUnk_00 + (mUnk_D0.mUnk_10.mUnk_04 - mUnk_D0.mUnk_10.mUnk_00))) - 2; if (mUnk_2F4.mState.touchPos.x != cmp_target[0] || mUnk_2F4.mState.touchPos.y != cmp_target[1]) { func_ov000_0205b1d8(&mUnk_D0.mUnk_10, &mUnk_2F4.mState.touchPos.x); } @@ -339,22 +339,22 @@ void MapObjectUnkWLMS::vfunc_14(unk32 param1) { if (mState == 4 || mState == 5) { if (mUnk_D0.mUnk_10.mUnk_04 - mUnk_D0.mUnk_10.mUnk_00 != 0) { - data_027e0954->mUnk_00[1].mUnk_04.Prepend((UnkStruct_ov000_020b1c10 *) &mUnk_D0); + data_027e0954->mUnk_00[1].mUnk_04.Prepend((UnkStruct_ov000_020b1c10*) &mUnk_D0); } } } // non-matching -void MapObjectUnkWLMS::vfunc_18(s8 *param1) { +void MapObjectUnkWLMS::vfunc_18(s8* param1) { if (param1[0] != 0 && param1[1] != 0) { return; } - for (unk16 *ptr = &mUnk_316; ptr < (unk16 *) &mUnk_31C; ++ptr) { + for (unk16* ptr = &mUnk_316; ptr < (unk16*) &mUnk_31C; ++ptr) { unk16 val = *ptr; if (val >= 0) { - u16 temp_x = (&data_ov063_021638e8)[val] + ((s16 *) &data_ov063_021638c0)[0]; - u16 temp_y = (&data_ov063_021638e8)[val] + ((s16 *) &data_ov063_021638c0)[1]; + u16 temp_x = (&data_ov063_021638e8)[val] + ((s16*) &data_ov063_021638c0)[0]; + u16 temp_y = (&data_ov063_021638e8)[val] + ((s16*) &data_ov063_021638c0)[1]; u16 stack[2] = {temp_x, temp_y}; if (ptr == &mUnk_316 || ptr == &mUnk_31A) { diff --git a/src/064_FldForest/Actor/ActorUnkFOMD.cpp b/src/064_FldForest/Actor/ActorUnkFOMD.cpp index 83b0eaba9..b6483cbb7 100644 --- a/src/064_FldForest/Actor/ActorUnkFOMD.cpp +++ b/src/064_FldForest/Actor/ActorUnkFOMD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFOMD); -Actor *ActorProfileUnkFOMD::Create() { +Actor* ActorProfileUnkFOMD::Create() { return new(HeapIndex_2) ActorUnkFOMD(); } diff --git a/src/064_FldForest/Actor/ActorUnkRMF0.cpp b/src/064_FldForest/Actor/ActorUnkRMF0.cpp index ff910dde9..e897628c2 100644 --- a/src/064_FldForest/Actor/ActorUnkRMF0.cpp +++ b/src/064_FldForest/Actor/ActorUnkRMF0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMF0); -Actor *ActorProfileUnkRMF0::Create() { +Actor* ActorProfileUnkRMF0::Create() { return new(HeapIndex_2) ActorUnkRMF0(); } diff --git a/src/064_FldForest/Actor/ActorUnkRMF1.cpp b/src/064_FldForest/Actor/ActorUnkRMF1.cpp index fe5a19672..3008de674 100644 --- a/src/064_FldForest/Actor/ActorUnkRMF1.cpp +++ b/src/064_FldForest/Actor/ActorUnkRMF1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMF1); -Actor *ActorProfileUnkRMF1::Create() { +Actor* ActorProfileUnkRMF1::Create() { return new(HeapIndex_2) ActorUnkRMF1(); } diff --git a/src/064_FldForest/Actor/ActorUnkRMTZ.cpp b/src/064_FldForest/Actor/ActorUnkRMTZ.cpp index 2072e5df3..04dd54343 100644 --- a/src/064_FldForest/Actor/ActorUnkRMTZ.cpp +++ b/src/064_FldForest/Actor/ActorUnkRMTZ.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMTZ); -Actor *ActorProfileUnkRMTZ::Create() { +Actor* ActorProfileUnkRMTZ::Create() { return new(HeapIndex_2) ActorUnkRMTZ(); } diff --git a/src/064_FldForest/MapObject/MapObjectUnkFSFR.cpp b/src/064_FldForest/MapObject/MapObjectUnkFSFR.cpp index 782bdc120..396a93d1d 100644 --- a/src/064_FldForest/MapObject/MapObjectUnkFSFR.cpp +++ b/src/064_FldForest/MapObject/MapObjectUnkFSFR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFSFR); -MapObject *MapObjectProfileUnkFSFR::Create() { +MapObject* MapObjectProfileUnkFSFR::Create() { return new(HeapIndex_2) MapObjectUnkFSFR(); } diff --git a/src/064_FldForest/MapObject/MapObjectUnkHOF0.cpp b/src/064_FldForest/MapObject/MapObjectUnkHOF0.cpp index 44a9d60c0..c08b415bd 100644 --- a/src/064_FldForest/MapObject/MapObjectUnkHOF0.cpp +++ b/src/064_FldForest/MapObject/MapObjectUnkHOF0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkHOF0); -MapObject *MapObjectProfileUnkHOF0::Create() { +MapObject* MapObjectProfileUnkHOF0::Create() { return new(HeapIndex_2) MapObjectUnkHOF0(); } diff --git a/src/064_FldForest/MapObject/MapObjectUnkHOF1.cpp b/src/064_FldForest/MapObject/MapObjectUnkHOF1.cpp index 5a3096a48..496fc400e 100644 --- a/src/064_FldForest/MapObject/MapObjectUnkHOF1.cpp +++ b/src/064_FldForest/MapObject/MapObjectUnkHOF1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkHOF1); -MapObject *MapObjectProfileUnkHOF1::Create() { +MapObject* MapObjectProfileUnkHOF1::Create() { return new(HeapIndex_2) MapObjectUnkHOF1(); } diff --git a/src/064_FldForest/MapObject/MapObjectUnkLEVN.cpp b/src/064_FldForest/MapObject/MapObjectUnkLEVN.cpp index da82f9441..46478c572 100644 --- a/src/064_FldForest/MapObject/MapObjectUnkLEVN.cpp +++ b/src/064_FldForest/MapObject/MapObjectUnkLEVN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkLEVN); -MapObject *MapObjectProfileUnkLEVN::Create() { +MapObject* MapObjectProfileUnkLEVN::Create() { return new(HeapIndex_2) MapObjectUnkLEVN(); } diff --git a/src/065_FldSnow/Actor/ActorUnkRMS0.cpp b/src/065_FldSnow/Actor/ActorUnkRMS0.cpp index 8c4d971f5..4fbeb852a 100644 --- a/src/065_FldSnow/Actor/ActorUnkRMS0.cpp +++ b/src/065_FldSnow/Actor/ActorUnkRMS0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMS0); -Actor *ActorProfileUnkRMS0::Create() { +Actor* ActorProfileUnkRMS0::Create() { return new(HeapIndex_2) ActorUnkRMS0(); } diff --git a/src/065_FldSnow/Actor/ActorUnkRMS1.cpp b/src/065_FldSnow/Actor/ActorUnkRMS1.cpp index a295074d4..5637fd373 100644 --- a/src/065_FldSnow/Actor/ActorUnkRMS1.cpp +++ b/src/065_FldSnow/Actor/ActorUnkRMS1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMS1); -Actor *ActorProfileUnkRMS1::Create() { +Actor* ActorProfileUnkRMS1::Create() { return new(HeapIndex_2) ActorUnkRMS1(); } diff --git a/src/065_FldSnow/Actor/ActorUnkRMS2.cpp b/src/065_FldSnow/Actor/ActorUnkRMS2.cpp index 7a576ab37..4422608b0 100644 --- a/src/065_FldSnow/Actor/ActorUnkRMS2.cpp +++ b/src/065_FldSnow/Actor/ActorUnkRMS2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMS2); -Actor *ActorProfileUnkRMS2::Create() { +Actor* ActorProfileUnkRMS2::Create() { return new(HeapIndex_2) ActorUnkRMS2(); } diff --git a/src/065_FldSnow/Actor/ActorUnkRMS3.cpp b/src/065_FldSnow/Actor/ActorUnkRMS3.cpp index fde39aa78..83c1b69cd 100644 --- a/src/065_FldSnow/Actor/ActorUnkRMS3.cpp +++ b/src/065_FldSnow/Actor/ActorUnkRMS3.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMS3); -Actor *ActorProfileUnkRMS3::Create() { +Actor* ActorProfileUnkRMS3::Create() { return new(HeapIndex_2) ActorUnkRMS3(); } diff --git a/src/065_FldSnow/Actor/ActorUnkRMS4.cpp b/src/065_FldSnow/Actor/ActorUnkRMS4.cpp index a8552e831..ac4cec62f 100644 --- a/src/065_FldSnow/Actor/ActorUnkRMS4.cpp +++ b/src/065_FldSnow/Actor/ActorUnkRMS4.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMS4); -Actor *ActorProfileUnkRMS4::Create() { +Actor* ActorProfileUnkRMS4::Create() { return new(HeapIndex_2) ActorUnkRMS4(); } diff --git a/src/065_FldSnow/Actor/ActorUnkRMS5.cpp b/src/065_FldSnow/Actor/ActorUnkRMS5.cpp index 64dbf192a..3bec598bd 100644 --- a/src/065_FldSnow/Actor/ActorUnkRMS5.cpp +++ b/src/065_FldSnow/Actor/ActorUnkRMS5.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMS5); -Actor *ActorProfileUnkRMS5::Create() { +Actor* ActorProfileUnkRMS5::Create() { return new(HeapIndex_2) ActorUnkRMS5(); } diff --git a/src/065_FldSnow/Actor/ActorUnkRMTE.cpp b/src/065_FldSnow/Actor/ActorUnkRMTE.cpp index ba7f9ba89..bfe23307a 100644 --- a/src/065_FldSnow/Actor/ActorUnkRMTE.cpp +++ b/src/065_FldSnow/Actor/ActorUnkRMTE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMTE); -Actor *ActorProfileUnkRMTE::Create() { +Actor* ActorProfileUnkRMTE::Create() { return new(HeapIndex_2) ActorUnkRMTE(); } diff --git a/src/065_FldSnow/Actor/ActorUnkYUKI.cpp b/src/065_FldSnow/Actor/ActorUnkYUKI.cpp index 5c9d6680a..c71800d67 100644 --- a/src/065_FldSnow/Actor/ActorUnkYUKI.cpp +++ b/src/065_FldSnow/Actor/ActorUnkYUKI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkYUKI); -Actor *ActorProfileUnkYUKI::Create() { +Actor* ActorProfileUnkYUKI::Create() { return new(HeapIndex_2) ActorUnkYUKI(); } diff --git a/src/065_FldSnow/Actor/ActorUnkYWIS.cpp b/src/065_FldSnow/Actor/ActorUnkYWIS.cpp index 08946e63d..d9519978f 100644 --- a/src/065_FldSnow/Actor/ActorUnkYWIS.cpp +++ b/src/065_FldSnow/Actor/ActorUnkYWIS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkYWIS); -Actor *ActorProfileUnkYWIS::Create() { +Actor* ActorProfileUnkYWIS::Create() { return new(HeapIndex_2) ActorUnkYWIS(); } diff --git a/src/065_FldSnow/MapObject/MapObjectUnkHOSO.cpp b/src/065_FldSnow/MapObject/MapObjectUnkHOSO.cpp index a785e0b41..e861e2735 100644 --- a/src/065_FldSnow/MapObject/MapObjectUnkHOSO.cpp +++ b/src/065_FldSnow/MapObject/MapObjectUnkHOSO.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkHOSO); -MapObject *MapObjectProfileUnkHOSO::Create() { +MapObject* MapObjectProfileUnkHOSO::Create() { return new(HeapIndex_2) MapObjectUnkHOSO(); } diff --git a/src/065_FldSnow/MapObject/MapObjectUnkMTIC.cpp b/src/065_FldSnow/MapObject/MapObjectUnkMTIC.cpp index 5cdf92f6f..a9a88d300 100644 --- a/src/065_FldSnow/MapObject/MapObjectUnkMTIC.cpp +++ b/src/065_FldSnow/MapObject/MapObjectUnkMTIC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMTIC); -MapObject *MapObjectProfileUnkMTIC::Create() { +MapObject* MapObjectProfileUnkMTIC::Create() { return new(HeapIndex_2) MapObjectUnkMTIC(); } diff --git a/src/065_FldSnow/MapObject/MapObjectUnkTSGM.cpp b/src/065_FldSnow/MapObject/MapObjectUnkTSGM.cpp index da4cb9917..13918336c 100644 --- a/src/065_FldSnow/MapObject/MapObjectUnkTSGM.cpp +++ b/src/065_FldSnow/MapObject/MapObjectUnkTSGM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTSGM); -MapObject *MapObjectProfileUnkTSGM::Create() { +MapObject* MapObjectProfileUnkTSGM::Create() { return new(HeapIndex_2) MapObjectUnkTSGM(); } diff --git a/src/066_FldWater/Actor/ActorUnkRMW0.cpp b/src/066_FldWater/Actor/ActorUnkRMW0.cpp index 2ba5e6c25..87b9ba32a 100644 --- a/src/066_FldWater/Actor/ActorUnkRMW0.cpp +++ b/src/066_FldWater/Actor/ActorUnkRMW0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMW0); -Actor *ActorProfileUnkRMW0::Create() { +Actor* ActorProfileUnkRMW0::Create() { return new(HeapIndex_2) ActorUnkRMW0(); } diff --git a/src/066_FldWater/Actor/ActorUnkRMW1.cpp b/src/066_FldWater/Actor/ActorUnkRMW1.cpp index e4eea9d7a..ac7f30268 100644 --- a/src/066_FldWater/Actor/ActorUnkRMW1.cpp +++ b/src/066_FldWater/Actor/ActorUnkRMW1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMW1); -Actor *ActorProfileUnkRMW1::Create() { +Actor* ActorProfileUnkRMW1::Create() { return new(HeapIndex_2) ActorUnkRMW1(); } diff --git a/src/066_FldWater/Actor/ActorUnkSWHI.cpp b/src/066_FldWater/Actor/ActorUnkSWHI.cpp index b0457eb62..dcc297fff 100644 --- a/src/066_FldWater/Actor/ActorUnkSWHI.cpp +++ b/src/066_FldWater/Actor/ActorUnkSWHI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSWHI); -Actor *ActorProfileUnkSWHI::Create() { +Actor* ActorProfileUnkSWHI::Create() { return new(HeapIndex_2) ActorUnkSWHI(); } diff --git a/src/066_FldWater/Actor/ActorUnkVCCH.cpp b/src/066_FldWater/Actor/ActorUnkVCCH.cpp index d97294f08..67b7af74e 100644 --- a/src/066_FldWater/Actor/ActorUnkVCCH.cpp +++ b/src/066_FldWater/Actor/ActorUnkVCCH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkVCCH); -Actor *ActorProfileUnkVCCH::Create() { +Actor* ActorProfileUnkVCCH::Create() { return new(HeapIndex_2) ActorUnkVCCH(); } diff --git a/src/066_FldWater/Actor/ActorUnkVCFT.cpp b/src/066_FldWater/Actor/ActorUnkVCFT.cpp index 288820b29..3861c5be2 100644 --- a/src/066_FldWater/Actor/ActorUnkVCFT.cpp +++ b/src/066_FldWater/Actor/ActorUnkVCFT.cpp @@ -974,7 +974,7 @@ static u16 data_ov066_02161d60[] = {0x30D0, 0x30B0, 0x0000, 0x0000}; DECL_PROFILE(ActorProfileUnkVCFT); -Actor *ActorProfileUnkVCFT::Create() { +Actor* ActorProfileUnkVCFT::Create() { return new(HeapIndex_2) ActorUnkVCFT(); } @@ -986,7 +986,7 @@ ActorProfileUnkVCFT::ActorProfileUnkVCFT() : this->vfunc_04()->mUnk_15 = 1; } -ActorUnkVCFT_328::ActorUnkVCFT_328(ActorUnkVCFT *pActor) : +ActorUnkVCFT_328::ActorUnkVCFT_328(ActorUnkVCFT* pActor) : ActorUnkVCFT_328_Base(data_ov066_0216080c), mUnk_34(pActor), mUnk_38(1), @@ -1642,7 +1642,7 @@ bool ActorUnkVCFT_328::vfunc_08(void) { return true; } -void ActorUnkVCFT_328::func_ov066_0215ac68(UnkDataStruct5 *param1) { +void ActorUnkVCFT_328::func_ov066_0215ac68(UnkDataStruct5* param1) { this->mUnk_30 = param1; } @@ -1667,7 +1667,7 @@ ActorUnkVCFT::ActorUnkVCFT() : unk32 ActorUnkVCFT::vfunc_7C(unk32 param1) { UnkStackStruct2 sp0; - UnkStruct_ov000_020b504c_28 *temp_r0; + UnkStruct_ov000_020b504c_28* temp_r0; switch (param1) { case 0: @@ -1787,9 +1787,9 @@ unk32 ActorUnkVCFT::vfunc_7C(unk32 param1) { data_027e09bc->mUnk_04[1][0]->func_ov000_0207834c(&this->mPos, &sp0, 0); temp_r0 = data_ov000_020b504c.func_ov000_02067bc4(0); - temp_r0->mUnk_08->mUnk_020.mCellAnim.unk_34 = (void *) 0xC; + temp_r0->mUnk_08->mUnk_020.mCellAnim.unk_34 = (void*) 0xC; temp_r0->mUnk_08->mUnk_020.mCellAnim.unk_38 = 1; - temp_r0->mUnk_08->mUnk_020.mCellAnim.animCtrl.unk_1C = (void *) UnkMsgDataStruct1::func_ov066_0215b2f4; + temp_r0->mUnk_08->mUnk_020.mCellAnim.animCtrl.unk_1C = (void*) UnkMsgDataStruct1::func_ov066_0215b2f4; break; case 3: GetAdventureModeManager()->func_ov024_020c6a48(4, 1); @@ -1835,18 +1835,18 @@ unk32 ActorUnkVCFT::vfunc_7C(unk32 param1) { return 1; } -void UnkMsgDataStruct1::func_ov066_0215b2f4(UnkMsgDataStruct1 *thisx, s32 param2) { +void UnkMsgDataStruct1::func_ov066_0215b2f4(UnkMsgDataStruct1* thisx, s32 param2) { UnkStruct_ov000_020b3000 sp4(ActorId_VCFT); - Actor **temp_r0 = gpActorManager->func_01fff350(&sp4, gpActorManager->mActorTable); + Actor** temp_r0 = gpActorManager->func_01fff350(&sp4, gpActorManager->mActorTable); - ActorUnkVCFT *var_r3 = NULL; + ActorUnkVCFT* var_r3 = NULL; if (temp_r0 != gpActorManager->mUnk_08) { RefStruct ref = (*temp_r0)->mRef; - var_r3 = (ActorUnkVCFT *) gpActorManager->func_01fff3b4(ref); + var_r3 = (ActorUnkVCFT*) gpActorManager->func_01fff3b4(ref); } - UnkStruct_ov000_020b504c_Sub3 *ptr = data_ov000_020b504c.mUnk_000; + UnkStruct_ov000_020b504c_Sub3* ptr = data_ov000_020b504c.mUnk_000; //! @bug: `var_r3` can be NULL switch (param2) { @@ -1943,8 +1943,8 @@ void ActorUnkVCFT::vfunc_2C(unk32 param1) { this->mUnk_3B0.mUnk_1C = Vec2s(0x80, 0xA0); #endif - UnkStruct_027e0954_00 *ptr = &data_027e0954->mUnk_00[1]; - ptr->mUnk_04.Prepend((ActorUnkVCFT_3B0 *) GetLinkListRef(this->mUnk_3B0)); + UnkStruct_027e0954_00* ptr = &data_027e0954->mUnk_00[1]; + ptr->mUnk_04.Prepend((ActorUnkVCFT_3B0*) GetLinkListRef(this->mUnk_3B0)); } } @@ -2030,12 +2030,12 @@ void ActorUnkVCFT::func_ov066_0215b864(s32 index) { void ActorUnkVCFT::func_ov066_0215b8c4(void) { UnkStruct_ov000_020b3000 sp0(ActorId_RMW0); - ActorManager *pActorMgr = gpActorManager; + ActorManager* pActorMgr = gpActorManager; - Actor **temp_r0 = pActorMgr->func_01fff350(&sp0, pActorMgr->mActorTable); + Actor** temp_r0 = pActorMgr->func_01fff350(&sp0, pActorMgr->mActorTable); if (temp_r0 != pActorMgr->mUnk_08) { - ActorUnkRMW0 *pActor = (ActorUnkRMW0 *) pActorMgr->func_01fff3b4((*temp_r0)->mRef); + ActorUnkRMW0* pActor = (ActorUnkRMW0*) pActorMgr->func_01fff3b4((*temp_r0)->mRef); if (pActor != NULL) { pActor->func_ov066_0215c80c(); @@ -2045,12 +2045,12 @@ void ActorUnkVCFT::func_ov066_0215b8c4(void) { void ActorUnkVCFT::func_ov066_0215b938(void) { UnkStruct_ov000_020b3000 sp0(ActorId_RMW0); - ActorManager *pActorMgr = gpActorManager; + ActorManager* pActorMgr = gpActorManager; - Actor **temp_r0 = pActorMgr->func_01fff350(&sp0, pActorMgr->mActorTable); + Actor** temp_r0 = pActorMgr->func_01fff350(&sp0, pActorMgr->mActorTable); if (temp_r0 != pActorMgr->mUnk_08) { - ActorUnkRMW0 *pActor = (ActorUnkRMW0 *) pActorMgr->func_01fff3b4((*temp_r0)->mRef); + ActorUnkRMW0* pActor = (ActorUnkRMW0*) pActorMgr->func_01fff3b4((*temp_r0)->mRef); if (pActor != NULL) { pActor->func_ov066_0215c868(); diff --git a/src/066_FldWater/Actor/ActorUnkWAWA_WAWC.cpp b/src/066_FldWater/Actor/ActorUnkWAWA_WAWC.cpp index a3682cc2c..e4eb142c3 100644 --- a/src/066_FldWater/Actor/ActorUnkWAWA_WAWC.cpp +++ b/src/066_FldWater/Actor/ActorUnkWAWA_WAWC.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkWAWA); -Actor *ActorProfileUnkWAWA::Create() { +Actor* ActorProfileUnkWAWA::Create() { return new(HeapIndex_2) ActorUnkWAWA(); } @@ -20,7 +20,7 @@ ActorUnkWAWA::ActorUnkWAWA() {} DECL_PROFILE(ActorProfileUnkWAWC); -Actor *ActorProfileUnkWAWC::Create() { +Actor* ActorProfileUnkWAWC::Create() { return new(HeapIndex_2) ActorUnkWAWC(); } diff --git a/src/066_FldWater/Actor/ActorUnkWAWB_WAWS.cpp b/src/066_FldWater/Actor/ActorUnkWAWB_WAWS.cpp index 8af212ee6..8667e1af4 100644 --- a/src/066_FldWater/Actor/ActorUnkWAWB_WAWS.cpp +++ b/src/066_FldWater/Actor/ActorUnkWAWB_WAWS.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkWAWB); -Actor *ActorProfileUnkWAWB::Create() { +Actor* ActorProfileUnkWAWB::Create() { return new(HeapIndex_2) ActorUnkWAWB(); } @@ -20,7 +20,7 @@ ActorUnkWAWB::ActorUnkWAWB() {} DECL_PROFILE(ActorProfileUnkWAWS); -Actor *ActorProfileUnkWAWS::Create() { +Actor* ActorProfileUnkWAWS::Create() { return new(HeapIndex_2) ActorUnkWAWS(); } diff --git a/src/066_FldWater/MapObject/MapObjectUnkFSWT.cpp b/src/066_FldWater/MapObject/MapObjectUnkFSWT.cpp index d9904e3ff..32afef843 100644 --- a/src/066_FldWater/MapObject/MapObjectUnkFSWT.cpp +++ b/src/066_FldWater/MapObject/MapObjectUnkFSWT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFSWT); -MapObject *MapObjectProfileUnkFSWT::Create() { +MapObject* MapObjectProfileUnkFSWT::Create() { return new(HeapIndex_2) MapObjectUnkFSWT(); } diff --git a/src/066_FldWater/MapObject/MapObjectUnkHOW0.cpp b/src/066_FldWater/MapObject/MapObjectUnkHOW0.cpp index eb77c6e3f..95582ab36 100644 --- a/src/066_FldWater/MapObject/MapObjectUnkHOW0.cpp +++ b/src/066_FldWater/MapObject/MapObjectUnkHOW0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkHOW0); -MapObject *MapObjectProfileUnkHOW0::Create() { +MapObject* MapObjectProfileUnkHOW0::Create() { return new(HeapIndex_2) MapObjectUnkHOW0(); } diff --git a/src/066_FldWater/MapObject/MapObjectUnkHOW1.cpp b/src/066_FldWater/MapObject/MapObjectUnkHOW1.cpp index 60858d79c..74ed7d92a 100644 --- a/src/066_FldWater/MapObject/MapObjectUnkHOW1.cpp +++ b/src/066_FldWater/MapObject/MapObjectUnkHOW1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkHOW1); -MapObject *MapObjectProfileUnkHOW1::Create() { +MapObject* MapObjectProfileUnkHOW1::Create() { return new(HeapIndex_2) MapObjectUnkHOW1(); } diff --git a/src/066_FldWater/MapObject/MapObjectUnkMTFS.cpp b/src/066_FldWater/MapObject/MapObjectUnkMTFS.cpp index 1d4f54409..cd3358ad7 100644 --- a/src/066_FldWater/MapObject/MapObjectUnkMTFS.cpp +++ b/src/066_FldWater/MapObject/MapObjectUnkMTFS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMTFS); -MapObject *MapObjectProfileUnkMTFS::Create() { +MapObject* MapObjectProfileUnkMTFS::Create() { return new(HeapIndex_2) MapObjectUnkMTFS(); } diff --git a/src/067_FldFlame/Actor/ActorUnkDMFT.cpp b/src/067_FldFlame/Actor/ActorUnkDMFT.cpp index c4fdae5df..a6f5a7089 100644 --- a/src/067_FldFlame/Actor/ActorUnkDMFT.cpp +++ b/src/067_FldFlame/Actor/ActorUnkDMFT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMFT); -Actor *ActorProfileUnkDMFT::Create() { +Actor* ActorProfileUnkDMFT::Create() { return new(HeapIndex_2) ActorUnkDMFT(); } diff --git a/src/067_FldFlame/Actor/ActorUnkDMGN.cpp b/src/067_FldFlame/Actor/ActorUnkDMGN.cpp index 95e415487..fd923e0a4 100644 --- a/src/067_FldFlame/Actor/ActorUnkDMGN.cpp +++ b/src/067_FldFlame/Actor/ActorUnkDMGN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMGN); -Actor *ActorProfileUnkDMGN::Create() { +Actor* ActorProfileUnkDMGN::Create() { return new(HeapIndex_2) ActorUnkDMGN(); } diff --git a/src/067_FldFlame/Actor/ActorUnkGOCA_GOCB_GORK_GORM.cpp b/src/067_FldFlame/Actor/ActorUnkGOCA_GOCB_GORK_GORM.cpp index 6d930217c..30f4d7f73 100644 --- a/src/067_FldFlame/Actor/ActorUnkGOCA_GOCB_GORK_GORM.cpp +++ b/src/067_FldFlame/Actor/ActorUnkGOCA_GOCB_GORK_GORM.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkGOCA); -Actor *ActorProfileUnkGOCA::Create() { +Actor* ActorProfileUnkGOCA::Create() { return new(HeapIndex_2) ActorUnkGOCA(); } @@ -20,7 +20,7 @@ ActorUnkGOCA::ActorUnkGOCA() {} DECL_PROFILE(ActorProfileUnkGOCB); -Actor *ActorProfileUnkGOCB::Create() { +Actor* ActorProfileUnkGOCB::Create() { return new(HeapIndex_2) ActorUnkGOCB(); } @@ -33,7 +33,7 @@ ActorUnkGOCB::ActorUnkGOCB() {} DECL_PROFILE(ActorProfileUnkGORK); -Actor *ActorProfileUnkGORK::Create() { +Actor* ActorProfileUnkGORK::Create() { return new(HeapIndex_2) ActorUnkGORK(); } @@ -46,7 +46,7 @@ ActorUnkGORK::ActorUnkGORK() {} DECL_PROFILE(ActorProfileUnkGORM); -Actor *ActorProfileUnkGORM::Create() { +Actor* ActorProfileUnkGORM::Create() { return new(HeapIndex_2) ActorUnkGORM(); } diff --git a/src/067_FldFlame/Actor/ActorUnkGORS.cpp b/src/067_FldFlame/Actor/ActorUnkGORS.cpp index 8ba1a0e05..f8126b197 100644 --- a/src/067_FldFlame/Actor/ActorUnkGORS.cpp +++ b/src/067_FldFlame/Actor/ActorUnkGORS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkGORS); -Actor *ActorProfileUnkGORS::Create() { +Actor* ActorProfileUnkGORS::Create() { return new(HeapIndex_2) ActorUnkGORS(); } diff --git a/src/067_FldFlame/Actor/ActorUnkRMV0.cpp b/src/067_FldFlame/Actor/ActorUnkRMV0.cpp index decafab10..f245adc47 100644 --- a/src/067_FldFlame/Actor/ActorUnkRMV0.cpp +++ b/src/067_FldFlame/Actor/ActorUnkRMV0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMV0); -Actor *ActorProfileUnkRMV0::Create() { +Actor* ActorProfileUnkRMV0::Create() { return new(HeapIndex_2) ActorUnkRMV0(); } diff --git a/src/067_FldFlame/Actor/ActorUnkRMV1.cpp b/src/067_FldFlame/Actor/ActorUnkRMV1.cpp index b49094467..9add26576 100644 --- a/src/067_FldFlame/Actor/ActorUnkRMV1.cpp +++ b/src/067_FldFlame/Actor/ActorUnkRMV1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMV1); -Actor *ActorProfileUnkRMV1::Create() { +Actor* ActorProfileUnkRMV1::Create() { return new(HeapIndex_2) ActorUnkRMV1(); } diff --git a/src/067_FldFlame/MapObject/MapObjectUnkBRGL.cpp b/src/067_FldFlame/MapObject/MapObjectUnkBRGL.cpp index 1cc41eace..93d55cc56 100644 --- a/src/067_FldFlame/MapObject/MapObjectUnkBRGL.cpp +++ b/src/067_FldFlame/MapObject/MapObjectUnkBRGL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBRGL); -MapObject *MapObjectProfileUnkBRGL::Create() { +MapObject* MapObjectProfileUnkBRGL::Create() { return new(HeapIndex_2) MapObjectUnkBRGL(); } diff --git a/src/067_FldFlame/MapObject/MapObjectUnkDRGN.cpp b/src/067_FldFlame/MapObject/MapObjectUnkDRGN.cpp index 022931eec..6a50f5f7d 100644 --- a/src/067_FldFlame/MapObject/MapObjectUnkDRGN.cpp +++ b/src/067_FldFlame/MapObject/MapObjectUnkDRGN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRGN); -MapObject *MapObjectProfileUnkDRGN::Create() { +MapObject* MapObjectProfileUnkDRGN::Create() { return new(HeapIndex_2) MapObjectUnkDRGN(); } diff --git a/src/067_FldFlame/MapObject/MapObjectUnkDRVT.cpp b/src/067_FldFlame/MapObject/MapObjectUnkDRVT.cpp index cc3722b16..f93b4ee76 100644 --- a/src/067_FldFlame/MapObject/MapObjectUnkDRVT.cpp +++ b/src/067_FldFlame/MapObject/MapObjectUnkDRVT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRVT); -MapObject *MapObjectProfileUnkDRVT::Create() { +MapObject* MapObjectProfileUnkDRVT::Create() { return new(HeapIndex_2) MapObjectUnkDRVT(); } diff --git a/src/067_FldFlame/MapObject/MapObjectUnkLVVT.cpp b/src/067_FldFlame/MapObject/MapObjectUnkLVVT.cpp index e313dcc63..d08a4a31a 100644 --- a/src/067_FldFlame/MapObject/MapObjectUnkLVVT.cpp +++ b/src/067_FldFlame/MapObject/MapObjectUnkLVVT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkLVVT); -MapObject *MapObjectProfileUnkLVVT::Create() { +MapObject* MapObjectProfileUnkLVVT::Create() { return new(HeapIndex_2) MapObjectUnkLVVT(); } diff --git a/src/067_FldFlame/MapObject/MapObjectUnkMTIR.cpp b/src/067_FldFlame/MapObject/MapObjectUnkMTIR.cpp index 08e092397..eecdda4a4 100644 --- a/src/067_FldFlame/MapObject/MapObjectUnkMTIR.cpp +++ b/src/067_FldFlame/MapObject/MapObjectUnkMTIR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMTIR); -MapObject *MapObjectProfileUnkMTIR::Create() { +MapObject* MapObjectProfileUnkMTIR::Create() { return new(HeapIndex_2) MapObjectUnkMTIR(); } diff --git a/src/067_FldFlame/MapObject/MapObjectUnkMTOR.cpp b/src/067_FldFlame/MapObject/MapObjectUnkMTOR.cpp index 41868822c..2ae78c347 100644 --- a/src/067_FldFlame/MapObject/MapObjectUnkMTOR.cpp +++ b/src/067_FldFlame/MapObject/MapObjectUnkMTOR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMTOR); -MapObject *MapObjectProfileUnkMTOR::Create() { +MapObject* MapObjectProfileUnkMTOR::Create() { return new(HeapIndex_2) MapObjectUnkMTOR(); } diff --git a/src/068_FldAjito/Actor/ActorUnkAJAI.cpp b/src/068_FldAjito/Actor/ActorUnkAJAI.cpp index 21ec34ee8..54436e720 100644 --- a/src/068_FldAjito/Actor/ActorUnkAJAI.cpp +++ b/src/068_FldAjito/Actor/ActorUnkAJAI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkAJAI); -Actor *ActorProfileUnkAJAI::Create() { +Actor* ActorProfileUnkAJAI::Create() { return new(HeapIndex_2) ActorUnkAJAI(); } diff --git a/src/068_FldAjito/Actor/ActorUnkAJBS.cpp b/src/068_FldAjito/Actor/ActorUnkAJBS.cpp index af839d87b..594549153 100644 --- a/src/068_FldAjito/Actor/ActorUnkAJBS.cpp +++ b/src/068_FldAjito/Actor/ActorUnkAJBS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkAJBS); -Actor *ActorProfileUnkAJBS::Create() { +Actor* ActorProfileUnkAJBS::Create() { return new(HeapIndex_2) ActorUnkAJBS(); } diff --git a/src/068_FldAjito/Actor/ActorUnkAJCR.cpp b/src/068_FldAjito/Actor/ActorUnkAJCR.cpp index 125616e99..2744644c0 100644 --- a/src/068_FldAjito/Actor/ActorUnkAJCR.cpp +++ b/src/068_FldAjito/Actor/ActorUnkAJCR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkAJCR); -Actor *ActorProfileUnkAJCR::Create() { +Actor* ActorProfileUnkAJCR::Create() { return new(HeapIndex_2) ActorUnkAJCR(); } diff --git a/src/068_FldAjito/Actor/ActorUnkAJEM.cpp b/src/068_FldAjito/Actor/ActorUnkAJEM.cpp index f463c1d9b..e89083aca 100644 --- a/src/068_FldAjito/Actor/ActorUnkAJEM.cpp +++ b/src/068_FldAjito/Actor/ActorUnkAJEM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkAJEM); -Actor *ActorProfileUnkAJEM::Create() { +Actor* ActorProfileUnkAJEM::Create() { return new(HeapIndex_2) ActorUnkAJEM(); } diff --git a/src/068_FldAjito/Actor/ActorUnkAJET.cpp b/src/068_FldAjito/Actor/ActorUnkAJET.cpp index c79b5e277..975e515f6 100644 --- a/src/068_FldAjito/Actor/ActorUnkAJET.cpp +++ b/src/068_FldAjito/Actor/ActorUnkAJET.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkAJET); -Actor *ActorProfileUnkAJET::Create() { +Actor* ActorProfileUnkAJET::Create() { return new(HeapIndex_2) ActorUnkAJET(); } diff --git a/src/068_FldAjito/Actor/ActorUnkAJMN.cpp b/src/068_FldAjito/Actor/ActorUnkAJMN.cpp index 289d8a748..a55b29f12 100644 --- a/src/068_FldAjito/Actor/ActorUnkAJMN.cpp +++ b/src/068_FldAjito/Actor/ActorUnkAJMN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkAJMN); -Actor *ActorProfileUnkAJMN::Create() { +Actor* ActorProfileUnkAJMN::Create() { return new(HeapIndex_2) ActorUnkAJMN(); } diff --git a/src/068_FldAjito/Actor/ActorUnkAJNP.cpp b/src/068_FldAjito/Actor/ActorUnkAJNP.cpp index 9e70d6863..855858e1f 100644 --- a/src/068_FldAjito/Actor/ActorUnkAJNP.cpp +++ b/src/068_FldAjito/Actor/ActorUnkAJNP.cpp @@ -7,7 +7,7 @@ THUMB_BEGIN DECL_PROFILE(ActorProfileUnkAJNP); -Actor *ActorProfileUnkAJNP::Create() { +Actor* ActorProfileUnkAJNP::Create() { return new(HeapIndex_2) ActorUnkAJNP(); } diff --git a/src/068_FldAjito/Actor/ActorUnkAJSP.cpp b/src/068_FldAjito/Actor/ActorUnkAJSP.cpp index cd18fe747..718128a07 100644 --- a/src/068_FldAjito/Actor/ActorUnkAJSP.cpp +++ b/src/068_FldAjito/Actor/ActorUnkAJSP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkAJSP); -Actor *ActorProfileUnkAJSP::Create() { +Actor* ActorProfileUnkAJSP::Create() { return new(HeapIndex_2) ActorUnkAJSP(); } diff --git a/src/068_FldAjito/Actor/ActorUnkAJTM.cpp b/src/068_FldAjito/Actor/ActorUnkAJTM.cpp index 5a4bf4dd0..6e01123a6 100644 --- a/src/068_FldAjito/Actor/ActorUnkAJTM.cpp +++ b/src/068_FldAjito/Actor/ActorUnkAJTM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkAJTM); -Actor *ActorProfileUnkAJTM::Create() { +Actor* ActorProfileUnkAJTM::Create() { return new(HeapIndex_2) ActorUnkAJTM(); } diff --git a/src/068_FldAjito/Actor/ActorUnkMGAJ.cpp b/src/068_FldAjito/Actor/ActorUnkMGAJ.cpp index cb010426d..62d512333 100644 --- a/src/068_FldAjito/Actor/ActorUnkMGAJ.cpp +++ b/src/068_FldAjito/Actor/ActorUnkMGAJ.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMGAJ); -Actor *ActorProfileUnkMGAJ::Create() { +Actor* ActorProfileUnkMGAJ::Create() { return new(HeapIndex_2) ActorUnkMGAJ(); } diff --git a/src/068_FldAjito/Actor/ActorUnkRMA0.cpp b/src/068_FldAjito/Actor/ActorUnkRMA0.cpp index 91f9c6dbb..f63bca863 100644 --- a/src/068_FldAjito/Actor/ActorUnkRMA0.cpp +++ b/src/068_FldAjito/Actor/ActorUnkRMA0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMA0); -Actor *ActorProfileUnkRMA0::Create() { +Actor* ActorProfileUnkRMA0::Create() { return new(HeapIndex_2) ActorUnkRMA0(); } diff --git a/src/068_FldAjito/Actor/ActorUnkRMA1.cpp b/src/068_FldAjito/Actor/ActorUnkRMA1.cpp index a57c42d4f..49b51ce1f 100644 --- a/src/068_FldAjito/Actor/ActorUnkRMA1.cpp +++ b/src/068_FldAjito/Actor/ActorUnkRMA1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMA1); -Actor *ActorProfileUnkRMA1::Create() { +Actor* ActorProfileUnkRMA1::Create() { return new(HeapIndex_2) ActorUnkRMA1(); } diff --git a/src/068_FldAjito/Actor/ActorUnkRMA2.cpp b/src/068_FldAjito/Actor/ActorUnkRMA2.cpp index 3d3fc947e..2113cbe56 100644 --- a/src/068_FldAjito/Actor/ActorUnkRMA2.cpp +++ b/src/068_FldAjito/Actor/ActorUnkRMA2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMA2); -Actor *ActorProfileUnkRMA2::Create() { +Actor* ActorProfileUnkRMA2::Create() { return new(HeapIndex_2) ActorUnkRMA2(); } diff --git a/src/068_FldAjito/Actor/ActorUnkRMA3.cpp b/src/068_FldAjito/Actor/ActorUnkRMA3.cpp index 05eb2a680..77492d80a 100644 --- a/src/068_FldAjito/Actor/ActorUnkRMA3.cpp +++ b/src/068_FldAjito/Actor/ActorUnkRMA3.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMA3); -Actor *ActorProfileUnkRMA3::Create() { +Actor* ActorProfileUnkRMA3::Create() { return new(HeapIndex_2) ActorUnkRMA3(); } diff --git a/src/068_FldAjito/Actor/ActorUnkRMAJ.cpp b/src/068_FldAjito/Actor/ActorUnkRMAJ.cpp index 579d24ab7..b3d994c73 100644 --- a/src/068_FldAjito/Actor/ActorUnkRMAJ.cpp +++ b/src/068_FldAjito/Actor/ActorUnkRMAJ.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMAJ); -Actor *ActorProfileUnkRMAJ::Create() { +Actor* ActorProfileUnkRMAJ::Create() { return new(HeapIndex_2) ActorUnkRMAJ(); } diff --git a/src/068_FldAjito/Actor/ActorUnkTSCN.cpp b/src/068_FldAjito/Actor/ActorUnkTSCN.cpp index 133020359..89969aa4c 100644 --- a/src/068_FldAjito/Actor/ActorUnkTSCN.cpp +++ b/src/068_FldAjito/Actor/ActorUnkTSCN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTSCN); -Actor *ActorProfileUnkTSCN::Create() { +Actor* ActorProfileUnkTSCN::Create() { return new(HeapIndex_2) ActorUnkTSCN(); } diff --git a/src/068_FldAjito/MapObject/MapObjectUnkDRVC.cpp b/src/068_FldAjito/MapObject/MapObjectUnkDRVC.cpp index 5ed6a213e..931db0e48 100644 --- a/src/068_FldAjito/MapObject/MapObjectUnkDRVC.cpp +++ b/src/068_FldAjito/MapObject/MapObjectUnkDRVC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRVC); -MapObject *MapObjectProfileUnkDRVC::Create() { +MapObject* MapObjectProfileUnkDRVC::Create() { return new(HeapIndex_2) MapObjectUnkDRVC(); } diff --git a/src/068_FldAjito/MapObject/MapObjectUnkRKAG.cpp b/src/068_FldAjito/MapObject/MapObjectUnkRKAG.cpp index 450fa5212..c6f8a7785 100644 --- a/src/068_FldAjito/MapObject/MapObjectUnkRKAG.cpp +++ b/src/068_FldAjito/MapObject/MapObjectUnkRKAG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkRKAG); -MapObject *MapObjectProfileUnkRKAG::Create() { +MapObject* MapObjectProfileUnkRKAG::Create() { return new(HeapIndex_2) MapObjectUnkRKAG(); } diff --git a/src/069_FldRabbit/Actor/ActorUnkBANI.cpp b/src/069_FldRabbit/Actor/ActorUnkBANI.cpp index 1f525107c..fe3483892 100644 --- a/src/069_FldRabbit/Actor/ActorUnkBANI.cpp +++ b/src/069_FldRabbit/Actor/ActorUnkBANI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBANI); -Actor *ActorProfileUnkBANI::Create() { +Actor* ActorProfileUnkBANI::Create() { return new(HeapIndex_2) ActorUnkBANI(); } diff --git a/src/069_FldRabbit/Actor/ActorUnkRB1F.cpp b/src/069_FldRabbit/Actor/ActorUnkRB1F.cpp index e6df362e4..af1899653 100644 --- a/src/069_FldRabbit/Actor/ActorUnkRB1F.cpp +++ b/src/069_FldRabbit/Actor/ActorUnkRB1F.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRB1F); -Actor *ActorProfileUnkRB1F::Create() { +Actor* ActorProfileUnkRB1F::Create() { return new(HeapIndex_2) ActorUnkRB1F(); } diff --git a/src/069_FldRabbit/Actor/ActorUnkRBRP.cpp b/src/069_FldRabbit/Actor/ActorUnkRBRP.cpp index bcce926b8..b5f8a8379 100644 --- a/src/069_FldRabbit/Actor/ActorUnkRBRP.cpp +++ b/src/069_FldRabbit/Actor/ActorUnkRBRP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRBRP); -Actor *ActorProfileUnkRBRP::Create() { +Actor* ActorProfileUnkRBRP::Create() { return new(HeapIndex_2) ActorUnkRBRP(); } diff --git a/src/069_FldRabbit/MapObject/MapObjectUnkGTRB.cpp b/src/069_FldRabbit/MapObject/MapObjectUnkGTRB.cpp index c1b19de45..a418f8389 100644 --- a/src/069_FldRabbit/MapObject/MapObjectUnkGTRB.cpp +++ b/src/069_FldRabbit/MapObject/MapObjectUnkGTRB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkGTRB); -MapObject *MapObjectProfileUnkGTRB::Create() { +MapObject* MapObjectProfileUnkGTRB::Create() { return new(HeapIndex_2) MapObjectUnkGTRB(); } diff --git a/src/070_Dungeon/Actor/ActorUnkALEV.cpp b/src/070_Dungeon/Actor/ActorUnkALEV.cpp index 91781cfe4..9617f809b 100644 --- a/src/070_Dungeon/Actor/ActorUnkALEV.cpp +++ b/src/070_Dungeon/Actor/ActorUnkALEV.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkALEV); -Actor *ActorProfileUnkALEV::Create() { +Actor* ActorProfileUnkALEV::Create() { return new(HeapIndex_2) ActorUnkALEV(); } diff --git a/src/070_Dungeon/Actor/ActorUnkBMHN.cpp b/src/070_Dungeon/Actor/ActorUnkBMHN.cpp index 36c2b0b91..dabe1fafe 100644 --- a/src/070_Dungeon/Actor/ActorUnkBMHN.cpp +++ b/src/070_Dungeon/Actor/ActorUnkBMHN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBMHN); -Actor *ActorProfileUnkBMHN::Create() { +Actor* ActorProfileUnkBMHN::Create() { return new(HeapIndex_2) ActorUnkBMHN(); } diff --git a/src/070_Dungeon/Actor/ActorUnkBROW.cpp b/src/070_Dungeon/Actor/ActorUnkBROW.cpp index 3a1877750..28fd6281e 100644 --- a/src/070_Dungeon/Actor/ActorUnkBROW.cpp +++ b/src/070_Dungeon/Actor/ActorUnkBROW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBROW); -Actor *ActorProfileUnkBROW::Create() { +Actor* ActorProfileUnkBROW::Create() { return new(HeapIndex_2) ActorUnkBROW(); } diff --git a/src/070_Dungeon/Actor/ActorUnkENGE.cpp b/src/070_Dungeon/Actor/ActorUnkENGE.cpp index a6cd9d0f1..abb4d117d 100644 --- a/src/070_Dungeon/Actor/ActorUnkENGE.cpp +++ b/src/070_Dungeon/Actor/ActorUnkENGE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkENGE); -Actor *ActorProfileUnkENGE::Create() { +Actor* ActorProfileUnkENGE::Create() { return new(HeapIndex_2) ActorUnkENGE(); } diff --git a/src/070_Dungeon/Actor/ActorUnkKEYN.cpp b/src/070_Dungeon/Actor/ActorUnkKEYN.cpp index 586bd5f38..ebf978068 100644 --- a/src/070_Dungeon/Actor/ActorUnkKEYN.cpp +++ b/src/070_Dungeon/Actor/ActorUnkKEYN.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkKEYN); -Actor *ActorProfileUnkKEYN::Create() { +Actor* ActorProfileUnkKEYN::Create() { return new(HeapIndex_2) ActorUnkKEYN(); } @@ -16,7 +16,7 @@ ActorProfileUnkKEYN::ActorProfileUnkKEYN() : ActorUnkKEYN::ActorUnkKEYN() {} -void ActorUnkKEYN::func_ov070_0214143c(RefStruct *param1, VecFx32 *param2, RefStruct param3, s16 param4, u8 param5, +void ActorUnkKEYN::func_ov070_0214143c(RefStruct* param1, VecFx32* param2, RefStruct param3, s16 param4, u8 param5, u16 param6) {} void ActorUnkKEYN::func_ov070_02141618(void) {} void ActorUnkKEYN::func_ov070_0214162c(void) {} diff --git a/src/070_Dungeon/Actor/ActorUnkLIRA.cpp b/src/070_Dungeon/Actor/ActorUnkLIRA.cpp index fd52937b4..441d8249b 100644 --- a/src/070_Dungeon/Actor/ActorUnkLIRA.cpp +++ b/src/070_Dungeon/Actor/ActorUnkLIRA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkLIRA); -Actor *ActorProfileUnkLIRA::Create() { +Actor* ActorProfileUnkLIRA::Create() { return new(HeapIndex_2) ActorUnkLIRA(); } diff --git a/src/070_Dungeon/Actor/ActorUnkRCSG.cpp b/src/070_Dungeon/Actor/ActorUnkRCSG.cpp index 1dd844644..1f125ef28 100644 --- a/src/070_Dungeon/Actor/ActorUnkRCSG.cpp +++ b/src/070_Dungeon/Actor/ActorUnkRCSG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRCSG); -Actor *ActorProfileUnkRCSG::Create() { +Actor* ActorProfileUnkRCSG::Create() { return new(HeapIndex_2) ActorUnkRCSG(); } diff --git a/src/070_Dungeon/Actor/ActorUnkRYAW.cpp b/src/070_Dungeon/Actor/ActorUnkRYAW.cpp index 069f4e9e6..cfbc7151e 100644 --- a/src/070_Dungeon/Actor/ActorUnkRYAW.cpp +++ b/src/070_Dungeon/Actor/ActorUnkRYAW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRYAW); -Actor *ActorProfileUnkRYAW::Create() { +Actor* ActorProfileUnkRYAW::Create() { return new(HeapIndex_2) ActorUnkRYAW(); } diff --git a/src/070_Dungeon/Actor/ActorUnkSWDS.cpp b/src/070_Dungeon/Actor/ActorUnkSWDS.cpp index d818b2210..abdd717b2 100644 --- a/src/070_Dungeon/Actor/ActorUnkSWDS.cpp +++ b/src/070_Dungeon/Actor/ActorUnkSWDS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSWDS); -Actor *ActorProfileUnkSWDS::Create() { +Actor* ActorProfileUnkSWDS::Create() { return new(HeapIndex_2) ActorUnkSWDS(); } diff --git a/src/070_Dungeon/Actor/ActorUnkTRAP.cpp b/src/070_Dungeon/Actor/ActorUnkTRAP.cpp index 68258b2ed..e9849faff 100644 --- a/src/070_Dungeon/Actor/ActorUnkTRAP.cpp +++ b/src/070_Dungeon/Actor/ActorUnkTRAP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTRAP); -Actor *ActorProfileUnkTRAP::Create() { +Actor* ActorProfileUnkTRAP::Create() { return new(HeapIndex_2) ActorUnkTRAP(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkARWL.cpp b/src/070_Dungeon/MapObject/MapObjectUnkARWL.cpp index ba6d67375..07fcba86c 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkARWL.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkARWL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkARWL); -MapObject *MapObjectProfileUnkARWL::Create() { +MapObject* MapObjectProfileUnkARWL::Create() { return new(HeapIndex_2) MapObjectUnkARWL(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkBLCK.cpp b/src/070_Dungeon/MapObject/MapObjectUnkBLCK.cpp index ee81eb8dd..6e64a96f0 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkBLCK.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkBLCK.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBLCK); -MapObject *MapObjectProfileUnkBLCK::Create() { +MapObject* MapObjectProfileUnkBLCK::Create() { return new(HeapIndex_2) MapObjectUnkBLCK(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkBLRB.cpp b/src/070_Dungeon/MapObject/MapObjectUnkBLRB.cpp index c16149e6f..e08f15f6b 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkBLRB.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkBLRB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBLRB); -MapObject *MapObjectProfileUnkBLRB::Create() { +MapObject* MapObjectProfileUnkBLRB::Create() { return new(HeapIndex_2) MapObjectUnkBLRB(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkDRST.cpp b/src/070_Dungeon/MapObject/MapObjectUnkDRST.cpp index 619c548f9..1a27810a5 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkDRST.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkDRST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRST); -MapObject *MapObjectProfileUnkDRST::Create() { +MapObject* MapObjectProfileUnkDRST::Create() { return new(HeapIndex_2) MapObjectUnkDRST(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkFLSP.cpp b/src/070_Dungeon/MapObject/MapObjectUnkFLSP.cpp index 3c9e778b9..4105248c2 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkFLSP.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkFLSP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFLSP); -MapObject *MapObjectProfileUnkFLSP::Create() { +MapObject* MapObjectProfileUnkFLSP::Create() { return new(HeapIndex_2) MapObjectUnkFLSP(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkFRWL.cpp b/src/070_Dungeon/MapObject/MapObjectUnkFRWL.cpp index 0e537a2f4..e089e562a 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkFRWL.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkFRWL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFRWL); -MapObject *MapObjectProfileUnkFRWL::Create() { +MapObject* MapObjectProfileUnkFRWL::Create() { return new(HeapIndex_2) MapObjectUnkFRWL(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkFSPS.cpp b/src/070_Dungeon/MapObject/MapObjectUnkFSPS.cpp index 2c2257cdd..467f5c679 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkFSPS.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkFSPS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFSPS); -MapObject *MapObjectProfileUnkFSPS::Create() { +MapObject* MapObjectProfileUnkFSPS::Create() { return new(HeapIndex_2) MapObjectUnkFSPS(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkPTFL.cpp b/src/070_Dungeon/MapObject/MapObjectUnkPTFL.cpp index 1b55be7dc..1e0fb0422 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkPTFL.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkPTFL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkPTFL); -MapObject *MapObjectProfileUnkPTFL::Create() { +MapObject* MapObjectProfileUnkPTFL::Create() { return new(HeapIndex_2) MapObjectUnkPTFL(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkSTSH.cpp b/src/070_Dungeon/MapObject/MapObjectUnkSTSH.cpp index 9e4842f49..daee29bb1 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkSTSH.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkSTSH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSTSH); -MapObject *MapObjectProfileUnkSTSH::Create() { +MapObject* MapObjectProfileUnkSTSH::Create() { return new(HeapIndex_2) MapObjectUnkSTSH(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkSWEY.cpp b/src/070_Dungeon/MapObject/MapObjectUnkSWEY.cpp index ced69590c..e9c2764d3 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkSWEY.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkSWEY.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSWEY); -MapObject *MapObjectProfileUnkSWEY::Create() { +MapObject* MapObjectProfileUnkSWEY::Create() { return new(HeapIndex_2) MapObjectUnkSWEY(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkSWRB.cpp b/src/070_Dungeon/MapObject/MapObjectUnkSWRB.cpp index b9b033fc7..ec769c364 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkSWRB.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkSWRB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSWRB); -MapObject *MapObjectProfileUnkSWRB::Create() { +MapObject* MapObjectProfileUnkSWRB::Create() { return new(HeapIndex_2) MapObjectUnkSWRB(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkSWWN.cpp b/src/070_Dungeon/MapObject/MapObjectUnkSWWN.cpp index 39045d3d2..cb67ed67a 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkSWWN.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkSWWN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSWWN); -MapObject *MapObjectProfileUnkSWWN::Create() { +MapObject* MapObjectProfileUnkSWWN::Create() { return new(HeapIndex_2) MapObjectUnkSWWN(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkTRLD.cpp b/src/070_Dungeon/MapObject/MapObjectUnkTRLD.cpp index bb5809216..3e37117a5 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkTRLD.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkTRLD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRLD); -MapObject *MapObjectProfileUnkTRLD::Create() { +MapObject* MapObjectProfileUnkTRLD::Create() { return new(HeapIndex_2) MapObjectUnkTRLD(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkTRLS.cpp b/src/070_Dungeon/MapObject/MapObjectUnkTRLS.cpp index 6bbd03517..040c4317a 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkTRLS.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkTRLS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRLS); -MapObject *MapObjectProfileUnkTRLS::Create() { +MapObject* MapObjectProfileUnkTRLS::Create() { return new(HeapIndex_2) MapObjectUnkTRLS(); } diff --git a/src/070_Dungeon/MapObject/MapObjectUnkTRLW.cpp b/src/070_Dungeon/MapObject/MapObjectUnkTRLW.cpp index 6138a42ac..83c490912 100644 --- a/src/070_Dungeon/MapObject/MapObjectUnkTRLW.cpp +++ b/src/070_Dungeon/MapObject/MapObjectUnkTRLW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRLW); -MapObject *MapObjectProfileUnkTRLW::Create() { +MapObject* MapObjectProfileUnkTRLW::Create() { return new(HeapIndex_2) MapObjectUnkTRLW(); } diff --git a/src/071_Tower/Actor/ActorTearLight.cpp b/src/071_Tower/Actor/ActorTearLight.cpp index 8215c8e3f..5786f1df6 100644 --- a/src/071_Tower/Actor/ActorTearLight.cpp +++ b/src/071_Tower/Actor/ActorTearLight.cpp @@ -46,7 +46,7 @@ static ActorTearLight_UnkStruct data_ov071_02164d08 = {.fct = &ActorTearLi DECL_PROFILE(ActorProfileTearLight); -Actor *ActorProfileTearLight::Create() { +Actor* ActorProfileTearLight::Create() { return new(HeapIndex_2) ActorTearLight(); } @@ -62,7 +62,7 @@ ActorTearLight::ActorTearLight() : mUnk_0A4(NNS_G3dGetMdl(GET_PROFILE(ActorProfileTearLight)->mUnk_3C.mUnk_50)), mUnk_104(&this->mUnk_120, &this->mUnk_0A4, GET_PROFILE(ActorProfileTearLight)->vfunc_04()), mUnk_120(&this->mUnk_140, NULL), - mUnk_160(*(ActorTearLight_UnkStruct *) &data_020431b8), + mUnk_160(*(ActorTearLight_UnkStruct*) &data_020431b8), mUnk_188(0x0), mUnk_18C(true), mUnk_18D(false), @@ -157,7 +157,7 @@ void ActorTearLight::vfunc_2C(unk32 param1) { data_027e09b4->func_ov017_020c08c4(&vecC, 0x333, 0x333, 0x1F, 0x0, 0x1); } -void ActorTearLight::vfunc_30(Actor_vfunc_30 *param1) { +void ActorTearLight::vfunc_30(Actor_vfunc_30* param1) { this->func_ov017_020bef88(param1, &data_ov071_02165150, 0x1); } @@ -175,8 +175,8 @@ void ActorTearLight::func_ov071_0215f824() { switch (this->mState) { case ActorUnkSZKUState_3: case ActorUnkSZKUState_8: { - UnkStruct_027e0cec *data = data_027e0cec; - for (ActorTearLight_204 *playerGet = this->mUnk_204; playerGet != this->mUnk_204 + ARRAY_LEN(this->mUnk_204); + UnkStruct_027e0cec* data = data_027e0cec; + for (ActorTearLight_204* playerGet = this->mUnk_204; playerGet != this->mUnk_204 + ARRAY_LEN(this->mUnk_204); ++playerGet) { data->func_ov000_020a0110(&playerGet->mUnk_00); } @@ -186,15 +186,15 @@ void ActorTearLight::func_ov071_0215f824() { if (this->func_ov017_020beeec(0x4000)) { VecFx32 vec = this->mPos; vec.y += FX_F32_TO_FX32(0.5f); - UnkStruct_027e0cec *data = data_027e0cec; - for (ActorTearLight_204 *playerGet = this->mUnk_204; playerGet != this->mUnk_204 + ARRAY_LEN(this->mUnk_204); + UnkStruct_027e0cec* data = data_027e0cec; + for (ActorTearLight_204* playerGet = this->mUnk_204; playerGet != this->mUnk_204 + ARRAY_LEN(this->mUnk_204); ++playerGet) { data->func_ov000_020a0140(&playerGet->mUnk_00, &vec); } break; } - UnkStruct_027e0cec *data = data_027e0cec; - for (ActorTearLight_204 *playerGet = this->mUnk_204; playerGet != this->mUnk_204 + ARRAY_LEN(this->mUnk_204); + UnkStruct_027e0cec* data = data_027e0cec; + for (ActorTearLight_204* playerGet = this->mUnk_204; playerGet != this->mUnk_204 + ARRAY_LEN(this->mUnk_204); ++playerGet) { data->func_ov000_020a0110(&playerGet->mUnk_00); } @@ -224,7 +224,7 @@ void ActorTearLight::func_ov071_0215f92c() { } else if (this->mUnk_46 & 1) { Vec2bCpp sp0; - MapManagerBase *temp_r7 = gpCourseManager->mpMapMgr; + MapManagerBase* temp_r7 = gpCourseManager->mpMapMgr; func_01ffedac(&sp0, &this->mPos); if (!temp_r7->func_ov000_02082008(&sp0)) { this->func_ov071_0215fc54(); @@ -280,9 +280,8 @@ void ActorTearLight::func_ov071_0215f92c() { } void ActorTearLight::func_ov071_0215fc0c() { - UnkStruct_027e0cec *data = data_027e0cec; - for (ActorTearLight_204 *playerGet = this->mUnk_204; playerGet != this->mUnk_204 + ARRAY_LEN(this->mUnk_204); - ++playerGet) { + UnkStruct_027e0cec* data = data_027e0cec; + for (ActorTearLight_204* playerGet = this->mUnk_204; playerGet != this->mUnk_204 + ARRAY_LEN(this->mUnk_204); ++playerGet) { data->func_ov000_020a0110(&playerGet->mUnk_00); } this->func_ov071_0215fd80(); @@ -419,7 +418,7 @@ void ActorTearLight::func_ov071_0215ff3c() { void ActorTearLight::func_ov071_0215ffb8() {} void ActorTearLight::func_ov071_0215ffbc() { - UnkActor_ov071_0215ffbc *actor = (UnkActor_ov071_0215ffbc *) gpActorManager->func_01fff3b4(this->mUnk_190); + UnkActor_ov071_0215ffbc* actor = (UnkActor_ov071_0215ffbc*) gpActorManager->func_01fff3b4(this->mUnk_190); if (actor == NULL) { this->func_ov071_0215fca4(); return; @@ -427,7 +426,7 @@ void ActorTearLight::func_ov071_0215ffbc() { VEC_Subtract(&actor->mUnk_E8, &this->mPos, &this->mVel); } -ActorTearLight_194::ActorTearLight_194(ActorTearLight *param1) : +ActorTearLight_194::ActorTearLight_194(ActorTearLight* param1) : Actor_C4(param1) { this->mUnk_20 = param1; this->mUnk_04 = 0x1; @@ -435,7 +434,7 @@ ActorTearLight_194::ActorTearLight_194(ActorTearLight *param1) : bool ActorTearLight_194::vfunc_00(RefStruct ref, unk32 param2) { if (param2 != 0x0) { - ActorTearLight *actor = this->GetActorPtr(); + ActorTearLight* actor = this->GetActorPtr(); actor->mUnk_190 = ref; actor->func_ov071_0215fe54(); } @@ -447,7 +446,7 @@ bool ActorTearLight_194::vfunc_04() { return this->Actor_C4::vfunc_04(); } -void ActorTearLight_194::vfunc_0C(VecFx32 *param1) { +void ActorTearLight_194::vfunc_0C(VecFx32* param1) { this->GetActorPtr()->func_ov071_0215fca4(); return this->Actor_C4::vfunc_0C(param1); } diff --git a/src/071_Tower/Actor/ActorUnkKMSO.cpp b/src/071_Tower/Actor/ActorUnkKMSO.cpp index 061411836..10ed38fb8 100644 --- a/src/071_Tower/Actor/ActorUnkKMSO.cpp +++ b/src/071_Tower/Actor/ActorUnkKMSO.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKMSO); -Actor *ActorProfileUnkKMSO::Create() { +Actor* ActorProfileUnkKMSO::Create() { return new(HeapIndex_2) ActorUnkKMSO(); } diff --git a/src/071_Tower/MapObject/MapObjectUnkBLCE.cpp b/src/071_Tower/MapObject/MapObjectUnkBLCE.cpp index 8643b6fb3..b509c1d7c 100644 --- a/src/071_Tower/MapObject/MapObjectUnkBLCE.cpp +++ b/src/071_Tower/MapObject/MapObjectUnkBLCE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBLCE); -MapObject *MapObjectProfileUnkBLCE::Create() { +MapObject* MapObjectProfileUnkBLCE::Create() { return new(HeapIndex_2) MapObjectUnkBLCE(); } diff --git a/src/071_Tower/MapObject/MapObjectUnkBLCT.cpp b/src/071_Tower/MapObject/MapObjectUnkBLCT.cpp index 95fa5e001..9f62b6be0 100644 --- a/src/071_Tower/MapObject/MapObjectUnkBLCT.cpp +++ b/src/071_Tower/MapObject/MapObjectUnkBLCT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBLCT); -MapObject *MapObjectProfileUnkBLCT::Create() { +MapObject* MapObjectProfileUnkBLCT::Create() { return new(HeapIndex_2) MapObjectUnkBLCT(); } diff --git a/src/071_Tower/MapObject/MapObjectUnkBRGS.cpp b/src/071_Tower/MapObject/MapObjectUnkBRGS.cpp index 93d6b65b7..6a4b55207 100644 --- a/src/071_Tower/MapObject/MapObjectUnkBRGS.cpp +++ b/src/071_Tower/MapObject/MapObjectUnkBRGS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBRGS); -MapObject *MapObjectProfileUnkBRGS::Create() { +MapObject* MapObjectProfileUnkBRGS::Create() { return new(HeapIndex_2) MapObjectUnkBRGS(); } diff --git a/src/071_Tower/MapObject/MapObjectUnkRNBO.cpp b/src/071_Tower/MapObject/MapObjectUnkRNBO.cpp index 70ca04584..471cf853f 100644 --- a/src/071_Tower/MapObject/MapObjectUnkRNBO.cpp +++ b/src/071_Tower/MapObject/MapObjectUnkRNBO.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkRNBO); -MapObject *MapObjectProfileUnkRNBO::Create() { +MapObject* MapObjectProfileUnkRNBO::Create() { return new(HeapIndex_2) MapObjectUnkRNBO(); } diff --git a/src/071_Tower/MapObject/MapObjectUnkRPFL.cpp b/src/071_Tower/MapObject/MapObjectUnkRPFL.cpp index c1304cd7e..ae488489e 100644 --- a/src/071_Tower/MapObject/MapObjectUnkRPFL.cpp +++ b/src/071_Tower/MapObject/MapObjectUnkRPFL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkRPFL); -MapObject *MapObjectProfileUnkRPFL::Create() { +MapObject* MapObjectProfileUnkRPFL::Create() { return new(HeapIndex_2) MapObjectUnkRPFL(); } diff --git a/src/071_Tower/MapObject/MapObjectUnkSTAL.cpp b/src/071_Tower/MapObject/MapObjectUnkSTAL.cpp index 80202e4d3..3e67b8212 100644 --- a/src/071_Tower/MapObject/MapObjectUnkSTAL.cpp +++ b/src/071_Tower/MapObject/MapObjectUnkSTAL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSTAL); -MapObject *MapObjectProfileUnkSTAL::Create() { +MapObject* MapObjectProfileUnkSTAL::Create() { return new(HeapIndex_2) MapObjectUnkSTAL(); } diff --git a/src/072_TowerLobby/Actor/ActorUnkRMM0.cpp b/src/072_TowerLobby/Actor/ActorUnkRMM0.cpp index 8da5bcaea..39e23bf4c 100644 --- a/src/072_TowerLobby/Actor/ActorUnkRMM0.cpp +++ b/src/072_TowerLobby/Actor/ActorUnkRMM0.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMM0); -Actor *ActorProfileUnkRMM0::Create() { +Actor* ActorProfileUnkRMM0::Create() { return new(HeapIndex_2) ActorUnkRMM0(); } diff --git a/src/072_TowerLobby/Actor/ActorUnkRMM3.cpp b/src/072_TowerLobby/Actor/ActorUnkRMM3.cpp index 1b064beae..861416935 100644 --- a/src/072_TowerLobby/Actor/ActorUnkRMM3.cpp +++ b/src/072_TowerLobby/Actor/ActorUnkRMM3.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMM3); -Actor *ActorProfileUnkRMM3::Create() { +Actor* ActorProfileUnkRMM3::Create() { return new(HeapIndex_2) ActorUnkRMM3(); } diff --git a/src/073_BossDeago/Actor/ActorUnkBDEA.cpp b/src/073_BossDeago/Actor/ActorUnkBDEA.cpp index 63a480f2a..d4f7ce514 100644 --- a/src/073_BossDeago/Actor/ActorUnkBDEA.cpp +++ b/src/073_BossDeago/Actor/ActorUnkBDEA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBDEA); -Actor *ActorProfileUnkBDEA::Create() { +Actor* ActorProfileUnkBDEA::Create() { return new(HeapIndex_2) ActorUnkBDEA(); } diff --git a/src/073_BossDeago/Actor/ActorUnkDGPC.cpp b/src/073_BossDeago/Actor/ActorUnkDGPC.cpp index 89aa4b94f..073e6db52 100644 --- a/src/073_BossDeago/Actor/ActorUnkDGPC.cpp +++ b/src/073_BossDeago/Actor/ActorUnkDGPC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDGPC); -Actor *ActorProfileUnkDGPC::Create() { +Actor* ActorProfileUnkDGPC::Create() { return new(HeapIndex_2) ActorUnkDGPC(); } diff --git a/src/074_BossLast1/Actor/ActorUnkBKST.cpp b/src/074_BossLast1/Actor/ActorUnkBKST.cpp index 79c185d82..65df2da04 100644 --- a/src/074_BossLast1/Actor/ActorUnkBKST.cpp +++ b/src/074_BossLast1/Actor/ActorUnkBKST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBKST); -Actor *ActorProfileUnkBKST::Create() { +Actor* ActorProfileUnkBKST::Create() { return new(HeapIndex_2) ActorUnkBKST(); } diff --git a/src/074_BossLast1/Actor/ActorUnkBSKM.cpp b/src/074_BossLast1/Actor/ActorUnkBSKM.cpp index 4dbde040b..27cd97ca7 100644 --- a/src/074_BossLast1/Actor/ActorUnkBSKM.cpp +++ b/src/074_BossLast1/Actor/ActorUnkBSKM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBSKM); -Actor *ActorProfileUnkBSKM::Create() { +Actor* ActorProfileUnkBSKM::Create() { return new(HeapIndex_2) ActorUnkBSKM(); } diff --git a/src/074_BossLast1/Actor/ActorUnkKIMB.cpp b/src/074_BossLast1/Actor/ActorUnkKIMB.cpp index 3a27ee0d7..7b4ee60b9 100644 --- a/src/074_BossLast1/Actor/ActorUnkKIMB.cpp +++ b/src/074_BossLast1/Actor/ActorUnkKIMB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkKIMB); -Actor *ActorProfileUnkKIMB::Create() { +Actor* ActorProfileUnkKIMB::Create() { return new(HeapIndex_2) ActorUnkKIMB(); } diff --git a/src/074_BossLast1/Actor/ActorUnkMAGR.cpp b/src/074_BossLast1/Actor/ActorUnkMAGR.cpp index 5c0073052..c977cff11 100644 --- a/src/074_BossLast1/Actor/ActorUnkMAGR.cpp +++ b/src/074_BossLast1/Actor/ActorUnkMAGR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMAGR); -Actor *ActorProfileUnkMAGR::Create() { +Actor* ActorProfileUnkMAGR::Create() { return new(HeapIndex_2) ActorUnkMAGR(); } diff --git a/src/074_BossLast1/Actor/ActorUnkPPPM.cpp b/src/074_BossLast1/Actor/ActorUnkPPPM.cpp index 74871f62e..561e33b7e 100644 --- a/src/074_BossLast1/Actor/ActorUnkPPPM.cpp +++ b/src/074_BossLast1/Actor/ActorUnkPPPM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPPPM); -Actor *ActorProfileUnkPPPM::Create() { +Actor* ActorProfileUnkPPPM::Create() { return new(HeapIndex_2) ActorUnkPPPM(); } diff --git a/src/074_BossLast1/Actor/ActorUnkRBL1.cpp b/src/074_BossLast1/Actor/ActorUnkRBL1.cpp index 81f3f6cc5..6196f7385 100644 --- a/src/074_BossLast1/Actor/ActorUnkRBL1.cpp +++ b/src/074_BossLast1/Actor/ActorUnkRBL1.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRBL1); -Actor *ActorProfileUnkRBL1::Create() { +Actor* ActorProfileUnkRBL1::Create() { return new(HeapIndex_2) ActorUnkRBL1(); } diff --git a/src/074_BossLast1/Actor/ActorUnkZLBB.cpp b/src/074_BossLast1/Actor/ActorUnkZLBB.cpp index 8f6725834..c2b43d0cf 100644 --- a/src/074_BossLast1/Actor/ActorUnkZLBB.cpp +++ b/src/074_BossLast1/Actor/ActorUnkZLBB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkZLBB); -Actor *ActorProfileUnkZLBB::Create() { +Actor* ActorProfileUnkZLBB::Create() { return new(HeapIndex_2) ActorUnkZLBB(); } diff --git a/src/074_BossLast1/Actor/ActorUnkZLBS.cpp b/src/074_BossLast1/Actor/ActorUnkZLBS.cpp index 902a80782..28036d0f7 100644 --- a/src/074_BossLast1/Actor/ActorUnkZLBS.cpp +++ b/src/074_BossLast1/Actor/ActorUnkZLBS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkZLBS); -Actor *ActorProfileUnkZLBS::Create() { +Actor* ActorProfileUnkZLBS::Create() { return new(HeapIndex_2) ActorUnkZLBS(); } diff --git a/src/075_BossLast2/Actor/ActorUnkMABL.cpp b/src/075_BossLast2/Actor/ActorUnkMABL.cpp index 58dc937c5..59c656953 100644 --- a/src/075_BossLast2/Actor/ActorUnkMABL.cpp +++ b/src/075_BossLast2/Actor/ActorUnkMABL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMABL); -Actor *ActorProfileUnkMABL::Create() { +Actor* ActorProfileUnkMABL::Create() { return new(HeapIndex_2) ActorUnkMABL(); } diff --git a/src/075_BossLast2/Actor/ActorUnkMRD2.cpp b/src/075_BossLast2/Actor/ActorUnkMRD2.cpp index ec4f9efe9..60f218326 100644 --- a/src/075_BossLast2/Actor/ActorUnkMRD2.cpp +++ b/src/075_BossLast2/Actor/ActorUnkMRD2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMRD2); -Actor *ActorProfileUnkMRD2::Create() { +Actor* ActorProfileUnkMRD2::Create() { return new(HeapIndex_2) ActorUnkMRD2(); } @@ -102,7 +102,7 @@ void ActorUnkMRD2::func_ov075_0215b4dc(void) {} void ActorUnkMRD2::func_ov075_0215b578(void) {} void ActorUnkMRD2::func_ov075_0215b914(void) {} void ActorUnkMRD2::func_ov075_0215bbe8(void) {} -bool ActorUnkMRD2::func_ov075_0215bbf0(RefStruct *param1, unk32 *param2) { +bool ActorUnkMRD2::func_ov075_0215bbf0(RefStruct* param1, unk32* param2) { return false; } void ActorUnkMRD2::func_ov075_0215bc50(void) {} diff --git a/src/075_BossLast2/Actor/ActorUnkMRDA_MRDO.cpp b/src/075_BossLast2/Actor/ActorUnkMRDA_MRDO.cpp index 25d214f72..d3f45d94e 100644 --- a/src/075_BossLast2/Actor/ActorUnkMRDA_MRDO.cpp +++ b/src/075_BossLast2/Actor/ActorUnkMRDA_MRDO.cpp @@ -7,7 +7,7 @@ DECL_PROFILE(ActorProfileUnkMRDA); -Actor *ActorProfileUnkMRDA::Create() { +Actor* ActorProfileUnkMRDA::Create() { return new(HeapIndex_2) ActorUnkMRDA(); } @@ -20,7 +20,7 @@ ActorUnkMRDA::ActorUnkMRDA() {} DECL_PROFILE(ActorProfileUnkMRDO); -Actor *ActorProfileUnkMRDO::Create() { +Actor* ActorProfileUnkMRDO::Create() { return new(HeapIndex_2) ActorUnkMRDO(); } diff --git a/src/075_BossLast2/Actor/ActorUnkMRDL.cpp b/src/075_BossLast2/Actor/ActorUnkMRDL.cpp index cd1567845..7de5adc0f 100644 --- a/src/075_BossLast2/Actor/ActorUnkMRDL.cpp +++ b/src/075_BossLast2/Actor/ActorUnkMRDL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMRDL); -Actor *ActorProfileUnkMRDL::Create() { +Actor* ActorProfileUnkMRDL::Create() { return new(HeapIndex_2) ActorUnkMRDL(); } diff --git a/src/076_DgnLv1/Actor/ActorUnkBGOK.cpp b/src/076_DgnLv1/Actor/ActorUnkBGOK.cpp index 123e78b49..0896cb0d0 100644 --- a/src/076_DgnLv1/Actor/ActorUnkBGOK.cpp +++ b/src/076_DgnLv1/Actor/ActorUnkBGOK.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBGOK); -Actor *ActorProfileUnkBGOK::Create() { +Actor* ActorProfileUnkBGOK::Create() { return new(HeapIndex_2) ActorUnkBGOK(); } diff --git a/src/077_DgnForest/Actor/ActorUnkASBA.cpp b/src/077_DgnForest/Actor/ActorUnkASBA.cpp index f391347d0..42fccba3d 100644 --- a/src/077_DgnForest/Actor/ActorUnkASBA.cpp +++ b/src/077_DgnForest/Actor/ActorUnkASBA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkASBA); -Actor *ActorProfileUnkASBA::Create() { +Actor* ActorProfileUnkASBA::Create() { return new(HeapIndex_2) ActorUnkASBA(); } diff --git a/src/077_DgnForest/Actor/ActorUnkASYU.cpp b/src/077_DgnForest/Actor/ActorUnkASYU.cpp index 4ed3a5841..4e9787668 100644 --- a/src/077_DgnForest/Actor/ActorUnkASYU.cpp +++ b/src/077_DgnForest/Actor/ActorUnkASYU.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkASYU); -Actor *ActorProfileUnkASYU::Create() { +Actor* ActorProfileUnkASYU::Create() { return new(HeapIndex_2) ActorUnkASYU(); } diff --git a/src/077_DgnForest/Actor/ActorUnkBBLE.cpp b/src/077_DgnForest/Actor/ActorUnkBBLE.cpp index 612b1ad69..be25cfc2f 100644 --- a/src/077_DgnForest/Actor/ActorUnkBBLE.cpp +++ b/src/077_DgnForest/Actor/ActorUnkBBLE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBBLE); -Actor *ActorProfileUnkBBLE::Create() { +Actor* ActorProfileUnkBBLE::Create() { return new(HeapIndex_2) ActorUnkBBLE(); } diff --git a/src/077_DgnForest/Actor/ActorUnkDSFR.cpp b/src/077_DgnForest/Actor/ActorUnkDSFR.cpp index a5bfd30ae..fa3fdd775 100644 --- a/src/077_DgnForest/Actor/ActorUnkDSFR.cpp +++ b/src/077_DgnForest/Actor/ActorUnkDSFR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDSFR); -Actor *ActorProfileUnkDSFR::Create() { +Actor* ActorProfileUnkDSFR::Create() { return new(HeapIndex_2) ActorUnkDSFR(); } diff --git a/src/077_DgnForest/Actor/ActorUnkGOKI.cpp b/src/077_DgnForest/Actor/ActorUnkGOKI.cpp index 869e70797..79fbc769c 100644 --- a/src/077_DgnForest/Actor/ActorUnkGOKI.cpp +++ b/src/077_DgnForest/Actor/ActorUnkGOKI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkGOKI); -Actor *ActorProfileUnkGOKI::Create() { +Actor* ActorProfileUnkGOKI::Create() { return new(HeapIndex_2) ActorUnkGOKI(); } diff --git a/src/077_DgnForest/Actor/ActorUnkOFSW.cpp b/src/077_DgnForest/Actor/ActorUnkOFSW.cpp index d425ba22b..11601d046 100644 --- a/src/077_DgnForest/Actor/ActorUnkOFSW.cpp +++ b/src/077_DgnForest/Actor/ActorUnkOFSW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkOFSW); -Actor *ActorProfileUnkOFSW::Create() { +Actor* ActorProfileUnkOFSW::Create() { return new(HeapIndex_2) ActorUnkOFSW(); } diff --git a/src/077_DgnForest/Actor/ActorUnkPMST.cpp b/src/077_DgnForest/Actor/ActorUnkPMST.cpp index efcaa3277..2dc362855 100644 --- a/src/077_DgnForest/Actor/ActorUnkPMST.cpp +++ b/src/077_DgnForest/Actor/ActorUnkPMST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPMST); -Actor *ActorProfileUnkPMST::Create() { +Actor* ActorProfileUnkPMST::Create() { return new(HeapIndex_2) ActorUnkPMST(); } diff --git a/src/077_DgnForest/MapObject/MapObjectUnkGTRK.cpp b/src/077_DgnForest/MapObject/MapObjectUnkGTRK.cpp index 5fb6ae013..3f9543812 100644 --- a/src/077_DgnForest/MapObject/MapObjectUnkGTRK.cpp +++ b/src/077_DgnForest/MapObject/MapObjectUnkGTRK.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkGTRK); -MapObject *MapObjectProfileUnkGTRK::Create() { +MapObject* MapObjectProfileUnkGTRK::Create() { return new(HeapIndex_2) MapObjectUnkGTRK(); } diff --git a/src/077_DgnForest/MapObject/MapObjectUnkPLFR.cpp b/src/077_DgnForest/MapObject/MapObjectUnkPLFR.cpp index 7931e109f..7a052bbbe 100644 --- a/src/077_DgnForest/MapObject/MapObjectUnkPLFR.cpp +++ b/src/077_DgnForest/MapObject/MapObjectUnkPLFR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkPLFR); -MapObject *MapObjectProfileUnkPLFR::Create() { +MapObject* MapObjectProfileUnkPLFR::Create() { return new(HeapIndex_2) MapObjectUnkPLFR(); } diff --git a/src/078_BossForest/Actor/ActorUnkFRBS.cpp b/src/078_BossForest/Actor/ActorUnkFRBS.cpp index f6074b416..2b9320830 100644 --- a/src/078_BossForest/Actor/ActorUnkFRBS.cpp +++ b/src/078_BossForest/Actor/ActorUnkFRBS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFRBS); -Actor *ActorProfileUnkFRBS::Create() { +Actor* ActorProfileUnkFRBS::Create() { return new(HeapIndex_2) ActorUnkFRBS(); } diff --git a/src/078_BossForest/Actor/ActorUnkRBFR.cpp b/src/078_BossForest/Actor/ActorUnkRBFR.cpp index 1a3e61097..0e27433d0 100644 --- a/src/078_BossForest/Actor/ActorUnkRBFR.cpp +++ b/src/078_BossForest/Actor/ActorUnkRBFR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRBFR); -Actor *ActorProfileUnkRBFR::Create() { +Actor* ActorProfileUnkRBFR::Create() { return new(HeapIndex_2) ActorUnkRBFR(); } diff --git a/src/078_BossForest/MapObject/MapObjectUnkSTSF.cpp b/src/078_BossForest/MapObject/MapObjectUnkSTSF.cpp index b3f3479dc..e50804237 100644 --- a/src/078_BossForest/MapObject/MapObjectUnkSTSF.cpp +++ b/src/078_BossForest/MapObject/MapObjectUnkSTSF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSTSF); -MapObject *MapObjectProfileUnkSTSF::Create() { +MapObject* MapObjectProfileUnkSTSF::Create() { return new(HeapIndex_2) MapObjectUnkSTSF(); } diff --git a/src/079_DgnSnow/Actor/ActorUnkDSSN.cpp b/src/079_DgnSnow/Actor/ActorUnkDSSN.cpp index 757b39ccf..aeb06dea5 100644 --- a/src/079_DgnSnow/Actor/ActorUnkDSSN.cpp +++ b/src/079_DgnSnow/Actor/ActorUnkDSSN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDSSN); -Actor *ActorProfileUnkDSSN::Create() { +Actor* ActorProfileUnkDSSN::Create() { return new(HeapIndex_2) ActorUnkDSSN(); } diff --git a/src/079_DgnSnow/Actor/ActorUnkOCTW.cpp b/src/079_DgnSnow/Actor/ActorUnkOCTW.cpp index cdb8e2c3c..6dbdfcf6b 100644 --- a/src/079_DgnSnow/Actor/ActorUnkOCTW.cpp +++ b/src/079_DgnSnow/Actor/ActorUnkOCTW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkOCTW); -Actor *ActorProfileUnkOCTW::Create() { +Actor* ActorProfileUnkOCTW::Create() { return new(HeapIndex_2) ActorUnkOCTW(); } diff --git a/src/079_DgnSnow/Actor/ActorUnkOCWS.cpp b/src/079_DgnSnow/Actor/ActorUnkOCWS.cpp index 15e1a600d..fe08732db 100644 --- a/src/079_DgnSnow/Actor/ActorUnkOCWS.cpp +++ b/src/079_DgnSnow/Actor/ActorUnkOCWS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkOCWS); -Actor *ActorProfileUnkOCWS::Create() { +Actor* ActorProfileUnkOCWS::Create() { return new(HeapIndex_2) ActorUnkOCWS(); } diff --git a/src/079_DgnSnow/Actor/ActorUnkPSBL.cpp b/src/079_DgnSnow/Actor/ActorUnkPSBL.cpp index b4afeceea..02d1d0245 100644 --- a/src/079_DgnSnow/Actor/ActorUnkPSBL.cpp +++ b/src/079_DgnSnow/Actor/ActorUnkPSBL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPSBL); -Actor *ActorProfileUnkPSBL::Create() { +Actor* ActorProfileUnkPSBL::Create() { return new(HeapIndex_2) ActorUnkPSBL(); } @@ -46,7 +46,7 @@ void ActorUnkPSBL::func_ov079_021524dc(void) {} void ActorUnkPSBL::func_ov079_021524e8(void) {} void ActorUnkPSBL::func_ov079_02152554(void) {} void ActorUnkPSBL::func_ov079_02152594(void) {} -void ActorUnkPSBL::func_ov079_02152658(VecFx32 *param1) {} +void ActorUnkPSBL::func_ov079_02152658(VecFx32* param1) {} void ActorUnkPSBL::func_ov079_02152684(void) {} void ActorUnkPSBL::func_ov079_02152714(void) {} void ActorUnkPSBL::func_ov079_021527a8(void) {} diff --git a/src/079_DgnSnow/Actor/ActorUnkSSFC.cpp b/src/079_DgnSnow/Actor/ActorUnkSSFC.cpp index 0e523a2fe..845ac772b 100644 --- a/src/079_DgnSnow/Actor/ActorUnkSSFC.cpp +++ b/src/079_DgnSnow/Actor/ActorUnkSSFC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSSFC); -Actor *ActorProfileUnkSSFC::Create() { +Actor* ActorProfileUnkSSFC::Create() { return new(HeapIndex_2) ActorUnkSSFC(); } diff --git a/src/079_DgnSnow/MapObject/MapObjectUnkBLHL.cpp b/src/079_DgnSnow/MapObject/MapObjectUnkBLHL.cpp index 844aee0ae..591836274 100644 --- a/src/079_DgnSnow/MapObject/MapObjectUnkBLHL.cpp +++ b/src/079_DgnSnow/MapObject/MapObjectUnkBLHL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBLHL); -MapObject *MapObjectProfileUnkBLHL::Create() { +MapObject* MapObjectProfileUnkBLHL::Create() { return new(HeapIndex_2) MapObjectUnkBLHL(); } diff --git a/src/079_DgnSnow/MapObject/MapObjectUnkDRSN.cpp b/src/079_DgnSnow/MapObject/MapObjectUnkDRSN.cpp index bf3da226b..a21059023 100644 --- a/src/079_DgnSnow/MapObject/MapObjectUnkDRSN.cpp +++ b/src/079_DgnSnow/MapObject/MapObjectUnkDRSN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRSN); -MapObject *MapObjectProfileUnkDRSN::Create() { +MapObject* MapObjectProfileUnkDRSN::Create() { return new(HeapIndex_2) MapObjectUnkDRSN(); } diff --git a/src/079_DgnSnow/MapObject/MapObjectUnkFSSV.cpp b/src/079_DgnSnow/MapObject/MapObjectUnkFSSV.cpp index 603c01a32..e6aafe02f 100644 --- a/src/079_DgnSnow/MapObject/MapObjectUnkFSSV.cpp +++ b/src/079_DgnSnow/MapObject/MapObjectUnkFSSV.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFSSV); -MapObject *MapObjectProfileUnkFSSV::Create() { +MapObject* MapObjectProfileUnkFSSV::Create() { return new(HeapIndex_2) MapObjectUnkFSSV(); } diff --git a/src/079_DgnSnow/MapObject/MapObjectUnkGTSN.cpp b/src/079_DgnSnow/MapObject/MapObjectUnkGTSN.cpp index 92097a1ea..ce949321b 100644 --- a/src/079_DgnSnow/MapObject/MapObjectUnkGTSN.cpp +++ b/src/079_DgnSnow/MapObject/MapObjectUnkGTSN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkGTSN); -MapObject *MapObjectProfileUnkGTSN::Create() { +MapObject* MapObjectProfileUnkGTSN::Create() { return new(HeapIndex_2) MapObjectUnkGTSN(); } diff --git a/src/079_DgnSnow/MapObject/MapObjectUnkICGR.cpp b/src/079_DgnSnow/MapObject/MapObjectUnkICGR.cpp index 134cc2e2d..8c91417d2 100644 --- a/src/079_DgnSnow/MapObject/MapObjectUnkICGR.cpp +++ b/src/079_DgnSnow/MapObject/MapObjectUnkICGR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkICGR); -MapObject *MapObjectProfileUnkICGR::Create() { +MapObject* MapObjectProfileUnkICGR::Create() { return new(HeapIndex_2) MapObjectUnkICGR(); } diff --git a/src/080_BossSnow/Actor/ActorUnkICBA.cpp b/src/080_BossSnow/Actor/ActorUnkICBA.cpp index 588440914..e2db252f9 100644 --- a/src/080_BossSnow/Actor/ActorUnkICBA.cpp +++ b/src/080_BossSnow/Actor/ActorUnkICBA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkICBA); -Actor *ActorProfileUnkICBA::Create() { +Actor* ActorProfileUnkICBA::Create() { return new(HeapIndex_2) ActorUnkICBA(); } diff --git a/src/080_BossSnow/Actor/ActorUnkICBS.cpp b/src/080_BossSnow/Actor/ActorUnkICBS.cpp index c35779948..be92ab4f1 100644 --- a/src/080_BossSnow/Actor/ActorUnkICBS.cpp +++ b/src/080_BossSnow/Actor/ActorUnkICBS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkICBS); -Actor *ActorProfileUnkICBS::Create() { +Actor* ActorProfileUnkICBS::Create() { return new(HeapIndex_2) ActorUnkICBS(); } @@ -27,7 +27,7 @@ void ActorUnkICBS::func_ov080_0215140c(void) {} void ActorUnkICBS::func_ov080_02151744(void) {} void ActorUnkICBS::func_ov080_0215183c(void) {} void ActorUnkICBS::func_ov080_021518b4(void) {} -void ActorUnkICBS::func_ov080_02151970(VecFx32 *param1) {} +void ActorUnkICBS::func_ov080_02151970(VecFx32* param1) {} void ActorUnkICBS::func_ov080_02151f58(void) {} void ActorUnkICBS::func_ov080_02152078(void) {} void ActorUnkICBS::func_ov080_0215219c(void) {} diff --git a/src/080_BossSnow/Actor/ActorUnkRBSN.cpp b/src/080_BossSnow/Actor/ActorUnkRBSN.cpp index e24bc851a..f0b362436 100644 --- a/src/080_BossSnow/Actor/ActorUnkRBSN.cpp +++ b/src/080_BossSnow/Actor/ActorUnkRBSN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRBSN); -Actor *ActorProfileUnkRBSN::Create() { +Actor* ActorProfileUnkRBSN::Create() { return new(HeapIndex_2) ActorUnkRBSN(); } diff --git a/src/080_BossSnow/MapObject/MapObjectUnkSTSS.cpp b/src/080_BossSnow/MapObject/MapObjectUnkSTSS.cpp index 6a60f234c..77522aff3 100644 --- a/src/080_BossSnow/MapObject/MapObjectUnkSTSS.cpp +++ b/src/080_BossSnow/MapObject/MapObjectUnkSTSS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSTSS); -MapObject *MapObjectProfileUnkSTSS::Create() { +MapObject* MapObjectProfileUnkSTSS::Create() { return new(HeapIndex_2) MapObjectUnkSTSS(); } diff --git a/src/081_DgnLv3/Actor/ActorUnkPRPL.cpp b/src/081_DgnLv3/Actor/ActorUnkPRPL.cpp index dd50d4791..7473503be 100644 --- a/src/081_DgnLv3/Actor/ActorUnkPRPL.cpp +++ b/src/081_DgnLv3/Actor/ActorUnkPRPL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPRPL); -Actor *ActorProfileUnkPRPL::Create() { +Actor* ActorProfileUnkPRPL::Create() { return new(HeapIndex_2) ActorUnkPRPL(); } diff --git a/src/081_DgnLv3/Actor/ActorUnkPRPP.cpp b/src/081_DgnLv3/Actor/ActorUnkPRPP.cpp index 8a31cbacd..c63bfa603 100644 --- a/src/081_DgnLv3/Actor/ActorUnkPRPP.cpp +++ b/src/081_DgnLv3/Actor/ActorUnkPRPP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPRPP); -Actor *ActorProfileUnkPRPP::Create() { +Actor* ActorProfileUnkPRPP::Create() { return new(HeapIndex_2) ActorUnkPRPP(); } diff --git a/src/081_DgnLv3/MapObject/MapObjectUnkPRSH.cpp b/src/081_DgnLv3/MapObject/MapObjectUnkPRSH.cpp index 0a7e2b9c9..461608588 100644 --- a/src/081_DgnLv3/MapObject/MapObjectUnkPRSH.cpp +++ b/src/081_DgnLv3/MapObject/MapObjectUnkPRSH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkPRSH); -MapObject *MapObjectProfileUnkPRSH::Create() { +MapObject* MapObjectProfileUnkPRSH::Create() { return new(HeapIndex_2) MapObjectUnkPRSH(); } diff --git a/src/082_DgnWater/Actor/ActorUnkDSWT.cpp b/src/082_DgnWater/Actor/ActorUnkDSWT.cpp index 1e678e19f..ef0467a4b 100644 --- a/src/082_DgnWater/Actor/ActorUnkDSWT.cpp +++ b/src/082_DgnWater/Actor/ActorUnkDSWT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDSWT); -Actor *ActorProfileUnkDSWT::Create() { +Actor* ActorProfileUnkDSWT::Create() { return new(HeapIndex_2) ActorUnkDSWT(); } diff --git a/src/082_DgnWater/Actor/ActorUnkEWHI.cpp b/src/082_DgnWater/Actor/ActorUnkEWHI.cpp index d5c4bbe96..e40cc6817 100644 --- a/src/082_DgnWater/Actor/ActorUnkEWHI.cpp +++ b/src/082_DgnWater/Actor/ActorUnkEWHI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEWHI); -Actor *ActorProfileUnkEWHI::Create() { +Actor* ActorProfileUnkEWHI::Create() { return new(HeapIndex_2) ActorUnkEWHI(); } diff --git a/src/082_DgnWater/Actor/ActorUnkWHMA.cpp b/src/082_DgnWater/Actor/ActorUnkWHMA.cpp index 4439f3b35..ec6331ca0 100644 --- a/src/082_DgnWater/Actor/ActorUnkWHMA.cpp +++ b/src/082_DgnWater/Actor/ActorUnkWHMA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWHMA); -Actor *ActorProfileUnkWHMA::Create() { +Actor* ActorProfileUnkWHMA::Create() { return new(HeapIndex_2) ActorUnkWHMA(); } diff --git a/src/083_BossWater/Actor/ActorUnkEFR3.cpp b/src/083_BossWater/Actor/ActorUnkEFR3.cpp index d6471dc6b..f1ace6825 100644 --- a/src/083_BossWater/Actor/ActorUnkEFR3.cpp +++ b/src/083_BossWater/Actor/ActorUnkEFR3.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEFR3); -Actor *ActorProfileUnkEFR3::Create() { +Actor* ActorProfileUnkEFR3::Create() { return new(HeapIndex_2) ActorUnkEFR3(); } diff --git a/src/083_BossWater/Actor/ActorUnkEFW3.cpp b/src/083_BossWater/Actor/ActorUnkEFW3.cpp index 89774f70a..dab24089c 100644 --- a/src/083_BossWater/Actor/ActorUnkEFW3.cpp +++ b/src/083_BossWater/Actor/ActorUnkEFW3.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEFW3); -Actor *ActorProfileUnkEFW3::Create() { +Actor* ActorProfileUnkEFW3::Create() { return new(HeapIndex_2) ActorUnkEFW3(); } diff --git a/src/083_BossWater/Actor/ActorUnkNPWC.cpp b/src/083_BossWater/Actor/ActorUnkNPWC.cpp index 25676baca..07a7ad8db 100644 --- a/src/083_BossWater/Actor/ActorUnkNPWC.cpp +++ b/src/083_BossWater/Actor/ActorUnkNPWC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkNPWC); -Actor *ActorProfileUnkNPWC::Create() { +Actor* ActorProfileUnkNPWC::Create() { return new(HeapIndex_2) ActorUnkNPWC(); } diff --git a/src/083_BossWater/Actor/ActorUnkRBWS.cpp b/src/083_BossWater/Actor/ActorUnkRBWS.cpp index 8d6cab02f..715ac808d 100644 --- a/src/083_BossWater/Actor/ActorUnkRBWS.cpp +++ b/src/083_BossWater/Actor/ActorUnkRBWS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRBWS); -Actor *ActorProfileUnkRBWS::Create() { +Actor* ActorProfileUnkRBWS::Create() { return new(HeapIndex_2) ActorUnkRBWS(); } diff --git a/src/083_BossWater/Actor/ActorUnkRBWT.cpp b/src/083_BossWater/Actor/ActorUnkRBWT.cpp index 22bb012cb..7ae5f0816 100644 --- a/src/083_BossWater/Actor/ActorUnkRBWT.cpp +++ b/src/083_BossWater/Actor/ActorUnkRBWT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRBWT); -Actor *ActorProfileUnkRBWT::Create() { +Actor* ActorProfileUnkRBWT::Create() { return new(HeapIndex_2) ActorUnkRBWT(); } diff --git a/src/083_BossWater/Actor/ActorUnkWBEF.cpp b/src/083_BossWater/Actor/ActorUnkWBEF.cpp index a4e63d024..fa9305037 100644 --- a/src/083_BossWater/Actor/ActorUnkWBEF.cpp +++ b/src/083_BossWater/Actor/ActorUnkWBEF.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWBEF); -Actor *ActorProfileUnkWBEF::Create() { +Actor* ActorProfileUnkWBEF::Create() { return new(HeapIndex_2) ActorUnkWBEF(); } diff --git a/src/083_BossWater/Actor/ActorUnkWBPS.cpp b/src/083_BossWater/Actor/ActorUnkWBPS.cpp index 5a4076270..b7f74a4f7 100644 --- a/src/083_BossWater/Actor/ActorUnkWBPS.cpp +++ b/src/083_BossWater/Actor/ActorUnkWBPS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWBPS); -Actor *ActorProfileUnkWBPS::Create() { +Actor* ActorProfileUnkWBPS::Create() { return new(HeapIndex_2) ActorUnkWBPS(); } diff --git a/src/083_BossWater/Actor/ActorUnkWTBS.cpp b/src/083_BossWater/Actor/ActorUnkWTBS.cpp index c06dc9c2e..6f969f8aa 100644 --- a/src/083_BossWater/Actor/ActorUnkWTBS.cpp +++ b/src/083_BossWater/Actor/ActorUnkWTBS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWTBS); -Actor *ActorProfileUnkWTBS::Create() { +Actor* ActorProfileUnkWTBS::Create() { return new(HeapIndex_2) ActorUnkWTBS(); } diff --git a/src/083_BossWater/MapObject/MapObjectUnkSHWB.cpp b/src/083_BossWater/MapObject/MapObjectUnkSHWB.cpp index b9ffd2d4e..29bad0cea 100644 --- a/src/083_BossWater/MapObject/MapObjectUnkSHWB.cpp +++ b/src/083_BossWater/MapObject/MapObjectUnkSHWB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSHWB); -MapObject *MapObjectProfileUnkSHWB::Create() { +MapObject* MapObjectProfileUnkSHWB::Create() { return new(HeapIndex_2) MapObjectUnkSHWB(); } diff --git a/src/084_BossFlame/Actor/ActorUnkDSVC.cpp b/src/084_BossFlame/Actor/ActorUnkDSVC.cpp index 2d404ab3c..d65560c99 100644 --- a/src/084_BossFlame/Actor/ActorUnkDSVC.cpp +++ b/src/084_BossFlame/Actor/ActorUnkDSVC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDSVC); -Actor *ActorProfileUnkDSVC::Create() { +Actor* ActorProfileUnkDSVC::Create() { return new(HeapIndex_2) ActorUnkDSVC(); } diff --git a/src/084_BossFlame/Actor/ActorUnkFIRB.cpp b/src/084_BossFlame/Actor/ActorUnkFIRB.cpp index e82db5aa7..de2b88cb9 100644 --- a/src/084_BossFlame/Actor/ActorUnkFIRB.cpp +++ b/src/084_BossFlame/Actor/ActorUnkFIRB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFIRB); -Actor *ActorProfileUnkFIRB::Create() { +Actor* ActorProfileUnkFIRB::Create() { return new(HeapIndex_2) ActorUnkFIRB(); } diff --git a/src/084_BossFlame/Actor/ActorUnkITSC.cpp b/src/084_BossFlame/Actor/ActorUnkITSC.cpp index 729f8a00a..fded8a746 100644 --- a/src/084_BossFlame/Actor/ActorUnkITSC.cpp +++ b/src/084_BossFlame/Actor/ActorUnkITSC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkITSC); -Actor *ActorProfileUnkITSC::Create() { +Actor* ActorProfileUnkITSC::Create() { return new(HeapIndex_2) ActorUnkITSC(); } diff --git a/src/084_BossFlame/Actor/ActorUnkIWTS.cpp b/src/084_BossFlame/Actor/ActorUnkIWTS.cpp index 84221afd6..31d393851 100644 --- a/src/084_BossFlame/Actor/ActorUnkIWTS.cpp +++ b/src/084_BossFlame/Actor/ActorUnkIWTS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkIWTS); -Actor *ActorProfileUnkIWTS::Create() { +Actor* ActorProfileUnkIWTS::Create() { return new(HeapIndex_2) ActorUnkIWTS(); } @@ -49,7 +49,7 @@ void ActorUnkIWTS::func_ov084_02152cd8(void) {} void ActorUnkIWTS::func_ov084_02152cec(void) {} void ActorUnkIWTS::func_ov084_02152d10(void) {} void ActorUnkIWTS::func_ov084_02153018(void) {} -bool ActorUnkIWTS::func_ov084_02153064(RefStruct *, MtxFx43 **) {} +bool ActorUnkIWTS::func_ov084_02153064(RefStruct*, MtxFx43**) {} void ActorUnkIWTS::func_ov084_021530d4(void) {} void ActorUnkIWTS::func_ov084_0215315c(void) {} void ActorUnkIWTS::func_ov084_02153194(void) {} diff --git a/src/084_BossFlame/Actor/ActorUnkLAVA.cpp b/src/084_BossFlame/Actor/ActorUnkLAVA.cpp index dad482dfa..a46c45dc3 100644 --- a/src/084_BossFlame/Actor/ActorUnkLAVA.cpp +++ b/src/084_BossFlame/Actor/ActorUnkLAVA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkLAVA); -Actor *ActorProfileUnkLAVA::Create() { +Actor* ActorProfileUnkLAVA::Create() { return new(HeapIndex_2) ActorUnkLAVA(); } diff --git a/src/084_BossFlame/Actor/ActorUnkLBRC.cpp b/src/084_BossFlame/Actor/ActorUnkLBRC.cpp index aca9eabdc..31933ff4a 100644 --- a/src/084_BossFlame/Actor/ActorUnkLBRC.cpp +++ b/src/084_BossFlame/Actor/ActorUnkLBRC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkLBRC); -Actor *ActorProfileUnkLBRC::Create() { +Actor* ActorProfileUnkLBRC::Create() { return new(HeapIndex_2) ActorUnkLBRC(); } diff --git a/src/084_BossFlame/Actor/ActorUnkLVBD.cpp b/src/084_BossFlame/Actor/ActorUnkLVBD.cpp index c0579b071..442d36040 100644 --- a/src/084_BossFlame/Actor/ActorUnkLVBD.cpp +++ b/src/084_BossFlame/Actor/ActorUnkLVBD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkLVBD); -Actor *ActorProfileUnkLVBD::Create() { +Actor* ActorProfileUnkLVBD::Create() { return new(HeapIndex_2) ActorUnkLVBD(); } diff --git a/src/084_BossFlame/Actor/ActorUnkRBVC.cpp b/src/084_BossFlame/Actor/ActorUnkRBVC.cpp index b62f383a5..79c789cd0 100644 --- a/src/084_BossFlame/Actor/ActorUnkRBVC.cpp +++ b/src/084_BossFlame/Actor/ActorUnkRBVC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRBVC); -Actor *ActorProfileUnkRBVC::Create() { +Actor* ActorProfileUnkRBVC::Create() { return new(HeapIndex_2) ActorUnkRBVC(); } diff --git a/src/084_BossFlame/Actor/ActorUnkWIDR.cpp b/src/084_BossFlame/Actor/ActorUnkWIDR.cpp index 7c1c78c35..e88ddc548 100644 --- a/src/084_BossFlame/Actor/ActorUnkWIDR.cpp +++ b/src/084_BossFlame/Actor/ActorUnkWIDR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWIDR); -Actor *ActorProfileUnkWIDR::Create() { +Actor* ActorProfileUnkWIDR::Create() { return new(HeapIndex_2) ActorUnkWIDR(); } diff --git a/src/084_BossFlame/Actor/ActorUnkWIDT.cpp b/src/084_BossFlame/Actor/ActorUnkWIDT.cpp index a52b86696..fcc0c17f7 100644 --- a/src/084_BossFlame/Actor/ActorUnkWIDT.cpp +++ b/src/084_BossFlame/Actor/ActorUnkWIDT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWIDT); -Actor *ActorProfileUnkWIDT::Create() { +Actor* ActorProfileUnkWIDT::Create() { return new(HeapIndex_2) ActorUnkWIDT(); } diff --git a/src/084_BossFlame/MapObject/MapObjectUnkLVCM.cpp b/src/084_BossFlame/MapObject/MapObjectUnkLVCM.cpp index f616050c1..cbcbc185d 100644 --- a/src/084_BossFlame/MapObject/MapObjectUnkLVCM.cpp +++ b/src/084_BossFlame/MapObject/MapObjectUnkLVCM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkLVCM); -MapObject *MapObjectProfileUnkLVCM::Create() { +MapObject* MapObjectProfileUnkLVCM::Create() { return new(HeapIndex_2) MapObjectUnkLVCM(); } diff --git a/src/084_BossFlame/MapObject/MapObjectUnkMLVC.cpp b/src/084_BossFlame/MapObject/MapObjectUnkMLVC.cpp index bef2f256e..172bd405e 100644 --- a/src/084_BossFlame/MapObject/MapObjectUnkMLVC.cpp +++ b/src/084_BossFlame/MapObject/MapObjectUnkMLVC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMLVC); -MapObject *MapObjectProfileUnkMLVC::Create() { +MapObject* MapObjectProfileUnkMLVC::Create() { return new(HeapIndex_2) MapObjectUnkMLVC(); } diff --git a/src/084_BossFlame/MapObject/MapObjectUnkPLV2.cpp b/src/084_BossFlame/MapObject/MapObjectUnkPLV2.cpp index 7e4a07d7b..5d238529a 100644 --- a/src/084_BossFlame/MapObject/MapObjectUnkPLV2.cpp +++ b/src/084_BossFlame/MapObject/MapObjectUnkPLV2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkPLV2); -MapObject *MapObjectProfileUnkPLV2::Create() { +MapObject* MapObjectProfileUnkPLV2::Create() { return new(HeapIndex_2) MapObjectUnkPLV2(); } diff --git a/src/084_BossFlame/MapObject/MapObjectUnkSTSV.cpp b/src/084_BossFlame/MapObject/MapObjectUnkSTSV.cpp index ae498cf82..dc867b438 100644 --- a/src/084_BossFlame/MapObject/MapObjectUnkSTSV.cpp +++ b/src/084_BossFlame/MapObject/MapObjectUnkSTSV.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSTSV); -MapObject *MapObjectProfileUnkSTSV::Create() { +MapObject* MapObjectProfileUnkSTSV::Create() { return new(HeapIndex_2) MapObjectUnkSTSV(); } diff --git a/src/084_BossFlame/MapObject/MapObjectUnkTMLV.cpp b/src/084_BossFlame/MapObject/MapObjectUnkTMLV.cpp index 00e0159b0..72f980352 100644 --- a/src/084_BossFlame/MapObject/MapObjectUnkTMLV.cpp +++ b/src/084_BossFlame/MapObject/MapObjectUnkTMLV.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTMLV); -MapObject *MapObjectProfileUnkTMLV::Create() { +MapObject* MapObjectProfileUnkTMLV::Create() { return new(HeapIndex_2) MapObjectUnkTMLV(); } diff --git a/src/085_DgnLv5/Actor/ActorUnkGRCM.cpp b/src/085_DgnLv5/Actor/ActorUnkGRCM.cpp index 20d739eb9..797f81157 100644 --- a/src/085_DgnLv5/Actor/ActorUnkGRCM.cpp +++ b/src/085_DgnLv5/Actor/ActorUnkGRCM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkGRCM); -Actor *ActorProfileUnkGRCM::Create() { +Actor* ActorProfileUnkGRCM::Create() { return new(HeapIndex_2) ActorUnkGRCM(); } diff --git a/src/085_DgnLv5/Actor/ActorUnkSRST.cpp b/src/085_DgnLv5/Actor/ActorUnkSRST.cpp index 84f1fd055..123a9de13 100644 --- a/src/085_DgnLv5/Actor/ActorUnkSRST.cpp +++ b/src/085_DgnLv5/Actor/ActorUnkSRST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSRST); -Actor *ActorProfileUnkSRST::Create() { +Actor* ActorProfileUnkSRST::Create() { return new(HeapIndex_2) ActorUnkSRST(); } diff --git a/src/085_DgnLv5/MapObject/MapObjectUnkCTPT.cpp b/src/085_DgnLv5/MapObject/MapObjectUnkCTPT.cpp index 951cba582..ad8f37b57 100644 --- a/src/085_DgnLv5/MapObject/MapObjectUnkCTPT.cpp +++ b/src/085_DgnLv5/MapObject/MapObjectUnkCTPT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkCTPT); -MapObject *MapObjectProfileUnkCTPT::Create() { +MapObject* MapObjectProfileUnkCTPT::Create() { return new(HeapIndex_2) MapObjectUnkCTPT(); } diff --git a/src/086_DgnDesert/Actor/ActorUnkDSDS.cpp b/src/086_DgnDesert/Actor/ActorUnkDSDS.cpp index f92ef91ee..cc990d74a 100644 --- a/src/086_DgnDesert/Actor/ActorUnkDSDS.cpp +++ b/src/086_DgnDesert/Actor/ActorUnkDSDS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDSDS); -Actor *ActorProfileUnkDSDS::Create() { +Actor* ActorProfileUnkDSDS::Create() { return new(HeapIndex_2) ActorUnkDSDS(); } diff --git a/src/086_DgnDesert/Actor/ActorUnkEFSC.cpp b/src/086_DgnDesert/Actor/ActorUnkEFSC.cpp index 201250420..06baac5ad 100644 --- a/src/086_DgnDesert/Actor/ActorUnkEFSC.cpp +++ b/src/086_DgnDesert/Actor/ActorUnkEFSC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEFSC); -Actor *ActorProfileUnkEFSC::Create() { +Actor* ActorProfileUnkEFSC::Create() { return new(HeapIndex_2) ActorUnkEFSC(); } diff --git a/src/086_DgnDesert/Actor/ActorUnkHAMN.cpp b/src/086_DgnDesert/Actor/ActorUnkHAMN.cpp index e34ce3792..83d3c4ae2 100644 --- a/src/086_DgnDesert/Actor/ActorUnkHAMN.cpp +++ b/src/086_DgnDesert/Actor/ActorUnkHAMN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkHAMN); -Actor *ActorProfileUnkHAMN::Create() { +Actor* ActorProfileUnkHAMN::Create() { return new(HeapIndex_2) ActorUnkHAMN(); } diff --git a/src/086_DgnDesert/Actor/ActorUnkOCGS.cpp b/src/086_DgnDesert/Actor/ActorUnkOCGS.cpp index 1f868058a..3747d61c9 100644 --- a/src/086_DgnDesert/Actor/ActorUnkOCGS.cpp +++ b/src/086_DgnDesert/Actor/ActorUnkOCGS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkOCGS); -Actor *ActorProfileUnkOCGS::Create() { +Actor* ActorProfileUnkOCGS::Create() { return new(HeapIndex_2) ActorUnkOCGS(); } diff --git a/src/086_DgnDesert/Actor/ActorUnkOCTG.cpp b/src/086_DgnDesert/Actor/ActorUnkOCTG.cpp index ae2808f34..460ba3576 100644 --- a/src/086_DgnDesert/Actor/ActorUnkOCTG.cpp +++ b/src/086_DgnDesert/Actor/ActorUnkOCTG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkOCTG); -Actor *ActorProfileUnkOCTG::Create() { +Actor* ActorProfileUnkOCTG::Create() { return new(HeapIndex_2) ActorUnkOCTG(); } diff --git a/src/086_DgnDesert/Actor/ActorUnkQKSD.cpp b/src/086_DgnDesert/Actor/ActorUnkQKSD.cpp index a48466fa3..315f87f9e 100644 --- a/src/086_DgnDesert/Actor/ActorUnkQKSD.cpp +++ b/src/086_DgnDesert/Actor/ActorUnkQKSD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkQKSD); -Actor *ActorProfileUnkQKSD::Create() { +Actor* ActorProfileUnkQKSD::Create() { return new(HeapIndex_2) ActorUnkQKSD(); } diff --git a/src/086_DgnDesert/Actor/ActorUnkQKTG.cpp b/src/086_DgnDesert/Actor/ActorUnkQKTG.cpp index 223611f12..d7c94ea42 100644 --- a/src/086_DgnDesert/Actor/ActorUnkQKTG.cpp +++ b/src/086_DgnDesert/Actor/ActorUnkQKTG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkQKTG); -Actor *ActorProfileUnkQKTG::Create() { +Actor* ActorProfileUnkQKTG::Create() { return new(HeapIndex_2) ActorUnkQKTG(); } diff --git a/src/086_DgnDesert/Actor/ActorUnkRMDS.cpp b/src/086_DgnDesert/Actor/ActorUnkRMDS.cpp index 07fa75a54..9a930b5b2 100644 --- a/src/086_DgnDesert/Actor/ActorUnkRMDS.cpp +++ b/src/086_DgnDesert/Actor/ActorUnkRMDS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMDS); -Actor *ActorProfileUnkRMDS::Create() { +Actor* ActorProfileUnkRMDS::Create() { return new(HeapIndex_2) ActorUnkRMDS(); } diff --git a/src/086_DgnDesert/Actor/ActorUnkRNTN.cpp b/src/086_DgnDesert/Actor/ActorUnkRNTN.cpp index f00ba97ce..591f332cc 100644 --- a/src/086_DgnDesert/Actor/ActorUnkRNTN.cpp +++ b/src/086_DgnDesert/Actor/ActorUnkRNTN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRNTN); -Actor *ActorProfileUnkRNTN::Create() { +Actor* ActorProfileUnkRNTN::Create() { return new(HeapIndex_2) ActorUnkRNTN(); } diff --git a/src/086_DgnDesert/MapObject/MapObjectUnkDRBR.cpp b/src/086_DgnDesert/MapObject/MapObjectUnkDRBR.cpp index 80d592117..eb69c2447 100644 --- a/src/086_DgnDesert/MapObject/MapObjectUnkDRBR.cpp +++ b/src/086_DgnDesert/MapObject/MapObjectUnkDRBR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRBR); -MapObject *MapObjectProfileUnkDRBR::Create() { +MapObject* MapObjectProfileUnkDRBR::Create() { return new(HeapIndex_2) MapObjectUnkDRBR(); } diff --git a/src/086_DgnDesert/MapObject/MapObjectUnkDRRS.cpp b/src/086_DgnDesert/MapObject/MapObjectUnkDRRS.cpp index 9912727fa..d57581308 100644 --- a/src/086_DgnDesert/MapObject/MapObjectUnkDRRS.cpp +++ b/src/086_DgnDesert/MapObject/MapObjectUnkDRRS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkDRRS); -MapObject *MapObjectProfileUnkDRRS::Create() { +MapObject* MapObjectProfileUnkDRRS::Create() { return new(HeapIndex_2) MapObjectUnkDRRS(); } diff --git a/src/086_DgnDesert/MapObject/MapObjectUnkGRSG.cpp b/src/086_DgnDesert/MapObject/MapObjectUnkGRSG.cpp index 68d75cbbd..84945c6a7 100644 --- a/src/086_DgnDesert/MapObject/MapObjectUnkGRSG.cpp +++ b/src/086_DgnDesert/MapObject/MapObjectUnkGRSG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkGRSG); -MapObject *MapObjectProfileUnkGRSG::Create() { +MapObject* MapObjectProfileUnkGRSG::Create() { return new(HeapIndex_2) MapObjectUnkGRSG(); } diff --git a/src/086_DgnDesert/MapObject/MapObjectUnkSTDS.cpp b/src/086_DgnDesert/MapObject/MapObjectUnkSTDS.cpp index e50aa6781..c91c6b4cd 100644 --- a/src/086_DgnDesert/MapObject/MapObjectUnkSTDS.cpp +++ b/src/086_DgnDesert/MapObject/MapObjectUnkSTDS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSTDS); -MapObject *MapObjectProfileUnkSTDS::Create() { +MapObject* MapObjectProfileUnkSTDS::Create() { return new(HeapIndex_2) MapObjectUnkSTDS(); } diff --git a/src/087_BossDesert/Actor/ActorUnkDSBB.cpp b/src/087_BossDesert/Actor/ActorUnkDSBB.cpp index 6f9c6024b..283ea1136 100644 --- a/src/087_BossDesert/Actor/ActorUnkDSBB.cpp +++ b/src/087_BossDesert/Actor/ActorUnkDSBB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDSBB); -Actor *ActorProfileUnkDSBB::Create() { +Actor* ActorProfileUnkDSBB::Create() { return new(HeapIndex_2) ActorUnkDSBB(); } diff --git a/src/087_BossDesert/Actor/ActorUnkDSBH.cpp b/src/087_BossDesert/Actor/ActorUnkDSBH.cpp index 23a2e9579..6a41e4455 100644 --- a/src/087_BossDesert/Actor/ActorUnkDSBH.cpp +++ b/src/087_BossDesert/Actor/ActorUnkDSBH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDSBH); -Actor *ActorProfileUnkDSBH::Create() { +Actor* ActorProfileUnkDSBH::Create() { return new(HeapIndex_2) ActorUnkDSBH(); } diff --git a/src/087_BossDesert/Actor/ActorUnkDSBN.cpp b/src/087_BossDesert/Actor/ActorUnkDSBN.cpp index 6b301c7e3..4976ae22f 100644 --- a/src/087_BossDesert/Actor/ActorUnkDSBN.cpp +++ b/src/087_BossDesert/Actor/ActorUnkDSBN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDSBN); -Actor *ActorProfileUnkDSBN::Create() { +Actor* ActorProfileUnkDSBN::Create() { return new(HeapIndex_2) ActorUnkDSBN(); } diff --git a/src/087_BossDesert/Actor/ActorUnkRBD2.cpp b/src/087_BossDesert/Actor/ActorUnkRBD2.cpp index 6282f5f79..bf913104e 100644 --- a/src/087_BossDesert/Actor/ActorUnkRBD2.cpp +++ b/src/087_BossDesert/Actor/ActorUnkRBD2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRBD2); -Actor *ActorProfileUnkRBD2::Create() { +Actor* ActorProfileUnkRBD2::Create() { return new(HeapIndex_2) ActorUnkRBD2(); } diff --git a/src/087_BossDesert/Actor/ActorUnkRBDS.cpp b/src/087_BossDesert/Actor/ActorUnkRBDS.cpp index e6f6a38c1..46ad52fa7 100644 --- a/src/087_BossDesert/Actor/ActorUnkRBDS.cpp +++ b/src/087_BossDesert/Actor/ActorUnkRBDS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRBDS); -Actor *ActorProfileUnkRBDS::Create() { +Actor* ActorProfileUnkRBDS::Create() { return new(HeapIndex_2) ActorUnkRBDS(); } diff --git a/src/087_BossDesert/MapObject/MapObjectUnkSTSD.cpp b/src/087_BossDesert/MapObject/MapObjectUnkSTSD.cpp index 9c05d99c7..c4d45d395 100644 --- a/src/087_BossDesert/MapObject/MapObjectUnkSTSD.cpp +++ b/src/087_BossDesert/MapObject/MapObjectUnkSTSD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSTSD); -MapObject *MapObjectProfileUnkSTSD::Create() { +MapObject* MapObjectProfileUnkSTSD::Create() { return new(HeapIndex_2) MapObjectUnkSTSD(); } diff --git a/src/088_Stb/Actor/ActorUnkDMCH.cpp b/src/088_Stb/Actor/ActorUnkDMCH.cpp index 38262b835..fab56baec 100644 --- a/src/088_Stb/Actor/ActorUnkDMCH.cpp +++ b/src/088_Stb/Actor/ActorUnkDMCH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMCH); -Actor *ActorProfileUnkDMCH::Create() { +Actor* ActorProfileUnkDMCH::Create() { return new(HeapIndex_2) ActorUnkDMCH(); } diff --git a/src/088_Stb/Actor/ActorUnkDMEQ.cpp b/src/088_Stb/Actor/ActorUnkDMEQ.cpp index abb9e976a..34efa92dc 100644 --- a/src/088_Stb/Actor/ActorUnkDMEQ.cpp +++ b/src/088_Stb/Actor/ActorUnkDMEQ.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMEQ); -Actor *ActorProfileUnkDMEQ::Create() { +Actor* ActorProfileUnkDMEQ::Create() { return new(HeapIndex_2) ActorUnkDMEQ(); } diff --git a/src/088_Stb/Actor/ActorUnkDMET.cpp b/src/088_Stb/Actor/ActorUnkDMET.cpp index 08d74a68a..357b0603d 100644 --- a/src/088_Stb/Actor/ActorUnkDMET.cpp +++ b/src/088_Stb/Actor/ActorUnkDMET.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMET); -Actor *ActorProfileUnkDMET::Create() { +Actor* ActorProfileUnkDMET::Create() { return new(HeapIndex_2) ActorUnkDMET(); } diff --git a/src/088_Stb/Actor/ActorUnkDMFR.cpp b/src/088_Stb/Actor/ActorUnkDMFR.cpp index 0747fe892..a02cb1c79 100644 --- a/src/088_Stb/Actor/ActorUnkDMFR.cpp +++ b/src/088_Stb/Actor/ActorUnkDMFR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMFR); -Actor *ActorProfileUnkDMFR::Create() { +Actor* ActorProfileUnkDMFR::Create() { return new(HeapIndex_2) ActorUnkDMFR(); } diff --git a/src/088_Stb/Actor/ActorUnkDMGM.cpp b/src/088_Stb/Actor/ActorUnkDMGM.cpp index 027e63306..9762affe8 100644 --- a/src/088_Stb/Actor/ActorUnkDMGM.cpp +++ b/src/088_Stb/Actor/ActorUnkDMGM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMGM); -Actor *ActorProfileUnkDMGM::Create() { +Actor* ActorProfileUnkDMGM::Create() { return new(HeapIndex_2) ActorUnkDMGM(); } diff --git a/src/088_Stb/Actor/ActorUnkDMMM.cpp b/src/088_Stb/Actor/ActorUnkDMMM.cpp index d296c7dc3..c2d29743a 100644 --- a/src/088_Stb/Actor/ActorUnkDMMM.cpp +++ b/src/088_Stb/Actor/ActorUnkDMMM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMMM); -Actor *ActorProfileUnkDMMM::Create() { +Actor* ActorProfileUnkDMMM::Create() { return new(HeapIndex_2) ActorUnkDMMM(); } diff --git a/src/088_Stb/Actor/ActorUnkDMMS.cpp b/src/088_Stb/Actor/ActorUnkDMMS.cpp index a3776d080..d9abc9e7a 100644 --- a/src/088_Stb/Actor/ActorUnkDMMS.cpp +++ b/src/088_Stb/Actor/ActorUnkDMMS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMMS); -Actor *ActorProfileUnkDMMS::Create() { +Actor* ActorProfileUnkDMMS::Create() { return new(HeapIndex_2) ActorUnkDMMS(); } diff --git a/src/088_Stb/Actor/ActorUnkDMMT.cpp b/src/088_Stb/Actor/ActorUnkDMMT.cpp index 0360f4c25..30b68fdfe 100644 --- a/src/088_Stb/Actor/ActorUnkDMMT.cpp +++ b/src/088_Stb/Actor/ActorUnkDMMT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMMT); -Actor *ActorProfileUnkDMMT::Create() { +Actor* ActorProfileUnkDMMT::Create() { return new(HeapIndex_2) ActorUnkDMMT(); } diff --git a/src/088_Stb/Actor/ActorUnkDMPK.cpp b/src/088_Stb/Actor/ActorUnkDMPK.cpp index 60c1c9dd0..61615a9a3 100644 --- a/src/088_Stb/Actor/ActorUnkDMPK.cpp +++ b/src/088_Stb/Actor/ActorUnkDMPK.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMPK); -Actor *ActorProfileUnkDMPK::Create() { +Actor* ActorProfileUnkDMPK::Create() { return new(HeapIndex_2) ActorUnkDMPK(); } diff --git a/src/088_Stb/Actor/ActorUnkDMPS.cpp b/src/088_Stb/Actor/ActorUnkDMPS.cpp index 3261a8042..eff24b404 100644 --- a/src/088_Stb/Actor/ActorUnkDMPS.cpp +++ b/src/088_Stb/Actor/ActorUnkDMPS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMPS); -Actor *ActorProfileUnkDMPS::Create() { +Actor* ActorProfileUnkDMPS::Create() { return new(HeapIndex_2) ActorUnkDMPS(); } diff --git a/src/088_Stb/Actor/ActorUnkDMSS.cpp b/src/088_Stb/Actor/ActorUnkDMSS.cpp index d5e14eba7..46450f762 100644 --- a/src/088_Stb/Actor/ActorUnkDMSS.cpp +++ b/src/088_Stb/Actor/ActorUnkDMSS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMSS); -Actor *ActorProfileUnkDMSS::Create() { +Actor* ActorProfileUnkDMSS::Create() { return new(HeapIndex_2) ActorUnkDMSS(); } diff --git a/src/088_Stb/Actor/ActorUnkDMST.cpp b/src/088_Stb/Actor/ActorUnkDMST.cpp index f41afcb9e..4bda14dde 100644 --- a/src/088_Stb/Actor/ActorUnkDMST.cpp +++ b/src/088_Stb/Actor/ActorUnkDMST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMST); -Actor *ActorProfileUnkDMST::Create() { +Actor* ActorProfileUnkDMST::Create() { return new(HeapIndex_2) ActorUnkDMST(); } diff --git a/src/088_Stb/Actor/ActorUnkDMT2.cpp b/src/088_Stb/Actor/ActorUnkDMT2.cpp index 88b3f7ae4..e10b1b22e 100644 --- a/src/088_Stb/Actor/ActorUnkDMT2.cpp +++ b/src/088_Stb/Actor/ActorUnkDMT2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMT2); -Actor *ActorProfileUnkDMT2::Create() { +Actor* ActorProfileUnkDMT2::Create() { return new(HeapIndex_2) ActorUnkDMT2(); } diff --git a/src/088_Stb/Actor/ActorUnkDMTR.cpp b/src/088_Stb/Actor/ActorUnkDMTR.cpp index 9a4226b82..3b5be015b 100644 --- a/src/088_Stb/Actor/ActorUnkDMTR.cpp +++ b/src/088_Stb/Actor/ActorUnkDMTR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMTR); -Actor *ActorProfileUnkDMTR::Create() { +Actor* ActorProfileUnkDMTR::Create() { return new(HeapIndex_2) ActorUnkDMTR(); } diff --git a/src/088_Stb/Actor/ActorUnkDMWS.cpp b/src/088_Stb/Actor/ActorUnkDMWS.cpp index 2bc97e4b4..d179865e8 100644 --- a/src/088_Stb/Actor/ActorUnkDMWS.cpp +++ b/src/088_Stb/Actor/ActorUnkDMWS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMWS); -Actor *ActorProfileUnkDMWS::Create() { +Actor* ActorProfileUnkDMWS::Create() { return new(HeapIndex_2) ActorUnkDMWS(); } diff --git a/src/088_Stb/Actor/ActorUnkDMWT.cpp b/src/088_Stb/Actor/ActorUnkDMWT.cpp index fe0b46549..827227c19 100644 --- a/src/088_Stb/Actor/ActorUnkDMWT.cpp +++ b/src/088_Stb/Actor/ActorUnkDMWT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMWT); -Actor *ActorProfileUnkDMWT::Create() { +Actor* ActorProfileUnkDMWT::Create() { return new(HeapIndex_2) ActorUnkDMWT(); } diff --git a/src/088_Stb/Actor/ActorUnkDMZS.cpp b/src/088_Stb/Actor/ActorUnkDMZS.cpp index 62784eb5d..bb067bdf5 100644 --- a/src/088_Stb/Actor/ActorUnkDMZS.cpp +++ b/src/088_Stb/Actor/ActorUnkDMZS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDMZS); -Actor *ActorProfileUnkDMZS::Create() { +Actor* ActorProfileUnkDMZS::Create() { return new(HeapIndex_2) ActorUnkDMZS(); } diff --git a/src/088_Stb/Actor/ActorUnkRMDO.cpp b/src/088_Stb/Actor/ActorUnkRMDO.cpp index 137ef8c1c..6bdd195b6 100644 --- a/src/088_Stb/Actor/ActorUnkRMDO.cpp +++ b/src/088_Stb/Actor/ActorUnkRMDO.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMDO); -Actor *ActorProfileUnkRMDO::Create() { +Actor* ActorProfileUnkRMDO::Create() { return new(HeapIndex_2) ActorUnkRMDO(); } diff --git a/src/088_Stb/Actor/ActorUnkRMM2.cpp b/src/088_Stb/Actor/ActorUnkRMM2.cpp index 2dbf2cd82..e5bc1be2a 100644 --- a/src/088_Stb/Actor/ActorUnkRMM2.cpp +++ b/src/088_Stb/Actor/ActorUnkRMM2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkRMM2); -Actor *ActorProfileUnkRMM2::Create() { +Actor* ActorProfileUnkRMM2::Create() { return new(HeapIndex_2) ActorUnkRMM2(); } diff --git a/src/090_TrainNormal/Actor/ActorUnkE3GL.cpp b/src/090_TrainNormal/Actor/ActorUnkE3GL.cpp index d6528f98c..332198a9c 100644 --- a/src/090_TrainNormal/Actor/ActorUnkE3GL.cpp +++ b/src/090_TrainNormal/Actor/ActorUnkE3GL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkE3GL); -Actor *ActorProfileUnkE3GL::Create() { +Actor* ActorProfileUnkE3GL::Create() { return new(HeapIndex_2) ActorUnkE3GL(); } diff --git a/src/090_TrainNormal/Actor/ActorUnkE3ST.cpp b/src/090_TrainNormal/Actor/ActorUnkE3ST.cpp index 9f31e2e80..48e4f4afe 100644 --- a/src/090_TrainNormal/Actor/ActorUnkE3ST.cpp +++ b/src/090_TrainNormal/Actor/ActorUnkE3ST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkE3ST); -Actor *ActorProfileUnkE3ST::Create() { +Actor* ActorProfileUnkE3ST::Create() { return new(HeapIndex_2) ActorUnkE3ST(); } diff --git a/src/090_TrainNormal/Actor/ActorUnkE3TT.cpp b/src/090_TrainNormal/Actor/ActorUnkE3TT.cpp index e9f33905a..f26c8aa89 100644 --- a/src/090_TrainNormal/Actor/ActorUnkE3TT.cpp +++ b/src/090_TrainNormal/Actor/ActorUnkE3TT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkE3TT); -Actor *ActorProfileUnkE3TT::Create() { +Actor* ActorProfileUnkE3TT::Create() { return new(HeapIndex_2) ActorUnkE3TT(); } diff --git a/src/090_TrainNormal/Actor/ActorUnkSPID.cpp b/src/090_TrainNormal/Actor/ActorUnkSPID.cpp index d9e2bdcd8..5b865a1b4 100644 --- a/src/090_TrainNormal/Actor/ActorUnkSPID.cpp +++ b/src/090_TrainNormal/Actor/ActorUnkSPID.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSPID); -Actor *ActorProfileUnkSPID::Create() { +Actor* ActorProfileUnkSPID::Create() { return new(HeapIndex_2) ActorUnkSPID(); } diff --git a/src/090_TrainNormal/Actor/ActorUnkSZRD.cpp b/src/090_TrainNormal/Actor/ActorUnkSZRD.cpp index a74273f3c..0db527b2d 100644 --- a/src/090_TrainNormal/Actor/ActorUnkSZRD.cpp +++ b/src/090_TrainNormal/Actor/ActorUnkSZRD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSZRD); -Actor *ActorProfileUnkSZRD::Create() { +Actor* ActorProfileUnkSZRD::Create() { return new(HeapIndex_2) ActorUnkSZRD(); } diff --git a/src/090_TrainNormal/Actor/ActorUnkWDBA.cpp b/src/090_TrainNormal/Actor/ActorUnkWDBA.cpp index db7e404d8..28ff9146e 100644 --- a/src/090_TrainNormal/Actor/ActorUnkWDBA.cpp +++ b/src/090_TrainNormal/Actor/ActorUnkWDBA.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWDBA); -Actor *ActorProfileUnkWDBA::Create() { +Actor* ActorProfileUnkWDBA::Create() { return new(HeapIndex_2) ActorUnkWDBA(); } diff --git a/src/090_TrainNormal/Actor/ActorUnkWDRD.cpp b/src/090_TrainNormal/Actor/ActorUnkWDRD.cpp index 8d57241f6..783ee5b78 100644 --- a/src/090_TrainNormal/Actor/ActorUnkWDRD.cpp +++ b/src/090_TrainNormal/Actor/ActorUnkWDRD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkWDRD); -Actor *ActorProfileUnkWDRD::Create() { +Actor* ActorProfileUnkWDRD::Create() { return new(HeapIndex_2) ActorUnkWDRD(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkETNM.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkETNM.cpp index 50f93e0ce..f58cb74d4 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkETNM.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkETNM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETNM); -MapObject *MapObjectProfileUnkETNM::Create() { +MapObject* MapObjectProfileUnkETNM::Create() { return new(HeapIndex_2) MapObjectUnkETNM(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkNPST.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkNPST.cpp index 3cc99b186..b4dac4a83 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkNPST.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkNPST.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkNPST); -MapObject *MapObjectProfileUnkNPST::Create() { +MapObject* MapObjectProfileUnkNPST::Create() { return new(HeapIndex_2) MapObjectUnkNPST(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkRBMR.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkRBMR.cpp index 716e4f263..0a7790285 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkRBMR.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkRBMR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkRBMR); -MapObject *MapObjectProfileUnkRBMR::Create() { +MapObject* MapObjectProfileUnkRBMR::Create() { return new(HeapIndex_2) MapObjectUnkRBMR(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkRBRC.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkRBRC.cpp index af6eff4be..81dd894a6 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkRBRC.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkRBRC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkRBRC); -MapObject *MapObjectProfileUnkRBRC::Create() { +MapObject* MapObjectProfileUnkRBRC::Create() { return new(HeapIndex_2) MapObjectUnkRBRC(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkSTTR.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkSTTR.cpp index d70f7ceb4..c62a6784e 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkSTTR.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkSTTR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkSTTR); -MapObject *MapObjectProfileUnkSTTR::Create() { +MapObject* MapObjectProfileUnkSTTR::Create() { return new(HeapIndex_2) MapObjectUnkSTTR(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkTRCC.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkTRCC.cpp index 32304ed1e..c607d2914 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkTRCC.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkTRCC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRCC); -MapObject *MapObjectProfileUnkTRCC::Create() { +MapObject* MapObjectProfileUnkTRCC::Create() { return new(HeapIndex_2) MapObjectUnkTRCC(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkTRDT.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkTRDT.cpp index 6c849e7f4..f476eec81 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkTRDT.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkTRDT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRDT); -MapObject *MapObjectProfileUnkTRDT::Create() { +MapObject* MapObjectProfileUnkTRDT::Create() { return new(HeapIndex_2) MapObjectUnkTRDT(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkTRGW.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkTRGW.cpp index 051d2b3e9..4a3983942 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkTRGW.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkTRGW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRGW); -MapObject *MapObjectProfileUnkTRGW::Create() { +MapObject* MapObjectProfileUnkTRGW::Create() { return new(HeapIndex_2) MapObjectUnkTRGW(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkTRMR.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkTRMR.cpp index c42f20bfa..22e589d58 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkTRMR.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkTRMR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRMR); -MapObject *MapObjectProfileUnkTRMR::Create() { +MapObject* MapObjectProfileUnkTRMR::Create() { return new(HeapIndex_2) MapObjectUnkTRMR(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkTRSD.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkTRSD.cpp index dfc79fd9d..4f9ec6ccf 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkTRSD.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkTRSD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRSD); -MapObject *MapObjectProfileUnkTRSD::Create() { +MapObject* MapObjectProfileUnkTRSD::Create() { return new(HeapIndex_2) MapObjectUnkTRSD(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkTWGS.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkTWGS.cpp index 55d167533..842b8edbb 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkTWGS.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkTWGS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTWGS); -MapObject *MapObjectProfileUnkTWGS::Create() { +MapObject* MapObjectProfileUnkTWGS::Create() { return new(HeapIndex_2) MapObjectUnkTWGS(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkTWPC.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkTWPC.cpp index 5793ecf48..217c99e1c 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkTWPC.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkTWPC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTWPC); -MapObject *MapObjectProfileUnkTWPC::Create() { +MapObject* MapObjectProfileUnkTWPC::Create() { return new(HeapIndex_2) MapObjectUnkTWPC(); } diff --git a/src/090_TrainNormal/MapObject/MapObjectUnkTWPG.cpp b/src/090_TrainNormal/MapObject/MapObjectUnkTWPG.cpp index 4b86f149f..87e78d7dd 100644 --- a/src/090_TrainNormal/MapObject/MapObjectUnkTWPG.cpp +++ b/src/090_TrainNormal/MapObject/MapObjectUnkTWPG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTWPG); -MapObject *MapObjectProfileUnkTWPG::Create() { +MapObject* MapObjectProfileUnkTWPG::Create() { return new(HeapIndex_2) MapObjectUnkTWPG(); } diff --git a/src/091_TrainExtra/Actor/ActorUnkBMOC.cpp b/src/091_TrainExtra/Actor/ActorUnkBMOC.cpp index 2f26c3c54..c644d6e44 100644 --- a/src/091_TrainExtra/Actor/ActorUnkBMOC.cpp +++ b/src/091_TrainExtra/Actor/ActorUnkBMOC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBMOC); -Actor *ActorProfileUnkBMOC::Create() { +Actor* ActorProfileUnkBMOC::Create() { return new(HeapIndex_2) ActorUnkBMOC(); } diff --git a/src/091_TrainExtra/Actor/ActorUnkCTFS.cpp b/src/091_TrainExtra/Actor/ActorUnkCTFS.cpp index 195025b1f..25f52e22a 100644 --- a/src/091_TrainExtra/Actor/ActorUnkCTFS.cpp +++ b/src/091_TrainExtra/Actor/ActorUnkCTFS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCTFS); -Actor *ActorProfileUnkCTFS::Create() { +Actor* ActorProfileUnkCTFS::Create() { return new(HeapIndex_2) ActorUnkCTFS(); } diff --git a/src/091_TrainExtra/Actor/ActorUnkMZCT.cpp b/src/091_TrainExtra/Actor/ActorUnkMZCT.cpp index bd0f392f0..6481d7166 100644 --- a/src/091_TrainExtra/Actor/ActorUnkMZCT.cpp +++ b/src/091_TrainExtra/Actor/ActorUnkMZCT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMZCT); -Actor *ActorProfileUnkMZCT::Create() { +Actor* ActorProfileUnkMZCT::Create() { return new(HeapIndex_2) ActorUnkMZCT(); } diff --git a/src/091_TrainExtra/Actor/ActorUnkNLTR.cpp b/src/091_TrainExtra/Actor/ActorUnkNLTR.cpp index 800e45826..f9bb59a77 100644 --- a/src/091_TrainExtra/Actor/ActorUnkNLTR.cpp +++ b/src/091_TrainExtra/Actor/ActorUnkNLTR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkNLTR); -Actor *ActorProfileUnkNLTR::Create() { +Actor* ActorProfileUnkNLTR::Create() { return new(HeapIndex_2) ActorUnkNLTR(); } diff --git a/src/091_TrainExtra/Actor/ActorUnkSEFS.cpp b/src/091_TrainExtra/Actor/ActorUnkSEFS.cpp index 6897b161b..74d5fe1d8 100644 --- a/src/091_TrainExtra/Actor/ActorUnkSEFS.cpp +++ b/src/091_TrainExtra/Actor/ActorUnkSEFS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSEFS); -Actor *ActorProfileUnkSEFS::Create() { +Actor* ActorProfileUnkSEFS::Create() { return new(HeapIndex_2) ActorUnkSEFS(); } diff --git a/src/091_TrainExtra/Actor/ActorUnkSMCT.cpp b/src/091_TrainExtra/Actor/ActorUnkSMCT.cpp index b5f5e0edd..19bf04074 100644 --- a/src/091_TrainExtra/Actor/ActorUnkSMCT.cpp +++ b/src/091_TrainExtra/Actor/ActorUnkSMCT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSMCT); -Actor *ActorProfileUnkSMCT::Create() { +Actor* ActorProfileUnkSMCT::Create() { return new(HeapIndex_2) ActorUnkSMCT(); } diff --git a/src/091_TrainExtra/Actor/ActorUnkSTCT.cpp b/src/091_TrainExtra/Actor/ActorUnkSTCT.cpp index 6d7c9424a..f54de83de 100644 --- a/src/091_TrainExtra/Actor/ActorUnkSTCT.cpp +++ b/src/091_TrainExtra/Actor/ActorUnkSTCT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSTCT); -Actor *ActorProfileUnkSTCT::Create() { +Actor* ActorProfileUnkSTCT::Create() { return new(HeapIndex_2) ActorUnkSTCT(); } diff --git a/src/091_TrainExtra/Actor/ActorUnkTPDO.cpp b/src/091_TrainExtra/Actor/ActorUnkTPDO.cpp index a1806cb70..641f764c8 100644 --- a/src/091_TrainExtra/Actor/ActorUnkTPDO.cpp +++ b/src/091_TrainExtra/Actor/ActorUnkTPDO.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTPDO); -Actor *ActorProfileUnkTPDO::Create() { +Actor* ActorProfileUnkTPDO::Create() { return new(HeapIndex_2) ActorUnkTPDO(); } diff --git a/src/091_TrainExtra/Actor/ActorUnkTRIC.cpp b/src/091_TrainExtra/Actor/ActorUnkTRIC.cpp index bc8c96223..fadaedc7a 100644 --- a/src/091_TrainExtra/Actor/ActorUnkTRIC.cpp +++ b/src/091_TrainExtra/Actor/ActorUnkTRIC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTRIC); -Actor *ActorProfileUnkTRIC::Create() { +Actor* ActorProfileUnkTRIC::Create() { return new(HeapIndex_2) ActorUnkTRIC(); } diff --git a/src/091_TrainExtra/Actor/ActorUnkTSMT.cpp b/src/091_TrainExtra/Actor/ActorUnkTSMT.cpp index ab468ee4e..1863cae9b 100644 --- a/src/091_TrainExtra/Actor/ActorUnkTSMT.cpp +++ b/src/091_TrainExtra/Actor/ActorUnkTSMT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTSMT); -Actor *ActorProfileUnkTSMT::Create() { +Actor* ActorProfileUnkTSMT::Create() { return new(HeapIndex_2) ActorUnkTSMT(); } diff --git a/src/091_TrainExtra/Actor/ActorUnkTTKB.cpp b/src/091_TrainExtra/Actor/ActorUnkTTKB.cpp index 2d74c1cbb..08604bf19 100644 --- a/src/091_TrainExtra/Actor/ActorUnkTTKB.cpp +++ b/src/091_TrainExtra/Actor/ActorUnkTTKB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTTKB); -Actor *ActorProfileUnkTTKB::Create() { +Actor* ActorProfileUnkTTKB::Create() { return new(HeapIndex_2) ActorUnkTTKB(); } diff --git a/src/091_TrainExtra/Actor/ActorUnkTTUT.cpp b/src/091_TrainExtra/Actor/ActorUnkTTUT.cpp index ec79f3da4..590ad7640 100644 --- a/src/091_TrainExtra/Actor/ActorUnkTTUT.cpp +++ b/src/091_TrainExtra/Actor/ActorUnkTTUT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTTUT); -Actor *ActorProfileUnkTTUT::Create() { +Actor* ActorProfileUnkTTUT::Create() { return new(HeapIndex_2) ActorUnkTTUT(); } diff --git a/src/091_TrainExtra/MapObject/MapObjectUnkBOGN.cpp b/src/091_TrainExtra/MapObject/MapObjectUnkBOGN.cpp index 24f87ee6d..9e29eaa20 100644 --- a/src/091_TrainExtra/MapObject/MapObjectUnkBOGN.cpp +++ b/src/091_TrainExtra/MapObject/MapObjectUnkBOGN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBOGN); -MapObject *MapObjectProfileUnkBOGN::Create() { +MapObject* MapObjectProfileUnkBOGN::Create() { return new(HeapIndex_2) MapObjectUnkBOGN(); } diff --git a/src/091_TrainExtra/MapObject/MapObjectUnkETUS.cpp b/src/091_TrainExtra/MapObject/MapObjectUnkETUS.cpp index ac467a4c1..fac3491ca 100644 --- a/src/091_TrainExtra/MapObject/MapObjectUnkETUS.cpp +++ b/src/091_TrainExtra/MapObject/MapObjectUnkETUS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETUS); -MapObject *MapObjectProfileUnkETUS::Create() { +MapObject* MapObjectProfileUnkETUS::Create() { return new(HeapIndex_2) MapObjectUnkETUS(); } diff --git a/src/091_TrainExtra/MapObject/MapObjectUnkFRSH.cpp b/src/091_TrainExtra/MapObject/MapObjectUnkFRSH.cpp index 884aad8c3..b8f1082c2 100644 --- a/src/091_TrainExtra/MapObject/MapObjectUnkFRSH.cpp +++ b/src/091_TrainExtra/MapObject/MapObjectUnkFRSH.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFRSH); -MapObject *MapObjectProfileUnkFRSH::Create() { +MapObject* MapObjectProfileUnkFRSH::Create() { return new(HeapIndex_2) MapObjectUnkFRSH(); } diff --git a/src/091_TrainExtra/MapObject/MapObjectUnkMZFX.cpp b/src/091_TrainExtra/MapObject/MapObjectUnkMZFX.cpp index 5aedddd92..a05628d5a 100644 --- a/src/091_TrainExtra/MapObject/MapObjectUnkMZFX.cpp +++ b/src/091_TrainExtra/MapObject/MapObjectUnkMZFX.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMZFX); -MapObject *MapObjectProfileUnkMZFX::Create() { +MapObject* MapObjectProfileUnkMZFX::Create() { return new(HeapIndex_2) MapObjectUnkMZFX(); } diff --git a/src/091_TrainExtra/MapObject/MapObjectUnkMZTR.cpp b/src/091_TrainExtra/MapObject/MapObjectUnkMZTR.cpp index 8bb87609b..c0d695d89 100644 --- a/src/091_TrainExtra/MapObject/MapObjectUnkMZTR.cpp +++ b/src/091_TrainExtra/MapObject/MapObjectUnkMZTR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMZTR); -MapObject *MapObjectProfileUnkMZTR::Create() { +MapObject* MapObjectProfileUnkMZTR::Create() { return new(HeapIndex_2) MapObjectUnkMZTR(); } diff --git a/src/091_TrainExtra/MapObject/MapObjectUnkTMSB.cpp b/src/091_TrainExtra/MapObject/MapObjectUnkTMSB.cpp index ff1a60b40..81c313387 100644 --- a/src/091_TrainExtra/MapObject/MapObjectUnkTMSB.cpp +++ b/src/091_TrainExtra/MapObject/MapObjectUnkTMSB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTMSB); -MapObject *MapObjectProfileUnkTMSB::Create() { +MapObject* MapObjectProfileUnkTMSB::Create() { return new(HeapIndex_2) MapObjectUnkTMSB(); } diff --git a/src/092_TrainDark/Actor/ActorUnkDKCB.cpp b/src/092_TrainDark/Actor/ActorUnkDKCB.cpp index 6b6a68e94..e3bb0f2ce 100644 --- a/src/092_TrainDark/Actor/ActorUnkDKCB.cpp +++ b/src/092_TrainDark/Actor/ActorUnkDKCB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkDKCB); -Actor *ActorProfileUnkDKCB::Create() { +Actor* ActorProfileUnkDKCB::Create() { return new(HeapIndex_2) ActorUnkDKCB(); } diff --git a/src/092_TrainDark/Actor/ActorUnkMABC.cpp b/src/092_TrainDark/Actor/ActorUnkMABC.cpp index 8205d676c..047e71fdc 100644 --- a/src/092_TrainDark/Actor/ActorUnkMABC.cpp +++ b/src/092_TrainDark/Actor/ActorUnkMABC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMABC); -Actor *ActorProfileUnkMABC::Create() { +Actor* ActorProfileUnkMABC::Create() { return new(HeapIndex_2) ActorUnkMABC(); } diff --git a/src/092_TrainDark/Actor/ActorUnkMAFI.cpp b/src/092_TrainDark/Actor/ActorUnkMAFI.cpp index 266c48835..74dc8bfeb 100644 --- a/src/092_TrainDark/Actor/ActorUnkMAFI.cpp +++ b/src/092_TrainDark/Actor/ActorUnkMAFI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMAFI); -Actor *ActorProfileUnkMAFI::Create() { +Actor* ActorProfileUnkMAFI::Create() { return new(HeapIndex_2) ActorUnkMAFI(); } diff --git a/src/092_TrainDark/Actor/ActorUnkMARG.cpp b/src/092_TrainDark/Actor/ActorUnkMARG.cpp index a8c75f9ff..9e595cf0b 100644 --- a/src/092_TrainDark/Actor/ActorUnkMARG.cpp +++ b/src/092_TrainDark/Actor/ActorUnkMARG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMARG); -Actor *ActorProfileUnkMARG::Create() { +Actor* ActorProfileUnkMARG::Create() { return new(HeapIndex_2) ActorUnkMARG(); } diff --git a/src/092_TrainDark/Actor/ActorUnkMATR.cpp b/src/092_TrainDark/Actor/ActorUnkMATR.cpp index 585253b0f..f578f1352 100644 --- a/src/092_TrainDark/Actor/ActorUnkMATR.cpp +++ b/src/092_TrainDark/Actor/ActorUnkMATR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMATR); -Actor *ActorProfileUnkMATR::Create() { +Actor* ActorProfileUnkMATR::Create() { return new(HeapIndex_2) ActorUnkMATR(); } diff --git a/src/092_TrainDark/Actor/ActorUnkMBCC.cpp b/src/092_TrainDark/Actor/ActorUnkMBCC.cpp index eb420aac7..6f286c445 100644 --- a/src/092_TrainDark/Actor/ActorUnkMBCC.cpp +++ b/src/092_TrainDark/Actor/ActorUnkMBCC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMBCC); -Actor *ActorProfileUnkMBCC::Create() { +Actor* ActorProfileUnkMBCC::Create() { return new(HeapIndex_2) ActorUnkMBCC(); } diff --git a/src/092_TrainDark/Actor/ActorUnkMTFB.cpp b/src/092_TrainDark/Actor/ActorUnkMTFB.cpp index 491c537d8..fefecfd38 100644 --- a/src/092_TrainDark/Actor/ActorUnkMTFB.cpp +++ b/src/092_TrainDark/Actor/ActorUnkMTFB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMTFB); -Actor *ActorProfileUnkMTFB::Create() { +Actor* ActorProfileUnkMTFB::Create() { return new(HeapIndex_2) ActorUnkMTFB(); } diff --git a/src/092_TrainDark/Actor/ActorUnkMTFL.cpp b/src/092_TrainDark/Actor/ActorUnkMTFL.cpp index 141580b82..dbfa0d413 100644 --- a/src/092_TrainDark/Actor/ActorUnkMTFL.cpp +++ b/src/092_TrainDark/Actor/ActorUnkMTFL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMTFL); -Actor *ActorProfileUnkMTFL::Create() { +Actor* ActorProfileUnkMTFL::Create() { return new(HeapIndex_2) ActorUnkMTFL(); } diff --git a/src/092_TrainDark/Actor/ActorUnkMTWP.cpp b/src/092_TrainDark/Actor/ActorUnkMTWP.cpp index 9d457f3b0..678648c19 100644 --- a/src/092_TrainDark/Actor/ActorUnkMTWP.cpp +++ b/src/092_TrainDark/Actor/ActorUnkMTWP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMTWP); -Actor *ActorProfileUnkMTWP::Create() { +Actor* ActorProfileUnkMTWP::Create() { return new(HeapIndex_2) ActorUnkMTWP(); } diff --git a/src/092_TrainDark/Actor/ActorUnkSZKL.cpp b/src/092_TrainDark/Actor/ActorUnkSZKL.cpp index 8cbe2e58a..0bc338466 100644 --- a/src/092_TrainDark/Actor/ActorUnkSZKL.cpp +++ b/src/092_TrainDark/Actor/ActorUnkSZKL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSZKL); -Actor *ActorProfileUnkSZKL::Create() { +Actor* ActorProfileUnkSZKL::Create() { return new(HeapIndex_2) ActorUnkSZKL(); } diff --git a/src/092_TrainDark/Actor/ActorUnkTDKT.cpp b/src/092_TrainDark/Actor/ActorUnkTDKT.cpp index eb463f6e8..227c7ae3f 100644 --- a/src/092_TrainDark/Actor/ActorUnkTDKT.cpp +++ b/src/092_TrainDark/Actor/ActorUnkTDKT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTDKT); -Actor *ActorProfileUnkTDKT::Create() { +Actor* ActorProfileUnkTDKT::Create() { return new(HeapIndex_2) ActorUnkTDKT(); } diff --git a/src/092_TrainDark/Actor/ActorUnkTEVT.cpp b/src/092_TrainDark/Actor/ActorUnkTEVT.cpp index 350cd5677..5b6eeafa1 100644 --- a/src/092_TrainDark/Actor/ActorUnkTEVT.cpp +++ b/src/092_TrainDark/Actor/ActorUnkTEVT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTEVT); -Actor *ActorProfileUnkTEVT::Create() { +Actor* ActorProfileUnkTEVT::Create() { return new(HeapIndex_2) ActorUnkTEVT(); } diff --git a/src/092_TrainDark/MapObject/MapObjectUnkETDD.cpp b/src/092_TrainDark/MapObject/MapObjectUnkETDD.cpp index 055dd9a8f..c7d791986 100644 --- a/src/092_TrainDark/MapObject/MapObjectUnkETDD.cpp +++ b/src/092_TrainDark/MapObject/MapObjectUnkETDD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETDD); -MapObject *MapObjectProfileUnkETDD::Create() { +MapObject* MapObjectProfileUnkETDD::Create() { return new(HeapIndex_2) MapObjectUnkETDD(); } diff --git a/src/092_TrainDark/MapObject/MapObjectUnkETET.cpp b/src/092_TrainDark/MapObject/MapObjectUnkETET.cpp index 051221e20..0eba6dd4f 100644 --- a/src/092_TrainDark/MapObject/MapObjectUnkETET.cpp +++ b/src/092_TrainDark/MapObject/MapObjectUnkETET.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETET); -MapObject *MapObjectProfileUnkETET::Create() { +MapObject* MapObjectProfileUnkETET::Create() { return new(HeapIndex_2) MapObjectUnkETET(); } diff --git a/src/092_TrainDark/MapObject/MapObjectUnkETFD.cpp b/src/092_TrainDark/MapObject/MapObjectUnkETFD.cpp index e019836bc..55e5a09d4 100644 --- a/src/092_TrainDark/MapObject/MapObjectUnkETFD.cpp +++ b/src/092_TrainDark/MapObject/MapObjectUnkETFD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETFD); -MapObject *MapObjectProfileUnkETFD::Create() { +MapObject* MapObjectProfileUnkETFD::Create() { return new(HeapIndex_2) MapObjectUnkETFD(); } diff --git a/src/092_TrainDark/MapObject/MapObjectUnkETMW.cpp b/src/092_TrainDark/MapObject/MapObjectUnkETMW.cpp index bd2a4e735..5b1f0b4c0 100644 --- a/src/092_TrainDark/MapObject/MapObjectUnkETMW.cpp +++ b/src/092_TrainDark/MapObject/MapObjectUnkETMW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETMW); -MapObject *MapObjectProfileUnkETMW::Create() { +MapObject* MapObjectProfileUnkETMW::Create() { return new(HeapIndex_2) MapObjectUnkETMW(); } diff --git a/src/092_TrainDark/MapObject/MapObjectUnkETYG.cpp b/src/092_TrainDark/MapObject/MapObjectUnkETYG.cpp index cf140060f..1e455d12d 100644 --- a/src/092_TrainDark/MapObject/MapObjectUnkETYG.cpp +++ b/src/092_TrainDark/MapObject/MapObjectUnkETYG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkETYG); -MapObject *MapObjectProfileUnkETYG::Create() { +MapObject* MapObjectProfileUnkETYG::Create() { return new(HeapIndex_2) MapObjectUnkETYG(); } diff --git a/src/092_TrainDark/MapObject/MapObjectUnkTBSD.cpp b/src/092_TrainDark/MapObject/MapObjectUnkTBSD.cpp index c01435466..3106a2665 100644 --- a/src/092_TrainDark/MapObject/MapObjectUnkTBSD.cpp +++ b/src/092_TrainDark/MapObject/MapObjectUnkTBSD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTBSD); -MapObject *MapObjectProfileUnkTBSD::Create() { +MapObject* MapObjectProfileUnkTBSD::Create() { return new(HeapIndex_2) MapObjectUnkTBSD(); } diff --git a/src/092_TrainDark/MapObject/MapObjectUnkTDBP.cpp b/src/092_TrainDark/MapObject/MapObjectUnkTDBP.cpp index 322db5f4a..aeea7c1e1 100644 --- a/src/092_TrainDark/MapObject/MapObjectUnkTDBP.cpp +++ b/src/092_TrainDark/MapObject/MapObjectUnkTDBP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTDBP); -MapObject *MapObjectProfileUnkTDBP::Create() { +MapObject* MapObjectProfileUnkTDBP::Create() { return new(HeapIndex_2) MapObjectUnkTDBP(); } diff --git a/src/092_TrainDark/MapObject/MapObjectUnkTDBR.cpp b/src/092_TrainDark/MapObject/MapObjectUnkTDBR.cpp index abaaaab99..8fd5ae7a5 100644 --- a/src/092_TrainDark/MapObject/MapObjectUnkTDBR.cpp +++ b/src/092_TrainDark/MapObject/MapObjectUnkTDBR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTDBR); -MapObject *MapObjectProfileUnkTDBR::Create() { +MapObject* MapObjectProfileUnkTDBR::Create() { return new(HeapIndex_2) MapObjectUnkTDBR(); } diff --git a/src/092_TrainDark/MapObject/MapObjectUnkTDDR.cpp b/src/092_TrainDark/MapObject/MapObjectUnkTDDR.cpp index f6216f737..4665a7fd1 100644 --- a/src/092_TrainDark/MapObject/MapObjectUnkTDDR.cpp +++ b/src/092_TrainDark/MapObject/MapObjectUnkTDDR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTDDR); -MapObject *MapObjectProfileUnkTDDR::Create() { +MapObject* MapObjectProfileUnkTDDR::Create() { return new(HeapIndex_2) MapObjectUnkTDDR(); } diff --git a/src/092_TrainDark/MapObject/MapObjectUnkTRDR.cpp b/src/092_TrainDark/MapObject/MapObjectUnkTRDR.cpp index d9f998e10..9ff368b51 100644 --- a/src/092_TrainDark/MapObject/MapObjectUnkTRDR.cpp +++ b/src/092_TrainDark/MapObject/MapObjectUnkTRDR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTRDR); -MapObject *MapObjectProfileUnkTRDR::Create() { +MapObject* MapObjectProfileUnkTRDR::Create() { return new(HeapIndex_2) MapObjectUnkTRDR(); } diff --git a/src/093_PlayerSub/Actor/ActorUnkBLON.cpp b/src/093_PlayerSub/Actor/ActorUnkBLON.cpp index db3b05f60..869cff5bb 100644 --- a/src/093_PlayerSub/Actor/ActorUnkBLON.cpp +++ b/src/093_PlayerSub/Actor/ActorUnkBLON.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBLON); -Actor *ActorProfileUnkBLON::Create() { +Actor* ActorProfileUnkBLON::Create() { return new(HeapIndex_2) ActorUnkBLON(); } diff --git a/src/093_PlayerSub/Actor/ActorUnkPHTM.cpp b/src/093_PlayerSub/Actor/ActorUnkPHTM.cpp index 6874c23c6..6a500410d 100644 --- a/src/093_PlayerSub/Actor/ActorUnkPHTM.cpp +++ b/src/093_PlayerSub/Actor/ActorUnkPHTM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPHTM); -Actor *ActorProfileUnkPHTM::Create() { +Actor* ActorProfileUnkPHTM::Create() { return new(HeapIndex_2) ActorUnkPHTM(); } diff --git a/src/093_PlayerSub/Actor/ActorUnkPMTB.cpp b/src/093_PlayerSub/Actor/ActorUnkPMTB.cpp index 0b18464c1..161623d26 100644 --- a/src/093_PlayerSub/Actor/ActorUnkPMTB.cpp +++ b/src/093_PlayerSub/Actor/ActorUnkPMTB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPMTB); -Actor *ActorProfileUnkPMTB::Create() { +Actor* ActorProfileUnkPMTB::Create() { return new(HeapIndex_2) ActorUnkPMTB(); } diff --git a/src/093_PlayerSub/Actor/ActorUnkPMTC.cpp b/src/093_PlayerSub/Actor/ActorUnkPMTC.cpp index a190d00e4..dd40413a5 100644 --- a/src/093_PlayerSub/Actor/ActorUnkPMTC.cpp +++ b/src/093_PlayerSub/Actor/ActorUnkPMTC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPMTC); -Actor *ActorProfileUnkPMTC::Create() { +Actor* ActorProfileUnkPMTC::Create() { return new(HeapIndex_2) ActorUnkPMTC(); } diff --git a/src/093_PlayerSub/Actor/ActorUnkPMTD.cpp b/src/093_PlayerSub/Actor/ActorUnkPMTD.cpp index 5cc080e24..c6f6dbb32 100644 --- a/src/093_PlayerSub/Actor/ActorUnkPMTD.cpp +++ b/src/093_PlayerSub/Actor/ActorUnkPMTD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPMTD); -Actor *ActorProfileUnkPMTD::Create() { +Actor* ActorProfileUnkPMTD::Create() { return new(HeapIndex_2) ActorUnkPMTD(); } diff --git a/src/093_PlayerSub/Actor/ActorUnkSPTT.cpp b/src/093_PlayerSub/Actor/ActorUnkSPTT.cpp index 160484e11..27b01ae76 100644 --- a/src/093_PlayerSub/Actor/ActorUnkSPTT.cpp +++ b/src/093_PlayerSub/Actor/ActorUnkSPTT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSPTT); -Actor *ActorProfileUnkSPTT::Create() { +Actor* ActorProfileUnkSPTT::Create() { return new(HeapIndex_2) ActorUnkSPTT(); } diff --git a/src/093_PlayerSub/Actor/ActorUnkTCAM.cpp b/src/093_PlayerSub/Actor/ActorUnkTCAM.cpp index b628c3e95..d0aeb5f6b 100644 --- a/src/093_PlayerSub/Actor/ActorUnkTCAM.cpp +++ b/src/093_PlayerSub/Actor/ActorUnkTCAM.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTCAM); -Actor *ActorProfileUnkTCAM::Create() { +Actor* ActorProfileUnkTCAM::Create() { return new(HeapIndex_2) ActorUnkTCAM(); } diff --git a/src/094_Land2/Actor/ActorUnkEFOC.cpp b/src/094_Land2/Actor/ActorUnkEFOC.cpp index 54a8c954e..1ac113df4 100644 --- a/src/094_Land2/Actor/ActorUnkEFOC.cpp +++ b/src/094_Land2/Actor/ActorUnkEFOC.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEFOC); -Actor *ActorProfileUnkEFOC::Create() { +Actor* ActorProfileUnkEFOC::Create() { return new(HeapIndex_2) ActorUnkEFOC(); } diff --git a/src/094_Land2/Actor/ActorUnkEFR2.cpp b/src/094_Land2/Actor/ActorUnkEFR2.cpp index f28d5a089..3f42ae83f 100644 --- a/src/094_Land2/Actor/ActorUnkEFR2.cpp +++ b/src/094_Land2/Actor/ActorUnkEFR2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEFR2); -Actor *ActorProfileUnkEFR2::Create() { +Actor* ActorProfileUnkEFR2::Create() { return new(HeapIndex_2) ActorUnkEFR2(); } diff --git a/src/094_Land2/Actor/ActorUnkEFW2.cpp b/src/094_Land2/Actor/ActorUnkEFW2.cpp index e92c765f5..42a52aa28 100644 --- a/src/094_Land2/Actor/ActorUnkEFW2.cpp +++ b/src/094_Land2/Actor/ActorUnkEFW2.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEFW2); -Actor *ActorProfileUnkEFW2::Create() { +Actor* ActorProfileUnkEFW2::Create() { return new(HeapIndex_2) ActorUnkEFW2(); } diff --git a/src/094_Land2/Actor/ActorUnkFBRG.cpp b/src/094_Land2/Actor/ActorUnkFBRG.cpp index 704a9c39b..0ee85aa9c 100644 --- a/src/094_Land2/Actor/ActorUnkFBRG.cpp +++ b/src/094_Land2/Actor/ActorUnkFBRG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkFBRG); -Actor *ActorProfileUnkFBRG::Create() { +Actor* ActorProfileUnkFBRG::Create() { return new(HeapIndex_2) ActorUnkFBRG(); } diff --git a/src/094_Land2/Actor/ActorUnkKOTA.cpp b/src/094_Land2/Actor/ActorUnkKOTA.cpp index 915f26c02..cd7fcd067 100644 --- a/src/094_Land2/Actor/ActorUnkKOTA.cpp +++ b/src/094_Land2/Actor/ActorUnkKOTA.cpp @@ -16,7 +16,7 @@ DECL_PROFILE(ActorProfileUnkKOTA); -Actor *ActorProfileUnkKOTA::Create() { +Actor* ActorProfileUnkKOTA::Create() { return new(HeapIndex_2) ActorUnkKOTA(); } @@ -56,7 +56,7 @@ void ActorUnkKOTA::func_ov094_0216e4f0(void) { RefStruct pOutRef; this->func_ov000_020973f4(&pOutRef, &data_ov000_020b539c_eur, ActorId_Cucco, ¶ms, 0); - Actor *actor = gpActorManager->func_01fff3b4(pOutRef); + Actor* actor = gpActorManager->func_01fff3b4(pOutRef); if (actor != NULL && GetUnkD4() - mUnk_94 < ARRAY_LEN_U(mUnk_94)) { if (mUnk_D4 != NULL) { *mUnk_D4 = actor; @@ -67,7 +67,7 @@ void ActorUnkKOTA::func_ov094_0216e4f0(void) { } // non-matching -void ActorUnkKOTA::func_ov094_0216e5a4(const ActorParams *param1) { +void ActorUnkKOTA::func_ov094_0216e5a4(const ActorParams* param1) { VecFx32 sp68; VecFx32 sp5C; VecFx32 sp50; @@ -86,14 +86,14 @@ void ActorUnkKOTA::func_ov094_0216e5a4(const ActorParams *param1) { Vec2bCpp sp4; Vec2bCpp sp2; Vec2bCpp sp0; - UnkStruct_027e0cd8_0C_Base_148_00 *ret = NULL; + UnkStruct_027e0cd8_0C_Base_148_00* ret = NULL; if (mUnk_5C.mParams[1] != 0) { ret = gpCourseManager->mpMapMgr->func_ov000_02080620(mUnk_5C.mParams[1]); } if (ret == NULL) { - this->func_ov094_0216e9fc((VecFx32 *) ¶m1->mInitialPos, &mPos, FX_F32_TO_FX32(5.f)); + this->func_ov094_0216e9fc((VecFx32*) ¶m1->mInitialPos, &mPos, FX_F32_TO_FX32(5.f)); return; } @@ -104,7 +104,7 @@ void ActorUnkKOTA::func_ov094_0216e5a4(const ActorParams *param1) { sp68.y = gpCourseManager->mpMapMgr->vfunc_28(&sp68, 1, 0); u16 sp16[4] = {0}; - for (Actor **ptr = mUnk_94; ptr != mUnk_D4; ptr++) { + for (Actor** ptr = mUnk_94; ptr != mUnk_D4; ptr++) { if (*ptr != NULL) { VEC_Subtract(&(*ptr)->mPos, &sp68, &sp5C); @@ -179,23 +179,23 @@ void ActorUnkKOTA::func_ov094_0216e5a4(const ActorParams *param1) { sp10.y = 0; sp10.x = sp14.x + gRandom.Next32(sp12.x - sp14.x + 1); sp10.y = sp14.y + gRandom.Next32(sp12.y - sp14.y + 1); - func_ov000_0205ad90(sp10, (VecFx32 *) ¶m1->mInitialPos); + func_ov000_0205ad90(sp10, (VecFx32*) ¶m1->mInitialPos); VEC_Subtract(&sp68, ¶m1->mInitialPos, &sp5C); func_01ff9770(&sp5C, 0xC00); - VEC_Add((VecFx32 *) ¶m1->mInitialPos, &sp5C, (VecFx32 *) ¶m1->mInitialPos); + VEC_Add((VecFx32*) ¶m1->mInitialPos, &sp5C, (VecFx32*) ¶m1->mInitialPos); } else if (ret->vfunc_04() == true) { - this->func_ov094_0216e9fc((VecFx32 *) ¶m1->mInitialPos, &ret->mUnk_14.unk_00, ret->mUnk_14.unk_0C.x); + this->func_ov094_0216e9fc((VecFx32*) ¶m1->mInitialPos, &ret->mUnk_14.unk_00, ret->mUnk_14.unk_0C.x); } else { - this->func_ov094_0216e9fc((VecFx32 *) ¶m1->mInitialPos, &mPos, FX_F32_TO_FX32(5.0f)); + this->func_ov094_0216e9fc((VecFx32*) ¶m1->mInitialPos, &mPos, FX_F32_TO_FX32(5.0f)); } } -void ActorUnkKOTA::func_ov094_0216e9fc(VecFx32 *param1, const VecFx32 *param2, fx32 param3) const { +void ActorUnkKOTA::func_ov094_0216e9fc(VecFx32* param1, const VecFx32* param2, fx32 param3) const { VecFx32_Copy(param2, param1); u16 below = 0, above = 0; param1->y = gpCourseManager->mpMapMgr->vfunc_28(param1, 1, 0); - for (Actor **ptr = (Actor **) mUnk_94; ptr != mUnk_D4; ptr++) { + for (Actor** ptr = (Actor**) mUnk_94; ptr != mUnk_D4; ptr++) { if (*ptr != NULL) { if (func_01ff9258(param2->x - (*ptr)->mPos.x, param2->z - (*ptr)->mPos.z) > param3 / 2) { above++; @@ -231,7 +231,7 @@ void ActorUnkKOTA::func_ov094_0216e9fc(VecFx32 *param1, const VecFx32 *param2, f unk32 ActorUnkKOTA::func_ov094_0216ed94(void) const { u16 uVar2; - SaveManager_00 *saveManager = gSaveManager.GetUnk000(); + SaveManager_00* saveManager = gSaveManager.GetUnk000(); if (mUnk_5C.mParams[0] == 0) { uVar2 = saveManager->unk_B78.unk_0A; diff --git a/src/094_Land2/Actor/ActorUnkLOCK.cpp b/src/094_Land2/Actor/ActorUnkLOCK.cpp index b771df92e..284bd3c8b 100644 --- a/src/094_Land2/Actor/ActorUnkLOCK.cpp +++ b/src/094_Land2/Actor/ActorUnkLOCK.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkLOCK); -Actor *ActorProfileUnkLOCK::Create() { +Actor* ActorProfileUnkLOCK::Create() { return new(HeapIndex_2) ActorUnkLOCK(); } diff --git a/src/094_Land2/Actor/ActorUnkMNCB.cpp b/src/094_Land2/Actor/ActorUnkMNCB.cpp index a7dfb28af..f1dca831e 100644 --- a/src/094_Land2/Actor/ActorUnkMNCB.cpp +++ b/src/094_Land2/Actor/ActorUnkMNCB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkMNCB); -Actor *ActorProfileUnkMNCB::Create() { +Actor* ActorProfileUnkMNCB::Create() { return new(HeapIndex_2) ActorUnkMNCB(); } diff --git a/src/094_Land2/Actor/ActorUnkPCTG.cpp b/src/094_Land2/Actor/ActorUnkPCTG.cpp index 536cca236..3f55842c9 100644 --- a/src/094_Land2/Actor/ActorUnkPCTG.cpp +++ b/src/094_Land2/Actor/ActorUnkPCTG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkPCTG); -Actor *ActorProfileUnkPCTG::Create() { +Actor* ActorProfileUnkPCTG::Create() { return new(HeapIndex_2) ActorUnkPCTG(); } diff --git a/src/094_Land2/Actor/ActorUnkPSWB.cpp b/src/094_Land2/Actor/ActorUnkPSWB.cpp index 54930b9fd..5195c3303 100644 --- a/src/094_Land2/Actor/ActorUnkPSWB.cpp +++ b/src/094_Land2/Actor/ActorUnkPSWB.cpp @@ -52,7 +52,7 @@ PTMF data_ov094_02177064[ActorUnkPSWBState_Max] = { &ActorUnkPSWB::func_ov094_0216723c, // ActorUnkPSWBState_4 }; -Actor *ActorProfileUnkPSWB::Create() { +Actor* ActorProfileUnkPSWB::Create() { return new(HeapIndex_2) ActorUnkPSWB(); } @@ -110,7 +110,7 @@ bool ActorUnkPSWB_194::vfunc_08(RefStruct ref, unk32 param2, unk32 param3) { } mUnk_10->func_ov094_02167bf0(); } else if (ref.common.type != 0) { - ActorBomb *actorBomb = (ActorBomb *) gpActorManager->func_01fff3b4(ref); + ActorBomb* actorBomb = (ActorBomb*) gpActorManager->func_01fff3b4(ref); if (actorBomb != NULL) { ActorId actorId = actorBomb->GetActorId(); if (actorId == ActorId_Bomb) { @@ -376,7 +376,7 @@ void ActorUnkPSWB::func_ov094_02166e60(void) { this->func_ov094_021668e0(ActorUnkPSWBState_0); } - if ((((u16 *) itemVar.unk_0x4)[0] & 1) != 0) { + if ((((u16*) itemVar.unk_0x4)[0] & 1) != 0) { this->func_ov000_020984f0(); return; // dumb but required } else { @@ -419,7 +419,7 @@ void ActorUnkPSWB::func_ov094_02167024(void) { VecFx32 vec = mPos; vec.y += FX32_ONE; - MapManagerBase *tmpVar = gpCourseManager->mpMapMgr; + MapManagerBase* tmpVar = gpCourseManager->mpMapMgr; func_01ffedac(&vec2b, &vec); fx32 tmpRet = tmpVar->func_01ffedf4(&vec2b); @@ -489,7 +489,7 @@ void ActorUnkPSWB::func_ov094_0216723c(void) { data_027e09a8->func_ov000_02071b30(0x991F, &mPos, 0); unk32 var1; - unk16 *pvar1 = (unk16 *) &var1; + unk16* pvar1 = (unk16*) &var1; func_01fff17c(pvar1, data_027e0ce0, 0); u16 var1Val = (s16) (*pvar1 + -DEG_TO_ANG(180)); @@ -553,9 +553,9 @@ unk32 ActorUnkPSWB::func_ov094_02167518(void) { return ret; } -void ActorUnkPSWB::func_ov094_021675ac(VecFx32 *vec) { +void ActorUnkPSWB::func_ov094_021675ac(VecFx32* vec) { unk32 var; - unk16 *pvar = (unk16 *) &var; + unk16* pvar = (unk16*) &var; func_01fff17c(pvar, data_027e0ce0, mUnk_98); mUnk_160 = GET_DIRECTION(*pvar); this->func_ov048_02130790(mUnk_160, vec, 0x1000); @@ -565,7 +565,7 @@ void ActorUnkPSWB::func_ov094_021675ac(VecFx32 *vec) { unk32 ActorUnkPSWB::func_ov094_02167614(void) { if (GET_FLAG2(mUnk_180, 1)) { - VecFx32 *vec = data_027e0ce0->func_01fff148(PlayerType_Link); + VecFx32* vec = data_027e0ce0->func_01fff148(PlayerType_Link); if (func_01ff9258(mPos.x - vec->x, mPos.z - vec->z) > FX_F32_TO_FX32(0.54f)) { UNSET_FLAG2(mUnk_180, 1); } @@ -577,7 +577,7 @@ void ActorUnkPSWB::func_ov094_02167688(void) { Vec2bCpp vec2b; func_01ffedac(&vec2b, &mPos); - MapObject *mapObject = gpMapObjManager->func_01fff498(vec2b); + MapObject* mapObject = gpMapObjManager->func_01fff498(vec2b); if (mapObject != NULL && mapObject->GetMapObjectId() == MapObjectId_SwitchStep) { mapObject->vfunc_20(mRef); } @@ -655,7 +655,7 @@ void ActorUnkPSWB::vfunc_2C(unk32 param1) { mUnk_E0.vfunc_10(&vec1, &m1, &mPos); if (GET_FLAG2(mUnk_180, 1)) { - Actor *actor = func_02016fbc(ActorId_OCTW, &mPos, 0); + Actor* actor = func_02016fbc(ActorId_OCTW, &mPos, 0); if (actor != NULL && actor->mState != ActorUnkPSWBState_3) { data_027e09bc->mUnk_04[1][param1]->func_ov000_020786dc(&actor->mPos, 1); } @@ -678,9 +678,9 @@ bool ActorUnkPSWB::func_ov094_02167ab8(unk32 param1) { u32 var[2]; u32 ref = mRef.data; - u32 *pvar = &var[1]; + u32* pvar = &var[1]; - func_ov000_0208bb84((u16 *) pvar, data_027e0ce0, param1); + func_ov000_0208bb84((u16*) pvar, data_027e0ce0, param1); return *pvar == ref; } @@ -783,7 +783,7 @@ void ActorUnkPSWB::func_ov094_02167dbc(void) { RefStruct ref; Actor::func_ov000_020973f4(&ref, &data_ov000_020b539c_eur, ActorId_EFRP, ¶ms, 0); - UnkStruck_func_ov094_02167dbc *actor = (UnkStruck_func_ov094_02167dbc *) gpActorManager->func_01fff3b4(ref); + UnkStruck_func_ov094_02167dbc* actor = (UnkStruck_func_ov094_02167dbc*) gpActorManager->func_01fff3b4(ref); if (actor != NULL) { actor->mUnk_1AC = 0x666; } @@ -872,7 +872,7 @@ void ActorUnkPSWB::func_ov094_02167e58(void) { } } -bool ActorUnkPSWB::vfunc_58(VecFx32 *param1) { +bool ActorUnkPSWB::vfunc_58(VecFx32* param1) { if (UnkStruct_ov048_02137600::vfunc_58(param1)) { u32 var1; bool ret = true; @@ -881,7 +881,7 @@ bool ActorUnkPSWB::vfunc_58(VecFx32 *param1) { u32 var2; // some kind of ref? func_01fff05c(&var2, gpCourseManager->mpMapMgr, param1); bool cond = true; - u32 tmpCpy = *(volatile u32 *) &var2; + u32 tmpCpy = *(volatile u32*) &var2; if ((var2 & 0x1F) != 8 && (tmpCpy >> 5 & 3) != 2) { cond = false; } @@ -896,7 +896,7 @@ bool ActorUnkPSWB::vfunc_58(VecFx32 *param1) { } // non-matching (regalloc in the FX_Muls) -void ActorUnkPSWB::func_ov094_0216825c(VecFx32 *param1, unk32 param2) { +void ActorUnkPSWB::func_ov094_0216825c(VecFx32* param1, unk32 param2) { if (VEC_DotProduct(param1, &mVel) > 0) { return; } @@ -916,14 +916,14 @@ void ActorUnkPSWB::func_ov094_0216825c(VecFx32 *param1, unk32 param2) { func_01ff93c0(&mVel, param2); } -UnkStruct_ov094_02176fb8::UnkStruct_ov094_02176fb8(ActorUnkPSWB *param1) : +UnkStruct_ov094_02176fb8::UnkStruct_ov094_02176fb8(ActorUnkPSWB* param1) : mUnk_0C(param1) {} UnkStruct_ov094_02176fb8::~UnkStruct_ov094_02176fb8() { mUnk_0C = NULL; } -bool UnkStruct_ov094_02176fb8::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool UnkStruct_ov094_02176fb8::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { #pragma unused(param2) VecFx32 vec; VecFx16_Copy2VecFx32(¶m1->mUnk_08, &vec); diff --git a/src/094_Land2/Actor/ActorUnkSNOW.cpp b/src/094_Land2/Actor/ActorUnkSNOW.cpp index 81281947f..4fccf5144 100644 --- a/src/094_Land2/Actor/ActorUnkSNOW.cpp +++ b/src/094_Land2/Actor/ActorUnkSNOW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSNOW); -Actor *ActorProfileUnkSNOW::Create() { +Actor* ActorProfileUnkSNOW::Create() { return new(HeapIndex_2) ActorUnkSNOW(); } diff --git a/src/094_Land2/Actor/ActorUnkSPTG.cpp b/src/094_Land2/Actor/ActorUnkSPTG.cpp index c93626ade..95e9801cc 100644 --- a/src/094_Land2/Actor/ActorUnkSPTG.cpp +++ b/src/094_Land2/Actor/ActorUnkSPTG.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSPTG); -Actor *ActorProfileUnkSPTG::Create() { +Actor* ActorProfileUnkSPTG::Create() { return new(HeapIndex_2) ActorUnkSPTG(); } diff --git a/src/094_Land2/Actor/ActorUnkSTTG.cpp b/src/094_Land2/Actor/ActorUnkSTTG.cpp index 3490fed36..f8eb40488 100644 --- a/src/094_Land2/Actor/ActorUnkSTTG.cpp +++ b/src/094_Land2/Actor/ActorUnkSTTG.cpp @@ -24,7 +24,7 @@ static PTMF data_ov094_02177624[ActorUnkSTTGState_Max] = { &ActorUnkSTTG::func_ov094_0216aa78, // ActorUnkSTTGState_3 }; -Actor *ActorProfileUnkSTTG::Create() { +Actor* ActorProfileUnkSTTG::Create() { return new(HeapIndex_2) ActorUnkSTTG(); } @@ -87,7 +87,7 @@ bool ActorUnkSTTG::Init(unk32 param1) { return true; } -bool UnkStruct_ov094_02177610::vfunc_08(const UnkStruct_ov031_020f3310 *param1, unk32 param2) { +bool UnkStruct_ov094_02177610::vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2) { #pragma unused(param2) if (param1->mUnk_08.y > 0) { VecFx16_Copy2VecFx32(¶m1->mUnk_08, mUnk_04); @@ -194,14 +194,14 @@ void ActorUnkSTTG::vfunc_2C(unk32 param1) { unk32 ActorUnkSTTG::func_ov094_0216ab34(void) {} void ActorUnkSTTG::func_ov094_0216ada8(void) {} -void ActorUnkSTTG::func_ov094_0216aec0(VecFx32 *vec, ActorUnkSTTG *actor) { +void ActorUnkSTTG::func_ov094_0216aec0(VecFx32* vec, ActorUnkSTTG* actor) { VecFx32_Init(0, 0, FX32_ONE, vec); MTX_MultVec33(vec, &actor->mUnk_130, vec); } void ActorUnkSTTG::func_ov094_0216aee8(void) {} -void ActorUnkSTTG::func_ov094_0216b150(VecFx32 *vec, ActorUnkSTTG *actor) { +void ActorUnkSTTG::func_ov094_0216b150(VecFx32* vec, ActorUnkSTTG* actor) { VecFx32_Init(actor->mUnk_130._10, actor->mUnk_130._11, actor->mUnk_130._12, vec); func_01ff93c0(vec, actor->mUnk_17C); VEC_Add(vec, &actor->mPos, vec); diff --git a/src/094_Land2/Actor/ActorUnkSYRN.cpp b/src/094_Land2/Actor/ActorUnkSYRN.cpp index 9afe5f6a0..c1ddc8b80 100644 --- a/src/094_Land2/Actor/ActorUnkSYRN.cpp +++ b/src/094_Land2/Actor/ActorUnkSYRN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSYRN); -Actor *ActorProfileUnkSYRN::Create() { +Actor* ActorProfileUnkSYRN::Create() { return new(HeapIndex_2) ActorUnkSYRN(); } diff --git a/src/094_Land2/Actor/ActorUnkVLCR.cpp b/src/094_Land2/Actor/ActorUnkVLCR.cpp index 015c46c67..51f3a8928 100644 --- a/src/094_Land2/Actor/ActorUnkVLCR.cpp +++ b/src/094_Land2/Actor/ActorUnkVLCR.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkVLCR); -Actor *ActorProfileUnkVLCR::Create() { +Actor* ActorProfileUnkVLCR::Create() { return new(HeapIndex_2) ActorUnkVLCR(); } diff --git a/src/094_Land2/Actor/ActorUnkVRGN.cpp b/src/094_Land2/Actor/ActorUnkVRGN.cpp index c7a7b2a6d..171bbb933 100644 --- a/src/094_Land2/Actor/ActorUnkVRGN.cpp +++ b/src/094_Land2/Actor/ActorUnkVRGN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkVRGN); -Actor *ActorProfileUnkVRGN::Create() { +Actor* ActorProfileUnkVRGN::Create() { return new(HeapIndex_2) ActorUnkVRGN(); } diff --git a/src/094_Land2/MapObject/MapObjectUnkBRGW.cpp b/src/094_Land2/MapObject/MapObjectUnkBRGW.cpp index 529b7aeb3..0312a3379 100644 --- a/src/094_Land2/MapObject/MapObjectUnkBRGW.cpp +++ b/src/094_Land2/MapObject/MapObjectUnkBRGW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkBRGW); -MapObject *MapObjectProfileUnkBRGW::Create() { +MapObject* MapObjectProfileUnkBRGW::Create() { return new(HeapIndex_2) MapObjectUnkBRGW(); } diff --git a/src/094_Land2/MapObject/MapObjectUnkCLMN.cpp b/src/094_Land2/MapObject/MapObjectUnkCLMN.cpp index 2f92ad86e..b6dc06b31 100644 --- a/src/094_Land2/MapObject/MapObjectUnkCLMN.cpp +++ b/src/094_Land2/MapObject/MapObjectUnkCLMN.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkCLMN); -MapObject *MapObjectProfileUnkCLMN::Create() { +MapObject* MapObjectProfileUnkCLMN::Create() { return new(HeapIndex_2) MapObjectUnkCLMN(); } diff --git a/src/094_Land2/MapObject/MapObjectUnkFNCE.cpp b/src/094_Land2/MapObject/MapObjectUnkFNCE.cpp index 23bd5c13e..1cf2d08f1 100644 --- a/src/094_Land2/MapObject/MapObjectUnkFNCE.cpp +++ b/src/094_Land2/MapObject/MapObjectUnkFNCE.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkFNCE); -MapObject *MapObjectProfileUnkFNCE::Create() { +MapObject* MapObjectProfileUnkFNCE::Create() { return new(HeapIndex_2) MapObjectUnkFNCE(); } diff --git a/src/094_Land2/MapObject/MapObjectUnkICEB.cpp b/src/094_Land2/MapObject/MapObjectUnkICEB.cpp index d6a773e77..cd624cd74 100644 --- a/src/094_Land2/MapObject/MapObjectUnkICEB.cpp +++ b/src/094_Land2/MapObject/MapObjectUnkICEB.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkICEB); -MapObject *MapObjectProfileUnkICEB::Create() { +MapObject* MapObjectProfileUnkICEB::Create() { return new(HeapIndex_2) MapObjectUnkICEB(); } diff --git a/src/094_Land2/MapObject/MapObjectUnkMBBS.cpp b/src/094_Land2/MapObject/MapObjectUnkMBBS.cpp index a6ec6e5f4..5b03227e1 100644 --- a/src/094_Land2/MapObject/MapObjectUnkMBBS.cpp +++ b/src/094_Land2/MapObject/MapObjectUnkMBBS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMBBS); -MapObject *MapObjectProfileUnkMBBS::Create() { +MapObject* MapObjectProfileUnkMBBS::Create() { return new(HeapIndex_2) MapObjectUnkMBBS(); } diff --git a/src/094_Land2/MapObject/MapObjectUnkMTWD.cpp b/src/094_Land2/MapObject/MapObjectUnkMTWD.cpp index 0418c1a0a..739adc493 100644 --- a/src/094_Land2/MapObject/MapObjectUnkMTWD.cpp +++ b/src/094_Land2/MapObject/MapObjectUnkMTWD.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkMTWD); -MapObject *MapObjectProfileUnkMTWD::Create() { +MapObject* MapObjectProfileUnkMTWD::Create() { return new(HeapIndex_2) MapObjectUnkMTWD(); } diff --git a/src/094_Land2/MapObject/MapObjectUnkTHAW.cpp b/src/094_Land2/MapObject/MapObjectUnkTHAW.cpp index 37fb4f1ed..f36d3bda1 100644 --- a/src/094_Land2/MapObject/MapObjectUnkTHAW.cpp +++ b/src/094_Land2/MapObject/MapObjectUnkTHAW.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkTHAW); -MapObject *MapObjectProfileUnkTHAW::Create() { +MapObject* MapObjectProfileUnkTHAW::Create() { return new(HeapIndex_2) MapObjectUnkTHAW(); } diff --git a/src/094_Land2/MapObject/MapObjectUnkWDST.cpp b/src/094_Land2/MapObject/MapObjectUnkWDST.cpp index 3573cd660..b799f6fac 100644 --- a/src/094_Land2/MapObject/MapObjectUnkWDST.cpp +++ b/src/094_Land2/MapObject/MapObjectUnkWDST.cpp @@ -8,7 +8,7 @@ DECL_PROFILE(MapObjectProfileUnkWDST); -MapObject *MapObjectProfileUnkWDST::Create() { +MapObject* MapObjectProfileUnkWDST::Create() { return new(HeapIndex_2) MapObjectUnkWDST(); } diff --git a/src/094_Land2/MapObject/MapObjectUnkWLMP.cpp b/src/094_Land2/MapObject/MapObjectUnkWLMP.cpp index 84729a669..9934a3159 100644 --- a/src/094_Land2/MapObject/MapObjectUnkWLMP.cpp +++ b/src/094_Land2/MapObject/MapObjectUnkWLMP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(MapObjectProfileUnkWLMP); -MapObject *MapObjectProfileUnkWLMP::Create() { +MapObject* MapObjectProfileUnkWLMP::Create() { return new(HeapIndex_2) MapObjectUnkWLMP(); } diff --git a/src/096_PlayerZelda/Actor/ActorUnkBPBS.cpp b/src/096_PlayerZelda/Actor/ActorUnkBPBS.cpp index 8e62eca80..cd1b0c741 100644 --- a/src/096_PlayerZelda/Actor/ActorUnkBPBS.cpp +++ b/src/096_PlayerZelda/Actor/ActorUnkBPBS.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkBPBS); -Actor *ActorProfileUnkBPBS::Create() { +Actor* ActorProfileUnkBPBS::Create() { return new(HeapIndex_2) ActorUnkBPBS(); } diff --git a/src/096_PlayerZelda/Actor/ActorUnkCLBT.cpp b/src/096_PlayerZelda/Actor/ActorUnkCLBT.cpp index 68e7e1993..6991718d4 100644 --- a/src/096_PlayerZelda/Actor/ActorUnkCLBT.cpp +++ b/src/096_PlayerZelda/Actor/ActorUnkCLBT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkCLBT); -Actor *ActorProfileUnkCLBT::Create() { +Actor* ActorProfileUnkCLBT::Create() { return new(HeapIndex_2) ActorUnkCLBT(); } diff --git a/src/096_PlayerZelda/Actor/ActorUnkLZET.cpp b/src/096_PlayerZelda/Actor/ActorUnkLZET.cpp index bd065081b..ea8e7a5f9 100644 --- a/src/096_PlayerZelda/Actor/ActorUnkLZET.cpp +++ b/src/096_PlayerZelda/Actor/ActorUnkLZET.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkLZET); -Actor *ActorProfileUnkLZET::Create() { +Actor* ActorProfileUnkLZET::Create() { return new(HeapIndex_2) ActorUnkLZET(); } diff --git a/src/096_PlayerZelda/Actor/ActorUnkTKYT.cpp b/src/096_PlayerZelda/Actor/ActorUnkTKYT.cpp index c1df4ff0c..1d87e63c4 100644 --- a/src/096_PlayerZelda/Actor/ActorUnkTKYT.cpp +++ b/src/096_PlayerZelda/Actor/ActorUnkTKYT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkTKYT); -Actor *ActorProfileUnkTKYT::Create() { +Actor* ActorProfileUnkTKYT::Create() { return new(HeapIndex_2) ActorUnkTKYT(); } diff --git a/src/098_MapWater/Actor/ActorUnkEFRI.cpp b/src/098_MapWater/Actor/ActorUnkEFRI.cpp index c423bf180..bcd1fb5f7 100644 --- a/src/098_MapWater/Actor/ActorUnkEFRI.cpp +++ b/src/098_MapWater/Actor/ActorUnkEFRI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEFRI); -Actor *ActorProfileUnkEFRI::Create() { +Actor* ActorProfileUnkEFRI::Create() { return new(HeapIndex_2) ActorUnkEFRI(); } diff --git a/src/098_MapWater/Actor/ActorUnkEFRP.cpp b/src/098_MapWater/Actor/ActorUnkEFRP.cpp index f3dc0c044..9e46fa3f6 100644 --- a/src/098_MapWater/Actor/ActorUnkEFRP.cpp +++ b/src/098_MapWater/Actor/ActorUnkEFRP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEFRP); -Actor *ActorProfileUnkEFRP::Create() { +Actor* ActorProfileUnkEFRP::Create() { return new(HeapIndex_2) ActorUnkEFRP(); } diff --git a/src/098_MapWater/Actor/ActorUnkEFWI.cpp b/src/098_MapWater/Actor/ActorUnkEFWI.cpp index 1a5b094c5..1c81e24c3 100644 --- a/src/098_MapWater/Actor/ActorUnkEFWI.cpp +++ b/src/098_MapWater/Actor/ActorUnkEFWI.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEFWI); -Actor *ActorProfileUnkEFWI::Create() { +Actor* ActorProfileUnkEFWI::Create() { return new(HeapIndex_2) ActorUnkEFWI(); } diff --git a/src/098_MapWater/Actor/ActorUnkEFWV.cpp b/src/098_MapWater/Actor/ActorUnkEFWV.cpp index f431ba9d2..5dbd775d6 100644 --- a/src/098_MapWater/Actor/ActorUnkEFWV.cpp +++ b/src/098_MapWater/Actor/ActorUnkEFWV.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEFWV); -Actor *ActorProfileUnkEFWV::Create() { +Actor* ActorProfileUnkEFWV::Create() { return new(HeapIndex_2) ActorUnkEFWV(); } diff --git a/src/098_MapWater/Actor/ActorUnkSEAT.cpp b/src/098_MapWater/Actor/ActorUnkSEAT.cpp index 13ffc1821..9de1cf7d7 100644 --- a/src/098_MapWater/Actor/ActorUnkSEAT.cpp +++ b/src/098_MapWater/Actor/ActorUnkSEAT.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkSEAT); -Actor *ActorProfileUnkSEAT::Create() { +Actor* ActorProfileUnkSEAT::Create() { return new(HeapIndex_2) ActorUnkSEAT(); } diff --git a/src/099_MapLava/Actor/ActorUnkE3LV.cpp b/src/099_MapLava/Actor/ActorUnkE3LV.cpp index 9f5c64493..8a8eaf905 100644 --- a/src/099_MapLava/Actor/ActorUnkE3LV.cpp +++ b/src/099_MapLava/Actor/ActorUnkE3LV.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkE3LV); -Actor *ActorProfileUnkE3LV::Create() { +Actor* ActorProfileUnkE3LV::Create() { return new(HeapIndex_2) ActorUnkE3LV(); } diff --git a/src/099_MapLava/Actor/ActorUnkEFRL.cpp b/src/099_MapLava/Actor/ActorUnkEFRL.cpp index 73e9fd598..3db0a5934 100644 --- a/src/099_MapLava/Actor/ActorUnkEFRL.cpp +++ b/src/099_MapLava/Actor/ActorUnkEFRL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEFRL); -Actor *ActorProfileUnkEFRL::Create() { +Actor* ActorProfileUnkEFRL::Create() { return new(HeapIndex_2) ActorUnkEFRL(); } diff --git a/src/099_MapLava/Actor/ActorUnkEFWL.cpp b/src/099_MapLava/Actor/ActorUnkEFWL.cpp index e04a6dbfa..b41907664 100644 --- a/src/099_MapLava/Actor/ActorUnkEFWL.cpp +++ b/src/099_MapLava/Actor/ActorUnkEFWL.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkEFWL); -Actor *ActorProfileUnkEFWL::Create() { +Actor* ActorProfileUnkEFWL::Create() { return new(HeapIndex_2) ActorUnkEFWL(); } diff --git a/src/099_MapLava/Actor/ActorUnkVOLV.cpp b/src/099_MapLava/Actor/ActorUnkVOLV.cpp index 8ffba4c6e..87412237d 100644 --- a/src/099_MapLava/Actor/ActorUnkVOLV.cpp +++ b/src/099_MapLava/Actor/ActorUnkVOLV.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkVOLV); -Actor *ActorProfileUnkVOLV::Create() { +Actor* ActorProfileUnkVOLV::Create() { return new(HeapIndex_2) ActorUnkVOLV(); } diff --git a/src/101_SceneInitLand/Course/MapManagerLand_101.cpp b/src/101_SceneInitLand/Course/MapManagerLand_101.cpp index e498c6b43..1d633805c 100644 --- a/src/101_SceneInitLand/Course/MapManagerLand_101.cpp +++ b/src/101_SceneInitLand/Course/MapManagerLand_101.cpp @@ -15,7 +15,7 @@ struct UnkStruct_ov070_0214dc74 { }; extern UnkStruct_ov070_0214dc74 data_ov070_0214dc74[18]; -MapManagerLand::MapManagerLand(CourseManager *pCourseMgr) : +MapManagerLand::MapManagerLand(CourseManager* pCourseMgr) : MapManagerBase(pCourseMgr) { this->mUnk_1D0 = 0x00; this->mUnk_1D4 = 0x00; @@ -56,12 +56,12 @@ void MapManagerLand::vfunc_38() { this->MapManagerBase::vfunc_38(); EntranceInfo local_28; - MI_CpuCopy32((void *) this->func_ov001_020b8c80(0x3F), &local_28, sizeof(EntranceInfo)); + MI_CpuCopy32((void*) this->func_ov001_020b8c80(0x3F), &local_28, sizeof(EntranceInfo)); local_28.sceneIndex = data_027e09a4->mUnk_2C.mSceneIndex; this->func_ov001_020b8c30(local_28); EntranceInfo auStack_3c; - MI_CpuCopy32((void *) this->func_ov001_020b8c80(0x3D), &auStack_3c, sizeof(EntranceInfo)); + MI_CpuCopy32((void*) this->func_ov001_020b8c80(0x3D), &auStack_3c, sizeof(EntranceInfo)); this->func_ov001_020b8c30(auStack_3c); this->func_ov031_020d8738(); @@ -119,7 +119,7 @@ void UnkStruct_027e0cd8_0C_1D0::func_ov101_021837a0() { var_r6 = true; bool var_r4_2 = true; - UnkStruct_027e09a4 *ptr = data_027e09a4; + UnkStruct_027e09a4* ptr = data_027e09a4; if (ptr->GetCurrentCourseEntry()->unk_10 != 0x01 && ptr->GetCurrentCourseEntry()->unk_10 != 0x03) { var_r4_2 = false; } @@ -129,7 +129,7 @@ void UnkStruct_027e0cd8_0C_1D0::func_ov101_021837a0() { stack.sceneIndex = data_027e09a4->CurrentSceneIndex(); for (stack.i = 0; stack.i < ARRAY_LEN(data_ov070_0214dc74); stack.i++) { - UnkStruct_ov070_0214dc74 *pEntry = func_ov070_02143fe4(stack.i); + UnkStruct_ov070_0214dc74* pEntry = func_ov070_02143fe4(stack.i); if (stack.sceneIndex == pEntry->sceneIndex) { spC = true; diff --git a/src/101_SceneInitLand/Item/ItemManager_101.cpp b/src/101_SceneInitLand/Item/ItemManager_101.cpp index 8eace961d..e11a3361e 100644 --- a/src/101_SceneInitLand/Item/ItemManager_101.cpp +++ b/src/101_SceneInitLand/Item/ItemManager_101.cpp @@ -36,7 +36,7 @@ void UnkStruct_ItemManager_20::func_ov101_02182d5c() { this->mUnk_00->func_ov031_020dba40(); this->mUnk_04->func_ov031_020db338(); - UnkStruct_ItemManager_20_08 *pUnk_08 = this->mUnk_08; + UnkStruct_ItemManager_20_08* pUnk_08 = this->mUnk_08; pUnk_08->mUnk_00 = 0; pUnk_08->mUnk_02 = 1; pUnk_08->func_ov031_020db5b4(); diff --git a/src/101_SceneInitLand/Player/PlayerLinkActor_A0_1C_101.cpp b/src/101_SceneInitLand/Player/PlayerLinkActor_A0_1C_101.cpp index 34233a6aa..477486027 100644 --- a/src/101_SceneInitLand/Player/PlayerLinkActor_A0_1C_101.cpp +++ b/src/101_SceneInitLand/Player/PlayerLinkActor_A0_1C_101.cpp @@ -2,7 +2,7 @@ #include "Player/PlayerLink.hpp" #include "Unknown/UnkStruct_ov000_020b3000.hpp" -PlayerLinkActor_A0_1C::PlayerLinkActor_A0_1C(UnkStruct_027e0ce0_40 *param1) { +PlayerLinkActor_A0_1C::PlayerLinkActor_A0_1C(UnkStruct_027e0ce0_40* param1) { this->mUnk_00 = param1; this->mUnk_04 = 0x00; this->mUnk_06 = false; @@ -14,7 +14,7 @@ void PlayerLinkActor_A0_1C::func_ov101_02183290() { this->mUnk_0C.Reset(); UnkStruct_ov000_020b3000 local_14(ActorId_IWTS); - Actor **ppActor = gpActorManager->func_01fff350(&local_14, gpActorManager->mActorTable); + Actor** ppActor = gpActorManager->func_01fff350(&local_14, gpActorManager->mActorTable); // why is this a loop while (ppActor != gpActorManager->mUnk_08) { diff --git a/src/101_SceneInitLand/UnkStruct_027e09a4_54_101.cpp b/src/101_SceneInitLand/UnkStruct_027e09a4_54_101.cpp index 144c7f611..93d994f77 100644 --- a/src/101_SceneInitLand/UnkStruct_027e09a4_54_101.cpp +++ b/src/101_SceneInitLand/UnkStruct_027e09a4_54_101.cpp @@ -5,7 +5,7 @@ #include -UnkStruct_027e09a4_54_Derived1::UnkStruct_027e09a4_54_Derived1(unk32 *param1) : +UnkStruct_027e09a4_54_Derived1::UnkStruct_027e09a4_54_Derived1(unk32* param1) : UnkStruct_027e09a4_54_Base(param1) { this->mUnk_04.Init(sizeof(UnkStruct_027e09a4_54_04) * 4); } @@ -33,20 +33,20 @@ void UnkStruct_027e09a4_54_Derived1::vfunc_0C() { } if (unk_1B_and_0x40) { - const char *pcVar2 = data_02049be0.func_02014ff4(); + const char* pcVar2 = data_02049be0.func_02014ff4(); wchar_t acStack_6c[32]; acStack_6c[ARRAY_LEN(acStack_6c) - 1] = L'\0'; - strncpy((char *) acStack_6c, pcVar2, sizeof(acStack_6c) - 1); + strncpy((char*) acStack_6c, pcVar2, sizeof(acStack_6c) - 1); - const char *pathEnd = "/Screen/tex2d.bin"; - size_t length = strlen((char *) acStack_6c); - strncpy((char *) acStack_6c + length, pathEnd, sizeof(acStack_6c) - 1 - length); + const char* pathEnd = "/Screen/tex2d.bin"; + size_t length = strlen((char*) acStack_6c); + strncpy((char*) acStack_6c + length, pathEnd, sizeof(acStack_6c) - 1 - length); - UnkStruct_StackTitleScreen austack_80((char *) acStack_6c, 0x01); + UnkStruct_StackTitleScreen austack_80((char*) acStack_6c, 0x01); austack_80.func_ov000_02059270(0x2D, "scratchText", 0x34B00000); } } -void UnkStruct_027e09a4_54_Derived1::vfunc_10(UnkStruct_StackTitleScreen *param1) {} +void UnkStruct_027e09a4_54_Derived1::vfunc_10(UnkStruct_StackTitleScreen* param1) {} diff --git a/src/101_SceneInitLand/UnkStruct_027e0ce0_40_101.cpp b/src/101_SceneInitLand/UnkStruct_027e0ce0_40_101.cpp index 4f12e770f..b5986f3ca 100644 --- a/src/101_SceneInitLand/UnkStruct_027e0ce0_40_101.cpp +++ b/src/101_SceneInitLand/UnkStruct_027e0ce0_40_101.cpp @@ -8,8 +8,8 @@ #include -UnkStruct_027e0ce0_40::UnkStruct_027e0ce0_40(bool param1, UnkStruct_027e0ce0_20 *param2, ActorId *pPhantomId, - ItemManager *pItemMgr) : +UnkStruct_027e0ce0_40::UnkStruct_027e0ce0_40(bool param1, UnkStruct_027e0ce0_20* param2, ActorId* pPhantomId, + ItemManager* pItemMgr) : UnkStruct_027e0ce0_40_Base(-1, param2, pItemMgr), mUnk_14C(gOverlayManager.IsPlayerSub() ? new(HeapIndex_1) UnkStruct_027e0ce0_40_14C() : NULL), mUnk_150(data_027e09a4->IsCastleOrTown() ? new(HeapIndex_1) UnkStruct_027e0ce0_40_150() : NULL), @@ -64,9 +64,9 @@ void UnkStruct_027e0ce0_40::func_ov101_02183004() { this->mPlayer.func_ov001_020bcba8(); } -void UnkStruct_027e0ce0_40::func_ov101_02183024(const UnkStruct_ov001_020c40f4 *param1, const UnkStruct_ov001_020c40f4 *param2, - unk32 param3, unk32 param4, ItemManager *pItemMgr, - UnkStruct_027e0ce0_30 *param6, bool param7, bool param8) { +void UnkStruct_027e0ce0_40::func_ov101_02183024(const UnkStruct_ov001_020c40f4* param1, const UnkStruct_ov001_020c40f4* param2, + unk32 param3, unk32 param4, ItemManager* pItemMgr, + UnkStruct_027e0ce0_30* param6, bool param7, bool param8) { bool var_r7 = false; if (this->mpZelda != NULL) { diff --git a/src/102_CourseExecLand/ActorUnkMLCK_102.cpp b/src/102_CourseExecLand/ActorUnkMLCK_102.cpp index fdbbf24e9..bc9af7513 100644 --- a/src/102_CourseExecLand/ActorUnkMLCK_102.cpp +++ b/src/102_CourseExecLand/ActorUnkMLCK_102.cpp @@ -85,9 +85,9 @@ bool ActorUnkMLCK_C4::func_ov102_021847e8(unk32 param1, unk32 param2) { return false; } -bool UnkStruct_ov102_02184a24::vfunc_00(Actor *pActor) { +bool UnkStruct_ov102_02184a24::vfunc_00(Actor* pActor) { if (pActor != NULL && pActor->GetActorId() == this->mActorId) { - BOOL var_r1 = ((ActorUnkMLCK *) pActor)->mUnk_BC == 0 || ((ActorUnkMLCK *) pActor)->mUnk_BC == 1; + BOOL var_r1 = ((ActorUnkMLCK*) pActor)->mUnk_BC == 0 || ((ActorUnkMLCK*) pActor)->mUnk_BC == 1; return !var_r1; } diff --git a/src/102_CourseExecLand/MapObjectUnkSAND_102.cpp b/src/102_CourseExecLand/MapObjectUnkSAND_102.cpp index d74ce5cf8..35fb4e84b 100644 --- a/src/102_CourseExecLand/MapObjectUnkSAND_102.cpp +++ b/src/102_CourseExecLand/MapObjectUnkSAND_102.cpp @@ -14,7 +14,7 @@ extern MapObject_10 data_ov031_02118aa4; struct UnkStruct_ov031_021189d0 { /* 00 */ PAD(0x00, 0x70); - /* 70 */ BMDSectionModel *unk_70; + /* 70 */ BMDSectionModel* unk_70; }; extern UnkStruct_ov031_021189d0 data_ov031_021189d0; @@ -33,7 +33,7 @@ static const char data_ov102_021848f0[][16] = { "s0", "s1", "s2", "s3", "s4", "s5", }; -void MapObjectUnkSAND_40::func_ov102_021835c4(VecFx32 *param1) { +void MapObjectUnkSAND_40::func_ov102_021835c4(VecFx32* param1) { switch (this->mUnk_00) { case 1: case 2: @@ -91,7 +91,7 @@ void MapObjectUnkSAND_40::func_ov102_021835c4(VecFx32 *param1) { } } -void MapObjectUnkSAND_40::func_ov102_021837a8(Vec2bCpp param1, VecFx32 *param2) { +void MapObjectUnkSAND_40::func_ov102_021837a8(Vec2bCpp param1, VecFx32* param2) { Vec2bCpp spC[4]; s32 sp8; UnkAngleStruct sp6; @@ -99,7 +99,7 @@ void MapObjectUnkSAND_40::func_ov102_021837a8(Vec2bCpp param1, VecFx32 *param2) u16 var_r6; fx32 temp_r7; s32 var_r8; - MapManagerBase *temp_r9; + MapManagerBase* temp_r9; var_r6 = 0; @@ -140,9 +140,9 @@ void MapObjectUnkSAND_40::func_ov102_021837a8(Vec2bCpp param1, VecFx32 *param2) } } - const UnkStruct_ov102_021848b0 *ptr = &data_ov102_021848b0[var_r6]; - UnkSystem6_Derived2 sp14( - G3d_GetUnkPtr(data_ov031_021189d0.unk_70, data_ov102_021848f0[data_ov102_021848b0[var_r6].unk_00]), true); + const UnkStruct_ov102_021848b0* ptr = &data_ov102_021848b0[var_r6]; + UnkSystem6_Derived2 sp14(G3d_GetUnkPtr(data_ov031_021189d0.unk_70, data_ov102_021848f0[data_ov102_021848b0[var_r6].unk_00]), + true); sp6.angle_s = ptr->unk_02; sp14.func_01ffc6d4(sp6, param2); } diff --git a/src/102_CourseExecLand/UnkStruct_027e0ce0_40_102.cpp b/src/102_CourseExecLand/UnkStruct_027e0ce0_40_102.cpp index f057e6bd2..62a9503f6 100644 --- a/src/102_CourseExecLand/UnkStruct_027e0ce0_40_102.cpp +++ b/src/102_CourseExecLand/UnkStruct_027e0ce0_40_102.cpp @@ -11,7 +11,7 @@ #include "Unknown/UnkStruct_ov000_020b51b8.hpp" #include "Unknown/UnkStruct_ov000_020b5214.hpp" -void PlayerActorBase_74::func_ov102_02182c20(unk32 param1, MtxFx43 *param2) { +void PlayerActorBase_74::func_ov102_02182c20(unk32 param1, MtxFx43* param2) { this->mUnk_04[param1].x = this->mUnk_1C[param1].x; this->mUnk_04[param1].y = this->mUnk_1C[param1].y; this->mUnk_04[param1].z = this->mUnk_1C[param1].z; @@ -21,7 +21,7 @@ void PlayerActorBase_74::func_ov102_02182c20(unk32 param1, MtxFx43 *param2) { func_01ffaf74(&sp0, param2, &this->mUnk_1C[param1]); } -bool PlayerActorBase_74::UnknownInline1(u32 index, VecFx32 *pVec) { +bool PlayerActorBase_74::UnknownInline1(u32 index, VecFx32* pVec) { s32 temp_r0_3; s32 temp_r2_4; s32 temp_r3_3; @@ -62,8 +62,8 @@ bool PlayerActorBase_74::UnknownInline1(u32 index, VecFx32 *pVec) { return false; } -void PlayerActorBase_74::func_ov102_02182c84(bool param1, unk32 param2, UnkAngleStruct param3, MtxFx43 *param4, - MtxFx43 *param5) { +void PlayerActorBase_74::func_ov102_02182c84(bool param1, unk32 param2, UnkAngleStruct param3, MtxFx43* param4, + MtxFx43* param5) { func_ov102_02182c20(0, param4); func_ov102_02182c20(1, param5); @@ -83,7 +83,7 @@ void PlayerActorBase_74::func_ov102_02182c84(bool param1, unk32 param2, UnkAngle } } -void UnkStruct_027e0ce0_40_108::func_ov102_02182e54(unk32 param1, VecFx32 *param2, unk32 param3) { +void UnkStruct_027e0ce0_40_108::func_ov102_02182e54(unk32 param1, VecFx32* param2, unk32 param3) { Vec2s sp6; if (!data_027e09bc->mUnk_04[0][param1]->func_01ffd43c(&sp6, param2, 1)) { @@ -110,11 +110,11 @@ void UnkStruct_027e0ce0_40_108::func_ov102_02182e54(unk32 param1, VecFx32 *param } UnkStruct_027e0ce0_40_108_10 sp0; - UnkStruct_027e0ce0_40_108_10 *ptr = &sp0; + UnkStruct_027e0ce0_40_108_10* ptr = &sp0; ptr->mUnk_00 = sp6; ptr->mUnk_04 = param3; - UnkStruct_027e0ce0_40_108_10 *temp_r3 = this->mUnk_40; + UnkStruct_027e0ce0_40_108_10* temp_r3 = this->mUnk_40; if (temp_r3 != NULL) { temp_r3->mUnk_00 = ptr->mUnk_00; temp_r3->mUnk_04 = ptr->mUnk_04; @@ -131,7 +131,7 @@ void UnkStruct_ItemManager_20::func_ov102_02182fa8(bool param1, bool param2) { this->mUnk_14.func_ov031_020db7f4(); } -void UnkStruct_ItemManager_20::func_ov102_02182ffc(void *param1) { +void UnkStruct_ItemManager_20::func_ov102_02182ffc(void* param1) { if (!data_027e09b8->func_01ffd420()) { this->mUnk_04->func_ov031_020db528(param1); } @@ -139,10 +139,10 @@ void UnkStruct_ItemManager_20::func_ov102_02182ffc(void *param1) { this->mUnk_0C->func_ov031_020dba3c(param1); } -void UnkStruct_027e0ce0_40::func_ov102_0218303c(bool param1, ItemManager *pItemMgr) { +void UnkStruct_027e0ce0_40::func_ov102_0218303c(bool param1, ItemManager* pItemMgr) { bool temp_r2; bool var_r1; - UnkStruct_027e0ce0_40_150 *temp_r1; + UnkStruct_027e0ce0_40_150* temp_r1; temp_r2 = this->func_ov017_020bcde8(param1); @@ -161,7 +161,7 @@ void UnkStruct_027e0ce0_40::func_ov102_0218303c(bool param1, ItemManager *pItemM if (this->mpZelda != NULL) { this->mpZelda->func_ov093_0216d5b8(param1); - PlayerZeldaActor *ptr = this->mpZelda; + PlayerZeldaActor* ptr = this->mpZelda; if (ptr->mUnk_CC.mUnk_00) { this->func_ov093_02168220(); this->mPlayer.func_ov093_0216ce24(&ptr->mUnk_CC.mPosLink); @@ -199,7 +199,7 @@ void UnkStruct_027e0ce0_40::func_ov102_02183180(unk32 param1, bool param2) { } } -void UnkStruct_027e0ce0_40::func_ov102_021831b4(void *param1) { +void UnkStruct_027e0ce0_40::func_ov102_021831b4(void* param1) { this->mUnk_07C.func_ov017_020be434(); this->mPlayer.func_ov017_020bdd84(param1, 0); @@ -208,9 +208,9 @@ void UnkStruct_027e0ce0_40::func_ov102_021831b4(void *param1) { } } -void UnkStruct_027e0ce0_40::func_ov102_021831f0(void *param1) { +void UnkStruct_027e0ce0_40::func_ov102_021831f0(void* param1) { //! TODO: determine param1's type - this->mPlayer.func_ov017_020bdf48((s8 *) param1, 1, 0, 0); + this->mPlayer.func_ov017_020bdf48((s8*) param1, 1, 0, 0); if (this->mpZelda != NULL) { this->mpZelda->func_ov093_0216e1a4(param1); @@ -222,7 +222,7 @@ void UnkStruct_027e0ce0_40::func_ov102_021831f0(void *param1) { } // https://decomp.me/scratch/d1Vky -void UnkStruct_027e0ce0_40_Base_74::func_ov102_0218323c(UnkStruct_027e0ce0_40_Base_14 *param1, BOOL param2) { +void UnkStruct_027e0ce0_40_Base_74::func_ov102_0218323c(UnkStruct_027e0ce0_40_Base_14* param1, BOOL param2) { s16 temp_r11; s16 var_r3; s32 temp_r10; @@ -239,7 +239,7 @@ void UnkStruct_027e0ce0_40_Base_74::func_ov102_0218323c(UnkStruct_027e0ce0_40_Ba s32 temp_r8_2; s16 temp_r8; u32 var_r9; - Vec2s *ptr; + Vec2s* ptr; s16 y; s16 x; @@ -326,13 +326,13 @@ void UnkStruct_027e0ce0_40_Base_74::func_ov102_0218323c(UnkStruct_027e0ce0_40_Ba this->mUnk_58 = var_r7; } -static inline bool UnknownInline2(PlayerLinkActor_A0_1C *param2, VecFx32 *param4, UnkAngleStruct *param5) { +static inline bool UnknownInline2(PlayerLinkActor_A0_1C* param2, VecFx32* param4, UnkAngleStruct* param5) { if (param2->mUnk_0C != 0) { - Actor *temp_r0_2 = gpActorManager->func_01fff3b4(param2->mUnk_0C); + Actor* temp_r0_2 = gpActorManager->func_01fff3b4(param2->mUnk_0C); if (temp_r0_2 != NULL && temp_r0_2->GetActorId() == ActorId_IWTS) { s16 sp0; - func_ov000_0205d65c(&sp0, param4, &((ActorUnkIWTS *) temp_r0_2)->mUnk_22F8, *param5); + func_ov000_0205d65c(&sp0, param4, &((ActorUnkIWTS*) temp_r0_2)->mUnk_22F8, *param5); param5->angle_u = sp0; return true; } @@ -341,7 +341,7 @@ static inline bool UnknownInline2(PlayerLinkActor_A0_1C *param2, VecFx32 *param4 return false; } -void func_ov102_02183414(s16 *param1, PlayerLinkActor_A0_1C *param2, bool param3, VecFx32 *param4, UnkAngleStruct param5, +void func_ov102_02183414(s16* param1, PlayerLinkActor_A0_1C* param2, bool param3, VecFx32* param4, UnkAngleStruct param5, s32 param6) { s16 sp6; s16 sp4; @@ -353,7 +353,7 @@ void func_ov102_02183414(s16 *param1, PlayerLinkActor_A0_1C *param2, bool param3 if (param2->mUnk_00->Unk78HasValue()) { if (!UnknownInline2(param2, param4, ¶m5)) { - UnkStruct_027e0ce0_40 *ptr = param2->mUnk_00; + UnkStruct_027e0ce0_40* ptr = param2->mUnk_00; var_r5 = true; //! TODO: UnkCheck1() don't work diff --git a/src/105_PlayerWhip/Actor/ActorUnkITWP.cpp b/src/105_PlayerWhip/Actor/ActorUnkITWP.cpp index a5dc84a52..36b945e9c 100644 --- a/src/105_PlayerWhip/Actor/ActorUnkITWP.cpp +++ b/src/105_PlayerWhip/Actor/ActorUnkITWP.cpp @@ -5,7 +5,7 @@ DECL_PROFILE(ActorProfileUnkITWP); -Actor *ActorProfileUnkITWP::Create() { +Actor* ActorProfileUnkITWP::Create() { return new(HeapIndex_2) ActorUnkITWP(); } diff --git a/src/110_PlayerGet/PlayerGet.cpp b/src/110_PlayerGet/PlayerGet.cpp index 0733b413e..753b0ca5b 100644 --- a/src/110_PlayerGet/PlayerGet.cpp +++ b/src/110_PlayerGet/PlayerGet.cpp @@ -35,8 +35,8 @@ struct UnkStruct_02186240 { }; UnkStruct_02186240 data_ov110_02186240; -extern const char *data_ov000_020aa240; // .nsbtx -extern const char *data_ov000_020aa248; // .nsbmd +extern const char* data_ov000_020aa240; // .nsbtx +extern const char* data_ov000_020aa248; // .nsbmd static const unk32 data_ov110_02185dc4[1] = {8}; @@ -414,12 +414,12 @@ static const AdventureFlag sAdvFlagItemMap[] = { }; void UnkStruct_PlayerGet_74::vfunc_00(unk32 param1, unk32 param2) { - PlayerGet *unk_14 = (PlayerGet *) this->mUnk_14; + PlayerGet* unk_14 = (PlayerGet*) this->mUnk_14; unk_14->mUnk_8C.func_01ffc5a0(unk_14->mUnk_6C, unk_14->mAngle, &this->mUnk_04); } -PlayerGet::PlayerGet(PlayerLinkActor_A0_84 *param1) : +PlayerGet::PlayerGet(PlayerLinkActor_A0_84* param1) : LinkStateBase(param1), mUnk_54(0, 0, -1, ItemId_None), mUnk_64(mUnk_44, -1), @@ -433,17 +433,17 @@ PlayerGet::PlayerGet(PlayerLinkActor_A0_84 *param1) : PlayerGet::~PlayerGet() { func_ov000_0205ca74(this->mUnk_54.mUnk_08); - UnkStruct_027e0cec *pData_027e0cec = data_027e0cec; + UnkStruct_027e0cec* pData_027e0cec = data_027e0cec; if (pData_027e0cec != NULL) { - UnkStruct_PlayerGet_ec *pUnk_ec = &this->mUnk_EC[0]; + UnkStruct_PlayerGet_ec* pUnk_ec = &this->mUnk_EC[0]; - while (pUnk_ec != (UnkStruct_PlayerGet_ec *) &this->mUnk_FC) { + while (pUnk_ec != (UnkStruct_PlayerGet_ec*) &this->mUnk_FC) { pData_027e0cec->func_ov000_020a0110(&pUnk_ec->mUnk_00); pUnk_ec++; } } - PlayerActorBase *pUnk_28_98 = this->mpLink->mpZelda; + PlayerActorBase* pUnk_28_98 = this->mpLink->mpZelda; if (pUnk_28_98 != NULL) { pUnk_28_98->mUnk_38.mUnk_00.mUnk_08 &= ~0x10; @@ -476,12 +476,12 @@ bool PlayerGet::func_ov110_02186b8c() { #endif // https://decomp.me/scratch/ZAW2N -void PlayerGet::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { +void PlayerGet::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1) { ItemId itemId; - ItemManager *pItemManager; - Actor *pActor; - VecFx32 *pUnk_38; - VecFx32 *pUnk_3c; + ItemManager* pItemManager; + Actor* pActor; + VecFx32* pUnk_38; + VecFx32* pUnk_3c; s32 auStack_108; STACK_PAD(4); @@ -573,24 +573,24 @@ void PlayerGet::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { func_02015ea8(niVar10, idStr); idStr[4] = '\0'; - strncpy((char *) pathBuffer, "Player/get/", 0x39); - size_t l = strlen((char *) pathBuffer); - strncpy((char *) pathBuffer + l, (char *) idStr, 0x39 - l); + strncpy((char*) pathBuffer, "Player/get/", 0x39); + size_t l = strlen((char*) pathBuffer); + strncpy((char*) pathBuffer + l, (char*) idStr, 0x39 - l); pathBuffer[31] = '\0'; - strncpy(modelPath, (char *) pathBuffer, 0x3F); + strncpy(modelPath, (char*) pathBuffer, 0x3F); l = strlen(modelPath); strncpy(modelPath + l, data_ov000_020aa248, 0x3F - l); UnkFileSystem4 fs4(modelPath, 0, (unk32) &data_ov110_02186240, sizeof(UnkStruct_02186240)); fs4.vfunc_08(0x10); - strncpy(modelPath, (char *) pathBuffer, 0x3F); + strncpy(modelPath, (char*) pathBuffer, 0x3F); l = strlen(modelPath); strncpy(modelPath + l, data_ov000_020aa240, 0x3F - l); UnkFileSystem2 fs2(modelPath, 0); - BMDSectionModel *res = func_ov000_0205abcc((void *) &fs4, (void *) &fs2, 0, 1, this->mUnk_30->mUnk_24); + BMDSectionModel* res = func_ov000_0205abcc((void*) &fs4, (void*) &fs2, 0, 1, this->mUnk_30->mUnk_24); this->mUnk_8C.vfunc_08(NNS_G3dGetMdl(res)); } @@ -607,10 +607,10 @@ void PlayerGet::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { } } - UnkStruct_027e09bc_0C *uVar11 = data_027e09bc->mUnk_04[1][0]; + UnkStruct_027e09bc_0C* uVar11 = data_027e09bc->mUnk_04[1][0]; uVar11->func_ov000_0207834c(this->mUnk_34, func_ov000_02077590(4), 0); - PlayerActorBase_70 *pUnk_48 = this->mUnk_48; + PlayerActorBase_70* pUnk_48 = this->mUnk_48; pUnk_48->mUnk_030.mUnk_12 = 0x1000; pUnk_48->mUnk_030.mUnk_17 = 0; pUnk_48->mUnk_04C.mUnk_12 = 0x1000; @@ -627,10 +627,10 @@ void PlayerGet::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { } if (!var_r1_4) { - PlayerActorBase *temp_r0_11 = this->mpLink->mpZelda; + PlayerActorBase* temp_r0_11 = this->mpLink->mpZelda; if (temp_r0_11 != NULL) { - UnkStruct_PlayerGet_64 *temp_r0_12 = &temp_r0_11->mUnk_38.mUnk_00; + UnkStruct_PlayerGet_64* temp_r0_12 = &temp_r0_11->mUnk_38.mUnk_00; temp_r0_12->mUnk_08 |= 0x10; temp_r0_12->func_ov000_0208a100(); } @@ -689,7 +689,7 @@ void PlayerGet::vfunc_10(LinkState state, unk32 param2) { s32 var_r0_2; bool var_r1_2; u32 var_r5_2; - ActorUnkNSHD *temp_r0_3; + ActorUnkNSHD* temp_r0_3; switch (state) { case LinkState_PlayerGetInit: @@ -814,7 +814,7 @@ void PlayerGet::vfunc_10(LinkState state, unk32 param2) { this->mUnk_30->func_ov000_020936ec(); if (this->mUnk_54.mUnk_04.common.type == ActorRefType_1) { - temp_r0_3 = (ActorUnkNSHD *) gpActorManager->func_01fff3b4(this->mUnk_54.mUnk_00); + temp_r0_3 = (ActorUnkNSHD*) gpActorManager->func_01fff3b4(this->mUnk_54.mUnk_00); if ((temp_r0_3 != NULL) && (temp_r0_3->GetActorId() == ActorId_NormalShield)) { if (this->func_ov110_02186b8c()) { @@ -855,7 +855,7 @@ void PlayerGet::vfunc_10(LinkState state, unk32 param2) { if (this->mUnk_54.mUnk_00.common.unk_00 == 0x1000) { MapObjRef ref = this->mUnk_54.mUnk_00.moRef; Vec2bCpp stack = ref.GetUnk02(); - MapObject *pMapObj = gpMapObjManager->func_01fff498(stack); + MapObject* pMapObj = gpMapObjManager->func_01fff498(stack); if (pMapObj != NULL) { var_r5_2 = MapObjectId_None; @@ -873,10 +873,10 @@ void PlayerGet::vfunc_10(LinkState state, unk32 param2) { if (var_r5_2 != MapObjectId_None) { data_ov000_020b34c4.mUnk_04 = var_r5_2; - MapObjectChestBase **temp_r0_6 = (MapObjectChestBase **) gpMapObjManager->func_01fff520( + MapObjectChestBase** temp_r0_6 = (MapObjectChestBase**) gpMapObjManager->func_01fff520( &data_ov000_020b34c4, gpMapObjManager->mMapObjTable); - if ((MapObject **) temp_r0_6 == gpMapObjManager->mUnk_08) { + if ((MapObject**) temp_r0_6 == gpMapObjManager->mUnk_08) { (*temp_r0_6)->func_ov031_02103878(); } } @@ -963,7 +963,7 @@ void PlayerGet::vfunc_18(unk32 param1, LinkState state, unk32 param3) { break; case LinkState_PlayerGetShowItem: if (param3 != 0 && this->mUnk_54.mItemId != ItemId_Nothing && this->mUnk_8C.mpModel != NULL) { - VEC_Add(this->mUnk_34, (VecFx32 *) &data_ov110_021861ec.mUnk_00, &auStack_18); + VEC_Add(this->mUnk_34, (VecFx32*) &data_ov110_021861ec.mUnk_00, &auStack_18); data_027e0958->func_ov000_02058fc4(&this->mUnk_74, &auStack_18); } break; diff --git a/src/112_PlayerSceneChange/PlayerSceneChange.cpp b/src/112_PlayerSceneChange/PlayerSceneChange.cpp index e48f0db73..b04e48c58 100644 --- a/src/112_PlayerSceneChange/PlayerSceneChange.cpp +++ b/src/112_PlayerSceneChange/PlayerSceneChange.cpp @@ -14,7 +14,7 @@ #define SIN2(table, n) ((table)[2 * ((n) >> 4)]) #define COS2(table, n) ((table)[2 * ((n) >> 4) + 1]) -PlayerSceneChange::PlayerSceneChange(PlayerLinkActor_A0_84 *param1) : +PlayerSceneChange::PlayerSceneChange(PlayerLinkActor_A0_84* param1) : LinkStateBase(param1), mUnk_54(false) { this->mEntryTransitionType = this->mUnk_2C->mEntryTransitionType; @@ -39,20 +39,20 @@ PlayerSceneChange::PlayerSceneChange(PlayerLinkActor_A0_84 *param1) : #endif this->mUnk_90.Reset(); - *((u32 *) this->mUnk_94) = 0; - this->mUnk_98 = -1; - this->mUnk_9C.x = 0; - this->mUnk_9C.y = 0; - this->mUnk_9C.z = 0; - this->mUnk_A8 = 0x8000; - this->mUnk_AA = 0x8000; - this->mUnk_AC = false; - this->mUnk_AD = false; - this->mUnk_AE = 0x8000; + *((u32*) this->mUnk_94) = 0; + this->mUnk_98 = -1; + this->mUnk_9C.x = 0; + this->mUnk_9C.y = 0; + this->mUnk_9C.z = 0; + this->mUnk_A8 = 0x8000; + this->mUnk_AA = 0x8000; + this->mUnk_AC = false; + this->mUnk_AD = false; + this->mUnk_AE = 0x8000; } PlayerSceneChange::~PlayerSceneChange() { - PlayerLinkActor *pUnk_28 = this->mpLink; + PlayerLinkActor* pUnk_28 = this->mpLink; pUnk_28->mUnk_38.mUnk_00.mUnk_08 &= 0xFFFD; if (pUnk_28->mUnk_38.mUnk_00.mUnk_08 == 0) { @@ -64,7 +64,7 @@ PlayerSceneChange::~PlayerSceneChange() { s16 PlayerSceneChange::func_ov112_02184bbc(s16 param1) { if (this->mUnk_90.common.type == ActorRefType_1) { - Actor *pActor = gpActorManager->func_01fff3b4(this->mUnk_90); + Actor* pActor = gpActorManager->func_01fff3b4(this->mUnk_90); if (pActor != NULL) { return pActor->mAngle.angle_s; @@ -83,8 +83,8 @@ extern fx16 data_0203f964[]; extern fx16 data_0203feb0[]; // https://decomp.me/scratch/c7PhN -void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { - const fx16 *pSinCosTable = FX_SinCosTable_; +void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1) { + const fx16* pSinCosTable = FX_SinCosTable_; Vec2bCpp stack4; s16 stack3; Vec2bCpp stack2; @@ -92,8 +92,7 @@ void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *para switch (param1->state) { case LinkState_60: { - int iVar19 = - gpCourseManager->mpMapMgr->func_ov000_02080658((this->mUnk_2C->mUnk_148 >> 16) & 0x3F, &this->mUnk_54); + int iVar19 = gpCourseManager->mpMapMgr->func_ov000_02080658((this->mUnk_2C->mUnk_148 >> 16) & 0x3F, &this->mUnk_54); if (iVar19 != 0 && this->mpLink->mUnk_094 != NULL && this->mpLink->mUnk_094->func_ov096_02179c14()) { this->mUnk_54.unk_10 = 1; } @@ -127,7 +126,7 @@ void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *para break; } - VecFx32 *temp_r8 = this->mUnk_34; + VecFx32* temp_r8 = this->mUnk_34; this->mUnk_70.x = temp_r8->x; this->mUnk_70.y = temp_r8->y; this->mUnk_70.z = temp_r8->z; @@ -156,16 +155,16 @@ void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *para default: if (this->mUnk_2C->mUnk_150.moRef.unk_00_u16 == 0x1000) { Vec2bCpp pos = this->mUnk_2C->mUnk_150.moRef.GetUnk02(); - MapObjectUnkDRTY *pDRTY = (MapObjectUnkDRTY *) gpMapObjManager->func_01fff498(pos); + MapObjectUnkDRTY* pDRTY = (MapObjectUnkDRTY*) gpMapObjManager->func_01fff498(pos); if (pDRTY != NULL) { - pDRTY->func_ov000_0209d6ac((VecFx32 *) &this->mUnk_70); + pDRTY->func_ov000_0209d6ac((VecFx32*) &this->mUnk_70); if (this->mEntryTransitionType == EntryTransitionType_25) { pDRTY->func_ov034_02121d84(); this->mUnk_8C = pDRTY->mRef.Get32(); } else if (pDRTY->GetMapObjectId() == MapObjectId_DRTY) { - *(u32 *) this->mUnk_94 = pDRTY->mRef.Get32(); + *(u32*) this->mUnk_94 = pDRTY->mRef.Get32(); switch (pDRTY->mUnk_CC) { case 1: @@ -182,8 +181,8 @@ void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *para } } else { if (this->mUnk_2C->mUnk_150.common.type == ActorRefType_1) { - Actor_Derived1 *temp_r0_6 = - (Actor_Derived1 *) gpActorManager->func_01fff3b4(this->mUnk_2C->mUnk_150); + Actor_Derived1* temp_r0_6 = + (Actor_Derived1*) gpActorManager->func_01fff3b4(this->mUnk_2C->mUnk_150); if (temp_r0_6 != NULL) { this->mUnk_70.x = temp_r0_6->mPos.x; @@ -201,7 +200,7 @@ void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *para break; } - func_ov000_0205d65c(&stack3, this->mUnk_34, (VecFx32 *) &this->mUnk_70, this->mUnk_40->angle_u); + func_ov000_0205d65c(&stack3, this->mUnk_34, (VecFx32*) &this->mUnk_70, this->mUnk_40->angle_u); this->mUnk_40->angle_u = stack3; switch (this->mEntryTransitionType) { @@ -221,7 +220,7 @@ void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *para VecFx32 sp78; unk16 temp_r8_2 = this->mUnk_A8 - 0x8000; - VEC_Subtract(this->mUnk_34, (VecFx32 *) &this->mUnk_70, &sp78); + VEC_Subtract(this->mUnk_34, (VecFx32*) &this->mUnk_70, &sp78); func_01ff9638(&sp78, -temp_r8_2); this->mUnk_9C.x = -sp78.x; this->mUnk_9C.y = 0; @@ -270,13 +269,13 @@ void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *para } if (this->mpLink->mpZelda != NULL) { - this->mpLink->mpZelda->func_ov093_0216f76c((VecFx32 *) &this->mUnk_70, this->mEntryTransitionType); + this->mpLink->mpZelda->func_ov093_0216f76c((VecFx32*) &this->mUnk_70, this->mEntryTransitionType); } break; } case LinkState_61: { - VecFx32 *pVec = this->mUnk_38; + VecFx32* pVec = this->mUnk_38; pVec->x = 0; pVec->y = 0; pVec->z = 0; @@ -296,7 +295,7 @@ void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *para stack4.y = this->mUnk_8C >> 16; stack4.x = 0; - MapObject *target = gpMapObjManager->func_01fff498(stack4); + MapObject* target = gpMapObjManager->func_01fff498(stack4); if (target != NULL && target->GetMapObjectId() == MapObjectId_WPHL) { func_ov034_02121de4(target); } @@ -330,7 +329,7 @@ void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *para if ((this->mUnk_24->mUnk_104 & 0x10) || this->mpLink->mUnk_54->GetTearsAmount() == MAX_TEARS_OF_LIGHT) { UnkStruct_ov000_020b3000 local_9c(ActorId_RPMT); - Actor **ppAVar12 = gpActorManager->func_01fff350(&local_9c, gpActorManager->mActorTable); + Actor** ppAVar12 = gpActorManager->func_01fff350(&local_9c, gpActorManager->mActorTable); if (ppAVar12 == gpActorManager->mUnk_08) { func_ov000_02072fd0(&stack); @@ -344,7 +343,7 @@ void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *para this->mUnk_6C = -1; - VecFx32 *pVec = this->mUnk_34; + VecFx32* pVec = this->mUnk_34; this->mUnk_70.x = pVec->x; this->mUnk_70.y = pVec->y; this->mUnk_70.z = pVec->z; @@ -418,7 +417,7 @@ void PlayerSceneChange::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *para case EntryTransitionType_30: case EntryTransitionType_31: default: - MapManagerBase *ptr = gpCourseManager->mpMapMgr; + MapManagerBase* ptr = gpCourseManager->mpMapMgr; switch (this->mEntryTransitionType) { case EntryTransitionType_15: @@ -466,11 +465,11 @@ void PlayerSceneChange::vfunc_10(LinkState state, unk32 param2) { switch (state) { case LinkState_60: if (this->mEntryTransitionType == EntryTransitionType_25) { - if (this->func_ov000_020914b0(0x3C, (VecFx32 *) &this->mUnk_70, this->mUnk_7C)) { + if (this->func_ov000_020914b0(0x3C, (VecFx32*) &this->mUnk_70, this->mUnk_7C)) { this->mUnk_30->func_ov000_020921e4(LinkState_61); } - VecFx32 *temp_r1 = this->mUnk_34; + VecFx32* temp_r1 = this->mUnk_34; this->mUnk_80.x = temp_r1->x; this->mUnk_80.y = temp_r1->y; this->mUnk_80.z = temp_r1->z; @@ -493,7 +492,7 @@ void PlayerSceneChange::vfunc_10(LinkState state, unk32 param2) { break; } - if (this->func_ov000_020914b0(0x3C, (VecFx32 *) &this->mUnk_70, this->mUnk_7C)) { + if (this->func_ov000_020914b0(0x3C, (VecFx32*) &this->mUnk_70, this->mUnk_7C)) { s16 var_r1_2 = this->mUnk_40->angle_u; bool var_r3 = true; @@ -587,7 +586,7 @@ void PlayerSceneChange::vfunc_10(LinkState state, unk32 param2) { if (!this->mUnk_AC) { func_01ff930c(&this->mUnk_40->angle_s, this->mUnk_AA, 0x200); - VecFx32 *temp_r2_4 = this->mUnk_34; + VecFx32* temp_r2_4 = this->mUnk_34; this->mUnk_70.x = temp_r2_4->x; this->mUnk_70.y = temp_r2_4->y; this->mUnk_70.z = temp_r2_4->z; @@ -633,7 +632,7 @@ void PlayerSceneChange::vfunc_10(LinkState state, unk32 param2) { break; case LinkState_61: { func_01ff930c(&this->mUnk_40->angle_s, 0, 0xE39); - VecFx32 *temp_r2_8 = this->mUnk_34; + VecFx32* temp_r2_8 = this->mUnk_34; this->mUnk_80.x = temp_r2_8->x; this->mUnk_80.y = temp_r2_8->y; @@ -679,16 +678,16 @@ void PlayerSceneChange::vfunc_10(LinkState state, unk32 param2) { break; } - bool temp_r5_2 = this->func_ov000_020914b0(0x3F, (VecFx32 *) &this->mUnk_70, this->mUnk_7C); + bool temp_r5_2 = this->func_ov000_020914b0(0x3F, (VecFx32*) &this->mUnk_70, this->mUnk_7C); switch (this->mEntryTransitionType) { case EntryTransitionType_15: case EntryTransitionType_17: case EntryTransitionType_19: case EntryTransitionType_36: { - MapManagerBase *temp_r0_13 = gpCourseManager->mpMapMgr; + MapManagerBase* temp_r0_13 = gpCourseManager->mpMapMgr; fx32 temp_r0_14 = temp_r0_13->vfunc_28(this->mUnk_34, 0, 0); - VecFx32 *temp_r2_9 = this->mUnk_34; + VecFx32* temp_r2_9 = this->mUnk_34; if (temp_r2_9->y < temp_r0_14) { temp_r2_9->y = temp_r0_14; @@ -701,7 +700,7 @@ void PlayerSceneChange::vfunc_10(LinkState state, unk32 param2) { } if (this->mUnk_AD) { - UnkStruct_027e0ce0_40 *temp_r1_6 = this->mUnk_24; + UnkStruct_027e0ce0_40* temp_r1_6 = this->mUnk_24; temp_r1_6->mUnk_104 &= 0xFFFB; temp_r1_6->mUnk_094.mUnk_6A = 3; this->mUnk_30->func_ov000_020921e4(LinkState_Walk); @@ -727,7 +726,7 @@ void PlayerSceneChange::vfunc_10(LinkState state, unk32 param2) { } } -bool PlayerSceneChange::vfunc_1C(VecFx32 *param1) { +bool PlayerSceneChange::vfunc_1C(VecFx32* param1) { if (!data_027e0cdc->func_ov000_02082a28(1)) { switch (this->mUnk_30->mState) { case LinkState_60: diff --git a/src/112_PlayerSceneChange/PlayerSceneChange2.cpp b/src/112_PlayerSceneChange/PlayerSceneChange2.cpp index 2502bb1da..c98b6c468 100644 --- a/src/112_PlayerSceneChange/PlayerSceneChange2.cpp +++ b/src/112_PlayerSceneChange/PlayerSceneChange2.cpp @@ -2,18 +2,18 @@ #include "Player/PlayerSceneChange.hpp" #include "Unknown/UnkStruct_027e0ce0.hpp" -PlayerSceneChange2::PlayerSceneChange2(PlayerLinkActor_A0_84 *param1) : +PlayerSceneChange2::PlayerSceneChange2(PlayerLinkActor_A0_84* param1) : LinkStateBase(param1) { this->mUnk_54 = *this->mUnk_34; this->mUnk_60 = *this->mUnk_34; } // non-matching -void PlayerSceneChange2::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *param1) { +void PlayerSceneChange2::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1* param1) { s16 auStack_18[12]; s16 auStack_2c; - VecFx32 *pVVar1 = this->mUnk_38; + VecFx32* pVVar1 = this->mUnk_38; pVVar1->x = 0; pVVar1->y = 0; pVVar1->z = 0; @@ -51,19 +51,18 @@ void PlayerSceneChange2::vfunc_0C(const UnkStruct_PlayerGet_vfunc_0C_param1 *par this->mUnk_54.z = this->mUnk_34->z; this->mUnk_60 = param1->params.type2.unk_00; - func_ov000_0205d65c(&auStack_2c, &this->mUnk_60, (VecFx32 *) &this->mUnk_54, this->mUnk_40->angle_u); + func_ov000_0205d65c(&auStack_2c, &this->mUnk_60, (VecFx32*) &this->mUnk_54, this->mUnk_40->angle_u); this->mUnk_40->angle_u = auStack_2c; this->mpLink->func_ov000_0208cac8(&this->mUnk_60, 0); - this->mUnk_48->func_ov000_020830a4(0x00, this->mpLink->mCharacter, 0x01, 0x01, - this->mpLink->func_ov000_0208dc98()); + this->mUnk_48->func_ov000_020830a4(0x00, this->mpLink->mCharacter, 0x01, 0x01, this->mpLink->func_ov000_0208dc98()); this->mUnk_48->func_ov000_020830d4(*this->mUnk_40, this->mUnk_30->func_ov000_02093718(), this->mUnk_30->func_ov000_0209378c(), NULL); break; case LinkState_68: this->mpLink->func_ov000_0208cac8(&this->mUnk_60, 0); - func_ov000_0205d65c(&auStack_2c, this->mUnk_34, (VecFx32 *) &this->mUnk_54, this->mUnk_40->angle_u); + func_ov000_0205d65c(&auStack_2c, this->mUnk_34, (VecFx32*) &this->mUnk_54, this->mUnk_40->angle_u); this->mUnk_40->angle_u = auStack_2c; this->mUnk_2C->mUnk_26 = 0; diff --git a/src/ITCM/ITCM_ActorManager.cpp b/src/ITCM/ITCM_ActorManager.cpp index 3620bb6e0..649b7e1a6 100644 --- a/src/ITCM/ITCM_ActorManager.cpp +++ b/src/ITCM/ITCM_ActorManager.cpp @@ -1,9 +1,9 @@ #include "Actor/ActorManager.hpp" -Actor *ActorManager::func_01fff3b4(RefStruct ref) { +Actor* ActorManager::func_01fff3b4(RefStruct ref) { if (ref.common.type == 1) { int size = this->mActorTableEnd - this->mActorTable; - Actor *pActor; + Actor* pActor; if (size != 0 && (pActor = this->mActorTable[ref.common.index]) != NULL) { if (pActor->IsAlive() && pActor->mRef == ref) { diff --git a/src/ITCM/ITCM_MapObjectManager.cpp b/src/ITCM/ITCM_MapObjectManager.cpp index 460b04ddc..f2cb9fd2f 100644 --- a/src/ITCM/ITCM_MapObjectManager.cpp +++ b/src/ITCM/ITCM_MapObjectManager.cpp @@ -2,7 +2,7 @@ #include "MapObject/MapObject.hpp" #include "MapObject/MapObjectManager.hpp" -MapObject *MapObjectManager::func_01fff498(Vec2bCpp param1) { +MapObject* MapObjectManager::func_01fff498(Vec2bCpp param1) { if (this->mUnk_0C[param1.y][param1.x] < 0) { return NULL; } @@ -10,8 +10,8 @@ MapObject *MapObjectManager::func_01fff498(Vec2bCpp param1) { return this->mMapObjTable[this->mUnk_0C[param1.y][param1.x]]; } -void MapObjectManager::func_01fff4cc(UnkCallback_func_01fff4cc param1, void *param2) { - MapObject **ptr = this->mMapObjTable; +void MapObjectManager::func_01fff4cc(UnkCallback_func_01fff4cc param1, void* param2) { + MapObject** ptr = this->mMapObjTable; while (ptr != this->mUnk_08) { if (*ptr != NULL && GET_FLAG((*ptr)->mFlags, MapObjFlag_Alive)) { @@ -22,11 +22,11 @@ void MapObjectManager::func_01fff4cc(UnkCallback_func_01fff4cc param1, void *par } } -MapObject **MapObjectManager::func_01fff520(UnkStruct_ov000_020b34c4 *param1, MapObject **param2) { - MapObject **ptr = param2; +MapObject** MapObjectManager::func_01fff520(UnkStruct_ov000_020b34c4* param1, MapObject** param2) { + MapObject** ptr = param2; while (ptr != this->mUnk_08) { - MapObject *ptr2 = *ptr; + MapObject* ptr2 = *ptr; if (ptr2 != NULL && GET_FLAG((ptr2)->mFlags, MapObjFlag_Alive)) { if (param1->vfunc_00(ptr2)) { break; diff --git a/src/Main/Game/Game.cpp b/src/Main/Game/Game.cpp index 4b3f9c945..19a4c7b66 100644 --- a/src/Main/Game/Game.cpp +++ b/src/Main/Game/Game.cpp @@ -32,7 +32,7 @@ void Game::Run() { { UnkDataStruct2 local_28(sizeof(GameSaveSlot)); - this->mpSaveSlot = (GameSaveSlot *) local_28.unk_00; + this->mpSaveSlot = (GameSaveSlot*) local_28.unk_00; if (this->mpCurrentGameMode != NULL) { delete this->mpCurrentGameMode; @@ -133,7 +133,7 @@ void Game::Run() { { int enabled = OS_DisableInterrupts(); - this->mUnk_1C.func_02013e18((void *) func_020132dc, 0); + this->mUnk_1C.func_02013e18((void*) func_020132dc, 0); G3_SwapBuffers(GX_SORTMODE_MANUAL, GX_BUFFERMODE_1); OS_RestoreInterrupts(enabled); } @@ -142,7 +142,7 @@ void Game::Run() { if (this->mUnk_18 != NULL) { while (this->mUnk_18() != 0) { - while (this->mUnk_1C.func_02013e18((void *) func_02013354, 0) == 0) { + while (this->mUnk_1C.func_02013e18((void*) func_02013354, 0) == 0) { } func_020132c8(); diff --git a/src/Main/Game/GameModeManagerBase.cpp b/src/Main/Game/GameModeManagerBase.cpp index 16cd77c8b..02dc6c671 100644 --- a/src/Main/Game/GameModeManagerBase.cpp +++ b/src/Main/Game/GameModeManagerBase.cpp @@ -8,11 +8,11 @@ THUMB_BEGIN -GameModeManagerBase *GameModeManagerBase::Create(UnkStruct_0204a110_Sub2 *param1) { +GameModeManagerBase* GameModeManagerBase::Create(UnkStruct_0204a110_Sub2* param1) { return new(HeapIndex_1) GameModeManagerBase(param1); } -GameModeManagerBase::GameModeManagerBase(UnkStruct_0204a110_Sub2 *param1) : +GameModeManagerBase::GameModeManagerBase(UnkStruct_0204a110_Sub2* param1) : mUnk_100(param1), mNextButtonID(BTN_ID_NONE), mButtonID(BTN_ID_NONE), @@ -66,11 +66,11 @@ void GameModeManagerBase::vfunc_24() { this->mUnk_004.func_0201bf24(); } -void GameModeManagerBase::vfunc_28(unk8 *param1) { +void GameModeManagerBase::vfunc_28(unk8* param1) { this->mUnk_004.func_0201bf54(); } -void GameModeManagerBase::DrawUI(unk8 *param1) {} +void GameModeManagerBase::DrawUI(unk8* param1) {} void GameModeManagerBase::vfunc_30(unk32 param1) { for (GameModeManagerBase_104::Iterator it = GetBeginIter(this->mUnk_104); it != GetEndIter(this->mUnk_104); it++) { @@ -82,12 +82,12 @@ void GameModeManagerBase::vfunc_34(unk32 param1, unk32 param2) {} struct UnkStruct3 { unk32 mUnk_00; - unk32 *mUnk_04; + unk32* mUnk_04; }; //! TODO: fake match -void *GameModeManagerBase::func_020186f8(unk32 param1) { - return ((UnkStruct3 *) (((u32 *) this) + param1))->mUnk_04; +void* GameModeManagerBase::func_020186f8(unk32 param1) { + return ((UnkStruct3*) (((u32*) this) + param1))->mUnk_04; } void GameModeManagerBase::func_02018704(void) { @@ -117,7 +117,7 @@ void GameModeManagerBase::func_0201875c(void) { for (GameModeManagerBase_104::Iterator it1 = GetBeginIter(this->mUnk_104); it1 != GetEndIter(this->mUnk_104); it1++) { if (this->func_02018af0(it1.operator->()) && this->func_02018b54(it1.operator->())) { //! TODO: regalloc issues when using the iterator - for (GameModeManagerBase_104_0C *it2 = GetBeginIter(it1->mUnk_0C); it2 != GetEndIter(it1->mUnk_0C); + for (GameModeManagerBase_104_0C* it2 = GetBeginIter(it1->mUnk_0C); it2 != GetEndIter(it1->mUnk_0C); GetNextIter(it2)) { it2->vfunc_08(&local_30); } @@ -126,11 +126,11 @@ void GameModeManagerBase::func_0201875c(void) { } struct UnkStruct6 { - void *a; + void* a; unk32 b; }; -void GameModeManagerBase::func_02018830(unk8 *param1) { +void GameModeManagerBase::func_02018830(unk8* param1) { unk32 id = this->mNextButtonID; UnkStruct6 local_28; local_28.a = param1; @@ -139,9 +139,9 @@ void GameModeManagerBase::func_02018830(unk8 *param1) { for (GameModeManagerBase_104::Iterator it1 = GetBeginIterReverse(this->mUnk_104); it1 != GetEndIter(this->mUnk_104); it1--) { if (this->func_02018af0(it1.operator->()) && this->func_02018b54(it1.operator->()) && - this->func_02018b90(it1.operator->(), (unk8 *) param1)) { + this->func_02018b90(it1.operator->(), (unk8*) param1)) { //! TODO: regalloc issues when using the iterator - for (GameModeManagerBase_104_0C *it2 = GetBeginIterReverse(it1->mUnk_0C); it2 != GetEndIter(it1->mUnk_0C); + for (GameModeManagerBase_104_0C* it2 = GetBeginIterReverse(it1->mUnk_0C); it2 != GetEndIter(it1->mUnk_0C); GetPrevIter(it2)) { it2->vfunc_0C(&local_28); } @@ -157,7 +157,7 @@ void GameModeManagerBase::func_02018908() { } } -void GameModeManagerBase::func_02018984(unk8 *param1) { +void GameModeManagerBase::func_02018984(unk8* param1) { for (GameModeManagerBase_104::Iterator it = GetBeginIterReverse(this->mUnk_104); it != GetEndIter(this->mUnk_104); it--) { if (this->func_02018af0(it.operator->()) && this->func_02018b54(it.operator->()) && this->func_02018b90(it.operator->(), param1)) { @@ -166,7 +166,7 @@ void GameModeManagerBase::func_02018984(unk8 *param1) { } } -void GameModeManagerBase::func_02018a14(unk8 *param1) { +void GameModeManagerBase::func_02018a14(unk8* param1) { for (GameModeManagerBase_104::Iterator it = GetBeginIter(this->mUnk_104); it != GetEndIter(this->mUnk_104); it++) { if (this->func_02018af0(it.operator->()) && this->func_02018b54(it.operator->())) { it->vfunc_14(param1); @@ -194,7 +194,7 @@ bool GameModeManagerBase::func_02018ad4(void) { return !this->mUnk_0F4 && !this->mUnk_0F5; } -bool GameModeManagerBase::func_02018af0(GameModeManagerBase_104 *param1) { +bool GameModeManagerBase::func_02018af0(GameModeManagerBase_104* param1) { if (param1->mUnk_18) { return true; } @@ -210,7 +210,7 @@ bool GameModeManagerBase::func_02018af0(GameModeManagerBase_104 *param1) { return true; } -bool GameModeManagerBase::func_02018b54(GameModeManagerBase_104 *param1) { +bool GameModeManagerBase::func_02018b54(GameModeManagerBase_104* param1) { if (param1->mUnk_19) { return true; } @@ -222,7 +222,7 @@ bool GameModeManagerBase::func_02018b54(GameModeManagerBase_104 *param1) { return true; } -bool GameModeManagerBase::func_02018b90(GameModeManagerBase_104 *param1, unk8 *param2) { +bool GameModeManagerBase::func_02018b90(GameModeManagerBase_104* param1, unk8* param2) { if (param1->mUnk_1A) { return true; } diff --git a/src/Main/LinkList.cpp b/src/Main/LinkList.cpp index dccd51f7c..780d505ea 100644 --- a/src/Main/LinkList.cpp +++ b/src/Main/LinkList.cpp @@ -16,7 +16,7 @@ LinkListImpl::~LinkListImpl() { this->GetPrev()->SetNext(this->GetNext()); } -void LinkListImpl::Detach(LinkListNode *node) { +void LinkListImpl::Detach(LinkListNode* node) { // remove the links from `node` // A <- B <- C will become A <- C @@ -29,10 +29,10 @@ void LinkListImpl::Detach(LinkListNode *node) { node->SetPrev(node); } -void LinkListImpl::Append(LinkListNode *node) { +void LinkListImpl::Append(LinkListNode* node) { LinkListImpl::Detach(node); - LinkListNode *nextNode = this->GetNext(); + LinkListNode* nextNode = this->GetNext(); // current: A -> C and A <- C @@ -51,10 +51,10 @@ void LinkListImpl::Append(LinkListNode *node) { // updated: A -> B -> C and A <- B <- C } -void LinkListImpl::Prepend(LinkListNode *node) { +void LinkListImpl::Prepend(LinkListNode* node) { LinkListImpl::Detach(node); - LinkListNode *prevNode = this->GetPrev(); + LinkListNode* prevNode = this->GetPrev(); // current: A -> C and A <- C @@ -73,9 +73,9 @@ void LinkListImpl::Prepend(LinkListNode *node) { // updated: A -> B -> C and A <- B <- C } -void LinkListImpl::Extend(LinkListNode *node) { - LinkListNode *prevNode = this->GetPrev(); - LinkListNode *paramPrev = node->GetPrev(); +void LinkListImpl::Extend(LinkListNode* node) { + LinkListNode* prevNode = this->GetPrev(); + LinkListNode* paramPrev = node->GetPrev(); prevNode->SetNext(node); paramPrev->SetNext(this); @@ -93,7 +93,7 @@ s32 LinkListImpl::GetListLength() { return count; } -bool LinkListImpl::Contains(LinkListNode *node) { +bool LinkListImpl::Contains(LinkListNode* node) { // iterates through the list to try to find the node for (LinkListIterImpl it = this->GetBeginIterImpl(); it != this->GetEndIterImpl(); it++) { if (it == node) { diff --git a/src/Main/Main.cpp b/src/Main/Main.cpp index 057e68764..21b3efea8 100644 --- a/src/Main/Main.cpp +++ b/src/Main/Main.cpp @@ -11,9 +11,9 @@ void func_02011da0(void); void CallStaticInitializers(void); void init_cp15(void); -void *func_0200093c(unk32, u32 *, unk32); +void* func_0200093c(unk32, u32*, unk32); void func_020009fc(void); -void func_02000950(unk32 *); +void func_02000950(unk32*); void func_01ffbd70(void); void main(); @@ -23,20 +23,20 @@ struct UnkStruct_027e0000 { unk8 mUnk_00[0x3FFC]; UnkStruct_027e0000_Callback mUnk_3FFC; }; -extern UnkStruct_027e0000 *data_027e0000; +extern UnkStruct_027e0000* data_027e0000; -extern unk32 *data_0204cde0; -extern unk32 *data_0204cdf8; -extern unk32 *data_02044dc0; -extern unk32 *data_02044dc0; +extern unk32* data_0204cde0; +extern unk32* data_0204cdf8; +extern unk32* data_02044dc0; +extern unk32* data_02044dc0; struct RomBuildInfo { - /* 00 */ unk32 *mUnk_00; - /* 04 */ unk32 *mUnk_04; - /* 08 */ unk32 *mUnk_08; - /* 0C */ unk32 *mUnk_0C; - /* 10 */ unk32 *mUnk_10; - /* 14 */ unk32 *mUnk_14; + /* 00 */ unk32* mUnk_00; + /* 04 */ unk32* mUnk_04; + /* 08 */ unk32* mUnk_08; + /* 0C */ unk32* mUnk_0C; + /* 10 */ unk32* mUnk_10; + /* 14 */ unk32* mUnk_14; /* 18 */ unk32 mUnk_18; /* 1C */ unk32 mUnk_1C; /* 20 */ unk32 mUnk_20; @@ -47,10 +47,10 @@ extern RomBuildInfo BuildInfo; // non-matching extern "C" void Entry(void) { - unk32 *puVar1; - unk32 *puVar2; + unk32* puVar1; + unk32* puVar2; u32 uVar3; - unk32 *puVar4; + unk32* puVar4; REG_IME = 0x04000000; @@ -58,9 +58,9 @@ extern "C" void Entry(void) { } while (GX_GetVCount() != 0x0); init_cp15(); - func_0200093c(0, (u32 *) data_027e0000, 0x4000); - func_0200093c(0, (u32 *) HW_PLTT, 0x400); - func_0200093c(0x200, (u32 *) HW_OAM, 0x400); + func_0200093c(0, (u32*) data_027e0000, 0x4000); + func_0200093c(0, (u32*) HW_PLTT, 0x400); + func_0200093c(0x200, (u32*) HW_OAM, 0x400); func_02000950(BuildInfo.mUnk_14); func_020009fc(); puVar4 = BuildInfo.mUnk_10; @@ -90,8 +90,8 @@ extern "C" void Entry(void) { } // non-matching -void *func_0200093c(unk32 param1, uint *param2, unk32 param3) { - u32 *p = param2 + param3; +void* func_0200093c(unk32 param1, uint* param2, unk32 param3) { + u32* p = param2 + param3; while (param2 < p) { *p++ = param1; @@ -109,7 +109,7 @@ RomBuildInfo BuildInfo = { .mUnk_04 = data_0204cdf8, .mUnk_08 = data_02044dc0, .mUnk_0C = data_02044dc0, - .mUnk_10 = (unk32 *) 0x02051AE0, + .mUnk_10 = (unk32*) 0x02051AE0, .mUnk_14 = NULL, .mUnk_18 = 0x04027539, .mUnk_1C = 0x04027539, diff --git a/src/Main/Player/TouchControl.cpp b/src/Main/Player/TouchControl.cpp index 1e30525cc..06acc531f 100644 --- a/src/Main/Player/TouchControl.cpp +++ b/src/Main/Player/TouchControl.cpp @@ -5,7 +5,7 @@ #include // non-matching -void TouchControl::UpdateState(TouchState *state, const TPData *data) { +void TouchControl::UpdateState(TouchState* state, const TPData* data) { if (data->touch == 1) { if (data->validity == TP_VALIDITY_VALID) { state->touch = true; @@ -126,13 +126,13 @@ void TouchControl::UpdateFlags(u16 speed) { } } -void TouchControl::UpdateWithStateFlags(TPData *state, u16 speed) { +void TouchControl::UpdateWithStateFlags(TPData* state, u16 speed) { this->mPrevState = this->mState; this->UpdateState(&this->mState, state); this->UpdateFlags(speed); } -void TouchControl::Update(const TouchState *state, u16 speed) { +void TouchControl::Update(const TouchState* state, u16 speed) { this->mPrevState = this->mState; this->mState = *state; this->UpdateFlags(speed); @@ -151,7 +151,7 @@ void TouchControl::func_02014414(u16 speedIncrease, bool shouldIncrease) { } if (TouchControl::func_020143f0()) { - MI_CpuFill16(0, (u16 *) &data, sizeof(TPData)); + MI_CpuFill16(0, (u16*) &data, sizeof(TPData)); } else { TP_GetData(&data); } @@ -159,7 +159,7 @@ void TouchControl::func_02014414(u16 speedIncrease, bool shouldIncrease) { this->UpdateWithStateFlags(&data, speedIncrease); } -void TouchControl::func_02014478(TouchState *state, u16 speed) { +void TouchControl::func_02014478(TouchState* state, u16 speed) { TouchControl::func_020143f0(); this->Update(state, speed); } diff --git a/src/Main/System/OverlayManager.cpp b/src/Main/System/OverlayManager.cpp index 288ccd20b..15d37ecfd 100644 --- a/src/Main/System/OverlayManager.cpp +++ b/src/Main/System/OverlayManager.cpp @@ -53,7 +53,7 @@ void OverlayManager::Load(OverlaySlot slot, OverlayIndex index) { } void OverlayManager::Unload(OverlaySlot slot) { - OverlayManager *pOverlayManager = &gOverlayManager; + OverlayManager* pOverlayManager = &gOverlayManager; if (pOverlayManager->mLoadedOverlays[slot] != OverlayIndex_None) { FS_UnloadOverlay(NULL, data_0203e0e8[pOverlayManager->mLoadedOverlays[slot]]); @@ -61,7 +61,7 @@ void OverlayManager::Unload(OverlaySlot slot) { } } -OverlaySlot OverlayManager::func_02014878(void *addr) { +OverlaySlot OverlayManager::func_02014878(void* addr) { for (int var_r4 = OverlaySlot_Second; var_r4 < OverlaySlot_COUNT; var_r4++) { OverlayIndex temp_r2 = gOverlayManager.mLoadedOverlays[var_r4]; FSOverlayInfo sp0; diff --git a/src/Main/System/SysFault.cpp b/src/Main/System/SysFault.cpp index bfd9c5654..44134fa1a 100644 --- a/src/Main/System/SysFault.cpp +++ b/src/Main/System/SysFault.cpp @@ -23,13 +23,13 @@ struct struct_aStack_2d8 { struct_aStack_2d8(); void func_ov000_020685cc(); void func_ov000_0206869c(); - void func_ov000_020686a4(void *); + void func_ov000_020686a4(void*); void func_ov000_02068fec(); void func_ov000_0206878c(); void func_ov000_020628e4(int, int, int, int, int, int, int, int, int); u8 pad[0x20]; - Font_UnkStruct1 *mUnk_20; + Font_UnkStruct1* mUnk_20; }; THUMB_BEGIN diff --git a/src/Main/System/SysNew.cpp b/src/Main/System/SysNew.cpp index 20493deef..523b6f485 100644 --- a/src/Main/System/SysNew.cpp +++ b/src/Main/System/SysNew.cpp @@ -2,10 +2,10 @@ #include "CommonFuncs.hpp" #include "nns/fnd.h" -extern char *data_0204372c[]; +extern char* data_0204372c[]; -void *SysNew(NNSiFndHeapHead *param1, uint length, uint alignment) { - void *ptr = NULL; +void* SysNew(NNSiFndHeapHead* param1, uint length, uint alignment) { + void* ptr = NULL; switch ((u32) param1->stamp) { case NNSFndHeapStamp_EXPH: @@ -27,8 +27,8 @@ void *SysNew(NNSiFndHeapHead *param1, uint length, uint alignment) { return ptr; } -void SysDelete(void *ptr) { - NNSiFndHeapHead *pHead; +void SysDelete(void* ptr) { + NNSiFndHeapHead* pHead; if (ptr != NULL) { pHead = func_02001488(); @@ -49,17 +49,17 @@ void SysDelete(void *ptr) { } } -void *func_02011f10(s32 length) { +void* func_02011f10(s32 length) { return SysNew(data_0204999c.mUnk_00[HeapIndex_1], length, 4); } -void *func_02011f30(s32 length) { +void* func_02011f30(s32 length) { return func_02011f10(length); } -void *operator new(size_t length, uint id, uint alignment) { - void *ptr; - NNSiFndHeapHead *pHead = data_0204999c.mUnk_00[id]; +void* operator new(size_t length, uint id, uint alignment) { + void* ptr; + NNSiFndHeapHead* pHead = data_0204999c.mUnk_00[id]; ptr = SysNew(pHead, length, alignment); @@ -78,10 +78,10 @@ void *operator new(size_t length, uint id, uint alignment) { return ptr; } -void operator delete(void *ptr) { +void operator delete(void* ptr) { SysDelete(ptr); } -void operator delete[](void *ptr) { +void operator delete[](void* ptr) { SysDelete(ptr); } diff --git a/src/Main/UnkFileSystem.cpp b/src/Main/UnkFileSystem.cpp index c828da11c..6ddd36190 100644 --- a/src/Main/UnkFileSystem.cpp +++ b/src/Main/UnkFileSystem.cpp @@ -24,7 +24,7 @@ UnkFileSystem5::UnkFileSystem5() : this->mUnk_12 = 0; } -UnkFileSystem5::UnkFileSystem5(const char *param1, unk32 param2, unk32 param3, u8 param4) : +UnkFileSystem5::UnkFileSystem5(const char* param1, unk32 param2, unk32 param3, u8 param4) : UnkFileSystem1(param1) { this->mHeapIndex = param3; this->mUnk_12 = param4; @@ -34,7 +34,7 @@ UnkFileSystem5::~UnkFileSystem5() { this->vfunc_0C(); } -void *UnkFileSystem5::vfunc_08(unk32 param1) { +void* UnkFileSystem5::vfunc_08(unk32 param1) { if (this->mpFile == NULL) { this->mpFile = func_02012ec8(0, this->mHeapIndex, this->mUnk_04, &this->mFileSize, param1, this->mUnk_12); } @@ -61,7 +61,7 @@ size_t UnkFileSystem5::vfunc_10(unk32 param1) { return prevFileSize; } -UnkFileSystem4::UnkFileSystem4(const char *param1, unk32 param2, unk32 param3, unk32 param4) : +UnkFileSystem4::UnkFileSystem4(const char* param1, unk32 param2, unk32 param3, unk32 param4) : UnkFileSystem1(param1) { this->mUnk_18 = param2; this->mUnk_10 = param3; @@ -70,7 +70,7 @@ UnkFileSystem4::UnkFileSystem4(const char *param1, unk32 param2, unk32 param3, u UnkFileSystem4::~UnkFileSystem4() {} -void *UnkFileSystem4::vfunc_08(unk32 param1) { +void* UnkFileSystem4::vfunc_08(unk32 param1) { if (this->mpFile == NULL) { this->mpFile = func_02012ee4(this->mUnk_04, this->mUnk_10, this->mUnk_14, &this->mFileSize, this->mUnk_18); } @@ -80,7 +80,7 @@ void *UnkFileSystem4::vfunc_08(unk32 param1) { UnkFileSystem3::~UnkFileSystem3() {} -void *UnkFileSystem3::vfunc_08(unk32 param1) { +void* UnkFileSystem3::vfunc_08(unk32 param1) { if (this->mpFile == NULL) { this->mpFile = func_02012f6c(this->mUnk_04, &this->mFileSize); } @@ -89,14 +89,14 @@ void *UnkFileSystem3::vfunc_08(unk32 param1) { } // https://decomp.me/scratch/Y2SB8 -UnkFileSystem2::UnkFileSystem2(const char *param1, unk32 param2) : +UnkFileSystem2::UnkFileSystem2(const char* param1, unk32 param2) : UnkFileSystem1(param1) { this->mUnk_14 = param2; } UnkFileSystem2::~UnkFileSystem2() {} -void *UnkFileSystem2::vfunc_08(unk32 param1) { +void* UnkFileSystem2::vfunc_08(unk32 param1) { this->mpFile = this->mUnk_10.mpFile = func_02012ec8(0, func_02015338(), this->mUnk_04, &this->mFileSize, -32, this->mUnk_14); return this->mpFile; diff --git a/src/Main/UnkStruct_0204a060.cpp b/src/Main/UnkStruct_0204a060.cpp index d6d3f09e2..5eeb0ec03 100644 --- a/src/Main/UnkStruct_0204a060.cpp +++ b/src/Main/UnkStruct_0204a060.cpp @@ -39,7 +39,7 @@ bool UnkStruct_0204a060::func_020183d4(bool param1, GameModeCreateCallback creat return true; } -GameModeFileSelect *UnkStruct_0204a060::func_02018424(void) { +GameModeFileSelect* UnkStruct_0204a060::func_02018424(void) { data_02049ba0.func_020148d0(OverlayIndex_MainSelect); return GameModeFileSelect::Create(); } diff --git a/src/Main/func_02017ea4.cpp b/src/Main/func_02017ea4.cpp index 485966c11..fb0cedb81 100644 --- a/src/Main/func_02017ea4.cpp +++ b/src/Main/func_02017ea4.cpp @@ -2,10 +2,10 @@ #include "System/Random.hpp" #include "types.h" -extern "C" void func_02017ea4(u16 *param1) { +extern "C" void func_02017ea4(u16* param1) { *param1 = gRandom.Next32(0) >> 16; } -extern "C" void func_02017ee4(u16 *param1) { +extern "C" void func_02017ee4(u16* param1) { *param1 = gRandom.Next32(4) << 14; } From e68ae28149e66a21c6b4968652e0dd4e6fcfb25d Mon Sep 17 00:00:00 2001 From: Mityno Date: Fri, 4 Dec 2026 13:52:25 +0100 Subject: [PATCH 09/12] fix: Clean merge problems --- include/Actor/ActorUnkSTTG.hpp | 32 +++++++++++++------------------- include/math.hpp | 4 ---- 2 files changed, 13 insertions(+), 23 deletions(-) diff --git a/include/Actor/ActorUnkSTTG.hpp b/include/Actor/ActorUnkSTTG.hpp index 6413a1fae..0ef34ccb7 100644 --- a/include/Actor/ActorUnkSTTG.hpp +++ b/include/Actor/ActorUnkSTTG.hpp @@ -13,23 +13,12 @@ #include "types.h" class UnkStruct_ov094_02177670 : public ModelRender_ov000_020b1a1c { -public: - ActorUnkSTTG_C4(Actor* param1); - - UnkStruct_ov094_02177670(G3d_Model* pModel) : - ModelRender_ov000_020b1a1c(pModel) {}; -}; - -class UnkStruct_ov094_02177610 : public UnkStruct_ov031_Items_00_Base { public: /* 00 (vtable) */ /* 04 */ VecFx32* mUnk_04; - UnkStruct_ov094_02177610(VecFx32* param1) : - mUnk_04(param1) {} - - // /* 00 */ virtual ~UnkStruct_ov094_02177610(); - /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2); + UnkStruct_ov094_02177670(G3d_Model* pModel) : + ModelRender_ov000_020b1a1c(pModel) {}; }; class UnkStruct_ov094_02177600 : public Actor_9C { @@ -41,12 +30,14 @@ class UnkStruct_ov094_02177600 : public Actor_9C { Actor_9C() {}; }; -enum ActorUnkSTTGState_ { - ActorUnkSTTGState_0, - ActorUnkSTTGState_1, - ActorUnkSTTGState_2, - ActorUnkSTTGState_3, - ActorUnkSTTGState_Max, +struct UnkStruct_func_ov094_0216a5d4_0 { + /* 00 */ PAD(0x0, 0x4); + /* 04 */ VecFx32* vec; +}; + +struct UnkStruct_func_ov094_0216a5d4_1 { + /* 00 */ PAD(0x0, 0x8); + /* 08 */ VecFx16 vec; }; class ActorUnkSTTG : public Actor { @@ -84,6 +75,8 @@ class ActorUnkSTTG : public Actor { /* 2C */ virtual void vfunc_2C(unk32 param1) override; void func_ov094_0216a4fc(void); + static unk32 func_ov094_0216a5d4(UnkStruct_func_ov094_0216a5d4_0* param1, UnkStruct_func_ov094_0216a5d4_1* param2); + void func_ov094_0216a74c(void); void func_ov094_0216a760(ActorState state); void func_ov094_0216a84c(void); void func_ov094_0216a870(void); @@ -94,6 +87,7 @@ class ActorUnkSTTG : public Actor { static void func_ov094_0216aec0(VecFx32* vec, ActorUnkSTTG* actor); void func_ov094_0216aee8(void); static void func_ov094_0216b150(VecFx32* vec, ActorUnkSTTG* actor); + void func_ov094_0216b1a4(void); }; class ActorProfileUnkSTTG : public ActorProfile_Derived1 { diff --git a/include/math.hpp b/include/math.hpp index a54ea8024..c6e308152 100644 --- a/include/math.hpp +++ b/include/math.hpp @@ -67,10 +67,6 @@ struct VecFx32Cpp { return &this->vec; } - VecFx32* operator&() { - return &this->vec; - } - void Set(fx32 X, fx32 Y, fx32 Z) { VecFx32_Init(X, Y, Z, &this->vec); } From ab0be2d1eda3df5254ec7169bf96a89c516d78f0 Mon Sep 17 00:00:00 2001 From: Mityno Date: Fri, 4 Dec 2026 13:55:26 +0100 Subject: [PATCH 10/12] fix: Store lost changes --- include/Actor/ActorUnkSTTG.hpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/include/Actor/ActorUnkSTTG.hpp b/include/Actor/ActorUnkSTTG.hpp index 0ef34ccb7..66786384c 100644 --- a/include/Actor/ActorUnkSTTG.hpp +++ b/include/Actor/ActorUnkSTTG.hpp @@ -21,6 +21,17 @@ class UnkStruct_ov094_02177670 : public ModelRender_ov000_020b1a1c { ModelRender_ov000_020b1a1c(pModel) {}; }; +class UnkStruct_ov094_02177610 : public UnkStruct_ov031_Items_00_Base { +public: + /* 00 (vtable) */ + /* 04 */ VecFx32* mUnk_04; + + UnkStruct_ov094_02177610(VecFx32* param1) : + mUnk_04(param1) {} + + // /* 00 */ virtual ~UnkStruct_ov094_02177610(); + /* 08 */ virtual bool vfunc_08(const UnkStruct_ov031_020f3310* param1, unk32 param2); +}; class UnkStruct_ov094_02177600 : public Actor_9C { public: /* 00 (vtable) */ @@ -40,6 +51,14 @@ struct UnkStruct_func_ov094_0216a5d4_1 { /* 08 */ VecFx16 vec; }; +typedef enum ActorUnkSTTGState_ { + ActorUnkSTTGState_0, + ActorUnkSTTGState_1, + ActorUnkSTTGState_2, + ActorUnkSTTGState_3, + ActorUnkSTTGState_Max +} ActorUnkSTTGState; + class ActorUnkSTTG : public Actor { public: /* 000 (base) */ From 4b1b3dcb07f301ac4ee9682fe3978e796dd23247 Mon Sep 17 00:00:00 2001 From: Mityno Date: Fri, 4 Dec 2026 14:02:28 +0100 Subject: [PATCH 11/12] fix: Format files --- include/Actor/ActorUnkSGMG.hpp | 2 +- include/Physics/Sphere.hpp | 2 +- include/Unknown/UnkStruct_027e0d28.hpp | 2 +- src/030_TrainFlame/Actor/ActorUnkSGMG.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/Actor/ActorUnkSGMG.hpp b/include/Actor/ActorUnkSGMG.hpp index 19e10dc1c..a060cb7cd 100644 --- a/include/Actor/ActorUnkSGMG.hpp +++ b/include/Actor/ActorUnkSGMG.hpp @@ -29,7 +29,7 @@ class ActorUnkSGMG : public Actor { void func_ov030_0214d8d0(void); void func_ov030_0214d8e0(void); - static unk32 func_ov030_0214dbb4(UnkStruct_027e0d28 *, VecFx32 *, unk16 *); + static unk32 func_ov030_0214dbb4(UnkStruct_027e0d28*, VecFx32*, unk16*); void func_ov030_0214dc30(void); void func_ov030_0214dc80(void); void func_ov030_0214dc90(void); diff --git a/include/Physics/Sphere.hpp b/include/Physics/Sphere.hpp index f492966a6..232d76f62 100644 --- a/include/Physics/Sphere.hpp +++ b/include/Physics/Sphere.hpp @@ -15,7 +15,7 @@ struct Sphere { Sphere(fx32 x, fx32 y, fx32 z, fx32 size) { this->Init(x, y, z, size); } - Sphere(VecFx32 *pos, fx32 size) { + Sphere(VecFx32* pos, fx32 size) { this->Init(pos, size); } diff --git a/include/Unknown/UnkStruct_027e0d28.hpp b/include/Unknown/UnkStruct_027e0d28.hpp index 9c9f5037c..af314ca22 100644 --- a/include/Unknown/UnkStruct_027e0d28.hpp +++ b/include/Unknown/UnkStruct_027e0d28.hpp @@ -4,4 +4,4 @@ struct UnkStruct_027e0d28 { /* 00 */ }; -extern UnkStruct_027e0d28 *data_027e0d28; +extern UnkStruct_027e0d28* data_027e0d28; diff --git a/src/030_TrainFlame/Actor/ActorUnkSGMG.cpp b/src/030_TrainFlame/Actor/ActorUnkSGMG.cpp index 1b71d9497..7e4b76fec 100644 --- a/src/030_TrainFlame/Actor/ActorUnkSGMG.cpp +++ b/src/030_TrainFlame/Actor/ActorUnkSGMG.cpp @@ -16,7 +16,7 @@ ActorUnkSGMG::ActorUnkSGMG() {} void ActorUnkSGMG::func_ov030_0214d8d0(void) {} void ActorUnkSGMG::func_ov030_0214d8e0(void) {} -unk32 ActorUnkSGMG::func_ov030_0214dbb4(UnkStruct_027e0d28 *, VecFx32 *, unk16 *) {} +unk32 ActorUnkSGMG::func_ov030_0214dbb4(UnkStruct_027e0d28*, VecFx32*, unk16*) {} void ActorUnkSGMG::func_ov030_0214dc30(void) {} void ActorUnkSGMG::func_ov030_0214dc80(void) {} void ActorUnkSGMG::func_ov030_0214dc90(void) {} From 05f34963de39bb8ea5942b945692725d23d167ab Mon Sep 17 00:00:00 2001 From: Mityno Date: Fri, 4 Dec 2026 14:05:54 +0100 Subject: [PATCH 12/12] fix: Regressions --- include/Actor/ActorUnkSTTG.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Actor/ActorUnkSTTG.hpp b/include/Actor/ActorUnkSTTG.hpp index 66786384c..86f597547 100644 --- a/include/Actor/ActorUnkSTTG.hpp +++ b/include/Actor/ActorUnkSTTG.hpp @@ -15,7 +15,7 @@ class UnkStruct_ov094_02177670 : public ModelRender_ov000_020b1a1c { public: /* 00 (vtable) */ - /* 04 */ VecFx32* mUnk_04; + /* 60 */ UnkStruct_ov094_02177670(G3d_Model* pModel) : ModelRender_ov000_020b1a1c(pModel) {};