]> git.pond.sub.org Git - empserver/commit
Remove option FUEL
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 12 May 2008 07:25:20 +0000 (09:25 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 12 May 2008 07:25:20 +0000 (09:25 +0200)
commit3b4de2feb16974b0a65ee17c7a7b761615a5e85b
tree5bc15ae3097d4cb416b2a3a1a844596506b085b1
parent3cc80e83c33b4e50c65d4e4017659d18b1259f33
Remove option FUEL

The abstract idea of tying ships and land units to a logistical tether
is sound, the concrete implementation as option FUEL is flawed.  It
adds too much busy-work to the game to be enjoyable.  It hasn't been
enabled in a public game for years.  The code implementing it is ugly,
repetitive, and a burden to maintain.

Remove selector fuel from ship_ca[] and land_ca[], and selectors
fuelc, fuelu from mchr_ca[] and lchr_ca[].  Remove fields fuelc, fuelu
from ship.config and land.config.

Remove command fuel from player_coms[].

Deprecate edit key 'B' in doship(), dounit(), and don't show it in
pr_ship(), pr_land().

Drop opt_FUEL code from build_ship(), shi(), sdump(), ship_damage(),
show_ship_stats(), do_mob_ship(), nav_ship(), build_land(), land(),
ldump(), land_damage(), show_land_stats(), do_mob_land(),
resupply_all(), resupply_commod(), get_minimum(), has_supply(),
unit_list(), vers().

Remove opt_FUEL, fuel_mult, struct shpstr member shp_fuel, struct
mchrstr members m_fuelc and m_fuelu, M_OILER, struct lndstr member
lnd_fuel, struct lchrstr members l_fuelc and l_fuelu, fuel(), and
auto_fuel_ship().
42 files changed:
include/econfig-spec.h
include/land.h
include/prototypes.h
include/ship.h
info/Autofish.t
info/Land-units.t
info/Options.t
info/Selector.t
info/Ship-types.t
info/Unit-types.t
info/fortify.t
info/fuel.t [deleted file]
info/land.t
info/ldump.t
info/order.t
info/relations.t
info/sdump.t
info/ship.t
info/supply.t
info/version.t
src/lib/commands/buil.c
src/lib/commands/edit.c
src/lib/commands/fuel.c [deleted file]
src/lib/commands/land.c
src/lib/commands/ldump.c
src/lib/commands/sdump.c
src/lib/commands/shi.c
src/lib/commands/vers.c
src/lib/global/constants.c
src/lib/global/land.config
src/lib/global/nsc.c
src/lib/global/options.c
src/lib/global/ship.config
src/lib/global/symbol.c
src/lib/player/empmod.c
src/lib/subs/damage.c
src/lib/subs/show.c
src/lib/subs/supply.c
src/lib/subs/unitsub.c
src/lib/update/mobility.c
src/lib/update/nav_ship.c
src/lib/update/nav_util.c