diff options
author | Nicola Mettifogo | 2008-08-31 05:18:25 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-08-31 05:18:25 +0000 |
commit | 983863bef3f72b81cd0c1211241c64670c4e3e18 (patch) | |
tree | c6f14bff41a913bdf4efe2c858d863bdbf4801ed /engines/parallaction/parallaction_ns.cpp | |
parent | 805a46b229658782820a5f78a862e19e2533ec18 (diff) | |
download | scummvm-rg350-983863bef3f72b81cd0c1211241c64670c4e3e18.tar.gz scummvm-rg350-983863bef3f72b81cd0c1211241c64670c4e3e18.tar.bz2 scummvm-rg350-983863bef3f72b81cd0c1211241c64670c4e3e18.zip |
Uniformed the interface of Parallaction class (and its hierarchy) with regards of gui code, which is now independent of engine version.
svn-id: r34219
Diffstat (limited to 'engines/parallaction/parallaction_ns.cpp')
-rw-r--r-- | engines/parallaction/parallaction_ns.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/engines/parallaction/parallaction_ns.cpp b/engines/parallaction/parallaction_ns.cpp index 77a6d0a577..e363e665eb 100644 --- a/engines/parallaction/parallaction_ns.cpp +++ b/engines/parallaction/parallaction_ns.cpp @@ -220,16 +220,6 @@ void Parallaction_ns::switchBackground(const char* background, const char* mask) } -void Parallaction_ns::showSlide(const char *name, int x, int y) { - BackgroundInfo *info = new BackgroundInfo; - _disk->loadSlide(*info, name); - - info->x = (x == CENTER_LABEL_HORIZONTAL) ? ((_vm->_screenWidth - info->width) >> 1) : x; - info->y = (y == CENTER_LABEL_VERTICAL) ? ((_vm->_screenHeight - info->height) >> 1) : y; - - _gfx->setBackground(kBackgroundSlide, info); -} - void Parallaction_ns::runPendingZones() { if (_activeZone) { ZonePtr z = _activeZone; // speak Zone or sound @@ -395,6 +385,7 @@ void Parallaction_ns::changeCharacter(const char *name) { } void Parallaction_ns::cleanupGame() { + _inTestResult = false; _engineFlags &= ~kEngineTransformedDonna; |