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".
This commit is contained in:
Omer Mor 2016-07-23 11:17:06 +03:00
parent 2e4dd165e9
commit 7c19e26610
3 changed files with 57 additions and 5 deletions

View file

@ -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());