|
Atrinik Server 2.5
|
#include <global.h>Go to the source code of this file.
Data Structures | |
| struct | bmappair |
Functions | |
| static int | compar (struct bmappair *a, struct bmappair *b) |
| int | read_bmap_names () |
| int | find_face (char *name, int error) |
| void | free_all_images () |
Variables | |
| New_Face * | new_faces |
| static struct bmappair * | xbm = NULL |
| New_Face * | blank_face |
| New_Face * | next_item_face |
| New_Face * | prev_item_face |
| int | nroffiles = 0 |
| int | nrofpixmaps = 0 |
Handles face-related stuff, including the actual face data.
Definition in file image.c.
| int find_face | ( | char * | name, |
| int | error | ||
| ) |
This returns the face number of face 'name'. Number is constant during an invocation, but not necessarily between versions (this is because the faces are arranged in alphabetical order, so if a face is removed or added, all faces after that will have a different number).
| name | Face to search for. |
| error | Value to return if face was not found. |
| void free_all_images | ( | ) |
Deallocates memory allocated by read_bmap_names().
| int read_bmap_names | ( | ) |
| int nrofpixmaps = 0 |
1.7.4