diff options
author | Omer Mor | 2016-07-23 11:17:06 +0300 |
---|---|---|
committer | Omer Mor | 2016-07-25 22:44:11 +0300 |
commit | 7c19e2661014f27e2031e44d5cee19eea63d4c8f (patch) | |
tree | 1c182c15f7603eff7006391285d07a06576d6070 /engines/sci/engine | |
parent | 2e4dd165e936dd0cce01df505993cbe49bb335d4 (diff) | |
download | scummvm-rg350-7c19e2661014f27e2031e44d5cee19eea63d4c8f.tar.gz scummvm-rg350-7c19e2661014f27e2031e44d5cee19eea63d4c8f.tar.bz2 scummvm-rg350-7c19e2661014f27e2031e44d5cee19eea63d4c8f.zip |
SCI: Add detection to the Hoyle 5 family of games
Added games are:
Hoyle Classic Games
Hoyle Bridge
Hoyle Children's Collection
Hoyle Solitaire (CD and Hard Drive versions)
Additionaly, kGetConfig was modified to support two settings used by
these games: "laptop" and "jumpto".
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index 0d6831139a..1924848717 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -410,7 +410,13 @@ reg_t kGetConfig(EngineState *s, int argc, reg_t *argv) { // Debug setting in LSL7, specifies the room to start from. s->_segMan->strcpy(data, ""); } else if (setting == "game") { - // Hoyle 5 Demo startup. + // Hoyle 5 startup, specifies the number of the game to start. + s->_segMan->strcpy(data, ""); + } else if (setting == "laptop") { + // Hoyle 5 startup. + s->_segMan->strcpy(data, ""); + } else if (setting == "jumpto") { + // Hoyle 5 startup. s->_segMan->strcpy(data, ""); } else { error("GetConfig: Unknown configuration setting %s", setting.c_str()); |