Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7205 in orxonox.OLD for branches/std/src/lib/graphics/importer


Ignore:
Timestamp:
Mar 9, 2006, 8:47:20 PM (19 years ago)
Author:
rennerc
Message:

removed std::string& a = NULL in some headers

Location:
branches/std/src/lib/graphics/importer
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/std/src/lib/graphics/importer/md2Model.h

    r7203 r7205  
    194194 private:
    195195   bool loadModel(const std::string& fileName);
    196    bool loadSkin(const std::string& fileName = NULL);
     196   bool loadSkin(const std::string& fileName = "");
    197197
    198198 public:
     
    223223
    224224public:
    225   MD2Model(const std::string& modelFileName, const std::string& skinFileName = NULL, float scale = 1.0f);
     225  MD2Model(const std::string& modelFileName, const std::string& skinFileName = "", float scale = 1.0f);
    226226  virtual ~MD2Model();
    227227
  • branches/std/src/lib/graphics/importer/movie_player.h

    r7203 r7205  
    5858public:
    5959
    60   MoviePlayer(const std::string& filename = NULL);
     60  MoviePlayer(const std::string& filename = "");
    6161  virtual ~MoviePlayer();
    6262
  • branches/std/src/lib/graphics/importer/static_model.h

    r7203 r7205  
    9595{
    9696 public:
    97   StaticModel(const std::string& modelName = NULL);
     97  StaticModel(const std::string& modelName = "");
    9898  virtual ~StaticModel();
    9999
  • branches/std/src/lib/graphics/importer/texture.h

    r7203 r7205  
    1818  {
    1919    public:
    20       Texture(const std::string& imageName = NULL, GLenum target = GL_TEXTURE_2D);
     20      Texture(const std::string& imageName = "", GLenum target = GL_TEXTURE_2D);
    2121  //  Texture(TEXTURE_TYPE type, int resolution);
    2222      virtual ~Texture();
Note: See TracChangeset for help on using the changeset viewer.