From 1d3e84b712841d72e68e59b4caaf4e0fd88ffc80 Mon Sep 17 00:00:00 2001 From: withmorten Date: Fri, 22 Jan 2021 16:39:28 +0100 Subject: [PATCH 1/2] small premake fix --- premake5.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/premake5.lua b/premake5.lua index 857293a9..a1a7f1dc 100644 --- a/premake5.lua +++ b/premake5.lua @@ -147,7 +147,6 @@ workspace "reVC" filter { "platforms:macosx-amd64-*" } buildoptions { "-target", "x86_64-apple-macos10.12", "-std=gnu++14" } - filter { "platforms:*librw_d3d9*" } defines { "RW_D3D9" } if(not _OPTIONS["with-librw"]) then @@ -232,7 +231,6 @@ project "reVC" kind "WindowedApp" targetname "reVC" targetdir "bin/%{cfg.platform}/%{cfg.buildcfg}" - defines { "MIAMI" } files { addSrcFiles("src") } files { addSrcFiles("src/animation") } From cc6d5374d5bdd79607494c2747c26587b69353ec Mon Sep 17 00:00:00 2001 From: withmorten Date: Fri, 22 Jan 2021 18:41:58 +0100 Subject: [PATCH 2/2] fix config.h --- src/core/config.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/core/config.h b/src/core/config.h index 6a604f95..ef282b25 100644 --- a/src/core/config.h +++ b/src/core/config.h @@ -157,7 +157,7 @@ enum Config { // This is enabled for all released games. // any debug stuff that isn't left in any game is not in FINAL -#define FINAL +//#define FINAL // This is enabled for all released games except mobile // any debug stuff that is only left in mobile, is not in MASTER @@ -190,7 +190,7 @@ enum Config { #define NO_CDCHECK // those infamous texts -//#define DRAW_GAME_VERSION_TEXT +#define DRAW_GAME_VERSION_TEXT // Memory allocation and compression // #define USE_CUSTOM_ALLOCATOR // use CMemoryHeap for allocation. use with care, not finished yet @@ -223,7 +223,7 @@ enum Config { #undef DRAW_GAME_VERSION_TEXT #else // not in master builds -// #define VALIDATE_SAVE_SIZE + #define VALIDATE_SAVE_SIZE #define NO_MOVIES // disable intro videos #define DEBUGMENU @@ -231,7 +231,7 @@ enum Config { #ifdef FINAL // in all games -//# define USE_MY_DOCUMENTS // use my documents directory for user files +# define USE_MY_DOCUMENTS // use my documents directory for user files #else // not in any game # define CHATTYSPLASH // print what the game is loading @@ -240,7 +240,7 @@ enum Config { #define FIX_BUGS // fixes bugs that we've came across during reversing. You can undefine this only on release builds. //#define MORE_LANGUAGES // Add more translations to the game -//#define COMPATIBLE_SAVES // this allows changing structs while keeping saves compatible +#define COMPATIBLE_SAVES // this allows changing structs while keeping saves compatible #define LOAD_INI_SETTINGS // as the name suggests. fundamental for CUSTOM_FRONTEND_OPTIONS #define FIX_HIGH_FPS_BUGS_ON_FRONTEND @@ -311,8 +311,8 @@ enum Config { //# define PS2_MENU_USEALLPAGEICONS #else # define MAP_ENHANCEMENTS // Adding waypoint and better mouse support -//# define TRIANGLE_BACK_BUTTON -# define CIRCLE_BACK_BUTTON +# define TRIANGLE_BACK_BUTTON +//# define CIRCLE_BACK_BUTTON #define LEGACY_MENU_OPTIONS // i.e. frame sync(vsync) #define MUCH_SHORTER_OUTRO_SCREEN // #define XBOX_MESSAGE_SCREEN // Blue background, no "saved successfully press OK" screen etc. @@ -341,11 +341,11 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually //#define MISSION_REPLAY // mobile feature #endif //#define SIMPLIER_MISSIONS // apply simplifications from mobile -// #define USE_ADVANCED_SCRIPT_DEBUG_OUTPUT +#define USE_ADVANCED_SCRIPT_DEBUG_OUTPUT #define SCRIPT_LOG_FILE_LEVEL 0 // 0 == no log, 1 == overwrite every frame, 2 == full log #ifndef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT -// #define USE_BASIC_SCRIPT_DEBUG_OUTPUT +#define USE_BASIC_SCRIPT_DEBUG_OUTPUT #endif #ifdef MASTER @@ -366,7 +366,7 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually #define CAMERA_PICKUP // Peds -//#define CANCELLABLE_CAR_ENTER +#define CANCELLABLE_CAR_ENTER // Camera #define IMPROVED_CAMERA // Better Debug cam, and maybe more in the future @@ -374,7 +374,7 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually // Audio #define AUDIO_CACHE // cache sound lengths to speed up the cold boot -#define PS2_AUDIO_PATHS // changes audio paths for cutscenes and radio to PS2 paths (needs vbdec on MSS builds) +//#define PS2_AUDIO_PATHS // changes audio paths for cutscenes and radio to PS2 paths (needs vbdec on MSS builds) //#define AUDIO_OAL_USE_SNDFILE // use libsndfile to decode WAVs instead of our internal decoder #define AUDIO_OAL_USE_MPG123 // use mpg123 to support mp3 files