From 378552968b5b7d1ca79fa6d29c44e049aa250ba8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Thu, 24 Nov 2016 23:46:16 +0800 Subject: [PATCH] Removed commented out code --- Source/OpenGL_Windows.cpp | 10 +--------- Source/WinDefs.h | 10 ---------- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/Source/OpenGL_Windows.cpp b/Source/OpenGL_Windows.cpp index 18f7d25..33ae0f8 100644 --- a/Source/OpenGL_Windows.cpp +++ b/Source/OpenGL_Windows.cpp @@ -39,15 +39,11 @@ extern bool osx; extern bool freeze; extern bool stillloading; extern int mainmenu; -/*extern*/ -bool gameFocused; extern float slomospeed; extern float slomofreq; extern bool visibleloading; - - #include #include #include @@ -136,6 +132,7 @@ int kContextWidth; int kContextHeight; bool gDone = false; +bool gameFocused; static int _argc = 0; static char **_argv = NULL; @@ -684,11 +681,6 @@ int main(int argc, char **argv) { newGame(); - //ofstream os("error.txt"); - //os.close(); - //ofstream os("log.txt"); - //os.close(); - if (!SetUp ()) return 42; diff --git a/Source/WinDefs.h b/Source/WinDefs.h index 94b9da0..3f13289 100644 --- a/Source/WinDefs.h +++ b/Source/WinDefs.h @@ -72,16 +72,6 @@ enum { Duration AbsoluteDeltaToDuration( AbsoluteTime& a, AbsoluteTime& b); - -/* -inline bool isnormal( double x) -{ - int ret = _fpclass( x); - return (ret == _FPCLASS_NN || ret == _FPCLASS_PN); -} -*/ - - // fix file names to use '/' instead of ':' char* ConvertFileName( const char* orgfilename); char* ConvertFileName( const char* orgfilename, const char* junk); -- 2.39.5