aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/debugger.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-13 20:17:02 -0400
committerPaul Gilbert2015-07-13 20:17:02 -0400
commit10c96babbcba734ab6bd8273d1a6ebff58018dd3 (patch)
tree835479dc4458500a60317cf55e37e24ddbf7dda7 /engines/sherlock/debugger.h
parent03acc4ec275793e0f8256053801ecaad566bc74e (diff)
downloadscummvm-rg350-10c96babbcba734ab6bd8273d1a6ebff58018dd3.tar.gz
scummvm-rg350-10c96babbcba734ab6bd8273d1a6ebff58018dd3.tar.bz2
scummvm-rg350-10c96babbcba734ab6bd8273d1a6ebff58018dd3.zip
SHERLOCK: Debugger locations command to show all locations on the map
Diffstat (limited to 'engines/sherlock/debugger.h')
-rw-r--r--engines/sherlock/debugger.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sherlock/debugger.h b/engines/sherlock/debugger.h
index eec2579ca4..abc8ef012d 100644
--- a/engines/sherlock/debugger.h
+++ b/engines/sherlock/debugger.h
@@ -30,6 +30,8 @@ namespace Sherlock {
class SherlockEngine;
+enum AllLocations { LOC_REFRESH = -1, LOC_DISABLED = 0, LOC_ALL = 1 };
+
class Debugger : public GUI::Debugger {
private:
/**
@@ -51,10 +53,17 @@ private:
* Dumps a file to disk
*/
bool cmdDumpFile(int argc, const char **argv);
+
+ /**
+ * Show all locations on the map
+ */
+ bool cmdLocations(int argc, const char **argv);
protected:
SherlockEngine *_vm;
Common::String _3doPlayMovieFile;
public:
+ AllLocations _showAllLocations;
+public:
Debugger(SherlockEngine *vm);
virtual ~Debugger() {}
static Debugger *init(SherlockEngine *vm);