diff options
Diffstat (limited to 'engines/titanic/support')
-rw-r--r-- | engines/titanic/support/screen_manager.cpp | 5 | ||||
-rw-r--r-- | engines/titanic/support/screen_manager.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/support/screen_manager.cpp b/engines/titanic/support/screen_manager.cpp index 553486d094..cc9054e688 100644 --- a/engines/titanic/support/screen_manager.cpp +++ b/engines/titanic/support/screen_manager.cpp @@ -73,6 +73,11 @@ int CScreenManager::setFontNumber(int fontNumber) { return oldFontNumber; } +void CScreenManager::preLoad() { + if (_textCursor) + _textCursor->hide(); +} + /*------------------------------------------------------------------------*/ OSScreenManager::OSScreenManager(TitanicEngine *vm): CScreenManager(vm), diff --git a/engines/titanic/support/screen_manager.h b/engines/titanic/support/screen_manager.h index a7c929fb5f..7140001bd4 100644 --- a/engines/titanic/support/screen_manager.h +++ b/engines/titanic/support/screen_manager.h @@ -228,6 +228,11 @@ public: * Set the current font number */ int setFontNumber(int fontNumber); + + /** + * Called when a game is about to be loaded + */ + void preLoad(); }; class OSScreenManager: CScreenManager { |