mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Split negative map IDs into separate enum.
This commit is contained in:
+7
-3
@@ -7,9 +7,6 @@
|
||||
/* All the enums defined here can be used in asset files */
|
||||
|
||||
typedef enum MapId {
|
||||
MAP_ID_UNK_NEG10 = -10,
|
||||
MAP_ID_UNK_NEG2 = -2,
|
||||
MAP_ID_UNK_NEG1 = -1,
|
||||
/* 0x00 */ MAP_ID_OVERWORLD,
|
||||
/* 0x01 */ MAP_ID_BLUEY1,
|
||||
/* 0x02 */ MAP_ID_DRAGON_FOREST,
|
||||
@@ -77,6 +74,13 @@ typedef enum MapId {
|
||||
/* 0x40 */ MAP_ID_FINAL_CUTSCENE2,
|
||||
} MapId;
|
||||
|
||||
// There are a few instances of comparing AssetLevelHeadersEnums with special, negative values.
|
||||
typedef enum SpecialMapId {
|
||||
SPECIAL_MAP_ID_UNK_NEG10 = -10,
|
||||
SPECIAL_MAP_ID_UNK_NEG2 = -2,
|
||||
SPECIAL_MAP_ID_UNK_NEG1 = -1,
|
||||
} SpecialMapId;
|
||||
|
||||
typedef enum Vehicle {
|
||||
VEHICLE_CAR,
|
||||
VEHICLE_HOVERCRAFT,
|
||||
|
||||
Reference in New Issue
Block a user