server/src/report.h

35 lines
1.1 KiB
C
Raw Normal View History

2010-08-08 10:06:34 +02:00
#ifndef H_GC_REPORT
#define H_GC_REPORT
#include <stddef.h>
#include <stdbool.h>
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
extern "C" {
#endif
struct stream;
struct sbstring;
2015-11-12 19:34:25 +01:00
struct spellbook_entry;
struct region;
struct faction;
2016-09-16 19:28:07 +02:00
struct locale;
struct allies;
void register_nr(void);
void report_cleanup(void);
void write_spaces(struct stream *out, size_t num);
void report_travelthru(struct stream *out, struct region * r, const struct faction * f);
void report_region(struct stream *out, const struct region * r, struct faction * f);
void report_allies(struct stream *out, size_t maxlen, const struct faction * f, struct allies * allies, const char *prefix);
void pump_paragraph(struct sbstring *sbp, struct stream *out, size_t maxlen, bool isfinal);
void paragraph(struct stream *out, const char *str, ptrdiff_t indent, int hanging_indent, char marker);
2015-11-12 19:34:25 +01:00
void nr_spell_syntax(char *buf, size_t size, struct spellbook_entry * sbe, const struct locale *lang);
2015-11-12 19:34:25 +01:00
void nr_spell(struct stream *out, struct spellbook_entry * sbe, const struct locale *lang);
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
}
#endif
#endif