[Scummvm-cvs-logs] SF.net SVN: scummvm:[46076] scummvm/trunk/engines/scumm
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Sun Nov 22 12:12:26 CET 2009
Revision: 46076
http://scummvm.svn.sourceforge.net/scummvm/?rev=46076&view=rev
Author: Kirben
Date: 2009-11-22 11:12:26 +0000 (Sun, 22 Nov 2009)
Log Message:
-----------
Virtualise drawBits1().
Modified Paths:
--------------
scummvm/trunk/engines/scumm/charset.cpp
scummvm/trunk/engines/scumm/charset.h
Modified: scummvm/trunk/engines/scumm/charset.cpp
===================================================================
--- scummvm/trunk/engines/scumm/charset.cpp 2009-11-22 11:00:14 UTC (rev 46075)
+++ scummvm/trunk/engines/scumm/charset.cpp 2009-11-22 11:12:26 UTC (rev 46076)
@@ -1098,8 +1098,6 @@
} else {
if (_shadowMode != kNoShadowMode) {
*(dst + 1) = _shadowColor;
- *(dst + s.pitch) = _shadowColor;
- *(dst + s.pitch + 1) = _shadowColor;
}
*dst = _color;
}
Modified: scummvm/trunk/engines/scumm/charset.h
===================================================================
--- scummvm/trunk/engines/scumm/charset.h 2009-11-22 11:00:14 UTC (rev 46075)
+++ scummvm/trunk/engines/scumm/charset.h 2009-11-22 11:12:26 UTC (rev 46076)
@@ -108,7 +108,7 @@
ShadowMode _shadowMode;
void enableShadow(bool enable);
- void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth);
+ virtual void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth);
public:
CharsetRendererCommon(ScummEngine *vm);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list