|
From: Jaakko N. <jni...@us...> - 2009-11-17 22:29:31
|
Module: performous
Branch: dance
Commit: 5978fbb504fffe2c3bd3b76cb80da76e5b6d6444
Author: Jaakko Nikkola <jaa...@tk...>
Date: Wed Nov 18 00:27:59 2009 +0200
Extra debug print outs erased.
---
game/songparser-sm.cc | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/game/songparser-sm.cc b/game/songparser-sm.cc
index f94f5c4..ff68f3d 100644
--- a/game/songparser-sm.cc
+++ b/game/songparser-sm.cc
@@ -55,7 +55,6 @@ bool SongParser::smParseField(std::string line) {
if (line.empty() || line == "\r") return true;
if (line[0] == '/' && line[1] == '/') return true; //jump over possible comments
if (line[0] == ';') return true;
- std::cout << line << std::endl;
std::string::size_type pos = line.find(':');
if (pos == std::string::npos) throw std::runtime_error("Invalid format, should be #key:value");
std::string key = boost::trim_copy(line.substr(1, pos - 1));
@@ -65,7 +64,6 @@ bool SongParser::smParseField(std::string line) {
bool endOfInput = false;
// TODO: NOTES header vars needs better way to strip trailing colon ':'
while (getline(line)) {
- std::cout << line << std::endl;
//<NotesType>:
//if(!getline(line)) { throw std::runtime_error("Required note data missing"); }
std::string notestype = boost::trim_copy(line.substr(0, line.size() -2));
@@ -147,7 +145,6 @@ Notes SongParser::smParseNotes(std::string line, bool endOfInput) {
double dur; //note duration
while(getline(line)) {
-// std::cout << line << std::endl;
if (line.empty() || line == "\r") continue;
if (line[0] == '/' && line[1] == '/') continue;
if (line[0] == '#') return notes;
|