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:
parent
18034bcc18
commit
43d41feeb8
27 changed files with 583 additions and 11237 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue