Crossfire Server, Branches 1.12
R18729
|
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.
char* bmappair::name |
Definition at line 53 of file image.c.
Referenced by compar(), dump_abilities(), esrv_send_face(), find_face(), free_all_images(), rangetostring(), read_bmap_names(), and send_image_sums().
unsigned int bmappair::number |
Definition at line 54 of file image.c.
Referenced by find_face(), and read_bmap_names().