[Scummvm-cvs-logs] CVS: scummvm/base engine.h,1.1,1.2 plugins.cpp,1.7,1.8

Joost Peters joostp at users.sourceforge.net
Sun Sep 28 08:52:01 CEST 2003


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1:/tmp/cvs-serv1633/base

Modified Files:
	engine.h plugins.cpp 
Log Message:
queen initial import

Index: engine.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/engine.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- engine.h	18 Sep 2003 02:07:16 -0000	1.1
+++ engine.h	28 Sep 2003 15:50:47 -0000	1.2
@@ -43,11 +43,15 @@
 
 	// Beneath a Steel Sky
 	GID_SKY_FIRST,
-	GID_SKY_LAST = GID_SKY_FIRST + 49,
+	GID_SKY_LAST = GID_SKY_FIRST + 9,
 
 	// Broken Sword 2
 	GID_SWORD2_FIRST,
-	GID_SWORD2_LAST = GID_SWORD2_FIRST + 49
+	GID_SWORD2_LAST = GID_SWORD2_FIRST + 9,
+
+	//Flight of the Amazon Queen
+	GID_QUEEN_FIRST,
+	GID_QUEEN_LAST = GID_QUEEN_FIRST + 9
 };
 
 

Index: plugins.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/plugins.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- plugins.cpp	20 Sep 2003 01:08:08 -0000	1.7
+++ plugins.cpp	28 Sep 2003 15:50:47 -0000	1.8
@@ -60,6 +60,11 @@
 extern Engine *Engine_SWORD2_create(GameDetector *detector, OSystem *syst);
 #endif
 
+#ifndef DISABLE_QUEEN
+extern const TargetSettings *Engine_QUEEN_targetList();
+extern Engine *Engine_QUEEN_create(GameDetector *detector, OSystem *syst);
+#endif
+
 #endif
 
 
@@ -247,6 +252,11 @@
 	#ifndef DISABLE_SWORD2
 		tryLoadPlugin(new StaticPlugin("sword2", Engine_SWORD2_targetList(), Engine_SWORD2_create));
 	#endif
+	
+	#ifndef DISABLE_QUEEN
+		tryLoadPlugin(new StaticPlugin("queen", Engine_QUEEN_targetList(), Engine_QUEEN_create));
+	#endif
+		
 #else
 	// Load dynamic plugins
 	// TODO... this is right now just a nasty hack. 
@@ -277,6 +287,11 @@
 	#ifndef DISABLE_SWORD2
 		tryLoadPlugin(new DynamicPlugin("bs2/libbs2.so"));
 	#endif
+
+	#ifndef DISABLE_QUEEN
+		tryLoadPlugin(new DynamicPlugin("queen/libqueen.so"));
+	#endif
+		
 #endif
 }
 





More information about the Scummvm-git-logs mailing list