mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-13 03:59:50 -04:00
Quake & Distortion Cleanup (#1102)
* quake cleanup * cleanup * more cleanup * remove cast * q comes before r... * unname goron function, leave it to another PR * PR Suggestions
This commit is contained in:
+12
-12
@@ -859,8 +859,8 @@
|
||||
0x800BC5B8:("Actor_IsTargeted",),
|
||||
0x800BC5EC:("Actor_OtherIsTargeted",),
|
||||
0x800BC620:("func_800BC620",),
|
||||
0x800BC770:("func_800BC770",),
|
||||
0x800BC7D8:("func_800BC7D8",),
|
||||
0x800BC770:("Actor_AddQuake",),
|
||||
0x800BC7D8:("Actor_AddQuakeWithSpeed",),
|
||||
0x800BC848:("func_800BC848",),
|
||||
0x800BC8B8:("Actor_DrawDoorLock",),
|
||||
0x800BCB50:("Actor_SpawnShieldParticlesMetal",),
|
||||
@@ -1075,7 +1075,7 @@
|
||||
0x800C9CEC:("SurfaceType_IsHookshotSurface",),
|
||||
0x800C9D14:("SurfaceType_IsIgnoredByEntities",),
|
||||
0x800C9D50:("SurfaceType_IsIgnoredByProjectiles",),
|
||||
0x800C9D8C:("SurfaceType_GetConveyorType",),
|
||||
0x800C9D8C:("SurfaceType_IsFloorConveyor",),
|
||||
0x800C9DDC:("func_800C9DDC",),
|
||||
0x800C9E18:("SurfaceType_GetConveyorSpeed",),
|
||||
0x800C9E40:("SurfaceType_GetConveyorDirection",),
|
||||
@@ -2282,15 +2282,15 @@
|
||||
0x8012A038:("PreNMI_Init",),
|
||||
0x8012A080:("Quake_Random",),
|
||||
0x8012A0AC:("Quake_UpdateShakeInfo",),
|
||||
0x8012A2B8:("Quake_Callback1",),
|
||||
0x8012A340:("Quake_Callback5",),
|
||||
0x8012A3B4:("Quake_Callback6",),
|
||||
0x8012A438:("Quake_Callback3",),
|
||||
0x8012A4D0:("Quake_Callback2",),
|
||||
0x8012A540:("Quake_Callback4",),
|
||||
0x8012A2B8:("Quake_CallbackType1",),
|
||||
0x8012A340:("Quake_CallbackType5",),
|
||||
0x8012A3B4:("Quake_CallbackType6",),
|
||||
0x8012A438:("Quake_CallbackType3",),
|
||||
0x8012A4D0:("Quake_CallbackType2",),
|
||||
0x8012A540:("Quake_CallbackType4",),
|
||||
0x8012A5D8:("Quake_GetFreeIndex",),
|
||||
0x8012A638:("Quake_AddImpl",),
|
||||
0x8012A6F0:("Quake_Remove",),
|
||||
0x8012A6F0:("Quake_RemoveRequest",),
|
||||
0x8012A718:("Quake_GetRequest",),
|
||||
0x8012A774:("Quake_SetValue",),
|
||||
0x8012A8A8:("Quake_SetSpeed",),
|
||||
@@ -2300,7 +2300,7 @@
|
||||
0x8012A9E0:("Quake_SetQuakeValues2",),
|
||||
0x8012AA48:("Quake_Init",),
|
||||
0x8012AA9C:("Quake_Add",),
|
||||
0x8012AAC0:("Quake_RemoveFromIdx",),
|
||||
0x8012AAC0:("Quake_Remove",),
|
||||
0x8012AB08:("Quake_Calc",),
|
||||
0x8012AE68:("Distortion_Init",),
|
||||
0x8012AEAC:("Distortion_SetCountdown",),
|
||||
@@ -10620,7 +10620,7 @@
|
||||
0x80A53E60:("func_80A53E60",),
|
||||
0x80A541F4:("func_80A541F4",),
|
||||
0x80A54600:("func_80A54600",),
|
||||
0x80A54980:("func_80A54980",),
|
||||
0x80A54980:("ObjHugebombiwa_AddQuake",),
|
||||
0x80A54A0C:("func_80A54A0C",),
|
||||
0x80A54AC0:("ObjHugebombiwa_Init",),
|
||||
0x80A54BC4:("ObjHugebombiwa_Destroy",),
|
||||
|
||||
@@ -4015,7 +4015,7 @@
|
||||
0x801F59F4:("D_801F59F4","UNK_TYPE1","",0x1),
|
||||
0x801F59F8:("D_801F59F8","UNK_TYPE1","",0x1),
|
||||
0x801F5A00:("sQuakeRequest","QuakeRequest","[4]",0x90),
|
||||
0x801F5A90:("sDistortionContext","DistortionContext","",0xc),
|
||||
0x801F5A90:("sDistortionRequest","DistortionRequest","",0xc),
|
||||
0x801F5AA0:("sMatAnimStep","s32","",0x4),
|
||||
0x801F5AA4:("sMatAnimFlags","u32","",0x4),
|
||||
0x801F5AA8:("sMatAnimAlphaRatio","f32","",0x4),
|
||||
|
||||
+4
-1
@@ -295,6 +295,7 @@ wordReplace = {
|
||||
"func_800BC8B8": "Actor_DrawDoorLock",
|
||||
"func_800B86C8": "Actor_ChangeFocus",
|
||||
"func_800B90F4": "Actor_DeactivateLens",
|
||||
"func_800BC770": "Actor_AddQuake",
|
||||
"zelda_malloc": "ZeldaArena_Malloc",
|
||||
"zelda_mallocR": "ZeldaArena_MallocR",
|
||||
"zelda_realloc": "ZeldaArena_Realloc",
|
||||
@@ -411,6 +412,7 @@ wordReplace = {
|
||||
"BgCheck_RelocateMeshHeader": "CollisionHeader_GetVirtual",
|
||||
"BgCheck_RelocateAllMeshHeaders": "BgCheck_InitCollisionHeaders",
|
||||
"BgCheck_GetPolygonAttributes": "SurfaceType_GetData",
|
||||
"SurfaceType_GetConveyorType": "SurfaceType_IsFloorConveyor",
|
||||
"func_800C9704": "SurfaceType_GetBgCamIndex",
|
||||
"func_800C9924": "BgCheck_GetBgCamFuncData",
|
||||
"func_800C99AC": "SurfaceType_GetSceneExitIndex",
|
||||
@@ -422,7 +424,7 @@ wordReplace = {
|
||||
"func_800C9CEC": "SurfaceType_IsHookshotSurface",
|
||||
"func_800C9D14": "SurfaceType_IsIgnoredByEntities",
|
||||
"func_800C9D50": "SurfaceType_IsIgnoredByProjectiles",
|
||||
"func_800C9D8C": "SurfaceType_GetConveyorType",
|
||||
"func_800C9D8C": "SurfaceType_IsFloorConveyor",
|
||||
"func_800C9E18": "SurfaceType_GetConveyorSpeed",
|
||||
"func_800C9E40": "SurfaceType_GetConveyorDirection",
|
||||
"func_800C9E88": "SurfaceType_IsWallDamage",
|
||||
@@ -545,6 +547,7 @@ wordReplace = {
|
||||
"Quake2_SetCountdown": "Distortion_SetCountdown",
|
||||
"func_800BE680": "Actor_DrawDamageEffects",
|
||||
"func_8012F22C": "Inventory_GetSkullTokenCount",
|
||||
"Quake_RemoveFromIdx": "Quake_Remove",
|
||||
|
||||
"func_8013AB00": "SubS_DrawTransformFlex",
|
||||
"func_8013A860": "SubS_DrawTransformFlexLimb",
|
||||
|
||||
@@ -373,8 +373,8 @@ asm/non_matchings/code/z_actor/Actor_TestFloorInDirection.s,Actor_TestFloorInDir
|
||||
asm/non_matchings/code/z_actor/Actor_IsTargeted.s,Actor_IsTargeted,0x800BC5B8,0xD
|
||||
asm/non_matchings/code/z_actor/Actor_OtherIsTargeted.s,Actor_OtherIsTargeted,0x800BC5EC,0xD
|
||||
asm/non_matchings/code/z_actor/func_800BC620.s,func_800BC620,0x800BC620,0x54
|
||||
asm/non_matchings/code/z_actor/func_800BC770.s,func_800BC770,0x800BC770,0x1A
|
||||
asm/non_matchings/code/z_actor/func_800BC7D8.s,func_800BC7D8,0x800BC7D8,0x1C
|
||||
asm/non_matchings/code/z_actor/Actor_AddQuake.s,Actor_AddQuake,0x800BC770,0x1A
|
||||
asm/non_matchings/code/z_actor/Actor_AddQuakeWithSpeed.s,Actor_AddQuakeWithSpeed,0x800BC7D8,0x1C
|
||||
asm/non_matchings/code/z_actor/func_800BC848.s,func_800BC848,0x800BC848,0x1C
|
||||
asm/non_matchings/code/z_actor/Actor_DrawDoorLock.s,Actor_DrawDoorLock,0x800BC8B8,0xA6
|
||||
asm/non_matchings/code/z_actor/Actor_SpawnShieldParticlesMetal.s,Actor_SpawnShieldParticlesMetal,0x800BCB50,0x8
|
||||
@@ -589,7 +589,7 @@ asm/non_matchings/code/z_bgcheck/SurfaceType_GetEcho.s,SurfaceType_GetEcho,0x800
|
||||
asm/non_matchings/code/z_bgcheck/SurfaceType_IsHookshotSurface.s,SurfaceType_IsHookshotSurface,0x800C9CEC,0xA
|
||||
asm/non_matchings/code/z_bgcheck/SurfaceType_IsIgnoredByEntities.s,SurfaceType_IsIgnoredByEntities,0x800C9D14,0xF
|
||||
asm/non_matchings/code/z_bgcheck/SurfaceType_IsIgnoredByProjectiles.s,SurfaceType_IsIgnoredByProjectiles,0x800C9D50,0xF
|
||||
asm/non_matchings/code/z_bgcheck/SurfaceType_GetConveyorType.s,SurfaceType_GetConveyorType,0x800C9D8C,0x14
|
||||
asm/non_matchings/code/z_bgcheck/SurfaceType_IsFloorConveyor.s,SurfaceType_IsFloorConveyor,0x800C9D8C,0x14
|
||||
asm/non_matchings/code/z_bgcheck/func_800C9DDC.s,func_800C9DDC,0x800C9DDC,0xF
|
||||
asm/non_matchings/code/z_bgcheck/SurfaceType_GetConveyorSpeed.s,SurfaceType_GetConveyorSpeed,0x800C9E18,0xA
|
||||
asm/non_matchings/code/z_bgcheck/SurfaceType_GetConveyorDirection.s,SurfaceType_GetConveyorDirection,0x800C9E40,0x12
|
||||
@@ -1796,15 +1796,15 @@ asm/non_matchings/code/z_prenmi/PreNMI_Destroy.s,PreNMI_Destroy,0x8012A02C,0x3
|
||||
asm/non_matchings/code/z_prenmi/PreNMI_Init.s,PreNMI_Init,0x8012A038,0x12
|
||||
asm/non_matchings/code/z_quake/Quake_Random.s,Quake_Random,0x8012A080,0xB
|
||||
asm/non_matchings/code/z_quake/Quake_UpdateShakeInfo.s,Quake_UpdateShakeInfo,0x8012A0AC,0x83
|
||||
asm/non_matchings/code/z_quake/Quake_Callback1.s,Quake_Callback1,0x8012A2B8,0x22
|
||||
asm/non_matchings/code/z_quake/Quake_Callback5.s,Quake_Callback5,0x8012A340,0x1D
|
||||
asm/non_matchings/code/z_quake/Quake_Callback6.s,Quake_Callback6,0x8012A3B4,0x21
|
||||
asm/non_matchings/code/z_quake/Quake_Callback3.s,Quake_Callback3,0x8012A438,0x26
|
||||
asm/non_matchings/code/z_quake/Quake_Callback2.s,Quake_Callback2,0x8012A4D0,0x1C
|
||||
asm/non_matchings/code/z_quake/Quake_Callback4.s,Quake_Callback4,0x8012A540,0x26
|
||||
asm/non_matchings/code/z_quake/Quake_CallbackType1.s,Quake_CallbackType1,0x8012A2B8,0x22
|
||||
asm/non_matchings/code/z_quake/Quake_CallbackType5.s,Quake_CallbackType5,0x8012A340,0x1D
|
||||
asm/non_matchings/code/z_quake/Quake_CallbackType6.s,Quake_CallbackType6,0x8012A3B4,0x21
|
||||
asm/non_matchings/code/z_quake/Quake_CallbackType3.s,Quake_CallbackType3,0x8012A438,0x26
|
||||
asm/non_matchings/code/z_quake/Quake_CallbackType2.s,Quake_CallbackType2,0x8012A4D0,0x1C
|
||||
asm/non_matchings/code/z_quake/Quake_CallbackType4.s,Quake_CallbackType4,0x8012A540,0x26
|
||||
asm/non_matchings/code/z_quake/Quake_GetFreeIndex.s,Quake_GetFreeIndex,0x8012A5D8,0x18
|
||||
asm/non_matchings/code/z_quake/Quake_AddImpl.s,Quake_AddImpl,0x8012A638,0x2E
|
||||
asm/non_matchings/code/z_quake/Quake_Remove.s,Quake_Remove,0x8012A6F0,0xA
|
||||
asm/non_matchings/code/z_quake/Quake_RemoveRequest.s,Quake_RemoveRequest,0x8012A6F0,0xA
|
||||
asm/non_matchings/code/z_quake/Quake_GetRequest.s,Quake_GetRequest,0x8012A718,0x17
|
||||
asm/non_matchings/code/z_quake/Quake_SetValue.s,Quake_SetValue,0x8012A774,0x4D
|
||||
asm/non_matchings/code/z_quake/Quake_SetSpeed.s,Quake_SetSpeed,0x8012A8A8,0x12
|
||||
@@ -1814,7 +1814,7 @@ asm/non_matchings/code/z_quake/Quake_SetQuakeValues.s,Quake_SetQuakeValues,0x801
|
||||
asm/non_matchings/code/z_quake/Quake_SetQuakeValues2.s,Quake_SetQuakeValues2,0x8012A9E0,0x1A
|
||||
asm/non_matchings/code/z_quake/Quake_Init.s,Quake_Init,0x8012AA48,0x15
|
||||
asm/non_matchings/code/z_quake/Quake_Add.s,Quake_Add,0x8012AA9C,0x9
|
||||
asm/non_matchings/code/z_quake/Quake_RemoveFromIdx.s,Quake_RemoveFromIdx,0x8012AAC0,0x12
|
||||
asm/non_matchings/code/z_quake/Quake_Remove.s,Quake_Remove,0x8012AAC0,0x12
|
||||
asm/non_matchings/code/z_quake/Quake_Calc.s,Quake_Calc,0x8012AB08,0xD8
|
||||
asm/non_matchings/code/z_quake/Distortion_Init.s,Distortion_Init,0x8012AE68,0x11
|
||||
asm/non_matchings/code/z_quake/Distortion_SetCountdown.s,Distortion_SetCountdown,0x8012AEAC,0xA
|
||||
|
||||
|
Reference in New Issue
Block a user