![]() |
Crossfire Server, Trunk
1.75.0
|
New face structure - this enforces the notion that data is face by face only - you can not change the color of an item - you need to instead create a new face with that color. More...
#include <face.h>
Data Fields | |
uint8_t | magicmap |
Color to show this in magic map. More... | |
sstring | name |
Face name, as used by archetypes and such. More... | |
uint16_t | number |
This is the image unique identifier. More... | |
Face * | smoothface |
Smoothed face for this, NULL for none. More... | |
uint8_t | visibility |
How visible is the face compared to other faces, highest wins. More... | |
New face structure - this enforces the notion that data is face by face only - you can not change the color of an item - you need to instead create a new face with that color.
uint8_t Face::magicmap |
Color to show this in magic map.
Definition at line 17 of file face.h.
Referenced by FaceLoader::load(), magic_mapping_mark(), magic_mapping_mark_recursive(), and Faces::replace().
sstring Face::name |
Face name, as used by archetypes and such.
Definition at line 19 of file face.h.
Referenced by account_char_add(), add_abilities(), asset_destroy(), cfapi_object_get_property(), fix_flesh_item(), get_ob_diff(), FaceLoader::load(), mimic_type_apply(), set_object_face_other(), AnimationWriter::write(), and QuestWriter::write().
uint16_t Face::number |
This is the image unique identifier.
Definition at line 15 of file face.h.
Referenced by add_abilities(), add_object_to_socklist(), animate_object(), artifact_get_face(), cfapi_system_find_face(), esrv_draw_look(), esrv_new_player(), esrv_send_animation(), esrv_send_inventory(), esrv_update_item(), map2_add_ob(), quest_send_initial_states(), quest_set_state(), send_skill_info(), and send_smooth().
Face* Face::smoothface |
Smoothed face for this, NULL for none.
Definition at line 18 of file face.h.
Referenced by FaceLoader::load(), Faces::replace(), and while().
uint8_t Face::visibility |
How visible is the face compared to other faces, highest wins.
Definition at line 16 of file face.h.
Referenced by add_face_layer(), FaceLoader::load(), and Faces::replace().