summaryrefslogtreecommitdiff
path: root/courses
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2024-11-14 23:32:55 -0700
committerGitHub <noreply@github.com>2024-11-14 23:32:55 -0700
commit475f167bb2803999c5116bc285601d1f9a05d7de (patch)
tree859fec292c5c9807cc9690ebf4f0600f558b6063 /courses
parent4fbb031dd95f2a84e73fbca269f517e98808d293 (diff)
[modding] Big Update PR (#118)
* Implement kart vehicle * Fix menu CC * Actors * variable framerate * Implement Actors vector * Fix water & scrolling textures * Finish ACoin * Refactor finishline * Refactor mtx to vector * Fix refactored screen code bugs * Fix playlist bug * Switching courses working now * Fix podium ceremony * Mostly Fix Demo and Credits * Credits Load Actors and Textures * Fix credits * Formatting * Update lus and torch * Fix water features * Fix crabs * Combine function * Fix wheels * Add Moon Jump Cheat * Wheel Change * Fix smoke due to wheel change * Fix screens for wheels * Fix transparency * Fix staff ghost * Fix lakitu transition widescreen * Rename and export credits text * Fixes --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'courses')
-rw-r--r--courses/staff_ghost_data.c3
-rw-r--r--courses/staff_ghost_data.h14
2 files changed, 16 insertions, 1 deletions
diff --git a/courses/staff_ghost_data.c b/courses/staff_ghost_data.c
index f872a846e..664d625be 100644
--- a/courses/staff_ghost_data.c
+++ b/courses/staff_ghost_data.c
@@ -1,6 +1,7 @@
#include <libultraship.h>
#include <macros.h>
#include <common_structs.h>
+#include "staff_ghost_data.h"
/*
* This file is required for data alignment
@@ -11,7 +12,7 @@ StaffGhost d_mario_raceway_staff_ghost[] = {
#include "courses/mario_raceway/staff_ghost.inc.c"
};
-StaffGhost d_luigi_raceway_staff_ghost[1046] = {
+StaffGhost d_luigi_raceway_staff_ghost[] = {
#include "courses/luigi_raceway/staff_ghost.inc.c"
};
diff --git a/courses/staff_ghost_data.h b/courses/staff_ghost_data.h
new file mode 100644
index 000000000..dd9650995
--- /dev/null
+++ b/courses/staff_ghost_data.h
@@ -0,0 +1,14 @@
+#ifndef _STAFF_GHOST_DATA
+#define _STAFF_GHOST_DATA
+
+#include <libultraship.h>
+#include <macros.h>
+#include <common_structs.h>
+
+extern StaffGhost d_mario_raceway_staff_ghost[];
+extern StaffGhost d_royal_raceway_staff_ghost[];
+extern StaffGhost d_luigi_raceway_staff_ghost[];
+
+
+
+#endif // _STAFF_GHOST_DATA \ No newline at end of file