Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3644 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc


Ignore:
Timestamp:
Mar 23, 2005, 2:32:06 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: pnode speed function implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r3643 r3644  
    128128World::World (int worldID)
    129129{
    130   printf(">>>>>>>>>>>>>>>>>WORLD::WORLD called NEW WORLD created\n");
    131130  this->init(NULL, worldID);
    132131}
     
    604603  p4->debug ();
    605604 
    606   p1->update ();
     605  p1->update (0);
    607606
    608607  printf ("World::debug() - update\n");
     
    613612
    614613  p2->shiftCoor (new Vector(-1, -1, -1));
    615   p1->update ();
     614  p1->update (0);
    616615
    617616  p1->debug ();
     
    623622
    624623
    625  p1->update ();
     624 p1->update (0);
    626625
    627626  p1->debug ();
     
    720719  if(!this->bPause)
    721720    {
    722       Uint32 dt = currentFrame - this->lastFrame;
     721      this->dt = currentFrame - this->lastFrame;
    723722     
    724723      if(dt > 0)
     
    765764void World::update()
    766765{
    767   this->nullParent->update ();
     766  this->nullParent->update (dt);
    768767}
    769768
Note: See TracChangeset for help on using the changeset viewer.