[Scummvm-cvs-logs] CVS: scummvm/scumm vars.cpp,1.148,1.149
kirben
kirben at users.sourceforge.net
Fri Oct 14 23:16:43 CEST 2005
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21627/scumm
Modified Files:
vars.cpp
Log Message:
Set inital room width and height.
Several early HE games check values, before they are set.
Index: vars.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/vars.cpp,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- vars.cpp 26 Sep 2005 13:46:38 -0000 1.148
+++ vars.cpp 15 Oct 2005 06:15:13 -0000 1.149
@@ -700,6 +700,11 @@
VAR(VAR_V6_EMSSPACE) = 10000;
}
+ if (VAR_ROOM_WIDTH != 0xFF && VAR_ROOM_HEIGHT != 0xFF) {
+ VAR(VAR_ROOM_WIDTH) = _screenWidth;
+ VAR(VAR_ROOM_HEIGHT) = _screenHeight;
+ }
+
if (VAR_FADE_DELAY != 0xFF)
VAR(VAR_FADE_DELAY) = 3;
More information about the Scummvm-git-logs
mailing list