Crossfire Server, Trunk
|
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 16 of file TreasureWriter.cpp.
|
static |
Definition at line 18 of file TreasureWriter.cpp.
References buf, give::name, stringbuffer_append_printf(), stringbuffer_append_string(), and W.
Referenced by TreasureWriter::write().