FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <stdio.h>
#include <string.h>
#include "bmpman/bmpman.h"
#include "cfile/cfile.h"
#include "globalincs/pstypes.h"
#include "graphics/2d.h"
#include "palman/palman.h"
#include "png.h"
#include "pngutils/pngutils.h"
Go to the source code of this file.
Functions | |
void | png_scp_read_data (png_structp png_ptr, png_bytep data, png_size_t length) |
int | png_read_header (const char *real_filename, CFILE *img_cfp, int *w, int *h, int *bpp, ubyte *palette) |
int | png_read_bitmap (const char *real_filename, ubyte *image_data, ubyte *bpp, int dest_size, int cf_type) |
Variables | |
CFILE * | png_file = NULL |
int png_read_bitmap | ( | const char * | real_filename, |
ubyte * | image_data, | ||
ubyte * | bpp, | ||
int | dest_size, | ||
int | cf_type | ||
) |
Definition at line 133 of file pngutils.cpp.
int png_read_header | ( | const char * | real_filename, |
CFILE * | img_cfp, | ||
int * | w, | ||
int * | h, | ||
int * | bpp, | ||
ubyte * | palette | ||
) |
Definition at line 38 of file pngutils.cpp.
void png_scp_read_data | ( | png_structp | png_ptr, |
png_bytep | data, | ||
png_size_t | length | ||
) |
Definition at line 15 of file pngutils.cpp.
CFILE* png_file = NULL |
Definition at line 12 of file pngutils.cpp.