]> git.pond.sub.org Git - empserver/log
empserver
18 years ago(verify_row): uid check was too strict.
Markus Armbruster [Wed, 5 Apr 2006 18:47:02 +0000 (18:47 +0000)]
(verify_row): uid check was too strict.

18 years agoComment grammar fix.
Markus Armbruster [Wed, 5 Apr 2006 18:34:54 +0000 (18:34 +0000)]
Comment grammar fix.

18 years agoNew section on booleans. Elaborate thread safety.
Markus Armbruster [Wed, 5 Apr 2006 18:33:41 +0000 (18:33 +0000)]
New section on booleans.  Elaborate thread safety.

18 years agoFix the previous revision.
Markus Armbruster [Wed, 5 Apr 2006 18:15:07 +0000 (18:15 +0000)]
Fix the previous revision.

18 years ago(bestownedpath, owned_and_navigable): Terrain parameter isn't really
Markus Armbruster [Wed, 5 Apr 2006 09:50:45 +0000 (09:50 +0000)]
(bestownedpath, owned_and_navigable): Terrain parameter isn't really
used, remove it.  Use null bigmap argument to ignore terrain (flying),
non-null for navigation.  Callers changed.

18 years ago(bestownedpath): Return NULL on long path instead of "?". Terminate
Markus Armbruster [Wed, 5 Apr 2006 09:30:38 +0000 (09:30 +0000)]
(bestownedpath): Return NULL on long path instead of "?".  Terminate
returned path with 'h'.  This makes BestShipPath() and BestAirPath()
more similar to BestLandPath().  Simplify callers.

18 years ago(BestAirPath): Some callers assumed non-null return value must be the
Markus Armbruster [Wed, 5 Apr 2006 09:13:03 +0000 (09:13 +0000)]
(BestAirPath): Some callers assumed non-null return value must be the
first argument.  Fix them.  Simplify bestownedpath().

18 years ago(owned_and_navigable): Rework rev. 1.18: do check the real sector, but
Markus Armbruster [Wed, 5 Apr 2006 08:51:50 +0000 (08:51 +0000)]
(owned_and_navigable): Rework rev. 1.18: do check the real sector, but
only if it's owned or allied.  Check it before the bmap, and do it
just like shp_check_nav() does (should use common code).

18 years ago(getpath): Supply the missing code for P_SAILING. This makes the sail
Markus Armbruster [Wed, 5 Apr 2006 07:30:41 +0000 (07:30 +0000)]
(getpath): Supply the missing code for P_SAILING.  This makes the sail
command accept destination sectors as well as paths.  Clean up the
case discrimination.

18 years ago(P_NONE, P_WALKING, P_FLYING, P_SAILING, p_mode): Turn into new
Markus Armbruster [Wed, 5 Apr 2006 07:21:49 +0000 (07:21 +0000)]
(P_NONE, P_WALKING, P_FLYING, P_SAILING, p_mode): Turn into new
enumeration p_mode.  Users changed.  s_char and register purge.

18 years ago(tend): Fix rev. 1.20: used to send bulletin to last tendee's owner,
Markus Armbruster [Wed, 5 Apr 2006 07:06:58 +0000 (07:06 +0000)]
(tend): Fix rev. 1.20: used to send bulletin to last tendee's owner,
unless that's the player, regardless of success.  Send them for every
successful tend to a foreign ship.

18 years ago(build_mission_list_type): Simplify.
Markus Armbruster [Wed, 29 Mar 2006 19:46:39 +0000 (19:46 +0000)]
(build_mission_list_type): Simplify.

(show_mission): Plug memory leak.

18 years ago(mission): Silence compiler warning.
Markus Armbruster [Wed, 29 Mar 2006 19:40:42 +0000 (19:40 +0000)]
(mission): Silence compiler warning.

18 years ago(mission): Plug memory leak. s_char purge.
Markus Armbruster [Wed, 29 Mar 2006 19:40:22 +0000 (19:40 +0000)]
(mission): Plug memory leak.  s_char purge.

18 years ago(iop): Remove unused members assoc, notify.
Markus Armbruster [Wed, 29 Mar 2006 19:19:47 +0000 (19:19 +0000)]
(iop): Remove unused members assoc, notify.
(io_open): Remove unused parameters assoc, notify.  Caller changed.

