[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.239,2.240
Max Horn
fingolfin at users.sourceforge.net
Sat Jan 3 13:30:04 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.238,2.239 saveload.cpp,1.126,1.127 script_v5.cpp,1.215,1.216 script_v6.cpp,1.237,1.238 scumm.h,1.342,1.343 scummvm.cpp,2.527,2.528
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.240,2.241 gfx.h,1.50,1.51 saveload.cpp,1.127,1.128 scumm.h,1.343,1.344 scummvm.cpp,2.528,2.529
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv19942
Modified Files:
gfx.cpp
Log Message:
oops
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.239
retrieving revision 2.240
diff -u -d -r2.239 -r2.240
--- gfx.cpp 3 Jan 2004 21:26:44 -0000 2.239
+++ gfx.cpp 3 Jan 2004 21:29:17 -0000 2.240
@@ -235,7 +235,7 @@
initScreens(16, _screenWidth, 144);
}
-void ScummEngine::initScreens(int a, int b, int w, int h) {
+void ScummEngine::initScreens(int b, int w, int h) {
int i;
for (i = 0; i < 3; i++) {
@@ -244,6 +244,8 @@
}
if (!getResourceAddress(rtBuffer, 4)) {
+ // Since the size of screen 3 is fixed, there is no need to reallocate it
+ // if its size changed.
if (_version >= 7) {
initVirtScreen(3, 0, (_screenHeight / 2) - 10, _screenWidth, 13, false, false);
} else {
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.238,2.239 saveload.cpp,1.126,1.127 script_v5.cpp,1.215,1.216 script_v6.cpp,1.237,1.238 scumm.h,1.342,1.343 scummvm.cpp,2.527,2.528
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.240,2.241 gfx.h,1.50,1.51 saveload.cpp,1.127,1.128 scumm.h,1.343,1.344 scummvm.cpp,2.528,2.529
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list