(nchr): Move the array size to nuke.h. Add rows for configurable units.

(lchr,plchr,mchr): Add array size to land.h/plane.h/ship.h.  Add rows for
configurable units.
(ichr,pchr,dchr,intrchr): Add array size to item.h/product.h/sect.h.
This commit is contained in:
Ron Koenderink 2005-10-28 13:23:08 +00:00
parent b3ab6abf4a
commit 7c93f70ee4
8 changed files with 13 additions and 10 deletions

View file

@ -42,6 +42,7 @@
#include "misc.h"
#include "retreat.h"
#define N_MAXSHIPS 40
#define SHIP_MINEFF 20
/* bit masks for the autonav mode flags */
@ -184,7 +185,7 @@ struct mchrstr {
#define getshipp(n) \
(struct shpstr *) ef_ptr(EF_SHIP, n)
extern struct mchrstr mchr[];
extern struct mchrstr mchr[N_MAXSHIPS + 1];
extern int shp_maxno;
struct mlist {