]> git.pond.sub.org Git - empserver/commit
navigate: Require all ships to start in the same sector
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 28 Dec 2014 21:27:37 +0000 (22:27 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 28 Feb 2015 15:13:14 +0000 (16:13 +0100)
commita024dbb8a398a254a03af811440ba17a45d04cb2
tree55e3852079fbc48024e4767594360d6855230fef
parent69c99a0f298c59feae8cdc705b34749da56ae5b9
navigate: Require all ships to start in the same sector

The capability to navigate ships spread over several sectors is
obscure and rarely useful.  Accidental use is probably more frequent
than intentional use.  Issues:

* Interactive prompts show only the flagship's position, and give no
  clue that some ships are actually elsewhere.

* Path finding is supported only when all navigating ships are in
  the same sector.

* Interdiction becomes rather complex.  For each movement, every
  sector entered is interdicted independently.  This means the same
  fort, ship, land unit or plane can interdict multiple times.
  Interdiction order depends on the order the code examines
  ships. which the player can control.  This is all pretty much
  undocumented.

* Complicates the code and its maintenance.  Multiplies the number of
  test cases needed to cover navigate.

I feel we're better off without this feature.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
include/ship.h
info/navigate.t
src/lib/commands/navi.c
src/lib/subs/shpsub.c
tests/navi-march-test
tests/navi-march/01-navigate-1
tests/navi-march/final.xdump
tests/navi-march/journal.log
tests/navi-march/setup-POGO