 |
Crossfire Server, Trunk
1.75.0
|
Go to the documentation of this file.
106 (*smoothed) =
face->smoothface;
143 LOG(
llevError,
"get_face_fallback called with unused set (%d)?\n", faceset);
146 if (imageno < fs->allocated && fs->
faces[imageno].
data)
160 fprintf(stderr,
"id name smooth\n");
New face structure - this enforces the notion that data is face by face only - you can not change the...
int find_smooth(const Face *face, const Face **smoothed)
Find the smooth face for a given face.
@ llevError
Error, serious thing.
void LOG(LogLevel logLevel, const char *format,...)
Logs a message to stderr, or to file.
int get_face_fallback(int faceset, uint16_t imageno)
This returns the set we will actually use when sending a face.
void dump_faces(void)
Dump all faces to stderr, for debugging purposes.
const char * get_colorname(uint8_t index)
face_sets * find_faceset(int id)
const Face * blank_face
Following can just as easily be pointers, but it is easier to keep them like this.
AssetsManager * getManager()
char * prefix
Faceset short name, used in pictures names (base, clsc).
Plugin animator file specs[Config] name
sstring name
Usually monster-name/combination.
Faces * faces()
Get faces.
uint8_t * data
Image data.
void each(std::function< void(T *)> op)
Apply a function to each asset.
struct face_sets * fallback
Faceset to use when an image is not found in this faceset.
int is_valid_faceset(int fsn)
Checks specified faceset is valid.
uint8_t find_color(const char *name)
Finds a color by name.
Information about one face set.
face_info * faces
images in this faceset
static const char *const colorname[]
The only thing this table is used for now is to translate the colorname in the magicmap field of the ...
in that case they will be relative to whatever the PWD of the crossfire server process is You probably shouldn though Notes on Specific and settings file datadir Usually usr share crossfire Contains data that the server does not need to modify while such as the etc A default install will pack the and treasurelist definitions into a single or trs file and the graphics into a face(metadata) and .tar(bitmaps) file