Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3803 in orxonox.OLD for orxonox/trunk/src/lib/graphics


Ignore:
Timestamp:
Apr 13, 2005, 7:38:52 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: SkyBox even better,

world-entity implements a draw function of its own

some other minor stuff

Location:
orxonox/trunk/src/lib/graphics/importer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/importer/material.cc

    r3790 r3803  
    326326   \param dMap the Name of the Image to Use
    327327*/
    328 void Material::setDiffuseMap(char* dMap)
     328void Material::setDiffuseMap(const char* dMap)
    329329{
    330330  PRINTF(4)("setting Diffuse Map %s\n", dMap);
     
    342342   \todo implement this
    343343*/
    344 void Material::setAmbientMap(char* aMap)
     344void Material::setAmbientMap(const char* aMap)
    345345{
    346346  SDL_Surface* ambientMap;
     
    353353   \todo implement this
    354354*/
    355 void Material::setSpecularMap(char* sMap)
     355void Material::setSpecularMap(const char* sMap)
    356356{
    357357  SDL_Surface* specularMap;
     
    364364   \todo implemet this
    365365*/
    366 void Material::setBump(char* bump)
    367 {
    368 
    369 }
     366void Material::setBump(const char* bump)
     367{
     368
     369}
  • orxonox/trunk/src/lib/graphics/importer/material.h

    r3790 r3803  
    4848  void addTexturePath(char* pathName);
    4949 // MAPPING //
    50   void setDiffuseMap(char* dMap);
    51   void setAmbientMap(char* aMap);
    52   void setSpecularMap(char* sMap);
    53   void setBump(char* bump);
     50  void setDiffuseMap(const char* dMap);
     51  void setAmbientMap(const char* aMap);
     52  void setSpecularMap(const char* sMap);
     53  void setBump(const char* bump);
    5454
    5555 private:
Note: See TracChangeset for help on using the changeset viewer.