[Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.243,1.244
kirben
kirben at users.sourceforge.net
Sat Oct 29 19:23:44 CEST 2005
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15162/scumm
Modified Files:
akos.cpp
Log Message:
Shadows are used in HE90 too.
Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -d -r1.243 -r1.244
--- akos.cpp 29 Oct 2005 03:14:18 -0000 1.243
+++ akos.cpp 30 Oct 2005 02:22:53 -0000 1.244
@@ -477,11 +477,11 @@
} else {
uint32 type = cond & 0xC0000000;
cond &= 0x3FFFFFFF;
- if (_vm->_heversion >= 95) {
+ if (_vm->_heversion >= 90) {
shadowMask = cond & 0xE000;
cond &= ~0xE000;
}
- if (_vm->_heversion >= 95 && cond == 0) {
+ if (_vm->_heversion >= 90 && cond == 0) {
decflag = 1;
} else if (type == 0x40000000) { // restored_bit
decflag = (a->_heCondMask & cond) ? 1 : 0;
@@ -498,7 +498,7 @@
if (decflag == 0)
continue;
- if (_vm->_heversion >= 95) {
+ if (_vm->_heversion >= 90) {
_shadow_mode = ((shadowMask & 0x8000) && xmap) ? 3 : 0;
}
@@ -573,7 +573,7 @@
} else if (_shadow_mode == 2) {
error("codec1_spec2"); // TODO
} else if (_shadow_mode == 3) {
- if (_vm->_heversion >= 95) {
+ if (_vm->_heversion >= 90) {
pcolor = (pcolor << 8) + *dst;
pcolor = xmap[pcolor];
} else if (pcolor < 8) {
More information about the Scummvm-git-logs
mailing list