Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 20, 2005, 3:12:51 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/levelLoader: SkyBox loadable in the new Style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelLoader/src/world_entities/skybox.cc

    r4136 r4240  
    5959
    6060  // Model Loading     
    61   string = grabParameter( root, "materialset");
    62   if( string != NULL)
    63     this->setTexture(string, "jpg");
    64   else
    65     {
    66       PRINTF(0)("SkyBox is missing a proper 'MaterialSet'\n");
    67     }
    68   if( this->skyModel == NULL)
    69     {
    70       PRINTF(0)("SkyBox model '%s' could not be loaded\n", string);
    71     }
     61  LoadParam<SkyBox>(root, "Materialset", this, &SkyBox::setTexture);
     62
    7263  this->postInit();
    7364}
Note: See TracChangeset for help on using the changeset viewer.