MOHAWK: Add an engine specific option to play the Myst fly by movie
It is disabled by default since the original engine never plays it. When enabled, it is only played when first arriving on Myst.
This commit is contained in:
parent
21317eec72
commit
833b800a32
4 changed files with 42 additions and 25 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "common/savefile.h"
|
||||
#include "common/system.h"
|
||||
#include "common/textconsole.h"
|
||||
#include "common/translation.h"
|
||||
|
||||
#include "mohawk/livingbooks.h"
|
||||
|
||||
|
@ -160,9 +161,23 @@ static const char *directoryGlobs[] = {
|
|||
0
|
||||
};
|
||||
|
||||
static const ADExtraGuiOptionsMap optionsList[] = {
|
||||
{
|
||||
GAMEOPTION_PLAY_MYST_FLYBY,
|
||||
{
|
||||
_s("Play the Myst fly by movie"),
|
||||
_s("The Myst fly by movie was not played by the original engine."),
|
||||
"playmystflyby",
|
||||
false
|
||||
}
|
||||
},
|
||||
|
||||
AD_EXTRA_GUI_OPTIONS_TERMINATOR
|
||||
};
|
||||
|
||||
class MohawkMetaEngine : public AdvancedMetaEngine {
|
||||
public:
|
||||
MohawkMetaEngine() : AdvancedMetaEngine(Mohawk::gameDescriptions, sizeof(Mohawk::MohawkGameDescription), mohawkGames) {
|
||||
MohawkMetaEngine() : AdvancedMetaEngine(Mohawk::gameDescriptions, sizeof(Mohawk::MohawkGameDescription), mohawkGames, optionsList) {
|
||||
_singleid = "mohawk";
|
||||
_maxScanDepth = 2;
|
||||
_directoryGlobs = directoryGlobs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue