aboutsummaryrefslogtreecommitdiff
path: root/engines/access/amazon/amazon_game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/amazon/amazon_game.cpp')
-rw-r--r--engines/access/amazon/amazon_game.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp
index 8cbd0767b2..ffe4cb56f1 100644
--- a/engines/access/amazon/amazon_game.cpp
+++ b/engines/access/amazon/amazon_game.cpp
@@ -20,8 +20,10 @@
*
*/
-#include "access/amazon/amazon_game.h"
#include "access/resources.h"
+#include "access/amazon/amazon_game.h"
+#include "access/amazon/amazon_room.h"
+#include "access/amazon/amazon_scripts.h"
namespace Access {
@@ -50,6 +52,7 @@ AmazonEngine::~AmazonEngine() {
}
void AmazonEngine::playGame() {
+ // Do introduction
doIntroduction();
if (shouldQuit())
return;
@@ -62,6 +65,10 @@ void AmazonEngine::playGame() {
_screen->forceFadeOut();
_events->showCursor();
+
+ // Setup and execute the room
+ _room = new AmazonRoom(this);
+ _scripts = new AmazonScripts(this);
_room->doRoom();
}