[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,1.58,1.59
Max Horn
fingolfin at users.sourceforge.net
Sun Nov 10 07:43:04 CET 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/simon midi.cpp,1.7,1.8 res.cpp,1.9,1.10 simon.cpp,1.65,1.66 simon.h,1.11,1.12
- Next message: [Scummvm-cvs-logs] CVS: scummvm README,1.22,1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv28117
Modified Files:
gfx.cpp
Log Message:
fix for the flashlight crash in Indy3; I am not 100% sure that this is the right way t do it, though, need to do some more reseach
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- gfx.cpp 9 Nov 2002 10:02:59 -0000 1.58
+++ gfx.cpp 10 Nov 2002 15:42:53 -0000 1.59
@@ -616,7 +616,6 @@
static int flashX, flashY, flashW, flashH;
int i, j, offset;
- int topline = virtscr[0].topline;
// Remove the flash light first if it was previously drawn
if (_flashlightIsDrawn) {
@@ -667,7 +666,7 @@
}
byte *bgbak;
- offset = (flashY - topline) * _realWidth + virtscr[0].xstart + flashX * 8;
+ offset = flashY * _realWidth + virtscr[0].xstart + flashX * 8;
flashBuffer = virtscr[0].screenPtr + offset;
bgbak = getResourceAddress(rtBuffer, 5) + offset;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/simon midi.cpp,1.7,1.8 res.cpp,1.9,1.10 simon.cpp,1.65,1.66 simon.h,1.11,1.12
- Next message: [Scummvm-cvs-logs] CVS: scummvm README,1.22,1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list