From: Côme Chilliet Date: Thu, 24 Nov 2016 15:46:16 +0000 (+0800) Subject: Removed commented out code X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=378552968b5b7d1ca79fa6d29c44e049aa250ba8;p=lugaru.git Removed commented out code --- 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);