diff options
author | Matthew Hoops | 2010-07-27 19:07:39 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-07-27 19:07:39 +0000 |
commit | 828434456f49587e64c85d8117323411542e759f (patch) | |
tree | 53133db3ab1eaf9f8f352f3d8e01d8bda872cdfc /engines/sci/engine/features.h | |
parent | 3cae0f3452233bc03ce5964e0bf7567798f35856 (diff) | |
download | scummvm-rg350-828434456f49587e64c85d8117323411542e759f.tar.gz scummvm-rg350-828434456f49587e64c85d8117323411542e759f.tar.bz2 scummvm-rg350-828434456f49587e64c85d8117323411542e759f.zip |
SCI: Better fix for bug #3035058 - ECOQUEST demo: Missing subtitles
The demo really uses kGetMessage and not kMessage. We now detect which version of the message function is used. Thanks to Walter for pointing this out.
svn-id: r51384
Diffstat (limited to 'engines/sci/engine/features.h')
-rw-r--r-- | engines/sci/engine/features.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/sci/engine/features.h b/engines/sci/engine/features.h index 5b383746d8..167c207437 100644 --- a/engines/sci/engine/features.h +++ b/engines/sci/engine/features.h @@ -66,6 +66,12 @@ public: * @return Graphics functions type, SCI_VERSION_0_EARLY / SCI_VERSION_0_LATE */ SciVersion detectGfxFunctionsType(); + + /** + * Autodetects the message function used + * @return Message function type, SCI_VERSION_1_LATE / SCI_VERSION_1_1 + */ + SciVersion detectMessageFunctionType(); #ifdef ENABLE_SCI32 /** @@ -105,7 +111,7 @@ private: bool autoDetectSci21KernelType(); #endif - SciVersion _doSoundType, _setCursorType, _lofsType, _gfxFunctionsType; + SciVersion _doSoundType, _setCursorType, _lofsType, _gfxFunctionsType, _messageFunctionType; #ifdef ENABLE_SCI32 SciVersion _sci21KernelType; #endif |