From 17cc86d1721d275d56845754b9a32710b0e0d2f0 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 6 Jun 2014 20:04:46 -0400 Subject: MADS: Refactoring and cleanup of the game startup code --- engines/mads/dragonsphere/game_dragonsphere.cpp | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'engines/mads/dragonsphere/game_dragonsphere.cpp') diff --git a/engines/mads/dragonsphere/game_dragonsphere.cpp b/engines/mads/dragonsphere/game_dragonsphere.cpp index c6097125b1..9d9b48dd66 100644 --- a/engines/mads/dragonsphere/game_dragonsphere.cpp +++ b/engines/mads/dragonsphere/game_dragonsphere.cpp @@ -41,22 +41,8 @@ GameDragonsphere::GameDragonsphere(MADSEngine *vm) _storyMode = STORYMODE_NAUGHTY; } -ProtectionResult GameDragonsphere::checkCopyProtection() { - /* - // DEBUG: Flag copy protection failure - _globals[5] = -1; - - if (!ConfMan.getBool("copy_protection")) - return true; - - * DEBUG: Disabled for now - CopyProtectionDialog *dlg = new CopyProtectionDialog(_vm, false); - dlg->show(); - delete dlg; - */ - - // DEBUG: Return that copy protection failed - return PROTECTION_SUCCEED; +void GameDragonsphere::startGame() { + initializeGlobals(); } void GameDragonsphere::initializeGlobals() { -- cgit v1.2.3