X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWinDefs.h;h=05fe6a4530bcfff1ba804325d34c9e764cb76ab7;hb=cc92cb7b7f9b87cb791c504bf930d622d74db368;hp=cbee4eafe73d07c44726226b8c689843061aa9dc;hpb=cd043e3f9e26c2b3406b40a354c2840941e9db7f;p=lugaru.git diff --git a/Source/WinDefs.h b/Source/WinDefs.h index cbee4ea..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; @@ -52,10 +51,6 @@ typedef unsigned int UInt32; #include "Random.h" -void CopyCStringToPascal( const char* src, unsigned char dst[256]); -void CopyPascalStringToC( const unsigned char* src, char* dst); - - typedef struct AbsoluteTime { unsigned long hi; unsigned long lo; @@ -78,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);