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
This commit is contained in:
Filippos Karapetis 2021-12-19 11:35:34 +02:00
parent 466c8b8c76
commit a160058d06
2 changed files with 32 additions and 0 deletions

View File

@ -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 }
};

View File

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