Some train decomp and move seg2 files to ending (#423)

* Some train decomp

* Move seg2 to ending/

* move racing code files into racing folder

* Fix progress

* Rename segments
This commit is contained in:
MegaMech
2023-09-17 16:57:18 -06:00
committed by GitHub
parent 3f221d6f25
commit 91fc8ea473
52 changed files with 429 additions and 1219 deletions
+6 -6
View File
@@ -3,12 +3,12 @@
extern u8 _mainSegNoloadEnd[];
extern u8 _code_80280000SegmentStart[];
extern u8 _code_80280000SegmentRomStart[];
extern u8 _code_80280000SegmentRomEnd[];
extern u8 _endingSequencesSegmentStart[];
extern u8 _endingSequencesSegmentRomStart[];
extern u8 _endingSequencesSegmentRomEnd[];
extern u8 _code_8028DF00SegmentStart[];
extern u8 _code_8028DF00SegmentRomStart[];
extern u8 _code_8028DF00SegmentRomEnd[];
extern u8 _racingSegmentStart[];
extern u8 _racingSegmentRomStart[];
extern u8 _racingSegmentRomEnd[];
#endif
+2 -2
View File
@@ -3,8 +3,8 @@
#define SEG_START 0x80000000
#define SEG_MAIN 0x80000400
#define SEG_80280000 0x80280000
#define SEG_8028DF00 0x8028DF00
#define SEG_ENDING_SEQUENCES 0x80280000
#define SEG_RACING 0x8028DF00
#define SEG_FRAMEBUFFERS 0x802BA290
#define SEG_802BA370 0x802BA370
#define SEG_AUDIO 0x803AF780
+2 -2
View File
@@ -25,7 +25,7 @@ typedef struct {
/* 0x02 */ s16 compilerPadding;
/* 0x04 */ Vec3f position;
/* 0x10 */ Vec3f velocity;
/* 0x1C */ s16 wayPointIndex;
/* 0x1C */ u16 wayPointIndex;
/* 0x1E */ s16 actorIndex;
/* 0x20 */ s32 unused; // Not read or written. Could be padding?
} TrainCarStuff; // size = 0x24;
@@ -78,7 +78,7 @@ typedef struct {
/* 0x32 */ // s16 compilerPadding2;
} VehicleStuff; // size = 0x34
extern TrainStuff D_801635A0[];
extern TrainStuff sTrains[];
// This is an array, maybe they intended to have multiple boats at some point in development?
extern PaddleWheelBoatStuff D_801637C0[];