Crossfire Server, Trunk  1.75.0
FormulaeWriter.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 FORMULAEWRITER_H
14 #define FORMULAEWRITER_H
15 
16 #include "global.h"
17 #include "AssetWriter.h"
18 
19 class FormulaeWriter : public AssetWriter<recipelist> {
20  public:
21  virtual void write(const recipelist *list, StringBuffer *buf);
22 };
23 
24 #endif /* FORMULAEWRITER_H */
25 
global.h
AssetWriter.h
buf
StringBuffer * buf
Definition: readable.cpp:1565
recipelist
List of recipes with a certain number of ingredients.
Definition: recipe.h:37
FormulaeWriter::write
virtual void write(const recipelist *list, StringBuffer *buf)
Write the specified asset to the StringBuffer.
Definition: FormulaeWriter.cpp:52
StringBuffer
A buffer that will be expanded as content is added to it.
Definition: stringbuffer.cpp:25
FormulaeWriter
Definition: FormulaeWriter.h:19
list
How to Install a Crossfire Server on you must install a python script engine on your computer Python is the default script engine of Crossfire You can find the python engine you have only to install them The VisualC Crossfire settings are for but you habe then to change the pathes in the VC settings Go in Settings C and Settings Link and change the optional include and libs path to the new python installation path o except the maps ! You must download a map package and install them the share folder Its must look like doubleclick on crossfire32 dsw There are projects in your libcross lib and plugin_python You need to compile all Easiest way is to select the plugin_python ReleaseLog as active this will compile all others too Then in Visual C press< F7 > to compile If you don t have an appropriate compiler you can try to get the the VC copies the crossfire32 exe in the crossfire folder and the plugin_python dll in the crossfire share plugins folder we will remove it when we get time for it o Last showing lots of weird write to the Crossfire mailing list
Definition: INSTALL_WIN32.txt:50
AssetWriter
Abstract writer of an asset to a StringBuffer.
Definition: AssetWriter.h:22