aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/lua-script.h
diff options
context:
space:
mode:
authorNipun Garg2019-06-06 02:59:02 +0530
committerEugene Sandulenko2019-09-03 17:16:43 +0200
commit24d42ce43acd53eca942059d10d3bcf903be995f (patch)
tree9df974d6133302092c1277ba608747b7c5020d5d /engines/hdb/lua-script.h
parent431d819d08bc1972a65acf18bbdb647674c18e9a (diff)
downloadscummvm-rg350-24d42ce43acd53eca942059d10d3bcf903be995f.tar.gz
scummvm-rg350-24d42ce43acd53eca942059d10d3bcf903be995f.tar.bz2
scummvm-rg350-24d42ce43acd53eca942059d10d3bcf903be995f.zip
HDB: Remove the char *name arg from initScript
Diffstat (limited to 'engines/hdb/lua-script.h')
-rw-r--r--engines/hdb/lua-script.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/lua-script.h b/engines/hdb/lua-script.h
index c96ba451b8..eee51cd396 100644
--- a/engines/hdb/lua-script.h
+++ b/engines/hdb/lua-script.h
@@ -38,7 +38,7 @@ public:
~LuaScript();
bool init();
- bool initScript(Common::SeekableReadStream *stream, const char *name, int32 length);
+ bool initScript(Common::SeekableReadStream *stream, int32 length);
bool executeMPC(Common::SeekableReadStream *stream, const char *name, int32 length);
bool executeFile(const Common::String &filename);
@@ -48,7 +48,7 @@ private:
bool registerExtensions();
bool executeChunk(const char *chunk, uint chunkSize, const Common::String &chunkName) const;
- void stripComments(char *chunk);
+ void sanitizeScript(char *chunk);
};