[Scummvm-cvs-logs] SF.net SVN: scummvm: [33048] residual/trunk

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Mon Jul 14 00:31:45 CEST 2008


Revision: 33048
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33048&view=rev
Author:   aquadran
Date:     2008-07-13 15:31:44 -0700 (Sun, 13 Jul 2008)

Log Message:
-----------
added amigaos4 compilation support

Modified Paths:
--------------
    residual/trunk/configure
    residual/trunk/engine/registry.cpp

Modified: residual/trunk/configure
===================================================================
--- residual/trunk/configure	2008-07-13 22:25:11 UTC (rev 33047)
+++ residual/trunk/configure	2008-07-13 22:31:44 UTC (rev 33048)
@@ -710,7 +710,8 @@
 		DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
 		;;
 	amigaos*)
-		# TODO: anything to be added here?
+		DEFINES="$DEFINES -DMINIGL"
+		LIBS="$LIBS -lGL -lGLU"
 		;;
 	# given this is a shell script assume some type of unix
 	*)

Modified: residual/trunk/engine/registry.cpp
===================================================================
--- residual/trunk/engine/registry.cpp	2008-07-13 22:25:11 UTC (rev 33047)
+++ residual/trunk/engine/registry.cpp	2008-07-13 22:31:44 UTC (rev 33048)
@@ -37,6 +37,8 @@
 #ifndef __DC__
 #ifdef WIN32
 	std::string filename = "residual.ini";
+#elif defined __amigaos4__
+	std::string filename = "/PROGDIR/residual.ini";
 #else
 	std::string filename = std::string(std::getenv("HOME")) + "/.residualrc";
 #endif
@@ -89,6 +91,8 @@
 #ifndef __DC__
 #ifdef WIN32
 	std::string filename = "residual.ini";
+#elif defined __amigaos4__
+	std::string filename = "/PROGDIR/residual.ini";
 #else
 	std::string filename = std::string(std::getenv("HOME")) + "/.residualrc";
 #endif


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