aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-06-05 14:15:22 +0530
committerEugene Sandulenko2019-09-03 17:16:43 +0200
commitbcd4de2c7ef7ad80b9cba06b365d6c536ac1d7f5 (patch)
treed13fcf0ea71ee0b95246ed6df5ff4be383313856 /engines
parent9522bfdb01c7ad867bca57370c58b649a39f5686 (diff)
downloadscummvm-rg350-bcd4de2c7ef7ad80b9cba06b365d6c536ac1d7f5.tar.gz
scummvm-rg350-bcd4de2c7ef7ad80b9cba06b365d6c536ac1d7f5.tar.bz2
scummvm-rg350-bcd4de2c7ef7ad80b9cba06b365d6c536ac1d7f5.zip
HDB: Change comments from /**/ to #if 0 ... #endif
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/file-manager.cpp5
-rw-r--r--engines/hdb/lua-script.cpp12
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 {