diff options
author | Max Horn | 2003-05-10 21:49:59 +0000 |
---|---|---|
committer | Max Horn | 2003-05-10 21:49:59 +0000 |
commit | acb35fc915284cb3b194ba8864eb24e39fff992e (patch) | |
tree | dfc1dd77fcda48c14ee8ea0e898cdbd023a14344 /scumm/saveload.cpp | |
parent | e5fe73726a554d312f30682508d2474c8734b0ef (diff) | |
download | scummvm-rg350-acb35fc915284cb3b194ba8864eb24e39fff992e.tar.gz scummvm-rg350-acb35fc915284cb3b194ba8864eb24e39fff992e.tar.bz2 scummvm-rg350-acb35fc915284cb3b194ba8864eb24e39fff992e.zip |
renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and _realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive)
svn-id: r7423
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r-- | scumm/saveload.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp index bd030f89a6..c066734edb 100644 --- a/scumm/saveload.cpp +++ b/scumm/saveload.cpp @@ -163,7 +163,7 @@ bool Scumm::loadState(int slot, bool compat, SaveFileManager *mgr) { gdi._mask_left = -1; - initScreens(0, 0, _realWidth, _realHeight); + initScreens(0, 0, _screenWidth, _screenHeight); // Force a fade to black int old_screenEffectFlag = _screenEffectFlag; @@ -171,7 +171,7 @@ bool Scumm::loadState(int slot, bool compat, SaveFileManager *mgr) { fadeOut(129); _screenEffectFlag = old_screenEffectFlag ? true : false; - initScreens(0, sb, _realWidth, sh); + initScreens(0, sb, _screenWidth, sh); _completeScreenRedraw = true; @@ -193,7 +193,7 @@ bool Scumm::loadState(int slot, bool compat, SaveFileManager *mgr) { if (_features & GF_AFTER_V7) cameraMoved(); - initBGBuffers(_scrHeight); + initBGBuffers(_roomHeight); if ((_features & GF_AUDIOTRACKS) && VAR(VAR_MUSIC_TIMER) > 0) _sound->startCDTimer(); @@ -379,8 +379,8 @@ void Scumm::saveOrLoad(Serializer *s, uint32 savegameVersion) { }; const SaveLoadEntry mainEntries[] = { - MKLINE(Scumm, _scrWidth, sleUint16, VER_V8), - MKLINE(Scumm, _scrHeight, sleUint16, VER_V8), + MKLINE(Scumm, _roomWidth, sleUint16, VER_V8), + MKLINE(Scumm, _roomHeight, sleUint16, VER_V8), MKLINE(Scumm, _ENCD_offs, sleUint32, VER_V8), MKLINE(Scumm, _EXCD_offs, sleUint32, VER_V8), MKLINE(Scumm, _IM00_offs, sleUint32, VER_V8), |