Crossfire Server, Trunk  1.75.0
Face Struct Reference

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>

+ Collaboration diagram for Face:

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...
 
Facesmoothface
 Smoothed face for this, NULL for none. More...
 
uint8_t visibility
 How visible is the face compared to other faces, highest wins. More...
 

Detailed Description

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.

Definition at line 14 of file face.h.

Field Documentation

◆ magicmap

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().

◆ name

◆ number

◆ smoothface

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().

◆ visibility

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().


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