diff options
author | Eugene Sandulenko | 2019-01-08 00:05:11 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-11-13 22:07:08 +0100 |
commit | 5c4016b4820cced49c3d56e4ef2c626acc511ec2 (patch) | |
tree | 15e160e0a73911fdc781abf4b83776ca0de8b56f /engines/griffon/griffon.cpp | |
parent | 62066b530fca62ab7a8c3f646e6b5e1a7399e90c (diff) | |
download | scummvm-rg350-5c4016b4820cced49c3d56e4ef2c626acc511ec2.tar.gz scummvm-rg350-5c4016b4820cced49c3d56e4ef2c626acc511ec2.tar.bz2 scummvm-rg350-5c4016b4820cced49c3d56e4ef2c626acc511ec2.zip |
GRIFFON: Implemented cheat mode via debug console
Diffstat (limited to 'engines/griffon/griffon.cpp')
-rw-r--r-- | engines/griffon/griffon.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/griffon/griffon.cpp b/engines/griffon/griffon.cpp index 17cb048ac2..f1ba852659 100644 --- a/engines/griffon/griffon.cpp +++ b/engines/griffon/griffon.cpp @@ -31,6 +31,7 @@ #include "engines/util.h" #include "griffon/griffon.h" +#include "griffon/console.h" namespace Griffon { @@ -40,6 +41,8 @@ GriffonEngine::GriffonEngine(OSystem *syst) : Engine(syst) { _rnd = new Common::RandomSource("griffon"); + _console = nullptr; + _shouldQuit = false; } @@ -50,6 +53,8 @@ GriffonEngine::~GriffonEngine() { Common::Error GriffonEngine::run() { initGraphics(320, 240, new Graphics::PixelFormat(4, 8, 8, 8, 8, 24, 16, 8, 0)); + _console = new Console(); + griffon_main(); return Common::kNoError; |