Data Structures | Defines | Typedefs | Functions

load_img.h File Reference

Go to the source code of this file.

Data Structures

struct  IMG_HEADER

Defines

#define XIMG   0x58494D47
#define ERR_HEADER   1
#define ERR_ALLOC   2
#define ERR_FILE   3
#define ERR_DEPACK   4
#define ERR_COLOR   5

Typedefs

typedef struct IMG_HEADER IMG_header

Functions

void get_colors (int handle, short *palette, int col)
void img_set_colors (int handle, short *palette, int col)
int convert (MFDB *, long)
int transform_img (MFDB *)
int depack_img (char *, IMG_header *)
int half_img (MFDB *, MFDB *)

Define Documentation

#define ERR_ALLOC   2
#define ERR_COLOR   5
#define ERR_DEPACK   4
#define ERR_FILE   3
#define ERR_HEADER   1
#define XIMG   0x58494D47

Typedef Documentation

typedef struct IMG_HEADER IMG_header

Function Documentation

int convert ( MFDB *  ,
long   
)
int depack_img ( char *  ,
IMG_header  
)
void get_colors ( int  handle,
short *  palette,
int  col 
)
int half_img ( MFDB *  ,
MFDB *   
)
void img_set_colors ( int  handle,
short *  palette,
int  col 
)
int transform_img ( MFDB *   )