config: Drop configuration table size macros
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 26 Dec 2020 05:30:24 +0000 (06:30 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 17 Jan 2021 20:24:28 +0000 (21:24 +0100)
commite379edc648b494da4689c5521ef65979bffcdaa1
tree3f08789cbe7664875a6e64e51ab785f8907a2dce
parenta374e6435dfb7eb2035ca564ed6a037e7c6bf97b
config: Drop configuration table size macros

Macros LND_TYPE_MAX, N_MAXNUKE, PLN_TYPE_MAX, P_MAX, SCT_TYPE_MAX,
SHP_TYPE_MAX are only used to size a single array each.  Eliminate.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
12 files changed:
include/land.h
include/nuke.h
include/plane.h
include/product.h
include/sect.h
include/ship.h
src/lib/global/land.c
src/lib/global/nuke.c
src/lib/global/plane.c
src/lib/global/product.c
src/lib/global/sect.c
src/lib/global/ship.c