Changeset 7035 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Feb 5, 2006, 11:26:21 PM (19 years ago)
- Location:
- trunk/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world.cc
r7029 r7035 64 64 #include "shader.h" 65 65 66 #include "game_rules.h" 66 67 67 68 using namespace std; … … 350 351 351 352 GraphicsEngine::getInstance()->tick(this->dtS); 353 354 if( likely(this->dataTank->gameRule != NULL)) 355 this->dataTank->gameRule->tick(this->dtS); 352 356 } 353 357 this->lastFrame = currentFrame; … … 437 441 438 442 engine->draw(); 443 444 // draw the game ruls 445 if( likely(this->dataTank->gameRule != NULL)) 446 this->dataTank->gameRule->draw(); 439 447 } 440 448 -
trunk/src/story_entities/game_world_data.cc
r7034 r7035 83 83 this->music = NULL; 84 84 this->objectManager = NULL; 85 this->gameRule = NULL; 85 86 } 86 87
Note: See TracChangeset
for help on using the changeset viewer.