(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 "nsc.h"
|
||||
#include "retreat.h"
|
||||
|
||||
#define N_MAXLAND 30
|
||||
#define LAND_MINEFF 10
|
||||
#define LAND_MINFIREEFF 40 /* arty must be this effic to fire */
|
||||
#define LND_MINMOBCOST 0.200
|
||||
|
@ -180,7 +181,7 @@ struct lchrstr {
|
|||
#define getlandp(n) \
|
||||
(struct lndstr *) ef_ptr(EF_LAND, n)
|
||||
|
||||
extern struct lchrstr lchr[];
|
||||
extern struct lchrstr lchr[N_MAXLAND + 1];
|
||||
extern int lnd_maxno;
|
||||
|
||||
struct llist {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue