Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3454 in orxonox.OLD for orxonox/trunk/src/importer/texture.h


Ignore:
Timestamp:
Mar 3, 2005, 6:35:04 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk/importer: doxygen-tags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/importer/texture.h

    r3365 r3454  
    1111
    1212#include "../stdincl.h"
    13 extern int verbose;
    1413#ifdef HAVE_SDL_SDL_IMAGE_H
    1514#include <SDL/SDL_image.h>
     
    6564    GLubyte *data;  //!< The Image Data comes here! DANGER: uncompressed data.
    6665  };
    67   Image* pImage;
    68   GLuint texture;
    69   SDL_Surface* map;
     66  Image* pImage;    //!< The data of an Image
     67  GLuint texture;   //!< The Texture-ID of opengl from this Texture.
     68  SDL_Surface* map; //!< The map SDL initializes for this element.
    7069  char* searchTextureInPaths(char* texName) const;
    7170  inline void swap(unsigned char &a, unsigned char &b);
     
    7372  Texture(void);
    7473  ~Texture(void);
    75 
    76   inline GLuint getTexture(void) {return this->texture;} //!< \returns The textureID of this texture.
     74  /** \returns The textureID of this texture.  */
     75  inline GLuint getTexture(void) {return this->texture;}
    7776  bool loadTexToGL (Image* pImage);
    7877
     
    9089  bool loadCompressedTGA(const char * filename, FILE * fTGA);
    9190
    92   bool loadPNG(const char* pngName, GLuint* texture);
     91  bool loadPNG(const char* pngName);
    9392#endif
    9493
Note: See TracChangeset for help on using the changeset viewer.