(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:
Markus Armbruster 2006-06-22 20:10:23 +00:00
parent e81828ec4c
commit 063aabb893
6 changed files with 12 additions and 9 deletions

View file

@ -41,5 +41,6 @@
/*
* Table of land unit types
* Initialized on startup from land.config and deity custom config (if any).
* Terminated by a sentinel with null l_name.
*/
struct lchrstr lchr[N_MAXLAND + 1];
struct lchrstr lchr[LND_TYPE_MAX + 2];

View file

@ -43,5 +43,6 @@
/*
* Table of plane types
* Initialized on startup from plane.config and deity custom config (if any).
* Terminated by a sentinel with null pl_name.
*/
struct plchrstr plchr[N_MAXPLANE + 1];
struct plchrstr plchr[PLN_TYPE_MAX + 2];

View file

@ -43,5 +43,6 @@
/*
* Table of ship types
* Initialized on startup from ship.config and deity custom config (if any).
* Terminated by a sentinel with null m_name.
*/
struct mchrstr mchr[N_MAXSHIPS + 1];
struct mchrstr mchr[SHP_TYPE_MAX + 2];