diff options
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index 4869de8ef..5513dc74c 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -1,10 +1,10 @@ /* - * The ManaPlus Client + * The ManaVerse Client * Copyright (C) 2010 The Mana Developers * Copyright (C) 2011-2020 The ManaPlus Developers - * Copyright (C) 2020-2023 The ManaVerse Developers + * Copyright (C) 2020-2025 The ManaVerse Developers * - * This file is part of The ManaPlus Client. + * This file is part of The ManaVerse Client. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -189,15 +189,9 @@ void setConfigDefaults(Configuration &cfg) AddDEF("screenshotDirectory3", ""); AddDEF("useScreenshotDirectorySuffix", true); AddDEF("screenshotDirectorySuffix", ""); -#ifdef __SWITCH__ AddDEF("joystickEnabled", true); -#else - AddDEF("joystickEnabled", false); -#endif - AddDEF("upTolerance", 100); - AddDEF("downTolerance", 100); - AddDEF("leftTolerance", 100); - AddDEF("rightTolerance", 100); + AddDEF("joystickTolerance", 0.3F); + AddDEF("useHatForMovement", true); AddDEF("logNpcInGui", true); AddDEF("download-music", true); AddDEF("guialpha", 0.8F); @@ -238,8 +232,8 @@ void setConfigDefaults(Configuration &cfg) AddDEF("allowCommandsInChatTabs", true); AddDEF("serverMsgInDebug", true); AddDEF("hideShopMessages", true); - AddDEF("showChatHistory", true); - AddDEF("chatMaxLinesLimit", 40); + AddDEF("loadChatHistoryLines", 100); + AddDEF("chatMaxLinesLimit", 100); AddDEF("chatColor", 0); AddDEF("showJob", true); AddDEF("updateOnlineList", true); @@ -317,12 +311,12 @@ void setConfigDefaults(Configuration &cfg) AddDEF("downloadProxyType", 0); AddDEF("downloadProxyTunnel", false); AddDEF("blur", false); -#if defined(WIN32) || defined(__APPLE__) +#if defined(_WIN32) || defined(__APPLE__) AddDEF("centerwindow", true); -#else // defined(WIN32) || defined(__APPLE__) +#else // defined(_WIN32) || defined(__APPLE__) AddDEF("centerwindow", false); -#endif // defined(WIN32) || defined(__APPLE__) +#endif // defined(_WIN32) || defined(__APPLE__) AddDEF("audioFrequency", 44100); AddDEF("audioChannels", 2); |