aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/lol.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2009-05-30 19:48:13 +0000
committerFlorian Kagerer2009-05-30 19:48:13 +0000
commita126a05dc4a6f98ced644b9ed789a520b19976f3 (patch)
tree9622100256b730db709c8701d5a5fb7144305663 /engines/kyra/lol.cpp
parent4ab05f0b387112b72fb44ed9262fde117a434586 (diff)
downloadscummvm-rg350-a126a05dc4a6f98ced644b9ed789a520b19976f3.tar.gz
scummvm-rg350-a126a05dc4a6f98ced644b9ed789a520b19976f3.tar.bz2
scummvm-rg350-a126a05dc4a6f98ced644b9ed789a520b19976f3.zip
LOL: implemented some opcodes required for yvel city
svn-id: r41041
Diffstat (limited to 'engines/kyra/lol.cpp')
-rw-r--r--engines/kyra/lol.cpp22
1 files changed, 1 insertions, 21 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index 350bdc230e..911b62cd07 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -101,7 +101,6 @@ LoLEngine::LoLEngine(OSystem *system, const GameFlags &flags) : KyraEngine_v1(sy
_monsterShapesEx = 0;
_gameShapeMap = 0;
memset(_monsterAnimType, 0, 3);
- _pageSavedFlag = false;
_healOverlay = 0;
_swarmSpellStatus = 0;
@@ -833,7 +832,7 @@ void LoLEngine::startupNew() {
_currentLevel = 1;
giveCredits(41, 0);
- _inventory[0] = makeItem(132, 0, 0);
+ _inventory[0] = makeItem(216, 0, 0);
_inventory[1] = makeItem(217, 0, 0);
_inventory[2] = makeItem(218, 0, 0);
@@ -1635,25 +1634,6 @@ void LoLEngine::updateSequenceBackgroundAnimations() {
_tim->updateBackgroundAnimation(i);
}
-void LoLEngine::savePage5() {
- if (_pageSavedFlag)
- return;
-
- _screen->copyRegionToBuffer(5, 0, 0, 320, 200, _pageBuffer2);
- _pageSavedFlag = true;
-}
-
-void LoLEngine::restorePage5() {
- if (!_pageSavedFlag)
- return;
-
- for (int i = 0; i < 6; i++)
- _tim->freeAnimStruct(i);
-
- _screen->copyBlockToPage(5, 0, 0, 320, 200, _pageBuffer2);
- _pageSavedFlag = false;
-}
-
void LoLEngine::loadTalkFile(int index) {
char file[8];