From 82165bb6f63290635cedb41b3a8dff1a5d1f5745 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Tue, 23 Feb 2016 20:17:18 +0100 Subject: SCI: Improve kAnimate fastcast detection, Remove EQ1 hack - Add "kAnimate fast cast state" to "version" debug command - Make it possible for script patcher signatures to get fully used outside of the regular script patcher - Remove previous fastcast detections and replace them with a signature heuristic - Remove object name checking, when fastcast global is set - Heuristic detects "fast cast" support incorrectly for multilingual KQ5, but it seems the game never sets the global, so it won't matter. KQ5 CD (also SCI1 late) has fastcast support. - Remove hack in GfxView::draw - Add lots of comments to ScriptPatcher class This fixes EcoQuest 1 Floppy showing the anemone on top of the message box (see bug #5170) --- engines/sci/sci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/sci.h') diff --git a/engines/sci/sci.h b/engines/sci/sci.h index 5c86d92355..3945e68e33 100644 --- a/engines/sci/sci.h +++ b/engines/sci/sci.h @@ -282,7 +282,7 @@ public: inline EngineState *getEngineState() const { return _gamestate; } inline Vocabulary *getVocabulary() const { return _vocabulary; } inline EventManager *getEventManager() const { return _eventMan; } - inline reg_t getGameObject() const { return _gameObjectAddress; } + inline reg_t getGameObject() const { return _gameObjectAddress; } // Gets the game object VM address Common::RandomSource &getRNG() { return _rng; } -- cgit v1.2.3