[Scummvm-git-logs] scummvm master -> 2019c5d90a17f1652ee2d75c3e419924a5e4ae35

aquadran aquadran at gmail.com
Sun Feb 14 10:04:04 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2019c5d90a ICB: Silence some debug output


Commit: 2019c5d90a17f1652ee2d75c3e419924a5e4ae35
    https://github.com/scummvm/scummvm/commit/2019c5d90a17f1652ee2d75c3e419924a5e4ae35
Author: Paweł Kołodziejski (aquadran at users.sourceforge.net)
Date: 2021-02-14T11:03:59+01:00

Commit Message:
ICB: Silence some debug output

Changed paths:
    engines/icb/configfile.cpp
    engines/icb/icb.cpp


diff --git a/engines/icb/configfile.cpp b/engines/icb/configfile.cpp
index 01da6ee00e..88552b1733 100644
--- a/engines/icb/configfile.cpp
+++ b/engines/icb/configfile.cpp
@@ -69,7 +69,7 @@ void ConfigFile::readFile(const Common::String &filename) {
 		// Section start
 		if (start == 0 && start != std::string::npos && end != std::string::npos) {
 			currentSection = line.substr(1, end - 1);
-			std::cout << "Section: " << currentSection << std::endl;
+			//std::cout << "Section: " << currentSection << std::endl;
 			continue;
 		}
 		size_t split = line.find_first_of("=");
@@ -78,7 +78,7 @@ void ConfigFile::readFile(const Common::String &filename) {
 		} else {
 			std::string key = line.substr(0, split);
 			std::string value = line.substr(split + 1);
-			std::cout << "Key: " << key << " Value: " << value << std::endl;
+			//std::cout << "Key: " << key << " Value: " << value << std::endl;
 			writeSetting(currentSection.c_str(), key.c_str(), value.c_str());
 		}
 	}
diff --git a/engines/icb/icb.cpp b/engines/icb/icb.cpp
index e4bfb9cdd2..a52fc86692 100644
--- a/engines/icb/icb.cpp
+++ b/engines/icb/icb.cpp
@@ -60,24 +60,18 @@ bool mainLoopIteration();
 
 Common::Error IcbEngine::run() {
 	initGfx(false, false);
-	warning("Gfx initialized");
 	InitEngine("");
-	warning("Init engine initialized");
 	mainLoop();
 	return Common::kNoError;
 }
 
 // TODO: This should be refactored
 void IcbEngine::initGfx(bool hwAccel, bool fullscreen) {
-	// g_system->setWindowCaption("In Cold Blood (C)2000 Revolution Software Ltd");
-	// g_system->setupScreen(640, 480, false, false);
 }
 
 void IcbEngine::mainLoop() {
-	warning("Starting main loop");
 	while (mainLoopIteration()) {
 	}
-	warning("Ending main loop");
 }
 
 } // End of namespace ICB




More information about the Scummvm-git-logs mailing list