diff options
author | Strangerke | 2011-07-18 23:14:22 +0200 |
---|---|---|
committer | Strangerke | 2011-07-18 23:14:22 +0200 |
commit | 17003d0e906f776996b483a18e463b1994c8fb61 (patch) | |
tree | 725c0d02f23a2bab23f7d5c99ae87d28eb3b8ca9 /engines | |
parent | b3f0e72e25a3b738ab4af0f198ff78938dd4e5b3 (diff) | |
download | scummvm-rg350-17003d0e906f776996b483a18e463b1994c8fb61.tar.gz scummvm-rg350-17003d0e906f776996b483a18e463b1994c8fb61.tar.bz2 scummvm-rg350-17003d0e906f776996b483a18e463b1994c8fb61.zip |
CGE: Fix name of showBak()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge/cge.cpp | 11 | ||||
-rw-r--r-- | engines/cge/cge.h | 4 | ||||
-rw-r--r-- | engines/cge/cge_main.cpp | 8 |
3 files changed, 13 insertions, 10 deletions
diff --git a/engines/cge/cge.cpp b/engines/cge/cge.cpp index 7e8c8377a8..239fc89dfc 100644 --- a/engines/cge/cge.cpp +++ b/engines/cge/cge.cpp @@ -123,11 +123,12 @@ void CGEEngine::setup() { _maxCaveArr[3] = 23; _maxCaveArr[4] = 24; }; - _maxCave = 0; - _dark = false; - _game = false; - _now = 1; - _lev = -1; + _maxCave = 0; + _dark = false; + _game = false; + _now = 1; + _lev = -1; + _recentStep = -2; for (int i = 0; i < 4; i++) _flag[i] = false; diff --git a/engines/cge/cge.h b/engines/cge/cge.h index b67b6b28a7..d83025dd25 100644 --- a/engines/cge/cge.h +++ b/engines/cge/cge.h @@ -111,7 +111,7 @@ public: bool _game; int _now; int _lev; - char _usrFnam[15]; + char _usrFnam[15]; Common::RandomSource _randomSource; byte * _mini; @@ -189,7 +189,7 @@ public: void miniStep(int stp); void AltCtrlDel(); void postMiniStep(int stp); - void ShowBak(int ref); + void showBak(int ref); void snBackPt(Sprite *spr, int stp); void snBarrier(int cav, int bar, bool horz); diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp index 10ec47e815..527d075ade 100644 --- a/engines/cge/cge_main.cpp +++ b/engines/cge/cge_main.cpp @@ -560,8 +560,8 @@ void CGEEngine::postMiniStep(int step) { SNPOST2_(SNEXEC, -1, _recentStep = step, kMiniStep); } -void CGEEngine::ShowBak(int ref) { - debugC(1, kDebugEngine, "CGEEngine::ShowBack(%d)", ref); +void CGEEngine::showBak(int ref) { + debugC(1, kDebugEngine, "CGEEngine::showBack(%d)", ref); Sprite *spr = _vga->_spareQ->locate(ref); if (spr) { @@ -582,7 +582,7 @@ void CGEEngine::caveUp() { if (_music) loadMidi(_now); - ShowBak(BakRef); + showBak(BakRef); loadMapping(); _text->preload(BakRef, BakRef + 1000); Sprite *spr = _vga->_spareQ->first(); @@ -1042,6 +1042,8 @@ void CGEEngine::nextStep() { } void CGEEngine::saveMapping() { + debugC(1, kDebugEngine, "CGEEngine::saveMapping()"); + IoHand cfTab(progName(".TAB"), UPD); if (!cfTab._error) { cfTab.seek((_now - 1) * sizeof(Cluster::_map)); |