Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7840 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
May 24, 2006, 10:38:51 PM (19 years ago)
Author:
bensch
Message:

trunk: Elements that are supposed to be on the Background stay there:

Changed:
Element2D: render from - to - LAYERS
Render2D: Renders from - to - LAYERS
GraphicsEngine: new function drawBackgroundElements
ObjectManager: new List OM_BACKGROUND
Skybox/sphere: in OM_LIST OM_BACKGROUND

@patrick: do you like it too ??

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/game_world.cc

    r7810 r7840  
    533533  LightManager::getInstance()->draw();
    534534
     535  this->drawEntityList(State::getObjectManager()->getObjectList(OM_BACKGROUND));
     536  engine->drawBackgroundElements();
     537
    535538  /* draw all WorldEntiy groups */
    536539  for (unsigned int i = 0; i < this->dataTank->drawLists.size(); ++i)
Note: See TracChangeset for help on using the changeset viewer.