[Scummvm-cvs-logs] CVS: scummvm/scumm script_v90he.cpp,2.4,2.5
Travis Howell
kirben at users.sourceforge.net
Sun Sep 5 23:48:03 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26802/scumm
Modified Files:
script_v90he.cpp
Log Message:
Add basic AWIZ call for HE90 games.
Index: script_v90he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v90he.cpp,v
retrieving revision 2.4
retrieving revision 2.5
diff -u -d -r2.4 -r2.5
--- script_v90he.cpp 6 Sep 2004 02:39:02 -0000 2.4
+++ script_v90he.cpp 6 Sep 2004 06:46:59 -0000 2.5
@@ -385,14 +385,25 @@
value -= 46;
if (value == 10) {
- pop();
- pop();
- pop();
- pop();
- pop();
+ int flags = pop();
+ int unk = pop();
+ int y1 = pop();
+ int x1 = pop();
+ int resnum = pop();
+ if (_fullRedraw) {
+ assert(_wizImagesNum < ARRAYSIZE(_wizImages));
+ WizImage *pwi = &_wizImages[_wizImagesNum];
+ pwi->resnum = resnum;
+ pwi->x1 = x1;
+ pwi->y1 = y1;
+ pwi->flags = flags;
+ ++_wizImagesNum;
+ } else {
+ drawWizImage(rtImage, resnum, x1, y1, flags);
+ }
}
- warning("o90_unknown1C stub (%d)", value);
+ debug(1,"o90_unknown1C stub (%d)", value);
}
void ScummEngine_v90he::o90_unknown25() {
More information about the Scummvm-git-logs
mailing list