aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/dragonsphere/game_dragonsphere.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-06-06 20:04:46 -0400
committerPaul Gilbert2014-06-06 20:04:46 -0400
commit17cc86d1721d275d56845754b9a32710b0e0d2f0 (patch)
tree7787620f8779c8ca0664df608df7111d94de0a37 /engines/mads/dragonsphere/game_dragonsphere.cpp
parent3c1c080c3a236ca9aac40d7f04f82b57ec879cbe (diff)
downloadscummvm-rg350-17cc86d1721d275d56845754b9a32710b0e0d2f0.tar.gz
scummvm-rg350-17cc86d1721d275d56845754b9a32710b0e0d2f0.tar.bz2
scummvm-rg350-17cc86d1721d275d56845754b9a32710b0e0d2f0.zip
MADS: Refactoring and cleanup of the game startup code
Diffstat (limited to 'engines/mads/dragonsphere/game_dragonsphere.cpp')
-rw-r--r--engines/mads/dragonsphere/game_dragonsphere.cpp18
1 files changed, 2 insertions, 16 deletions
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() {