|
Atrinik Server 2.5
|
Data Fields | |
| char * | name |
| unsigned int | number |
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.
1.7.4