Crossfire Client, Trunk
Face_Information_struct Struct Reference

#include <client.h>

+ Collaboration diagram for Face_Information_struct:

Data Fields

guint32 bmaps_checksum
 
gint16 cache_hits
 
gint16 cache_misses
 
guint8 faceset
 
FaceSets facesets [MAX_FACE_SETS]
 
guint8 have_faceset_info
 
gint16 num_images
 
guint32 old_bmaps_checksum
 
char * want_faceset
 

Detailed Description

One struct that holds most of the image related data to reduce danger of namespace collision.

Definition at line 405 of file client.h.

Field Documentation

◆ bmaps_checksum

guint32 Face_Information_struct::bmaps_checksum

Definition at line 409 of file client.h.

Referenced by client_reset(), get_image_info(), and reset_vars_common().

◆ cache_hits

gint16 Face_Information_struct::cache_hits

Just for debugging/logging purposes. This is cleared on each new server connection. This may not be 100% precise (as we increment cache_hits when we find a suitable image to load - if the data is bad, that would count as both a hit and miss.

Definition at line 416 of file client.h.

Referenced by client_negotiate(), load_image(), and reset_vars_common().

◆ cache_misses

gint16 Face_Information_struct::cache_misses

Definition at line 416 of file client.h.

Referenced by client_negotiate(), requestface(), and reset_vars_common().

◆ faceset

guint8 Face_Information_struct::faceset

Definition at line 406 of file client.h.

Referenced by client_negotiate(), get_image_info(), map_init(), reset_vars_common(), and SetupCmd().

◆ facesets

FaceSets Face_Information_struct::facesets[MAX_FACE_SETS]

◆ have_faceset_info

guint8 Face_Information_struct::have_faceset_info

Simple value to know if there is data in facesets[].

Definition at line 417 of file client.h.

Referenced by get_image_info(), reset_vars_common(), and setup_config_dialog().

◆ num_images

gint16 Face_Information_struct::num_images

Definition at line 408 of file client.h.

Referenced by client_negotiate(), get_image_info(), and reset_vars_common().

◆ old_bmaps_checksum

guint32 Face_Information_struct::old_bmaps_checksum

Definition at line 409 of file client.h.

Referenced by client_init(), and client_reset().

◆ want_faceset

char* Face_Information_struct::want_faceset

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