summaryrefslogtreecommitdiff
path: root/src/data
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2024-10-05 15:31:31 -0600
committerGitHub <noreply@github.com>2024-10-05 15:31:31 -0600
commit75297759ee906b103ff9714dad17e683f1757b7f (patch)
tree2a81aff6c8e1d2be2806f34f8850c74499980479 /src/data
parent447fd8b29057e8dcc223507e6b7d6bc448c6f7d8 (diff)
[modding] Course Mod Support (#104)
* Course Manager * Course * Test * Render * That escalated quickly * update * properties * Properties * test * Fix compile * Add World * skycolours * Skybox Colours done * Cleanup * test * Game runs again * update * Game run again * Cup Works * continue * Add Courses * clouds * changes * fixes * update * Fix compile * update * A few changes * More Updates * More refactors * Fixes * Fix ai behaviour * Changes * Fix courses * test course test not working * CUSTOM * TestCourse works kinda * fixes * test course works * cleanup --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/data')
-rw-r--r--src/data/path_spawn_metadata.c2
-rw-r--r--src/data/path_spawn_metadata.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/data/path_spawn_metadata.c b/src/data/path_spawn_metadata.c
index 7bc08dfb8..2157eae02 100644
--- a/src/data/path_spawn_metadata.c
+++ b/src/data/path_spawn_metadata.c
@@ -70,7 +70,7 @@ BombKartSpawn gBombKartSpawns[][NUM_BOMB_KARTS_MAX] = {
#include "assets/course_metadata/gBombKartSpawns.inc.c"
};
-struct _struct_gCoursePathSizes_0x10 gCoursePathSizes[] = {
+_struct_gCoursePathSizes_0x10 gCoursePathSizes[] = {
#include "assets/course_metadata/gCoursePathSizes.inc.c"
};
diff --git a/src/data/path_spawn_metadata.h b/src/data/path_spawn_metadata.h
index cbddae31f..d1fc5451f 100644
--- a/src/data/path_spawn_metadata.h
+++ b/src/data/path_spawn_metadata.h
@@ -6,14 +6,14 @@
#include <assets/common_data.h>
#include "include/bomb_kart.h"
-struct _struct_gCoursePathSizes_0x10 {
+typedef struct {
/* 0x00 */ u16 unk0;
/* 0x02 */ u16 unk2;
/* 0x04 */ u16 unk4;
/* 0x06 */ u16 unk6;
/* 0x08 */ u16 unk8;
/* 0x0A */ char padA[6];
-}; // size 0x10
+} _struct_gCoursePathSizes_0x10; // size 0x10
extern KartAIBehaviour* gKartAIBehaviourLUT[];
extern TrackWaypoint nullPath;
@@ -26,7 +26,7 @@ extern s16 D_800DCAF4[];
extern s16 D_800DCB34[];
extern s16* D_800DCBB4[];
extern BombKartSpawn gBombKartSpawns[][NUM_BOMB_KARTS_MAX];
-extern struct _struct_gCoursePathSizes_0x10 gCoursePathSizes[];
+extern _struct_gCoursePathSizes_0x10 gCoursePathSizes[];
extern s32 D_800DDB20;
extern s32 D_800DDB24;