[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.154,2.155
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Sat Jun 7 05:01:01 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv19133
Modified Files:
gfx.cpp
Log Message:
CD Loom and EGA Loom should not use the same dissolve effect, so I've
reverted that part of the Loom unification and clarified the comments
slightly.
I also slowed down the CD Loom dissolve a bit. It's still faster than the
default behaviour, but I think it looks better this way. (Feel free to
change that back again if you don't agree.)
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.154
retrieving revision 2.155
diff -u -d -r2.154 -r2.155
--- gfx.cpp 7 Jun 2003 00:49:35 -0000 2.154
+++ gfx.cpp 7 Jun 2003 11:59:56 -0000 2.155
@@ -2378,9 +2378,11 @@
blits = 0;
blits_before_refresh = (3 * w * h) / 25;
- // Speed up the effect for Loom
- if (_gameId == GID_LOOM || _gameId == GID_LOOM256)
- blits_before_refresh *= 4;
+ // Speed up the effect for CD Loom since it uses it so often. I don't
+ // think the original had any delay at all, so on modern hardware it
+ // wasn't even noticeable.
+ if (_gameId == GID_LOOM256)
+ blits_before_refresh *= 2;
for (i = 0; i < w * h; i++) {
x = offsets[i] % vs->width;
@@ -2480,7 +2482,8 @@
}
void Scumm::unkScreenEffect6() {
- if (_gameId == GID_LOOM || _gameId == GID_LOOM256)
+ // CD Loom (but not EGA Loom!) uses a more fine-grained dissolve
+ if (_gameId == GID_LOOM256)
dissolveEffect(1, 1);
else
dissolveEffect(8, 4);
More information about the Scummvm-git-logs
mailing list