This site is no longer active and is available for archival purposes only. Registration and login is disabled.

TGA in PF 0_8_1


TGA in PF 0_8_1

Postby dyn » 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!
Attachments
pf_tga.rar
support of uncompressed tga with alphachannel
(20 KiB) Downloaded 823 times
User avatar
dyn
pm Member
 
Posts: 17
Joined: Dec 5, 2004 @ 10:05am


Postby BIGBEN » Sep 30, 2005 @ 4:18am

User avatar
BIGBEN
pm Member
 
Posts: 281
Joined: Mar 18, 2003 @ 10:18pm
Location: Saint-Petersburg, Russia


Postby dyn » Sep 30, 2005 @ 8:59am

User avatar
dyn
pm Member
 
Posts: 17
Joined: Dec 5, 2004 @ 10:05am


Postby fast_rx » Sep 30, 2005 @ 1:11pm

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby dyn » Sep 30, 2005 @ 2:34pm

User avatar
dyn
pm Member
 
Posts: 17
Joined: Dec 5, 2004 @ 10:05am


Postby fast_rx » Sep 30, 2005 @ 3:09pm

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby BIGBEN » Sep 30, 2005 @ 8:00pm

User avatar
BIGBEN
pm Member
 
Posts: 281
Joined: Mar 18, 2003 @ 10:18pm
Location: Saint-Petersburg, Russia


Postby dyn » Oct 3, 2005 @ 11:11am

Attachments
pr_tga_v2.rar
version2. added rle tga support
(23.06 KiB) Downloaded 763 times
User avatar
dyn
pm Member
 
Posts: 17
Joined: Dec 5, 2004 @ 10:05am


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron