[Scummvm-cvs-logs] SF.net SVN: scummvm:[38498] scummvm/trunk/engines/sci/scicore/resource.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Wed Feb 18 20:19:29 CET 2009


Revision: 38498
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38498&view=rev
Author:   fingolfin
Date:     2009-02-18 19:19:29 +0000 (Wed, 18 Feb 2009)

Log Message:
-----------
SCI: Added G_DIR_SEPARATOR to scicore/resource.cpp for now (I'll remove it again soon)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/scicore/resource.cpp

Modified: scummvm/trunk/engines/sci/scicore/resource.cpp
===================================================================
--- scummvm/trunk/engines/sci/scicore/resource.cpp	2009-02-18 19:14:40 UTC (rev 38497)
+++ scummvm/trunk/engines/sci/scicore/resource.cpp	2009-02-18 19:19:29 UTC (rev 38498)
@@ -34,6 +34,15 @@
 #undef SCI_REQUIRE_RESOURCE_FILES
 /* #define SCI_VERBOSE_RESMGR 1 */
 
+// FIXME: Get rid of G_DIR_SEPARATOR  / G_DIR_SEPARATOR_S
+#if _MSC_VER
+#  define G_DIR_SEPARATOR_S "\\"
+#  define G_DIR_SEPARATOR '\\'
+#else
+#  define G_DIR_SEPARATOR_S "/"
+#  define G_DIR_SEPARATOR '/'
+#endif
+
 const char* sci_version_types[] = {
 	"SCI version undetermined (Autodetect failed / not run)",
 	"SCI version 0.xxx",


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list