I hope programming WIPs are allowed here.
VTF loading and "displaying" in Half-Life 1.
https://pastebin.com/yR7qPSaf This is the full file so far, it's a mess.
Funny thing, to "display" the image to make sure it was working correctly I had to abuse a bug within GoldSource. When you generate a texture, when you change a level, the (first? or last) image you generated will flash for a few frames as the level is transitioning.
Here's the result I got:
It works!
I plan on expanding this into a custom renderer I am making, but realistically it will only be a learning experience and something I will never get done. It's just too damn hard.
I'll probably replace .tga loading function in favour for .vtf's in PARANOIA and test that out... or Trinity, I don't know. But it won't be the new one.
Just thought I'd point it out, it's kinda important to me. If anyone is interested in the sources (as of now, not done) just PM me. Also maybe in the future I may make some comprehensive documentation of VTFLib and HLLib, since none exist so far.
Also a very special and many thanks to Solokiller, none of the technical bits would've been possible/updated without him for this project.
Blue-
Green. Neat. Never knew about those.