[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.442,2.443
Eugene Sandulenko
sev at users.sourceforge.net
Thu Apr 28 23:37:12 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.441,2.442
- Next message: [Scummvm-cvs-logs] CVS: scummvm/gob gob.cpp,1.8,1.9 gob.h,1.4,1.5 sound.cpp,1.5,1.6 sound.h,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18368
Modified Files:
gfx.cpp
Log Message:
Add comment to NES-specifix gfx hack with virtual screens
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.442
retrieving revision 2.443
diff -u -d -r2.442 -r2.443
--- gfx.cpp 29 Apr 2005 01:45:38 -0000 2.442
+++ gfx.cpp 29 Apr 2005 06:36:03 -0000 2.443
@@ -273,10 +273,9 @@
}
if ((_platform == Common::kPlatformNES) && (h != _screenHeight)) {
- // FIXME: Why is the kUnkVirtScreen used for the MM NES port? This seems very
- // strange, and at the very least, a comment should be added here that
- // explains why this is done. Maybe it is some kind of hack to shift the
- // other virtual screens downwards?
+ // It is a hack to shift whole screen downwards to match original.
+ // Otherwise we will need to do lots of coordinate adjustments all over
+ // the code
adj = 16;
initVirtScreen(kUnkVirtScreen, 0, _screenWidth, adj, false, false);
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.441,2.442
- Next message: [Scummvm-cvs-logs] CVS: scummvm/gob gob.cpp,1.8,1.9 gob.h,1.4,1.5 sound.cpp,1.5,1.6 sound.h,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list