Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6402 in orxonox.OLD for branches/network/src/lib/coord


Ignore:
Timestamp:
Jan 3, 2006, 11:04:50 PM (19 years ago)
Author:
patrick
Message:

network: more modularity for the GameWorld: data and process are now totaly separated from each other, as it should be. Now I will do some magic on the MultiPlayerWorld, see if it works :D

Location:
branches/network/src/lib/coord
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/coord/p_node.cc

    r6341 r6402  
    152152  }
    153153}
     154
     155
     156/**
     157 *  init the pnode to a well definied state
     158 *
     159 * this function actualy only updates the PNode tree
     160 */
     161void PNode::init()
     162{
     163  /* just update all aboslute positions via timestep 0.001ms */
     164  this->updateNode(0.001f);
     165  this->updateNode(0.001f);
     166}
     167
    154168
    155169/**
  • branches/network/src/lib/coord/p_node.h

    r6341 r6402  
    7878
    7979  void loadParams(const TiXmlElement* root);
     80
     81  void init();
    8082
    8183  // ACTIVATION //
Note: See TracChangeset for help on using the changeset viewer.