Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Nov 28, 2024
1 parent 85d98b2 commit ddb83a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions src/OptionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,3 @@ void OptionManager::setScreenResolution(int width, int height) {
int OptionManager::getShellSize() {
return this->options.get("shell_size", DEFAULT_SHELL_SIZE).asInt();
}

bool OptionManager::getShellSizeChanged() {
bool current_shell_size_changed = this->shell_size_changed;
this->shell_size_changed = false;
return current_shell_size_changed;
}
3 changes: 1 addition & 2 deletions src/OptionManager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class OptionManager {
int getScreenHeight();

int getShellSize();
bool getShellSizeChanged();

void setMusicVolume(int value);
void setSoundVolume(int value);
Expand All @@ -51,12 +50,12 @@ class OptionManager {
void setStandardModeLevel(int value);
void setChallengeModeHighscore(int value);
void setChallengeModeLevel(int value);
void setChallengeModeSeed(int seed);
void setRelaxedModeScore(int value);
void setRelaxedModeSeed(unsigned int value);
void setRelaxedModeShells(std::vector<std::vector<ShellType>> value);
void setFullscreen(bool value);
void setScreenResolution(int width, int height);
void setChallengeModeSeed(int seed);

void resetChallengeMode();
void resetStandardMode();
Expand Down

0 comments on commit ddb83a8

Please sign in to comment.