Commit graph

113 commits

Author SHA1 Message Date
Ron Koenderink
91504142c3 [_WIN32,WIN32]: Remove the define WIN32.
Not required for VC8.
2007-02-24 13:39:07 +00:00
63bdc89835 Update copyright notice. 2007-01-09 19:09:31 +00:00
edd7fb06b4 Bump version to 4.3.10. 2007-01-08 18:26:24 +00:00
6a7ccb999a Bump version to 4.3.9. 2006-10-21 06:49:04 +00:00
cc0748894b Bump version to 4.3.8. 2006-07-21 05:28:47 +00:00
acad2240e0 Fix the previous revision (system header inclusion cleanup), it
doesn't compile on crufty old systems.
2006-07-11 18:42:08 +00:00
e42053d928 Break inclusion cycle: prototypes.h and commands.h included each
other.  Ensure headers in include/ can be included in any order
(except for econfig-spec.h, which is special).  New header types.h to
help avoid inclusion cycles.  Sort include directives.  Remove some
superflous includes.
2006-07-10 06:37:23 +00:00
7aaf8f26b3 (coord): Unused & inappropriate, remove. 2006-07-10 04:57:03 +00:00
f9588063ff Bump version to 4.3.7. 2006-06-22 05:51:16 +00:00
3f02f51469 Bump version to 4.3.6. 2006-05-29 18:39:46 +00:00
d723532add Bump version to 4.3.5. 2006-05-26 05:09:00 +00:00
46a7a9c17f SuSE 9.3 reportedly needs -lncurses for setupterm(). 2006-05-24 18:26:34 +00:00
4c4fdca42b Line breaks and other formatting issues. No functional changes. 2006-05-21 13:05:24 +00:00
cd73a47dfa Remove superflous casts and parenthesis. 2006-05-21 12:24:30 +00:00
2ae6be9af6 (num_teles, redir_fp, pipe_fp, exec_fd, sendeof, prompt, command)
(ac_intercept, all_missiles, ac_planedamage, ac_doflak, ac_landflak)
(ac_shipflak, ac_fireflak, can_fly, do_evade, att_calcodds)
(emp_setbitmap, lnd_hit_mine, conditions, get_wp, daemonize): Internal
linkage.
2006-05-20 13:54:45 +00:00
aac6312c74 (makeqt): Unused, remove. 2006-05-20 13:41:24 +00:00
e2f3f6839e (ioq_init): Initializing num_teles[] here is unmodular. Remove, as
default initialization is fine.
2006-05-20 13:40:56 +00:00
53f5cb861f Bump version to 4.3.4. 2006-05-18 18:10:27 +00:00
339d42438f Bump version to 4.3.3. 2006-04-29 06:43:48 +00:00
24e3342993 Bump version to 4.3.2. 2006-04-17 07:43:39 +00:00
4836f6c543 Fix long lines. No functional changes. 2006-04-16 17:20:33 +00:00
5c5175ac13 Bump version to 4.3.1. 2006-03-28 18:35:08 +00:00
8cd3845b08 Remove useless multiplications with sizeof(char) and sizeof(s_char).
Replace by literal 1 in other contexts.
2006-03-26 10:16:08 +00:00
ae6acc09ce (CFLAGS, CPPFLAGS): POSIX make has only CFLAGS. Fold CPPFLAGS into
CFLAGS.  Use CFLAGS when linking, to match POSIX make implicit rule.
2006-03-18 17:46:32 +00:00
62b041efb5 Search for terminal stuff in -lcurses as well. 2006-03-18 16:46:58 +00:00
Ron Koenderink
9e3825ee46 (termio) [_WIN32]: Change remaining "n"s to "records" for the
WIN32 ReadConsole().  Fixes broken exec command.
Broken in Rev 1.17.
2006-03-08 18:45:56 +00:00
0605e10c50 Check for -lws2_32 properly. The old code relied on $host_os, which
wasn't defined.
2006-03-04 06:55:12 +00:00
f5a9284867 Update known contributors comment. 2006-02-24 21:35:27 +00:00
73149fb151 Boilerplate file comment. 2006-02-24 21:23:46 +00:00
96a1e8277a Make Emacs use c-mode. 2006-02-20 05:24:44 +00:00
Ron Koenderink
1a539f9128 (main) [_WIN32]: Upgrade to winsock version 2.
Remove version 1.1 include files.
2006-02-05 15:47:13 +00:00
cadd69568a Not for development note. 2006-01-22 22:37:17 +00:00
c4ffd0a576 New build process for the standalone client distribution. 2006-01-22 21:57:06 +00:00
c105139375 Copy of include/proto.h, except for a comment documenting that fact.
Remove.
2006-01-22 16:01:44 +00:00
1432d08f81 Copy of man/empire.6. Remove. 2006-01-22 16:01:01 +00:00
4515b84c59 COPYING duplicates information from README. Remove. Move GPL from
LICENSE to COPYING, because that's where it usually is.  Update all
the references to these files.
2006-01-21 19:48:41 +00:00
3e400c018c Update copyright notice. 2006-01-05 13:36:57 +00:00
Ron Koenderink
4abeea5de9 (termio) [_WIN32]: Add a variable (record) to match the pointer type
for console functions.  Add error checks for console functions.
2006-01-04 03:30:04 +00:00
fa52e6944d Normalize inclusion guards: use NAME_H for name.h. Some headers
lacked them, others used reserved identifiers.
2005-12-29 10:16:01 +00:00
c9589a89fb Fix the previous revision. 2005-12-28 23:07:24 +00:00
01624e9316 Fix rev. 1.29. 2005-12-28 23:06:14 +00:00
0772d47546 (login): Fix error messages. 2005-12-28 19:03:29 +00:00
19d88af312 Support for IPv6:
(tcp_listen, player_addrlen): New.  IPv4-only code factored out of
player_init().
(player_init): Use them.
(player_accept): Address family independence.
(tcp_connect): New.
(main): Use it.
(hostaddr, hostconnect, hostport): Internal linkage.
2005-12-28 18:50:08 +00:00
75a511a749 (main, intr) [!_WIN32]: signal() is a portability headache. Switch to
sigaction().
2005-12-28 16:59:20 +00:00
1ec32d97c4 Fix the previous revision. 2005-12-28 16:38:19 +00:00
87ace6afe4 (handleintr): Move to main.c. Internal linkage. Remove empty
handle.c
(interrupt): Internal linkage.

