diff options
| m--------- | others/mniip | 0 | ||||
| -rw-r--r-- | src/PowderToySDL.cpp | 6 |
2 files changed, 4 insertions, 2 deletions
diff --git a/others/mniip b/others/mniip new file mode 160000 +Subproject b97cbb01e590b4e16c014e07c5e5dec6b680666 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); |
