Clear Podium Actors, Path debug info (#405)

* Various Changes

* Update code_80005FD0.c

* Update code_80005FD0.c
This commit is contained in:
MegaMech
2025-07-03 06:36:53 -06:00
committed by GitHub
parent 99689a3f70
commit f9d2b51a53
6 changed files with 13 additions and 2 deletions
+2
View File
@@ -3728,6 +3728,8 @@ void load_track_path(s32 pathIndex) {
if (!bInvalidPath) {
var_v0 = func_80011014(pathDest, path, sp24, pathIndex);
gPathCountByPathIndex[pathIndex] = (u16) var_v0;
} else {
printf("PathTable is invalid. It has %d path points\n It may also be missing the end tag.\n", i);
}
}
}
+1 -1
View File
@@ -28,7 +28,7 @@
f32 D_802856B0 = 98.0f;
f32 D_802856B4 = 12.0f;
f32 gOrderedSizeSlidingBorders = 52.0f;
f32 D_802856BC = 52.0f;
static const f32 D_802856BC = 52.0f;
f32 gSizeSlidingBorders = 0.0f;
s32 D_802856C4 = 0;
-1
View File
@@ -209,7 +209,6 @@ extern s32 D_80283FF4;
extern f32 D_802856B0;
extern f32 D_802856B4;
extern f32 gOrderedSizeSlidingBorders;
extern f32 D_802856BC;
extern f32 gSizeSlidingBorders;
extern s32 D_802856C4;
extern s32 D_802856C8[]; // padding?
+5
View File
@@ -24,6 +24,9 @@
#include <string.h>
#include "port/Game.h"
// For init podium ceremony
#include "ceremony_and_credits.h"
#define bcopy memcpy
u8 defaultCharacterIds[] = { 1, 2, 3, 4, 5, 6, 7, 0 };
@@ -92,6 +95,8 @@ void func_802818BC(void) {
void setup_podium_ceremony(void) {
Camera* camera = &cameras[0];
clear_podium_actors();
gCurrentCourseId = COURSE_ROYAL_RACEWAY;
SelectPodiumCeremony();
D_800DC5B4 = (u16) 1;
+4
View File
@@ -132,6 +132,10 @@ CeremonyActor* new_actor(ActorInitParams* arg0) {
return actor;
}
void clear_podium_actors() {
memset(&sPodiumActorList, 0, sizeof(CeremonyActor));
}
u16 random_u16_credits(void) {
u16 temp1, temp2;
+1
View File
@@ -100,6 +100,7 @@ void func_80281530(void);
void func_80281538(void);
void func_80281540(void);
void podium_ceremony_loop(void);
void clear_podium_actors(void);
extern struct_D_802874D8 D_802874D8;
extern CeremonyActor* sPodiumActorList;