Crossfire Server, Trunk  R20513
image.h
Go to the documentation of this file.
1 
6 #ifndef IMAGE_H
7 #define IMAGE_H
8 
10 typedef struct face_info {
14 } face_info;
15 
17 typedef struct {
18  char *prefix;
19  char *fullname;
21  char *size;
22  char *extension;
23  char *comment;
25 } face_sets;
26 #define MAX_FACE_SETS 20
28 extern face_sets facesets[MAX_FACE_SETS];
29 
30 extern unsigned int nrofpixmaps;
31 
32 #define MAX_IMAGE_SIZE 10000
33 
34 #endif /* IMAGE_H */
Actual image data the client will display.
Definition: image.h:10
unsigned int nrofpixmaps
Number of bitmaps loaded from the "bmaps" file.
Definition: image.c:45
face_info * faces
images in this faceset
Definition: image.h:24
unsigned char uint8_t
Definition: win32.h:161
uint8_t * data
Image data.
Definition: image.h:11
char * prefix
Faceset short name, used in pictures names (base, clsc).
Definition: image.h:18
char * extension
Supplementary description.
Definition: image.h:22
char * size
Human-readable set size.
Definition: image.h:21
uint32_t checksum
Checksum of face data.
Definition: image.h:13
char * comment
Human-readable comment for this set.
Definition: image.h:23
unsigned short uint16_t
Definition: win32.h:163
struct face_info face_info
Actual image data the client will display.
unsigned int uint32_t
Definition: win32.h:162
uint16_t datalen
Length of data.
Definition: image.h:12
char * fullname
Full faceset name.
Definition: image.h:19
uint8_t fallback
Faceset to use when an image is not found in this faceset, index in facesets.
Definition: image.h:20
Information about one face set.
Definition: image.h:17