Crossfire Server, Trunk  1.75.0
FaceWriter.h
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 2020-2021 the Crossfire Development Team
5  *
6  * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7  * welcome to redistribute it under certain conditions. For details, please
8  * see COPYING and LICENSE.
9  *
10  * The authors can be reached via e-mail at <crossfire@metalforge.org>.
11  */
12 
13 #ifndef FACEWRITER_H
14 #define FACEWRITER_H
15 
16 #include "global.h"
17 #include "AssetWriter.h"
18 
19 class FaceWriter : public AssetWriter<Face> {
20  public:
21  virtual void write(const Face *face, StringBuffer *buf);
22 };
23 
24 #endif /* FACEWRITER_H */
25 
Face
New face structure - this enforces the notion that data is face by face only - you can not change the...
Definition: face.h:14
global.h
AssetWriter.h
FaceWriter
Definition: FaceWriter.h:19
buf
StringBuffer * buf
Definition: readable.cpp:1565
StringBuffer
A buffer that will be expanded as content is added to it.
Definition: stringbuffer.cpp:25
AssetWriter
Abstract writer of an asset to a StringBuffer.
Definition: AssetWriter.h:22
FaceWriter::write
virtual void write(const Face *face, StringBuffer *buf)
Write the specified asset to the StringBuffer.
Definition: FaceWriter.cpp:15
face
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