Nuke several annoying and no longer necessary debug output statements

This commit is contained in:
2015-06-05 18:44:57 -04:00
parent 02f16964f2
commit fdbb61411b
6 changed files with 0 additions and 9 deletions

View File

@@ -357,7 +357,6 @@ void cCreature::readFrom(std::istream& file) {
while(file) {
std::string cur;
getline(file, cur);
std::cout << "Parsing line in town.txt: " << cur << std::endl;
std::istringstream line(cur);
line >> cur;
if(cur == "MONSTER")

View File

@@ -708,7 +708,6 @@ void cParty::readFrom(std::istream& file){
bin.str(cur);
while(bin) { // continue as long as no error, such as eof, occurs
getline(bin, cur);
std::cout << "Parsing line in party.txt: " << cur << std::endl;
std::istringstream sin(cur);
sin >> cur;
if(cur == "AGE")

View File

@@ -939,7 +939,6 @@ void cPlayer::readFrom(std::istream& file){
std::fill(equip.begin(), equip.end(), false);
while(bin) { // continue as long as no error, such as eof, occurs
getline(bin, cur);
std::cout << "Parsing line in pcN.txt: " << cur << std::endl;
sin.str(cur);
sin >> cur;
if(cur == "STATUS"){

View File

@@ -838,7 +838,6 @@ void cDialog::loadFromFile(std::string path){
fname = path;
fs::path cPath = progDir/"data"/"dialogs"/path;
try{
std::cout << "Loading dialog from: " << cPath << std::endl;
TiXmlBase::SetCondenseWhiteSpace(false);
Document xml(cPath.string().c_str());
xml.LoadFile();
@@ -975,7 +974,6 @@ void cDialog::loadFromFile(std::string path){
void cDialog::recalcRect(){
ctrlIter iter = controls.begin();
while(iter != controls.end()){
std::cout << typeid(*(iter->second)).name() << " \"" << iter->first << "\"\n";
rectangle frame = iter->second->getBounds();
if(frame.right > winRect.right)
winRect.right = frame.right;

View File

@@ -51,7 +51,6 @@ void init_graph_tool(){
do {
std::ifstream fin;
std::cerr << "Loading fragment shader from " << fragPath.string() << std::endl;
fin.open(fragPath.string().c_str());
if(!fin.good()) {
std::cerr << std_fmterr << ": Error loading fragment shader" << std::endl;
@@ -66,7 +65,6 @@ void init_graph_tool(){
fbuf[fin.gcount()] = 0;
fin.close();
std::cerr << "Loading vertex shader from " << vertPath.string() << std::endl;
fin.open(vertPath.string().c_str());
if(!fin.good()) {
std::cerr << std_fmterr << ": Error loading vertex shader" << std::endl;

View File

@@ -60,7 +60,6 @@ namespace ResMgr {
std::stack<fs::path> tmpPaths = resPaths();
while(!tmpPaths.empty()) {
fs::path thisPath = tmpPaths.top()/path;
std::cout << "Testing " << thisPath << "...\n";
if(fs::exists(thisPath)) {
pathFound()[path] = tmpPaths.top();
return thisPath;
@@ -166,7 +165,6 @@ namespace ResMgr {
/// @tparam type The type of resource the path applies to.
/// @param path The path at which resources of this type may be found.
template<typename type> void pushPath(fs::path path) {
printf("Pushing path %s in %s...\n",path.string().c_str(),__FUNCTION__);
resPool<type>::resPaths().push(path);
if(resPool<type>::resPaths().empty()) std::cerr << "A problem occurred.\n";
}