Commit graph

2145 commits

Author SHA1 Message Date
Ron Koenderink
b4d2f3720a Add missing land units to discussion of avail usages. 2006-06-25 11:53:29 +00:00
36e41e5ac9 (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.
2006-06-25 06:39:21 +00:00
Ron Koenderink
db599368bc Add commands related to nukes to Subject Nukes. 2006-06-24 22:36:42 +00:00
Ron Koenderink
cf3f55a800 Correct Level to Basic for all mapping commands. 2006-06-24 17:34:13 +00:00
Ron Koenderink
9488b2b2e4 Correct sbmap to nbmap. 2006-06-24 17:32:26 +00:00
Ron Koenderink
26a014ea04 (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[].
2006-06-24 17:29:40 +00:00
5091956480 (out5): Conditional chose formats incorrectly, e.g. 9999 was printed
as 10.0K instead of 10K.  Could make power report columns run
together.
2006-06-24 17:09:20 +00:00
Ron Koenderink
1f46c898fd Change bmap back to map. 2006-06-24 15:46:14 +00:00
Ron Koenderink
008600b926 Correct the command.
Match the description to other map info files.
2006-06-24 15:32:12 +00:00
Ron Koenderink
6611bec0bc Improve the description that explains the different types of maps. 2006-06-24 15:25:22 +00:00
Ron Koenderink
5bbf6a1b2f Make the map flag descriptions the same for all maps. 2006-06-24 15:16:26 +00:00
Ron Koenderink
a10e9dccd0 Explain the unit type display priorities for the map flags. 2006-06-24 15:13:17 +00:00
Ron Koenderink
d413fb1dd6 Correct pmap to show that it takes a plane identifier.
Correct lmap to show that it takes a land unit identifier.
2006-06-24 14:53:47 +00:00
d240bad7f8 (ac_flak_dam): Redesign so that code common to all its callers ends up
in this function.
2006-06-24 14:24:23 +00:00
d9c48789fb (pinflak_planedamage): Grant +1 vs. flak only to non-tactical bombers,
for consistency with ac_fireflak().
2006-06-24 14:21:55 +00:00
d06dc534ed (prod, prprod): Fix to show the designation that actually produces,
not the designation as it is now.
2006-06-24 09:22:04 +00:00
4985d9c9cd (ldump, pdump, sdump): The previous revision added extra space to the
output, fix that.
2006-06-24 08:06:33 +00:00
42e7e3e389 Fix the previous revision. 2006-06-23 06:07:36 +00:00
54bd2587d9 (SCT_TYPE_MAX, dchr): Don't include dchr[]'s sentinel in SCT_TYPE_MAX.
(SCT_MAXDEF): Unused, remove.
2006-06-23 04:53:31 +00:00
Ron Koenderink
0e4eb6bf0a (install_service, info, apro) [_WIN32]: Convert to standard snprintf()
from _snprintf().

[_WIN32]: Add #define snprintf to convert to _snprintf for WIN32
Visual Studio.
2006-06-23 00:13:21 +00:00
591b8d4862 (mil_dbl_pay): No effect, remove. Was used for mil being built into
units until that was removed in 4.0.0.
2006-06-22 20:45:19 +00:00
0adc54d43a (roundrange): Use roundavg(). 2006-06-22 20:29:34 +00:00
5a0dc14626 Remove superflous parenthesis. 2006-06-22 20:28:54 +00:00
0a50a48141 Update known contributors comment. 2006-06-22 20:27:36 +00:00
f28767e1e4 Support definition of additional products in product.config:
(P_MAX): Increase space in table.
2006-06-22 20:24:32 +00:00
9e8f74d239 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.
2006-06-22 20:21:48 +00:00
063aabb893 (N_MAXSHIPS, SHP_TYPE_MAX, N_MAXPLANE, PLN_TYPE_MAX, N_MAXLAND)
(LND_TYPE_MAX): Replace.  Add a bit more space to the tables.
2006-06-22 20:10:23 +00:00
e81828ec4c 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.
2006-06-22 19:52:24 +00:00
cf1c69543e (empfile): Fix the previous revision: pretended ichr[], pchr[], dchr[]
and intrchr[] were still compile-time initialized.
2006-06-22 19:47:00 +00:00
2cb2c59ac6 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.
2006-06-22 19:42:10 +00:00
a7393becc0 (produce_sect, update_main): Charge capital maintenance in
produce_sect(), just like all the other sector costs.
2006-06-22 17:16:31 +00:00
2d99971a7f (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.
2006-06-22 17:10:26 +00:00
f9588063ff Bump version to 4.3.7. 2006-06-22 05:51:16 +00:00
Ron Koenderink
516cbd5ca1 Correct pmap to show that it takes a plane identifier.
Correct lmap to show that it takes a land unit identifier.
2006-06-22 00:55:48 +00:00
7d528c73db Clarify prerequisites. 2006-06-20 19:48:22 +00:00
59fcdc9261 4.3.6 last minute changes. 2006-06-20 18:48:15 +00:00
4bf8e1af01 _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().
2006-06-20 18:36:20 +00:00
69b92a5bce (player_coms): Charge no BTUs for break. 2006-06-20 06:05:35 +00:00
7100bf90e7 Use environment variable GROFF_NO_SGR instead of option -P-c, because
older versions of groff choke on the latter.
2006-06-20 06:02:24 +00:00
f21b62e121 Doc fix. 2006-06-19 04:28:57 +00:00
aeff93394e Fix the previous revision again. 2006-06-18 20:45:01 +00:00
3d0f7dd383 Fix the previous revision. 2006-06-18 20:31:41 +00:00
4cea32767d Doc fix. 2006-06-18 20:22:25 +00:00
0738af1296 More 4.3.6 changes. 2006-06-18 19:12:37 +00:00
1c7cdbaad9 (install): Create a clean econfig.new when the one found at the
destination doesn't work.
2006-06-18 19:11:49 +00:00
51ce3c8dfb Update for recently changed land unit mobility requirements. 2006-06-18 18:55:51 +00:00
5fbd7cdede Update for recent mobility cost changes. Document minimum costs and
land unit penalty in newly taken sectors.  Spelling fixes.
2006-06-18 18:49:00 +00:00
cfb6e844d8 Spelling fixes. 2006-06-18 18:25:52 +00:00
f0724ad29b Reference Flak and mission. Don't reference subject Missions, as this
is the only reference to it.  Spelling fixes.
2006-06-18 18:23:26 +00:00
053248a2f5 Update for recent code changes. Make pseudo-code match the real code.
Used to mention interception, but got it mostly wrong, removed.
2006-06-18 18:11:52 +00:00