update clang and add action (#664)

* update clang and add action

* try clang on course folder only

* forget two file

* Update course_displaylists.inc.c

* forget few other file

* Update course_vertices.inc.c

* format all code while get it match

* second pass

* format other dir

* disable clang format on bad ido code

* fix some tabulation

* revert format on tool dir

* Update clang-format.yml

* ignore gbi.h

* add some read me instruction

* fix error

* format and fixing error

* Update README.md

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
coco875
2024-08-24 23:27:53 +02:00
committed by GitHub
parent 368c276e1e
commit 17a6f4bb3d
405 changed files with 190745 additions and 207588 deletions
+117 -117
View File
@@ -36,7 +36,7 @@ Gfx D_020076E0[] = {
gsSPEndDisplayList(),
};
Gfx D_02007708[] = {
Gfx D_02007708[] = {
gsDPPipeSync(),
gsDPSetRenderMode(G_RM_OPA_SURF, G_RM_OPA_SURF2),
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
@@ -270,207 +270,207 @@ Gfx D_02007B18[] = {
};
UNUSED Vtx D_02007B38[] = {
{{{ 0, 0, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 16, 0, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 16, 16, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 0, 16, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 0, -8, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 8, -8, 0}, 0, {448, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 8, 0, 0}, 0, {448, 448}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 448}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 0, 0, 0 }, 0, { 0, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 16, 0, 0 }, 0, { 0, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 16, 16, 0 }, 0, { 0, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 0, 16, 0 }, 0, { 0, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 0, -8, 0 }, 0, { 0, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 8, -8, 0 }, 0, { 448, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 8, 0, 0 }, 0, { 448, 448 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 448 }, { 0xff, 0x00, 0x00, 0xff } } },
};
#ifdef AVOID_UB
Vtx D_02007BB8[] = {
{{{ 0, 65520, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{26, 65520, 0}, 0, {1600, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{26, 0, 0}, 0, {1600, 960}, {0x00, 0x00, 0xff, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0x00, 0x00, 0xff, 0xff}}},
{{{26, 0, 0}, 0, {1600, 960}, {0x00, 0xff, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0x00, 0xff, 0x00, 0xff}}},
{{{26, 0, 0}, 0, {1600, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{26, 0, 0}, 0, {1600, 960}, {0xff, 0xff, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0xff, 0x00, 0xff}}},
{{{26, 0, 0}, 0, {1600, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{26, 0, 0}, 0, {1600, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{26, 0, 0}, 0, {1600, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{26, 0, 0}, 0, {1600, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 65520, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{16, 65520, 0}, 0, {960, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{16, 0, 0}, 0, {960, 960}, {0x00, 0x00, 0xff, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0x00, 0x00, 0xff, 0xff}}},
{{{16, 0, 0}, 0, {960, 960}, {0x00, 0xff, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0x00, 0xff, 0x00, 0xff}}},
{{{16, 0, 0}, 0, {960, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{16, 0, 0}, 0, {960, 960}, {0xff, 0xff, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0xff, 0x00, 0xff}}},
{{{16, 0, 0}, 0, {960, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{16, 0, 0}, 0, {960, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{16, 0, 0}, 0, {960, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{16, 0, 0}, 0, {960, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 65504, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{30, 65504, 0}, 0, {1856, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{30, 0, 0}, 0, {1856, 1984}, {0x00, 0x00, 0xff, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0x00, 0x00, 0xff, 0xff}}},
{{{30, 0, 0}, 0, {1856, 1984}, {0x00, 0xff, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0x00, 0xff, 0x00, 0xff}}},
{{{30, 0, 0}, 0, {1856, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{30, 0, 0}, 0, {1856, 1984}, {0xff, 0xff, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0xff, 0xff, 0x00, 0xff}}},
{{{30, 0, 0}, 0, {1856, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{30, 0, 0}, 0, {1856, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{30, 0, 0}, 0, {1856, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{30, 0, 0}, 0, {1856, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 0, 65520, 0 }, 0, { 0, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 26, 65520, 0 }, 0, { 1600, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0x00, 0x00, 0xff, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0x00, 0x00, 0xff, 0xff } } },
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0x00, 0xff, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0x00, 0xff, 0x00, 0xff } } },
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0xff, 0xff, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0xff, 0x00, 0xff } } },
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 65520, 0 }, 0, { 0, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 16, 65520, 0 }, 0, { 960, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0x00, 0x00, 0xff, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0x00, 0x00, 0xff, 0xff } } },
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0x00, 0xff, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0x00, 0xff, 0x00, 0xff } } },
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0xff, 0xff, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0xff, 0x00, 0xff } } },
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 65504, 0 }, 0, { 0, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 30, 65504, 0 }, 0, { 1856, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0x00, 0x00, 0xff, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0x00, 0x00, 0xff, 0xff } } },
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0x00, 0xff, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0x00, 0xff, 0x00, 0xff } } },
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0xff, 0xff, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0xff, 0xff, 0x00, 0xff } } },
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
};
#else
Vtx D_02007BB8[] = {
{{{ 0, 65520, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{26, 65520, 0}, 0, {1600, 0}, {0xff, 0xff, 0xff, 0xff}}},
{ { { 0, 65520, 0 }, 0, { 0, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 26, 65520, 0 }, 0, { 1600, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
};
Vtx D_02007BD8[] = {
{{{26, 0, 0}, 0, {1600, 960}, {0x00, 0x00, 0xff, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0x00, 0x00, 0xff, 0xff}}},
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0x00, 0x00, 0xff, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0x00, 0x00, 0xff, 0xff } } },
};
Vtx D_02007BF8[] = {
{{{26, 0, 0}, 0, {1600, 960}, {0x00, 0xff, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0x00, 0xff, 0x00, 0xff}}},
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0x00, 0xff, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0x00, 0xff, 0x00, 0xff } } },
};
Vtx D_02007C18[] = {
{{{26, 0, 0}, 0, {1600, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007C38[] = {
{{{26, 0, 0}, 0, {1600, 960}, {0xff, 0xff, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0xff, 0x00, 0xff}}},
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0xff, 0xff, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0xff, 0x00, 0xff } } },
};
Vtx D_02007C58[] = {
{{{26, 0, 0}, 0, {1600, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007C78[] = {
{{{26, 0, 0}, 0, {1600, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007C98[] = {
{{{26, 0, 0}, 0, {1600, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007CB8[] = {
{{{26, 0, 0}, 0, {1600, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 26, 0, 0 }, 0, { 1600, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007CD8[] = {
{{{ 0, 65520, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{16, 65520, 0}, 0, {960, 0}, {0xff, 0xff, 0xff, 0xff}}},
{ { { 0, 65520, 0 }, 0, { 0, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 16, 65520, 0 }, 0, { 960, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
};
Vtx D_02007CF8[] = {
{{{16, 0, 0}, 0, {960, 960}, {0x00, 0x00, 0xff, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0x00, 0x00, 0xff, 0xff}}},
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0x00, 0x00, 0xff, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0x00, 0x00, 0xff, 0xff } } },
};
Vtx D_02007D18[] = {
{{{16, 0, 0}, 0, {960, 960}, {0x00, 0xff, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0x00, 0xff, 0x00, 0xff}}},
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0x00, 0xff, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0x00, 0xff, 0x00, 0xff } } },
};
Vtx D_02007D38[] = {
{{{16, 0, 0}, 0, {960, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007D58[] = {
{{{16, 0, 0}, 0, {960, 960}, {0xff, 0xff, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0xff, 0x00, 0xff}}},
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0xff, 0xff, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0xff, 0x00, 0xff } } },
};
Vtx D_02007D78[] = {
{{{16, 0, 0}, 0, {960, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007D98[] = {
{{{16, 0, 0}, 0, {960, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007DB8[] = {
{{{16, 0, 0}, 0, {960, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007DD8[] = {
{{{16, 0, 0}, 0, {960, 960}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 960}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 16, 0, 0 }, 0, { 960, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 960 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007DF8[] = {
{{{ 0, 65504, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{30, 65504, 0}, 0, {1856, 0}, {0xff, 0xff, 0xff, 0xff}}},
{ { { 0, 65504, 0 }, 0, { 0, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
{ { { 30, 65504, 0 }, 0, { 1856, 0 }, { 0xff, 0xff, 0xff, 0xff } } },
};
Vtx D_02007E18[] = {
{{{30, 0, 0}, 0, {1856, 1984}, {0x00, 0x00, 0xff, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0x00, 0x00, 0xff, 0xff}}},
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0x00, 0x00, 0xff, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0x00, 0x00, 0xff, 0xff } } },
};
Vtx D_02007E38[] = {
{{{30, 0, 0}, 0, {1856, 1984}, {0x00, 0xff, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0x00, 0xff, 0x00, 0xff}}},
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0x00, 0xff, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0x00, 0xff, 0x00, 0xff } } },
};
Vtx D_02007E58[] = {
{{{30, 0, 0}, 0, {1856, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007E78[] = {
{{{30, 0, 0}, 0, {1856, 1984}, {0xff, 0xff, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0xff, 0xff, 0x00, 0xff}}},
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0xff, 0xff, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0xff, 0xff, 0x00, 0xff } } },
};
Vtx D_02007E98[] = {
{{{30, 0, 0}, 0, {1856, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007EB8[] = {
{{{30, 0, 0}, 0, {1856, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007ED8[] = {
{{{30, 0, 0}, 0, {1856, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
};
Vtx D_02007EF8[] = {
{{{30, 0, 0}, 0, {1856, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{{{ 0, 0, 0}, 0, { 0, 1984}, {0xff, 0x00, 0x00, 0xff}}},
{ { { 30, 0, 0 }, 0, { 1856, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
{ { { 0, 0, 0 }, 0, { 0, 1984 }, { 0xff, 0x00, 0x00, 0xff } } },
};
#endif
+63 -65
View File
@@ -16,27 +16,27 @@ f32 D_800E23C0[] = {
f32 D_800E23E0[] = {
-30.0, -30.0, -30.0, -30.0, -30.0, -30.0, -30.0, -30.0,
};
f32 *D_800E2400[5] = {
f32* D_800E2400[5] = {
D_800E2360, D_800E2380, D_800E23A0, D_800E23C0, D_800E23E0,
};
// Mario Luigi Yoshi Toad D.K. Wario Peach Bowser
f32 D_800E2414[] = {
28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0,
28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0,
};
f32 D_800E2434[] = {
28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0,
28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0,
};
f32 D_800E2454[] = {
35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0,
35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0,
};
f32 D_800E2474[] = {
28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0,
28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0,
};
f32 D_800E2494[] = {
48.0, 48.0, 48.0, 48.0, 48.0, 48.0, 48.0, 48.0,
48.0, 48.0, 48.0, 48.0, 48.0, 48.0, 48.0, 48.0,
};
f32 *D_800E24B4[5] = {
f32* D_800E24B4[5] = {
D_800E2414, D_800E2434, D_800E2454, D_800E2474, D_800E2494,
};
@@ -56,45 +56,50 @@ f32 D_800E2528[] = {
f32 D_800E2548[] = {
2401.0, 2401.0, 2401.0, 2401.0, 2401.0, 2401.0, 2401.0, 2401.0,
};
f32 *D_800E2568[5] = {
f32* D_800E2568[5] = {
D_800E24C8, D_800E24E8, D_800E2508, D_800E2528, D_800E2548,
};
// Mario Luigi Yoshi Toad D.K. Wario Peach Bowser
f32 gTopSpeed50cc[] = { // 50CC
f32 gTopSpeed50cc[] = {
// 50CC
290.0, 290.0, 294.0, 294.0, 290.0, 290.0, 294.0, 290.0,
};
f32 gTopSpeed100cc[] = { // 100CC
f32 gTopSpeed100cc[] = {
// 100CC
310.0, 310.0, 314.0, 314.0, 310.0, 310.0, 314.0, 310.0,
};
f32 gTopSpeed150cc[] = { // 150CC
f32 gTopSpeed150cc[] = {
// 150CC
320.0, 320.0, 324.0, 324.0, 320.0, 320.0, 324.0, 320.0,
};
f32 gTopSpeedExtra[] = { // Extra
f32 gTopSpeedExtra[] = {
// Extra
310.0, 310.0, 314.0, 314.0, 310.0, 310.0, 314.0, 310.0,
};
f32 gTopSpeedBattle[] = { // Battle mode
f32 gTopSpeedBattle[] = {
// Battle mode
245.0, 245.0, 245.0, 245.0, 245.0, 245.0, 245.0, 245.0,
};
f32 *gTopSpeedTable[5] = {
f32* gTopSpeedTable[5] = {
gTopSpeed50cc, gTopSpeed100cc, gTopSpeed150cc, gTopSpeedExtra, gTopSpeedBattle,
};
// Mario Luigi Yoshi Toad D.K. Wario Peach Bowser
f32 gKartFrictionTable[] = {
5800.0, 5800.0, 5800.0, 5800.0, 5800.0, 5800.0, 5800.0, 5800.0,
5800.0, 5800.0, 5800.0, 5800.0, 5800.0, 5800.0, 5800.0, 5800.0,
};
f32 gKartGravityTable[] = {
2600.0, 2600.0, 2600.0, 2600.0, 2600.0, 2600.0, 2600.0, 2600.0,
2600.0, 2600.0, 2600.0, 2600.0, 2600.0, 2600.0, 2600.0, 2600.0,
};
f32 D_800E2670[] = {
0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12,
0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12,
};
f32 gKartTopSpeedTable[] = {
9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0,
9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0,
};
f32 gKartBoundingBoxSizeTable[] = {
5.5, 5.5, 5.5, 5.5, 5.5, 6.0, 5.5, 6.0,
5.5, 5.5, 5.5, 5.5, 5.5, 6.0, 5.5, 6.0,
};
// Mario
@@ -161,13 +166,11 @@ f32 D_800E2A18[] = {
f32 D_800E2A54[] = {
0.0, 0.0, 0.3, 0.3, 0.0, 0.3, 0.0, 0.58, 0.58, 0.0, 0.58, 0.28, 0.0, 0.58, 0.0,
};
f32 *D_800E2A90[8] = {
D_800E28B0, D_800E28EC, D_800E2928, D_800E2964,
D_800E29A0, D_800E29DC, D_800E2A18, D_800E2A54,
f32* D_800E2A90[8] = {
D_800E28B0, D_800E28EC, D_800E2928, D_800E2964, D_800E29A0, D_800E29DC, D_800E2A18, D_800E2A54,
};
f32 *D_800E2AB0[8] = {
D_800E26D0, D_800E270C, D_800E2748, D_800E2784,
D_800E27C0, D_800E27FC, D_800E2838, D_800E2874,
f32* D_800E2AB0[8] = {
D_800E26D0, D_800E270C, D_800E2748, D_800E2784, D_800E27C0, D_800E27FC, D_800E2838, D_800E2874,
};
// Mario
@@ -234,43 +237,41 @@ f32 D_800E2E18[] = {
f32 D_800E2E54[] = {
0.0, 0.0, 0.0, 0.04, 0.0, 0.0, 0.0, 0.1, 0.1, 0.0, 0.0, 0.1, 0.0, 0.1, 0.1,
};
f32 *D_800E2E90[8] = {
D_800E2CB0, D_800E2CEC, D_800E2D28, D_800E2D64,
D_800E2DA0, D_800E2DDC, D_800E2E18, D_800E2E54,
f32* D_800E2E90[8] = {
D_800E2CB0, D_800E2CEC, D_800E2D28, D_800E2D64, D_800E2DA0, D_800E2DDC, D_800E2E18, D_800E2E54,
};
f32 *D_800E2EB0[8] = {
D_800E2AD0, D_800E2B0C, D_800E2B48, D_800E2B84,
D_800E2BC0, D_800E2BFC, D_800E2C38, D_800E2C74,
f32* D_800E2EB0[8] = {
D_800E2AD0, D_800E2B0C, D_800E2B48, D_800E2B84, D_800E2BC0, D_800E2BFC, D_800E2C38, D_800E2C74,
};
// accel1 accel2 accel3 accel4 accel5 accel6 accel7 accel8 accel9 accel10
f32 gKartAccelerationMario[] = {
2.0, 2.0, 2.0, 1.6, 1.4, 1.2, 1.0, 0.8, 0.6, 0.4,
2.0, 2.0, 2.0, 1.6, 1.4, 1.2, 1.0, 0.8, 0.6, 0.4,
};
f32 gKartAccelerationLuigi[] = {
2.0, 2.0, 2.0, 1.6, 1.4, 1.2, 1.0, 0.8, 0.6, 0.4,
2.0, 2.0, 2.0, 1.6, 1.4, 1.2, 1.0, 0.8, 0.6, 0.4,
};
f32 gKartAccelerationYoshi[] = {
2.0, 2.0, 2.5, 2.6, 2.6, 2.0, 1.5, 0.8, 0.8, 0.8,
2.0, 2.0, 2.5, 2.6, 2.6, 2.0, 1.5, 0.8, 0.8, 0.8,
};
f32 gKartAccelerationToad[] = {
2.0, 2.0, 2.5, 2.6, 2.6, 2.0, 1.5, 0.8, 0.8, 0.8,
2.0, 2.0, 2.5, 2.6, 2.6, 2.0, 1.5, 0.8, 0.8, 0.8,
};
f32 gKartAccelerationDK[] = {
2.0, 2.0, 2.0, 1.6, 1.0, 1.0, 1.0, 1.8, 1.8, 1.2,
2.0, 2.0, 2.0, 1.6, 1.0, 1.0, 1.0, 1.8, 1.8, 1.2,
};
f32 gKartAccelerationWario[] = {
2.0, 2.0, 2.0, 1.6, 1.0, 1.0, 1.0, 1.8, 1.8, 1.2,
2.0, 2.0, 2.0, 1.6, 1.0, 1.0, 1.0, 1.8, 1.8, 1.2,
};
f32 gKartAccelerationPeach[] = {
2.0, 2.0, 2.5, 2.6, 2.6, 2.0, 1.5, 0.8, 0.8, 0.8,
2.0, 2.0, 2.5, 2.6, 2.6, 2.0, 1.5, 0.8, 0.8, 0.8,
};
f32 gKartAccelerationBowser[] = {
2.0, 2.0, 2.0, 1.6, 1.0, 1.0, 1.0, 1.8, 1.8, 1.2,
2.0, 2.0, 2.0, 1.6, 1.0, 1.0, 1.0, 1.8, 1.8, 1.2,
};
f32 *gKartAccelerationTables[8] = {
f32* gKartAccelerationTables[8] = {
gKartAccelerationMario, gKartAccelerationLuigi, gKartAccelerationYoshi, gKartAccelerationToad,
gKartAccelerationDK, gKartAccelerationWario, gKartAccelerationPeach, gKartAccelerationBowser,
gKartAccelerationDK, gKartAccelerationWario, gKartAccelerationPeach, gKartAccelerationBowser,
};
// Mario
@@ -305,9 +306,8 @@ f32 D_800E3198[] = {
f32 D_800E31D4[] = {
0.0, 0.0, 0.2, 0.2, 0.0, 0.4, 0.1, 0.2, 0.2, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
};
f32 *D_800E3210[8] = {
D_800E3030, D_800E306C, D_800E30A8, D_800E30E4,
D_800E3120, D_800E315C, D_800E3198, D_800E31D4,
f32* D_800E3210[8] = {
D_800E3030, D_800E306C, D_800E30A8, D_800E30E4, D_800E3120, D_800E315C, D_800E3198, D_800E31D4,
};
// Mario
@@ -342,9 +342,8 @@ f32 D_800E3398[] = {
f32 D_800E33D4[] = {
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
};
f32 *D_800E3410[8] = {
D_800E3230, D_800E326C, D_800E32A8, D_800E32E4,
D_800E3320, D_800E335C, D_800E3398, D_800E33D4,
f32* D_800E3410[8] = {
D_800E3230, D_800E326C, D_800E32A8, D_800E32E4, D_800E3320, D_800E335C, D_800E3398, D_800E33D4,
};
// Mario
@@ -379,54 +378,53 @@ f32 D_800E3598[] = {
f32 D_800E35D4[] = {
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
};
f32 *D_800E3610[8] = {
D_800E3430, D_800E346C, D_800E34A8, D_800E34E4,
D_800E3520, D_800E355C, D_800E3598, D_800E35D4,
f32* D_800E3610[8] = {
D_800E3430, D_800E346C, D_800E34A8, D_800E34E4, D_800E3520, D_800E355C, D_800E3598, D_800E35D4,
};
// Mario Luigi Yoshi Toad D.K. Wario Peach Bowser
f32 gKartHandlingTable[] = {
1.25, 1.25, 1.28, 1.28, 1.15, 1.15, 1.28, 1.15,
1.25, 1.25, 1.28, 1.28, 1.15, 1.15, 1.28, 1.15,
};
f32 gKartTable800E3650[] = {
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
};
f32 gKartTurnSpeedReductionTable0[] = {
0.0, 0.0, 0.002, 0.002, -0.002, -0.002, 0.002, -0.002,
0.0, 0.0, 0.002, 0.002, -0.002, -0.002, 0.002, -0.002,
};
f32 gKartTurnSpeedReductionTable1[] = {
0.0, 0.0, 0.002, 0.002, -0.002, -0.002, 0.002, -0.002,
0.0, 0.0, 0.002, 0.002, -0.002, -0.002, 0.002, -0.002,
};
f32 gKartTripleABoost[] = {
2.0, 2.0, 3.0, 3.0, 1.5, 1.5, 3.0, 3.0,
2.0, 2.0, 3.0, 3.0, 1.5, 1.5, 3.0, 3.0,
};
f32 gKartHopInitialVelocityTable[] = {
0.93, 0.93, 0.93, 0.93, 0.93, 0.93, 0.93, 0.93,
0.93, 0.93, 0.93, 0.93, 0.93, 0.93, 0.93, 0.93,
};
f32 gKartHopJerkTable[] = {
0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03,
0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03,
};
f32 D_800E3710[] = {
2.2, 2.2, 2.2, 2.2, 2.2, 2.2, 2.2, 2.2,
2.2, 2.2, 2.2, 2.2, 2.2, 2.2, 2.2, 2.2,
};
f32 D_800E3730[] = {
0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002,
0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002,
};
f32 D_800E3750[] = {
2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0,
2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0,
};
f32 D_800E3770[] = {
0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002,
0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002,
};
f32 D_800E3790[] = {
1.2, 1.45, 1.45, 1.45, 1.45, 1.45, 1.45, 1.45,
1.2, 1.45, 1.45, 1.45, 1.45, 1.45, 1.45, 1.45,
};
f32 D_800E37B0[] = {
0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01,
0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01,
};
f32 D_800E37D0[] = {
3.5, 3.5, 3.5, 3.5, 3.5, 3.5, 3.5, 3.5,
3.5, 3.5, 3.5, 3.5, 3.5, 3.5, 3.5, 3.5,
};
f32 D_800E37F0[] = {
0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002,
0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002,
};
+21 -25
View File
@@ -3,34 +3,34 @@
#include <assets/ceremony_data.h>
// @warning Array contains an extra zero element at the end.
KartAIBehaviour *gKartAIBehaviourLUT[] = {
#include "assets/course_metadata/gKartAIBehaviourLUT.inc.c"
KartAIBehaviour* gKartAIBehaviourLUT[] = {
#include "assets/course_metadata/gKartAIBehaviourLUT.inc.c"
};
TrackWaypoint nullPath = { 0x8000, 0x0000, 0x0000, 0x0000 };
TrackWaypoint *gCoursePathTable[][4] = {
#include "assets/course_metadata/gCoursePathTableUnknown.inc.c"
TrackWaypoint* gCoursePathTable[][4] = {
#include "assets/course_metadata/gCoursePathTableUnknown.inc.c"
};
TrackWaypoint *gCoursePathTable2[][4] = {
#include "assets/course_metadata/gCoursePathTable.inc.c"
TrackWaypoint* gCoursePathTable2[][4] = {
#include "assets/course_metadata/gCoursePathTable.inc.c"
};
// @warning Array contains an extra zero element at the end.
s16 gKartAISteeringSensitivity[] = {
#include "assets/course_metadata/gCPUSteeringSensitivity.inc.c"
#include "assets/course_metadata/gCPUSteeringSensitivity.inc.c"
};
// Possibly maximum cpu separation
f32 gKartAICourseMaximumSeparation[] = {
#include "assets/course_metadata/gKartAICourseMaximumSeparation.inc.c"
#include "assets/course_metadata/gKartAICourseMaximumSeparation.inc.c"
};
// Possibly minimum cpu separation
f32 gKartAICourseMinimumSeparation[] = {
#include "assets/course_metadata/gKartAICourseMinimumSeparation.inc.c"
#include "assets/course_metadata/gKartAICourseMinimumSeparation.inc.c"
};
// I think the types for D_800DCAF4, D_800DCB34, and D_800DCBB4 are all
@@ -38,34 +38,30 @@ f32 gKartAICourseMinimumSeparation[] = {
// But I cannot be bothered to figure it out
// Used as a ptr in D_800DCBB4
s16 D_800DCAF4[] = {
0x0014, 0x0005, 0x000a, 0x000f, 0x0014, 0x0019, 0x001e, 0x0023,
0x001e, 0x0019, 0x0032, 0x004b, 0x0064, 0x007d, 0x0096, 0x00af,
0x0028, 0x001e, 0x003c, 0x005a, 0x0078, 0x0096, 0x00b4, 0x00d2,
0x0032, 0x0028, 0x0050, 0x0078, 0x00a0, 0x00c8, 0x00f0, 0x0118,
0x0014, 0x0005, 0x000a, 0x000f, 0x0014, 0x0019, 0x001e, 0x0023, 0x001e, 0x0019, 0x0032,
0x004b, 0x0064, 0x007d, 0x0096, 0x00af, 0x0028, 0x001e, 0x003c, 0x005a, 0x0078, 0x0096,
0x00b4, 0x00d2, 0x0032, 0x0028, 0x0050, 0x0078, 0x00a0, 0x00c8, 0x00f0, 0x0118,
};
// Used as a ptr in D_800DCBB4
s16 D_800DCB34[] = {
0x0014, 0x0005, 0x000a, 0x000f, 0x0014, 0x0019, 0x001e, 0x0023,
0x001e, 0x0019, 0x002d, 0x0041, 0x005a, 0x0073, 0x008c, 0x00a5,
0x0028, 0x0003, 0x0006, 0x0010, 0x002e, 0x0031, 0x003b, 0x0059,
0x0032, 0x001e, 0x003c, 0x003f, 0x0049, 0x004e, 0x006c, 0x008a,
0x000a, 0x0005, 0x000a, 0x000f, 0x0014, 0x0019, 0x001e, 0x0023,
0x000a, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005,
0x000a, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005,
0x000a, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005,
0x0014, 0x0005, 0x000a, 0x000f, 0x0014, 0x0019, 0x001e, 0x0023, 0x001e, 0x0019, 0x002d, 0x0041, 0x005a,
0x0073, 0x008c, 0x00a5, 0x0028, 0x0003, 0x0006, 0x0010, 0x002e, 0x0031, 0x003b, 0x0059, 0x0032, 0x001e,
0x003c, 0x003f, 0x0049, 0x004e, 0x006c, 0x008a, 0x000a, 0x0005, 0x000a, 0x000f, 0x0014, 0x0019, 0x001e,
0x0023, 0x000a, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005, 0x000a, 0x0005, 0x0005, 0x0005,
0x0005, 0x0005, 0x0005, 0x0005, 0x000a, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005, 0x0005,
};
s16 *D_800DCBB4[] = {
#include "assets/course_metadata/D_800DCBB4.inc.c"
s16* D_800DCBB4[] = {
#include "assets/course_metadata/D_800DCBB4.inc.c"
};
BombKartSpawn gBombKartSpawns[][NUM_BOMB_KARTS_MAX] = {
#include "assets/course_metadata/gBombKartSpawns.inc.c"
#include "assets/course_metadata/gBombKartSpawns.inc.c"
};
struct _struct_gCoursePathSizes_0x10 gCoursePathSizes[] = {
#include "assets/course_metadata/gCoursePathSizes.inc.c"
#include "assets/course_metadata/gCoursePathSizes.inc.c"
};
s32 D_800DDB20 = 0x00000000;
+5 -5
View File
@@ -13,18 +13,18 @@ struct _struct_gCoursePathSizes_0x10 {
/* 0x06 */ u16 unk6;
/* 0x08 */ u16 unk8;
/* 0x0A */ char padA[6];
}; // size 0x10
}; // size 0x10
extern KartAIBehaviour *gKartAIBehaviourLUT[];
extern KartAIBehaviour* gKartAIBehaviourLUT[];
extern TrackWaypoint nullPath;
extern TrackWaypoint *gCoursePathTable[][4];
extern TrackWaypoint *gCoursePathTable2[][4];
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 s16* D_800DCBB4[];
extern BombKartSpawn gBombKartSpawns[][NUM_BOMB_KARTS_MAX];
extern struct _struct_gCoursePathSizes_0x10 gCoursePathSizes[];
extern s32 D_800DDB20;
+596 -1018
View File
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -19,7 +19,7 @@ extern Vtx D_800E5210[];
extern Vtx gBalloonVertexPlane1[];
extern Vtx gBalloonVertexPlane2[];
extern u8 D_800E52D0[];
extern u8 *gCourseOutlineTextures[];
extern u8* gCourseOutlineTextures[];
extern s16 D_800E5520[];
extern s16 D_800E5548[];
extern u16 D_800E55A0[];
@@ -45,8 +45,8 @@ extern SplineData D_800E5BD4;
extern SplineData D_800E5C90;
extern SplineData D_800E5D54;
extern SplineData D_800E5D78;
extern SplineData *D_800E5D9C[];
extern SplineData *D_800E5DB0;
extern SplineData* D_800E5D9C[];
extern SplineData* D_800E5DB0;
extern s8 D_800E5DB4[];
extern YVFlagPoleSpawn D_800E5DF4[];
extern HegdehogSpawn gHedgehogSpawns[];
@@ -58,15 +58,15 @@ extern SplineData D_800E6034;
extern SplineData D_800E60F0;
extern SplineData D_800E61B4;
extern SplineData D_800E6280;
extern SplineData *D_800E633C[];
extern SplineData* D_800E633C[];
extern Vec3s D_800E634C[];
extern MoleSpawnUnion gMoleSpawns;
extern SplineData D_800E641C;
extern SplineData D_800E64D8;
extern SplineData D_800E659C;
extern SplineData D_800E6668;
extern SplineData *D_800E6724[];
extern SplineData *D_800E672C[];
extern SplineData* D_800E6724[];
extern SplineData* D_800E672C[];
extern Vec3f D_800E6734[];
// This should really be `extern Vec3s gTorchSpawns[];`
extern s16 gTorchSpawns[];
+1524 -1848
View File
File diff suppressed because it is too large Load Diff