![]() |
Crossfire Server, Trunk
1.75.0
|
#include "TreasureWriter.h"
Go to the source code of this file.
Macros | |
#define | W(x, n) { if (item->x) { stringbuffer_append_printf(buf, "%s" n "\n", indentItems.c_str(), item->x); } } |
Functions | |
static void | writeItem (const treasure *item, const std::string &indent, StringBuffer *buf) |
#define W | ( | x, | |
n | |||
) | { if (item->x) { stringbuffer_append_printf(buf, "%s" n "\n", indentItems.c_str(), item->x); } } |
Definition at line 15 of file TreasureWriter.cpp.
|
static |
Definition at line 17 of file TreasureWriter.cpp.
References buf, treasure::chance, treasure::item, name, archetype::name, treasure::next, treasure::next_no, treasure::next_yes, stringbuffer_append_printf(), stringbuffer_append_string(), and W.
Referenced by TreasureWriter::write().