1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-10 08:09:53 +00:00

Migrate from TinyXML v1 to v2. Not bundled (yet).

This commit is contained in:
James Le Cuirot 2014-06-08 21:11:23 +01:00
parent 18034bcc18
commit 43d41feeb8
27 changed files with 583 additions and 11237 deletions

View file

@ -48,7 +48,7 @@ void Cutscene::load(const std::string &f)
doc.LoadFile(f.c_str());
TiXmlElement *e = doc.FirstChildElement("time");
XMLElement *e = doc.FirstChildElement("time");
while (e)
{
CutsceneMarker m;
@ -94,7 +94,7 @@ void Cutscene::playMarker(CutsceneMarker *m)
{
if (m)
{
TiXmlElement *r=0;
XMLElement *r=0;
if (r = m->e->FirstChildElement("quad"))
{
id = r->Attribute("id");