aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo/cryo.cpp
diff options
context:
space:
mode:
authorStrangerke2016-11-27 12:47:04 -0800
committerEugene Sandulenko2017-01-25 22:42:08 +0100
commitb735962436c2f33a877f623d92b61a4a46680fb3 (patch)
tree81bcfc0a55f70a7f793b04654bfe43308744cb68 /engines/cryo/cryo.cpp
parent899d22805f65ac9907bb46359efcc042aaf1b865 (diff)
downloadscummvm-rg350-b735962436c2f33a877f623d92b61a4a46680fb3.tar.gz
scummvm-rg350-b735962436c2f33a877f623d92b61a4a46680fb3.tar.bz2
scummvm-rg350-b735962436c2f33a877f623d92b61a4a46680fb3.zip
CRYO: Move some functions from cryolib to HnmPlayer
Diffstat (limited to 'engines/cryo/cryo.cpp')
-rw-r--r--engines/cryo/cryo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/cryo/cryo.cpp b/engines/cryo/cryo.cpp
index 220ba13524..1f15b0e5b3 100644
--- a/engines/cryo/cryo.cpp
+++ b/engines/cryo/cryo.cpp
@@ -60,6 +60,7 @@ CryoEngine::CryoEngine(OSystem *syst, const ADGameDescription *gameDesc) : Engin
// Don't forget to register your random source
_rnd = new Common::RandomSource("cryo");
_game = nullptr;
+ _video = nullptr;
debug("CryoEngine::CryoEngine");
@@ -72,6 +73,7 @@ CryoEngine::~CryoEngine() {
// Dispose your resources here
delete _rnd;
delete _game;
+ delete _video;
// Remove all of our debug levels here
DebugMan.clearAllDebugChannels();
@@ -79,6 +81,7 @@ CryoEngine::~CryoEngine() {
Common::Error CryoEngine::run() {
_game = new EdenGame(this);
+ _video = new HnmPlayer(this);
// Initialize graphics using following:
initGraphics(320, 200, false);