#ifndef COMMON_H #define COMMON_H // toggle these in decompile //#define USE_60FPS // 60 frames per second //#define USE_16BY9 // Widescreen //#define USE_NEW2P // Requires 16BY9: Side-By-Side 2P //#define USE_OXIDE // Unlock Oxide //#define USE_PENTA // Penta Max Stats //#define USE_HARDER // Difficulty Selector (Arcade) //#define USE_NEWCUPS // Cup Randomizer //#define USE_BOOSTBAR // Super's reserve bar //#define USE_RAMEX // 8mb RAM expansion //#define USE_BIGQUEUE // Requires RAMEX: Extended loading queue //#define USE_HIGH1P // Requires BIGQUEUE: All high model drivers //#define USE_RANDOM // Requires HIGH1P: Character Randomizer //#define USE_ONLINE // Requires HIGH1P: Online Multiplayer //#define USE_HIGHMP // Requires RAMEX: Multiplayer Maxed mod //#define USE_VR // Virtual Reality #ifdef USE_ONLINE //#define USE_60FPS #define USE_BOOSTBAR #define USE_16BY9 #define USE_RAMEX #define USE_BIGQUEUE #define USE_HIGH1P //note: if you disable this, you'll need to fix anything related to the `ROOM_...` defines in global.h #define USE_RETROFUELED //enabled only in certain rooms. #endif #ifdef USE_60FPS #define USE_HIGH1P // patch LODs #define FPS_DOUBLE(x) ((x)*2) #define FPS_HALF(x) ((x)/2) #define FPS_LEFTSHIFT(x) ((x)-1) #define FPS_RIGHTSHIFT(x) ((x)+1) #else #define FPS_DOUBLE(x) (x) #define FPS_HALF(x) (x) #define FPS_LEFTSHIFT(x) (x) #define FPS_RIGHTSHIFT(x) (x) #endif // WIDE_PICK: // param1 - normal // param2 - widescreen #ifdef USE_16BY9 #define WIDE_34(x) ((((x)*750))/1000) #define WIDE_PICK(x,y) (y) #else #define WIDE_34(x) (x) #define WIDE_PICK(x,y) (x) #endif #ifndef REBUILD_PC #include #endif #include #include #ifndef REBUILD_PC #include #endif #include // ============================= // Alphabetical order was rearranged // so that the PCH file can be built // properly. In the end this should // be fixed so they can be alphabetical // ============================= #include #include #include #include #include #include #include #include #include #include // jitpool should be here #include #include // should not be here #include #include // main should be here #include #include #include #include #include #include // should not be here #include #include #include #include #include #include #include #include #ifndef REBUILD_PC #include #endif #include #include #endif