Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3085 in orxonox.OLD for orxonox/branches/images/importer/material.h


Ignore:
Timestamp:
Dec 4, 2004, 5:26:18 PM (21 years ago)
Author:
bensch
Message:

orxonox/branches/images: bring order to Chaos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/images/importer/material.h

    r3070 r3085  
    1515#include <fstream>
    1616
     17// IMAGE LIBS //
     18#include <jpeglib.h>
     19
    1720//! Class to handle Materials.
    1821class Material
     
    2225  Material (char* mtlName);
    2326  Material* addMaterial(char* mtlName);
     27  ~Material ();
     28  void init(void);
    2429
    25   void init(void);
    26   ~Material ();
     30  Material* search (char* mtlName);
     31  bool select (void);
    2732
    2833  GLuint diffuseTexture;
     
    4954  void setTransparency (char* trans);
    5055
     56
     57
     58
    5159  // MAPPING //
    5260  void setDiffuseMap(char* dMap);
     
    5563  void setBump(char* bump);
    5664
     65  // TEXTURING
    5766  bool loadBMP (char* bmpName, GLuint* texture);
    58 
    59 
    60   Material* search (char* mtlName);
    61 
    62   bool select (void);
    63 
    64   Material* nextMat; //!< pointer to the Next Material of the List. NULL if no next exists.
    6567
    6668 private:
     
    7274  float shininess;
    7375  float transparency;
     76  Material* nextMat; //!< pointer to the Next Material of the List. NULL if no next exists.
    7477
    7578};
Note: See TracChangeset for help on using the changeset viewer.