2015-08-18 18:57:04 +02:00
|
|
|
#pragma once
|
2015-01-30 20:37:14 +01:00
|
|
|
/*
|
2010-08-08 10:06:34 +02:00
|
|
|
+-------------------+ Christian Schlittchen <corwin@amber.kn-bremen.de>
|
|
|
|
| | Enno Rehling <enno@eressea.de>
|
|
|
|
| Eressea PBEM host | Katja Zedel <katze@felidae.kn-bremen.de>
|
|
|
|
| (c) 1998 - 2003 | Henning Peters <faroul@beyond.kn-bremen.de>
|
|
|
|
| | Ingo Wilken <Ingo.Wilken@informatik.uni-oldenburg.de>
|
|
|
|
+-------------------+ Stefan Reich <reich@halbling.de>
|
|
|
|
|
2015-01-30 20:37:14 +01:00
|
|
|
This program may not be used, modified or distributed
|
2010-08-08 10:06:34 +02:00
|
|
|
without prior permission by the authors of Eressea.
|
2015-01-30 20:37:14 +01:00
|
|
|
*/
|
2010-08-08 10:06:34 +02:00
|
|
|
#ifndef H_GC_REPORT
|
|
|
|
#define H_GC_REPORT
|
2015-08-18 18:57:04 +02:00
|
|
|
|
|
|
|
#include <stddef.h>
|
2018-11-26 22:01:18 +01:00
|
|
|
#include <stdbool.h>
|
2015-08-18 18:57:04 +02:00
|
|
|
|
2010-08-08 10:06:34 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2015-05-19 08:26:44 +02:00
|
|
|
struct stream;
|
2018-11-26 22:01:18 +01:00
|
|
|
struct sbstring;
|
2015-11-12 19:34:25 +01:00
|
|
|
struct spellbook_entry;
|
2015-08-18 17:08:02 +02:00
|
|
|
struct region;
|
|
|
|
struct faction;
|
2016-09-16 19:28:07 +02:00
|
|
|
struct locale;
|
2018-11-26 22:01:18 +01:00
|
|
|
struct allies;
|
|
|
|
|
2015-01-30 20:37:14 +01:00
|
|
|
void register_nr(void);
|
|
|
|
void report_cleanup(void);
|
2015-05-19 08:26:44 +02:00
|
|
|
void write_spaces(struct stream *out, size_t num);
|
2017-03-05 16:55:11 +01:00
|
|
|
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);
|
2018-11-26 22:01:18 +01:00
|
|
|
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);
|
2018-12-01 21:56:21 +01:00
|
|
|
void paragraph(struct stream *out, const char *str, ptrdiff_t indent, int hanging_indent, char marker);
|
2015-11-12 19:34:25 +01:00
|
|
|
|
2018-06-03 13:29:54 +02: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
|