mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-09-03 02:33:55 -04:00
Clear Podium Actors, Path debug info (#405)
* Various Changes * Update code_80005FD0.c * Update code_80005FD0.c
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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?
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user