#include "ImageLoaders.h"
#include "MercuryTextureManager.h"
#include "MercuryFiles.h"
#include "MercuryLog.h"
#include <png.h>
Go to the source code of this file.
Defines | |
#define | abort_(x) { LOG.Warn(x); return NULL; } |
Functions | |
void | PNGRead (png_struct *png, png_byte *p, png_size_t size) |
RawImageData * | LoadPNG (MercuryFile *fp) |
RawImageData * | LoadBMP (MercuryFile *file) |
RUN_STATEMENT_AT_BOOT (include_png, IMAGEREADERREGISTER.AddDecoder(LoadPNG,"‰PN");) RUN_STATEMENT_AT_BOOT(include_bmp | |
IMAGEREADERREGISTER | AddDecoder (LoadBMP,"BM8") |
#define abort_ | ( | x | ) | { LOG.Warn(x); return NULL; } |
Definition at line 17 of file ImageLoaders.cpp.
IMAGEREADERREGISTER AddDecoder | ( | LoadBMP | , | |
"BM8" | ||||
) |
RawImageData* LoadBMP | ( | MercuryFile * | file | ) |
Definition at line 154 of file ImageLoaders.cpp.
RawImageData* LoadPNG | ( | MercuryFile * | fp | ) |
Definition at line 32 of file ImageLoaders.cpp.
void PNGRead | ( | png_struct * | png, | |
png_byte * | p, | |||
png_size_t | size | |||
) |
Definition at line 19 of file ImageLoaders.cpp.
RUN_STATEMENT_AT_BOOT | ( | include_png | , | |
IMAGEREADERREGISTER.AddDecoder(LoadPNG,"‰PN"); | ||||
) |