aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/glk.h
diff options
context:
space:
mode:
authorPaul Gilbert2018-12-31 22:32:07 -0800
committerPaul Gilbert2018-12-31 22:32:07 -0800
commit4938ac9ea1b207f100a73e2ecbf617b7569fb4b0 (patch)
tree1268a49b90a5c7b8744ff266b5d5daef006c141a /engines/glk/glk.h
parentfa51ea2138831f4f87f0d66a7f32f32c2942b8e6 (diff)
downloadscummvm-rg350-4938ac9ea1b207f100a73e2ecbf617b7569fb4b0.tar.gz
scummvm-rg350-4938ac9ea1b207f100a73e2ecbf617b7569fb4b0.tar.bz2
scummvm-rg350-4938ac9ea1b207f100a73e2ecbf617b7569fb4b0.zip
GLK: Implement passing detection options to the engines
Diffstat (limited to 'engines/glk/glk.h')
-rw-r--r--engines/glk/glk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/glk/glk.h b/engines/glk/glk.h
index 55066e2cde..91a6371e98 100644
--- a/engines/glk/glk.h
+++ b/engines/glk/glk.h
@@ -60,6 +60,7 @@ struct GlkGameDescription {
Common::Platform _platform;
Common::String _filename;
Common::String _md5;
+ uint _options;
};
/**
@@ -164,6 +165,11 @@ public:
const Common::String &getFilename() const { return _gameDescription._filename; }
/**
+ * Returns any options returned with the game's detection entry
+ */
+ const uint getOptions() const { return _gameDescription._options; }
+
+ /**
* Return the game engine's target name
*/
const Common::String &getTargetName() const {