on peut changer les settings wtf

This commit is contained in:
2025-03-24 16:20:37 +01:00
parent 8a4c4201fe
commit fd9fd4586a
15 changed files with 200 additions and 40 deletions

View File

@@ -25,6 +25,7 @@ class Settings {
int chosenKeybinds;
Gamemode gamemode;
int windowSizeMode;
int masterVolume;
std::vector<std::pair<PiecesType, int>> selectedPieces;
public:
@@ -46,6 +47,10 @@ class Settings {
bool shortenWindow();
bool raiseMasterVolume();
bool lowerMasterVolume();
void selectPieces(PiecesType type, int value);
void unselectPieces(int index);
@@ -60,6 +65,8 @@ class Settings {
int getWindowSizeMultiplier() const;
int getMasterVolume() const;
const sf::VideoMode getVideoMode() const;
const std::vector<std::pair<PiecesType, int>>& getSelectedPieces() const;