diff options
author | Johannes Schickel | 2012-02-29 16:48:25 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-03-19 21:04:29 +0100 |
commit | 82ab3056fa52f78309ae3271114dbec28ceb9684 (patch) | |
tree | a8e8814a85521a633773605debaa3f880f247565 /common | |
parent | c84cd8dee83fe42263f82ae3bb603360b99e0b0a (diff) | |
download | scummvm-rg350-82ab3056fa52f78309ae3271114dbec28ceb9684.tar.gz scummvm-rg350-82ab3056fa52f78309ae3271114dbec28ceb9684.tar.bz2 scummvm-rg350-82ab3056fa52f78309ae3271114dbec28ceb9684.zip |
ENGINES: Implement per-game options caching in AdvancedDetector via GUIO flags.
Diffstat (limited to 'common')
-rw-r--r-- | common/gui_options.cpp | 8 | ||||
-rw-r--r-- | common/gui_options.h | 10 |
2 files changed, 18 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..1ea2b777d0 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) |