Ragnvald Maartmann-Moe IV
c8b9f7552a
Add support for supplying NULL palettes to LoadPCX() [uses the .pcx's palette].
...
Change convert in LoadPCX() to use rgb rather than rgba, since it was just
supplying 255 for A anyways.
Also restructure image.c a bit, remove unneeded ifs.
2003-10-09 19:16:14 +00:00
Bill Currie
4ce44cf9eb
PNG write support from DrSpliff
2003-09-09 16:18:13 +00:00
Ragnvald Maartmann-Moe IV
387f6a6f64
Clean out silly typedef bloat, clean up whitespace.
2003-09-08 20:07:51 +00:00
Bill Currie
2ea7ca1efd
windows has a LoadImage #define, so kill it :)
2003-09-08 15:49:21 +00:00
Bill Currie
61a2840870
autoconfiscate the png support
2003-09-08 14:32:54 +00:00
Bill Currie
92b6550fe3
correction pointed out by DrSpliff
2003-09-05 04:07:19 +00:00
Bill Currie
a0875ea909
eliminate the global variables
2003-09-04 21:24:20 +00:00
Bill Currie
2b5a3753ca
nuke QF/texture.h moving it's contents into QF/image.h (yay, finally, a
...
real home for tex_t:)
2003-09-04 18:59:39 +00:00
Bill Currie
39ed540979
LoadImage is now used for all external textures giving almost transparent
...
.png and .tga support.
2003-09-04 18:46:59 +00:00
Bill Currie
753dc02deb
use dtrings to do the filename manipulation
2003-09-04 18:09:02 +00:00
Bill Currie
d186f242b7
DrSpliff's LoadImage code (thanks:)
2003-09-04 16:32:39 +00:00
Bill Currie
d0aaa5263b
since the tex data is rgba, /say/ it's rgba, not rgb :P
2003-09-04 15:14:09 +00:00
Bill Currie
3305c0f51f
PNG reading support, much thanks to DrSpliff
2003-09-04 05:24:05 +00:00
Bill Currie
323a6182fd
move pcx.c and tga.c out of libQFutil and into libQFimage with the hopes
...
for more image formats :)
2003-08-15 16:19:10 +00:00