(interrupt): Use proper type for access from signal handler.
(intr): Don't increment to set, it's unobvious and it could overflow.
2005-12-28 16:16:41 +00:00
3aebb68ee7 Include config.h. 2005-12-27 18:04:19 +00:00
Ron Koenderink
8b934d615b (hStdIn) [_WIN32]: Add extern to declaration. 2005-12-25 00:51:55 +00:00
a98626df2d Replace the build process. The new one requires GNU Make, Autoconf
and Autoconf macros that come with Automake.  It supports multiple
separate builds of the same source tree, and updates dependencies
automatically.  Targets info, html, install, install-html, uninstall
and dist are not yet implemented.

System configuration is now automatic.  Previously, you had to choose
one of several canned system configurations, defined in Make.sysdefs.
Currently, system configuration always uses UCONTEXT for LWP, and
chooses LWP only if its requirements are met.

Feature configuration changed: instead of editing build.conf (further
processed by doconfig), you pass arguments to configure.  Note that
build.conf settings that can be overridden in econfig have no
configure equivalent; just edit econfig instead.

Because generated headers complicate makefiles, fold gamesdef.h into
its users: path.c and ipglob.c become path.c.in and ipglob.c.in,
constants.c, vers.c, options.h simply hardcode defaults (most of them
are run-time configurable).

Call the client empire instead of emp_client.  This matches what the
old standalone build did.
2005-12-20 20:25:35 +00:00
Ron Koenderink
733f747a36 (output): Remove C_FLUSH from output() as C_FLUSH is dealt with
by servercmd() and output() is not called from servercmd() with a
code of C_FLUSH.
2005-11-13 12:23:17 +00:00