Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5654 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Nov 20, 2005, 9:12:50 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: cycle-loading of LoadParam works…

Location:
trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/terrain.cc

    r5652 r5654  
    106106  LoadParamNEW(root, "vegetation", this, Terrain, loadVegetation)
    107107      .describe("the fileName of the vegetation, that should be loaded onto this terrain. (must be relative to the data-dir)") ;
    108 
    109   //LoadParam<Terrain>(root, "DebugTerrain",  );
    110108}
    111109
  • trunk/src/world_entities/weapons/weapon_manager.cc

    r5653 r5654  
    123123
    124124  LOAD_PARAM_START_CYCLE(root, element);
    125 
    126 
    127   LoadParamXML(element, "weapons", this, WeaponManager, loadWeapons)
    128       .describe("loads Weapons");
    129 
     125  {
     126    // CHECK IF THIS WORKS....
     127    LoadParamXML_CYCLE(element, "weapons", this, WeaponManager, loadWeapons)
     128        .describe("loads Weapons");
     129  }
    130130  LOAD_PARAM_END_CYCLE(element);
    131131}
Note: See TracChangeset for help on using the changeset viewer.