diff options
author | Filippos Karapetis | 2010-06-10 07:32:05 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-10 07:32:05 +0000 |
commit | 9b8e4e8359083ba322c19701579762104b7a6826 (patch) | |
tree | 5a8c1bd0f38fe9266380ff8e81fea676a8353363 /engines/sci/detection.cpp | |
parent | ede57eb61b541c9487d2068f01fb28be2e984f5f (diff) | |
download | scummvm-rg350-9b8e4e8359083ba322c19701579762104b7a6826.tar.gz scummvm-rg350-9b8e4e8359083ba322c19701579762104b7a6826.tar.bz2 scummvm-rg350-9b8e4e8359083ba322c19701579762104b7a6826.zip |
Moved all of the game init/run/exit logic inside the SciEngine class
svn-id: r49559
Diffstat (limited to 'engines/sci/detection.cpp')
-rw-r--r-- | engines/sci/detection.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp index 1ccfc6bf02..f36bae2d6d 100644 --- a/engines/sci/detection.cpp +++ b/engines/sci/detection.cpp @@ -36,7 +36,6 @@ #include "sci/engine/script.h" #include "sci/engine/seg_manager.h" #include "sci/engine/state.h" -#include "sci/engine/vm.h" // for convertSierraGameId namespace Sci { @@ -198,6 +197,12 @@ static const OldNewIdTableEntry s_oldNewTable[] = { { "", "", SCI_VERSION_NONE } }; +/** + * Converts the builtin Sierra game IDs to the ones we use in ScummVM + * @param[in] gameId The internal game ID + * @param[in] gameFlags The game's flags, which are adjusted accordingly for demos + * @return The equivalent ScummVM game id + */ Common::String convertSierraGameId(Common::String sierraId, uint32 *gameFlags, ResourceManager *resMan) { // Convert the id to lower case, so that we match all upper/lower case variants. sierraId.toLowercase(); |