#ifndef PNGFILE_H #define PNGFILE_H #include "common.h" #include "pixmap.h" #include "png.h" #include #include // hay its a png loader lol void _flushpngfile(png_structp png_ptr); void _readpngfile(png_structp png_ptr,unsigned char *buf,int size); void _writepngfile(png_structp png_ptr,unsigned char *buf,int size); Pixelmap *LoadPNG(char *loadtarget); #endif