diff options
author | Dmitry Iskrich | 2016-06-14 20:03:19 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 82daeb9e62edb0901fe5b7dfb3f7197611fb7012 (patch) | |
tree | 04d4adb60a30c0192a03429e1840d27525f47d6a /engines/director/lingo | |
parent | bd05d98fa5a60b10831d0356d93a6c22755ddf5e (diff) | |
download | scummvm-rg350-82daeb9e62edb0901fe5b7dfb3f7197611fb7012.tar.gz scummvm-rg350-82daeb9e62edb0901fe5b7dfb3f7197611fb7012.tar.bz2 scummvm-rg350-82daeb9e62edb0901fe5b7dfb3f7197611fb7012.zip |
DIRECTOR: Add stub for storage code
Diffstat (limited to 'engines/director/lingo')
-rw-r--r-- | engines/director/lingo/lingo.cpp | 4 | ||||
-rw-r--r-- | engines/director/lingo/lingo.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 7296e7496d..b17bb0d388 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -76,6 +76,10 @@ Lingo::Lingo(DirectorEngine *vm) : _vm(vm) { Lingo::~Lingo() { } +void Lingo::addCode(Common::String code, scriptType type, uint16 id) { + debug(0, "Add code %s for type %d with id %d", code.c_str(), type, id); +} + void Lingo::processEvent(LEvent event, int entityId) { if (!_eventHandlerTypes.contains(event)) error("processEvent: Unknown event %d for entity %d", event, entityId); diff --git a/engines/director/lingo/lingo.h b/engines/director/lingo/lingo.h index 4f7f925c54..f7a25eab32 100644 --- a/engines/director/lingo/lingo.h +++ b/engines/director/lingo/lingo.h @@ -29,6 +29,7 @@ #include "audio/audiostream.h" #include "common/str.h" #include "engines/director/director.h" +#include "engines/director/score.h" namespace Director { @@ -74,6 +75,8 @@ public: Lingo(DirectorEngine *vm); ~Lingo(); + void addCode(Common::String code, scriptType type, uint16 id); + void processEvent(LEvent event, int entityId); int parse(char *code); |