[Scummvm-cvs-logs] SF.net SVN: scummvm:[43566] scummvm/trunk/engines/sci/engine/ static_selectors.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Thu Aug 20 20:25:55 CEST 2009


Revision: 43566
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43566&view=rev
Author:   mthreepwood
Date:     2009-08-20 18:25:55 +0000 (Thu, 20 Aug 2009)

Log Message:
-----------
Add a static selector table for use with the lsl5 demo.

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/static_selectors.cpp

Modified: scummvm/trunk/engines/sci/engine/static_selectors.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/static_selectors.cpp	2009-08-20 18:10:02 UTC (rev 43565)
+++ scummvm/trunk/engines/sci/engine/static_selectors.cpp	2009-08-20 18:25:55 UTC (rev 43566)
@@ -394,6 +394,100 @@
 	{ "setTarget", 171 }
 };
 
+// Taken from Space Quest 1 VGA (Demo)
+static const SelectorRemap lsl5_demo_selectors[] = {
+	{ "init", 103 },
+	{ "play", 42 },
+	{ "replay", 65 },
+	{ "x", 4 },
+	{ "y", 3 },
+	{ "z", 85 },
+	{ "priority", 63 },
+	{ "view", 5 },
+	{ "loop", 6 },
+	{ "cel", 7 },
+	{ "brLeft", 20 },
+	{ "brRight", 22 },
+	{ "brTop", 19 },
+	{ "brBottom", 21 },
+	{ "xStep", 54 },
+	{ "yStep", 55 },
+	{ "nsBottom", 11 },
+	{ "nsTop", 9 },
+	{ "nsLeft", 10 },
+	{ "nsRight", 12 },
+	{ "font", 33 },
+	{ "text", 26 },
+	{ "type", 34 },
+	{ "state", 32 },
+	{ "doit", 60 },
+	{ "delete", 84 },
+	{ "signal", 17 },
+	{ "underBits", 8 },
+	{ "canBeHere", 57 },
+	{ "client", 45 },
+	{ "dx", 46 },
+	{ "dy", 47 },
+	{ "xStep", 54 },
+	{ "yStep", 55 },
+	{ "b-moveCnt", 48 },
+	{ "b-i1", 49 },
+	{ "b-i2", 50 },
+	{ "b-di", 51 },
+	{ "b-xAxis", 52 },
+	{ "b-incr", 53 },
+	{ "completed", 207 },
+	{ "illegalBits", 18 },
+	{ "dispose", 104 },
+	{ "prevSignal", 148 },
+	{ "message", 40 },
+	{ "modifiers", 64 },
+	{ "cue", 135 },
+	{ "owner", 149 },
+	{ "handle", 93 },
+	{ "number", 43 },
+	{ "max", 37 },
+	{ "cursor", 36 },
+	{ "claimed", 76 },
+	{ "edgeHit", 308 },
+	{ "wordFail", 71 },
+	{ "syntaxFail", 72 },
+	{ "semanticFail", 73 },
+	{ "cycler", 212 },
+	{ "elements", 27 },
+	{ "lsTop", 13 },
+	{ "lsBottom", 15 },
+	{ "lsLeft", 14 },
+	{ "lsRight", 16 },
+	{ "baseSetter", 277 },
+	{ "who", 39 },
+	{ "distance", 221 },
+	{ "mover", 59 },
+	{ "looper", 62 },
+	{ "isBlocked", 61 },
+	{ "heading", 58 },
+	{ "mode", 30 },
+	{ "caller", 133 },
+	{ "moveDone", 100 },
+	{ "vol", 97 },
+	{ "pri", 98 },
+	{ "min", 94 },
+	{ "sec", 95 },
+	{ "frame", 96 },
+	{ "dataInc", 92 },
+	{ "size", 89 },
+	{ "palette", 91 },
+	{ "moveSpeed", 56 },
+	{ "nodePtr", 44 },
+	{ "flags", 150 },
+	{ "points", 90 },
+	{ "printLang", 87 },
+	{ "subtitleLang", 88 },
+	{ "parseLang", 86 },
+	{ "motionCue", 210 },
+	{ "egoMoveSpeed", 357 }
+};
+
 // A macro for loading one of the above tables in the function below
 #define USE_SELECTOR_TABLE(x) \
 	do { \
@@ -417,6 +511,8 @@
 		USE_SELECTOR_TABLE(christmas1992_selectors);
 	else if (gameID == "lsl1sci")
 		USE_SELECTOR_TABLE(lsl1_demo_selectors);
+	else if (gameID == "lsl5")
+		USE_SELECTOR_TABLE(lsl5_demo_selectors);
 	
 	return names;
 }


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