00001 // Funclib TextureManipulation v1.0.0 00002 // 00003 // This module contains texture manipulation functions. 00004 // It can be used to palettize, convert between bit-depths, 00005 // replace colors and do all kinds of effects. 00006 // 00007 // Contributor(s): Flatmush 00008 00009 00010 00011 #ifndef FLTEXTUREMANIPULATION_H 00012 #define FLTEXTUREMANIPULATION_H 00013 00014 #include "flGlobal.h" 00015 #include "flTexture.h" 00016 00017 #if FL_TEXTURE_MANIPULATION != 0 00018 00019 #ifdef __cplusplus 00020 extern "C" { 00021 #endif 00022 00023 void texMnpColorReplace(Texture* inTex, u32 inColor, u32 inReplace); 00024 00025 #ifdef __cplusplus 00026 } 00027 #endif 00028 00029 #endif 00030 00031 #endif