TETRAEDGE: Small debug message cleanups

This commit is contained in:
Matthew Duggan 2023-02-03 08:50:11 +09:00
parent 20b4f7c54e
commit 758f074a00
5 changed files with 11 additions and 11 deletions

View File

@ -99,7 +99,7 @@ void DocumentsBrowser::load() {
button->setVisible(false);
// Game tries to load a file that doesn't exist..
debug("TODO?? DocumentsBrowser::load: Game opens Documents.xml here.");
// TODO?? DocumentsBrowser::load: Game opens Documents.xml here
_timer.start();
}

View File

@ -212,7 +212,7 @@ void Game::addToScore(int score) {
}
bool Game::changeWarp(const Common::String &zone, const Common::String &scene, bool fadeFlag) {
debug("Game::changeWarp(%s, %s, %s)", zone.c_str(), scene.c_str(), fadeFlag ? "true" : "false");
//debug("Game::changeWarp(%s, %s, %s)", zone.c_str(), scene.c_str(), fadeFlag ? "true" : "false");
Application *app = g_engine->getApplication();
if (fadeFlag) {
app->blackFade();
@ -227,7 +227,7 @@ bool Game::changeWarp(const Common::String &zone, const Common::String &scene, b
}
bool Game::changeWarp2(const Common::String &zone, const Common::String &scene, bool fadeFlag) {
debug("Game::changeWarp2(%s, %s, %s)", zone.c_str(), scene.c_str(), fadeFlag ? "true" : "false");
//debug("Game::changeWarp2(%s, %s, %s)", zone.c_str(), scene.c_str(), fadeFlag ? "true" : "false");
_warped = false;
_movePlayerCharacterDisabled = false;
_sceneCharacterVisibleFromLoad = false;

View File

@ -64,7 +64,7 @@ void TeLuaThread::_resume(int nargs) {
warning("TeLuaThread::_resume: %s", msg);
}
if (_lastResumeResult != 1 && _released) {
debug("TeLuaThread:: deleting this?");
//debug("TeLuaThread:: deleting this?");
delete this;
}
}
@ -78,7 +78,7 @@ void TeLuaThread::execute(const Common::String &fname) {
_resume(0);
} else {
if (!fname.contains("Update"))
debug("[TeLuaThread::Execute0] La fonction : \"%s\" n'existe pas.", fname.c_str());
debug("[TeLuaThread::Execute0] Function: \"%s\" does not exist", fname.c_str());
lua_settop(_luaThread, -2);
}
}
@ -93,7 +93,7 @@ void TeLuaThread::execute(const Common::String &fname, const TeVariant &p1) {
_resume(1);
} else {
if (!fname.contains("Update"))
debug("[TeLuaThread::Execute1] La fonction : \"%s\" n'existe pas.", fname.c_str());
debug("[TeLuaThread::Execute1] Function: \"%s\" does not exist", fname.c_str());
lua_settop(_luaThread, -2);
}
}
@ -109,7 +109,7 @@ void TeLuaThread::execute(const Common::String &fname, const TeVariant &p1, cons
_resume(2);
} else {
if (!fname.contains("Update"))
debug("[TeLuaThread::Execute2] La fonction : \"%s\" n'existe pas.", fname.c_str());
debug("[TeLuaThread::Execute2] Function: \"%s\" does not exist.", fname.c_str());
lua_settop(_luaThread, -2);
}
}
@ -126,7 +126,7 @@ void TeLuaThread::execute(const Common::String &fname, const TeVariant &p1, cons
_resume(3);
} else {
if (!fname.contains("Update"))
debug("[TeLuaThread::Execute3] La fonction : \"%s\" n'existe pas.", fname.c_str());
debug("[TeLuaThread::Execute3] Function: \"%s\" does not exist.", fname.c_str());
lua_settop(_luaThread, -4);
}
}

View File

@ -285,7 +285,7 @@ void TeRenderer::pushMatrix() {
}
void TeRenderer::dumpTransparentMeshProps() const {
debug("** Transparent MeshProps: num:%ld pending:%d **", _numTransparentMeshes, _pendingTransparentMeshProperties);
debug("** Transparent MeshProps: num:%d pending:%d **", _numTransparentMeshes, _pendingTransparentMeshProperties);
debug("draw? / nverts / source / transl / zorder");
for (uint i = 0; i < _transparentMeshProps.size(); i++) {
debug("%s %d %d %s %f",
@ -299,7 +299,7 @@ void TeRenderer::dumpTransparentMeshProps() const {
}
void TeRenderer::dumpTransparentMeshData() const {
debug("** Transparent Meshes: num:%ld pending:%d **", _numTransparentMeshes, _pendingTransparentMeshProperties);
debug("** Transparent Meshes: num:%d pending:%d **", _numTransparentMeshes, _pendingTransparentMeshProperties);
debug("vert / normal / coord / color / vertNo");
for (uint i = 0; i < _transparentMeshVertexes.size(); i++) {
debug("%s %s %s %s %d",

View File

@ -48,7 +48,7 @@ void TeXmlGui::load(const Common::Path &path) {
void TeXmlGui::clear() {
_map.clear();
debug("TODO: Finish TeXmlGui.clear()");
// TODO: Finish TeXmlGui.clear()
}
} // end namespace Tetraedge