changed FALSE/TRUE references to true/false. I think TRUE/FALSE is a windows thing only. It is causing compilation errors on iOS.

This commit is contained in:
techdragon.nguyen@gmail.com
2012-02-16 06:48:51 +00:00
parent 42421e9c89
commit 719fb41dc2
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -1329,8 +1329,8 @@ bool CardGui::FilterCard(MTGCard * _card,string filter)
} }
if(cd.match(card)) if(cd.match(card))
return TRUE; return true;
return FALSE; return false;
} }
+4 -4
View File
@@ -353,7 +353,7 @@ void ModRulesCardGui::parse(TiXmlElement* element)
_FormattedText = ""; _FormattedText = "";
_Filter = ""; _Filter = "";
_FontSize = 0; _FontSize = 0;
_Font = FALSE; _Font = false;
_FontColor = NULL; _FontColor = NULL;
_SizeIcon = 0; _SizeIcon = 0;
_IconPosX = 0; _IconPosX = 0;
@@ -380,7 +380,7 @@ void ModRulesCardGui::parse(TiXmlElement* element)
ChildNode = ItemElement->FirstChild("font"); ChildNode = ItemElement->FirstChild("font");
if (ChildNode) { if (ChildNode) {
_Font = TRUE; _Font = true;
_FontSize = atoi(ChildNode->ToElement()->Attribute("size")); _FontSize = atoi(ChildNode->ToElement()->Attribute("size"));
vector<string> argb = split( ChildNode->ToElement()->Attribute("color"), ','); vector<string> argb = split( ChildNode->ToElement()->Attribute("color"), ',');
_FontColor = ARGB( _FontColor = ARGB(
@@ -423,7 +423,7 @@ void ModRulesCardGui::parse(TiXmlElement* element)
_FormattedText = ""; _FormattedText = "";
_Filter = ""; _Filter = "";
_FontSize = 0; _FontSize = 0;
_Font = FALSE; _Font = false;
_FontColor = NULL; _FontColor = NULL;
_SizeIcon = 0; _SizeIcon = 0;
_IconPosX = 0; _IconPosX = 0;
@@ -450,7 +450,7 @@ void ModRulesCardGui::parse(TiXmlElement* element)
ChildNode = ItemElement->FirstChild("font"); ChildNode = ItemElement->FirstChild("font");
if (ChildNode) { if (ChildNode) {
_Font = TRUE; _Font = true;
_FontSize = atoi(ChildNode->ToElement()->Attribute("size")); _FontSize = atoi(ChildNode->ToElement()->Attribute("size"));
vector<string> argb = split( ChildNode->ToElement()->Attribute("color"), ','); vector<string> argb = split( ChildNode->ToElement()->Attribute("color"), ',');
_FontColor = ARGB( _FontColor = ARGB(