mirror of
https://github.com/n64decomp/mk64
synced 2026-07-28 15:17:01 -04:00
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
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "memory.h"
|
||||
#include "collision.h"
|
||||
#include "code_8001F980.h"
|
||||
#include "render_player.h"
|
||||
|
||||
#pragma intrinsic (sqrtf)
|
||||
|
||||
|
||||
+1
-1
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
@@ -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) {
|
||||
@@ -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"
|
||||
+2
-2
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user