/*scene = pl->CreateEntity("aent_scene", 0, 0, "pcmesh", "pcmechobject", (const char*)0); // these ideally should be set in xml csRef pcmeshscene = CEL_QUERY_PROPCLASS_ENT(scene, iPcMesh); pcmeshscene->SetPath ("/xd/track"); if (!pcmeshscene->SetMesh ("TerrainFact", "world")) return ReportError("could not load TerrainFact mesh factory!");*/ } /* Load level last, so that level can reference added pcmechsys if a 3D level using physics */ // Create the levelloader to load our level. if (!levelloader->ParseLevel (levelfile, zonemgr)) return false;