diff options
author | Eugene Sandulenko | 2012-03-25 01:38:46 -0700 |
---|---|---|
committer | Eugene Sandulenko | 2012-03-25 01:38:46 -0700 |
commit | 9b2471aeee6c83cc157a6ad8bd5d103bdaf40eff (patch) | |
tree | 0e1f4631f3021a73a58a6742504a3df60f0db6c2 /common | |
parent | f3ab94f3924f23cc4ba798230dfcd430fd50af82 (diff) | |
parent | 72ccb6eea91ae590c02947ff6ce1ad8fbbdef0d8 (diff) | |
download | scummvm-rg350-9b2471aeee6c83cc157a6ad8bd5d103bdaf40eff.tar.gz scummvm-rg350-9b2471aeee6c83cc157a6ad8bd5d103bdaf40eff.tar.bz2 scummvm-rg350-9b2471aeee6c83cc157a6ad8bd5d103bdaf40eff.zip |
Merge pull request #211 from lordhoto/game-gui-options-v2
GUI: Game gui options
Diffstat (limited to 'common')
-rw-r--r-- | common/gui_options.cpp | 8 | ||||
-rw-r--r-- | common/gui_options.h | 12 |
2 files changed, 20 insertions, 0 deletions
diff --git a/common/gui_options.cpp b/common/gui_options.cpp index 32a7cc9c41..59fbfb38d1 100644 --- a/common/gui_options.cpp +++ b/common/gui_options.cpp @@ -64,6 +64,14 @@ const struct GameOpt { { GUIO_RENDERPC9821, "pc9821" }, { GUIO_RENDERPC9801, "pc9801" }, + { GUIO_GAMEOPTIONS1, "gameOption1" }, + { GUIO_GAMEOPTIONS2, "gameOption2" }, + { GUIO_GAMEOPTIONS3, "gameOption3" }, + { GUIO_GAMEOPTIONS4, "gameOption4" }, + { GUIO_GAMEOPTIONS5, "gameOption5" }, + { GUIO_GAMEOPTIONS6, "gameOption6" }, + { GUIO_GAMEOPTIONS7, "gameOption7" }, + { GUIO_NONE, 0 } }; diff --git a/common/gui_options.h b/common/gui_options.h index 33ecccad63..774e57e133 100644 --- a/common/gui_options.h +++ b/common/gui_options.h @@ -56,6 +56,16 @@ #define GUIO_RENDERPC9821 "\037" #define GUIO_RENDERPC9801 "\040" +// Special GUIO flags for the AdvancedDetector's caching of game specific +// options. +#define GUIO_GAMEOPTIONS1 "\041" +#define GUIO_GAMEOPTIONS2 "\042" +#define GUIO_GAMEOPTIONS3 "\043" +#define GUIO_GAMEOPTIONS4 "\044" +#define GUIO_GAMEOPTIONS5 "\045" +#define GUIO_GAMEOPTIONS6 "\046" +#define GUIO_GAMEOPTIONS7 "\047" + #define GUIO0() (GUIO_NONE) #define GUIO1(a) (a) #define GUIO2(a,b) (a b) @@ -63,6 +73,8 @@ #define GUIO4(a,b,c,d) (a b c d) #define GUIO5(a,b,c,d,e) (a b c d e) #define GUIO6(a,b,c,d,e,f) (a b c d e f) +#define GUIO7(a,b,c,d,e,f,g) (a b c d e f g) +#define GUIO8(a,b,c,d,e,f,g,h) (a b c d e f g h) namespace Common { |