Valhalla Legends Forums Archive | Battle.net Bot Development | [C++] Beginning the process of icons.bni support

AuthorMessageTime
warz
I've found all the necessary documentation on the file format, but what functions should I look into in relation to completing this task?

I've been scoping out fread().

Edit: this seems to be a pretty good link. ill try that out when i get home from work.
July 19, 2005, 12:36 PM
warz
I guess my question now is, once I have the extracted targa file, do I save it to disk then use it? I never saw a saved targa file in other bot directories - so is there a way to save it in memory, or something then use it?
July 19, 2005, 8:23 PM
LoRd
[quote author=warz link=topic=12269.msg121242#msg121242 date=1121804604]
I guess my question now is, once I have the extracted targa file, do I save it to disk then use it? I never saw a saved targa file in other bot directories - so is there a way to save it in memory, or something then use it?

[/quote]
Decompress the Targa and create a bitmap of it, all in memory.
July 19, 2005, 8:33 PM

Search