summaryrefslogtreecommitdiffhomepage
path: root/Stars45/VideoSettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/VideoSettings.cpp')
-rw-r--r--Stars45/VideoSettings.cpp7
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
{