diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-03-29 20:12:03 +0200 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-03-29 20:12:03 +0200 |
commit | f88226c99f8fd8cb10145eeea5a00ce3be149a6d (patch) | |
tree | 52f07d3529cf6b9e471e64962411106ff1a2891d /src/Config.cpp | |
parent | 2ae2fedf210a644ac6ea7e9f80fcdae814bfbf6b (diff) |
remember window size.
fix extra shit.
Diffstat (limited to 'src/Config.cpp')
-rw-r--r-- | src/Config.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Config.cpp b/src/Config.cpp index dcbad9b..677af96 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -28,6 +28,11 @@ namespace Config int KeyMapping[12]; int JoyMapping[12]; +int WindowWidth; +int WindowHeight; + +int DirectBoot; + typedef struct { char Name[16]; @@ -67,6 +72,11 @@ ConfigEntry ConfigFile[] = {"Joy_X", 0, &JoyMapping[10], -1, NULL, 0}, {"Joy_Y", 0, &JoyMapping[11], -1, NULL, 0}, + {"WindowWidth", 0, &WindowWidth, 256, NULL, 0}, + {"WindowHeight", 0, &WindowHeight, 384, NULL, 0}, + + {"DirectBoot", 0, &DirectBoot, 1, NULL, 0}, + {"", -1, NULL, 0, NULL, 0} }; |