X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWinDefs.h;h=32c7945f8068104280683648ec8324f55ef1fba3;hb=599983e84cffd250055557d78b4d8b4af84cb092;hp=3ac74d54144266f59092e488972cc5d95200f53a;hpb=34ce0cdd42f673a04aa29ae148d2206420dfd813;p=lugaru.git diff --git a/Source/WinDefs.h b/Source/WinDefs.h index 3ac74d5..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. @@ -38,8 +39,6 @@ along with Lugaru. If not, see . // disable warning about unreferenced local variables #pragma warning(disable:4101) -typedef bool Boolean; - struct Point { short v; short h; @@ -74,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) {