Changeset 6981 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- Feb 2, 2006, 2:45:07 PM (19 years ago)
- Location:
- trunk/src/lib/graphics/importer
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/height_map.h
r6956 r6981 28 28 class HeightMap; 29 29 30 class Tile 30 class Tile 31 31 { 32 32 public: … … 40 40 float x; 41 41 float z; 42 ~Tile();42 virtual ~Tile(); 43 43 44 44 … … 47 47 HeightMap* hmref; 48 48 VertexArrayModel* highResModel; 49 VertexArrayModel* lowResModel; 49 VertexArrayModel* lowResModel; 50 50 int highRes; 51 51 int lowRes; … … 60 60 void load(int Mode); 61 61 void load(const char*, int Mode); 62 void scale( Vector V); 62 void scale( Vector V); 63 63 void setAbsCoor(Vector V); 64 float getHeight(float x, float y); 64 float getHeight(float x, float y); 65 65 float getNormal(float x, float y); 66 66 HeightMap(); 67 67 HeightMap(const char*); 68 68 HeightMap(const char*, const char*); 69 ~HeightMap();69 virtual ~HeightMap(); 70 70 71 71 friend class Tile; … … 74 74 SDL_Surface* heightMap; 75 75 SDL_Surface* colourMap; 76 unsigned char* heights; 76 unsigned char* heights; 77 77 unsigned char* colours; 78 78 … … 80 80 void drawRect(int xBottomLeft, int yBottomLeft, int xTopRight, int yTopRight ); 81 81 void fixBoarder(int xBottomLeft, int yBottomLeft, int xTopRight, int yTopRight); 82 Vector ** normalVectorField ; 82 Vector ** normalVectorField ; 83 83 Tile *** tiles; 84 84 Vector camCoords; 85 Vector offsetCoords; 85 Vector offsetCoords; 86 86 Material * tmp_mat; 87 87 Material* red_mat; -
trunk/src/lib/graphics/importer/media_container.h
r6731 r6981 45 45 46 46 MediaContainer(const char* filename = NULL); 47 ~MediaContainer();47 virtual ~MediaContainer(); 48 48 49 49 bool loadMedia(const char* filename); … … 53 53 54 54 private: 55 55 56 56 GLuint getNextFrame(); 57 57 void unloadMedia(); -
trunk/src/lib/graphics/importer/movie_player.h
r6731 r6981 59 59 60 60 MoviePlayer(const char* filename = NULL); 61 ~MoviePlayer();61 virtual ~MoviePlayer(); 62 62 63 63 bool loadMovie(const char* filename); -
trunk/src/lib/graphics/importer/texture.h
r6465 r6981 20 20 Texture(const char* imageName = NULL, GLenum target = GL_TEXTURE_2D); 21 21 // Texture(TEXTURE_TYPE type, int resolution); 22 ~Texture();22 virtual ~Texture(); 23 23 24 24 bool loadImage(const char* imageName, GLenum target = GL_TEXTURE_2D); -
trunk/src/lib/graphics/importer/texture_sequence.h
r6532 r6981 23 23 TextureSequence(unsigned int count = 0, ...); 24 24 // Texture(TEXTURE_TYPE type, int resolution); 25 ~TextureSequence();25 virtual ~TextureSequence(); 26 26 27 27 bool loadImageSeries(unsigned int count, ...);
Note: See TracChangeset
for help on using the changeset viewer.