aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/gamemodule.cpp
diff options
context:
space:
mode:
authorjohndoe1232012-10-17 20:49:43 +0000
committerWillem Jan Palenstijn2013-05-08 20:47:31 +0200
commitc09c0b899820d7b0c3fdb5a26b4b6d9d894f68f4 (patch)
tree3cca5a802752cb144749a94bd3e708e55ee35350 /engines/neverhood/gamemodule.cpp
parent692edf40c737e88fdfb1b3d5a9515a85207dbafd (diff)
downloadscummvm-rg350-c09c0b899820d7b0c3fdb5a26b4b6d9d894f68f4.tar.gz
scummvm-rg350-c09c0b899820d7b0c3fdb5a26b4b6d9d894f68f4.tar.bz2
scummvm-rg350-c09c0b899820d7b0c3fdb5a26b4b6d9d894f68f4.zip
NEVERHOOD: Implement an experimental "render queue" to only draw and update what's actually changed; it works surprisingly well so far and only needs a few more changes here and there
Diffstat (limited to 'engines/neverhood/gamemodule.cpp')
-rw-r--r--engines/neverhood/gamemodule.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp
index 3d19a59d21..a3c88c2bf4 100644
--- a/engines/neverhood/gamemodule.cpp
+++ b/engines/neverhood/gamemodule.cpp
@@ -358,12 +358,13 @@ void GameModule::startup() {
setGlobalVar(V_CREATURE_ANGRY, 1);
setGlobalVar(V_RADIO_ENABLED, 1);
setGlobalVar(V_TNT_DUMMY_BUILT, 1);
+ setGlobalVar(V_FLYTRAP_RING_DOOR, 1);
// <<<DEBUG
#if 1
- _vm->gameState().which = 1;
- _vm->gameState().sceneNum = 0;
- createModule(2500, -1);
+ _vm->gameState().which = 0;
+ _vm->gameState().sceneNum = 3;
+ createModule(1300, -1);
#endif
#if 0
_vm->gameState().sceneNum = 0;