(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:
parent
e81828ec4c
commit
063aabb893
6 changed files with 12 additions and 9 deletions
|
@ -39,7 +39,7 @@
|
|||
#include "queue.h"
|
||||
#include "sect.h"
|
||||
|
||||
#define N_MAXPLANE 40
|
||||
#define PLN_TYPE_MAX 46
|
||||
#define PLANE_MINEFF 10
|
||||
|
||||
struct plnstr {
|
||||
|
@ -138,7 +138,7 @@ struct plist {
|
|||
#define putplane(n, p) ef_write(EF_PLANE, (n), (p))
|
||||
#define getplanep(n) (struct plnstr *)ef_ptr(EF_PLANE, (n))
|
||||
|
||||
extern struct plchrstr plchr[N_MAXPLANE + 1];
|
||||
extern struct plchrstr plchr[PLN_TYPE_MAX + 2];
|
||||
|
||||
struct shiplist {
|
||||
short uid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue