[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,1.65,1.66
Max Horn
fingolfin at users.sourceforge.net
Wed Nov 27 19:09:04 CET 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.98,1.99 simon.h,1.23,1.24 vga.cpp,1.14,1.15
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.99,1.100 vga.cpp,1.15,1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv20668
Modified Files:
gfx.cpp
Log Message:
small cleanup
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- gfx.cpp 27 Nov 2002 22:45:36 -0000 1.65
+++ gfx.cpp 28 Nov 2002 03:08:35 -0000 1.66
@@ -603,23 +603,12 @@
_flashlight.y, _flashlight.y + _flashlight.h, 0x80000000);
if (_flashlight.buffer) {
-
- offset = _realWidth - _flashlight.w;
i = _flashlight.h;
do {
- j = _flashlight.w / 4;
- do {
-#if defined(SCUMM_NEED_ALIGNMENT)
- memset(_flashlight.buffer, 0, sizeof(uint32));
-#else
- *(uint32 *)_flashlight.buffer = 0;
-#endif
- _flashlight.buffer += 4;
- } while (--j);
- _flashlight.buffer += offset;
+ memset(_flashlight.buffer, 0, _flashlight.w);
+ _flashlight.buffer += _realWidth;
} while (--i);
}
-
_flashlightIsDrawn = false;
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.98,1.99 simon.h,1.23,1.24 vga.cpp,1.14,1.15
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.99,1.100 vga.cpp,1.15,1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list