Update decomp clang (#67)

* Update menus.c (#634)

* Update common_data.yml (#635)

* Renames for screenId and other changes (#636)

* screenId renames

* Rename surface map to collision mesh (#637)

* Rename some stack vars (#638)

* Fix syntax error (#639)

* Rename some stack vars

* Update collision.c

* Collision Documentation (#640)

* Collision related renames

* update doxygen (#649)

* change bool (#644)

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>

* Update (#642)

* Delete trig_tables_bss.c (#650)

* fix typo audio (#656)

* fix typo src actor (#657)

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>

* fix typo include (#658)

* fix course (#659)

* fix typo debug (#660)

* fix typo data (#661)

* replace number with const (#665)

* fix typo buffers (#655)

* fix typo buffers

* tweak ld file

* rename to sMemoryPool

* add a warning

---------

* fix typo src (#654)

* fix typo src

* fix non matcing

* Update code_80091750.c

---------

* fix typo racing (#653)

* fix typo racing

* get it match

* replace G_LINE3D to G_QUAD

---------

* fix typo src (#652)

* fix ending typo (#651)

* Action more info when it doesn't match and fix first diff (#662)

* Update linux-compile.yml

* fix first-diff

* Update first-diff.py

---------

* document texture of kart (#663)

* document texture of kart

* change screenPlayerId to screenId

* some documentation around object

* Revert "some documentation around object"

This reverts commit cbb39078e036bf2a417bed67359e910213acab28.

* more rename

---------

* Make evaluate_collision_players_palm_tree better (#667)

This matches just the same as before,	but using those two casts instead of
shifts seems more likely to be accurate to the original source code

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

* add fedora instruciton (#666)

* start documenting animation (#668)

* start documenting animation

* Update course_data.c

* change comment

* update libultra asm (#648)

* update libultra asm

* fix gcc __osThreadTail

---------

* Document Vehicles (#641)

* start doc collision

* fix merge

* finish rename fonction related to vehicle

* document around waypoint of vehicle

* make some modification

* make some change and rename one

* copy_ to oldPos

* doc smoke ferry and train

* some rename

* fix some renaming

* precise index

* rename a funciton

* simplify waypoint_vehicles

* change some name

* change some name

* rename move_to_point_direction

* fix some conflict

* Update code_80005FD0.c

* Update code_80005FD0.h

---------

* Label a save info loop (#645)

* save info

* more gcc progress

* fix a value and do a rename (#669)

* 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

---------

* Update linkonly_generator.py (#670)

* format more file

* update

* fix compilation issue

* remove course_metadata folder

* re add course metadata folder

* fix banshee bordwalk crash

* fix windows eurk

* Update CMakeLists.txt

---------
This commit is contained in:
coco875
2024-08-28 01:47:39 +02:00
committed by GitHub
parent bb3cbe0500
commit a1f0d32d66
402 changed files with 43929 additions and 45274 deletions
+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
@@ -13,34 +13,34 @@
#include <assets/dks_jungle_parkway_data.h>
// @warning Array contains an extra zero element at the end.
KartAIBehaviour *gKartAIBehaviourLUT[] = {
#include "course_metadata/gKartAIBehaviourLUT.inc.c"
KartAIBehaviour* gKartAIBehaviourLUT[] = {
#include "assets/course_metadata/gKartAIBehaviourLUT.inc.c"
};
TrackWaypoint nullPath = { 0x8000, 0x0000, 0x0000, 0x0000 };
TrackWaypoint *gCoursePathTable[][4] = {
#include "course_metadata/gCoursePathTableUnknown.inc.c"
TrackWaypoint* gCoursePathTable[][4] = {
#include "assets/course_metadata/gCoursePathTableUnknown.inc.c"
};
TrackWaypoint *gCoursePathTable2[][4] = {
#include "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 "course_metadata/gCPUSteeringSensitivity.inc.c"
#include "assets/course_metadata/gCPUSteeringSensitivity.inc.c"
};
// Possibly maximum cpu separation
f32 gKartAICourseMaximumSeparation[] = {
#include "course_metadata/gKartAICourseMaximumSeparation.inc.c"
#include "assets/course_metadata/gKartAICourseMaximumSeparation.inc.c"
};
// Possibly minimum cpu separation
f32 gKartAICourseMinimumSeparation[] = {
#include "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
@@ -48,34 +48,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 "course_metadata/D_800DCBB4.inc.c"
s16* D_800DCBB4[] = {
#include "assets/course_metadata/D_800DCBB4.inc.c"
};
BombKartSpawn gBombKartSpawns[][NUM_BOMB_KARTS_MAX] = {
#include "course_metadata/gBombKartSpawns.inc.c"
#include "assets/course_metadata/gBombKartSpawns.inc.c"
};
struct _struct_gCoursePathSizes_0x10 gCoursePathSizes[] = {
#include "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;
+595 -1017
View File
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -19,7 +19,7 @@ extern Vtx D_800E51D0[];
extern Vtx D_800E5210[];
extern Vtx gBalloonVertexPlane1[];
extern Vtx gBalloonVertexPlane2[];
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