]> git.pond.sub.org Git - empserver/commit
(shp_set_tech, pln_set_tech, lnd_set_tech): New, factored out of build
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 16 May 2004 14:19:38 +0000 (14:19 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 16 May 2004 14:19:38 +0000 (14:19 +0000)
commitc2debd73fcb307256bd6928a75b4a8ef112e8bb3
treeb31644efefa08c40f8d2b6b73310a535978bde1b
parent65ff91877fa50dc2203758179317015ca0841b0a
(shp_set_tech, pln_set_tech, lnd_set_tech): New, factored out of build
and upgrade code.
(build_ship, build_plane, build_land, supgr, pupgr, lupgr): Use them.
Upgrading planes no longer sets plane range to maximum.

(pupgr): Just clear the mission, don't bother to clear op area.

(doship, doplane, dounit): Editing tech now updates stats, like an
upgrade command.  Proper range checking.
(warn_deprecated): New.
(pr_ship, doship): Deprecate key 'D'.
(pr_land, dounit): Deprecate key 'A' and 'D'.
include/land.h
include/prototypes.h
src/lib/commands/buil.c
src/lib/commands/edit.c
src/lib/commands/upgr.c
src/lib/subs/lndsub.c
src/lib/subs/plnsub.c
src/lib/subs/shpsub.c