mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 01:39:57 +00:00
Merged o_restoreIconArray() into o1_restoreIconArray().
svn-id: r21756
This commit is contained in:
parent
008d4955dd
commit
1d9cd5ad7d
@ -1190,7 +1190,10 @@ void SimonEngine::o1_copysf() {
|
||||
|
||||
void SimonEngine::o1_restoreIcons() {
|
||||
// 137
|
||||
o_restoreIconArray(getVarOrByte());
|
||||
uint num = getVarOrByte();
|
||||
WindowBlock *window = _windowArray[num & 7];
|
||||
if (window->iconPtr)
|
||||
drawIconArray(num, window->iconPtr->itemRef, window->iconPtr->line, window->iconPtr->classMask);
|
||||
}
|
||||
|
||||
void SimonEngine::o1_freezeZones() {
|
||||
@ -1954,15 +1957,6 @@ void SimonEngine::o_waitForMark(uint i) {
|
||||
}
|
||||
}
|
||||
|
||||
void SimonEngine::o_restoreIconArray(uint num) {
|
||||
WindowBlock *window;
|
||||
|
||||
window = _windowArray[num & 7];
|
||||
if (window->iconPtr == NULL)
|
||||
return;
|
||||
drawIconArray(num, window->iconPtr->itemRef, window->iconPtr->line, window->iconPtr->classMask);
|
||||
}
|
||||
|
||||
void SimonEngine::o_freezeBottom() {
|
||||
_vgaBufStart = _vgaBufFreeStart;
|
||||
_vgaFileBufOrg = _vgaBufFreeStart;
|
||||
|
@ -574,7 +574,6 @@ protected:
|
||||
void o_waitForSync(uint a);
|
||||
void skipSpeech();
|
||||
void o_sync(uint a);
|
||||
void o_restoreIconArray(uint a);
|
||||
void o_freezeBottom();
|
||||
void killAllTimers();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user