diff options
author | Paul Gilbert | 2011-02-23 22:16:02 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-02-23 22:16:02 +1100 |
commit | 7a5b633bf9b42fadbbe443f2e33caa0cf380cb10 (patch) | |
tree | 8e2e01f411b96692b009996c1a7ac9c32d27c6d7 /engines | |
parent | 814678b24ef5da11da5f043ec1227f311658a7a6 (diff) | |
download | scummvm-rg350-7a5b633bf9b42fadbbe443f2e33caa0cf380cb10.tar.gz scummvm-rg350-7a5b633bf9b42fadbbe443f2e33caa0cf380cb10.tar.bz2 scummvm-rg350-7a5b633bf9b42fadbbe443f2e33caa0cf380cb10.zip |
TSAGE: Added proper cursor showing when the scene changes
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/core.cpp | 2 | ||||
-rw-r--r-- | engines/tsage/saveload.h | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index cd7d2cda9f..4f7bfef173 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -1309,6 +1309,8 @@ void ScenePalette::changeBackground(const Rect &bounds, FadeMode fadeMode) { _globals->_screenSurface.copyFrom(_globals->_sceneManager._scene->_backSurface, bounds, Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT), NULL); + _globals->_events.showCursor(); + tempPalette._listeners.clear2(); } void ScenePalette::synchronise(Serialiser &s) { diff --git a/engines/tsage/saveload.h b/engines/tsage/saveload.h index efaa8d696e..12552f8104 100644 --- a/engines/tsage/saveload.h +++ b/engines/tsage/saveload.h @@ -118,6 +118,12 @@ public: Fn(*i); } + void clear2() { + for (typename List<T>::iterator i = this->begin(); i != this->end(); ++i) + delete *i; + Common::List<T>::clear(); + } + void synchronise(Serialiser &s) { int entryCount; |