diff options
-rw-r--r-- | engines/hdb/file-manager.cpp | 5 | ||||
-rw-r--r-- | engines/hdb/lua-script.cpp | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/engines/hdb/file-manager.cpp b/engines/hdb/file-manager.cpp index f2a21095eb..daa4a89e6b 100644 --- a/engines/hdb/file-manager.cpp +++ b/engines/hdb/file-manager.cpp @@ -143,7 +143,7 @@ int32 FileMan::getLength(const char *string, DataType type) { return file->ulength; } -/* +#if 0 MPCEntry **FileMan::findNextData(MPCIterator begin) { Common::String fileString; @@ -168,6 +168,7 @@ int FileMan::findAmount(char *string, DataType type) { } return count; -}*/ +} +#endif } // End of Namespace HDB diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index 0d0e36b2fc..e99cfe62e0 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -40,7 +40,8 @@ LuaScript::~LuaScript() { } } -/*bool LuaScript::init() { +#if 0 +bool LuaScript::init() { // Create new lua_State and initialize the Std Libs _state = luaL_newstate(); if (!_state || !registerStdLibs()) { @@ -51,7 +52,8 @@ LuaScript::~LuaScript() { _systemInit = true; return true; -}*/ +} +#endif /* Called from Lua, this will pop into the menu @@ -174,7 +176,8 @@ bool LuaScript::executeMPC(Common::SeekableReadStream *stream, const char *name, return true; } -/*bool LuaScript::executeFile(const Common::String &filename) { +#if 0 +bool LuaScript::executeFile(const Common::String &filename) { if (!_systemInit) { return false; @@ -201,7 +204,8 @@ bool LuaScript::executeMPC(Common::SeekableReadStream *stream, const char *name, delete file; return true; -}*/ +} +#endif bool LuaScript::executeChunk(const char *chunk, uint chunkSize, const Common::String &chunkName) const { |