Cleanup undefined_syms for all the course data (#407)

* Update building of packed_dl files

* Expose course_data symbols to linker.

* Remove undefined_syms for course data

* Update ctx_includes

Signed-off-by: Taggerung <tyler.taggerung@email.com>
This commit is contained in:
Tyler McGavran
2023-09-09 00:56:49 -04:00
committed by GitHub
parent 208fecdd28
commit 7afffb63f5
63 changed files with 4521 additions and 3966 deletions
+4 -3
View File
@@ -11,6 +11,7 @@
#include <sounds.h>
#include <functions.h>
#include "audio/external.h"
#include "courses/all_course_data.h"
void func_8006E9C0(void) {
@@ -1182,7 +1183,7 @@ void func_80070714(void) {
#ifdef MIPS_TO_C
//generated by m2c commit b52d92c2340f6f4ba1aafb464188bb698752fbb0 on Jul-28-2023
extern u8 D_06007DB8;
extern u8 d_course_banshee_boardwalk_bat;
extern ? *D_80165758;
extern ? D_80183EB0;
extern ? D_80183EC8;
@@ -1203,7 +1204,7 @@ extern ? D_8018D1C4;
extern s32 D_8018D1C8;
extern s32 D_8018D1D0;
extern s32 D_8018D1D8;
extern u8 gTLUTBat;
extern u8 d_course_banshee_boardwalk_bat_tlut;
s16 gCurrentCourseId; /* unable to generate initializer */
static ? D_800E5728; /* unable to generate initializer */
static ? D_800E5854; /* unable to generate initializer */
@@ -1391,7 +1392,7 @@ void func_80070780(void) {
case 3:
if (gGamestate != 9) {
temp_s0_4 = D_80183EA0->unk0;
func_80073444(temp_s0_4, &gTLUTBat, &D_06007DB8, 0x20U, (u16) 0x00000040);
func_80073444(temp_s0_4, &d_course_banshee_boardwalk_bat_tlut, &d_course_banshee_boardwalk_bat, 0x20U, (u16) 0x00000040);
temp_v0_4 = &D_80165C18[temp_s0_4];
temp_v0_4->unk_0B2[0] = 0;
temp_v0_4->unk_0B2[1] = 0;