aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scene.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-19 19:49:42 -0400
committerPaul Gilbert2015-03-19 19:49:42 -0400
commita02461fcb15da3b2e7e91d9cfb1bca559a1d277b (patch)
tree610100fe3bcb7b9eb98a6c91821d04fbd4dba923 /engines/sherlock/scene.cpp
parent5a7ea9318d54bd725dd2493277dc0daf17f8abb4 (diff)
downloadscummvm-rg350-a02461fcb15da3b2e7e91d9cfb1bca559a1d277b.tar.gz
scummvm-rg350-a02461fcb15da3b2e7e91d9cfb1bca559a1d277b.tar.bz2
scummvm-rg350-a02461fcb15da3b2e7e91d9cfb1bca559a1d277b.zip
SHERLOCK: Refactorings, new Sprite and People classes
Diffstat (limited to 'engines/sherlock/scene.cpp')
-rw-r--r--engines/sherlock/scene.cpp19
1 files changed, 17 insertions, 2 deletions
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp
index de351a5561..84ef44d7e1 100644
--- a/engines/sherlock/scene.cpp
+++ b/engines/sherlock/scene.cpp
@@ -30,12 +30,27 @@ Scene::Scene(SherlockEngine *vm): _vm(vm) {
_goToRoom = -1;
_oldCharPoint = 0;
_numExits = 0;
+ _windowOpen = _infoFlag = false;
+ _menuMode = _keyboardInput = 0;
- _controlSprites = new Sprite("menu.all");
+ _controls = nullptr; // new ImageFile("menu.all");
}
Scene::~Scene() {
- delete _controlSprites;
+ delete _controls;
+}
+
+void Scene::selectScene() {
+ // Reset fields
+ _numExits = 0;
+ _windowOpen = _infoFlag = false;
+ _menuMode = _keyboardInput = 0;
+ _oldKey = _help = _oldHelp = 0;
+ _oldTemp = _temp = 0;
+
+ // Set up player
+
+
}
} // End of namespace Sherlock