empserver
17 years agoMore 4.2.22 changes. v4.2.22
Markus Armbruster [Tue, 11 Oct 2005 20:59:00 +0000 (20:59 +0000)]
More 4.2.22 changes.

17 years agoReplace incorrect claim on morale_base by reference to info morale.
Markus Armbruster [Tue, 11 Oct 2005 20:48:30 +0000 (20:48 +0000)]
Replace incorrect claim on morale_base by reference to info morale.
Reported by Doug Wescott.

17 years ago(play_cmd): Log begin and end of playing session. Closes #911285.
Markus Armbruster [Tue, 11 Oct 2005 20:25:40 +0000 (20:25 +0000)]
(play_cmd): Log begin and end of playing session.  Closes #911285.

(kill_cmd): Log killing.

17 years agoDoc clarification.
Markus Armbruster [Tue, 11 Oct 2005 20:12:32 +0000 (20:12 +0000)]
Doc clarification.

17 years ago(babies): Err, the maxpop case wasn't an optimization... Without
Markus Armbruster [Tue, 11 Oct 2005 20:10:15 +0000 (20:10 +0000)]
(babies): Err, the maxpop case wasn't an optimization...  Without
that, we get negative babies, which leads to negative avail and baby
food (cannibalism?) in grow_people().  Restore it.

17 years ago(nreport): Simplify.
Markus Armbruster [Tue, 11 Oct 2005 19:31:33 +0000 (19:31 +0000)]
(nreport): Simplify.

17 years agoDoc fix.
Markus Armbruster [Tue, 11 Oct 2005 19:29:50 +0000 (19:29 +0000)]
Doc fix.

17 years ago(set): Fix initialization of trd_y. The initial value is believed not
Markus Armbruster [Tue, 11 Oct 2005 19:27:05 +0000 (19:27 +0000)]
(set): Fix initialization of trd_y.  The initial value is believed not
to be used.

17 years agoSpelling fix.
Markus Armbruster [Tue, 11 Oct 2005 19:23:11 +0000 (19:23 +0000)]
Spelling fix.

17 years agoRemove some commented out code that is obviously useless.
Markus Armbruster [Tue, 11 Oct 2005 19:22:59 +0000 (19:22 +0000)]
Remove some commented out code that is obviously useless.

17 years agoFix bad line breaks.
Markus Armbruster [Tue, 11 Oct 2005 19:21:57 +0000 (19:21 +0000)]
Fix bad line breaks.

17 years agoUpdate for include/prototypes.h:1.90 src/lib/subs/attsub.c:1.28 src/lib/subs/shpsub...
Marc Olzheim [Tue, 4 Oct 2005 15:02:16 +0000 (15:02 +0000)]
Update for include/prototypes.h:1.90 src/lib/subs/attsub.c:1.28 src/lib/subs/shpsub.c:1.22 src/lib/update/human.c:1.16

17 years agoUpdate for 4.2.22.
Markus Armbruster [Tue, 4 Oct 2005 07:27:56 +0000 (07:27 +0000)]
Update for 4.2.22.

17 years ago(get_assembly_point): Close loophole that allowed players to find all
Markus Armbruster [Tue, 4 Oct 2005 07:20:37 +0000 (07:20 +0000)]
(get_assembly_point): Close loophole that allowed players to find all
unowned sectors.  The assembly point must now be owned or allied, or
have an owned or allied ship.

Info pages didn't match the old rule.  Fix them to match the new rule.

17 years ago(pin_bomb): Remove code to compute bestacc. It is not only wrong,
Markus Armbruster [Mon, 3 Oct 2005 20:03:45 +0000 (20:03 +0000)]
(pin_bomb): Remove code to compute bestacc.  It is not only wrong,
bestacc is not used.  Been that way since Chainsaw.

17 years ago(ac_landflak): Don't let embarked land units fire flak.
Markus Armbruster [Mon, 3 Oct 2005 15:46:42 +0000 (15:46 +0000)]
(ac_landflak): Don't let embarked land units fire flak.

17 years agoCheck against source and update accordingly.
Markus Armbruster [Mon, 3 Oct 2005 15:42:44 +0000 (15:42 +0000)]
Check against source and update accordingly.

17 years ago(spy): Catching a spy makes contact.
Markus Armbruster [Mon, 3 Oct 2005 15:36:39 +0000 (15:36 +0000)]
(spy): Catching a spy makes contact.

17 years ago(ac_encounter): Non-recon missions no longer make contact to owner of
Markus Armbruster [Mon, 3 Oct 2005 15:05:33 +0000 (15:05 +0000)]
(ac_encounter): Non-recon missions no longer make contact to owner of
sectors overflown, because only recon missions identify the owner.
This matches info Hidden.

17 years ago(notify_coastguard): Failed to make contact when NF_COASTWATCH was
Markus Armbruster [Mon, 3 Oct 2005 14:47:59 +0000 (14:47 +0000)]
(notify_coastguard): Failed to make contact when NF_COASTWATCH was
off.

17 years agoDocument.
Markus Armbruster [Mon, 3 Oct 2005 14:40:05 +0000 (14:40 +0000)]
Document.

17 years ago(satmap): Make contact iff displaying sectors. Shouldn't make a
Markus Armbruster [Mon, 3 Oct 2005 14:37:26 +0000 (14:37 +0000)]
(satmap): Make contact iff displaying sectors.  Shouldn't make a
difference, but is clearer.

(satmap): Spotting land units makes contact.

17 years ago(ac_dog): Make contact both ways. This is more for completeness, as
Markus Armbruster [Mon, 3 Oct 2005 14:34:26 +0000 (14:34 +0000)]
(ac_dog): Make contact both ways.  This is more for completeness, as
contact should have been made before planes rise to fight.

17 years ago(notify_coastguard): Use FOUND_COAST, not FOUND_LOOK.
Markus Armbruster [Mon, 3 Oct 2005 14:32:02 +0000 (14:32 +0000)]
(notify_coastguard): Use FOUND_COAST, not FOUND_LOOK.

17 years ago(add): Initialize nat_last_login and nat_last_logout to zero rather
Markus Armbruster [Mon, 3 Oct 2005 13:25:54 +0000 (13:25 +0000)]
(add): Initialize nat_last_login and nat_last_logout to zero rather
than current time.  Nation addition time is irrelevant.
(natstr): Document zero nat_last_login, nat_last_login mean never
logged in/out.
(player_main): Test nat_last_login zero instead of nat_hostaddr empty.

(player_main): Assign nat_userid, nat_hostname, nat_hostaddr straight
from player.  The last connection's host is now shown as dotted quads
instead of nowhere when the name isn't known.
(natstr): Document that nat_userid, nat_hostname may be empty.

(player_main): Simplify printing last connection address: nat_hostaddr
can't be empty here; don't bother to substitute "nobody" for empty
user.

17 years ago(match_user, main): Use full buffer for fgets(); was off by one.
Markus Armbruster [Mon, 3 Oct 2005 10:45:00 +0000 (10:45 +0000)]
(match_user, main): Use full buffer for fgets(); was off by one.

17 years ago(main): Delete some code that had no effect.
Markus Armbruster [Mon, 3 Oct 2005 10:42:10 +0000 (10:42 +0000)]
(main): Delete some code that had no effect.

17 years ago(retreat_ship1, retreat_land1): Delete some code that had no effect.
Markus Armbruster [Mon, 3 Oct 2005 10:41:13 +0000 (10:41 +0000)]
(retreat_ship1, retreat_land1): Delete some code that had no effect.

17 years ago(chan): Do not arbitrarily truncate representative to 8 characters,
Markus Armbruster [Mon, 3 Oct 2005 10:40:11 +0000 (10:40 +0000)]
(chan): Do not arbitrarily truncate representative to 8 characters,
use the full size of struct natstr member nat_pnam.

17 years ago(add): Use size of struct natstr members nat_cnam and nat_pnam instead
Markus Armbruster [Mon, 3 Oct 2005 10:38:55 +0000 (10:38 +0000)]
(add): Use size of struct natstr members nat_cnam and nat_pnam instead
of literals.

17 years ago(lndstr, natstr, shpstr): Fix string types from s_char[] to char[].
Markus Armbruster [Mon, 3 Oct 2005 10:35:44 +0000 (10:35 +0000)]
(lndstr, natstr, shpstr): Fix string types from s_char[] to char[].
They were declared NSC_STRINGY in their selector descriptors, and
NSC_STRINGY is specified to represent char[].
(player): Get rid of s_char.

17 years ago(babies): Factored out of grow_people(). Identical, except it doesn't
Markus Armbruster [Sun, 2 Oct 2005 19:10:16 +0000 (19:10 +0000)]
(babies): Factored out of grow_people().  Identical, except it doesn't
bother to `optimize' the maxpop case, and it drops the weird food
limit computation for opt_NOFOOD, which didn't limited for any
reasonable game parameters.

17 years ago(ac_encounter): Make contact on spotting planes. Closes #857594.
Markus Armbruster [Sun, 2 Oct 2005 18:41:29 +0000 (18:41 +0000)]
(ac_encounter): Make contact on spotting planes.  Closes #857594.

17 years ago(look_ship, look_land): Failed to make contact on sighting ships,
Markus Armbruster [Sun, 2 Oct 2005 18:09:42 +0000 (18:09 +0000)]
(look_ship, look_land): Failed to make contact on sighting ships,
planes and land units.  Partial fix for #857594.

17 years ago(natstr): Member nat_connected is inappropriate, because it is
Markus Armbruster [Sun, 2 Oct 2005 17:01:15 +0000 (17:01 +0000)]
(natstr): Member nat_connected is inappropriate, because it is
transient server state, not persistent game state.  Remove.
(player_main, edit): Remove uses.
(coun): Use getplayer() instead of nat_connected.  Delete the message
on command being out of order.

17 years ago(player_find_other): Replace by getplayer. player_find_other()
Markus Armbruster [Sun, 2 Oct 2005 16:30:43 +0000 (16:30 +0000)]
(player_find_other): Replace by getplayer.  player_find_other()
searches for a player other than US for country CNUM, which is in
state PS_PLAYING.  Since there can be at most one player in state
PS_PLAYING, and no caller pass that player as US, they can simply use
getplayer() instead.

17 years ago(getplayer): There may be multiple players for the same country in the
Markus Armbruster [Sun, 2 Oct 2005 16:21:41 +0000 (16:21 +0000)]
(getplayer): There may be multiple players for the same country in the
list of players, but at most one in state PS_PLAYING.  getplayer()
used to get the one first in the list.  However, its callers need the
one in state PS_PLAYING.  In particular, typed_wu() notifies the
player obtained from getplayer().  If the player in state PS_PLAYING
isn't first, say because another one is trying to log in, the
notification gets lost.  Fix by making getplayer() return the player
in state PS_PLAYING.

17 years ago(SNEAK_ATTACK, opt_SNEAK_ATTACK, Options, do_sneak, att_abort)
Markus Armbruster [Sun, 2 Oct 2005 14:35:18 +0000 (14:35 +0000)]
(SNEAK_ATTACK, opt_SNEAK_ATTACK, Options, do_sneak, att_abort)
(att_fight): Remove option SNEAK_ATTACK.

17 years ago(setrel): Relation change establishes contact like a telegram.
Markus Armbruster [Sun, 2 Oct 2005 11:04:31 +0000 (11:04 +0000)]
(setrel): Relation change establishes contact like a telegram.
Partial fix for #857594.

17 years agoRemove some redundant parenthesis; no functional change.
Markus Armbruster [Sun, 2 Oct 2005 10:16:19 +0000 (10:16 +0000)]
Remove some redundant parenthesis; no functional change.

17 years ago(prod_land, prod_ship): Simplify.
Markus Armbruster [Sun, 2 Oct 2005 10:15:59 +0000 (10:15 +0000)]
(prod_land, prod_ship): Simplify.

17 years ago(do_feed): Simplify.
Markus Armbruster [Sat, 1 Oct 2005 18:44:25 +0000 (18:44 +0000)]
(do_feed): Simplify.
(starvation): Pointless.  Inline into do_feed() and remove.

(growfood): Doc clarification.

17 years ago(att_get_combat): Fix test whether land unit exists. Closes #1034283.
Markus Armbruster [Sat, 1 Oct 2005 16:39:41 +0000 (16:39 +0000)]
(att_get_combat): Fix test whether land unit exists.  Closes #1034283.

(att_fight): Fix bad line break.

17 years ago(get_assembly_point): New.
Markus Armbruster [Sat, 1 Oct 2005 14:07:35 +0000 (14:07 +0000)]
(get_assembly_point): New.
(bomb, drop, fly, para, reco): Use it.

17 years agoDon't point to ftp.wolfpackempire.com, it does not work.
Markus Armbruster [Sat, 1 Oct 2005 12:52:00 +0000 (12:52 +0000)]
Don't point to ftp.wolfpackempire.com, it does not work.

17 years ago(plist): Member state is used write-only, remove.
Markus Armbruster [Fri, 30 Sep 2005 20:44:43 +0000 (20:44 +0000)]
(plist): Member state is used write-only, remove.
(P_OK, P_FIRED, P_DEL): Unused, remove.

17 years ago(N_FLAK, N_DISS_GOV, N_DECL_NEUT, N_RIOT, N_ASSAULT_LOSE): Unused,
Markus Armbruster [Fri, 30 Sep 2005 20:38:22 +0000 (20:38 +0000)]
(N_FLAK, N_DISS_GOV, N_DECL_NEUT, N_RIOT, N_ASSAULT_LOSE): Unused,
remove.
(no_news): new.
(rpt): Use it for r_newsstory of unused slots.

17 years ago(empfile): Member itemoffs is unused since file.c rev. 1.15; remove.
Markus Armbruster [Fri, 30 Sep 2005 20:02:57 +0000 (20:02 +0000)]
(empfile): Member itemoffs is unused since file.c rev. 1.15; remove.

17 years ago(IO_CONN, io_conn, IOQ_BUFSIZE, MAXIOV, LND_NOTANY, plur)
Markus Armbruster [Fri, 30 Sep 2005 19:51:32 +0000 (19:51 +0000)]
(IO_CONN, io_conn, IOQ_BUFSIZE, MAXIOV, LND_NOTANY, plur)
(techfactfire, reltech, P_DISTING, PLN_MAXDEF, filetruncate, sct_init)
(nxtsctp, AN_SAILDIR, UDTIMES_MAX, BLITZTIME): Unused, remove.

17 years agoUnused.
Markus Armbruster [Fri, 30 Sep 2005 19:50:57 +0000 (19:50 +0000)]
Unused.

17 years agoRemove leftover declarations that should have been removed along with
Markus Armbruster [Fri, 30 Sep 2005 19:40:41 +0000 (19:40 +0000)]
Remove leftover declarations that should have been removed along with
the definitions.

17 years ago(PP_MAIN): New.
Markus Armbruster [Fri, 30 Sep 2005 17:37:04 +0000 (17:37 +0000)]
(PP_MAIN): New.
(empth_init): Use it rather than literal.

17 years ago(getpath): Fix buffer overflow. Remote hole in commands bomb, drop,
Markus Armbruster [Sun, 25 Sep 2005 18:55:55 +0000 (18:55 +0000)]
(getpath): Fix buffer overflow.  Remote hole in commands bomb, drop,
fly, para, reco, sail, sweep.  Old code also screwed up when
getstring() failed, unless player->aborted.  Fixed code is still ugly
and cries for a rewrite.

17 years ago(getpath): Fix message when no path to destination sector can be
Markus Armbruster [Sun, 25 Sep 2005 17:03:53 +0000 (17:03 +0000)]
(getpath): Fix message when no path to destination sector can be
found.

17 years ago(getpath): Parameter showxy makes no sense and is not used. Remove.
Markus Armbruster [Sun, 25 Sep 2005 17:00:50 +0000 (17:00 +0000)]
(getpath): Parameter showxy makes no sense and is not used.  Remove.
Get rid of s_char.  Callers changed.

17 years ago(fly): Check for player aborting the command at the `transport what?'
Markus Armbruster [Sun, 25 Sep 2005 16:39:44 +0000 (16:39 +0000)]
(fly): Check for player aborting the command at the `transport what?'
prompt.  Closes #771801.

17 years ago(pathcost): Fix the previous rev.
Markus Armbruster [Sun, 25 Sep 2005 16:03:22 +0000 (16:03 +0000)]
(pathcost): Fix the previous rev.

17 years ago(deli): Diagnose invalid direction.
Markus Armbruster [Sun, 25 Sep 2005 10:05:39 +0000 (10:05 +0000)]
(deli): Diagnose invalid direction.

17 years ago(retreat_ship1, retreat_land1): Used to accept DIR_VIEW, which
Markus Armbruster [Sun, 25 Sep 2005 10:05:09 +0000 (10:05 +0000)]
(retreat_ship1, retreat_land1): Used to accept DIR_VIEW, which
happened do do nothing.  Ignoring it like other invalid directions is
clearer.

17 years ago(marc, navi, retreat_ship1, retreat_land1): Treat any negative value
Markus Armbruster [Sun, 25 Sep 2005 10:00:43 +0000 (10:00 +0000)]
(marc, navi, retreat_ship1, retreat_land1): Treat any negative value
of chkdir() as failure, not just -1.

17 years ago(diridx): New. Use instead of chkdir() where direction characters
Markus Armbruster [Sun, 25 Sep 2005 09:49:36 +0000 (09:49 +0000)]
(diridx): New.  Use instead of chkdir() where direction characters
must be valid.  Oopses on bad direction characters.
(pathtoxy, ac_encounter): Bad direction characters used to lead to bad
array subscript and potential disaster.
(pathrange, path): Stop on DIR_STOP as well as on bad direction
characters.  This is just for consistency with other code; DIR_STOP
should occur only last in a path here.
(sail_nav_fleet, nav_ship): No change except for the oops.

17 years ago(dirindex): Narrow member type to signed char to save cache.
Markus Armbruster [Sun, 25 Sep 2005 09:15:27 +0000 (09:15 +0000)]
(dirindex): Narrow member type to signed char to save cache.
(pathcost): Catch bad direction characters (should not happen).

17 years ago(SELL_NOT_DELIV, getdir, chkpath): Unused, remove.
Markus Armbruster [Sun, 25 Sep 2005 09:07:31 +0000 (09:07 +0000)]
(SELL_NOT_DELIV, getdir, chkpath): Unused, remove.

17 years ago(doexecute) [_WIN32]: Open the exec file in text mode.
Ron Koenderink [Sat, 24 Sep 2005 13:34:39 +0000 (13:34 +0000)]
(doexecute) [_WIN32]: Open the exec file in text mode.
The exec file contains the user commands created by text editor.

17 years ago(listen_addr): New econfig key.
Markus Armbruster [Fri, 23 Sep 2005 18:41:24 +0000 (18:41 +0000)]
(listen_addr): New econfig key.
(player_init): Implement it.

(player_init): Support service name in econfig key loginport.  Service
empire no longer takes precedence over econfig.  Closes #797096.

17 years ago(hostaddr, hostconnect): Leave printing messages to caller.
Markus Armbruster [Fri, 23 Sep 2005 17:55:24 +0000 (17:55 +0000)]
(hostaddr, hostconnect): Leave printing messages to caller.
(main): Clarify messages.

(hostport) [_WIN32]: Remove useless conditional code.

(main): Fall back to compiled-in host only if environment doesn't
supply one, not if it can't be resolved.  Same for port.

17 years ago(deli): Break the loop if player->aborted. Without that, it can
Markus Armbruster [Fri, 23 Sep 2005 17:37:28 +0000 (17:37 +0000)]
(deli): Break the loop if player->aborted.  Without that, it can
prompt for more input, violating the client protocol.

17 years ago(prmptrd, uprmptrd): Should not be called while player->aborted. Check.
Markus Armbruster [Fri, 23 Sep 2005 17:35:14 +0000 (17:35 +0000)]
(prmptrd, uprmptrd): Should not be called while player->aborted.  Check.

17 years agoChange info pages to reflect the code change that sets the build reaction
Ron Koenderink [Tue, 20 Sep 2005 00:00:23 +0000 (00:00 +0000)]
Change info pages to reflect the code change that sets the build reaction
radius to zero for land-units.

17 years ago(upd_ship): Limit oil production to what's actually in the ground.
Markus Armbruster [Sun, 18 Sep 2005 12:17:18 +0000 (12:17 +0000)]
(upd_ship): Limit oil production to what's actually in the ground.

17 years ago(io_output): Remove a redundant check.
Markus Armbruster [Tue, 30 Aug 2005 18:27:49 +0000 (18:27 +0000)]
(io_output): Remove a redundant check.

17 years ago(move): test command checked start sector for space and some other
Markus Armbruster [Tue, 30 Aug 2005 18:26:58 +0000 (18:26 +0000)]
(move): test command checked start sector for space and some other
things instead of end sector.

(move): test command now skips code dealing with return of goods to
start sector.

(want_to_abandon): Simplify.

17 years ago(do_conv): Use maximum population instead of 999 to limit number of
Markus Armbruster [Tue, 30 Aug 2005 17:49:43 +0000 (17:49 +0000)]
(do_conv): Use maximum population instead of 999 to limit number of
new uw.

17 years ago(shoo): Remove the arbitrary limit of 999 people to be shot.
Markus Armbruster [Tue, 30 Aug 2005 17:47:40 +0000 (17:47 +0000)]
(shoo): Remove the arbitrary limit of 999 people to be shot.

17 years ago(ltend): Fix printing of land unit in diagnostic message.
Markus Armbruster [Tue, 30 Aug 2005 17:38:27 +0000 (17:38 +0000)]
(ltend): Fix printing of land unit in diagnostic message.

17 years ago(nbomb): Rev. 1.17 made a questionable initializer incorrect, and thus
Markus Armbruster [Tue, 30 Aug 2005 17:27:37 +0000 (17:27 +0000)]
(nbomb): Rev. 1.17 made a questionable initializer incorrect, and thus
broke pin-bombing for hosts where sizeof(i_type) != sizeof(int).  Fix.

17 years ago(nstr_resolve_id): Fix spelling mistake.
Ron Koenderink [Thu, 25 Aug 2005 00:34:55 +0000 (00:34 +0000)]
(nstr_resolve_id): Fix spelling mistake.
unkown -> unknown

17 years agoChange 0 to NULL for pointer initializations. No functional changes.
Marc Olzheim [Mon, 22 Aug 2005 18:52:43 +0000 (18:52 +0000)]
Change 0 to NULL for pointer initializations.  No functional changes.

17 years ago(io_output_all,update_main,update_wait): Do not block on writing when
Ron Koenderink [Sun, 21 Aug 2005 17:17:38 +0000 (17:17 +0000)]
(io_output_all,update_main,update_wait): Do not block on writing when
aborting commands for an update.  Move update_pending to the start of
the update sequence where the commands are aborted.

17 years ago(force): Change to create update thread instead of calling
Ron Koenderink [Sat, 20 Aug 2005 19:16:56 +0000 (19:16 +0000)]
(force): Change to create update thread instead of calling
empth_sleep() as the empth_sleep() can not be aborted for an update.
(update_force): New.

17 years ago[_WIN32]: Use pconfig.obj instead of pconfig.o for ntpconfig:
Ron Koenderink [Sat, 13 Aug 2005 20:18:37 +0000 (20:18 +0000)]
[_WIN32]: Use pconfig.obj instead of pconfig.o for ntpconfig:

17 years agoUpdate for src/lib/subs/attsub.c:1.28 and src/lib/update/revolt.c:1.16
Marc Olzheim [Thu, 11 Aug 2005 09:29:10 +0000 (09:29 +0000)]
Update for src/lib/subs/attsub.c:1.28 and src/lib/update/revolt.c:1.16

17 years agoUpdate for src/lib/subs/pr.c:1.27
Marc Olzheim [Thu, 11 Aug 2005 09:28:20 +0000 (09:28 +0000)]
Update for src/lib/subs/pr.c:1.27

17 years ago(empth_yield): Remove sleep(). Delay not necessary.
Ron Koenderink [Mon, 1 Aug 2005 03:08:16 +0000 (03:08 +0000)]
(empth_yield): Remove sleep().  Delay not necessary.

17 years agoUpdate to current output format.
Markus Armbruster [Sun, 31 Jul 2005 17:45:06 +0000 (17:45 +0000)]
Update to current output format.

17 years ago(show_opts): New, factored out of vers(). Fix output punctuation.
Markus Armbruster [Sun, 31 Jul 2005 17:42:14 +0000 (17:42 +0000)]
(show_opts): New, factored out of vers().  Fix output punctuation.
(vers): Fix output punctuation and grammar.

17 years ago(wrgamesdef): Don't point to ftp.wolfpackempire.com, it does not work.
Markus Armbruster [Sun, 31 Jul 2005 17:40:06 +0000 (17:40 +0000)]
(wrgamesdef): Don't point to ftp.wolfpackempire.com, it does not work.

17 years ago(SHIPNAMES, opt_SHIPNAMES, Options, carg, name, sorde, qorde)
Markus Armbruster [Sun, 31 Jul 2005 17:22:32 +0000 (17:22 +0000)]
(SHIPNAMES, opt_SHIPNAMES, Options, carg, name, sorde, qorde)
(show_sail, shi, att_get_combat, pr_com, satdisp, satmap, prship):
Remove nooption SHIPNAMES.

17 years ago(sorde): Output messed up for ships with sail path. Fix and
Markus Armbruster [Sun, 31 Jul 2005 16:35:30 +0000 (16:35 +0000)]
(sorde): Output messed up for ships with sail path.  Fix and
simplify.  Remove inappropriate ship sanity check, should be done
elsewhere, and differently.

(qorde): Fix the previous rev.

17 years ago(qorde): Output messed up for ships with sail path. Fix and
Markus Armbruster [Sun, 31 Jul 2005 16:19:03 +0000 (16:19 +0000)]
(qorde): Output messed up for ships with sail path.  Fix and
simplify.  Remove inappropriate ship sanity check, should be done
elsewhere, and differently.

17 years ago(checksect, give_back_cap, guerrilla): No longer change capital to
Markus Armbruster [Sun, 31 Jul 2005 13:55:50 +0000 (13:55 +0000)]
(checksect, give_back_cap, guerrilla): No longer change capital to
agribusiness.  That was done when the occupier abandons the old-owners
capital or it revolts, to prevent players from sacking the same
capital many timers.  The server has a much better way to prevent that
since 4.2.7, so this weird hack is no longer useful.  Thanks to Pat
Loney for pointing this out.

17 years ago(meltitems): Remove unnecessary checks.
Ron Koenderink [Mon, 25 Jul 2005 13:12:22 +0000 (13:12 +0000)]
(meltitems): Remove unnecessary checks.

17 years ago(meltitems): Move melt_item_denom into the ichr structure.
Ron Koenderink [Sun, 24 Jul 2005 22:20:05 +0000 (22:20 +0000)]
(meltitems): Move melt_item_denom into the ichr structure.

17 years ago(prmptrd,uprmptrd): Remove unused variable cp.
Ron Koenderink [Sun, 24 Jul 2005 17:26:21 +0000 (17:26 +0000)]
(prmptrd,uprmptrd): Remove unused variable cp.

17 years ago(getcommand): Remove unused variable i
Ron Koenderink [Sun, 24 Jul 2005 17:24:21 +0000 (17:24 +0000)]
(getcommand): Remove unused variable i

17 years ago(lwpReschedule): Internal function, move declaration from lwp.h to
Markus Armbruster [Sun, 24 Jul 2005 10:00:52 +0000 (10:00 +0000)]
(lwpReschedule): Internal function, move declaration from lwp.h to
lwpint.h.

17 years ago(empth_yield) [_EMPTH_LWP]: Blocked the current thread forever; fix.
Markus Armbruster [Sun, 24 Jul 2005 09:57:39 +0000 (09:57 +0000)]
(empth_yield) [_EMPTH_LWP]: Blocked the current thread forever; fix.

17 years ago(prompt,dopipe) [_WIN32]: Enable the pipe capability.
Ron Koenderink [Sat, 23 Jul 2005 21:44:00 +0000 (21:44 +0000)]
(prompt,dopipe) [_WIN32]: Enable the pipe capability.

17 years agoRemove some redundant parenthesis; no functional change.
Markus Armbruster [Sat, 23 Jul 2005 19:48:35 +0000 (19:48 +0000)]
Remove some redundant parenthesis; no functional change.

17 years ago(player_init) [LISTENMAXCONN]: Comment seems to claim Linux doesn't
Markus Armbruster [Sat, 23 Jul 2005 19:12:23 +0000 (19:12 +0000)]
(player_init) [LISTENMAXCONN]: Comment seems to claim Linux doesn't
have SOMAXCONN, but has LISTENMAXCONN.  In fact, it has SOMAXCONN, and
LISTENMAXCONN doesn't exist anywhere in /usr/include or the Internet.
Remove the special case.