aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/eventman.h
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-28 01:04:28 +0200
committerFilippos Karapetis2015-12-28 01:04:28 +0200
commit5c75ac98981512133b888743779fae383200be44 (patch)
tree1b88513620bab582ac37747eee9f1b624611d5ff /engines/lab/eventman.h
parent1688a1b239294b6cd9fe21ca4d2f5bd929c450dd (diff)
downloadscummvm-rg350-5c75ac98981512133b888743779fae383200be44.tar.gz
scummvm-rg350-5c75ac98981512133b888743779fae383200be44.tar.bz2
scummvm-rg350-5c75ac98981512133b888743779fae383200be44.zip
LAB: Fix loading from the GMM and warping to rooms from the console
Diffstat (limited to 'engines/lab/eventman.h')
-rw-r--r--engines/lab/eventman.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/lab/eventman.h b/engines/lab/eventman.h
index cb91b12a76..c282f5106f 100644
--- a/engines/lab/eventman.h
+++ b/engines/lab/eventman.h
@@ -121,6 +121,12 @@ public:
void setMousePos(Common::Point pos);
void updateMouse();
Common::Point updateAndGetMousePos();
+
+ /**
+ * Simulates a left click for the game main loop, when a game is
+ * loaded or when the user teleports to a scene
+ */
+ void simulateLeftClick() { _leftClick = true; }
};
} // End of namespace Lab