Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7840 in orxonox.OLD for trunk/src/world_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 ??

Location:
trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/skybox.cc

    r7328 r7840  
    7373{
    7474  this->setClassID(CL_SKYBOX, "SkyBox");
    75   this->toList(OM_ENVIRON_NOTICK);
     75  this->toList(OM_BACKGROUND);
    7676  //this->size = 100.0;
    7777  this->textureSize = 1024.0f;
  • trunk/src/world_entities/skysphere.cc

    r6778 r7840  
    4242{
    4343  this->setClassID(CL_SKYSPHERE, "SkySphere");
    44   this->toList(OM_ENVIRON_NOTICK);
     44  this->toList(OM_BACKGROUND);
    4545  if (fileName == NULL)
    4646    this->initialize("pictures/sky-replace.jpg");
Note: See TracChangeset for help on using the changeset viewer.