]> git.pond.sub.org Git - empserver/log
empserver
17 years agoAdd missing commands.
Ron Koenderink [Sun, 9 Jul 2006 19:16:44 +0000 (19:16 +0000)]
Add missing commands.
Correct sweep command example.

17 years ago(switch_leader, switch_flagship): New.
Ron Koenderink [Sun, 9 Jul 2006 18:30:13 +0000 (18:30 +0000)]
(switch_leader, switch_flagship): New.
(navi, marc): Add the ability to select a flagship or leader.

17 years ago(tran_map, tran_nmap, tran_pmap): Split tran_map() into tran_nmap()
Ron Koenderink [Sun, 9 Jul 2006 18:24:31 +0000 (18:24 +0000)]
(tran_map, tran_nmap, tran_pmap): Split tran_map() into tran_nmap()
and tran_pmap() so that unit number arguments are interpreted
sensibly.  Users changed.

(display_region_map): New.
(cmd_move_map, tran_nmap, tran_pmap): Use it.

17 years ago(move_ground): Passed junk to map callback when 'm' sub-command
Ron Koenderink [Sun, 9 Jul 2006 16:55:40 +0000 (16:55 +0000)]
(move_ground): Passed junk to map callback when 'm' sub-command
wasn't followed by an argument.

17 years agoRemove invalid example for sweeping mines.
Ron Koenderink [Sun, 9 Jul 2006 16:25:41 +0000 (16:25 +0000)]
Remove invalid example for sweeping mines.
Fix the grammer.

17 years ago(mission, build_mission_list_type, show_mission, oprange): Remove the
Ron Koenderink [Sun, 9 Jul 2006 10:57:24 +0000 (10:57 +0000)]
(mission, build_mission_list_type, show_mission, oprange): Remove the
type parameter as it can be determined from the empobj parameter.

(oprange): Remove getting the unit information again as it is contained
in the empobj parameter passed in.

17 years ago(starv_sects): Reported food need was one short when the sector had no
Markus Armbruster [Sat, 8 Jul 2006 12:47:39 +0000 (12:47 +0000)]
(starv_sects): Reported food need was one short when the sector had no
food.

17 years ago(LND_AMM): Became weird in 4.2.3: ammo use depends on l_dam if l_ammo
Markus Armbruster [Sat, 8 Jul 2006 07:21:47 +0000 (07:21 +0000)]
(LND_AMM): Became weird in 4.2.3: ammo use depends on l_dam if l_ammo
is non-zero; actual value of non-zero l_ammo was unimportant.  Side
effect: it substantially increased ammunition consumption at high
tech, because the change made the value increase with tech.  Back out
4.2.3's change, just use l_ammo.  This lets deities customize
ammunition consumption independent of damage.  Remove second
parameter.  Callers changed.

17 years ago(empobj, empobj_storage): Incomplete declarations. Temporary band-aid
Markus Armbruster [Sat, 8 Jul 2006 06:18:46 +0000 (06:18 +0000)]
(empobj, empobj_storage): Incomplete declarations.  Temporary band-aid
to work around circular inclusion.

17 years agoCorrect file name in the comments to match the actual file name.
Ron Koenderink [Sat, 8 Jul 2006 00:27:20 +0000 (00:27 +0000)]
Correct file name in the comments to match the actual file name.

