Changeset 3127 in orxonox.OLD for orxonox/branches/images/importer/material.h
- Timestamp:
- Dec 7, 2004, 8:02:05 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/images/importer/material.h
r3110 r3127 12 12 #include <GL/glu.h> 13 13 #include <SDL/SDL.h> 14 #include <stdlib.h>15 #include <fstream>16 14 17 15 #if HAVE_CONFIG_H … … 32 30 #endif /* HAVE_PNG_H */ 33 31 #endif /* HAVE_SDL_SDL_IMAGE_H */ 32 33 class PathList 34 { 35 public: 36 PathList(); 37 PathList(char* pName); 38 39 ~PathList(); 40 void addPath (char* pName); 41 char* pathName; 42 PathList* next; 43 }; 44 34 45 35 46 //! Class to handle Materials. … … 62 73 63 74 64 65 66 // MAPPING // 75 76 void addTexturePath(char* pathName); 77 char* searchTextureInPaths(char* texName) const; 78 // MAPPING // 67 79 void setDiffuseMap(char* dMap); 68 80 void setAmbientMap(char* aMap); 69 81 void setSpecularMap(char* sMap); 70 82 void setBump(char* bump); 71 72 83 73 84 private: … … 91 102 float transparency; 92 103 104 static PathList* pathList; 105 93 106 GLuint diffuseTexture; 94 107 GLuint ambientTexture;
Note: See TracChangeset
for help on using the changeset viewer.