Jeck - Trophy room added, triangle is now dedicated alt-render toggle. Hopefully I'm not forgetting anything...

This commit is contained in:
wagic.jeck
2009-12-12 10:23:28 +00:00
parent 11b2a4b288
commit 70411f025f
25 changed files with 768 additions and 273 deletions
+2 -1
View File
@@ -683,6 +683,7 @@ int MTGSets::size(){
//MTGSetInfo
MTGSetInfo::MTGSetInfo(string _id) {
string whitespaces (" \t\f\v\n\r");
id = _id;
block = -1;
year = -1;
@@ -706,7 +707,7 @@ MTGSetInfo::MTGSetInfo(string _id) {
continue;
string key = s.substr(0,i);
string value = s.substr(i+1);
string value = s.substr(i+1,i+1-s.find_last_not_of(whitespaces));
if(key.compare("name") == 0)
name = value;