march: Require all land units to start in the same sector
The capability to march land units spread over several sectors is obscure and rarely useful. Accidental use is probably more frequent than intentional use. Issues: * Interactive prompts show only the leader's position, and give no clue that some land units are actually elsewhere. * Path finding is supported only when all marching land units are in the same sector. * In each step, the bmap is updated for the leader's radar. The bmap is not updated around other marching land units. Already odd when all units are in the leader's sector, and odder still when some are elsewhere. * Interdiction becomes rather complex. For each movement, every sector entered is interdicted independently. This means the same ship, land unit or plane can interdict multiple times. Interdiction order depends on the order the code examines land units. 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 march. I feel we're better off without this feature. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
5d0faf7a88
commit
69c99a0f29
9 changed files with 54 additions and 81 deletions
|
@ -192,12 +192,12 @@ extern void lnd_submil(struct lndstr *, int);
|
|||
extern void lnd_takemob(struct emp_qelem *, double);
|
||||
extern int lnd_spyval(struct lndstr *);
|
||||
extern void intelligence_report(int, struct lndstr *, int, char *);
|
||||
extern void lnd_mar(struct emp_qelem *, double *, double *, int *, natid);
|
||||
extern void lnd_mar(struct emp_qelem *, double *, double *, natid);
|
||||
extern void lnd_put(struct emp_qelem *);
|
||||
extern void lnd_put_one(struct ulist *);
|
||||
extern int lnd_hardtarget(struct lndstr *);
|
||||
extern int lnd_abandon_askyn(struct emp_qelem *);
|
||||
extern int lnd_mar_one_sector(struct emp_qelem *, int, natid, int);
|
||||
extern int lnd_mar_one_sector(struct emp_qelem *, int, natid);
|
||||
extern int lnd_support(natid, natid, coord, coord, int);
|
||||
extern int lnd_can_attack(struct lndstr *);
|
||||
extern int lnd_fortify(struct lndstr *lp, int hard_amt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue