]> git.pond.sub.org Git - empserver/log
empserver
17 years agoAnother 4.3.3. change. v4.3.3
Markus Armbruster [Tue, 16 May 2006 21:39:14 +0000 (21:39 +0000)]
Another 4.3.3. change.

Tag 4.0.0 with the date of the r.g.e. announcement.

17 years agoUpdate for current code.
Markus Armbruster [Tue, 16 May 2006 20:46:07 +0000 (20:46 +0000)]
Update for current code.

17 years ago(powe): Simplify.
Markus Armbruster [Tue, 16 May 2006 20:06:24 +0000 (20:06 +0000)]
(powe): Simplify.
(gen_power): Remove redundant parenthesis.

17 years agoFix rev. 1.31.
Markus Armbruster [Tue, 16 May 2006 19:54:33 +0000 (19:54 +0000)]
Fix rev. 1.31.

17 years ago(powe): Rewrite computation of targets[] for power c using
Markus Armbruster [Tue, 16 May 2006 18:59:19 +0000 (18:59 +0000)]
(powe): Rewrite computation of targets[] for power c using
snxtitem()/nxtitem(), for simplicity and more uniform syntax.  Country
names no longer work when specifying more than one country (snxtitem()
restriction).  As usual with nxtitem(), silently ignore unsuitable
items (the old code complained and failed).  Don't skip powerless
countries for power c.  Closes #1025607.
(set_target): Unused, remove.

17 years agoFix markup.
Markus Armbruster [Tue, 16 May 2006 18:46:04 +0000 (18:46 +0000)]
Fix markup.

17 years agoUpdate for 4.3.3.
Markus Armbruster [Sun, 14 May 2006 19:35:40 +0000 (19:35 +0000)]
Update for 4.3.3.

17 years agoProvide example, fix pasto.
Markus Armbruster [Sun, 14 May 2006 19:33:43 +0000 (19:33 +0000)]
Provide example, fix pasto.

17 years ago(shiprepair, planerepair, landrepair): Simplify materials code. No
Markus Armbruster [Sun, 14 May 2006 18:26:25 +0000 (18:26 +0000)]
(shiprepair, planerepair, landrepair): Simplify materials code.  No
functional changes.

17 years ago(shiprepair, landrepair): Always return 1. Change to return void.
Markus Armbruster [Sun, 14 May 2006 18:23:44 +0000 (18:23 +0000)]
(shiprepair, landrepair): Always return 1.  Change to return void.
Simplify callers.

(prod_ship, upd_ship, prod_land, upd_land): Move test for mineff.

(upd_land, feed_land): Move food resupply.

(landrepair): Don't putsect(), update code works directly on cache.

17 years ago(upd_plane, planerepair): New, factored out of prod_plane(). No
Markus Armbruster [Sun, 14 May 2006 18:13:55 +0000 (18:13 +0000)]
(upd_plane, planerepair): New, factored out of prod_plane().  No
functional changes.

17 years ago(prod_plane): Simplify carrier repair code. Oops on bad carrier.
Markus Armbruster [Sun, 14 May 2006 18:09:33 +0000 (18:09 +0000)]
(prod_plane): Simplify carrier repair code.  Oops on bad carrier.

17 years ago(prod_plane): Rename plp to pcp, remove redundant desc. Tally build
Markus Armbruster [Sun, 14 May 2006 17:54:52 +0000 (17:54 +0000)]
(prod_plane): Rename plp to pcp, remove redundant desc.  Tally build
cost without rounding, like ships and land units do.

17 years ago(prod_plane): Simplify test for moving satellite.
Markus Armbruster [Sun, 14 May 2006 17:40:00 +0000 (17:40 +0000)]
(prod_plane): Simplify test for moving satellite.

17 years ago(effrange, torprange, fortrange): New.
Markus Armbruster [Sun, 14 May 2006 14:06:00 +0000 (14:06 +0000)]
(effrange, torprange, fortrange): New.
(multifire, quiet_bigdef, torp, anti_torp, sd, sb)
(lnd_fort_interdiction, lnd_support, perform_mission, oprange)
(shp_fort_interdiction): Use them.  This fixes forts shooting below
FORTEFF in quiet_bigdef(), lnd_fort_interdiction() and
shp_fort_interdiction().  Change variables for rounded ranges to int.

(quiet_bigdef, sd): Don't scale ship firing range by efficiency.

(dd, sb): Simplify.

(sb): Internal linkage.

(perform_mission): Rename range2 to vrange.

17 years agoBreak lines more tastefully.
Markus Armbruster [Sun, 14 May 2006 07:52:20 +0000 (07:52 +0000)]
Break lines more tastefully.

17 years ago(nuke): Players need the uid to work with nukes, show it. Show
Markus Armbruster [Sat, 13 May 2006 15:30:30 +0000 (15:30 +0000)]
(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.

17 years ago(detonate): Change parameters from carrying plane to nuke and
Markus Armbruster [Sat, 13 May 2006 14:04:03 +0000 (14:04 +0000)]
(detonate): Change parameters from carrying plane to nuke and
airburst.  Leave taking nuke off the plane to caller.  Use coord for
coordinate parameters.
(pln_damage): Take nuke off the plane.

(detonate): Destroy the nuke.  This is required since arming doesn't
remove nukes from the nuke file anymore (arm.c rev. 1.15).

17 years ago(nuk_postread): Update nuke location to match that of the plane
Markus Armbruster [Sat, 13 May 2006 13:41:02 +0000 (13:41 +0000)]
(nuk_postread): Update nuke location to match that of the plane
carrying it.  This is required since arming doesn't remove nukes from
the nuke file anymore (arm.c rev. 1.15).

(nuk_prewrite): Properly destroy nuke.  This is required since nuke
file contains individual nukes instead of stockpiles (nuke.h
rev. 1.19).

17 years ago(coun_cmd): Multiple client commands could overrun player->client[].
Markus Armbruster [Sat, 13 May 2006 07:56:12 +0000 (07:56 +0000)]
(coun_cmd): Multiple client commands could overrun player->client[].
Reported by Luigi Auriemma.

17 years agoRemove unused variables.
Markus Armbruster [Sat, 13 May 2006 07:44:52 +0000 (07:44 +0000)]
Remove unused variables.

17 years ago(look_land): Use roundintby() instead of ldround() for int argument.
Markus Armbruster [Sat, 13 May 2006 07:43:59 +0000 (07:43 +0000)]
(look_land): Use roundintby() instead of ldround() for int argument.

17 years agoRemove redundant casts.
Markus Armbruster [Sat, 13 May 2006 07:42:18 +0000 (07:42 +0000)]
Remove redundant casts.

17 years ago(knockdown): Destroy nukes on collapsing bridges. Before, you could
Markus Armbruster [Sat, 13 May 2006 07:24:10 +0000 (07:24 +0000)]
(knockdown): Destroy nukes on collapsing bridges.  Before, you could
rescue them by building a new bridge or arming them on naval planes.

17 years ago(pln_prewrite): Destroy nuke along with the plane carrying it. This
Markus Armbruster [Sat, 13 May 2006 07:22:47 +0000 (07:22 +0000)]
(pln_prewrite): Destroy nuke along with the plane carrying it.  This
is required since arming doesn't remove nukes from the nuke file
anymore (arm.c rev. 1.15).

17 years ago(player_coms): Break lines more tastefully.
Markus Armbruster [Sat, 13 May 2006 07:16:59 +0000 (07:16 +0000)]
(player_coms): Break lines more tastefully.

17 years ago(bp_lbcost): Don't convert the cost from double to float and back.
Markus Armbruster [Sun, 7 May 2006 09:19:21 +0000 (09:19 +0000)]
(bp_lbcost): Don't convert the cost from double to float and back.
Simplify.

17 years ago(hap_req): New.
Markus Armbruster [Sat, 6 May 2006 11:07:35 +0000 (11:07 +0000)]
(hap_req): New.
(nati, populace): Use it.

(populace, nati): Change hap, pct from float to double, because they
are used as double.

(nati): Print happiness needed with just two decimals, like the other
levels.

17 years ago(fuel): Change extra from float to double, because its value is always
Markus Armbruster [Sat, 6 May 2006 09:02:03 +0000 (09:02 +0000)]
(fuel): Change extra from float to double, because its value is always
computed and used in double.

17 years ago(build_ship, build_land, build_plane): Compute initial efficiency in
Markus Armbruster [Sat, 6 May 2006 08:44:12 +0000 (08:44 +0000)]
(build_ship, build_land, build_plane): Compute initial efficiency in
double rather than float, because all its uses convert it to double.
Remove redundant casts.

17 years ago(comm_bomb): Compute damage percentage in double rather than float,
Markus Armbruster [Sat, 6 May 2006 08:41:01 +0000 (08:41 +0000)]
(comm_bomb): Compute damage percentage in double rather than float,
because all its uses convert it to double.

17 years agoDo not cast to float where default argument promotion obviously
Markus Armbruster [Sat, 6 May 2006 08:34:33 +0000 (08:34 +0000)]
Do not cast to float where default argument promotion obviously
converts the cast's result to double.  Such casts are ugly and may
lose precision.

17 years agoDo not cast to float where usual arithmetic conversions obviously
Markus Armbruster [Sat, 6 May 2006 08:26:31 +0000 (08:26 +0000)]
Do not cast to float where usual arithmetic conversions obviously
convert the cast's result to double.  Such casts are ugly and may lose
precision.

17 years ago(nukstr): Make it a struct genitem: add members nuk_effic, nuk_mobil,
Markus Armbruster [Sat, 6 May 2006 07:37:00 +0000 (07:37 +0000)]
(nukstr): Make it a struct genitem: add members nuk_effic, nuk_mobil,
nuk_tech, nuk_stockpile, nuk_opx, nuk_opy, nuk_mission, nuk_radius.
These have no effect, yet.
(build_nuke): Initialize them.
(nuke_ca): Add genitem selectors: effic, mobil, tech, group, opx, opy,
mission, radius.
(tran_nuke): Zap mission, just in case somebody invents missions for
nukes.
(trade_desc): Show tech and efficiency, for consistency with other
units.

17 years agoChange nuke storage and commands to match other units:
Markus Armbruster [Sat, 6 May 2006 07:20:21 +0000 (07:20 +0000)]
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.

17 years agoDon't wrap global variables in a struct for no reason:
Markus Armbruster [Sat, 6 May 2006 06:16:53 +0000 (06:16 +0000)]
Don't wrap global variables in a struct for no reason:
(LwpMaxfd, LwpNfds, LwpReadfds, LwpWritefds, LwpFdwait, LwpDelayq)
(LwpSelProc): New, matching members of LwpSelect, internal linkage.
(lwpSelect, LwpSelect): Remove.

17 years ago(lwpReschedule): Use CANT_HAPPEN() and abort() instead of lwpStatus()
Markus Armbruster [Mon, 1 May 2006 17:10:50 +0000 (17:10 +0000)]
(lwpReschedule): Use CANT_HAPPEN() and abort() instead of lwpStatus()
and exit() for fatal internal errors.

17 years ago(lwpSelect): Use logerror() instead of lwpStatus() to report fatal
Markus Armbruster [Mon, 1 May 2006 17:10:11 +0000 (17:10 +0000)]
(lwpSelect): Use logerror() instead of lwpStatus() to report fatal
error.

17 years agoRemove redundant casts of argument to (prototyped) double parameter.
Markus Armbruster [Mon, 1 May 2006 12:34:16 +0000 (12:34 +0000)]
Remove redundant casts of argument to (prototyped) double parameter.

17 years ago(starve): Prompted twice for sectors when first argument was empty,
Markus Armbruster [Mon, 1 May 2006 06:52:48 +0000 (06:52 +0000)]
(starve): Prompted twice for sectors when first argument was empty,
fix.  Simplify.

17 years ago(increase_mob): Call time() just once, the second call can only
Markus Armbruster [Sun, 30 Apr 2006 18:38:52 +0000 (18:38 +0000)]
(increase_mob): Call time() just once, the second call can only
introduce inaccuracy.  Simplify the loop; it still doesn't make much
sense.

17 years ago(find_escorts, perform_mission): Simplify.
Markus Armbruster [Sun, 30 Apr 2006 18:31:13 +0000 (18:31 +0000)]
(find_escorts, perform_mission): Simplify.

17 years ago(fire_dchrg, fire_torp): Simplify.
Markus Armbruster [Sun, 30 Apr 2006 18:28:54 +0000 (18:28 +0000)]
(fire_dchrg, fire_torp): Simplify.

17 years ago(gen_power): Simplify.
Markus Armbruster [Sun, 30 Apr 2006 18:25:50 +0000 (18:25 +0000)]
(gen_power): Simplify.

17 years ago(get_couval, get_outstand): Remove. Unused since automatic loans were
Markus Armbruster [Sun, 30 Apr 2006 18:20:23 +0000 (18:20 +0000)]
(get_couval, get_outstand): Remove.  Unused since automatic loans were
removed (buy.c rev. 1.18, trad.c rev. 1.15), should have been removed
then.

17 years agoReorder function definitions.
Markus Armbruster [Sun, 30 Apr 2006 16:35:43 +0000 (16:35 +0000)]
Reorder function definitions.

17 years ago(lload): Simplify.
Markus Armbruster [Sun, 30 Apr 2006 16:28:48 +0000 (16:28 +0000)]
(lload): Simplify.

17 years ago(MAX): Remove redundant definition.
Markus Armbruster [Sun, 30 Apr 2006 16:26:51 +0000 (16:26 +0000)]
(MAX): Remove redundant definition.

17 years agoFix another insufficiently parenthesized macro expansion.
Markus Armbruster [Sun, 30 Apr 2006 16:25:58 +0000 (16:25 +0000)]
Fix another insufficiently parenthesized macro expansion.

17 years ago(buil): Clarify.
Markus Armbruster [Sun, 30 Apr 2006 16:20:14 +0000 (16:20 +0000)]
(buil): Clarify.

17 years agoFix the previous revision.
Markus Armbruster [Sun, 30 Apr 2006 16:18:35 +0000 (16:18 +0000)]
Fix the previous revision.

17 years ago(pln_arm): Change parameter mission from int to char to clearly
Markus Armbruster [Sun, 30 Apr 2006 16:15:33 +0000 (16:15 +0000)]
(pln_arm): Change parameter mission from int to char to clearly
document its use.

17 years agoFix insufficiently parenthesized macro expansions.
Markus Armbruster [Sun, 30 Apr 2006 16:08:45 +0000 (16:08 +0000)]
Fix insufficiently parenthesized macro expansions.

17 years agoRemove declaration that should have been removed in rev. 1.9. Doc
Markus Armbruster [Sun, 30 Apr 2006 13:20:48 +0000 (13:20 +0000)]
Remove declaration that should have been removed in rev. 1.9.  Doc
fix.  register purge.

17 years ago(sate): Use ef_byname_from() for second argument.
Markus Armbruster [Sun, 30 Apr 2006 13:10:34 +0000 (13:10 +0000)]
(sate): Use ef_byname_from() for second argument.

17 years ago(TERR_MAX): New.
Markus Armbruster [Sun, 30 Apr 2006 12:56:41 +0000 (12:56 +0000)]
(TERR_MAX): New.
(terr): Use it.

(terr): When the territory number is bad, do not loop prompting, just
fail.  That's what the vast majority of commands do.

17 years ago(retr, lretr): Readability fixes.
Markus Armbruster [Sun, 30 Apr 2006 12:52:30 +0000 (12:52 +0000)]
(retr, lretr): Readability fixes.

17 years ago(bomb, drop, fly, para, reco): Simplify.
Markus Armbruster [Sun, 30 Apr 2006 12:48:21 +0000 (12:48 +0000)]
(bomb, drop, fly, para, reco): Simplify.

17 years ago(islist): Simplify.
Markus Armbruster [Sun, 30 Apr 2006 12:36:28 +0000 (12:36 +0000)]
(islist): Simplify.

17 years agoNormalize unsigned int to just unsigned.
Markus Armbruster [Sun, 30 Apr 2006 12:26:07 +0000 (12:26 +0000)]
Normalize unsigned int to just unsigned.

17 years agoNormalize long int and short int to just long and short.
Markus Armbruster [Sun, 30 Apr 2006 12:05:23 +0000 (12:05 +0000)]
Normalize long int and short int to just long and short.

17 years ago(do_desi): Improve message when designation doesn't exist.
Markus Armbruster [Sun, 30 Apr 2006 11:56:01 +0000 (11:56 +0000)]
(do_desi): Improve message when designation doesn't exist.

17 years ago(ask_olist, att_fight): Oops on bad combat mode. Fixes compiler
Markus Armbruster [Sun, 30 Apr 2006 11:35:53 +0000 (11:35 +0000)]
(ask_olist, att_fight): Oops on bad combat mode.  Fixes compiler
warnings.

17 years ago(pr_ship, doship, pr_land, dounit): Remove keys deprecated in
Markus Armbruster [Sun, 30 Apr 2006 09:21:57 +0000 (09:21 +0000)]
(pr_ship, doship, pr_land, dounit): Remove keys deprecated in
rev. 1.20.

(prsect, doland): Deprecate key 'C'.

(pr_plane, doplane): Deprecate keys 'a' and 'd'.

(pr_land, dounit): Deprecate key 'X'.

(pr_ship, doship): Deprecate keys 'H', 'P', 'X' and 'Y'.

(docountry, dounit): Remove parameter farg.

17 years ago(att_ask_offense, ask_move_in): land_answer[] is indexed by army
Markus Armbruster [Sun, 30 Apr 2006 08:53:22 +0000 (08:53 +0000)]
(att_ask_offense, ask_move_in): land_answer[] is indexed by army
character, reduce size accordingly.

(att_prompt, ask_move_in_off): Remove dead code.

(att_reacting_units): Simplify.

17 years ago(coastal_sea_to_land, coastal_land_to_sea): Remove unused parameter
Markus Armbruster [Sun, 30 Apr 2006 08:46:14 +0000 (08:46 +0000)]
(coastal_sea_to_land, coastal_land_to_sea): Remove unused parameter
des.

17 years agoRemove dead code.
Markus Armbruster [Sun, 30 Apr 2006 08:43:28 +0000 (08:43 +0000)]
Remove dead code.

17 years agoFix long lines. No functional changes.
Markus Armbruster [Sun, 30 Apr 2006 08:39:20 +0000 (08:39 +0000)]
Fix long lines.  No functional changes.

17 years ago(rea): Simplify.
Markus Armbruster [Sun, 30 Apr 2006 08:38:06 +0000 (08:38 +0000)]
(rea): Simplify.

17 years ago(lowerit): Simplify.
Markus Armbruster [Sun, 30 Apr 2006 08:37:06 +0000 (08:37 +0000)]
(lowerit): Simplify.

17 years ago(grin): Simplify.
Markus Armbruster [Sun, 30 Apr 2006 08:36:41 +0000 (08:36 +0000)]
(grin): Simplify.

17 years ago(dist): Simplify.
Markus Armbruster [Sun, 30 Apr 2006 08:34:05 +0000 (08:34 +0000)]
(dist): Simplify.

17 years ago(best): Rename local variable.
Markus Armbruster [Sun, 30 Apr 2006 08:32:50 +0000 (08:32 +0000)]
(best): Rename local variable.

17 years agoDoc fix.
Markus Armbruster [Sun, 30 Apr 2006 08:31:52 +0000 (08:31 +0000)]
Doc fix.

17 years ago(lnd_mess): Internal linkage.
Markus Armbruster [Sun, 30 Apr 2006 08:29:18 +0000 (08:29 +0000)]
(lnd_mess): Internal linkage.

17 years ago(s_char): Remove. Use signed char for small integers, plain char for
Markus Armbruster [Sat, 29 Apr 2006 16:25:17 +0000 (16:25 +0000)]
(s_char): Remove.  Use signed char for small integers, plain char for
characters.

17 years agoRecent s_char purge changed element types to s_char *, but missed
Markus Armbruster [Sat, 29 Apr 2006 16:14:48 +0000 (16:14 +0000)]
Recent s_char purge changed element types to s_char *, but missed
patterns malloc(N * sizeof(s_char *)), fix.

17 years ago(cede_sect): Remove dead code.
Markus Armbruster [Sat, 29 Apr 2006 15:28:30 +0000 (15:28 +0000)]
(cede_sect): Remove dead code.

17 years ago(fly): Use void * for generic pointer dst_ptr.
Markus Armbruster [Sat, 29 Apr 2006 15:27:48 +0000 (15:27 +0000)]
(fly): Use void * for generic pointer dst_ptr.

17 years ago(vis, visbuf): Rev. 1.15 changed base type from s_char to char. This
Markus Armbruster [Sat, 29 Apr 2006 15:19:57 +0000 (15:19 +0000)]
(vis, visbuf): Rev. 1.15 changed base type from s_char to char.  This
is misleading, as the elements are numbers.  Change to signed char.

17 years agoBump version to 4.3.3.
Markus Armbruster [Sat, 29 Apr 2006 06:43:48 +0000 (06:43 +0000)]
Bump version to 4.3.3.

17 years agos_char purge directed by compiler warnings.
Markus Armbruster [Sat, 29 Apr 2006 06:41:45 +0000 (06:41 +0000)]
s_char purge directed by compiler warnings.

17 years agoStill more 4.3.2 changes. v4.3.2
Markus Armbruster [Thu, 27 Apr 2006 18:02:18 +0000 (18:02 +0000)]
Still more 4.3.2 changes.

17 years ago(info.nr/all, info.html/all.html, sources.mk): Pass LC_ALL=C in the
Markus Armbruster [Wed, 26 Apr 2006 19:08:17 +0000 (19:08 +0000)]
(info.nr/all, info.html/all.html, sources.mk): Pass LC_ALL=C in the
environment to make output independent of user's locale.

17 years agoOnly L_SUPPLY units can't attack as of 4.0.0, fix info Attacking,
Markus Armbruster [Wed, 26 Apr 2006 18:49:33 +0000 (18:49 +0000)]
Only L_SUPPLY units can't attack as of 4.0.0, fix info Attacking,
remove dead code.

17 years agoUpdate known contributors comment.
Markus Armbruster [Wed, 26 Apr 2006 18:14:54 +0000 (18:14 +0000)]
Update known contributors comment.

17 years agoRemove redundant declaration.
Markus Armbruster [Wed, 26 Apr 2006 18:14:16 +0000 (18:14 +0000)]
Remove redundant declaration.

17 years ago(sources.mk): Sort file names to make output deterministic.
Markus Armbruster [Wed, 26 Apr 2006 18:13:25 +0000 (18:13 +0000)]
(sources.mk): Sort file names to make output deterministic.

17 years ago(guerrilla): Remove unused variable.
Markus Armbruster [Wed, 26 Apr 2006 17:51:38 +0000 (17:51 +0000)]
(guerrilla): Remove unused variable.

17 years ago(guerrilla): Round security unit raid value below one to zero instead
Markus Armbruster [Wed, 26 Apr 2006 16:54:29 +0000 (16:54 +0000)]
(guerrilla): Round security unit raid value below one to zero instead
of one.  Before, an empty, inefficient unit could be used to kill one
rebel per update.

17 years ago(guerrilla): Security units' raid was broken in 4.0.0: the number of
Markus Armbruster [Wed, 26 Apr 2006 16:43:25 +0000 (16:43 +0000)]
(guerrilla): Security units' raid was broken in 4.0.0: the number of
che killed was 100 times too small, thus zero for all practical cases.
4.2.7 attempted to fix it, but left it broken for efficiency < 100.
It also increased deadliness of 100% units by a factor of 2.5.
Restore pre-4.0.0 behavior.

17 years agoMore 4.3.2 changes.
Markus Armbruster [Mon, 24 Apr 2006 18:50:22 +0000 (18:50 +0000)]
More 4.3.2 changes.

17 years ago(player_addrlen): Change type to size_t. Fixes type error in
Markus Armbruster [Mon, 24 Apr 2006 18:34:25 +0000 (18:34 +0000)]
(player_addrlen): Change type to size_t.  Fixes type error in
player_init(), which was most likely fatal on 64 bit hosts.  Broken in
rev. 1.34.

17 years ago(snxtitem): s_char purge.
Markus Armbruster [Mon, 24 Apr 2006 18:27:31 +0000 (18:27 +0000)]
(snxtitem): s_char purge.

17 years agoFix char / s_char inconsistencies. Build was broken on some systems
Markus Armbruster [Mon, 24 Apr 2006 18:24:23 +0000 (18:24 +0000)]
Fix char / s_char inconsistencies.  Build was broken on some systems
since the first one crept in with src/lib/subs/retreat.c rev. 1.34.

17 years agoUpdate for 4.3.2.
Markus Armbruster [Sun, 23 Apr 2006 13:08:47 +0000 (13:08 +0000)]
Update for 4.3.2.

17 years ago(xdvisible): Add case EF_REALM. Should have been added along with
Markus Armbruster [Sun, 23 Apr 2006 12:33:33 +0000 (12:33 +0000)]
(xdvisible): Add case EF_REALM.  Should have been added along with
EF_REALM (file.h rev. 1.52).  This made xdump leak everybody's realms.

18 years ago(login_coms): Remove erroneous declaration. Move definition before
Ron Koenderink [Sat, 22 Apr 2006 14:13:05 +0000 (14:13 +0000)]
(login_coms): Remove erroneous declaration.  Move definition before
uses.  Add required function declarations.

18 years ago(map, sct, rout): Remove unused local variables.
Ron Koenderink [Fri, 21 Apr 2006 13:19:16 +0000 (13:19 +0000)]
(map, sct, rout): Remove unused local variables.

18 years ago(snxtsct): Iteration order for `*' disclosed the real origin. Fix.
Markus Armbruster [Thu, 20 Apr 2006 19:06:50 +0000 (19:06 +0000)]
(snxtsct): Iteration order for `*' disclosed the real origin.  Fix.
Mapping commands used to work around this bug, until map.c rev. 1.18,
rout.c 1.18, sct.c 1.17, surv.c 1.18 removed the work-around and thus
exposed the bug.