[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.206,2.207
Travis Howell
kirben at users.sourceforge.net
Mon Oct 20 09:49:04 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv16409/scumm
Modified Files:
script_v2.cpp
Log Message:
cumm V1-2 doesn't use textslots, checked against V1 Maniac, V2 Zak disasm.
Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.206
retrieving revision 2.207
diff -u -d -r2.206 -r2.207
--- script_v2.cpp 5 Oct 2003 17:32:38 -0000 2.206
+++ script_v2.cpp 20 Oct 2003 12:14:39 -0000 2.207
@@ -408,10 +408,7 @@
}
*ptr = 0;
- // For now, always use textSlot 0. Not sure if there are any situations where we might
- // need to us another one?
int textSlot = 0;
-
_string[textSlot].xpos = 0;
_string[textSlot].ypos = 0;
_string[textSlot].right = 320;
@@ -428,20 +425,7 @@
}
_messagePtr = buffer;
- switch (textSlot) {
- case 0:
- actorTalk();
- break;
- case 1:
- drawString(1);
- break;
- case 2:
- unkMessage1();
- break;
- case 3:
- unkMessage2();
- break;
- }
+ actorTalk();
}
int ScummEngine_v2::readVar(uint var) {
More information about the Scummvm-git-logs
mailing list