/* ========================================================================== * ÀÛ ¼º ÀÚ : À̼ø±Ô * ÀÛ ¼º ÀÏ : 2008.04.29 * ³» ¿ë : * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once #include class cEngineFile; /// TGA ÆÄÀÏ ¸®´õ class cTGAReader : public NiTGAReader { public: NiPixelData* ReadFile( cEngineFile& file, NiPixelData* optDest ); protected: void LoadRLERow( cEngineFile& file, unsigned char *dest, unsigned int destSize ); void GetColormap( cEngineFile& file ); bool ReadHeader( cEngineFile& file, unsigned int& width, unsigned int& height, NiPixelFormat& pixelFormat, bool& mipmap, unsigned int& faces ); };