Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2005, 12:54:23 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches: added new branche convention for some showing stuff at the convention

Location:
orxonox/branches/convention
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • orxonox/branches/convention/src/story_entities/world.cc

    r3752 r3756  
    4141#include "glmenu_imagescreen.h"
    4242#include "fontset.h"
     43#include "test_mat.h"
    4344#include "list.h"
    4445
     
    179180  this->debugWorldNr = worldID;
    180181  this->entities = new tList<WorldEntity>();
     182
     183  this->testMat = NULL;
    181184}
    182185
     
    367370        case DEBUG_WORLD_1:
    368371          {
     372            this->testMat = new TestMat();
    369373            lightMan->setPosition(.0, .0, .0);
    370374            lightMan->setAttenuation(1.0, .01, 0.0);
     
    406410            this->nullParent = NullParent::getInstance ();
    407411            this->nullParent->setName ("NullParent");
    408 
     412           
    409413            // !\todo old track-system has to be removed
    410414
     
    738742    }
    739743  delete iterator;
    740  
     744
     745  if (this->testMat)
     746    this->testMat->draw();
     747
    741748  glCallList (objectList);
    742749  //! \todo skysphere is a WorldEntity and should be inside of the world-entity-list.
Note: See TracChangeset for help on using the changeset viewer.