]> git.pond.sub.org Git - empserver/commit - src/lib/commands/tend.c
(mchrstr, lchrstr): Change from variable-style storage of load
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 17 Aug 2004 14:09:04 +0000 (14:09 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 17 Aug 2004 14:09:04 +0000 (14:09 +0000)
commit8a0854b6b899c25c87b668c627a1118cdcac978d
tree8ba1b9ea9c14323983d6d72872ed5d067c7286cf
parenta965b2d25eab79afb84bdfd87e46bf0feeec3792
(mchrstr, lchrstr): Change from variable-style storage of load
capacities to straight arrays.  Users now subscript the array instead
of calling vl_find() or walking the variable data structure.
(mchr, lchr): Initializers adapted.
(vl_find): No longer used.  Remove file.
22 files changed:
include/land.h
include/prototypes.h
include/ship.h
src/lib/commands/load.c
src/lib/commands/lten.c
src/lib/commands/new.c
src/lib/commands/tend.c
src/lib/common/Makefile
src/lib/common/vlist.c [deleted file]
src/lib/global/land.c
src/lib/global/ship.c
src/lib/subs/attsub.c
src/lib/subs/lndsub.c
src/lib/subs/plnsub.c
src/lib/subs/retreat.c
src/lib/subs/show.c
src/lib/subs/shpsub.c
src/lib/subs/supply.c
src/lib/update/nav_ship.c
src/lib/update/nav_util.c
src/lib/update/ship.c
src/server/main.c