(fltelemstr, fltheadstr): Move from ship.h to sail.c.

This commit is contained in:
Markus Armbruster 2007-08-18 13:48:15 +00:00
parent 198b7760d8
commit 10dd9aea11
2 changed files with 21 additions and 21 deletions

View file

@ -110,27 +110,6 @@ struct shpstr {
char shp_rpath[RET_LEN]; /* retreat path */
};
struct fltelemstr {
int num;
int own;
double mobil, mobcost;
struct fltelemstr *next;
};
struct fltheadstr {
int leader;
signed char real_q;
/* defines for the real_q member */
#define LEADER_VIRTUAL 0
#define LEADER_REAL 1
#define LEADER_WRONGSECT 2
coord x, y;
natid own;
unsigned maxmoves;
struct fltelemstr *head;
struct fltheadstr *next;
};
struct mchrstr {
short m_item[I_MAX+1]; /* load limit */
int m_lcm; /* units of lcm to build */

View file

@ -43,6 +43,27 @@
#include "empobj.h"
#include "unit.h"
struct fltelemstr {
int num;
int own;
double mobil, mobcost;
struct fltelemstr *next;
};
struct fltheadstr {
int leader;
signed char real_q;
/* defines for the real_q member */
#define LEADER_VIRTUAL 0
#define LEADER_REAL 1
#define LEADER_WRONGSECT 2
coord x, y;
natid own;
unsigned maxmoves;
struct fltelemstr *head;
struct fltheadstr *next;
};
static void fltp_to_list(struct fltheadstr *, struct emp_qelem *);
static void