17 years ago(nxtitemp, trade_getitem, trade_desc, trade_check_item_ok, nxtitem,
Ron Koenderink [Fri, 7 Jul 2006 15:15:43 +0000 (15:15 +0000)]
(nxtitemp, trade_getitem, trade_desc, trade_check_item_ok, nxtitem,
oprange, show_mission, nameofitem, build_mission_list_type,
unit_map, xdvisible, trdswitchown, ontradingblock, trad, check_trade,
unit_type_name, start_stop_unit, scut, scra, mission, multifire,
perform_mission, fuel, NSC_GENITEM): Replace struct genitem with
struct empobj.  Remove genitem.h and create a new file empobj.h.
Replace multiple instances of unions of ef_type structures with
one standard union empobj_storage which is a superset of the individual
instances.

17 years agoDocumentation.
Ron Koenderink [Fri, 7 Jul 2006 15:15:42 +0000 (15:15 +0000)]
Documentation.

17 years ago(tran_nuke): Correct text to nukes. Copy and Paste error.
Ron Koenderink [Sun, 2 Jul 2006 18:22:50 +0000 (18:22 +0000)]
(tran_nuke): Correct text to nukes.  Copy and Paste error.

17 years ago(march): Modify map and bmap command options for march() to support
Ron Koenderink [Thu, 29 Jun 2006 13:46:03 +0000 (13:46 +0000)]
(march): Modify map and bmap command options for march() to support
an user specified land unit number.
Without an user specified land unit number it will still default to the leader.
This will map and bmap commands consistent with commands like radar
and look. This is the same feature that was added to navi().

17 years ago(march): Add the ability mine using 'd' while in the march command.
Ron Koenderink [Thu, 29 Jun 2006 13:38:42 +0000 (13:38 +0000)]
(march): Add the ability mine using 'd' while in the march command.
This is the same feature that was added to navi().

17 years ago(march): Reorganize, use parse() to split arguments.
Ron Koenderink [Thu, 29 Jun 2006 13:24:55 +0000 (13:24 +0000)]
(march): Reorganize, use parse() to split arguments.
These changes are based on improvements made in
navi().

17 years ago(navi): Modify map and bmap command options for navi() to support
Ron Koenderink [Thu, 29 Jun 2006 03:36:14 +0000 (03:36 +0000)]
(navi): Modify map and bmap command options for navi() to support
an user specified ship number.
Without an user specified ship number it will still default to the flagship.
This will make map and bmap commands consistent with commands
like radar, sonar and look.

17 years ago(navi): Add missing local map for ship list.
Ron Koenderink [Thu, 29 Jun 2006 01:24:34 +0000 (01:24 +0000)]
(navi): Add missing local map for ship list.
Broken in rev 1.27.  Remove unnecessary brackets.

17 years ago(navi): Add the ability mine using 'd' while in the navigate command.
Ron Koenderink [Wed, 28 Jun 2006 19:02:21 +0000 (19:02 +0000)]
(navi): Add the ability mine using 'd' while in the navigate command.

17 years ago(navi): Reorganize, use parse() to split arguments.
Ron Koenderink [Wed, 28 Jun 2006 13:51:44 +0000 (13:51 +0000)]
(navi): Reorganize, use parse() to split arguments.

17 years ago(retreat_ship1): Don't charge mobility for sweeping. Should have been
Markus Armbruster [Tue, 27 Jun 2006 17:36:16 +0000 (17:36 +0000)]
(retreat_ship1): Don't charge mobility for sweeping.  Should have been
changed along with shpsub.c rev. 1.49.

17 years ago(move): Don't trigger interdiction when moving stuff that cannot be
Markus Armbruster [Tue, 27 Jun 2006 05:30:47 +0000 (05:30 +0000)]
(move): Don't trigger interdiction when moving stuff that cannot be
harmed (bars with opt_SUPER_BARS enabled).

17 years ago(ac_fireflak): Remove unused local variables.
Ron Koenderink [Mon, 26 Jun 2006 01:43:28 +0000 (01:43 +0000)]
(ac_fireflak): Remove unused local variables.

17 years agoAdd missings unit references for start and stop.
Ron Koenderink [Sun, 25 Jun 2006 11:54:59 +0000 (11:54 +0000)]
Add missings unit references for start and stop.

17 years agoAdd missing land units to discussion of avail usages.
Ron Koenderink [Sun, 25 Jun 2006 11:53:29 +0000 (11:53 +0000)]
Add missing land units to discussion of avail usages.

17 years ago(lnd_sel): The marching code gets confused when trains and non-trains
Markus Armbruster [Sun, 25 Jun 2006 06:39:21 +0000 (06:39 +0000)]
(lnd_sel): The marching code gets confused when trains and non-trains
march together.  Disallow for now.

(lnd_mar_one_sector): Use lnd_mobtype() to check whether rail's
needed.

17 years agoAdd commands related to nukes to Subject Nukes.
Ron Koenderink [Sat, 24 Jun 2006 22:36:42 +0000 (22:36 +0000)]
Add commands related to nukes to Subject Nukes.

17 years agoCorrect Level to Basic for all mapping commands.
Ron Koenderink [Sat, 24 Jun 2006 17:34:13 +0000 (17:34 +0000)]
Correct Level to Basic for all mapping commands.

17 years agoCorrect sbmap to nbmap.
Ron Koenderink [Sat, 24 Jun 2006 17:32:26 +0000 (17:32 +0000)]
Correct sbmap to nbmap.

17 years ago(map, unit_map, draw_map, player_coms[]):
Ron Koenderink [Sat, 24 Jun 2006 17:29:40 +0000 (17:29 +0000)]
(map, unit_map, draw_map, player_coms[]):
Modify nmap command to allow mapping around a nuke.
Add new command nbmap for bmapping around a nuke.
Add a new mapping flag 'n' for adding nukes to a map.
Correct syntax description for pmap, pbmap, lmap and lbmap
in player_coms[].

17 years ago(out5): Conditional chose formats incorrectly, e.g. 9999 was printed
Markus Armbruster [Sat, 24 Jun 2006 17:09:20 +0000 (17:09 +0000)]
(out5): Conditional chose formats incorrectly, e.g. 9999 was printed
as 10.0K instead of 10K.  Could make power report columns run
together.

17 years agoChange bmap back to map.
Ron Koenderink [Sat, 24 Jun 2006 15:46:14 +0000 (15:46 +0000)]
Change bmap back to map.

17 years agoCorrect the command.
Ron Koenderink [Sat, 24 Jun 2006 15:32:12 +0000 (15:32 +0000)]
Correct the command.
Match the description to other map info files.

17 years agoImprove the description that explains the different types of maps.
Ron Koenderink [Sat, 24 Jun 2006 15:25:22 +0000 (15:25 +0000)]
Improve the description that explains the different types of maps.

17 years agoMake the map flag descriptions the same for all maps.
Ron Koenderink [Sat, 24 Jun 2006 15:16:26 +0000 (15:16 +0000)]
Make the map flag descriptions the same for all maps.

17 years agoExplain the unit type display priorities for the map flags.
Ron Koenderink [Sat, 24 Jun 2006 15:13:17 +0000 (15:13 +0000)]
Explain the unit type display priorities for the map flags.

17 years agoCorrect pmap to show that it takes a plane identifier.
Ron Koenderink [Sat, 24 Jun 2006 14:53:47 +0000 (14:53 +0000)]
Correct pmap to show that it takes a plane identifier.
Correct lmap to show that it takes a land unit identifier.

17 years ago(ac_flak_dam): Redesign so that code common to all its callers ends up
Markus Armbruster [Sat, 24 Jun 2006 14:24:23 +0000 (14:24 +0000)]
(ac_flak_dam): Redesign so that code common to all its callers ends up
in this function.

17 years ago(pinflak_planedamage): Grant +1 vs. flak only to non-tactical bombers,
Markus Armbruster [Sat, 24 Jun 2006 14:21:55 +0000 (14:21 +0000)]
(pinflak_planedamage): Grant +1 vs. flak only to non-tactical bombers,
for consistency with ac_fireflak().

17 years ago(prod, prprod): Fix to show the designation that actually produces,
Markus Armbruster [Sat, 24 Jun 2006 09:22:04 +0000 (09:22 +0000)]
(prod, prprod): Fix to show the designation that actually produces,
not the designation as it is now.

17 years ago(ldump, pdump, sdump): The previous revision added extra space to the
Markus Armbruster [Sat, 24 Jun 2006 08:06:33 +0000 (08:06 +0000)]
(ldump, pdump, sdump): The previous revision added extra space to the
output, fix that.

17 years agoFix the previous revision.
Markus Armbruster [Fri, 23 Jun 2006 06:07:36 +0000 (06:07 +0000)]
Fix the previous revision.

17 years ago(SCT_TYPE_MAX, dchr): Don't include dchr[]'s sentinel in SCT_TYPE_MAX.
Markus Armbruster [Fri, 23 Jun 2006 04:53:31 +0000 (04:53 +0000)]
(SCT_TYPE_MAX, dchr): Don't include dchr[]'s sentinel in SCT_TYPE_MAX.

(SCT_MAXDEF): Unused, remove.

17 years ago(install_service, info, apro) [_WIN32]: Convert to standard snprintf()
Ron Koenderink [Fri, 23 Jun 2006 00:13:21 +0000 (00:13 +0000)]
(install_service, info, apro) [_WIN32]: Convert to standard snprintf()
from _snprintf().

[_WIN32]: Add #define snprintf to convert to _snprintf for WIN32
Visual Studio.

17 years ago(mil_dbl_pay): No effect, remove. Was used for mil being built into
Markus Armbruster [Thu, 22 Jun 2006 20:45:19 +0000 (20:45 +0000)]
(mil_dbl_pay): No effect, remove.  Was used for mil being built into
units until that was removed in 4.0.0.

17 years ago(roundrange): Use roundavg().
Markus Armbruster [Thu, 22 Jun 2006 20:29:34 +0000 (20:29 +0000)]
(roundrange): Use roundavg().

17 years agoRemove superflous parenthesis.
Markus Armbruster [Thu, 22 Jun 2006 20:28:54 +0000 (20:28 +0000)]
Remove superflous parenthesis.

17 years agoUpdate known contributors comment.
Markus Armbruster [Thu, 22 Jun 2006 20:27:36 +0000 (20:27 +0000)]
Update known contributors comment.

17 years agoSupport definition of additional products in product.config:
Markus Armbruster [Thu, 22 Jun 2006 20:24:32 +0000 (20:24 +0000)]
Support definition of additional products in product.config:
(P_MAX): Increase space in table.

17 years agoSupport definition of additional sector types in sector.config,
Markus Armbruster [Thu, 22 Jun 2006 20:21:48 +0000 (20:21 +0000)]
Support definition of additional sector types in sector.config,
missing bits:
(budg, calc_all, update_main): Use SCT_TYPE_MAX instead of SCT_MAXDEF
to size tables.
(map_char): Update sanity check; use CANT_HAPPEN().
(show_sect_build, show_sect_stats, show_sect_capab): Use the sentinel
instead of SCT_MAXDEF.

17 years ago(N_MAXSHIPS, SHP_TYPE_MAX, N_MAXPLANE, PLN_TYPE_MAX, N_MAXLAND)
Markus Armbruster [Thu, 22 Jun 2006 20:10:23 +0000 (20:10 +0000)]
(N_MAXSHIPS, SHP_TYPE_MAX, N_MAXPLANE, PLN_TYPE_MAX, N_MAXLAND)
(LND_TYPE_MAX): Replace.  Add a bit more space to the tables.

17 years agoSupport definition of additional sector types in sector.config:
Markus Armbruster [Thu, 22 Jun 2006 19:52:24 +0000 (19:52 +0000)]
Support definition of additional sector types in sector.config:
(SCT_TYPE_MAX): New.
(dchr): Use it instead of SCT_MAXDEF to size the table.
(SCT_EFFIC): Likewise.  Move from sect.h to budg.h.

17 years ago(empfile): Fix the previous revision: pretended ichr[], pchr[], dchr[]
Markus Armbruster [Thu, 22 Jun 2006 19:47:00 +0000 (19:47 +0000)]
(empfile): Fix the previous revision: pretended ichr[], pchr[], dchr[]
and intrchr[] were still compile-time initialized.

17 years agoRewrite rev. 1.69 to suppress immutable field match check when
Markus Armbruster [Thu, 22 Jun 2006 19:42:10 +0000 (19:42 +0000)]
Rewrite rev. 1.69 to suppress immutable field match check when
extending any table, empty or not:
(cur_obj_is_blank): New.
(fldval_must_match): Use it instead of initialized[].
(getobj): Set it along with cur_obj.
(setstr): Move fldval_must_match() down, so that cur_obj_is_blank is
defined.
(initialized): Remove.

17 years ago(produce_sect, update_main): Charge capital maintenance in
Markus Armbruster [Thu, 22 Jun 2006 17:16:31 +0000 (17:16 +0000)]
(produce_sect, update_main): Charge capital maintenance in
produce_sect(), just like all the other sector costs.

17 years ago(SCT_MAXDEF): Make it equal the maximum sector type, not the maximum
Markus Armbruster [Thu, 22 Jun 2006 17:10:26 +0000 (17:10 +0000)]
(SCT_MAXDEF): Make it equal the maximum sector type, not the maximum
plus one.  Users changed.  This indirectly fixes off-by-one loop
bounds in budg(), show_sect_build(), show_sect_stats() and
show_sect_capab().  The show bugs were harmless: the loops ran into
the sentinel, which they ignore.  The budg bug was serious: the loop
ran into the entries for SCT_EFFIC.  This lead to a bogus line in the
budget, printing of a null pointer, and doubled sector build cost.
Budget priorities masked this bug until rev. 1.25.

17 years agoBump version to 4.3.7.
Markus Armbruster [Thu, 22 Jun 2006 05:51:16 +0000 (05:51 +0000)]
Bump version to 4.3.7.

17 years agoCorrect pmap to show that it takes a plane identifier.
Ron Koenderink [Thu, 22 Jun 2006 00:55:48 +0000 (00:55 +0000)]
Correct pmap to show that it takes a plane identifier.
Correct lmap to show that it takes a land unit identifier.

17 years agoClarify prerequisites. v4.3.6
Markus Armbruster [Tue, 20 Jun 2006 19:48:22 +0000 (19:48 +0000)]
Clarify prerequisites.

17 years ago4.3.6 last minute changes.
Markus Armbruster [Tue, 20 Jun 2006 18:48:15 +0000 (18:48 +0000)]
4.3.6 last minute changes.

17 years ago_exit() fails to terminate all threads on at least some versions of
Markus Armbruster [Tue, 20 Jun 2006 18:36:20 +0000 (18:36 +0000)]
_exit() fails to terminate all threads on at least some versions of
LinuxThreads, use exit() where possible:
(shutdwn): No longer a signal handler, can safely call exit().
(main, loc_NTInit): No obvious reason for not using exit().

17 years ago(player_coms): Charge no BTUs for break.
Markus Armbruster [Tue, 20 Jun 2006 06:05:35 +0000 (06:05 +0000)]
(player_coms): Charge no BTUs for break.

17 years agoUse environment variable GROFF_NO_SGR instead of option -P-c, because
Markus Armbruster [Tue, 20 Jun 2006 06:02:24 +0000 (06:02 +0000)]
Use environment variable GROFF_NO_SGR instead of option -P-c, because
older versions of groff choke on the latter.

17 years agoDoc fix.
Markus Armbruster [Mon, 19 Jun 2006 04:28:57 +0000 (04:28 +0000)]
Doc fix.

17 years agoFix the previous revision again.
Markus Armbruster [Sun, 18 Jun 2006 20:45:01 +0000 (20:45 +0000)]
Fix the previous revision again.

17 years agoFix the previous revision.
Markus Armbruster [Sun, 18 Jun 2006 20:31:41 +0000 (20:31 +0000)]
Fix the previous revision.

17 years agoDoc fix.
Markus Armbruster [Sun, 18 Jun 2006 20:22:25 +0000 (20:22 +0000)]
Doc fix.

17 years agoMore 4.3.6 changes.
Markus Armbruster [Sun, 18 Jun 2006 19:12:37 +0000 (19:12 +0000)]
More 4.3.6 changes.

17 years ago(install): Create a clean econfig.new when the one found at the
Markus Armbruster [Sun, 18 Jun 2006 19:11:49 +0000 (19:11 +0000)]
(install): Create a clean econfig.new when the one found at the
destination doesn't work.

17 years agoUpdate for recently changed land unit mobility requirements.
Markus Armbruster [Sun, 18 Jun 2006 18:55:51 +0000 (18:55 +0000)]
Update for recently changed land unit mobility requirements.

17 years agoUpdate for recent mobility cost changes. Document minimum costs and
Markus Armbruster [Sun, 18 Jun 2006 18:49:00 +0000 (18:49 +0000)]
Update for recent mobility cost changes.  Document minimum costs and
land unit penalty in newly taken sectors.  Spelling fixes.

17 years agoSpelling fixes.
Markus Armbruster [Sun, 18 Jun 2006 18:25:52 +0000 (18:25 +0000)]
Spelling fixes.

17 years agoReference Flak and mission. Don't reference subject Missions, as this
Markus Armbruster [Sun, 18 Jun 2006 18:23:26 +0000 (18:23 +0000)]
Reference Flak and mission.  Don't reference subject Missions, as this
is the only reference to it.  Spelling fixes.

17 years agoUpdate for recent code changes. Make pseudo-code match the real code.
Markus Armbruster [Sun, 18 Jun 2006 18:11:52 +0000 (18:11 +0000)]
Update for recent code changes.  Make pseudo-code match the real code.
Used to mention interception, but got it mostly wrong, removed.

17 years ago(arm): Fix trading block message.
Markus Armbruster [Sun, 18 Jun 2006 17:47:26 +0000 (17:47 +0000)]
(arm): Fix trading block message.

(disarm): Recipient must be allied.

17 years ago(arm): Permit arming allied planes.
Markus Armbruster [Sun, 18 Jun 2006 17:28:28 +0000 (17:28 +0000)]
(arm): Permit arming allied planes.

17 years ago(disarm): Give disarmed nuke to sector owner. This was forgotten in
Markus Armbruster [Sun, 18 Jun 2006 17:15:38 +0000 (17:15 +0000)]
(disarm): Give disarmed nuke to sector owner.  This was forgotten in
rev. 1.15.
(gift): Extend to nukes.

17 years ago(map): Fix misleading prompt to reflect the real choices for the player.
Ron Koenderink [Sun, 18 Jun 2006 17:08:03 +0000 (17:08 +0000)]
(map):  Fix misleading prompt to reflect the real choices for the player.

17 years ago(gift): All callers transfer ownership after calling gift(). Move
Markus Armbruster [Sun, 18 Jun 2006 17:03:19 +0000 (17:03 +0000)]
(gift): All callers transfer ownership after calling gift().  Move
that code into gift().  Callers changed.

17 years ago(bestownedpath): Back out rev. 1.22's path termination with 'h' for
Markus Armbruster [Sun, 18 Jun 2006 09:13:35 +0000 (09:13 +0000)]
(bestownedpath): Back out rev. 1.22's path termination with 'h' for
now.  Consistency with BestLandPath() is nice, but it makes navigate
behave differently, and that wasn't intended.

17 years ago(bestownedpath): Fix for impassable end sector. Broken in rev. 1.23.
Markus Armbruster [Sun, 18 Jun 2006 09:00:58 +0000 (09:00 +0000)]
(bestownedpath): Fix for impassable end sector.  Broken in rev. 1.23.

17 years ago(navi, march): Simplify convoluted logic. Old code tried path finding
Markus Armbruster [Sun, 18 Jun 2006 08:53:06 +0000 (08:53 +0000)]
(navi, march): Simplify convoluted logic.  Old code tried path finding
whenever the next direction in the path string is bad.  It then passed
the whole path string to shp_path(), which makes no sense unless we're
at the beginning of it, but luckily failed in that case.  Change to
try path finding right after prompting for new input.

17 years ago(disabled_commands): New econfig key.
Markus Armbruster [Sat, 17 Jun 2006 20:27:36 +0000 (20:27 +0000)]
(disabled_commands): New econfig key.
(disable_coms): New, implements disabled_commands.
(init_player_commands): Call it.

17 years ago(sctstr): New member sct_dterr.
Markus Armbruster [Sat, 17 Jun 2006 19:27:22 +0000 (19:27 +0000)]
(sctstr): New member sct_dterr.
(terr): Let the deity set it, and default the field argument to it.
(sect_ca): New selector dterr.

17 years ago(lnd_fortify): The previous revision could break under conditions that
Markus Armbruster [Sat, 17 Jun 2006 14:58:09 +0000 (14:58 +0000)]
(lnd_fortify): The previous revision could break under conditions that
currently don't occur.  Fix anyway.

17 years ago(ask_olist): Let land units attack as long as they have positive
Markus Armbruster [Sat, 17 Jun 2006 14:28:59 +0000 (14:28 +0000)]
(ask_olist): Let land units attack as long as they have positive
mobility, except for high-mobility terrain (mountains), where the
rules remain as they were: land units need to have all the mobility
charged for the attack, not counting combat and moving in to occupy.
Rationale: Making sure your land units reach attack positions with
enough mobility left is a pain in the neck.  Requiring only positive
mobility is friendlier, but allows rushing of mountains.

17 years ago(dchrstr): Replace int members d_mcst and d_emcst (mobility cost * 5)
Markus Armbruster [Sat, 17 Jun 2006 14:08:20 +0000 (14:08 +0000)]
(dchrstr): Replace int members d_mcst and d_emcst (mobility cost * 5)
by float d_mob0 and d_mob1 (straight costs).  Impassable terrain now
encoded as negative d_mob0 instead of zero d_mcst.  Users changed.
sect.config updated.
(dchr_ca): Replace selectors mcst and emcst by mob0 and mob1.
(show_sect_stats): Show real mobility costs.

17 years agoFix the previous revision.
Markus Armbruster [Sat, 17 Jun 2006 13:52:13 +0000 (13:52 +0000)]
Fix the previous revision.

17 years ago(chance, roundavg): Simplify. No functional change.
Markus Armbruster [Sat, 17 Jun 2006 12:40:25 +0000 (12:40 +0000)]
(chance, roundavg): Simplify.  No functional change.

17 years ago(lnd_fortify): Round mobility fractions up always, not just to 1.
Markus Armbruster [Sat, 17 Jun 2006 08:42:23 +0000 (08:42 +0000)]
(lnd_fortify): Round mobility fractions up always, not just to 1.
Simplify.

(fort): Don't claim land unit can't be fortified when amount argument
is zero.

17 years ago(sector_mcost, bp_neighbors, lnd_mar_one_sector): Deal with disabled
Markus Armbruster [Fri, 16 Jun 2006 21:11:25 +0000 (21:11 +0000)]
(sector_mcost, bp_neighbors, lnd_mar_one_sector): Deal with disabled
road/rail infrastructure.

17 years ago(info.ps): New. Adapt TROFF.MAC. Result isn't exactly a readable
Markus Armbruster [Fri, 16 Jun 2006 20:51:40 +0000 (20:51 +0000)]
(info.ps): New.  Adapt TROFF.MAC.  Result isn't exactly a readable
book.

17 years ago(mission): Nicer diagnostics.
Markus Armbruster [Fri, 16 Jun 2006 20:44:23 +0000 (20:44 +0000)]
(mission): Nicer diagnostics.

17 years agoChe cannot target #0:
Markus Armbruster [Fri, 16 Jun 2006 20:01:30 +0000 (20:01 +0000)]
Che cannot target #0:
(guerrilla): Oops on it.
(doland, takeover): Clear them when che_target becomes 0.

(doland): Fix bogus message.

(guerrilla): Remove silly sanity check.

17 years ago(sctintrins): New member in_enable. Update infra.config. Use it
Markus Armbruster [Fri, 16 Jun 2006 18:39:35 +0000 (18:39 +0000)]
(sctintrins): New member in_enable.  Update infra.config.  Use it
instead of opt_DEFENSE_INFRA.
(improve): Test for it.
(show_sect_build): Show only enabled infrastructure.
(opt_DEFENSE_INFRA): Remove.  Deities can edit infra.config instead.

(improve): Dumb down prompt.

17 years agoFix the previous revision.
Markus Armbruster [Fri, 16 Jun 2006 17:16:42 +0000 (17:16 +0000)]
Fix the previous revision.

17 years agoUpdate copyright. Add `Preface to the Wolfpack Edition'. Spelling
Markus Armbruster [Fri, 16 Jun 2006 17:15:13 +0000 (17:15 +0000)]
Update copyright.  Add `Preface to the Wolfpack Edition'.  Spelling
fixes.  Change is authorized by Geoff Cashman.

17 years agoRevert the previous revision, it doesn't make sense.
Markus Armbruster [Fri, 16 Jun 2006 05:42:52 +0000 (05:42 +0000)]
Revert the previous revision, it doesn't make sense.

17 years ago(show_sect_stats): Display mobility cost of inaccessible sectors as
Markus Armbruster [Thu, 15 Jun 2006 21:27:45 +0000 (21:27 +0000)]
(show_sect_stats): Display mobility cost of inaccessible sectors as
`no way' instead of obscure magic numbers.

17 years ago(sector_strength): Back out rev. 1.53's oopses, because their
Markus Armbruster [Thu, 15 Jun 2006 21:19:03 +0000 (21:19 +0000)]
(sector_strength): Back out rev. 1.53's oopses, because their
conditions can happen.