Changeset 3644 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Mar 23, 2005, 2:32:06 PM (20 years ago)
- Location:
- orxonox/trunk/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3643 r3644 128 128 World::World (int worldID) 129 129 { 130 printf(">>>>>>>>>>>>>>>>>WORLD::WORLD called NEW WORLD created\n");131 130 this->init(NULL, worldID); 132 131 } … … 604 603 p4->debug (); 605 604 606 p1->update ( );605 p1->update (0); 607 606 608 607 printf ("World::debug() - update\n"); … … 613 612 614 613 p2->shiftCoor (new Vector(-1, -1, -1)); 615 p1->update ( );614 p1->update (0); 616 615 617 616 p1->debug (); … … 623 622 624 623 625 p1->update ( );624 p1->update (0); 626 625 627 626 p1->debug (); … … 720 719 if(!this->bPause) 721 720 { 722 Uint32dt = currentFrame - this->lastFrame;721 this->dt = currentFrame - this->lastFrame; 723 722 724 723 if(dt > 0) … … 765 764 void World::update() 766 765 { 767 this->nullParent->update ( );766 this->nullParent->update (dt); 768 767 } 769 768 -
orxonox/trunk/src/story_entities/world.h
r3634 r3644 87 87 88 88 Uint32 lastFrame; //!< last time of frame 89 Uint32 dt; //!< time needed to calculate this frame 89 90 bool bQuitOrxonox; //!< quit this application 90 91 bool bQuitCurrentGame; //!< quit only the current game and return to menu
Note: See TracChangeset
for help on using the changeset viewer.