Hi all, please correct me if I am wrong, but I was using celPcZoneManager::Load function to load a 'level.xml' file and it continuosly gave errors on not finding 'world' file. According to ZoneManager documentation,
the current VFS dir, loads the XML file but then *goes back* to the previous directory: bool celPcZoneManager::Load (const char* path, const char* file) { ... if (path) { vfs->PushDir (); vfs->ChDir (path); } csRef<iDataBuffer> buf = vfs->ReadFile (file); if (path) vfs->PopDir (); ... I have the impression that there is a mismatch here, but as I have previously said, please correct me if I am wrong. Regards, Samir Kanaan |
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Cel-main mailing list Cel-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cel-main