2010-08-08 10:06:34 +02:00
|
|
|
#ifndef H_GC_CREPORT
|
|
|
|
#define H_GC_CREPORT
|
2016-09-13 20:13:26 +02:00
|
|
|
|
|
|
|
#include <kernel/types.h>
|
2018-02-15 20:25:58 +01:00
|
|
|
#include <stdbool.h>
|
2016-09-13 20:13:26 +02:00
|
|
|
|
2010-08-08 10:06:34 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2015-08-05 14:45:46 +02:00
|
|
|
struct stream;
|
|
|
|
struct region;
|
|
|
|
struct faction;
|
|
|
|
struct unit;
|
|
|
|
|
2015-01-30 20:37:14 +01:00
|
|
|
void creport_cleanup(void);
|
|
|
|
void register_cr(void);
|
2010-08-08 10:06:34 +02:00
|
|
|
|
2015-01-30 20:37:14 +01:00
|
|
|
int crwritemap(const char *filename);
|
2017-12-26 07:25:42 +01:00
|
|
|
void cr_output_unit(struct stream *out, const struct faction * f,
|
|
|
|
const struct unit * u, seen_mode mode);
|
2017-03-05 15:26:04 +01:00
|
|
|
void cr_output_resources(struct stream *out, const struct faction * f,
|
|
|
|
const struct region *r, bool see_unit);
|
2010-08-08 10:06:34 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|