00001 // Funclib TextureBMP v1.0.0 00002 // 00003 // This module adds BMP texture loading/saving functionality. 00004 // A lot of features are untested as I have no way of generating the files needed 00005 // however any images made using mspaint and GIMP are guaranteed to work, also 00006 // as most features worked the first time I tested them I can be pretty sure that 00007 // other features like RLE and older/newer formats will work. 00008 // Currently bit-fields are unsupported, however most apps don't use them (luckily). 00009 // However most normal alpha representations are supported. 00010 // 00011 // Contributor(s): Flatmush 00012 00013 00014 00015 #ifndef FLTEXTUREBMP_H 00016 #define FLTEXTUREBMP_H 00017 00018 #include "flGlobal.h" 00019 00020 #if FL_TEXTURE_BMP 00021 00022 #include "flTexture.h" 00023 00024 #ifdef __cplusplus 00025 extern "C" { 00026 #endif 00027 00033 extern Texture* texLoadBMP(char* inPath); 00034 00042 extern bool texSaveBMP(Texture* inTex, char* inPath); 00043 00044 #ifdef __cplusplus 00045 } 00046 #endif 00047 00048 #endif 00049 00050 #endif