Commit graph

617 commits

Author SHA1 Message Date
d22cb495bc Replace incorrect sea mine hit chance by reference to info Hitchance. 2006-06-11 19:30:19 +00:00
3cb95a8754 Update for changed plane abort chance. 2006-06-11 19:27:07 +00:00
565b6630a2 (prexpense, budg): Printing brackets around expenses that won't
actually be paid in full didn't take the update sequence into account,
and wasn't implemented for sector building, military payroll and
capital maintenance.  Remove the feature, as fixing is hardly worth
the trouble.  This renders prexpense() trivial; inline and remove.
2006-06-01 17:42:59 +00:00
967299a375 (update_main): Change update sequence to repair ships, planes and land
units after sectors produce.  This makes repairs use new avail instead
of old.
2006-06-01 16:54:00 +00:00
eb1512d75f Let players stop/start units:
(genitem, lndstr, nukstr, plnstr, shpstr): New members off, lnd_off,
nuk_off, pln_off, shp_off.
(NSC_GENITEM): New selector off.
(land, nuke, plan, shi): Display efficiency prefixed by `=' when off.
(start, stop, player_coms): Rewrite, new syntax.  Print only objects
that actually change.
(start_hdr, stop_hdr, start_stop_hdr): Consolidate.
(item_u, start_stop, start_stop_sector, proff, start_stop_unit)
(start_stop_unit_hdr, unit_type_name): New.
(upd_land, upd_plane, planerepair, upd_ship): Obey and clear stoppage.
2006-05-29 21:11:14 +00:00
520446ef39 Remove budget priorities:
(budg, player_coms): Remove command arguments.
(PRI_SMAINT, PRI_PMAINT, PRI_LMAINT, PRI_SBUILD, PRI_PBUILD)
(PRI_LBUILD, PRI_MAX): Remove.
(natstr): Remove member nat_priorities.
(add, main): Remove its initialization.
(budg, cal_call, prexpense, prod, update_main, upd_land, upd_plane)
(upd_buildeff, produce_sect, upd_ship): Simplify.
(produce_sect): Last parameter now superflous, remove & simplify.
(change_prio, do_prod): Unused, remove.

(budg): Move land units output down, to match update sequence.
2006-05-29 20:43:30 +00:00
26110320c0 Update for current code, and edited for clarity. 2006-05-29 20:06:34 +00:00
d5f8c32342 (plan): Condense columns LSB and nuke into column special. Rename
column s/l to carry.
2006-05-29 19:11:24 +00:00
bd0bf9fdd3 Update for 4.3.5. 2006-05-28 07:54:10 +00:00
56181c1986 The previous revision of Make.mk didn't work with separate build
trees.  Do it in a way that does.
2006-05-25 08:18:20 +00:00
edbf6b0061 4.3.4 last minute changes. 2006-05-25 05:48:58 +00:00
1fad65964f Update for 4.3.4. 2006-05-23 18:14:17 +00:00
58035e0515 Another 4.3.3. change.
Tag 4.0.0 with the date of the r.g.e. announcement.
2006-05-16 21:39:14 +00:00
fee58a3b66 Update for current code. 2006-05-16 20:46:07 +00:00
6e148e3176 Fix markup. 2006-05-16 18:46:04 +00:00
b2408762cd Update for 4.3.3. 2006-05-14 19:35:40 +00:00
c332cfd460 Provide example, fix pasto. 2006-05-14 19:33:43 +00:00
fcc0162188 (nuke): Players need the uid to work with nukes, show it. Show
members introduced in nuke.h rev. 1.19 and 1.20: nuk_plane, nuk_effic,
nuk_tech, nuk_stockpile.  Make output similar to the other unit
reports while we're at it.
2006-05-13 15:30:30 +00:00
2e40a4bb90 Change nuke storage and commands to match other units:
(nukstr): Hold one nuke instead of a stockpile: replace members nuk_n,
nuk_types by nuk_type, nuk_plane.  Add nuk_land for completeness, like
nuk_ship it's not yet used.
(nuke_ca): Update accordingly: replace selectors number and types by
type and plane.
(build_nuke): Update accordingly.
(ndump, nuke): Update accordingly.  Output is no longer sorted by
location, and nukes in same location no longer share id.  nuke's extra
columns for nuclear plants are repeated for every nuke.
(trade_desc): Update accordingly.
(cede, grab_sect, check_nuke_ok, detonate, trade_nameof): Talk about
nukes instead of nuclear stockpiles.
(arm, disarm): Rewrite, split off new disarm().  Don't remove nuke
from the nuke file on arm.  Allow usual plane syntax, not just plane
number.  Change second argument from nuke type to nuke number.  When
plane is already armed, ignore nuke argument and rearm (broken in
4.2.6).
(tran_nuke): Update for changed struct nukstr, make as similar as
possible to tran_plane.  Change syntax to match transport plane.
(player_coms): Update arm, disarm and transport accordingly.
(prnuke, nuk_on_plane): New.
(nuk_add, nuk_delete): Stockpile management, remove.
2006-05-06 07:20:21 +00:00
87b5d5d6e3 Still more 4.3.2 changes. 2006-04-27 18:02:18 +00:00
9e6cb0bda6 Only L_SUPPLY units can't attack as of 4.0.0, fix info Attacking,
remove dead code.
2006-04-26 18:49:33 +00:00
964176b15f More 4.3.2 changes. 2006-04-24 18:50:22 +00:00
2479f47068 Update for 4.3.2. 2006-04-23 13:08:47 +00:00
ba2c537ce5 Final polish for 4.3.1. 2006-04-15 11:43:27 +00:00
b23f9ce5db Update for 4.3.1. 2006-04-05 18:54:18 +00:00
9f658368b8 (MINE_LDAMAGE): Change to match damage suffered in lnd_hit_mine().
This increases damage suffered in retreat.  Fix info Damage.
(shp_hit_mine): Use MINE_DAMAGE().
(lnd_hit_mine): Use MINE_LDAMAGE().
2006-03-27 21:47:50 +00:00
5122f25f6c Fix land unit speed. Reported by Pat Loney. Fix spelling. 2006-03-25 19:59:21 +00:00
14ce39e4cd Fix editing accident in revision before the previous. More 4.3.0
polishing.
2006-03-19 10:05:20 +00:00
c98079e83b Update 4.3.0 date. 2006-03-19 08:24:52 +00:00
9eb23543ca Correct reference to doc/xdump. 2006-03-11 08:40:27 +00:00
874e83c7f1 Refer to xdump. 2006-03-11 08:36:50 +00:00
06deedb52c Final polish for 4.3.0. 2006-03-08 20:19:45 +00:00
d4887e0a4c Update for 4.3.0. 2006-03-06 19:39:17 +00:00
c9d883e78b Update to current command syntax, cover meta. Refer to doc/xdump (to
be written).  Less detail on output.  Document current shortcomings.
2006-02-27 20:58:26 +00:00
Ron Koenderink
b7d0b66161 (buil, drnuke_const, opt_DRNUKE, show, show_nuke_build)
(show_nuke_capab, vers, xdvisible, build.t, Options.t):
Remove opt_DRNUKE and replace with the following check
drnuke_const > MIN_DRNUKE_CONST.
Set MIN_DRNUKE_CONST to 0.001 to prevent issues with tiny values.
Change the default drnuke_const to 0.0 because in the stock game
opt_DRNUKE was disabled.
2006-02-16 02:14:08 +00:00
87528230f2 New. 2006-02-10 19:30:19 +00:00
Ron Koenderink
3db7e6201f (powe_cost): Remove powe_cost and replace with a fixed cost of 10. 2006-02-04 19:36:51 +00:00
Ron Koenderink
1283f79db5 (lcarg, lcargo.t): Fix the header to match the info page.
Update the info page for the change to add civ, mil and uw.

(carg, cargo.t): Add the civ, mil and uw to cargo display.
Make the same as lcargo.  Update the info page.
2006-02-01 23:52:42 +00:00
Ron Koenderink
1bca66c061 (show_news): New.
(show): Use it to implement show news.
2006-01-29 17:44:29 +00:00
Ron Koenderink
fee6c50b1a (show, show_item): Resurrect show item. 2006-01-22 18:57:14 +00:00
4515b84c59 COPYING duplicates information from README. Remove. Move GPL from
LICENSE to COPYING, because that's where it usually is.  Update all
the references to these files.
2006-01-21 19:48:41 +00:00
7203926ea4 The code to fail when new subject's file exists failed always. Fix. 2006-01-15 08:05:13 +00:00
4f3007c6a7 Clarify syntax. 2006-01-06 17:50:10 +00:00
7b6fbbc3d2 (cens, cens_hdr): Column fall used to be shown only with FALLOUT.
Show it always.
2006-01-05 16:03:51 +00:00
cb7c9008c8 (show_nuke_build, show_nuke_capab): Column res used to be shown only
with DRNUKE.  Show it always.
2006-01-05 15:45:08 +00:00
e5f9175394 (repo_header, repo_list): HIDDEN used to suppress column status.
Don't; report status with less detail for HIDDEN instead, like the
country command.
2006-01-05 15:36:49 +00:00
56d9445d76 Update for flattened info directory. checklist.pl no longer works. 2006-01-05 14:15:11 +00:00
2f14064a25 Split info.pl into findsubj.pl, mksubj.pl, mktop.pl. 2006-01-05 13:40:19 +00:00
b69173eea4 (orig): Allow moving origin to another country's origin. This is a
superset of the offset command.
(offs): Redundant, underdocumented, remove.

(orig): Allow deities to reset origin to absolute 0,0.
2006-01-04 14:36:21 +00:00
1969a3890a (opt_UPDATESCHED): Remove nooption UPDATESCHED. It had no effect on
the actual update, only on the update command.  Believed to be broken
since Empire2.
2005-12-29 13:38:57 +00:00