From a160058d06bf8b1adc39b8573ced0da3a29d7b38 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 19 Dec 2021 11:35:34 +0200 Subject: [PATCH] COMMON: Add more engine-specific options We have reached the limit of 16 engine-specific options in SCI, so we're adding 16 more for future additions --- common/gui_options.cpp | 16 ++++++++++++++++ common/gui_options.h | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/common/gui_options.cpp b/common/gui_options.cpp index 70c7154476f..051207818fb 100644 --- a/common/gui_options.cpp +++ b/common/gui_options.cpp @@ -93,6 +93,22 @@ const struct GameOpt { { GUIO_GAMEOPTIONS14, "gameOptionE" }, { GUIO_GAMEOPTIONS15, "gameOptionF" }, { GUIO_GAMEOPTIONS16, "gameOptionG" }, + { GUIO_GAMEOPTIONS17, "gameOptionH" }, + { GUIO_GAMEOPTIONS18, "gameOptionI" }, + { GUIO_GAMEOPTIONS19, "gameOptionJ" }, + { GUIO_GAMEOPTIONS20, "gameOptionK" }, + { GUIO_GAMEOPTIONS21, "gameOptionL" }, + { GUIO_GAMEOPTIONS22, "gameOptionM" }, + { GUIO_GAMEOPTIONS23, "gameOptionN" }, + { GUIO_GAMEOPTIONS24, "gameOptionO" }, + { GUIO_GAMEOPTIONS25, "gameOptionP" }, + { GUIO_GAMEOPTIONS26, "gameOptionQ" }, + { GUIO_GAMEOPTIONS27, "gameOptionR" }, + { GUIO_GAMEOPTIONS28, "gameOptionS" }, + { GUIO_GAMEOPTIONS29, "gameOptionT" }, + { GUIO_GAMEOPTIONS30, "gameOptionU" }, + { GUIO_GAMEOPTIONS31, "gameOptionV" }, + { GUIO_GAMEOPTIONS32, "gameOptionW" }, { GUIO_NONE, nullptr } }; diff --git a/common/gui_options.h b/common/gui_options.h index 566500833e4..6415d013b80 100644 --- a/common/gui_options.h +++ b/common/gui_options.h @@ -85,6 +85,22 @@ #define GUIO_GAMEOPTIONS14 "\x3d" #define GUIO_GAMEOPTIONS15 "\x3e" #define GUIO_GAMEOPTIONS16 "\x3f" +#define GUIO_GAMEOPTIONS17 "\x40" +#define GUIO_GAMEOPTIONS18 "\x41" +#define GUIO_GAMEOPTIONS19 "\x42" +#define GUIO_GAMEOPTIONS20 "\x43" +#define GUIO_GAMEOPTIONS21 "\x44" +#define GUIO_GAMEOPTIONS22 "\x45" +#define GUIO_GAMEOPTIONS23 "\x46" +#define GUIO_GAMEOPTIONS24 "\x47" +#define GUIO_GAMEOPTIONS25 "\x48" +#define GUIO_GAMEOPTIONS26 "\x49" +#define GUIO_GAMEOPTIONS27 "\x4a" +#define GUIO_GAMEOPTIONS28 "\x4b" +#define GUIO_GAMEOPTIONS29 "\x4c" +#define GUIO_GAMEOPTIONS30 "\x4d" +#define GUIO_GAMEOPTIONS31 "\x4e" +#define GUIO_GAMEOPTIONS32 "\x4f" #define GUIO0() (GUIO_NONE) #define GUIO1(a) (a)