[Scummvm-cvs-logs] CVS: scummvm/bs2 logic.cpp,1.6,1.7 sword2.cpp,1.24,1.25

Max Horn fingolfin at users.sourceforge.net
Mon Sep 8 18:57:15 CEST 2003


Update of /cvsroot/scummvm/scummvm/bs2
In directory sc8-pr-cvs1:/tmp/cvs-serv18958/bs2

Modified Files:
	logic.cpp sword2.cpp 
Log Message:
renamed VersionSettings -> TargetSettings and also renamed some of its members; added GameDetector::findTarget; made launcher use that new method; some initial preparations for Plugin code

Index: logic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/logic.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- logic.cpp	7 Sep 2003 03:18:26 -0000	1.6
+++ logic.cpp	8 Sep 2003 15:38:29 -0000	1.7
@@ -95,7 +95,7 @@
 		if	(head->fileType!=GAME_OBJECT)
 			Con_fatal_error("Logic_engine %d not an object", ID);
 
-		cur_object_hub = (_object_hub	*) (head+1);
+		cur_object_hub = (_object_hub *) (head+1);
 
 //		Zdebug(" %d id(%d) pc(%d)", cur_object_hub->logic_level, cur_object_hub->script_id[cur_object_hub->logic_level], cur_object_hub->script_pc[cur_object_hub->logic_level]);
 

Index: sword2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/sword2.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- sword2.cpp	2 Sep 2003 15:55:54 -0000	1.24
+++ sword2.cpp	8 Sep 2003 15:38:29 -0000	1.25
@@ -78,7 +78,7 @@
 
 //------------------------------------------------------------------------------------
 
-static const VersionSettings sword2_settings[] = {
+static const TargetSettings sword2_settings[] = {
 	/* Broken Sword 2 */
 	{"sword2", "Broken Sword II", GID_SWORD2, 99, MDT_ADLIB | MDT_NATIVE, GF_DEFAULT_TO_1X_SCALER, "players.clu" },
 	{"sword2demo", "Broken Sword II (Demo)", GID_SWORD2_DEMO, 99, MDT_ADLIB | MDT_NATIVE, GF_DEFAULT_TO_1X_SCALER, "players.clu" },
@@ -87,7 +87,7 @@
 
 Sword2State *g_sword2 = NULL;
 
-const VersionSettings *Engine_SWORD2_targetList() {
+const TargetSettings *Engine_SWORD2_targetList() {
 	return sword2_settings;
 }
 





More information about the Scummvm-git-logs mailing list