This commit is contained in:
2025-11-25 07:22:25 +01:00
parent f0a6b0d974
commit 228ef02cf6
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ namespace Config {
namespace Gameplay { namespace Gameplay {
constexpr double DAS_DELAY = 170.0; // Delayed Auto Shift delay in ms constexpr double DAS_DELAY = 170.0; // Delayed Auto Shift delay in ms
constexpr double ARR_RATE = 40.0; // Auto Repeat Rate in ms constexpr double ARR_RATE = 40.0; // Auto Repeat Rate in ms
constexpr float LEVEL_FADE_DURATION = 3500.0f; // Level background fade time in ms constexpr float LEVEL_FADE_DURATION = 5000.0f; // Level background fade time in ms
constexpr int MAX_LEVELS = 20; // Maximum selectable starting level constexpr int MAX_LEVELS = 20; // Maximum selectable starting level
// Gravity speed multiplier: 1.0 = normal, 2.0 = 2x slower, 0.5 = 2x faster // Gravity speed multiplier: 1.0 = normal, 2.0 = 2x slower, 0.5 = 2x faster

View File

@ -114,7 +114,7 @@ struct LevelBackgroundFader {
int currentLevel = -1; int currentLevel = -1;
int queuedLevel = -1; int queuedLevel = -1;
float fadeElapsedMs = 0.0f; float fadeElapsedMs = 0.0f;
float fadeDurationMs = 3500.0f; float fadeDurationMs = Config::Gameplay::LEVEL_FADE_DURATION;
}; };
static void destroyTexture(SDL_Texture*& tex) { static void destroyTexture(SDL_Texture*& tex) {