mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Homogenate batch flags and render flags and begin the painful task of documenting waves. (#590)
* part one of wave pain * 2 * littel bit more * m * h * l * aagghh * yeah * :) * bruh * b * m * faith * z * b * rename batch flags * Update waves.c * fix conflicts
This commit is contained in:
+18
-18
@@ -461,31 +461,31 @@ typedef struct LevelHeader {
|
||||
/* 0x52 */ u8 music;
|
||||
/* 0x53 */ u8 unk53;
|
||||
/* 0x54 */ u16 instruments;
|
||||
/* 0x56 */ u8 unk56; // values between 2 and 8 (except 5 and 7), used to determine waves count?
|
||||
/* 0x56 */ u8 waveSubdivisons; // values between 2 and 8 (except 5 and 7), used to determine waves count?
|
||||
/* 0x57 */ u8 unk57; // possible values: 2,4,8,16,20, related to waves
|
||||
/* 0x58 */ u8 unk58; // possible values: 1,2,4
|
||||
/* 0x59 */ u8 unk59; // always 0?
|
||||
/* 0x5A */ s16 unk5A; // values between 512 and 4608
|
||||
/* 0x5C */ u8 unk5C; // possible values: 1,2,4
|
||||
/* 0x5D */ u8 unk5D; // always 0?
|
||||
/* 0x5E */ s16 unk5E; // values between 512 and 4963
|
||||
/* 0x60 */ s16 unk60; // possible values: 120, 130, 157, 178, 187
|
||||
/* 0x58 */ u8 waveSineStep0; // possible values: 1,2,4
|
||||
/* 0x59 */ u8 waveSineBase0; // always 0?
|
||||
/* 0x5A */ s16 waveSineHeight0; // values between 512 and 4608
|
||||
/* 0x5C */ u8 waveSineStep1; // possible values: 1,2,4
|
||||
/* 0x5D */ u8 waveSineBase1; // always 0?
|
||||
/* 0x5E */ s16 waveSineHeight1; // values between 512 and 4963
|
||||
/* 0x60 */ s16 waveSeedSize; // possible values: 120, 130, 157, 178, 187
|
||||
/* 0x62 */ s16 wavePower; // always 256
|
||||
/* 0x64 */ s16 unk64; // Always 153 except in Smokey Castle where it's 0 and the title screen where it's 256 (Some form of secondary power)
|
||||
/* 0x66 */ s16 unk66; // values between 908 and 2560
|
||||
/* 0x68 */ s16 textureId; // always 62 except in the trophy race where it's 205
|
||||
/* 0x6A */ u8 unk6A; // values between 1 and 6
|
||||
/* 0x6B */ u8 unk6B; // values between 1 and 6
|
||||
/* 0x6C */ s8 unk6C; // values between 0 and 4
|
||||
/* 0x6D */ s8 unk6D; // values between 0 and 2 except in Hot Top Volcano where it's -2
|
||||
/* 0x6E */ s16 unk6E; // possible values: 3,5
|
||||
/* 0x68 */ s16 waveTexID; // always 62 except in the trophy race where it's 205
|
||||
/* 0x6A */ u8 waveUVScaleX; // values between 1 and 6
|
||||
/* 0x6B */ u8 waveUVScaleY; // values between 1 and 6
|
||||
/* 0x6C */ s8 waveUVScrollX; // values between 0 and 4
|
||||
/* 0x6D */ s8 waveUVScrollY; // values between 0 and 2 except in Hot Top Volcano where it's -2
|
||||
/* 0x6E */ s16 waveViewDist; // possible values: 3,5
|
||||
|
||||
//func_800B8134 Seems to use this struct, and it differs on unk70 only.
|
||||
//waves_init_header Seems to use this struct, and it differs on unk70 only.
|
||||
union {
|
||||
/* 0x70 */ LevelHeader_70 *unk70[1]; // unknown size, however only size of 1 matches
|
||||
struct {
|
||||
/* 0x70 */ u8 darkVertexColours; // always 1 except in Hot Top Volcano where it's 0
|
||||
/* 0x71 */ u8 unk71; // possible values: 0,1
|
||||
/* 0x70 */ u8 wavesXlu; // always 1 except in Hot Top Volcano where it's 0
|
||||
/* 0x71 */ u8 waveDoubleDensity; // possible values: 0,1
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1598,7 +1598,7 @@ typedef struct Object_Log {
|
||||
/* 0x06 */ u16 unk6;
|
||||
/* 0x08 */ u16 unk8;
|
||||
/* 0x0A */ u16 unkA;
|
||||
/* 0x0C */ u16 unkC;
|
||||
/* 0x0C */ u16 blockID;
|
||||
/* 0x0E */ s8 unkE[2];
|
||||
} Object_Log;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user