empserver/src
Markus Armbruster e7583a519e config: Slightly neater configuration table size macros
Macro SHP_TYPE_MAX is the largest possible ship type number.  It is
only used to size mchr[], and we need + 2 there.  Replace by MCHR_SZ
for simplicity.

Same for LND_TYPE_MAX, PLN_TYPE_MAX, P_MAX, and SCT_TYPE_MAX: replace
by LCHR_SZ, PLCHR_SZ, PCHR_SZ, and DCHR_SZ.

Same for N_MAXNUKE, except that one is more than the largest type
number.  Replace by NCHR_SZ.

For consistency, define ICHR_SZ and INTRCHR_SZ for sizing ichr[] and
intrchr_sz[].

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2021-01-23 07:07:58 +01:00
..
client Update copyright notice 2021-01-05 10:41:28 +01:00
lib config: Slightly neater configuration table size macros 2021-01-23 07:07:58 +01:00
scripts Update copyright notice 2021-01-05 10:41:28 +01:00
server New macro ARRAY_SIZE() 2021-01-19 08:56:38 +01:00
util fairland: Tidy up comments 2021-01-19 08:56:38 +01:00