mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TextureLoaderBMP.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <GL/glaux.h>// for loading bitmaps-textures using GLaux lib
9 #include "GlobalGL.h"
10 #include "TextureLoader.h"
11 #include <fstream>
12 #include <string>
13 
15 
22  public TextureLoader {
23 public:
24  TextureLoaderBMP( void );
25  ~TextureLoaderBMP( void );
26  static AUX_RGBImageRec *loadAux( const char *filename );
27  bool load( const std::string& filename );
28  bool write( const std::string& filename );
29 private:
30  bool ReadDIBFile( std::istream &file );
31 };