Crossfire Server, Trunk
FormulaeWriter.cpp File Reference
#include "FormulaeWriter.h"
#include "Utils.h"
+ Include dependency graph for FormulaeWriter.cpp:

Go to the source code of this file.

Macros

#define DO(v, s)   { if (recipe->v) { stringbuffer_append_printf(buf, s "\n", recipe->v); } }
 

Functions

static void writeRecipe (const recipe *recipe, StringBuffer *buf)
 

Macro Definition Documentation

◆ DO

#define DO (   v,
 
)    { if (recipe->v) { stringbuffer_append_printf(buf, s "\n", recipe->v); } }

Definition at line 16 of file FormulaeWriter.cpp.

Function Documentation

◆ writeRecipe()

static void writeRecipe ( const recipe recipe,
StringBuffer buf 
)
static