Crossfire Server, Trunk
Face Struct Reference

#include <face.h>

+ Collaboration diagram for Face:

Data Fields

uint8_t magicmap
 
sstring name
 
uint16_t number
 
Facesmoothface
 
uint8_t visibility
 

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

◆ name

◆ number

◆ smoothface

Face* Face::smoothface

Smoothed face for this, NULL for none.

Definition at line 18 of file face.h.

Referenced by dump_faces(), find_smooth(), generate_face(), FaceLoader::load(), Faces::replace(), START_TEST(), FaceWrapper::uses(), while(), and FaceWriter::write().

◆ 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(), generate_face(), FaceLoader::load(), Faces::replace(), START_TEST(), and FaceWriter::write().


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