(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:
parent
b3ab6abf4a
commit
7c93f70ee4
8 changed files with 13 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue