TGA in PF 0_8_1
Posted: Sep 28, 2005 @ 11:40am
For my game i've changed some files of PocketFrog to add support of uncompressed tga files with alpha channel. You could use it, if you want.
Loading:
AlphaSurface* LoadTGAImage( const uint8_t* pBegin, const uint8_t* pEnd );
AlphaSurface* LoadTGAImage( const TCHAR* filename );
Usage:
Blit as usual Surface.
Blit with transformation will be done as with Surface.
Changed files are in attach (with bugfixes by BIGBEN)
p.s. Bugs not found, but can be!
p.p.s Comments are welcome!
Loading:
AlphaSurface* LoadTGAImage( const uint8_t* pBegin, const uint8_t* pEnd );
AlphaSurface* LoadTGAImage( const TCHAR* filename );
Usage:
Blit as usual Surface.
Blit with transformation will be done as with Surface.
Changed files are in attach (with bugfixes by BIGBEN)
p.s. Bugs not found, but can be!
p.p.s Comments are welcome!