aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.h
diff options
context:
space:
mode:
authorKamil Zbróg2014-01-27 21:43:05 +0100
committerKamil Zbróg2014-01-27 21:43:05 +0100
commit8eac80cfc59c34299899ebe18a3b0582ef76e0d2 (patch)
tree5d02a8fba0559c16f2a2045b14e3e292509c6924 /engines/engine.h
parent444934a0accec982f55db92c17ef65270fe18e66 (diff)
parent0f5eeaed7b3c9d2f74eee7dff2114c5f4dc63f00 (diff)
downloadscummvm-rg350-8eac80cfc59c34299899ebe18a3b0582ef76e0d2.tar.gz
scummvm-rg350-8eac80cfc59c34299899ebe18a3b0582ef76e0d2.tar.bz2
scummvm-rg350-8eac80cfc59c34299899ebe18a3b0582ef76e0d2.zip
Merge remote-tracking branch 'sync/master' into prince-malik
Diffstat (limited to 'engines/engine.h')
-rw-r--r--engines/engine.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/engine.h b/engines/engine.h
index 4f4223384a..33416dda44 100644
--- a/engines/engine.h
+++ b/engines/engine.h
@@ -37,6 +37,7 @@ class Error;
class EventManager;
class SaveFileManager;
class TimerManager;
+class FSNode;
}
namespace GUI {
class Debugger;
@@ -142,6 +143,16 @@ public:
virtual ~Engine();
/**
+ * Init SearchMan according to the game path.
+ *
+ * By default it adds the directory in non-flat mode with a depth of 4 as
+ * priority 0 to SearchMan.
+ *
+ * @param gamePath The base directory of the game data.
+ */
+ virtual void initializePath(const Common::FSNode &gamePath);
+
+ /**
* Init the engine and start its main loop.
* @return returns kNoError on success, else an error code.
*/