X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;ds=sidebyside;f=Source%2FMacCompatibility.h;h=5d6f9550aa694d07784fa51ada4dad751217a5a1;hb=20e924d;hp=1bade1cf2d54939bf02537d906b1057e0eda5c12;hpb=6aeefd781d62a9b5b8cf2f4d3a7ba4abaf82f54f;p=lugaru.git
diff --git a/Source/MacCompatibility.h b/Source/MacCompatibility.h
index 1bade1c..5d6f955 100644
--- a/Source/MacCompatibility.h
+++ b/Source/MacCompatibility.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.
@@ -48,9 +49,6 @@ along with Lugaru. If not, see .
# endif
#endif
-typedef bool Boolean;
-
-
struct Point {
short v;
short h;
@@ -62,11 +60,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;
@@ -99,12 +92,6 @@ inline bool isnormal( double x)
#include
#endif
-
-// fix file names to use '/' instead of ':'
-char* ConvertFileName( const char* orgfilename, const char *mode = "rb" );
-
-#define fopen( a, b) fopen(ConvertFileName(a, b), b)
-
#endif