diff options
author | Aki <please@ignore.pl> | 2022-03-16 21:30:41 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-16 21:30:41 +0100 |
commit | dac5158376875636306610365dc1b9820a18a277 (patch) | |
tree | c0afe12f4679457b4302598f3b5d2f9df28cea44 /Stars45/VideoSettings.cpp | |
parent | 2e5d0eb1eecc52b20d1e9f7a3ce0317b851442c4 (diff) | |
download | starshatter-dac5158376875636306610365dc1b9820a18a277.zip starshatter-dac5158376875636306610365dc1b9820a18a277.tar.gz starshatter-dac5158376875636306610365dc1b9820a18a277.tar.bz2 |
Removed gamma level management from Game and Starshatter classes
Diffstat (limited to 'Stars45/VideoSettings.cpp')
-rw-r--r-- | Stars45/VideoSettings.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Stars45/VideoSettings.cpp b/Stars45/VideoSettings.cpp index f7c1833..c56dddb 100644 --- a/Stars45/VideoSettings.cpp +++ b/Stars45/VideoSettings.cpp @@ -31,6 +31,7 @@ VideoSettings::VideoSettings() window_width = 1280; window_height = 720; + gamma = 128; is_windowed = false; use_effects = true; shadows = true; @@ -47,6 +48,12 @@ VideoSettings::~VideoSettings() // +--------------------------------------------------------------------+ +int +VideoSettings::GetGammaLevel() const +{ + return gamma; +} + bool VideoSettings::IsWindowed() const { |