Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

orxonox/branches/levelLoader: better compatibility with more functions

Location:
orxonox/branches/levelLoader/src/world_entities
Files:
2 edited

Legend:

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

    r4240 r4242  
    5656  this->preInit();
    5757
    58   const char* string;
    59 
    60   // Model Loading     
    6158  LoadParam<SkyBox>(root, "Materialset", this, &SkyBox::setTexture);
    6259
     
    107104               "skybox_right.jpg", "skybox_front.jpg", "skybox_back.jpg");
    108105*/
    109 void SkyBox::setTexture(const char* name, const char* extension)
     106void SkyBox::setTextureAndType(const char* name, const char* extension)
    110107{
    111108  char* top    = new char[strlen(name)+strlen(extension)+ 10];
  • orxonox/branches/levelLoader/src/world_entities/skybox.h

    r4240 r4242  
    3232  void setSize(float size);
    3333  /** \brief assumes jpg as input-format */
    34   void setTexture(const char* name) { setTexture (name, "jpg");};
    35   void setTexture(const char* name, const char* extension);
     34  void setTexture(const char* name) { setTextureAndType (name, "jpg");};
     35  void setTextureAndType(const char* name, const char* extension);
    3636  void setTextures(const char* top, const char* bottom, const char* left, const char* right, const char* front, const char* back);
    3737
Note: See TracChangeset for help on using the changeset viewer.