Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 19, 2005, 6:48:49 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: Material, and Model update, some const-issues

File:
1 edited

Legend:

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

    r3803 r3894  
    1414#endif /* HAVE_CONFIG_H */
    1515
     16#ifndef NULL
     17#define NULL 0
     18#endif
     19
    1620// FORWARD DEFINITIONS //
    1721class Texture;
     
    2226{
    2327 public:
    24   Material (char* mtlName = "");
    25   Material* addMaterial(char* mtlName);
     28  Material (const char* mtlName = NULL);
     29  Material* addMaterial(const char* mtlName);
    2630  ~Material ();
    2731
    28   Material* search(char* mtlName);
     32  Material* search(const char* mtlName);
    2933  bool select (void);
    3034
    31   void setName (char* mtlName);
     35  void setName (const char* mtlName);
    3236  char* getName (void);
    3337  void setIllum (int illum);
Note: See TracChangeset for help on using the changeset viewer.