[Scummvm-cvs-logs] CVS: scummvm/scumm script_v90he.cpp,2.106,2.107
Travis Howell
kirben at users.sourceforge.net
Sun Oct 24 06:44:05 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5307/scumm
Modified Files:
script_v90he.cpp
Log Message:
Fun shops start.
Index: script_v90he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v90he.cpp,v
retrieving revision 2.106
retrieving revision 2.107
diff -u -d -r2.106 -r2.107
--- script_v90he.cpp 19 Oct 2004 12:30:42 -0000 2.106
+++ script_v90he.cpp 24 Oct 2004 13:43:36 -0000 2.107
@@ -1619,6 +1619,7 @@
void ScummEngine_v90he::o90_unknownA5() {
+ // Font related
byte string[80];
int a;
@@ -1627,18 +1628,24 @@
switch (subOp) {
case 42:
a = pop();
- if (a == 2)
+ if (a == 2) {
copyScriptString(string);
- else if (a == 1)
+ push(-1);
+ } else if (a == 1) {
pop();
+ writeVar(0, 0);
+ defineArray(0, kStringArray, 0, 0, 0, 0);
+ writeArray(0, 0, 0, 0);
+ push(readVar(0));
+ }
break;
case 57:
+ push(1);
break;
default:
error("o90_unknownA5: Unknown case %d", subOp);
}
- push(0);
debug(1,"o90_unknownA5 stub (%d)", subOp);
}
More information about the Scummvm-git-logs
mailing list