Commit graph

335 commits

Author SHA1 Message Date
984ffce95e Improve info mission
Remove confusing columns Op-sect and Radius from table of available
missions.  Add their code letters.

Fix efficiency required for artillery units to fire.
2008-06-06 21:31:55 +02:00
1f7d8879ca Document delivery of civilians and military
People can be delivered since v4.0.0 (the check that disabled that was
commented out), and cutoff shows these deliveries since v4.0.2.  The
change was documented in info Empire4, but info pages weren't updated.
Do that, and remove the commented out code.
2008-06-02 07:02:26 +02:00
c7ac4ced21 Improve info on anti, bomb, lookout, starvation and sweep
Add command anti to subject Occupation, bomb to Combat, lookout to
Detection, and starvation to Updates.

Cross-reference recon from sweep.
2008-05-18 11:41:53 +02:00
ebf50dce54 Update change log for 4.3.15 2008-05-18 11:41:51 +02:00
9a7628f05b Add command test to info subject Transportation 2008-05-15 19:41:32 +02:00
3b4de2feb1 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().
2008-05-12 09:25:20 +02:00
abd64835c7 Update change log again for 4.3.14 2008-05-05 06:57:42 +02:00
e8f82d34a7 Update change log again for 4.3.14. 2008-04-29 22:08:03 +02:00
9e19123abf Update change log for 4.3.14 2008-04-25 22:28:40 +02:00
b1a0ff2fbd Don't let trains load trains
Doesn't affect the stock game, because its only train is heavy.
2008-04-20 15:11:15 +02:00
fa98d40e86 Final polish for 4.3.13 2008-04-15 21:04:03 +02:00
2d4e4e0d96 Fix documented syntax of edit command.
While there: editing nukes isn't implemented, don't advertise it.
2008-04-15 20:57:28 +02:00
b88d59b9e4 Document that nukes can be traded 2008-04-15 20:56:07 +02:00
8e354e56c0 Update change log for 4.3.13 2008-04-06 22:00:25 +02:00
b47617004a Update change log for 4.3.12 2008-04-02 07:36:47 +02:00
ae8e347ed6 Fix the obvious bogosities in info launch 2008-03-26 22:13:21 +01:00
a419904c70 Make newcap's second argument mandatory
The code to find a suitable sanctuary location is flawed: to find
space and resources around the location, it does a depth-first search
limited to 300 sectors.  Pretty useless when the limit is reached.  A
breadth-first search would work, but why bother?  This feature is
obscure and rarely (if ever) used: no conscientious deity would use it
for a real game, and for blitzes fairland does a better job.  Remove
it.
2008-03-26 22:10:29 +01:00
f7d5576675 Fix explanation pdump field of laun 2008-03-26 22:03:26 +01:00
0dd6702df1 Update known contributors comments 2008-03-14 20:25:44 +01:00
da8a1daeef Virtual selectors
Where ordinary selectors specify a value stored in some object,
virtual selectors specify a function to call to compute a value
associated with some object.

Use them to replace the special case xdump ver by new table
EF_VERSION.

Move configkeys[] to lib/common because nsc_init() needs it to
initialize empfile[EF_VERSION].cadef.
2008-03-14 20:25:41 +01:00
a3ad623b2a Make depth-charging code and documentation match
Before 4.0.6, depth charges required no guns, one military, did damage
like shell fire from two guns, and used two shells.  Missions were not
quite consistent with that (bug).  4.0.6 changed depth charges to work
exactly like shell fire (but without updating documentation
accordingly): require guns and gun crew, non-zero firing range, scale
damage and ammunition use with guns.

Go back to the old model, but with damage like three guns, to avoid
changing the stock game's dd now (three gun damage for two shells).
Stock game's af changes from two gun damage for one shell, and nas
from four gun damage for two shells.

