move png support to separate file

This commit is contained in:
Ludwig Nussel 2008-02-12 10:03:21 +00:00
parent cb06e3e93a
commit 4eec54c338
4 changed files with 2469 additions and 2447 deletions

View File

@ -1174,6 +1174,7 @@ Q3OBJ = \
$(B)/client/tr_flares.o \ $(B)/client/tr_flares.o \
$(B)/client/tr_font.o \ $(B)/client/tr_font.o \
$(B)/client/tr_image.o \ $(B)/client/tr_image.o \
$(B)/client/tr_image_png.o \
$(B)/client/tr_init.o \ $(B)/client/tr_init.o \
$(B)/client/tr_light.o \ $(B)/client/tr_light.o \
$(B)/client/tr_main.o \ $(B)/client/tr_main.o \

File diff suppressed because it is too large Load Diff

2466
code/renderer/tr_image_png.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
void LoadPNG( const char *name, byte **pic, int *width, int *height );