Crossfire Server, Trunk
image.h
Go to the documentation of this file.
1 
6 #ifndef IMAGE_H
7 #define IMAGE_H
8 
10 struct face_info {
11  uint8_t *data;
12  uint16_t datalen;
13  uint32_t checksum;
14 };
15 
17 struct face_sets {
18  int id;
19  char *prefix;
20  char *fullname;
21  struct face_sets *fallback;
22  char *size;
23  char *extension;
24  char *comment;
25  size_t allocated;
27 };
28 
29 extern face_sets *find_faceset(int id);
30 
31 #define MAX_IMAGE_SIZE 10000
32 
33 #endif /* IMAGE_H */
face_sets::allocated
size_t allocated
Definition: image.h:25
face_sets::id
int id
Definition: image.h:18
face_sets::prefix
char * prefix
Definition: image.h:19
face_sets::extension
char * extension
Definition: image.h:23
face_sets::comment
char * comment
Definition: image.h:24
face_info::data
uint8_t * data
Definition: image.h:11
face_info
Definition: image.h:10
face_sets::size
char * size
Definition: image.h:22
face_sets::fallback
struct face_sets * fallback
Definition: image.h:21
face_info::datalen
uint16_t datalen
Definition: image.h:12
face_info::checksum
uint32_t checksum
Definition: image.h:13
find_faceset
face_sets * find_faceset(int id)
Definition: assets.cpp:328
face_sets::fullname
char * fullname
Definition: image.h:20
face_sets
Definition: image.h:17
face_sets::faces
face_info * faces
Definition: image.h:26