X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWinDefs.h;h=05fe6a4530bcfff1ba804325d34c9e764cb76ab7;hb=cc92cb7b7f9b87cb791c504bf930d622d74db368;hp=3ac74d54144266f59092e488972cc5d95200f53a;hpb=34ce0cdd42f673a04aa29ae148d2206420dfd813;p=lugaru.git diff --git a/Source/WinDefs.h b/Source/WinDefs.h index 3ac74d5..05fe6a4 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,16 +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);