Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Dec 5, 2004, 1:55:40 AM (21 years ago)
Author:
bensch
Message:

orxonox/branches/images: importing uncompressed TGA-files

File:
1 edited

Legend:

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

    r3093 r3094  
    6161  {
    6262    int rowSpan;
    63     unsigned long sizeX;
    64     unsigned long sizeY;
     63    GLuint width;
     64    GLuint height;
     65    GLuint bpp;
     66    GLuint type;
    6567    GLubyte *data;
    6668  };
     
    8688
    8789  // TEXTURING
     90  bool loadTexToGL (Image* pImage, GLuint* texture);
     91
    8892  bool loadImage(char* imageName, GLuint* texture);
    8993
     
    9397  void decodeJPG(jpeg_decompress_struct* cinfo, Image *pImageData);
    9498
    95   bool loadTexToGL (Image* pImage, GLuint* texture);
     99  /// TGA ///
     100
     101  bool loadTGA(const char * tgaName, GLuint* texture);
     102  bool loadUncompressedTGA(const char * filename, FILE * fTGA, GLuint* texture);
     103  //  bool LoadCompressedTGA(const char * filename, FILE * fTGA, GLuint* texture);
     104
    96105};
    97106#endif
Note: See TracChangeset for help on using the changeset viewer.