(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
|
@ -39,6 +39,7 @@
|
|||
#include "queue.h"
|
||||
#include "sect.h"
|
||||
|
||||
#define N_MAXPLANE 40
|
||||
#define PLANE_MINEFF 10
|
||||
|
||||
/*
|
||||
|
@ -142,7 +143,7 @@ struct plist {
|
|||
#define getplanep(n) \
|
||||
(struct plnstr *) ef_ptr(EF_PLANE, n)
|
||||
|
||||
extern struct plchrstr plchr[];
|
||||
extern struct plchrstr plchr[N_MAXPLANE + 1];
|
||||
extern int pln_maxno;
|
||||
|
||||
struct shiplist {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue