(N_MAXSHIPS, SHP_TYPE_MAX, N_MAXPLANE, PLN_TYPE_MAX, N_MAXLAND)

(LND_TYPE_MAX): Replace.  Add a bit more space to the tables.
This commit is contained in:
Markus Armbruster 2006-06-22 20:10:23 +00:00
parent e81828ec4c
commit 063aabb893
6 changed files with 12 additions and 9 deletions

View file

@ -42,7 +42,7 @@
#include "nsc.h"
#include "retreat.h"
#define N_MAXLAND 30
#define LND_TYPE_MAX 30
#define LAND_MINEFF 10
#define LAND_MINFIREEFF 40 /* arty must be this effic to fire */
@ -178,7 +178,7 @@ struct lchrstr {
#define putland(n, p) ef_write(EF_LAND, (n), (p))
#define getlandp(n) (struct lndstr *)ef_ptr(EF_LAND, (n))
extern struct lchrstr lchr[N_MAXLAND + 1];
extern struct lchrstr lchr[LND_TYPE_MAX + 2];
struct llist {
struct emp_qelem queue; /* list of units */