(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
|
@ -42,7 +42,7 @@
|
|||
#include "misc.h"
|
||||
#include "retreat.h"
|
||||
|
||||
#define N_MAXSHIPS 40
|
||||
#define SHP_TYPE_MAX 46
|
||||
#define SHIP_MINEFF 20
|
||||
|
||||
/* bit masks for the autonav mode flags */
|
||||
|
@ -183,7 +183,7 @@ struct mchrstr {
|
|||
#define putship(n, p) ef_write(EF_SHIP, (n), (p))
|
||||
#define getshipp(n) (struct shpstr *)ef_ptr(EF_SHIP, (n))
|
||||
|
||||
extern struct mchrstr mchr[N_MAXSHIPS + 1];
|
||||
extern struct mchrstr mchr[SHP_TYPE_MAX + 2];
|
||||
|
||||
struct mlist {
|
||||
struct emp_qelem queue; /* list of ships */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue