de-clutter header file.

This commit is contained in:
Enno Rehling 2017-03-18 18:24:02 +01:00
parent 967e70a4e1
commit 0ff9f1601c
1 changed files with 7 additions and 10 deletions

View File

@ -32,8 +32,6 @@ extern "C" {
* wichtig
*/
struct xml_tag;
typedef struct requirement {
const struct resource_type *rtype;
int number;
@ -63,8 +61,8 @@ extern "C" {
} construction;
void free_construction(struct construction *cons);
extern int destroy_cmd(struct unit *u, struct order *ord);
extern int leave_cmd(struct unit *u, struct order *ord);
int destroy_cmd(struct unit *u, struct order *ord);
int leave_cmd(struct unit *u, struct order *ord);
void build_road(struct unit *u, int size, direction_t d);
void create_ship(struct unit *u, const struct ship_type *newtype,
@ -74,16 +72,15 @@ extern "C" {
struct building *getbuilding(const struct region *r);
struct ship *getship(const struct region *r);
void reportevent(struct region *r, char *s);
void shash(struct ship *sh);
void sunhash(struct ship *sh);
extern int roqf_factor(void);
int roqf_factor(void);
int build(struct unit *u, const construction * ctype, int completed, int want);
extern int maxbuild(const struct unit *u, const construction * cons);
extern struct message *msg_materials_required(struct unit *u,
struct order *ord, const struct construction *ctype, int multi);
int maxbuild(const struct unit *u, const construction * cons);
struct message *msg_materials_required(struct unit *u, struct order *ord,
const struct construction *ctype, int multi);
/** error messages that build may return: */
#define ELOWSKILL -1
#define ENEEDSKILL -2