Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4820 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Jul 8, 2005, 10:49:01 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: crosshair in world

File:
1 edited

Legend:

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

    r4765 r4820  
    6969#include "class_list.h"
    7070
     71#include "crosshair.h"
     72Crosshair* crosshair=NULL;
     73
     74
    7175using namespace std;
    7276
     
    219223  this->entities = new tList<WorldEntity>();
    220224  this->cycle = 0;
     225
    221226}
    222227
     
    236241    .describe("The Filename of this World (relative from the data-dir)");
    237242
     243  if (!crosshair)
     244    crosshair = new Crosshair();
    238245
    239246  /*
     
    884891  particleEngine->draw(); //!< \todo should be dts like in the Trunk;
    885892
     893  crosshair->draw();
    886894  TextEngine::getInstance()->draw();
    887895  LightManager::getInstance()->draw(); // must be at the end of the drawing procedure, otherwise Light cannot be handled as PNodes //
Note: See TracChangeset for help on using the changeset viewer.