OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
pcx.h
Go to the documentation of this file.
1 
11 #ifndef _UTILS_PCX_H_
12 #define _UTILS_PCX_H_
13 
14 #include "TextureManager.h"
15 
21 int pcxCheck(const char* filename);
22 
33 int pcxLoad(const char* filename, unsigned char** image,
34  unsigned int* width, unsigned int* height,
35  ColorMode* mode, unsigned int* bpp);
36 
37 #endif
38 
int pcxLoad(const char *filename, unsigned char **image, unsigned int *width, unsigned int *height, ColorMode *mode, unsigned int *bpp)
Load a PCX image file into a buffer.
Definition: pcx.cpp:69
Texture Registry.
ColorMode
int pcxCheck(const char *filename)
Check if a file is a valid PCX image.
Definition: pcx.cpp:17