Atrinik Server  4.0
Data Fields
bmappair Struct Reference

Data Fields

char * name
 
unsigned int number
 

Detailed Description

bmappair and xbm are used when looking for the image ID numbers of a face by name. xbm is sorted alphabetically so that bsearch can be used to quickly find the entry for a name. The number is then an index into the ::new_faces array.

This data is redundant with new_face information - the difference is that this data gets sorted, and that doesn't necessarily happen with the new_face data - when accessing new_face[some number], that some number corresponds to the face at that number - for xbm, it may not. At current time, these do in fact match because the bmaps file is created in a sorted order.

Definition at line 48 of file image.c.


The documentation for this struct was generated from the following file: