]> git.pond.sub.org Git - empserver/log
empserver
20 years agoWhitespace fix.
Markus Armbruster [Fri, 6 Feb 2004 23:32:15 +0000 (23:32 +0000)]
Whitespace fix.

20 years agoNo need to pass -nsob, it's implied by -kr.
Markus Armbruster [Fri, 6 Feb 2004 23:30:47 +0000 (23:30 +0000)]
No need to pass -nsob, it's implied by -kr.

20 years agoIndentation fix.
Markus Armbruster [Fri, 6 Feb 2004 23:26:25 +0000 (23:26 +0000)]
Indentation fix.

20 years ago(fly): Fix confusing line break.
Markus Armbruster [Fri, 6 Feb 2004 23:17:50 +0000 (23:17 +0000)]
(fly): Fix confusing line break.

20 years ago(doland): Fix output (run-away replace?).
Markus Armbruster [Fri, 6 Feb 2004 23:15:07 +0000 (23:15 +0000)]
(doland): Fix output (run-away replace?).

20 years agoFix previous rev.
Markus Armbruster [Fri, 6 Feb 2004 23:07:18 +0000 (23:07 +0000)]
Fix previous rev.

20 years ago(ca): Unused, remove.
Markus Armbruster [Fri, 6 Feb 2004 23:02:05 +0000 (23:02 +0000)]
(ca): Unused, remove.

20 years ago(LINUXPTHCFLAGS): Really don't define __USE_BSD_SIGNAL.
Markus Armbruster [Fri, 6 Feb 2004 22:57:31 +0000 (22:57 +0000)]
(LINUXPTHCFLAGS): Really don't define __USE_BSD_SIGNAL.

20 years ago(LINUXCFLAGS, LINUXPTHCFLAGS): Don't define lint and __USE_BSD_SIGNAL.
Markus Armbruster [Fri, 6 Feb 2004 22:53:41 +0000 (22:53 +0000)]
(LINUXCFLAGS, LINUXPTHCFLAGS): Don't define lint and __USE_BSD_SIGNAL.
The latter can't be found anywhere in source or system headers.

20 years ago(OSXCFLAGS): Don't switch gcc to cruft mode.
Markus Armbruster [Fri, 6 Feb 2004 22:43:35 +0000 (22:43 +0000)]
(OSXCFLAGS): Don't switch gcc to cruft mode.
(OSXLFLAGS): Don't sweep undefined references under the carpet; link
with the right libraries instead.
(LINUXCFLAGS, LINUXPTHCFLAGS): Compile with symbols.

20 years agoCorrect info on mining harbors. Closes #827442.
Markus Armbruster [Fri, 6 Feb 2004 22:31:05 +0000 (22:31 +0000)]
Correct info on mining harbors.  Closes #827442.

20 years agoFix BTU cost. Closes #782956.
Markus Armbruster [Fri, 6 Feb 2004 22:22:51 +0000 (22:22 +0000)]
Fix BTU cost.  Closes #782956.

20 years agoDelete lie about give without arguments. Closes #804709.
Markus Armbruster [Fri, 6 Feb 2004 22:14:47 +0000 (22:14 +0000)]
Delete lie about give without arguments.  Closes #804709.

20 years agoDocument effect of BLITZ. Delete lies about the total number of
Markus Armbruster [Fri, 6 Feb 2004 22:11:13 +0000 (22:11 +0000)]
Document effect of BLITZ.  Delete lies about the total number of
players display.  Closes #809867.

20 years ago.SA starts a paragraph.
Markus Armbruster [Fri, 6 Feb 2004 21:30:08 +0000 (21:30 +0000)]
.SA starts a paragraph.

20 years agoSpelling fix.
Markus Armbruster [Fri, 6 Feb 2004 21:28:55 +0000 (21:28 +0000)]
Spelling fix.

20 years agoProperly escape `\'. Fix info on sector capabilities. Closes
Markus Armbruster [Fri, 6 Feb 2004 21:27:15 +0000 (21:27 +0000)]
Properly escape `\'.  Fix info on sector capabilities.  Closes
#861874.

20 years agoFix off-by-one in arguments of substr() that ate first letter of .SY,
Markus Armbruster [Fri, 6 Feb 2004 19:31:41 +0000 (19:31 +0000)]
Fix off-by-one in arguments of substr() that ate first letter of .SY,
.EX and .L text.

20 years agoGarbage collection to side-step sparse file descriptor problem.
Markus Armbruster [Fri, 6 Feb 2004 12:35:51 +0000 (12:35 +0000)]
Garbage collection to side-step sparse file descriptor problem.
(io_select, io_flush, io_iopfromfd): Unused, remove.
(io_open): Allow more than one open for the same file descriptor.
The check is the last remaining use of io_list[], and it's
unimportant.
(io_list, niop, io_init): io_list[] no longer serves any purpose,
remove.  Sparse allocation of file descriptors (deplorable misfeature
of Winsock, at least some versions) is no longer a problem.
(getfdtablesize): Unused, remove.  Was broken for Windows anyway.

20 years ago(io_open, io_iopfromfd): Properly check argument FD to protect
Markus Armbruster [Fri, 6 Feb 2004 12:12:58 +0000 (12:12 +0000)]
(io_open, io_iopfromfd): Properly check argument FD to protect
io_list[] indexing.
(niop, io_init): Store length of io_list[] in new niop.
(player_accept): Checking the socket file descriptor here is now
redundant.  Remove.

20 years ago(msl_hit): Tell victim coordinates of incoming missile. Closes
Markus Armbruster [Thu, 5 Feb 2004 16:29:32 +0000 (16:29 +0000)]
(msl_hit): Tell victim coordinates of incoming missile.  Closes
#799873.  From Marc Olzheim.

20 years ago(rpt): Fix rpt[N_NUKE_SSTOP]; not every sub-launched missile is
Markus Armbruster [Thu, 5 Feb 2004 16:15:13 +0000 (16:15 +0000)]
(rpt): Fix rpt[N_NUKE_SSTOP]; not every sub-launched missile is
nuclear.  Closes #797330.  From Marc Olzheim.

20 years ago(landmine): Add a missing call of putland(). Closes #682570. Don't
Markus Armbruster [Thu, 5 Feb 2004 16:03:59 +0000 (16:03 +0000)]
(landmine): Add a missing call of putland().  Closes #682570.  Don't
complain about running out of things when the job actually completed
fine.  From Marc Olzheim.

20 years ago(player_coms): Fix flag argument of map commands in c_form. From Marc
Markus Armbruster [Tue, 3 Feb 2004 17:27:51 +0000 (17:27 +0000)]
(player_coms): Fix flag argument of map commands in c_form.  From Marc
Olzheim.

20 years ago(map): Reject flags `t' and `r' unless it's a bmap command. Both used
Markus Armbruster [Tue, 3 Feb 2004 17:24:05 +0000 (17:24 +0000)]
(map): Reject flags `t' and `r' unless it's a bmap command.  Both used
to change the map command into the corresponding bmap command, which
was undocumented and didn't make sense.  From Marc Olzheim.

20 years ago(wripglob): Don't emit unnecessary includes.
Markus Armbruster [Tue, 3 Feb 2004 17:16:06 +0000 (17:16 +0000)]
(wripglob): Don't emit unnecessary includes.

20 years ago(wrgamesdef): Generate EMPDIR instead of EMPPATH(). Change callers of
Markus Armbruster [Sat, 31 Jan 2004 19:33:00 +0000 (19:33 +0000)]
(wrgamesdef): Generate EMPDIR instead of EMPPATH().  Change callers of
EMPPATH() to use EMPDIR.  This avoids triggering MSVC bugs, and drops
support for traditional, pre-ISO cpp.  Closes #753935.
(gamedir, lostfil, playerbin, updatebin): Unused, remove.

20 years ago(payo, scuttle_tradeship, sdump): Disclose construction site only to
Markus Armbruster [Sat, 31 Jan 2004 10:03:49 +0000 (10:03 +0000)]
(payo, scuttle_tradeship, sdump): Disclose construction site only to
original owner and deities.  Closes #815197.

20 years ago(KILL): Off by one in fnlist[]. This is why client option -k didn't
Markus Armbruster [Sat, 31 Jan 2004 09:42:34 +0000 (09:42 +0000)]
(KILL): Off by one in fnlist[].  This is why client option -k didn't
work.
(WAT, GKILL): Unused, remove.

20 years agoRemove outdated version information for now. Keeping it up-to-date by
Markus Armbruster [Fri, 30 Jan 2004 21:49:54 +0000 (21:49 +0000)]
Remove outdated version information for now.  Keeping it up-to-date by
hand is too much work; should be automated.

20 years agoProtect space between option and option arg, so that typesetting doesn't
Markus Armbruster [Fri, 30 Jan 2004 21:11:11 +0000 (21:11 +0000)]
Protect space between option and option arg, so that typesetting doesn't
swallow it.

20 years ago(do_mob_land): Do not regenerate mobility faster while it is negative.
Markus Armbruster [Fri, 30 Jan 2004 16:20:45 +0000 (16:20 +0000)]
(do_mob_land): Do not regenerate mobility faster while it is negative.

20 years agoAdd missing pages on sbmap, pbmap, lbmap. Document flags * and h
Markus Armbruster [Fri, 30 Jan 2004 15:38:48 +0000 (15:38 +0000)]
Add missing pages on sbmap, pbmap, lbmap.  Document flags * and h
where that was missing.  Make all pages fully consistent.  Form Marc
Olzheim.

20 years ago(file_lock, file_unlock, ef_lock, ef_unlock, commlock, communlock):
Markus Armbruster [Thu, 29 Jan 2004 17:07:26 +0000 (17:07 +0000)]
(file_lock, file_unlock, ef_lock, ef_unlock, commlock, communlock):
File locking doesn't make sense, must be a leftover from the distant
past.  Remove.  Callers changed.

20 years ago(fort): Refuse to fortify land units embarked on land units. Properly
Markus Armbruster [Thu, 29 Jan 2004 13:36:25 +0000 (13:36 +0000)]
(fort): Refuse to fortify land units embarked on land units.  Properly
report failure to fortify.

20 years ago(lnd_fortify): Do not fortify units embarked on ships or land units.
Markus Armbruster [Thu, 29 Jan 2004 13:34:15 +0000 (13:34 +0000)]
(lnd_fortify): Do not fortify units embarked on ships or land units.

20 years ago(take_move_in_mob): Automatic fortification on excess mobility may
Markus Armbruster [Thu, 29 Jan 2004 11:55:26 +0000 (11:55 +0000)]
(take_move_in_mob): Automatic fortification on excess mobility may
fortify units while they are `at the prompt'.  That's okay.  But
action that consumes mobility must zap the fortification again.

20 years ago(player_coms): Fix c_form for upgrade. From Marc Olzheim.
Markus Armbruster [Wed, 28 Jan 2004 22:12:27 +0000 (22:12 +0000)]
(player_coms): Fix c_form for upgrade.  From Marc Olzheim.

20 years agoUse strict & warnings. Fix several minor bugs uncovered by it.
Markus Armbruster [Wed, 28 Jan 2004 21:21:48 +0000 (21:21 +0000)]
Use strict & warnings.  Fix several minor bugs uncovered by it.

Semantics of assigning to $[ changed in Perl 5, and its use is `highly
discouraged'.  Programs obviously assumed $[ affects all arrays, but
it doesn't in Perl 5.  If these programs ever worked, then certainly
not with Perl 5.  Remove the assignments and shift indexes
accordingly.

20 years agoDocument automatic fortification. Clarify engineer bonus.
Markus Armbruster [Wed, 28 Jan 2004 21:14:50 +0000 (21:14 +0000)]
Document automatic fortification.  Clarify engineer bonus.

20 years ago(guerrilla): Give wandering che inexact, somewhat randomized
Markus Armbruster [Wed, 28 Jan 2004 19:30:15 +0000 (19:30 +0000)]
(guerrilla): Give wandering che inexact, somewhat randomized
information on military.  Closes #750533.  Why?  Wandering che pick a
sector with minimal military from the adjacent sectors that can get
che.  Ties are broken in favour of the first sector examined.  Since
sectors are examined in the order given by by diroff[], che prefer
directions with low index in diroff[].  This tends to channel che
towards the northeast.  But the change makes ties very unlikely.

20 years ago(lnd_sweep, lnd_mar_one_sector): Automatic fortification on excess
Markus Armbruster [Wed, 28 Jan 2004 19:02:29 +0000 (19:02 +0000)]
(lnd_sweep, lnd_mar_one_sector): Automatic fortification on excess
mobility may fortify units while they are `at the march prompt'.
That's okay.  But action that consumes mobility must zap the
fortification again.

20 years ago(do_mob_land): Use excess mobility to fortify. Note that units
Markus Armbruster [Wed, 28 Jan 2004 17:00:29 +0000 (17:00 +0000)]
(do_mob_land): Use excess mobility to fortify.  Note that units
requiring fuel to gain mobility never get excess mobility.  Adapted
patch from from Marc Olzheim.  Closes #725457.

20 years ago(is_engineer, has_helpful_engineer): Rename. Require allied
Markus Armbruster [Wed, 28 Jan 2004 10:46:57 +0000 (10:46 +0000)]
(is_engineer, has_helpful_engineer): Rename.  Require allied
engineers.  This affecs command `fortify'.

20 years ago(lnd_fortify): New, factored out of fort().
Markus Armbruster [Wed, 28 Jan 2004 09:31:22 +0000 (09:31 +0000)]
(lnd_fortify): New, factored out of fort().
(fort): Use it; no functional changes.
(is_engineer): Move to logical place, external linkage.

20 years agoRemove declarations of stuff that doesn't exist.
Markus Armbruster [Wed, 28 Jan 2004 09:27:28 +0000 (09:27 +0000)]
Remove declarations of stuff that doesn't exist.

20 years agoFix typo. Closes #824252.
Markus Armbruster [Fri, 23 Jan 2004 16:48:23 +0000 (16:48 +0000)]
Fix typo.  Closes #824252.

20 years ago(player_new): Proper error checking. Oops, now it may return NULL.
Markus Armbruster [Fri, 23 Jan 2004 13:44:19 +0000 (13:44 +0000)]
(player_new): Proper error checking.  Oops, now it may return NULL.
Proper error checking in callers required.
(update_wait, market_update): If player_new() returns null pointer,
skip update.
(player_accept): If player_new() returns null pointer, close
connection.

20 years ago(map, draw_map, MAP_HIGH): New map command flag `h' to highlight own
Markus Armbruster [Wed, 21 Jan 2004 14:54:56 +0000 (14:54 +0000)]
(map, draw_map, MAP_HIGH): New map command flag `h' to highlight own
sectors; from Marc Olzheim.

20 years ago(sabo): Damage report to player was in deity coordinates, fix. Closes
Markus Armbruster [Wed, 21 Jan 2004 10:37:56 +0000 (10:37 +0000)]
(sabo): Damage report to player was in deity coordinates, fix.  Closes
#856856.

20 years agoDon't explain sector production twice; replace one copy by a
Markus Armbruster [Tue, 20 Jan 2004 21:37:17 +0000 (21:37 +0000)]
Don't explain sector production twice; replace one copy by a
reference.  Document execution of ship orders and sail paths.

20 years ago(ROLLOVER_AVAIL, opt_ROLLOVER_AVAIL, Options, do_feed, prod, newe):
Markus Armbruster [Tue, 20 Jan 2004 16:51:43 +0000 (16:51 +0000)]
(ROLLOVER_AVAIL, opt_ROLLOVER_AVAIL, Options, do_feed, prod, newe):
New option ROLLOVER_AVAIL; from Drake Diedrich.

