Nuke several annoying and no longer necessary debug output statements
This commit is contained in:
@@ -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")
|
||||
|
@@ -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")
|
||||
|
@@ -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"){
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user