diff options
author | Max Horn | 2004-09-18 22:42:45 +0000 |
---|---|---|
committer | Max Horn | 2004-09-18 22:42:45 +0000 |
commit | 768133d6e6e4432d599fcf1261193334227b2033 (patch) | |
tree | d9ab4bce2466c4808f83244bd8ae4840f0468c70 /scumm/gfx.cpp | |
parent | e74a3c9a2bdaead10b130e09e7a9cdf2fac17d55 (diff) | |
download | scummvm-rg350-768133d6e6e4432d599fcf1261193334227b2033.tar.gz scummvm-rg350-768133d6e6e4432d599fcf1261193334227b2033.tar.bz2 scummvm-rg350-768133d6e6e4432d599fcf1261193334227b2033.zip |
Rename some member vars to avoid _ followed by an uppercase letter. More of those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this)
svn-id: r15175
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r-- | scumm/gfx.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index c07869887d..474d7cc3e2 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -571,7 +571,7 @@ void ScummEngine::redrawBGAreas() { byte *room = getResourceAddress(rtRoomImage, _roomResource) + _IM00_offs; if (findResource(MKID('BMAP'), room) != NULL) { if (_fullRedraw) { - _BgNeedsRedraw = false; + _bgNeedsRedraw = false; gdi.drawBMAPBg(room, &virtscr[0], _screenStartStrip, _screenWidth); } cont = false; @@ -582,13 +582,13 @@ void ScummEngine::redrawBGAreas() { if (!cont) { drawRoomObjects(val); - _BgNeedsRedraw = false; + _bgNeedsRedraw = false; return; } } // Redraw parts of the background which are marked as dirty. - if (!_fullRedraw && _BgNeedsRedraw) { + if (!_fullRedraw && _bgNeedsRedraw) { for (i = 0; i != gdi._numStrips; i++) { if (testGfxUsageBit(_screenStartStrip + i, USAGE_BIT_DIRTY)) { redrawBGStrip(i, 1); @@ -605,7 +605,7 @@ void ScummEngine::redrawBGAreas() { val = 1; redrawBGStrip(0, 1); } else if (_fullRedraw != 0 || diff != 0) { - _BgNeedsRedraw = false; + _bgNeedsRedraw = false; redrawBGStrip(0, gdi._numStrips); } } else { @@ -616,14 +616,14 @@ void ScummEngine::redrawBGAreas() { val = 1; redrawBGStrip(0, 1); } else if (_fullRedraw != 0 || camera._cur.x != camera._last.x) { - _BgNeedsRedraw = false; + _bgNeedsRedraw = false; _flashlight.isDrawn = false; redrawBGStrip(0, gdi._numStrips); } } drawRoomObjects(val); - _BgNeedsRedraw = false; + _bgNeedsRedraw = false; } void ScummEngine::redrawBGStrip(int start, int num) { |