Commit graph

305 commits

Author SHA1 Message Date
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
159cd471b8 Describe the effect on the Empire clock.
Warn against manual disable/enable and point to the schedule file.
2007-07-15 12:05:43 +00:00
c4812b0ea2 Describe the Empire clock. 2007-07-15 11:53:32 +00:00
f427e3d123 Update for the new Empire clock, i.e. don't refer to s_p_etu, which no
longer exists.

Abbreviate time unit as ETU rather than TU.

max_btus is 640, not 512.
2007-07-15 11:38:41 +00:00
315770cae5 Remove references to s_p_etu. 2007-07-15 11:02:17 +00:00
4bd19812af Use the new Empire clock for implementing MOB_ACCESS:
(lndstr, plnstr, sctstr, shpstr): Change timestamp members lnd_access,
pln_access, sct_access, shp_access from real time (time_t) to ETUs
within a turn (short).
(land_ca, plane_ca, sect_ca, ship_ca): Update accordingly.
(build_ship, build_land, build_bridge, build_plane, build_tower)
(explore, check_trade, bsanct, takeover, takeover_ship)
(takeover_land): Use game_tick_to_now() instead of time() to update
the timestamp.  Change check_trade(), takeover_ship(), takeover_land()
to do that only when MOB_ACCESS is enabled, for consistency.
(lupgr, supgr, pupgr, takeover_ship): Don't touch the timestamp where
mobility isn't touched either.
(sct_do_upd_mob, shp_do_upd_mob, lnd_do_upd_mob, pln_do_upd_mob): Use
game_tick_to_now() instead of increase_mob() to compute ETUs since
the timestamp and update the timestamp.  Closes #1012699.
(increase_mob): Remove.
(mob_sect, mob_ship, mob_land, mob_plane): sct_do_upd_mob() & friends
no longer do the right thing at the update.  Use game_reset_tick() and
pass its result directly to do_mob_sect() & friends.  This is only
correct when argument is etu_per_update, which it always is.  Remove
parameter.  Callers changed.
(do_mob_sect, do_mob_ship, do_mob_land, do_mob_plane): Oops on
negative argument.

(mob_acc_globals, timestampfil, mobupdate, updating_mob)
(update_all_mob, timestamp_fixing, update_timestamps, mobility_check):
The mobupdate command was important to let deities manually
synchronize mobility updating with updates.  That's no longer needed.
The code behind it is somewhat hairy and ugly, and updating it to work
with the Empire clock is just not worth it.  Remove.  Users changed.
(player_coms): Update accordingly.
(upda): Remove display of mobility updating state.

(mobility_init): No need to fix up mobility on startup, as the Empire
clock runs normally even when the server is down.  Remove.  Caller
changed.
2007-07-15 09:43:57 +00:00
ae9a759527 (relo): New command. 2007-07-13 06:04:03 +00:00
7f16f7151f Fix the previous revision. 2007-07-12 06:10:59 +00:00
71320ed67f New update scheduler:
(schedulefil): New.
(set_dirs, set_paths): Rename.  Initialize schedulfil.
(read_schedule): New.  Can read several updates, which will be used in
later changesets.
(update_time): Change to array.  Will be used in later changesets.
(update_schedule_anchor): New.
(update_init): Initialize it.
(update_get_schedule): New.
(update_init): Call it to initialize update_time[].
(update_sched): Rewrite.
(update_forced, update_wanted): Replace.
(update_reschedule): New.
(main): Call it on SIGHUP to reload the schedule.
(update_trigger, update_force, force, player_coms): Drop force's
capability to schedule updates in the future, because it's not worth
the trouble to implement again.  Deities can simply edit the schedule
file to schedule updates.  Remove update_force() and
update_trigger()'s parameter.
(upda): Update for new scheduler.  Take care to keep output the same
as far as possible, even though it's ugly, to avoid breaking clients.
(update_policy, adj_update, update_times, hourslop, blitz_time):
econfig keys removed.
(update_demand, UPD_DEMAND_NONE, UPD_DEMAND_SCHED, UPD_DEMAND_ASYNC)
(update_demandpolicy, UDP_NORMAL, UDP_TIMES, UDP_NORMAL, UDP_BLITZ)
(UDP_MAX, UDP_DEFAULT, UDDEM_TMCHECK, UDDEM_COMSET, UDDEM_DISABLE)
(UDDEM_MAX, UDDEM_DEFAULT): econfig key and values replaced.  Users
changed.  wantupd.h is now empty, remove.
(demand_check): External linkage.
(update_policy_check): Now pointless, remove.
(is_daytime_near, min_to_next_daytime, regular_update_time)
(scheduled_update_time, next_scheduled_time, updatetime)
(next_update_time, next_update_check_time): Unused, Remove.

