X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWinDefs.h;h=32c7945f8068104280683648ec8324f55ef1fba3;hb=599983e84cffd250055557d78b4d8b4af84cb092;hp=94b9da098ba275d10f847d990a484abec80244b6;hpb=929576710b55ed5ba83603df7f67b95e32e6d557;p=lugaru.git diff --git a/Source/WinDefs.h b/Source/WinDefs.h index 94b9da0..32c7945 100644 --- a/Source/WinDefs.h +++ b/Source/WinDefs.h @@ -1,5 +1,6 @@ /* Copyright (C) 2003, 2010 - Wolfire Games +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -72,23 +73,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); - - -#define fopen(a, b) fopen(ConvertFileName(a), b); - #ifndef __MINGW32__ inline float abs(float f) {