News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

TGA Library

Started by Farabi, November 10, 2011, 04:56:09 AM

Previous topic - Next topic

Farabi

http://www.cs.wisc.edu/graphics/Gallery/LibTarga/

I dont know about the license, I make a few adjusment based on this code. I think the code is outdated, I compiled it with the newest GCC and it yielded a wrong stupid message like the periscop is not for this or something, what is the different anyway, it is still stdcall, or something.

Well, the lib is a little bit weird. Each function is autobalancing the stack, so you did not to worry about balancing it. How to use this lib is still the same with the web above, I even keep the function name, but adding anew function tga_free since it used C++ malloc which is not compatible with MASM free function, use MASM free function, and it crashed, so do virtualfree, the standard C lib is kept the handle somewhere, so I need to internally use them.

29 KBytes, you wont find any better than this.  :green

Anyway, can I claimed this as mine? Even it is obviously, I just make a few adjusment, but hey, GCC is a hell for civilliance like me  :cheekygreen:
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Farabi

Sorry, My Browser, *you know what* force an autoupdate, and it burn up my processor, and suddenly it autoshutdown.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"