(demand_check, demandupdatecheck): Move call of demand_update_time()
from demand_check(), which controls all demand updates, to
demandupdatecheck(), which controls only unscheduled ones.  Fixes
update command not to lie about the next scheduled demand update.

(demandupdatecheck): Check updates_disabled() so that zdone no longer
claims to trigger an update when it can't.
2007-07-11 22:27:29 +00:00
097692a373 Update example to current output. 2007-07-10 21:15:53 +00:00
8ad279e84c Fix .SA. 2007-07-10 21:00:49 +00:00
2de92d99d8 Clarify. Improve .SA. 2007-07-10 20:54:15 +00:00
fea01b7dd8 Fix for N_WELCH_DEAL, N_LND_LOSE, N_BOARD_LAND. 2007-07-10 20:49:07 +00:00
06f61d1a4e Spelling fixes. 2007-04-09 09:36:28 +00:00
84cfd670ce Abstract from shutdown initiation mechanism:
(shutdown_initiate): New.
(shut): Use it.  Shutdown in zero minutes no longer cancels the
shutdown, it just works.  Use negative argument to cancel.  Logging is
less detailed.
(shutdown_sequence): Internal linkage.

(pr_wall): All callers prefix text it with the same header.  Move it
into the function.
2007-01-20 20:40:52 +00:00
516f42e063 (player_coms): Fix shutdown's c_form: first argument is not optional. 2007-01-20 20:19:16 +00:00
7c605a05ed (sendmessage): Don't split messages into lines of no more than 60
characters.  Update info flash and wall.  They were wrong, anyway:
they claimed long messages were truncated.
2007-01-20 16:32:35 +00:00
94267b2fe4 Remove the wait command, it's been broken and restricted to deity
since Empire 2, ca. 1995:
(wai): Remove.
(player_coms): Update accordingly.
2007-01-17 20:04:03 +00:00
63bdc89835 Update copyright notice. 2007-01-09 19:09:31 +00:00
ad85b15152 Update for 4.3.9. 2007-01-06 12:46:01 +00:00
6b70720318 New option AUTO_POWER; closes #1009993:
(opt_AUTO_POWER, update_power): New.
(update_main): Implement AUTO_POWER.
(powe): Disable power new when AUTO_POWER is on.

(powe): New power update.
(gen_power): Compute power into buffer passed by caller, make write to
power file optional.
2006-12-31 16:56:34 +00:00
5832dcf005 4.3.8 last minute changes. 2006-10-20 18:33:29 +00:00
dc6168f782 Update for 4.3.8. 2006-10-13 18:29:22 +00:00
88bf471319 Document stop order expiry. 2006-09-23 13:24:19 +00:00
59f7aee1f4 Remove bogus paragraphs on RES_POP and NO_PLAGUE. Clarify sentence on
max safe population.
2006-09-23 08:37:57 +00:00
19b4e76fef Update for maximum population change in sect.config rev. 1.3. Remove
incorrect claims about mil.
2006-09-23 08:35:36 +00:00
Ron Koenderink
8e7199c338 (march, navi): Provide equivalent functionality to map in move(), expl()
and tran(). Allow map and bmap to access the regular map command
parameters.
2006-07-20 13:33:11 +00:00
7072dd0930 Update for 4.3.7. 2006-07-14 23:08:49 +00:00
a511b8b82b Change level to Expert to match stop's. 2006-07-14 23:07:22 +00:00
ad3d28761e Spelling. 2006-07-13 18:23:24 +00:00
bb0b9db423 Belatedly ignore subject Nukes. 2006-07-13 18:22:45 +00:00