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:
@@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user