Factor out common depth-charging code into shp_dchrg().
2008-03-14 20:25:37 +01:00
6110da1ef4 Fix mobility cost for marines assaulting from non-landing ships
Always charge land units at least as much mobility for assaulting from
non-landing ships as for landing ships.  Before, marines lost all
mobility when assaulting from a non-landing ship, which could be less
than what the same assault costs from a landing ship (half an update's
worth).
2008-02-17 06:56:46 +01:00
f0cd142fa3 Remove thoroughly obsolete info on estimated odds
The code to estimate odds and ask for confirmation was disabled in
4.0.0, and removed for good in 4.3.4.
2008-02-16 20:57:39 +01:00
db02dda32f Update copyright notice 2008-01-19 10:15:37 +01:00
c297edfb0f Remove bogus comment 2008-01-19 09:00:32 +01:00
d1ebdec5a9 Note generator script in output 2008-01-17 22:12:55 +01:00
853b29dd43 Fix bogus file names in error messages 2008-01-13 11:25:32 +01:00
bcdcbab19c Replace .cvsignore files by .gitignore files 2008-01-13 11:22:33 +01:00
35db407da0 Convert the build process from CVS to git
Detect .git instead of CVS.  Use git-ls-files with git, else
$(srcdir)/sources.mk.  info/findsubj.pl now gets the info files as
arguments rather than from sources.mk.

Remaking info subjects doesn't quite work, but it was broken similarly
before.
2008-01-13 11:17:26 +01:00
544612ed8c 4.3.11 late changes. 2008-01-01 19:22:59 +00:00
e424baab8b (player_coms): Clean up c_form of announce, break, bye and list. 2008-01-01 19:09:38 +00:00
Ron Koenderink
353cb3209b Add HTML links.
Improve description for Autotrading.
2008-01-01 16:26:58 +00:00
Ron Koenderink
20a8cceb0e Add HTML link for info pages. 2008-01-01 16:22:41 +00:00
Ron Koenderink
28d61ca2f2 Rename Autofeed to be Autofish and add information on doing automatic
off-shore drilling like automatic fishing.  Fix the formatting to be
more consistent with other info pages.

Add see also reference for Autofish to Autonav.
2008-01-01 15:20:08 +00:00
846212197a Update for 4.3.11. 2007-12-15 07:18:40 +00:00
17b1e03130 Document restrictions. Warn of common client bugs. 2007-12-09 17:42:12 +00:00
98dc6dd0ec Belatedly update section BUGS: relations work since 4.3.0, reject
since 4.3.4, and budget priorities are gone since 4.3.6.

Fix markup.
2007-12-02 17:17:46 +00:00
3b906d099c Fix not to show $ signs in route output. These were last seen in
actual source code as of version 1.0.3, dated May 1989.
2007-12-02 17:01:46 +00:00
e0c9a56eb6 Trim .SA. 2007-12-02 16:49:04 +00:00
321a7219f4 Add route to .SA. 2007-12-02 16:47:54 +00:00
8fe6d37e4a Remove claim that ships and units on missions will not fire support.
It's always been wrong for ships, and land units were changed to match
ships in lndsub.c rev. 1.49.
2007-12-02 16:45:27 +00:00
8064ecdb42 Explain briefly why clients may not support execute. 2007-11-18 11:57:34 +00:00
207cbb86ab Final polish for 4.3.10. 2007-09-06 18:02:57 +00:00
35b6ca46c7 Clarify .NA. 2007-09-06 17:47:32 +00:00
e8e681fd2b 4.3.10 late changes. 2007-09-02 18:05:09 +00:00
eef82eb66b Update for 4.3.10. 2007-08-24 17:28:47 +00:00
e7c9ca1186 (info.html/all.html): Fix to use the full 80 columns for the table.
(info.nr/all): Fix race between ls and output redirection.
2007-08-08 06:15:33 +00:00
a57645340c New command show updates:
(show): New sub-command.
(player_coms): Update its c_form.
(show_updates, fmttime2822): New.

(vers): Show game_days and game_hours.

(upda): Mark obsolete and point to show updates.
(vers): Point to show rather than update.

Rewrite much of info zdone.
2007-07-15 13:34:22 +00:00
30217b1b87 Fix .SA. 2007-07-15 12:36:35 +00:00
38992e43b5 Update example to current output. 2007-07-15 12:32:48 +00:00