server/src/creport.h

28 lines
586 B
C
Raw Normal View History

2010-08-08 10:06:34 +02:00
#ifndef H_GC_CREPORT
#define H_GC_CREPORT
#include <kernel/types.h>
#include <stdbool.h>
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
extern "C" {
#endif
struct stream;
struct region;
struct faction;
struct unit;
void creport_cleanup(void);
void register_cr(void);
2010-08-08 10:06:34 +02: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);
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