18 years ago(main): Remove superflous calloc(). s_char purge.
Markus Armbruster [Wed, 29 Mar 2006 16:56:14 +0000 (16:56 +0000)]
(main): Remove superflous calloc().  s_char purge.

18 years ago(bestownedpath): Fix test of end sector for terrain string starting
Markus Armbruster [Wed, 29 Mar 2006 16:12:00 +0000 (16:12 +0000)]
(bestownedpath): Fix test of end sector for terrain string starting
with 'R'.  Broken in 4.2.2.  No such terrain strings occur.

18 years ago(owned_and_navigable): Do not check the real sector, only the bmap.
Markus Armbruster [Wed, 29 Mar 2006 16:06:30 +0000 (16:06 +0000)]
(owned_and_navigable): Do not check the real sector, only the bmap.
Checking the real sector leaks information, which can be abused to
test whether an arbitrary sector is unfriendly or an inefficient
harbor or bridge, at the cost of some ship mobility (I think).
Initially broken ca. 1993, went through several changes, but the leak
survived them all.

18 years ago(emp_config): Failed to call set_dirs() when default econfig file
Markus Armbruster [Wed, 29 Mar 2006 13:14:55 +0000 (13:14 +0000)]
(emp_config): Failed to call set_dirs() when default econfig file
doesn't exist.

18 years ago(genlist): Move from include/mission.h to src/lib/subs/mission.c.
Markus Armbruster [Wed, 29 Mar 2006 07:53:25 +0000 (07:53 +0000)]
(genlist): Move from include/mission.h to src/lib/subs/mission.c.

(genlist): Remove unused members x, y.

(genlist): Use void * for generic pointer members cp, thing.  Change
users not to cast.

(oprange): Oops on bad argument.

18 years ago(as_data): Use void * for userdata member and userdata parameter of
Markus Armbruster [Tue, 28 Mar 2006 21:00:00 +0000 (21:00 +0000)]
(as_data): Use void * for userdata member and userdata parameter of
callbacks.  Users changed.

18 years ago(bp_init): Use semantically correct return type instead of s_char *.
Markus Armbruster [Tue, 28 Mar 2006 20:42:57 +0000 (20:42 +0000)]
(bp_init): Use semantically correct return type instead of s_char *.
Caller changed.

18 years agoRemove superflous casts.
Markus Armbruster [Tue, 28 Mar 2006 19:51:48 +0000 (19:51 +0000)]
Remove superflous casts.

18 years ago(move_ground): Drop first parameter of map callback, it's not used.
Markus Armbruster [Tue, 28 Mar 2006 19:46:40 +0000 (19:46 +0000)]
(move_ground): Drop first parameter of map callback, it's not used.
Callers changed.  s_char purge.

18 years agoType of gift()'s generic pointer parameter was fixed in the previous
Markus Armbruster [Tue, 28 Mar 2006 19:20:08 +0000 (19:20 +0000)]
Type of gift()'s generic pointer parameter was fixed in the previous
revision of src/lib/commands/load.c, change callers.

18 years agoBump version to 4.3.1.
Markus Armbruster [Tue, 28 Mar 2006 18:35:08 +0000 (18:35 +0000)]
Bump version to 4.3.1.

18 years ago(multifire): Retreat when helpless used RET_INJURED instead of
Markus Armbruster [Tue, 28 Mar 2006 06:22:48 +0000 (06:22 +0000)]
(multifire): Retreat when helpless used RET_INJURED instead of
RET_HELPLESS.  Closes #1146364.

18 years ago(retreat_ship1): Fix test for seamines. Before, retreating ships
Markus Armbruster [Tue, 28 Mar 2006 05:51:49 +0000 (05:51 +0000)]
(retreat_ship1): Fix test for seamines.  Before, retreating ships
could sweep and hit landmines.  The bug fixed in rev. 1.35 is believed
to have masked this bug.  Charge mobility for sweeping.  Closes
#1346756.

18 years ago(retreat_ship1, retreat_land1): Simplify.
Markus Armbruster [Mon, 27 Mar 2006 22:02:38 +0000 (22:02 +0000)]
(retreat_ship1, retreat_land1): Simplify.

18 years ago(retreat_land1): Fix land mine hit chance (was too high).
Markus Armbruster [Mon, 27 Mar 2006 21:54:56 +0000 (21:54 +0000)]
(retreat_land1): Fix land mine hit chance (was too high).

18 years ago(MINE_LDAMAGE): Change to match damage suffered in lnd_hit_mine().
Markus Armbruster [Mon, 27 Mar 2006 21:47:50 +0000 (21:47 +0000)]
(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().

18 years ago(shp_check_one_mines): Simplify slightly.
Markus Armbruster [Mon, 27 Mar 2006 21:43:21 +0000 (21:43 +0000)]
(shp_check_one_mines): Simplify slightly.

18 years ago(retreat_ship1): Fix sector ownership test. Before, retreating ships
Markus Armbruster [Mon, 27 Mar 2006 20:43:57 +0000 (20:43 +0000)]
(retreat_ship1): Fix sector ownership test.  Before, retreating ships
could enter sectors owned by whoever caused the retreat, but not own
sectors.  Reported by Ray Hyatt.  Closes #1346750.

18 years ago(command): Simplify mapping of condarg to lower case.
Markus Armbruster [Mon, 27 Mar 2006 20:13:50 +0000 (20:13 +0000)]
(command): Simplify mapping of condarg to lower case.

18 years ago(lost): Simplify code for argument default value.
Markus Armbruster [Mon, 27 Mar 2006 19:53:05 +0000 (19:53 +0000)]
(lost): Simplify code for argument default value.

18 years agoCosmetics.
Markus Armbruster [Mon, 27 Mar 2006 19:50:38 +0000 (19:50 +0000)]
Cosmetics.

18 years ago(map, rout, sct, surv): Remove special case for sects argument `*',
Markus Armbruster [Mon, 27 Mar 2006 19:45:08 +0000 (19:45 +0000)]
(map, rout, sct, surv): Remove special case for sects argument `*',
snxtsct() handles it just fine.

18 years ago(map): Simplify slightly.
Markus Armbruster [Mon, 27 Mar 2006 19:24:44 +0000 (19:24 +0000)]
(map): Simplify slightly.

18 years ago(player_coms): test needs C_MOD flag, because it calls draw_map()
Markus Armbruster [Mon, 27 Mar 2006 19:19:58 +0000 (19:19 +0000)]
(player_coms): test needs C_MOD flag, because it calls draw_map()
through map().

18 years ago(tran_map): Set player->argp[0]. Required since bmap() was merged
Markus Armbruster [Mon, 27 Mar 2006 19:10:40 +0000 (19:10 +0000)]
(tran_map): Set player->argp[0].  Required since bmap() was merged
into map() ca. 1995.  Fixes 'm' at test's move_ground() prompt.
Simplify clearing player->argp[2].  Don't clear beyond that.

18 years ago(tran_map): Set player->argp[0]. Required since bmap() was merged
Markus Armbruster [Mon, 27 Mar 2006 19:00:42 +0000 (19:00 +0000)]
(tran_map): Set player->argp[0].  Required since bmap() was merged
into map() ca. 1995.  Clear player->argp[2].  Required since map
acquired its second argument in the early 90s.  Fixes 'm' at
transport's move_ground() prompt.

18 years ago(unit_map): Don't use snxtsct(), it obeys conditionals. Use
Markus Armbruster [Mon, 27 Mar 2006 18:45:20 +0000 (18:45 +0000)]
(unit_map): Don't use snxtsct(), it obeys conditionals.  Use
snxtsct_area().  Callers march() and navi() clearly don't want it to
use conditionals.  navi() used to zap them (just removed).  march()
doesn't, which was a bug similar to #785447.  It's less clear for
caller map().  I'd argue that conditionals apply to map's argument,
the unit number, not to the map itself.  draw_map() zaps them anyway.

18 years ago(unit_map): Simplify.
Markus Armbruster [Mon, 27 Mar 2006 18:42:18 +0000 (18:42 +0000)]
(unit_map): Simplify.

18 years ago(explore_map, nav_map, move_map, fly_map): Don't use snxtsct(), it
Markus Armbruster [Mon, 27 Mar 2006 18:20:25 +0000 (18:20 +0000)]
(explore_map, nav_map, move_map, fly_map): Don't use snxtsct(), it
obeys conditionals.  Use snxtsct_dist().  Closes #785447.  Only march
and test were actually broken, the other uses zapped conditionals.
(move_map, fly_map, nav_map, navi): Don't zap conditionals.

18 years ago(bsanct): Use snxtitem_all() instead of snxtitem(). The latter uses
Markus Armbruster [Sun, 26 Mar 2006 19:21:13 +0000 (19:21 +0000)]
(bsanct): Use snxtitem_all() instead of snxtitem().  The latter uses
player->condarg, which lets players keep sanctuaries.  Broken in the
early 90s.

18 years ago(retreat_ship1, retreat_land1): Use snxtitem_group() instead of
Markus Armbruster [Sun, 26 Mar 2006 19:09:06 +0000 (19:09 +0000)]
(retreat_ship1, retreat_land1): Use snxtitem_group() instead of
snxtitem() for RET_GROUP.  The latter uses player->condarg, which lets
crafty attackers suppress retreat.

18 years ago(conditions): Give sentinel a legible desc[], just in case.
Markus Armbruster [Sun, 26 Mar 2006 19:02:28 +0000 (19:02 +0000)]
(conditions): Give sentinel a legible desc[], just in case.
(findcondition): Oops on hitting the sentinel.

(retreat_ship1, retreat_land1): Don't bother to map code to lower
case, it doesn't occur.

18 years agoThe previous revision is wrong, back it out.
Markus Armbruster [Sun, 26 Mar 2006 17:36:27 +0000 (17:36 +0000)]
The previous revision is wrong, back it out.

18 years agoThe revision before the previous one is partially wrong, back out the
Markus Armbruster [Sun, 26 Mar 2006 17:34:58 +0000 (17:34 +0000)]
The revision before the previous one is partially wrong, back out the
bad parts.

18 years agoThe revision before the previous one is wrong, back it out.
Markus Armbruster [Sun, 26 Mar 2006 17:33:46 +0000 (17:33 +0000)]
The revision before the previous one is wrong, back it out.

18 years ago(file_sct_init, fl_sct_init): Fix parameter type from s_char * to
Markus Armbruster [Sun, 26 Mar 2006 15:07:32 +0000 (15:07 +0000)]
(file_sct_init, fl_sct_init): Fix parameter type from s_char * to
struct sctstr *.  Callers changed not to cast.

18 years ago(retr, lretr, doship, dounit): Zero-terminate retreat paths. The last
Markus Armbruster [Sun, 26 Mar 2006 14:42:27 +0000 (14:42 +0000)]
(retr, lretr, doship, dounit): Zero-terminate retreat paths.  The last
character in the array must be zero already.  Closes #1225708.

18 years ago(sd): Supply missing parenthesis for a cast from double to int. The
Markus Armbruster [Sun, 26 Mar 2006 14:03:50 +0000 (14:03 +0000)]
(sd): Supply missing parenthesis for a cast from double to int.  The
cast is only there to express intent, it doesn't change the meaning of
the code.

18 years ago(shut): Fix misuse of logerror(): passed formatted string instead of
Markus Armbruster [Sun, 26 Mar 2006 13:59:47 +0000 (13:59 +0000)]
(shut): Fix misuse of logerror(): passed formatted string instead of
format string and arguments.  Correctness depends on formatted string
not containing '%', which is the case.

18 years ago(show_sail): Fix misuse of pr(): passed formatted string instead of
Markus Armbruster [Sun, 26 Mar 2006 13:57:34 +0000 (13:57 +0000)]
(show_sail): Fix misuse of pr(): passed formatted string instead of
format string and arguments.  Correctness depends on paths not
containing '%', which is correct, but not as robust as it could be.

18 years ago(unit_interdict, knockdown): Simplify. No functional change.
Markus Armbruster [Sun, 26 Mar 2006 13:55:29 +0000 (13:55 +0000)]
(unit_interdict, knockdown): Simplify.  No functional change.

18 years agoCode formatting. No functional changes.
Markus Armbruster [Sun, 26 Mar 2006 13:52:23 +0000 (13:52 +0000)]
Code formatting.  No functional changes.

18 years ago(show_nuke_capab, show_ship_capab, show_plane_capab, show_land_capab)
Markus Armbruster [Sun, 26 Mar 2006 13:41:46 +0000 (13:41 +0000)]
(show_nuke_capab, show_ship_capab, show_plane_capab, show_land_capab)
(prxy, border, ac_encounter, look, budg): Fix misuse of pr() and PR():
passed formatted string instead of format string and arguments.
Correctness depends on argument values and tables not containing '%',
which is correct, but fragile.

18 years ago(comm_bomb, ship_bomb, land_bomb, pinflak_planedamage): Fix dangerous
Markus Armbruster [Sun, 26 Mar 2006 13:34:35 +0000 (13:34 +0000)]
(comm_bomb, ship_bomb, land_bomb, pinflak_planedamage): Fix dangerous
misuse of pr(), PR() and mpr(): passed formatted string instead of
format string and arguments.  Crash bug if formatted string contains
'%'.  Players can put that in ship names...

18 years ago(prunits, prplanes): Simplify, compute relation string instead of
Markus Armbruster [Sun, 26 Mar 2006 12:54:52 +0000 (12:54 +0000)]
(prunits, prplanes): Simplify, compute relation string instead of
format.

(prplanes): Fix dangerous misuse of pr(): passed formatted string
instead of format string and arguments.  Crash bug if formatted string
contains '%'.  Players can put that in country names...

18 years ago(prod): Simplify printing of materials used. Don't assume amount fits
Markus Armbruster [Sun, 26 Mar 2006 12:37:22 +0000 (12:37 +0000)]
(prod): Simplify printing of materials used.  Don't assume amount fits
into eight characters and item mnemo can't be '%'.

18 years ago(head_describe): Print the headline instead of returning the format
Markus Armbruster [Sun, 26 Mar 2006 12:08:35 +0000 (12:08 +0000)]
(head_describe): Print the headline instead of returning the format
string.  This simplifies format string checking.

18 years ago(prthresh): Remove format string parameter. Callers don't really need
Markus Armbruster [Sun, 26 Mar 2006 10:21:57 +0000 (10:21 +0000)]
(prthresh): Remove format string parameter.  Callers don't really need
that flexibility, and it makes format checking harder.

18 years agoRemove useless multiplications with sizeof(char) and sizeof(s_char).
Markus Armbruster [Sun, 26 Mar 2006 10:16:08 +0000 (10:16 +0000)]
Remove useless multiplications with sizeof(char) and sizeof(s_char).
Replace by literal 1 in other contexts.

18 years ago(gift): Fix parameter types: natid instead of int, void * for generic
Markus Armbruster [Sun, 26 Mar 2006 08:18:34 +0000 (08:18 +0000)]
(gift): Fix parameter types: natid instead of int, void * for generic
pointer, char * for string.

18 years ago(gift, load_comm_ship, load_comm_land): Fix dangerous misuse of wu():
Markus Armbruster [Sun, 26 Mar 2006 08:15:27 +0000 (08:15 +0000)]
(gift, load_comm_ship, load_comm_land): Fix dangerous misuse of wu():
passed formatted string instead of format string and arguments.  Crash
bug if formatted string contains '%'.  Players can put that in ship
names...

18 years agoRemove silly superflous parenthesis.
Markus Armbruster [Sun, 26 Mar 2006 07:46:49 +0000 (07:46 +0000)]
Remove silly superflous parenthesis.

18 years ago(getele): Zero-terminate empty telegrams. Returned telegram was
Markus Armbruster [Sat, 25 Mar 2006 20:11:55 +0000 (20:11 +0000)]
(getele): Zero-terminate empty telegrams.  Returned telegram was
broken in rev. 1.9.  ~p never worked.

18 years agoFix land unit speed. Reported by Pat Loney. Fix spelling.
Markus Armbruster [Sat, 25 Mar 2006 19:59:21 +0000 (19:59 +0000)]
Fix land unit speed.  Reported by Pat Loney.  Fix spelling.

18 years ago(buil): Simplify the loop for building multiple units. Unit type
Markus Armbruster [Sat, 25 Mar 2006 19:16:35 +0000 (19:16 +0000)]
(buil): Simplify the loop for building multiple units.  Unit type
argument "" no longer makes it prompt for the unit type on every
iteration.

18 years ago(buil): Return RET_FAIL on insufficient tech for bridge instead of
Markus Armbruster [Sat, 25 Mar 2006 18:56:34 +0000 (18:56 +0000)]
(buil): Return RET_FAIL on insufficient tech for bridge instead of
literal 2 (which is RET_SYN).  Return RET_SYN on incorrect first
argument.

18 years ago(build_ship, build_land, build_plane): Compute cost in floating-point.
Markus Armbruster [Sat, 25 Mar 2006 16:36:45 +0000 (16:36 +0000)]
(build_ship, build_land, build_plane): Compute cost in floating-point.
It's better to round just once, when subtracting player->dolcost from
nat_money.

18 years ago(build_can_afford): New.
Markus Armbruster [Sat, 25 Mar 2006 16:21:48 +0000 (16:21 +0000)]
(build_can_afford): New.
(build_ship, build_land, build_bridge, build_nuke, build_plane)
(build_tower): Use it.  This changes some messages.  Fixes ancient
bridge building race condition: while prompting for direction, another
build could clobber cash.
(cash): Remove.

18 years ago(trade_check_item_ok): New.
Markus Armbruster [Sat, 25 Mar 2006 15:26:29 +0000 (15:26 +0000)]
(trade_check_item_ok): New.
(trade_check_ok): Use it and simplify.

(set): Use new trade_check_item_ok().  The code replaced by it didn't
work (abusable bug).

18 years ago(ontradingblock, trdswitchown): Second parameter is a generic pointer,
Markus Armbruster [Sat, 25 Mar 2006 15:11:17 +0000 (15:11 +0000)]
(ontradingblock, trdswitchown): Second parameter is a generic pointer,
change it from int * to void *.  Callers changed not to cast to int *.

18 years ago(genstr): Redundant. Replace by struct genitem.
Markus Armbruster [Sat, 25 Mar 2006 15:03:32 +0000 (15:03 +0000)]
(genstr): Redundant.  Replace by struct genitem.

18 years agoDefine feature test macro required for PTHREAD_STACK_MIN on some
Markus Armbruster [Sat, 25 Mar 2006 10:15:13 +0000 (10:15 +0000)]
Define feature test macro required for PTHREAD_STACK_MIN on some
systems, e.g. Solaris.

18 years agoFix the previous revision.
Markus Armbruster [Sat, 25 Mar 2006 09:08:58 +0000 (09:08 +0000)]
Fix the previous revision.

18 years ago(empth_create): LWP yields, and it's the reference implementation.
Markus Armbruster [Sat, 25 Mar 2006 07:49:37 +0000 (07:49 +0000)]
(empth_create): LWP yields, and it's the reference implementation.
Document and fix the others.

18 years ago(u_char, u_short, u_int): BSDisms. Figuring out whether sys/types.h
Markus Armbruster [Sat, 25 Mar 2006 07:05:34 +0000 (07:05 +0000)]
(u_char, u_short, u_int): BSDisms.  Figuring out whether sys/types.h
defines them would be possible, but isn't worth the trouble.  Replace
by unabbreviated types.

18 years agoUse NULL instead of (FOO *)0, it's easier to read.
Markus Armbruster [Thu, 23 Mar 2006 20:48:49 +0000 (20:48 +0000)]
Use NULL instead of (FOO *)0, it's easier to read.

18 years ago(dirchar, neighsects, login_coms, lookup_list, g_distptrs, level_easy)
Markus Armbruster [Thu, 23 Mar 2006 20:32:29 +0000 (20:32 +0000)]
(dirchar, neighsects, login_coms, lookup_list, g_distptrs, level_easy)
(level_log, levelnames): Internal linkage.

18 years ago(map): Simplify loop control.
Markus Armbruster [Thu, 23 Mar 2006 20:13:38 +0000 (20:13 +0000)]
(map): Simplify loop control.

18 years ago(marc, navi): Permit any whitespace between route and optional
Markus Armbruster [Thu, 23 Mar 2006 19:50:25 +0000 (19:50 +0000)]
(marc, navi): Permit any whitespace between route and optional
argument for radar, lookout, sonar, not just spaces.

18 years ago(do_conv, enli, explore, move, shoo, s_commod): sct_mobil was changed
Markus Armbruster [Thu, 23 Mar 2006 07:58:03 +0000 (07:58 +0000)]
(do_conv, enli, explore, move, shoo, s_commod): sct_mobil was changed
from u_char to short in 3.0.0, but many assignments still cast to
u_char.  Remove casts.

18 years ago(do_mob_ship, do_mob_land): Remove superflous casts.
Markus Armbruster [Thu, 23 Mar 2006 07:46:26 +0000 (07:46 +0000)]
(do_mob_ship, do_mob_land): Remove superflous casts.

(do_mob_land): Remove superflous check for excess mobility.

18 years agoPrevious revision broke canal navigation, fix.
Markus Armbruster [Thu, 23 Mar 2006 06:54:56 +0000 (06:54 +0000)]
Previous revision broke canal navigation, fix.

18 years agoBump version to 4.3.1.
Markus Armbruster [Thu, 23 Mar 2006 06:17:30 +0000 (06:17 +0000)]
Bump version to 4.3.1.

18 years agoFix editing accident in revision before the previous. More 4.3.0 v4.3.0
Markus Armbruster [Sun, 19 Mar 2006 10:05:20 +0000 (10:05 +0000)]
Fix editing accident in revision before the previous.  More 4.3.0
polishing.

18 years agoUpdate 4.3.0 date.
Markus Armbruster [Sun, 19 Mar 2006 08:24:52 +0000 (08:24 +0000)]
Update 4.3.0 date.

18 years agoTerminology fix.
Markus Armbruster [Sat, 18 Mar 2006 18:14:56 +0000 (18:14 +0000)]
Terminology fix.

18 years agoHints on GNU make.
Markus Armbruster [Sat, 18 Mar 2006 18:13:14 +0000 (18:13 +0000)]
Hints on GNU make.

18 years ago(CFLAGS, CPPFLAGS): POSIX make has only CFLAGS. Fold CPPFLAGS into
Markus Armbruster [Sat, 18 Mar 2006 17:46:32 +0000 (17:46 +0000)]
(CFLAGS, CPPFLAGS): POSIX make has only CFLAGS.  Fold CPPFLAGS into
CFLAGS.  Use CFLAGS when linking, to match POSIX make implicit rule.

18 years agoSearch for terminal stuff in -lcurses as well.
Markus Armbruster [Sat, 18 Mar 2006 16:46:58 +0000 (16:46 +0000)]
Search for terminal stuff in -lcurses as well.

18 years agoCorrect reference to doc/xdump.
Markus Armbruster [Sat, 11 Mar 2006 08:40:27 +0000 (08:40 +0000)]
Correct reference to doc/xdump.

18 years agoRefer to xdump.
Markus Armbruster [Sat, 11 Mar 2006 08:36:50 +0000 (08:36 +0000)]
Refer to xdump.

18 years ago(may_play): More helpful diagnosis and log.
Markus Armbruster [Thu, 9 Mar 2006 22:04:17 +0000 (22:04 +0000)]
(may_play): More helpful diagnosis and log.

18 years ago(privip): Lacked the IPv4 mapped IPv6 address for localhost.
Markus Armbruster [Thu, 9 Mar 2006 21:51:27 +0000 (21:51 +0000)]
(privip): Lacked the IPv4 mapped IPv6 address for localhost.

18 years agoUse touch to touch stamp files, > doesn't update mtime of existing
Markus Armbruster [Thu, 9 Mar 2006 21:21:58 +0000 (21:21 +0000)]
Use touch to touch stamp files, > doesn't update mtime of existing
file on some systems.  Weird.

18 years ago(client): Don't make $(termlib) a prerequisite, pass it in $(LDLIBS).
Markus Armbruster [Thu, 9 Mar 2006 20:58:36 +0000 (20:58 +0000)]
(client): Don't make $(termlib) a prerequisite, pass it in $(LDLIBS).
The old version didn't work on some systems.