20 years ago[apollo]: Tables were gutted for unknown reasons. Don't.
Markus Armbruster [Tue, 20 Jan 2004 15:50:11 +0000 (15:50 +0000)]
[apollo]: Tables were gutted for unknown reasons.  Don't.

20 years ago[_WIN32] Fix previous rev.
Markus Armbruster [Tue, 20 Jan 2004 15:43:44 +0000 (15:43 +0000)]
[_WIN32] Fix previous rev.

20 years ago(empth_exit): Fix shutdown on reading "quit" from stdin (crash bug,
Markus Armbruster [Thu, 15 Jan 2004 16:29:53 +0000 (16:29 +0000)]
(empth_exit): Fix shutdown on reading "quit" from stdin (crash bug,
reportedly).

20 years agoFix previous rev.
Markus Armbruster [Thu, 15 Jan 2004 14:39:24 +0000 (14:39 +0000)]
Fix previous rev.

20 years ago(io_select, io_init, io_open, io_close, io_output, io_flush, io_write,
Markus Armbruster [Thu, 15 Jan 2004 14:32:00 +0000 (14:32 +0000)]
(io_select, io_init, io_open, io_close, io_output, io_flush, io_write,
io_puts, iom_create, iom_getmask, iom_set, iom_clear, iom_zero):
Portability bug: io_select() passed bit_fdmask to select().  This
breaks the fd_set abstraction, and works only with the traditional
Unix implementation of fd_set.  Use fd_set and its operations instead.
Remove unused source files.  Note: the offending code is currently
unsued.  But it's a time bomb, and fixing it also replaces a bunch of
code by standard library services.

20 years agoUnused, remove.
Markus Armbruster [Thu, 15 Jan 2004 14:07:15 +0000 (14:07 +0000)]
Unused, remove.

20 years agoMerge Makefile rev. 1.5. Update dependencies.
Markus Armbruster [Thu, 15 Jan 2004 13:49:40 +0000 (13:49 +0000)]
Merge Makefile rev. 1.5.  Update dependencies.

20 years agoPortability fixes: don't declare library functions, include
Markus Armbruster [Thu, 15 Jan 2004 13:43:50 +0000 (13:43 +0000)]
Portability fixes: don't declare library functions, include
appropriate headers.  Also remove some unused declarations.

20 years ago(main): Portability bug: code passed bit_fdmask to select(). This
Markus Armbruster [Thu, 15 Jan 2004 09:39:51 +0000 (09:39 +0000)]
(main): Portability bug: code passed bit_fdmask to select().  This
breaks the fd_set abstraction, and works only with the traditional
Unix implementation of fd_set.  Use fd_set and its operations instead.
Remove unused source files.

20 years agoFix previous rev.
Markus Armbruster [Thu, 15 Jan 2004 09:37:06 +0000 (09:37 +0000)]
Fix previous rev.

20 years agoRegenerated. Should be automatically generated by make and removed
Markus Armbruster [Tue, 13 Jan 2004 18:48:00 +0000 (18:48 +0000)]
Regenerated.  Should be automatically generated by make and removed
from the repository.

20 years ago(player_coms, lstats, lsta): Rename command `lstats' to `lstat' to
Markus Armbruster [Tue, 13 Jan 2004 18:46:48 +0000 (18:46 +0000)]
(player_coms, lstats, lsta): Rename command `lstats' to `lstat' to
match info as well as related commands `sstat' and `pstat'.  Rename
lstats() to lsta() to uphold the convention that functions
implementing commands are named like the command or its four character
prefix.  Closes #804587.

20 years ago(player_coms, best): `bestdistpath' and `bestpath' violate the rule
Markus Armbruster [Tue, 13 Jan 2004 18:23:26 +0000 (18:23 +0000)]
(player_coms, best): `bestdistpath' and `bestpath' violate the rule
that commands must be unique within the first four letters.  best()
implements both.  It calls BestDistPath() for the former, and
BestLandPath() for the latter.  However, BestDistPath() is just a
wrapper around BestLandPath(); it does exactly the same.  Drop
`bestdistpath'.

20 years ago(mineq): Rewrite. mineq("dumpcrap", "dump ") now yields ME_MISMATCH
Markus Armbruster [Tue, 13 Jan 2004 17:23:02 +0000 (17:23 +0000)]
(mineq): Rewrite.  mineq("dumpcrap", "dump ") now yields ME_MISMATCH
instead of ME_PARTIAL.  Closes #804611.

20 years ago(index, rindex): Obsolete BSDisms; remove. Use standard strchr() and
Markus Armbruster [Tue, 13 Jan 2004 10:32:35 +0000 (10:32 +0000)]
(index, rindex): Obsolete BSDisms; remove.  Use standard strchr() and
strrchr() instead.

20 years ago(ask_olist): Fix reporting of mobility required for attack. Closes
Markus Armbruster [Mon, 12 Jan 2004 20:13:28 +0000 (20:13 +0000)]
(ask_olist): Fix reporting of mobility required for attack.  Closes
#798045.

20 years ago(do_desi): Move check for redesignated capital behind the actual
Markus Armbruster [Mon, 12 Jan 2004 17:28:22 +0000 (17:28 +0000)]
(do_desi): Move check for redesignated capital behind the actual
redesignation.  Closes #803768.

20 years ago(index, rindex): Obsolete BSDisms; remove. Use standard strchr() and
Markus Armbruster [Thu, 8 Jan 2004 18:15:13 +0000 (18:15 +0000)]
(index, rindex): Obsolete BSDisms; remove.  Use standard strchr() and
strrchr() instead.
(setbuffer): Obsolete BSDism, unused; remove.

20 years ago(bzero, bcopy): Obsolete BSDisms; remove. Remove some calls without
Markus Armbruster [Thu, 8 Jan 2004 17:54:28 +0000 (17:54 +0000)]
(bzero, bcopy): Obsolete BSDisms; remove.  Remove some calls without
effect.  Replace calls by struct assignment where possible.  Replace
clear buffer, copy string to buffer by strncpy().  Use assignment to
clear when that's clearer.  Replace overlapping copy through bounce
buffer by memmove().  Replace rest by standard memset() and memcpy().
Also use sizeof() instead of literal array sizes for robustness, and
instead of symbolic array sizes for clarity.

20 years agoFix missing include <string.h>.
Markus Armbruster [Thu, 8 Jan 2004 17:26:18 +0000 (17:26 +0000)]
Fix missing include <string.h>.

20 years ago(copy, atopi, same): Remove, use strcpy(), atoi(), strcmp(). Callers
Markus Armbruster [Thu, 8 Jan 2004 10:20:44 +0000 (10:20 +0000)]
(copy, atopi, same): Remove, use strcpy(), atoi(), strcmp().  Callers
changed.  Remove empty source files.

20 years agoRemove superflous include.
Markus Armbruster [Thu, 8 Jan 2004 10:11:38 +0000 (10:11 +0000)]
Remove superflous include.

20 years ago(ffs): Unused, remove.
Markus Armbruster [Thu, 8 Jan 2004 10:10:19 +0000 (10:10 +0000)]
(ffs): Unused, remove.

20 years ago(login): Fix reading of country name and, if we lack getpass(),
Markus Armbruster [Thu, 8 Jan 2004 05:57:38 +0000 (05:57 +0000)]
(login): Fix reading of country name and, if we lack getpass(),
password.  Used to strip \r from country name (superflous), and not to
strip \n from password (required).

20 years agoFix previous rev.
Markus Armbruster [Tue, 6 Jan 2004 20:19:37 +0000 (20:19 +0000)]
Fix previous rev.

20 years ago(wrauth): Emit example `nowhereman@nowhere.land.edu' commented out.
Markus Armbruster [Tue, 6 Jan 2004 20:18:46 +0000 (20:18 +0000)]
(wrauth): Emit example `nowhereman@nowhere.land.edu' commented out.
nowhere.land.edu doesn't exist right now, but it might pop up any
time.

20 years ago(info): Use ANSI strerror() instead of non-portable sys_errlist[].
Markus Armbruster [Tue, 6 Jan 2004 20:08:53 +0000 (20:08 +0000)]
(info): Use ANSI strerror() instead of non-portable sys_errlist[].

20 years ago(logerror): Remove unused cruft.
Markus Armbruster [Tue, 6 Jan 2004 20:07:03 +0000 (20:07 +0000)]
(logerror): Remove unused cruft.

20 years agoFix title.
Markus Armbruster [Thu, 18 Dec 2003 09:17:07 +0000 (09:17 +0000)]
Fix title.

20 years ago(at_minimum, blocksig, emp_bitinit, filelogerror, iceil, ifloor,
Markus Armbruster [Wed, 17 Dec 2003 23:13:50 +0000 (23:13 +0000)]
(at_minimum, blocksig, emp_bitinit, filelogerror, iceil, ifloor,
mapdsq, mask, signame, strscan, sys_siglist, typed_wire, unblocksig):
Unused, remove.

(add_airport, add_to_fired_queue, air_damage, anti_torp, best_path,
bitinit2, blankrow, bmnxtsct, bp_init, build_mission_list,
build_mission_list_type, buildeff, candchrg, canshoot, cantorp,
cede_sect, cede_ship, checksect, client_cmd, coun_cmd,
deity_build_land, divide, do_conv, do_defdam, do_demo, do_desi,
do_mob_land, do_mob_plane, do_mob_sect, do_mob_ship, do_prod,
docountry, doland, doplane, doship, dosupport, dotsprintf, dounit,
empth_start, enlist, errcheck, filereport, find_airport, find_escorts,
findcondition, fire_dchrg, fire_torp, fltp_to_list, get_minimum,
getin, goodsect, grab_sect, grab_ship, grow_people, growfood, in_addr,
infect_people, init_mchr, init_pchr, init_plchr, is_engineer,
itemname, kill_cmd, landrepair, limit_level, list_cmd, lupgr,
materials_charge, materials_cost, meltitems, mission_pln_arm,
mission_pln_sel, move_map, nat_cap, num_units, outid, pass_cmd,
perform_mission, pinflak_planedamage, play_cmd, pln_equip, prexpense,
print_res, prplanes, prunits, pupgr, quiet_bigdef, quit_cmd, radmap2,
retreat_land1, retreat_ship1, s_commod, sanc_cmd, sarg_getrange,
scuttle_it, scuttle_land, set_target, share_incr, shiprepair,
shp_check_mines, shp_check_nav, shp_check_one_mines, shp_hit_mine,
shp_interdict, shp_mess, sort_lookup_list, starvation, supgr, swap,
take_casualties, trunc_people, upd_buildeff, upd_land, upd_ship,
use_ammo, user_cmd): Change linkage to static.

20 years agoList generated files that CVS doesn't ignore by default.
Markus Armbruster [Wed, 17 Dec 2003 23:02:40 +0000 (23:02 +0000)]
List generated files that CVS doesn't ignore by default.

20 years agoCosmetics.
Markus Armbruster [Wed, 17 Dec 2003 21:26:26 +0000 (21:26 +0000)]
Cosmetics.

20 years ago(show, show_item): New `show item'. From Ron Koenderink; changes to
Markus Armbruster [Wed, 17 Dec 2003 21:22:08 +0000 (21:22 +0000)]
(show, show_item): New `show item'.  From Ron Koenderink; changes to
info files heavily hacked by me.

20 years agoSpelling fixes.
Markus Armbruster [Wed, 17 Dec 2003 21:20:01 +0000 (21:20 +0000)]
Spelling fixes.

20 years agoerrno may not be a variable; users must include errno.h instead of
Markus Armbruster [Wed, 17 Dec 2003 21:18:12 +0000 (21:18 +0000)]
errno may not be a variable; users must include errno.h instead of
declaring it like `extern int errno'.

20 years ago(setfdtablesize): Remove. This may drop support for Sequent.
Markus Armbruster [Wed, 17 Dec 2003 21:14:00 +0000 (21:14 +0000)]
(setfdtablesize): Remove.  This may drop support for Sequent.

(getfdtablesize) [hpux]: Client and server had different versions.
Standardize on server's.

20 years agoFix previous rev.
Markus Armbruster [Wed, 17 Dec 2003 21:07:54 +0000 (21:07 +0000)]
Fix previous rev.

20 years agoMakefiles worked only if certain directories and generated files were
Markus Armbruster [Wed, 17 Dec 2003 21:01:37 +0000 (21:01 +0000)]
Makefiles worked only if certain directories and generated files were
already present.  These files are no longer in CVS.  Fix Makefiles.

20 years ago(show, show_item): New `show item'. From Ron Koenderink; changes to
Markus Armbruster [Wed, 17 Dec 2003 19:50:20 +0000 (19:50 +0000)]
(show, show_item): New `show item'.  From Ron Koenderink; changes to
info files heavily hacked by me.

20 years agoGenerated file, shouldn't have been committed.
Markus Armbruster [Wed, 17 Dec 2003 19:46:54 +0000 (19:46 +0000)]
Generated file, shouldn't have been committed.

20 years ago(edit, prsect, doland): Fix `editing' sector coordinates (copies
Markus Armbruster [Wed, 17 Dec 2003 17:24:30 +0000 (17:24 +0000)]
(edit, prsect, doland): Fix `editing' sector coordinates (copies
sector).  New: edit distribution sector, designation and new
designation.  From Ron Koenderink.

20 years ago(update_policy_check, diffx, diffy, takeover_plane): Prototypes were
Markus Armbruster [Wed, 17 Dec 2003 16:58:16 +0000 (16:58 +0000)]
(update_policy_check, diffx, diffy, takeover_plane): Prototypes were
missing.

20 years agoFix some damage done by indent-emp. Code is still hard to read.
Markus Armbruster [Wed, 17 Dec 2003 16:46:25 +0000 (16:46 +0000)]
Fix some damage done by indent-emp.  Code is still hard to read.

20 years agoRemove pragmas that promote certain serious warnings to errors on
Markus Armbruster [Sun, 14 Dec 2003 10:15:03 +0000 (10:15 +0000)]
Remove pragmas that promote certain serious warnings to errors on
windows.  For obvious reasons, such warnings ought to be fixed.
Making compilation abort is the sledgehammer method to force that.
It's a stupid method for us, as we develop on various platforms, and
don't test every single commit under Windows.  It gratuitously breaks
programs that work fine.  Leave them as warnings, and fix them on
sight.

20 years ago(edit): Rewrite of undocumented and broken feature: if there are extra
Markus Armbruster [Tue, 25 Nov 2003 19:16:18 +0000 (19:16 +0000)]
(edit): Rewrite of undocumented and broken feature: if there are extra
arguments, they are interpreted as key-value pairs, and edit does not
prompt for more.  From Ron Koenderink.
(player_coms): Document extended syntax.

20 years ago(sorde): Output format fixes from Ron Koenderink.
Markus Armbruster [Sun, 9 Nov 2003 13:33:17 +0000 (13:33 +0000)]
(sorde): Output format fixes from Ron Koenderink.

20 years ago(LND_SPY_DETECT_CHANCE): New.
Markus Armbruster [Sun, 9 Nov 2003 12:52:16 +0000 (12:52 +0000)]
(LND_SPY_DETECT_CHANCE): New.
(look_land, sabo, prunits, unitsatxy, lnd_mar_one_sector,
count_sect_units, takeover): Use it.  Closes bug#786369.

20 years ago(decl): Remove broken and redundant check of declarer's country
Markus Armbruster [Sun, 9 Nov 2003 10:53:06 +0000 (10:53 +0000)]
(decl): Remove broken and redundant check of declarer's country
number.  Check is redundant, because invalid values can come only from
natarg(), and those are checked above.  Check is broken because
natarg() returns negative value on error, not 255.