Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 24, 2008, 2:48:43 AM (16 years ago)
Author:
landauf
Message:

many changes, can't remember everything, but these are the most important:

  • attaching entities to other entities works
  • displaying models, lights and shadows works
  • controlling a spectator works
  • removed an update hack in PositionableEntity because I've found a much better solution

and with "works" I mean: it works on client, server and standalone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/gamestates/GSLevel.cc

    r1962 r2006  
    5757        , radar_(0)
    5858        , startLevel_(0)
    59         , hud_(0)
    6059    {
    6160        RegisterObject(GSLevel);
     
    8382        COUT(4) << "Created SceneManager: " << sceneManager_->getName() << std::endl;
    8483
     84        this->sceneManager_->setShadowTechnique(Ogre::SHADOWTYPE_STENCIL_ADDITIVE);
     85
    8586        // temporary hack
    8687        GraphicsEngine::getInstance().setLevelSceneManager(this->sceneManager_);
     
    8889        // Start the Radar
    8990        this->radar_ = new Radar();
    90 
    91         // Load the HUD
    92         COUT(3) << "Orxonox: Loading HUD" << std::endl;
    93         hud_ = new Level(Settings::getDataPath() + "overlay/hud.oxo");
    94         Loader::load(hud_);
    9591
    9692        // reset game speed to normal
     
    113109    void GSLevel::leave()
    114110    {
    115         Loader::unload(hud_);
    116         delete this->hud_;
    117 
    118111        // this call will delete every BaseObject!
    119112        // But currently this will call methods of objects that exist no more
Note: See TracChangeset for help on using the changeset viewer.