[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.43,2.44
Jonathan Gray
khalek at users.sourceforge.net
Thu Apr 10 05:21:06 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.76,2.77
- Next message: [Scummvm-cvs-logs] CVS: scummvm/backends/gp32 gp-fs.cpp,NONE,1.1 build.rules,1.4,1.5 gp32.cpp,1.4,1.5 gp32.h,1.4,1.5 portdefs.h,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv6197
Modified Files:
gfx.cpp
Log Message:
use shadowPalette for ega stuff
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.43
retrieving revision 2.44
diff -u -d -r2.43 -r2.44
--- gfx.cpp 10 Apr 2003 11:34:51 -0000 2.43
+++ gfx.cpp 10 Apr 2003 12:20:36 -0000 2.44
@@ -1055,9 +1055,9 @@
for(int z = 0; z < run; z++) {
if(z & 1) {
- *(dst + y * _vm->_realWidth + x) = color & 0xf;
+ *(dst + y * _vm->_realWidth + x) = _vm->_shadowPalette[color & 0xf];
} else {
- *(dst + y * _vm->_realWidth + x) = color >> 4;
+ *(dst + y * _vm->_realWidth + x) = _vm->_shadowPalette[color >> 4];
}
y++;
@@ -1087,7 +1087,7 @@
}
for(int z = 0; z < run; z++) {
- *(dst + y * _vm->_realWidth + x) = color & 0xf;
+ *(dst + y * _vm->_realWidth + x) = _vm->_shadowPalette[color & 0xf];
y++;
if(y >= height){
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.76,2.77
- Next message: [Scummvm-cvs-logs] CVS: scummvm/backends/gp32 gp-fs.cpp,NONE,1.1 build.rules,1.4,1.5 gp32.cpp,1.4,1.5 gp32.h,1.4,1.5 portdefs.h,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list