Added option for turn on/off smooth scroll

This commit is contained in:
2025-11-30 09:43:50 +01:00
parent 8b350bfb9e
commit 98b7711100
6 changed files with 42 additions and 5 deletions

View File

@ -16,7 +16,8 @@ private:
Fullscreen = 0,
Music = 1,
SoundFx = 2,
Back = 3
SmoothScroll = 3,
Back = 4
};
static constexpr int MAX_NAME_LENGTH = 12;
@ -29,8 +30,10 @@ private:
void toggleFullscreen();
void toggleMusic();
void toggleSoundFx();
void toggleSmoothScroll();
void exitToMenu();
bool isFullscreen() const;
bool isMusicEnabled() const;
bool isSoundFxEnabled() const;
bool isSmoothScrollEnabled() const;
};