diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-08 13:47:37 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-08 13:47:37 +0100 |
commit | 0e2af1365671d7c7a454281fef32129888cebb8a (patch) | |
tree | db46545d5d0ae4413dfdce35880d2441d05b04c3 /src/core | |
parent | timecycle; some rendering (diff) | |
parent | wtf (diff) | |
download | re3-0e2af1365671d7c7a454281fef32129888cebb8a.tar re3-0e2af1365671d7c7a454281fef32129888cebb8a.tar.gz re3-0e2af1365671d7c7a454281fef32129888cebb8a.tar.bz2 re3-0e2af1365671d7c7a454281fef32129888cebb8a.tar.lz re3-0e2af1365671d7c7a454281fef32129888cebb8a.tar.xz re3-0e2af1365671d7c7a454281fef32129888cebb8a.tar.zst re3-0e2af1365671d7c7a454281fef32129888cebb8a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Frontend.cpp | 4 | ||||
-rw-r--r-- | src/core/config.h | 20 |
2 files changed, 21 insertions, 3 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index e5e42b8c..11488aec 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -3639,7 +3639,7 @@ CMenuManager::ExportStats() char *statValue = UnicodeToAscii(gUString2); for (int j = 0; statValue[j] != '\0'; ++j) { if (statValue[j] == '_') - statValue[j] = 0xBA; // This is degree symbol, but my editors keeps messing up with it so I wrote hex representation + statValue[j] = '\xBA'; // This is degree symbol, but my editors keeps messing up with it so I wrote hex representation } if (statValue) fprintf(txtFile, "%s\n\n", statValue); @@ -3701,7 +3701,7 @@ CMenuManager::ExportStats() char *statValue = UnicodeToAscii(gUString2); for (int l = 0; statValue[l] != '\0'; ++l) { if (statValue[l] == '_') - statValue[l] = 0xBA; // This is degree symbol, but my editors keeps messing up with it so I wrote hex representation + statValue[l] = '\xBA'; // This is degree symbol, but my editors keeps messing up with it so I wrote hex representation } if (statValue) fprintf(htmlFile, "%s", statValue); diff --git a/src/core/config.h b/src/core/config.h index 7eff57a0..36387449 100644 --- a/src/core/config.h +++ b/src/core/config.h @@ -338,6 +338,11 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually #define USE_BASIC_SCRIPT_DEBUG_OUTPUT #endif +#ifdef MASTER +#undef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT +#undef USE_BASIC_SCRIPT_DEBUG_OUTPUT +#endif + // Replay //#define DONT_FIX_REPLAY_BUGS // keeps various bugs in CReplay, some of which are fairly cool! //#define USE_BETA_REPLAY_MODE // adds another replay mode, a few seconds slomo (caution: buggy!) @@ -359,8 +364,21 @@ 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 // changes audio paths for cutscenes and radio to PS2 paths, needs vbdec to support VB with MSS +//#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 + +#ifdef AUDIO_OPUS +#define AUDIO_OAL_USE_OPUS // enable support of opus files +//#define OPUS_AUDIO_PATHS // (not supported on VC yet) changes audio paths to opus paths (doesn't work if AUDIO_OAL_USE_OPUS isn't enabled) +//#define OPUS_SFX // enable if your sfx.raw is encoded with opus (doesn't work if AUDIO_OAL_USE_OPUS isn't enabled) + +#ifndef AUDIO_OAL_USE_OPUS +#undef OPUS_AUDIO_PATHS +#undef OPUS_SFX +#endif +#endif #ifdef LIBRW // these are not supported with librw yet |