diff options
author | Colin Snover | 2017-07-02 23:38:19 -0500 |
---|---|---|
committer | Colin Snover | 2017-07-06 19:12:36 -0500 |
commit | 798c6bf34ddfc64f23bac3bf3f26539aaab72f2d (patch) | |
tree | fe939ec177049f167214c3abd2652fc0360afa8a | |
parent | 7ce2e4cf080d9a328be6d1b2f8594cbb52159c28 (diff) | |
download | scummvm-rg350-798c6bf34ddfc64f23bac3bf3f26539aaab72f2d.tar.gz scummvm-rg350-798c6bf34ddfc64f23bac3bf3f26539aaab72f2d.tar.bz2 scummvm-rg350-798c6bf34ddfc64f23bac3bf3f26539aaab72f2d.zip |
COMMON: Add yet another GUIO option flag
SCI engine has very many game options.
-rw-r--r-- | common/gui_options.cpp | 3 | ||||
-rw-r--r-- | common/gui_options.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/common/gui_options.cpp b/common/gui_options.cpp index 120edd0b91..500830a303 100644 --- a/common/gui_options.cpp +++ b/common/gui_options.cpp @@ -80,6 +80,9 @@ const struct GameOpt { { GUIO_GAMEOPTIONS7, "gameOption7" }, { GUIO_GAMEOPTIONS8, "gameOption8" }, { GUIO_GAMEOPTIONS9, "gameOption9" }, + // Option strings must not contain substrings of any other options, so + // "gameOption10" would be invalid here because it contains "gameOption1" + { GUIO_GAMEOPTIONS10, "gameOptionA" }, { GUIO_NONE, 0 } }; diff --git a/common/gui_options.h b/common/gui_options.h index d51a29ad75..6c1aa2fdcd 100644 --- a/common/gui_options.h +++ b/common/gui_options.h @@ -74,6 +74,7 @@ #define GUIO_GAMEOPTIONS7 "\056" #define GUIO_GAMEOPTIONS8 "\057" #define GUIO_GAMEOPTIONS9 "\060" +#define GUIO_GAMEOPTIONS10 "\061" #define GUIO0() (GUIO_NONE) #define GUIO1(a) (a) |