Commit graph

123 commits

Author SHA1 Message Date
024fa262f7 Update for 4.2.13. 2004-02-07 01:22:53 +00:00
99ec0e41d1 Remove outdated version information for now. Keeping it up-to-date by
hand is too much work; should be automated.
2004-02-07 01:19:00 +00:00
f23d2846f9 New make target dist, to run new src/scripts/mkdist. 2004-02-07 01:09:22 +00:00
1669add706 Creating make include files with make doesn't work with many makes out
there.  Back out for 4.2.13.  You have to create the make include
files by hand if they don't exist.  That's the case for freshly
checked out trees.
2004-02-07 00:54:35 +00:00
d8983db308 (show, show_item): No new `show' features without matching machine
readable dumps.  Back out `show item' for 4.2.13.
2004-02-07 00:27:45 +00:00
49a4d5065c (nuk_add): Failed to call makenotlost() when reusing a `hole' in the
nuke file.
2004-02-06 23:52:11 +00:00
32fac041b2 (RESOLVE_IPADDRESS): gethostbyaddr() uses a lot of stack space on some
versions of GNU libc, which can lead to nasty heap smashes (observed
with 2.2.93).  Don't define RESOLVE_IPADDRESS for now, until we
readjust thread stack sizes.
2004-02-06 23:42:36 +00:00
f520cbf4d2 Document help command. Closes #804550. 2004-02-06 23:39:59 +00:00
abe89a8596 Useless copy of an old version of Makefile, remove. 2004-02-06 23:34:21 +00:00
f4173aaa47 Whitespace fix. 2004-02-06 23:32:15 +00:00
ef042a754d No need to pass -nsob, it's implied by -kr. 2004-02-06 23:30:47 +00:00
0696bb190d Indentation fix. 2004-02-06 23:26:25 +00:00
a3cd473589 (fly): Fix confusing line break. 2004-02-06 23:17:50 +00:00
85b4125393 (doland): Fix output (run-away replace?). 2004-02-06 23:15:07 +00:00
6b4afa3f3d Fix previous rev. 2004-02-06 23:07:18 +00:00
0992747d62 (ca): Unused, remove. 2004-02-06 23:02:05 +00:00
d3ad838198 (LINUXPTHCFLAGS): Really don't define __USE_BSD_SIGNAL. 2004-02-06 22:57:31 +00:00
d64c91d37e (LINUXCFLAGS, LINUXPTHCFLAGS): Don't define lint and __USE_BSD_SIGNAL.
The latter can't be found anywhere in source or system headers.
2004-02-06 22:53:41 +00:00
cdafb96b5e (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.
2004-02-06 22:43:35 +00:00
1d872f80e0 Correct info on mining harbors. Closes #827442. 2004-02-06 22:31:05 +00:00
5d79233b24 Fix BTU cost. Closes #782956. 2004-02-06 22:22:51 +00:00
b3bb8368b5 Delete lie about give without arguments. Closes #804709. 2004-02-06 22:14:47 +00:00
fdef39bac9 Document effect of BLITZ. Delete lies about the total number of
players display.  Closes #809867.
2004-02-06 22:11:13 +00:00
b285fbf9ac .SA starts a paragraph. 2004-02-06 21:30:08 +00:00
561651629b Spelling fix. 2004-02-06 21:28:55 +00:00
dd772353bd Properly escape `\'. Fix info on sector capabilities. Closes
#861874.
2004-02-06 21:27:15 +00:00
f71b9a6de2 Fix off-by-one in arguments of substr() that ate first letter of .SY,
.EX and .L text.
2004-02-06 19:31:41 +00:00
875d72a00f 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.
2004-02-06 12:35:51 +00:00
52cb1f8c55 (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.
2004-02-06 12:12:58 +00:00
0655744bf7 (msl_hit): Tell victim coordinates of incoming missile. Closes
#799873.  From Marc Olzheim.
2004-02-05 16:29:32 +00:00
2b00422732 (rpt): Fix rpt[N_NUKE_SSTOP]; not every sub-launched missile is
nuclear.  Closes #797330.  From Marc Olzheim.
2004-02-05 16:15:13 +00:00
b36eaf98d3 (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.
2004-02-05 16:03:59 +00:00
aba72ef569 (player_coms): Fix flag argument of map commands in c_form. From Marc
Olzheim.
2004-02-03 17:27:51 +00:00
3bf6e9ca05 (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.
2004-02-03 17:24:05 +00:00
be40df6d7b (wripglob): Don't emit unnecessary includes. 2004-02-03 17:16:06 +00:00
cfc7e113ef (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.
2004-01-31 19:33:00 +00:00
a99bc3be73 (payo, scuttle_tradeship, sdump): Disclose construction site only to
original owner and deities.  Closes #815197.
2004-01-31 10:03:49 +00:00
c2ab6de7e7 (KILL): Off by one in fnlist[]. This is why client option -k didn't
work.
(WAT, GKILL): Unused, remove.
2004-01-31 09:42:34 +00:00
1d004f2f33 Remove outdated version information for now. Keeping it up-to-date by
hand is too much work; should be automated.
2004-01-30 21:49:54 +00:00
3a1ef7d9b1 Protect space between option and option arg, so that typesetting doesn't
swallow it.
2004-01-30 21:11:11 +00:00
eb64deaf1d (do_mob_land): Do not regenerate mobility faster while it is negative. 2004-01-30 16:20:45 +00:00
38912a0659 Add missing pages on sbmap, pbmap, lbmap. Document flags * and h
where that was missing.  Make all pages fully consistent.  Form Marc
Olzheim.
2004-01-30 15:38:48 +00:00
beba530119 (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.
2004-01-29 17:07:26 +00:00
daad9ed79c (fort): Refuse to fortify land units embarked on land units. Properly
report failure to fortify.
2004-01-29 13:36:25 +00:00
4b321add52 (lnd_fortify): Do not fortify units embarked on ships or land units. 2004-01-29 13:34:15 +00:00
a52a09be1f (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.
2004-01-29 11:55:26 +00:00
cff4c77bf9 (player_coms): Fix c_form for upgrade. From Marc Olzheim. 2004-01-28 22:12:27 +00:00
759d3185ad 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.
2004-01-28 21:21:48 +00:00
dfb337891d Document automatic fortification. Clarify engineer bonus. 2004-01-28 21:14:50 +00:00
40b35c4f30 (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.
2004-01-28 19:30:15 +00:00