Implement writing terrain definitions to XML

This commit is contained in:
2015-01-22 11:23:44 -05:00
parent faac33f664
commit ee27e5341d
6 changed files with 167 additions and 18 deletions

View File

@@ -42,4 +42,12 @@ namespace ticpp {
};
}
template<> inline void ticpp::Printer::PushAttribute(std::string attrName, bool attrVal) {
PushAttribute(attrName, attrVal ? "true" : "false");
}
template<> inline void ticpp::Printer::PushText(bool textVal) {
PushText(textVal ? "true" : "false");
}
#endif