trop de trucs oscours
This commit is contained in:
@@ -21,17 +21,14 @@ Settings::Settings() {
|
||||
}
|
||||
|
||||
void Settings::loadSettingsFromFile() {
|
||||
//TODO
|
||||
this->menu.getPiecesList().unselectAll();
|
||||
this->menu.getPiecesList().selectAllPieces(4);
|
||||
this->windowSizeMode = 2;
|
||||
}
|
||||
|
||||
void Settings::saveSettingsToFile() const {
|
||||
|
||||
}
|
||||
|
||||
void Settings::resetSettingsFile() const {
|
||||
|
||||
//TODO
|
||||
}
|
||||
|
||||
bool Settings::selectNextKeybinds() {
|
||||
@@ -122,7 +119,7 @@ int Settings::getWindowSizeMultiplier() const {
|
||||
return WINDOW_SIZE_MULTIPLIERS[this->windowSizeMode];
|
||||
}
|
||||
|
||||
const sf::VideoMode& Settings::getVideoMode() const {
|
||||
const sf::VideoMode Settings::getVideoMode() const {
|
||||
return sf::VideoMode(BASE_WINDOW_SIZE * (unsigned int) WINDOW_SIZE_MULTIPLIERS[this->windowSizeMode]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user