Commits

DaFox committed 46182a1

Renamed the enums according to new standards

Comments (0)

Files changed (1)

Nintendo 64/Mario Kart 64/Mario Kart 64.bt

 //
 // File: Mario Kart 64.bt
 // Author: DaFox
-// Revision: 2
+// Revision: 3
 // Purpose: Mario Kart 64 Save Game File Format
 //--------------------------------------
 LittleEndian();
 BitfieldDisablePadding();
 typedef enum {
     MARIO, LUIGI, YOSHI, TOAD, DK, WARIO, PEACH, BOWSER
-} CHARACTER;
+} E_CHARACTER;
 
 typedef enum {
     NONE, BRONZE, SILVER, GOLD
-} TROPHY;
+} E_TROPHY;
 
 typedef struct {    
     uint32 time : 20;
-    CHARACTER character : 4;
+    E_CHARACTER character : 4;
 } TIMECHAR;
 
 typedef struct {
 } COURSE;
 
 typedef struct {
-    TROPHY MushroomCup50cc : 2;
-    TROPHY FlowerCup50cc : 2;
-    TROPHY StarCup50cc : 2;
-    TROPHY SpecialCup50cc : 2;
+    E_TROPHY MushroomCup50cc : 2;
+    E_TROPHY FlowerCup50cc : 2;
+    E_TROPHY StarCup50cc : 2;
+    E_TROPHY SpecialCup50cc : 2;
 
-    TROPHY MushroomCup100cc : 2;
-    TROPHY FlowerCup100cc : 2;
-    TROPHY StarCup100cc : 2;
-    TROPHY SpeciaCup100cc : 2;
+    E_TROPHY MushroomCup100cc : 2;
+    E_TROPHY FlowerCup100cc : 2;
+    E_TROPHY StarCup100cc : 2;
+    E_TROPHY SpeciaCup100cc : 2;
 
-    TROPHY MushroomCup150cc : 2;
-    TROPHY FlowerCup150cc : 2;
-    TROPHY StarCup150cc : 2;
-    TROPHY SpeciaCup150cc : 2;
+    E_TROPHY MushroomCup150cc : 2;
+    E_TROPHY FlowerCup150cc : 2;
+    E_TROPHY StarCup150cc : 2;
+    E_TROPHY SpeciaCup150cc : 2;
 
-    TROPHY MushroomCupExtra : 2;
-    TROPHY FlowerCupExtra : 2;
-    TROPHY StarCupExtra : 2;
-    TROPHY SpeciaCupExtra : 2;
+    E_TROPHY MushroomCupExtra : 2;
+    E_TROPHY FlowerCupExtra : 2;
+    E_TROPHY StarCupExtra : 2;
+    E_TROPHY SpeciaCupExtra : 2;
 
     ubyte SoundSettings;
     ubyte unknown;
     ubyte checksum;
     ubyte checksum2;
-} TROPHYSETTINGS;
+} E_TROPHYSETTINGS;
 
 typedef struct {
     TIMECHAR LuigisRacewayBestTriLap;
 	COURSE YoshiValley;
 	COURSE BansheeBoardwalk;
 	COURSE RainbowRoad;
-    TROPHYSETTINGS TrophySettings;
+    E_TROPHYSETTINGS TrophySettings;
     TOPTIMES TopTimes;
-    TROPHYSETTINGS TrophySettings2;
+    E_TROPHYSETTINGS TrophySettings2;
     ubyte padding[1536];
 } file;