aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/pink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/pink.cpp')
-rw-r--r--engines/pink/pink.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/pink/pink.cpp b/engines/pink/pink.cpp
index a0aa9ef820..53407e6f66 100644
--- a/engines/pink/pink.cpp
+++ b/engines/pink/pink.cpp
@@ -41,7 +41,7 @@ namespace Pink {
Pink::PinkEngine::PinkEngine(OSystem *system, const ADGameDescription *desc)
: Engine(system), _console(nullptr), _rnd("pink"),
_desc(*desc), _bro(nullptr), _module(nullptr),
- _director(_system) {
+ _director(_system), _pdaMgr(this) {
debug("PinkEngine constructed");
DebugMan.addDebugChannel(kPinkDebugGeneral, "general", "General issues");
@@ -322,6 +322,10 @@ void PinkEngine::pauseEngineIntern(bool pause) {
_system->showMouse(!pause);
}
+PDAMgr &PinkEngine::getPdaMgr() {
+ return _pdaMgr;
+}
+
Common::String generateSaveName(int slot, const char *gameId) {
return Common::String::format("%s.s%02d", gameId, slot);
}