]> git.jsancho.org Git - lugaru.git/blobdiff - Source/MacCompatibility.cpp
Removed commented out code
[lugaru.git] / Source / MacCompatibility.cpp
index 7e06997d8cce9ce55074078dd9c184f117bcc66d..ea8ba749c12d655499360cb2f7401d376d5d9d7a 100644 (file)
@@ -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.
 
@@ -69,23 +70,6 @@ public:
 };
 static AppTime g_appTime;
 
-
-void CopyCStringToPascal( const char* src, unsigned char dst[256])
-{
-    int len = strlen( src);
-    dst[ 0] = len;
-    memcpy( dst + 1, src, len);
-}
-
-
-void CopyPascalStringToC( const unsigned char* src, char* dst)
-{
-    int len = src[ 0];
-    memcpy( dst, src + 1, len);
-    dst[ len] = 0;
-}
-
-
 AbsoluteTime UpTime()
 {
     __int64 counter;
@@ -148,7 +132,6 @@ static int locateOneElement(char *buf)
     char *ptr;
     DIR *dirp;
 
-    //if (PHYSFS_exists(buf))
     if (access(buf, F_OK) == 0)
         return(1);  /* quick rejection: exists in current case. */