mirror of
https://github.com/zeldaret/mm.git
synced 2026-07-08 13:26:14 -04:00
sys_math.c Rename (#1258)
* rename via comments * missed a comment * math header * name boot_80086760.c functions * PR Review * rm cam comment * Elliptic review * alphabetical
This commit is contained in:
+39
-39
@@ -166,39 +166,39 @@
|
||||
0x80086588:("SystemHeap_RunInits",),
|
||||
0x800865F8:("SystemHeap_Init",),
|
||||
0x80086620:("PadSetup_Init",),
|
||||
0x80086760:("func_80086760",),
|
||||
0x80086794:("func_80086794",),
|
||||
0x800867B4:("func_800867B4",),
|
||||
0x800867D4:("func_800867D4",),
|
||||
0x800867F4:("func_800867F4",),
|
||||
0x80086814:("func_80086814",),
|
||||
0x80086834:("func_80086834",),
|
||||
0x80086880:("func_80086880",),
|
||||
0x800869A4:("func_800869A4",),
|
||||
0x80086AF0:("func_80086AF0",),
|
||||
0x80086B30:("func_80086B30",),
|
||||
0x80086C18:("func_80086C18",),
|
||||
0x80086C48:("func_80086C48",),
|
||||
0x80086C70:("func_80086C70",),
|
||||
0x80086C7C:("func_80086C7C",),
|
||||
0x80086C88:("func_80086C88",),
|
||||
0x80086C98:("func_80086C98",),
|
||||
0x80086CA8:("func_80086CA8",),
|
||||
0x80086CB4:("func_80086CB4",),
|
||||
0x80086CC0:("func_80086CC0",),
|
||||
0x80086CD0:("func_80086CD0",),
|
||||
0x80086CE0:("func_80086CE0",),
|
||||
0x80086CEC:("func_80086CEC",),
|
||||
0x80086CF8:("func_80086CF8",),
|
||||
0x80086D08:("func_80086D08",),
|
||||
0x80086D18:("func_80086D18",),
|
||||
0x80086D24:("func_80086D24",),
|
||||
0x80086D30:("func_80086D30",),
|
||||
0x80086D40:("func_80086D40",),
|
||||
0x80086D50:("func_80086D50",),
|
||||
0x80086D6C:("func_80086D6C",),
|
||||
0x80086D8C:("func_80086D8C",),
|
||||
0x80086DAC:("func_80086DAC",),
|
||||
0x80086760:("Math_FTanF",),
|
||||
0x80086794:("Math_FFloorF",),
|
||||
0x800867B4:("Math_FCeilF",),
|
||||
0x800867D4:("Math_FRoundF",),
|
||||
0x800867F4:("Math_FTruncF",),
|
||||
0x80086814:("Math_FNearbyIntF",),
|
||||
0x80086834:("Math_FAtanTaylorQF",),
|
||||
0x80086880:("Math_FAtanTaylorF",),
|
||||
0x800869A4:("Math_FAtanContFracF",),
|
||||
0x80086AF0:("Math_FAtanF",),
|
||||
0x80086B30:("Math_FAtan2F",),
|
||||
0x80086C18:("Math_FAsinF",),
|
||||
0x80086C48:("Math_FAcosF",),
|
||||
0x80086C70:("floorf",),
|
||||
0x80086C7C:("floor",),
|
||||
0x80086C88:("lfloorf",),
|
||||
0x80086C98:("lfloor",),
|
||||
0x80086CA8:("ceilf",),
|
||||
0x80086CB4:("ceil",),
|
||||
0x80086CC0:("lceilf",),
|
||||
0x80086CD0:("lceil",),
|
||||
0x80086CE0:("truncf",),
|
||||
0x80086CEC:("trunc",),
|
||||
0x80086CF8:("ltruncf",),
|
||||
0x80086D08:("ltrunc",),
|
||||
0x80086D18:("nearbyintf",),
|
||||
0x80086D24:("nearbyint",),
|
||||
0x80086D30:("lnearbyintf",),
|
||||
0x80086D40:("lnearbyint",),
|
||||
0x80086D50:("roundf",),
|
||||
0x80086D6C:("round",),
|
||||
0x80086D8C:("lroundf",),
|
||||
0x80086DAC:("lround",),
|
||||
0x80086DD0:("SystemArena_Malloc",),
|
||||
0x80086DF8:("SystemArena_MallocR",),
|
||||
0x80086E20:("SystemArena_Realloc",),
|
||||
@@ -3248,13 +3248,13 @@
|
||||
0x801791CC:("Check_DrawRegionLockErrorMessage",),
|
||||
0x80179260:("Check_ExpansionPak",),
|
||||
0x801792A4:("Check_RegionIsSupported",),
|
||||
0x80179300:("func_80179300",),
|
||||
0x80179400:("func_80179400",),
|
||||
0x801794C4:("pow_int",),
|
||||
0x801794EC:("sin_rad",),
|
||||
0x80179540:("cos_rad",),
|
||||
0x80179300:("Math_FactorialF",),
|
||||
0x80179400:("Math_Factorial",),
|
||||
0x801794C4:("Math_PowF",),
|
||||
0x801794EC:("Math_SinF",),
|
||||
0x80179540:("Math_CosF",),
|
||||
0x80179594:("Rand_ZeroFloat",),
|
||||
0x801795C0:("randPlusMinusPoint5Scaled",),
|
||||
0x801795C0:("Rand_CenteredFloat",),
|
||||
0x801795F0:("Math3D_Normalize",),
|
||||
0x80179678:("Math3D_PlaneVsLineSegClosestPoint",),
|
||||
0x80179798:("func_80179798",),
|
||||
|
||||
+7
-1
@@ -18,10 +18,16 @@ simpleReplace = {
|
||||
wordReplace = {
|
||||
# Functions
|
||||
"Actor_GetSwitchFlag": "Flags_GetSwitch",
|
||||
# "Math_FAtan2F": "Math_Atan2S_XY", // All old Math_FAtan2F should be renamed, so func_80086B30 can be renamed to Math_FAtan2F
|
||||
"Math_Acot2F": "Math_Atan2F_XY",
|
||||
"atan_flip": "Math_Atan2F_XY",
|
||||
"atans": "Math_Atan2S",
|
||||
"sin_rad": "Math_SinF",
|
||||
"cos_rad": "Math_CosF",
|
||||
"randPlusMinusPoint5Scaled": "Rand_CenteredFloat",
|
||||
# "Math_FAtan2F": "Math_Atan2S_XY", // Old Math_FAtan2F was renamed
|
||||
"func_80086B30": "Math_FAtan2F",
|
||||
"func_80086760": "Math_FTanF",
|
||||
"func_80086C48": "Math_FAcosF",
|
||||
|
||||
# "SysMatrix_StateAlloc": "Matrix_StateAlloc",
|
||||
# "SysMatrix_StatePush": "Matrix_StatePush",
|
||||
|
||||
@@ -163,39 +163,39 @@ asm/non_matchings/boot/boot_800862E0/SystemHeap_RunBlockFunc1Reverse.s,SystemHea
|
||||
asm/non_matchings/boot/boot_800862E0/SystemHeap_RunInits.s,SystemHeap_RunInits,0x80086588,0x1C
|
||||
asm/non_matchings/boot/boot_800862E0/SystemHeap_Init.s,SystemHeap_Init,0x800865F8,0xA
|
||||
asm/non_matchings/boot/padsetup/PadSetup_Init.s,PadSetup_Init,0x80086620,0x50
|
||||
asm/non_matchings/boot/boot_80086760/func_80086760.s,func_80086760,0x80086760,0xD
|
||||
asm/non_matchings/boot/boot_80086760/func_80086794.s,func_80086794,0x80086794,0x8
|
||||
asm/non_matchings/boot/boot_80086760/func_800867B4.s,func_800867B4,0x800867B4,0x8
|
||||
asm/non_matchings/boot/boot_80086760/func_800867D4.s,func_800867D4,0x800867D4,0x8
|
||||
asm/non_matchings/boot/boot_80086760/func_800867F4.s,func_800867F4,0x800867F4,0x8
|
||||
asm/non_matchings/boot/boot_80086760/func_80086814.s,func_80086814,0x80086814,0x8
|
||||
asm/non_matchings/boot/boot_80086760/func_80086834.s,func_80086834,0x80086834,0x13
|
||||
asm/non_matchings/boot/boot_80086760/func_80086880.s,func_80086880,0x80086880,0x49
|
||||
asm/non_matchings/boot/boot_80086760/func_800869A4.s,func_800869A4,0x800869A4,0x53
|
||||
asm/non_matchings/boot/boot_80086760/func_80086AF0.s,func_80086AF0,0x80086AF0,0x10
|
||||
asm/non_matchings/boot/boot_80086760/func_80086B30.s,func_80086B30,0x80086B30,0x3A
|
||||
asm/non_matchings/boot/boot_80086760/func_80086C18.s,func_80086C18,0x80086C18,0xC
|
||||
asm/non_matchings/boot/boot_80086760/func_80086C48.s,func_80086C48,0x80086C48,0xA
|
||||
asm/non_matchings/boot/fp/func_80086C70.s,func_80086C70,0x80086C70,0x3
|
||||
asm/non_matchings/boot/fp/func_80086C7C.s,func_80086C7C,0x80086C7C,0x3
|
||||
asm/non_matchings/boot/fp/func_80086C88.s,func_80086C88,0x80086C88,0x4
|
||||
asm/non_matchings/boot/fp/func_80086C98.s,func_80086C98,0x80086C98,0x4
|
||||
asm/non_matchings/boot/fp/func_80086CA8.s,func_80086CA8,0x80086CA8,0x3
|
||||
asm/non_matchings/boot/fp/func_80086CB4.s,func_80086CB4,0x80086CB4,0x3
|
||||
asm/non_matchings/boot/fp/func_80086CC0.s,func_80086CC0,0x80086CC0,0x4
|
||||
asm/non_matchings/boot/fp/func_80086CD0.s,func_80086CD0,0x80086CD0,0x4
|
||||
asm/non_matchings/boot/fp/func_80086CE0.s,func_80086CE0,0x80086CE0,0x3
|
||||
asm/non_matchings/boot/fp/func_80086CEC.s,func_80086CEC,0x80086CEC,0x3
|
||||
asm/non_matchings/boot/fp/func_80086CF8.s,func_80086CF8,0x80086CF8,0x4
|
||||
asm/non_matchings/boot/fp/func_80086D08.s,func_80086D08,0x80086D08,0x4
|
||||
asm/non_matchings/boot/fp/func_80086D18.s,func_80086D18,0x80086D18,0x3
|
||||
asm/non_matchings/boot/fp/func_80086D24.s,func_80086D24,0x80086D24,0x3
|
||||
asm/non_matchings/boot/fp/func_80086D30.s,func_80086D30,0x80086D30,0x4
|
||||
asm/non_matchings/boot/fp/func_80086D40.s,func_80086D40,0x80086D40,0x4
|
||||
asm/non_matchings/boot/fp/func_80086D50.s,func_80086D50,0x80086D50,0x7
|
||||
asm/non_matchings/boot/fp/func_80086D6C.s,func_80086D6C,0x80086D6C,0x8
|
||||
asm/non_matchings/boot/fp/func_80086D8C.s,func_80086D8C,0x80086D8C,0x8
|
||||
asm/non_matchings/boot/fp/func_80086DAC.s,func_80086DAC,0x80086DAC,0x9
|
||||
asm/non_matchings/boot/boot_80086760/Math_FTanF.s,Math_FTanF,0x80086760,0xD
|
||||
asm/non_matchings/boot/boot_80086760/Math_FFloorF.s,Math_FFloorF,0x80086794,0x8
|
||||
asm/non_matchings/boot/boot_80086760/Math_FCeilF.s,Math_FCeilF,0x800867B4,0x8
|
||||
asm/non_matchings/boot/boot_80086760/Math_FRoundF.s,Math_FRoundF,0x800867D4,0x8
|
||||
asm/non_matchings/boot/boot_80086760/Math_FTruncF.s,Math_FTruncF,0x800867F4,0x8
|
||||
asm/non_matchings/boot/boot_80086760/Math_FNearbyIntF.s,Math_FNearbyIntF,0x80086814,0x8
|
||||
asm/non_matchings/boot/boot_80086760/Math_FAtanTaylorQF.s,Math_FAtanTaylorQF,0x80086834,0x13
|
||||
asm/non_matchings/boot/boot_80086760/Math_FAtanTaylorF.s,Math_FAtanTaylorF,0x80086880,0x49
|
||||
asm/non_matchings/boot/boot_80086760/Math_FAtanContFracF.s,Math_FAtanContFracF,0x800869A4,0x53
|
||||
asm/non_matchings/boot/boot_80086760/Math_FAtanF.s,Math_FAtanF,0x80086AF0,0x10
|
||||
asm/non_matchings/boot/boot_80086760/Math_FAtan2F.s,Math_FAtan2F,0x80086B30,0x3A
|
||||
asm/non_matchings/boot/boot_80086760/Math_FAsinF.s,Math_FAsinF,0x80086C18,0xC
|
||||
asm/non_matchings/boot/boot_80086760/Math_FAcosF.s,Math_FAcosF,0x80086C48,0xA
|
||||
asm/non_matchings/boot/fp/floorf.s,floorf,0x80086C70,0x3
|
||||
asm/non_matchings/boot/fp/floor.s,floor,0x80086C7C,0x3
|
||||
asm/non_matchings/boot/fp/lfloorf.s,lfloorf,0x80086C88,0x4
|
||||
asm/non_matchings/boot/fp/lfloor.s,lfloor,0x80086C98,0x4
|
||||
asm/non_matchings/boot/fp/ceilf.s,ceilf,0x80086CA8,0x3
|
||||
asm/non_matchings/boot/fp/ceil.s,ceil,0x80086CB4,0x3
|
||||
asm/non_matchings/boot/fp/lceilf.s,lceilf,0x80086CC0,0x4
|
||||
asm/non_matchings/boot/fp/lceil.s,lceil,0x80086CD0,0x4
|
||||
asm/non_matchings/boot/fp/truncf.s,truncf,0x80086CE0,0x3
|
||||
asm/non_matchings/boot/fp/trunc.s,trunc,0x80086CEC,0x3
|
||||
asm/non_matchings/boot/fp/ltruncf.s,ltruncf,0x80086CF8,0x4
|
||||
asm/non_matchings/boot/fp/ltrunc.s,ltrunc,0x80086D08,0x4
|
||||
asm/non_matchings/boot/fp/nearbyintf.s,nearbyintf,0x80086D18,0x3
|
||||
asm/non_matchings/boot/fp/nearbyint.s,nearbyint,0x80086D24,0x3
|
||||
asm/non_matchings/boot/fp/lnearbyintf.s,lnearbyintf,0x80086D30,0x4
|
||||
asm/non_matchings/boot/fp/lnearbyint.s,lnearbyint,0x80086D40,0x4
|
||||
asm/non_matchings/boot/fp/roundf.s,roundf,0x80086D50,0x7
|
||||
asm/non_matchings/boot/fp/round.s,round,0x80086D6C,0x8
|
||||
asm/non_matchings/boot/fp/lroundf.s,lroundf,0x80086D8C,0x8
|
||||
asm/non_matchings/boot/fp/lround.s,lround,0x80086DAC,0x9
|
||||
asm/non_matchings/boot/system_malloc/SystemArena_Malloc.s,SystemArena_Malloc,0x80086DD0,0xA
|
||||
asm/non_matchings/boot/system_malloc/SystemArena_MallocR.s,SystemArena_MallocR,0x80086DF8,0xA
|
||||
asm/non_matchings/boot/system_malloc/SystemArena_Realloc.s,SystemArena_Realloc,0x80086E20,0xC
|
||||
|
||||
|
@@ -2762,13 +2762,13 @@ asm/non_matchings/code/sys_initial_check/Check_DrawExpansionPakErrorMessage.s,Ch
|
||||
asm/non_matchings/code/sys_initial_check/Check_DrawRegionLockErrorMessage.s,Check_DrawRegionLockErrorMessage,0x801791CC,0x25
|
||||
asm/non_matchings/code/sys_initial_check/Check_ExpansionPak.s,Check_ExpansionPak,0x80179260,0x11
|
||||
asm/non_matchings/code/sys_initial_check/Check_RegionIsSupported.s,Check_RegionIsSupported,0x801792A4,0x17
|
||||
asm/non_matchings/code/sys_math/func_80179300.s,func_80179300,0x80179300,0x40
|
||||
asm/non_matchings/code/sys_math/func_80179400.s,func_80179400,0x80179400,0x31
|
||||
asm/non_matchings/code/sys_math/pow_int.s,pow_int,0x801794C4,0xA
|
||||
asm/non_matchings/code/sys_math/sin_rad.s,sin_rad,0x801794EC,0x15
|
||||
asm/non_matchings/code/sys_math/cos_rad.s,cos_rad,0x80179540,0x15
|
||||
asm/non_matchings/code/sys_math/Math_FactorialF.s,Math_FactorialF,0x80179300,0x40
|
||||
asm/non_matchings/code/sys_math/Math_Factorial.s,Math_Factorial,0x80179400,0x31
|
||||
asm/non_matchings/code/sys_math/Math_PowF.s,Math_PowF,0x801794C4,0xA
|
||||
asm/non_matchings/code/sys_math/Math_SinF.s,Math_SinF,0x801794EC,0x15
|
||||
asm/non_matchings/code/sys_math/Math_CosF.s,Math_CosF,0x80179540,0x15
|
||||
asm/non_matchings/code/sys_math/Rand_ZeroFloat.s,Rand_ZeroFloat,0x80179594,0xB
|
||||
asm/non_matchings/code/sys_math/randPlusMinusPoint5Scaled.s,randPlusMinusPoint5Scaled,0x801795C0,0xC
|
||||
asm/non_matchings/code/sys_math/Rand_CenteredFloat.s,Rand_CenteredFloat,0x801795C0,0xC
|
||||
asm/non_matchings/code/sys_math3d/Math3D_Normalize.s,Math3D_Normalize,0x801795F0,0x22
|
||||
asm/non_matchings/code/sys_math3d/Math3D_PlaneVsLineSegClosestPoint.s,Math3D_PlaneVsLineSegClosestPoint,0x80179678,0x48
|
||||
asm/non_matchings/code/sys_math3d/func_80179798.s,func_80179798,0x80179798,0xAB
|
||||
|
||||
|
Reference in New Issue
Block a user