All pastes #61403 Raw Edit

Mine

public text v1 · immutable
#61403 ·published 2006-06-03 19:56 UTC
rendered paste body

    /*scene = pl->CreateEntity("aent_scene", 0, 0,
          "pcmesh",
          "pcmechobject",
          (const char*)0);

    // these ideally should be set in xml
    csRef<iPcMesh> 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;