diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2023-12-24 23:52:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-24 15:52:09 -0700 |
| commit | 670a930f31691535813b1df2692a2f76bbb9136c (patch) | |
| tree | 899656cc954453cc1848ffc2fd827e9905e9e337 /src | |
| parent | f1befa8bcd4e8caed3006db489d033c91b60e34b (diff) | |
Rename code_8001F980 to render_player and code_800B45E0 to save (#507)
* Update and rename code_8001F980.c to render_player.c
* Rename code_8001F980.h to render_player.h
* rename import file to render_player
* Update and rename code_80004740.c to save.c
* Rename code_80004740.h to save.h
Diffstat (limited to 'src')
| -rw-r--r-- | src/camera.c | 2 | ||||
| -rw-r--r-- | src/code_80005FD0.c | 2 | ||||
| -rw-r--r-- | src/code_80057C60.c | 2 | ||||
| -rw-r--r-- | src/code_8008C1D0.c | 2 | ||||
| -rw-r--r-- | src/code_80091750.c | 2 | ||||
| -rw-r--r-- | src/debug/all_variables.h | 4 | ||||
| -rw-r--r-- | src/ending/code_80281C40.c | 2 | ||||
| -rw-r--r-- | src/ending/podium_ceremony_actors.c | 2 | ||||
| -rw-r--r-- | src/hud_renderer.c | 2 | ||||
| -rw-r--r-- | src/main.c | 2 | ||||
| -rw-r--r-- | src/math_util_2.c | 2 | ||||
| -rw-r--r-- | src/menus.c | 2 | ||||
| -rw-r--r-- | src/player_controller.c | 2 | ||||
| -rw-r--r-- | src/racing/skybox_and_splitscreen.c | 2 | ||||
| -rw-r--r-- | src/render_player.c (renamed from src/code_8001F980.c) | 2 | ||||
| -rw-r--r-- | src/render_player.h (renamed from src/code_8001F980.h) | 0 | ||||
| -rw-r--r-- | src/save.c (renamed from src/code_800B45E0.c) | 12 | ||||
| -rw-r--r-- | src/save.h (renamed from src/code_800B45E0.h) | 4 | ||||
| -rw-r--r-- | src/spawn_players.c | 4 | ||||
| -rw-r--r-- | src/staff_ghosts.c | 2 |
20 files changed, 27 insertions, 27 deletions
diff --git a/src/camera.c b/src/camera.c index 6cd1c5841..7cd43a14f 100644 --- a/src/camera.c +++ b/src/camera.c @@ -10,7 +10,7 @@ #include "racing/memory.h" #include "waypoints.h" #include "variables.h" -#include "code_8001F980.h" +#include "render_player.h" #include "collision.h" #include "code_80057C60.h" #include "code_80005FD0.h" diff --git a/src/code_80005FD0.c b/src/code_80005FD0.c index e7934fef8..12843612e 100644 --- a/src/code_80005FD0.c +++ b/src/code_80005FD0.c @@ -10,7 +10,7 @@ #include "camera.h" #include "actors.h" #include "actors_extended.h" -#include "code_8001F980.h" +#include "render_player.h" #include "player_controller.h" #include "code_80071F00.h" #include "collision.h" diff --git a/src/code_80057C60.c b/src/code_80057C60.c index e1a042c9e..daf745db1 100644 --- a/src/code_80057C60.c +++ b/src/code_80057C60.c @@ -13,7 +13,7 @@ #include "math_util.h" #include "math_util_2.h" #include "code_80005FD0.h" -#include "code_8001F980.h" +#include "render_player.h" #include "hud_renderer.h" #include "code_80071F00.h" #include "code_80086E70.h" diff --git a/src/code_8008C1D0.c b/src/code_8008C1D0.c index 792213487..8f02103d2 100644 --- a/src/code_8008C1D0.c +++ b/src/code_8008C1D0.c @@ -10,7 +10,7 @@ #include "kart_attributes.h" #include "waypoints.h" #include "code_80005FD0.h" -#include "code_8001F980.h" +#include "render_player.h" #include "player_controller.h" #include "hud_renderer.h" #include "code_80057C60.h" diff --git a/src/code_80091750.c b/src/code_80091750.c index d2385cb96..93c5b33db 100644 --- a/src/code_80091750.c +++ b/src/code_80091750.c @@ -9,7 +9,7 @@ #include "code_80091750.h" #include "code_80005FD0.h" #include "menus.h" -#include "code_800B45E0.h" +#include "save.h" #include "code_80057C60.h" #include "credits.h" #include "data_segment2.h" diff --git a/src/debug/all_variables.h b/src/debug/all_variables.h index 531bd8d5c..8825e111b 100644 --- a/src/debug/all_variables.h +++ b/src/debug/all_variables.h @@ -13,7 +13,7 @@ #include <code_800029B0.h> #include <code_80004740.h> #include <code_80005FD0.h> -#include <code_8001F980.h> +#include <render_player.h> #include <player_controller.h> #include <code_8003DC40.h> #include <code_80057C60.h> @@ -24,7 +24,7 @@ #include <code_80091440.h> #include <code_80091750.h> #include <code_800AF9B0.h> -#include <code_800B45E0.h> +#include <save.h> #include <code_80280000.h> #include <podium_ceremony_actors.h> #include <code_80281780.h> diff --git a/src/ending/code_80281C40.c b/src/ending/code_80281C40.c index dd387d256..a5ff81ba7 100644 --- a/src/ending/code_80281C40.c +++ b/src/ending/code_80281C40.c @@ -12,7 +12,7 @@ #include "podium_ceremony_actors.h" #include "ceremony_and_credits.h" #include "podium_ceremony_actors.h" -#include "code_8001F980.h" +#include "render_player.h" struct UnkStruct80287560 { s16 unk0; diff --git a/src/ending/podium_ceremony_actors.c b/src/ending/podium_ceremony_actors.c index ced908978..b2fd207ae 100644 --- a/src/ending/podium_ceremony_actors.c +++ b/src/ending/podium_ceremony_actors.c @@ -9,7 +9,7 @@ #include "memory.h" #include "variables.h" #include "common_textures.h" -#include "code_8001F980.h" +#include "render_player.h" #include "hud_renderer.h" #include "podium_ceremony_actors.h" #include "camera_junk.h" diff --git a/src/hud_renderer.c b/src/hud_renderer.c index 7e582f356..7ace731f4 100644 --- a/src/hud_renderer.c +++ b/src/hud_renderer.c @@ -18,7 +18,7 @@ #include "waypoints.h" #include "bomb_kart.h" #include "common_textures.h" -#include "code_8001F980.h" +#include "render_player.h" #include "code_80004740.h" #include "code_80005FD0.h" #include "code_80057C60.h" diff --git a/src/main.c b/src/main.c index 53460ffd6..86d63419d 100644 --- a/src/main.c +++ b/src/main.c @@ -29,7 +29,7 @@ #include "code_80057C60.h" #include "profiler.h" #include "player_controller.h" -#include "code_8001F980.h" +#include "render_player.h" #include "render_courses.h" #include "actors.h" #include "staff_ghosts.h" diff --git a/src/math_util_2.c b/src/math_util_2.c index d2978b9cb..abcf890b2 100644 --- a/src/math_util_2.c +++ b/src/math_util_2.c @@ -9,7 +9,7 @@ #include "memory.h" #include "collision.h" -#include "code_8001F980.h" +#include "render_player.h" #pragma intrinsic (sqrtf) diff --git a/src/menus.c b/src/menus.c index 987f5e48f..66a24ab57 100644 --- a/src/menus.c +++ b/src/menus.c @@ -13,7 +13,7 @@ #include "code_80005FD0.h" #include "code_80091750.h" #include "code_800AF9B0.h" -#include "code_800B45E0.h" +#include "save.h" #include "staff_ghosts.h" #include "save_data.h" #include <sounds.h> diff --git a/src/player_controller.c b/src/player_controller.c index afc5da745..68719f8e2 100644 --- a/src/player_controller.c +++ b/src/player_controller.c @@ -9,7 +9,7 @@ #include "kart_attributes.h" #include "racing/memory.h" #include "math_util.h" -#include "code_8001F980.h" +#include "render_player.h" #include "code_8008C1D0.h" #include "collision.h" #include "waypoints.h" diff --git a/src/racing/skybox_and_splitscreen.c b/src/racing/skybox_and_splitscreen.c index 759c85504..b352c27b5 100644 --- a/src/racing/skybox_and_splitscreen.c +++ b/src/racing/skybox_and_splitscreen.c @@ -11,7 +11,7 @@ #include "memory.h" #include "camera.h" #include "common_textures.h" -#include "code_8001F980.h" +#include "render_player.h" #include "code_80057C60.h" #include "code_80091750.h" #include "actors.h" diff --git a/src/code_8001F980.c b/src/render_player.c index 7d251ab04..81607db3e 100644 --- a/src/code_8001F980.c +++ b/src/render_player.c @@ -11,7 +11,7 @@ #include "functions.h" #include "kart_dma.h" #include "objects.h" -#include "code_8001F980.h" +#include "render_player.h" #include "code_80057C60.h" #include "code_8008C1D0.h" #include "framebuffers.h" diff --git a/src/code_8001F980.h b/src/render_player.h index a83dc4d47..a83dc4d47 100644 --- a/src/code_8001F980.h +++ b/src/render_player.h diff --git a/src/code_800B45E0.c b/src/save.c index e6bbd03ce..a1a427630 100644 --- a/src/code_800B45E0.c +++ b/src/save.c @@ -3,7 +3,7 @@ #include <defines.h> #include "global.h" -#include "code_800B45E0.h" +#include "save.h" #include "code_80091750.h" #include "menus.h" @@ -370,7 +370,7 @@ s32 func_800B5218(void) { } } #else -GLOBAL_ASM("asm/non_matchings/code_800B45E0/func_800B5218.s") +GLOBAL_ASM("asm/non_matchings/save/func_800B5218.s") #endif void func_800B536C(s32 arg0) { @@ -506,7 +506,7 @@ s32 func_800B578C(s32 arg0) { return (var_v1 % 256) & 0xFF; } #else -GLOBAL_ASM("asm/non_matchings/code_800B45E0/func_800B578C.s") +GLOBAL_ASM("asm/non_matchings/save/func_800B578C.s") #endif s32 func_800B5888(s32 arg0) { @@ -759,7 +759,7 @@ u8 func_800B60E8(s32 page) { return checksum; } #else -GLOBAL_ASM("asm/non_matchings/code_800B45E0/func_800B60E8.s") +GLOBAL_ASM("asm/non_matchings/save/func_800B60E8.s") #endif s32 func_800B6178(s32 arg0) { @@ -982,7 +982,7 @@ u8 func_800B68F4(s32 arg0) { return checksum; } #else -GLOBAL_ASM("asm/non_matchings/code_800B45E0/func_800B68F4.s") +GLOBAL_ASM("asm/non_matchings/save/func_800B68F4.s") #endif #ifdef NON_MATCHING @@ -1006,7 +1006,7 @@ s32 func_800B69BC(s32 arg0) { return osPfsReadWriteFile(&gControllerPak1FileHandle, gControllerPak1FileNote, PFS_WRITE, offset, sizeof(struct_8018EE10_entry), (u8 *)plz); } #else -GLOBAL_ASM("asm/non_matchings/code_800B45E0/func_800B69BC.s") +GLOBAL_ASM("asm/non_matchings/save/func_800B69BC.s") #endif s32 func_800B6A68(void) { diff --git a/src/code_800B45E0.h b/src/save.h index 75e3ed935..927f4b7f2 100644 --- a/src/code_800B45E0.h +++ b/src/save.h @@ -1,5 +1,5 @@ -#ifndef CODE_800B045E0_H -#define CODE_800B045E0_H +#ifndef SAVE_H +#define SAVE_H #include "PR/os.h" #include "common_structs.h" diff --git a/src/spawn_players.c b/src/spawn_players.c index 4ee667e02..a46564a29 100644 --- a/src/spawn_players.c +++ b/src/spawn_players.c @@ -16,11 +16,11 @@ #include "render_courses.h" #include "staff_ghosts.h" #include "code_80005FD0.h" -#include "code_8001F980.h" +#include "render_player.h" #include "podium_ceremony_actors.h" #include "main.h" #include "menus.h" -#include "code_8001F980.h" +#include "render_player.h" // arg4 is height? Or something like that? void spawn_player(Player *player, s8 playerIndex, f32 startingRow, f32 startingColumn, f32 arg4, f32 arg5, u16 characterId, s16 playerType) { diff --git a/src/staff_ghosts.c b/src/staff_ghosts.c index 3044704ba..0a471f61b 100644 --- a/src/staff_ghosts.c +++ b/src/staff_ghosts.c @@ -7,7 +7,7 @@ #include "main.h" #include "code_800029B0.h" #include "framebuffers.h" -#include "code_800B45E0.h" +#include "save.h" #include "staff_ghosts.h" #include "code_80091750.h" |
