mirror of
https://github.com/n64decomp/mk64
synced 2026-07-09 21:21:34 -04:00
some rename and allow change the course engine (#691)
* some rename and allow change the course engine * fix comment * add more comment * rename and change description
This commit is contained in:
@@ -2,14 +2,19 @@
|
||||
#include "courses/all_course_data.h"
|
||||
#include <assets/ceremony_data.h>
|
||||
|
||||
#if !ENABLE_CUSTOM_COURSE_ENGINE
|
||||
// @warning Array contains an extra zero element at the end.
|
||||
KartAIBehaviour* gKartAIBehaviourLUT[] = {
|
||||
#include "assets/course_metadata/gKartAIBehaviourLUT.inc.c"
|
||||
|
||||
};
|
||||
#else
|
||||
|
||||
#endif
|
||||
|
||||
TrackWaypoint nullPath = { 0x8000, 0x0000, 0x0000, 0x0000 };
|
||||
|
||||
#if !ENABLE_CUSTOM_COURSE_ENGINE
|
||||
TrackWaypoint* gCoursePathTable[][4] = {
|
||||
#include "assets/course_metadata/gCoursePathTableUnknown.inc.c"
|
||||
};
|
||||
@@ -18,7 +23,7 @@ TrackWaypoint* gCoursePathTable2[][4] = {
|
||||
#include "assets/course_metadata/gCoursePathTable.inc.c"
|
||||
};
|
||||
|
||||
// @warning Array contains an extra zero element at the end.
|
||||
/// @warning Array contains an extra zero element at the end.
|
||||
s16 gKartAISteeringSensitivity[] = {
|
||||
#include "assets/course_metadata/gCPUSteeringSensitivity.inc.c"
|
||||
};
|
||||
@@ -32,6 +37,9 @@ f32 gKartAICourseMaximumSeparation[] = {
|
||||
f32 gKartAICourseMinimumSeparation[] = {
|
||||
#include "assets/course_metadata/gKartAICourseMinimumSeparation.inc.c"
|
||||
};
|
||||
#else
|
||||
|
||||
#endif
|
||||
|
||||
// I think the types for D_800DCAF4, D_800DCB34, and D_800DCBB4 are all
|
||||
// wrong in some way based on their usage in func_800088D8
|
||||
@@ -60,9 +68,13 @@ BombKartSpawn gBombKartSpawns[][NUM_BOMB_KARTS_MAX] = {
|
||||
#include "assets/course_metadata/gBombKartSpawns.inc.c"
|
||||
};
|
||||
|
||||
#if !ENABLE_CUSTOM_COURSE_ENGINE
|
||||
struct _struct_gCoursePathSizes_0x10 gCoursePathSizes[] = {
|
||||
#include "assets/course_metadata/gCoursePathSizes.inc.c"
|
||||
};
|
||||
#else
|
||||
|
||||
#endif
|
||||
|
||||
s32 D_800DDB20 = 0x00000000;
|
||||
|
||||
|
||||
@@ -6,27 +6,10 @@
|
||||
#include <assets/common_data.h>
|
||||
#include "include/bomb_kart.h"
|
||||
|
||||
struct _struct_gCoursePathSizes_0x10 {
|
||||
/* 0x00 */ u16 unk0;
|
||||
/* 0x02 */ u16 unk2;
|
||||
/* 0x04 */ u16 unk4;
|
||||
/* 0x06 */ u16 unk6;
|
||||
/* 0x08 */ u16 unk8;
|
||||
/* 0x0A */ char padA[6];
|
||||
}; // size 0x10
|
||||
|
||||
extern KartAIBehaviour* gKartAIBehaviourLUT[];
|
||||
extern TrackWaypoint nullPath;
|
||||
extern TrackWaypoint* gCoursePathTable[][4];
|
||||
extern TrackWaypoint* gCoursePathTable2[][4];
|
||||
extern s16 gKartAISteeringSensitivity[];
|
||||
extern f32 gKartAICourseMaximumSeparation[];
|
||||
extern f32 gKartAICourseMinimumSeparation[];
|
||||
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 s32 D_800DDB20;
|
||||
extern s32 D_800DDB24;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user