diff options
Diffstat (limited to 'src/PowderToySDL.cpp')
| -rw-r--r-- | src/PowderToySDL.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp index 74d8bc5..eeff756 100644 --- a/src/PowderToySDL.cpp +++ b/src/PowderToySDL.cpp @@ -293,7 +293,7 @@ int elapsedTime = 0, currentTime = 0, lastTime = 0, currentFrame = 0; unsigned int lastTick = 0; float fps = 0, delta = 1.0f, inputScale = 1.0f; ui::Engine * engine = NULL; - +float currentWidth, currentHeight; void EngineProcess() { int frameStart; @@ -416,7 +416,9 @@ void EngineProcess() int main(int argc, char * argv[]) { - float currentWidth = XRES+BARSIZE, currentHeight = YRES+MENUSIZE; + currentWidth = XRES+BARSIZE; + currentHeight = YRES+MENUSIZE; + std::map<std::string, std::string> arguments = readArguments(argc, argv); |
