Commit graph

3972 commits

Author SHA1 Message Date
8cd0160176 Declare all configuration variables in optlist.h. Include that
instead of declaring them all over the place.  This uncovered type
errors:
(s_p_etu, adj_update): Defined long, sometimes declared int.  Kills
big endian machines where sizeof(long) != sizeof(int).  Change to
int.

(set_option, delete_option, optstrset, intset, floatset, doubleset,
longset, optionset, optiondel, worldxset): Change linkage to static.
2004-02-17 22:58:04 +00:00
80aae5b8e6 Remove some superflous declarations missed in the previous revision. 2004-02-17 22:29:59 +00:00
c1162bbcf4 Cosmetic. 2004-02-17 18:08:51 +00:00
e446bfd904 (empth_t, empth_sem_t) [_EMPTH_WIN32]: Use incomplete types, not void for
abstract data types.
2004-02-17 18:05:23 +00:00
237baffca9 Supply prototypes where possible. This uncovered type errors with
thread entrypoints:
(lwpSelect, shutdown_sequence): Parameters didn't match thread entry
point prototype.
(lwpEntryPoint): Arguments didn't match thread entry point prototype.

Change linkage of functions without prototype declaration to static
where possible.

Remove some superflous declarations, replace others by suitable
includes.
2004-02-17 17:59:30 +00:00
7dbb87b0e0 Windows cleanup: include proper headers, remove unused variables, fix
type of signal handler.  Mostly from Ron Koenderink.
2004-02-16 17:44:38 +00:00
cc5d78c2f0 (move_ground): Remove superflous parameter `mobility'. Callers
changed.  Edit for clarity.  No functional changes.
2004-02-15 21:27:41 +00:00
4fa84b5cb1 (emp_sig_t): Pre-ISO C compatibility cruft. Just use void. 2004-02-15 21:00:27 +00:00
b218799e15 (payo): Previous revision screwed up ally bonus. 2004-02-15 20:28:52 +00:00
27efd2c266 (upd_ship): Capability fish didn't work together with capability oil. 2004-02-15 19:30:03 +00:00
42a43e1461 (player_accept): Passed pointer to incorrect type to accept(). 2004-02-15 19:26:52 +00:00
9a9820d77a (clean): Fix for Windows. 2004-02-15 19:24:08 +00:00
7f8baa23f0 Fix markup of right quotes. 2004-02-15 19:23:42 +00:00
a09d36121f Fix generated HTML: proper !DOCTYPE, head, body, p.
Fix request parsing, so empty requests are properly ignored.
2004-02-15 19:21:52 +00:00
d368e696c0 Spelling fixes. 2004-02-15 18:23:45 +00:00
a825fd9f2c One TH request per file; remove second one. 2004-02-15 18:21:50 +00:00
a43e509c5e Clarification. 2004-02-15 18:20:37 +00:00
792e81428c Use plain double quote instead of \*Q and \*U in .EX, because it's
typed text.
2004-02-15 18:20:13 +00:00
358606e0f1 (Q, U): Expanded into nothing; fix. 2004-02-15 18:15:48 +00:00
d76180e80d (lF): Unused, remove. 2004-02-15 18:12:45 +00:00
237d9ba1c8 Deviated from actual behavior (matched old behavior?). Fixed. 2004-02-15 17:38:23 +00:00
55d58955a8 empclient later than 2.8 support the Empire 4 protocol, too. Don't
claim no other client supports it.
2004-02-15 17:35:30 +00:00
4f94dbae3a Fix title (second argument of TH). 2004-02-15 17:31:56 +00:00
72cc68b837 Stricter tests for requests.
Request s3 doesn't exist, remove translation.
2004-02-15 17:29:21 +00:00
cb5c45dcd2 Fix indentation; $ in the middle of regexps confuses Emacs, so use \Z
instead.  No functional changes.
2004-02-15 16:22:02 +00:00
eca121f709 Parse requests properly. Simpler, more correct and more robust.
Fix translation of escapes.  Still a hack.

Fix Empire client prompt in translation of EX and SY.
2004-02-15 16:14:46 +00:00
1625567f97 Fix markup: bogus numerical arguments that were mapped to zero
silently (troff) or under protest (groff); table column width (also
fixed some .L arguments to match actual game output); spacing in
no-fill text; stray .FI, .in and .ce messing up indentation; stray .L;
misspelled request and escape names; escaping of control and escape
characters; properly ignore form-feed; argument quoting; extra
arguments to .NF.  Still broken: .L abused for headings, which
triggers many groff warnings about negative indentation.
2004-02-15 15:59:09 +00:00
4456ef9a3a (nF, eF, bF, iF, lF, pF, cS, CS): Define to silence groff. 2004-02-15 13:22:39 +00:00
627f2f3ab2 Convert tabs before \" comments into spaces (troff pitfall). 2004-02-15 08:40:09 +00:00
8288c3a5c7 (SY, EX): Fix Empire client prompt. 2004-02-15 07:59:04 +00:00
c5c6042f36 (eF, EF): Font C doesn't exist, use R. 2004-02-15 07:58:02 +00:00
4091a5ff0b (N, EF): Define to R to silence groff. 2004-02-15 07:56:46 +00:00
949f3ae940 4.2.13 last minute changes. 2004-02-13 22:20:17 +00:00
995a22dd91 Change tarball names to empire$part-4.2.13.tar.gz. Tarballs now
unpack in a directory whose name matches the tarball name, as usual.
2004-02-13 21:27:19 +00:00
9020da90b5 Set archive members' owner, group and force sensible permissions. 2004-02-13 21:07:24 +00:00
94b86ae057 (lwpInitContext): Fix .function for current versions of as. 2004-02-13 21:00:06 +00:00
9cfb72ab45 (main, USERNAME): Change Windows user name from win-empcl2.8 to nobody
to get rid of the version number.  Keeping it up-to-date by hand is
too much work, but leaving it at 2.8 would be confusing.
2004-02-12 16:50:48 +00:00
15c1afe4ae (FREEBSDLFLAGS): Compile with symbols.
(HPCFLAGS, HPUXCFLAGS, RTPCLFLAGS, SOLCFLAGS, AIXCFLAGS): NOFLOCK is
unused, don't define it.
2004-02-10 19:45:41 +00:00
cbf9d68372 Don't fool around with obsolete strings.h, just include standard
string.h.
2004-02-10 18:17:34 +00:00
51c3215cf8 Fix previous rev. 2004-02-10 18:11:44 +00:00
fa3675836a Fix the previous revision. 2004-02-10 13:57:23 +00:00
2e57b2b610 Document production, feeding and plague for units. 2004-02-10 13:54:18 +00:00
07ee157e2a (move_ground): explore() used endsect without initialized in certain
cases, e.g. `expl X,Y N X,Y'.  Other callers might have had similar
problems.  Fix: always assign to *END.  Thanks to Marc Olzheim for
help with debugging and fixing this.
2004-02-10 10:49:21 +00:00
974ffded01 Do not regenerate mobility faster while it is negative. 2004-02-10 08:22:13 +00:00
e772e08dde Fix markup. 2004-02-10 08:17:28 +00:00
258b21e41b Fix .NA and .TH. 2004-02-10 08:14:34 +00:00
a3c7146c91 Create info.text.tar.gz and info.html.tar.gz. 2004-02-07 02:23:00 +00:00
ffcf6bff0f (iom, fdmax, newoutput): Serve no purpose since previous rev., remove
along with code to maintain them.  This removes the last uses of
io_mask.c io_mask.h; remove them.
2004-02-07 02:01:47 +00:00
c865f885e5 (install, ntinstall): Create the data directory.
(ntinstall): Remove erroneous and superflous mkdir bin.
2004-02-07 01:49:35 +00:00
024fa262f7 Update for 4.2.13. 2004-02-07 01:22:53 +00:00