[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.53,1.54 intern.h,2.36,2.37
Jonathan Gray
khalek at users.sourceforge.net
Mon Feb 17 13:43:13 CET 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.62,1.63
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.37,2.38 scumm.h,1.149,1.150 script_v6.cpp,1.54,1.55 script_v8.cpp,2.136,2.137 vars.cpp,1.36,1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv10123
Modified Files:
script_v6.cpp intern.h
Log Message:
pickVarRandom stub
Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- script_v6.cpp 17 Feb 2003 10:40:02 -0000 1.53
+++ script_v6.cpp 17 Feb 2003 21:42:32 -0000 1.54
@@ -326,7 +326,7 @@
OPCODE(o6_invalid),
OPCODE(o6_invalid),
OPCODE(o6_invalid),
- OPCODE(o6_invalid),
+ OPCODE(o6_pickVarRandom),
/* E4 */
OPCODE(o6_invalid),
OPCODE(o6_invalid),
@@ -2947,6 +2947,21 @@
}
push(readVar(0));
+}
+
+void Scumm_v6::o6_pickVarRandom() {
+ int args[16];
+ int a, b;
+
+ warning("stub: o6_pickVarRandom()");
+ getStackList(args, sizeof(args) / sizeof(args[0]));
+ a = fetchScriptWord();
+ b = readVar(a);
+ // readArray(a, 0, 0);
+ // push(readVar(a));
+
+ // readArray(a, 0, ?);
+ push(2);
}
void Scumm_v6::decodeParseString(int m, int n)
Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/intern.h,v
retrieving revision 2.36
retrieving revision 2.37
diff -u -d -r2.36 -r2.37
--- intern.h 17 Feb 2003 10:14:43 -0000 2.36
+++ intern.h 17 Feb 2003 21:42:33 -0000 2.37
@@ -370,6 +370,7 @@
void o6_closeFile();
void o6_deleteFile();
void o6_findAllObjects();
+ void o6_pickVarRandom();
};
class Scumm_v7 : public Scumm_v6
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.62,1.63
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.37,2.38 scumm.h,1.149,1.150 script_v6.cpp,1.54,1.55 script_v8.cpp,2.136,2.137 vars.cpp,1.36,1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list