Crossfire Server, Trunk
Face Struct Reference

#include <face.h>

+ Collaboration diagram for Face:

Data Fields

uint8_t magicmap
 
sstring name
 
uint16_t number
 
struct 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

Color to show this in magic map

Definition at line 17 of file face.h.

Referenced by generate_face(), FaceLoader::load(), magic_mapping_mark(), magic_mapping_mark_recursive(), Faces::replace(), START_TEST(), and FaceWriter::write().

◆ name

◆ number

◆ smoothface

struct Face* Face::smoothface

Smoothed face for this, NULL for none.

Definition at line 18 of file face.h.

Referenced by do_face(), find_smooth(), generate_face(), FaceLoader::load(), Faces::replace(), START_TEST(), 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: