mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 07:07:10 +00:00
CGE: Fix name of showBak()
This commit is contained in:
parent
b3f0e72e25
commit
17003d0e90
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user