]> git.pond.sub.org Git - empserver/log
empserver
19 years ago(total_work): Remove redundant conversion to int.
Markus Armbruster [Sun, 20 Feb 2005 19:36:41 +0000 (19:36 +0000)]
(total_work): Remove redundant conversion to int.
(total_work): New parameter maxpop.  Callers changed.
(newe, prod): Use total_work().  Old code failed to limit military
workers, thus didn't match the update.
(do_feed): Simplify.

19 years ago(prod): Widen column will make so that product p_sname is not
Markus Armbruster [Sun, 20 Feb 2005 18:51:55 +0000 (18:51 +0000)]
(prod): Widen column will make so that product p_sname is not
truncated.

19 years ago(prod): Several columns were too narrow, and didn't align properly for
Markus Armbruster [Sun, 20 Feb 2005 18:39:59 +0000 (18:39 +0000)]
(prod): Several columns were too narrow, and didn't align properly for
large values.  Remove column wkfc to make space, widen other columns.
Columns use2, use3 and max2, max3 lack separating space on the left
for large values, which don't occur in normal game configurations.

19 years ago(upd_ship): Fix the previous rev.
Markus Armbruster [Sun, 20 Feb 2005 01:46:17 +0000 (01:46 +0000)]
(upd_ship): Fix the previous rev.

19 years ago(prod, produce, upd_ship): struct pchrstr p_nrndx refers to u_char,
Markus Armbruster [Sat, 19 Feb 2005 17:28:30 +0000 (17:28 +0000)]
(prod, produce, upd_ship): struct pchrstr p_nrndx refers to u_char,
not s_char.  Fix types.

(upd_ship): Catch resource underflow (should not happen).

19 years ago(max_population): Fix for opt_RES_POP and d_maxpop != 999.
Markus Armbruster [Thu, 17 Feb 2005 21:40:24 +0000 (21:40 +0000)]
(max_population): Fix for opt_RES_POP and d_maxpop != 999.

19 years ago(max_population): New, factored out of max_pop().
Markus Armbruster [Thu, 17 Feb 2005 21:04:08 +0000 (21:04 +0000)]
(max_population): New, factored out of max_pop().
(max_pop): Use it.  Don't support null argument anymore.
(nati, gen_power): Use max_population() instead of max_pop() with null
argument.
(show_sect_stats): Use max_population() to simplify the code.
(prod, upd_buildeff): Use max_population() to get correct new maximum
population for limiting work when tearing down a big city.
Previously, this was broken in upd_buildeff().  In prod(), it was
broken when the new designation had odd maximum population, which
should not occur.

19 years ago(prod, nati): Use max_pop() instead of hardcoded values. Before,
Markus Armbruster [Sun, 13 Feb 2005 18:25:30 +0000 (18:25 +0000)]
(prod, nati): Use max_pop() instead of hardcoded values.  Before,
struct dchrstr member d_maxpop had no effect in some cases.

19 years ago(newe): Fix for max_pop() > 999.
Markus Armbruster [Sun, 13 Feb 2005 18:25:14 +0000 (18:25 +0000)]
(newe): Fix for max_pop() > 999.

19 years agoBreak an inclusion cycle missed by yesterday's change.
Markus Armbruster [Sun, 13 Feb 2005 10:37:46 +0000 (10:37 +0000)]
Break an inclusion cycle missed by yesterday's change.

19 years ago`make depend' attempts to make dependencies for *.c. This is plain
Markus Armbruster [Sat, 12 Feb 2005 19:45:59 +0000 (19:45 +0000)]
`make depend' attempts to make dependencies for *.c.  This is plain
evil, and ought to be fixed.  In particular, it chokes on this file,
because it includes Windows specific headers.  Which is fine, as the
file is compiled only under Windows.

Quick band-aid: wrap the file contents in #ifdef _WIN32.

19 years agoBreak inclusion cycles. To simplify the change, move a few
Markus Armbruster [Sat, 12 Feb 2005 19:26:59 +0000 (19:26 +0000)]
Break inclusion cycles.  To simplify the change, move a few
declarations to other, no less sensible places.

19 years ago(dchr_ca): New selector maxpop.
Markus Armbruster [Sat, 12 Feb 2005 17:06:21 +0000 (17:06 +0000)]
(dchr_ca): New selector maxpop.

19 years ago(multifire): If firing at a submarine with something that can't drop
Markus Armbruster [Sat, 12 Feb 2005 16:43:08 +0000 (16:43 +0000)]
(multifire): If firing at a submarine with something that can't drop
depth charges, don't disclose the target is a submarine.  Old code
allowed players to find all submarine uids.

19 years agoProducts table used tlev and tech synonymously. Confusing. Just use
Markus Armbruster [Sat, 12 Feb 2005 16:31:16 +0000 (16:31 +0000)]
Products table used tlev and tech synonymously.  Confusing.  Just use
tech.

19 years agoFrom Ray Hyatt:
Markus Armbruster [Sat, 12 Feb 2005 16:17:57 +0000 (16:17 +0000)]
From Ray Hyatt:
(dchrstr): New member d_maxpop.
(dchr): Initialize it.
(max_pop): Use it.  Use dchr[SCT_MINE].d_maxpop when called with null
argument.  RES_POP now affects mountains and plains as well.

19 years ago[service_main]: Code cleanup, remove commented out debugging,
Ron Koenderink [Sat, 22 Jan 2005 19:45:17 +0000 (19:45 +0000)]
[service_main]: Code cleanup, remove commented out debugging,
remove unnecessary include files.

19 years agoUpdate patch for src/lib/commands/news.c:1.8 No functional changes.
Marc Olzheim [Fri, 7 Jan 2005 10:25:11 +0000 (10:25 +0000)]
Update patch for src/lib/commands/news.c:1.8  No functional changes.

19 years ago(news, fina): Report bad conditionals as syntax error. Closes #775475.
Ron Koenderink [Thu, 6 Jan 2005 02:09:30 +0000 (02:09 +0000)]
(news, fina): Report bad conditionals as syntax error.  Closes #775475.

19 years agoClean up register keywords. No functional changes.
Marc Olzheim [Mon, 3 Jan 2005 21:03:53 +0000 (21:03 +0000)]
Clean up register keywords.  No functional changes.

19 years agoUse _l_rand48(). in src/util/fairland.c
Marc Olzheim [Mon, 3 Jan 2005 19:59:31 +0000 (19:59 +0000)]
Use _l_rand48(). in src/util/fairland.c

19 years agoFix the previous patch by using emp_{s,}random() instead if {s,}rand48()
Marc Olzheim [Mon, 3 Jan 2005 18:31:31 +0000 (18:31 +0000)]
Fix the previous patch by using emp_{s,}random() instead if {s,}rand48()
in src/lib/commands/{new,mfir}.c

19 years agoUpdate patch for src/util/fairland.c:1.16 src/lib/commands/new.c:1.19
Marc Olzheim [Mon, 3 Jan 2005 17:31:54 +0000 (17:31 +0000)]
Update patch for src/util/fairland.c:1.16 src/lib/commands/new.c:1.19
src/lib/commands/mfir.c:1.20 src/server/main.c:1.35.
No functional changes.

19 years ago[_WIN32]: Upgrade to Windows Sockets 2.
Ron Koenderink [Fri, 31 Dec 2004 20:40:39 +0000 (20:40 +0000)]
[_WIN32]: Upgrade to Windows Sockets 2.

19 years ago(tend_nxtitem,nxtitem,sarg_type,snxtitem,snxtitem_all,snxtsct,nxtitemp):
Ron Koenderink [Fri, 31 Dec 2004 20:14:10 +0000 (20:14 +0000)]
(tend_nxtitem,nxtitem,sarg_type,snxtitem,snxtitem_all,snxtsct,nxtitemp):
change NS_ALL to NS_EVERYTHING in ns_seltype because of a
conflict with winsock2.h which is used in the WIN32 build.

19 years ago(rea): Add brackets to prevent 'else' ambiguity.
Ron Koenderink [Fri, 31 Dec 2004 14:12:34 +0000 (14:12 +0000)]
(rea): Add brackets to prevent 'else' ambiguity.

19 years ago(wrauth,wrgamesdef,wrmakesrc): update copyright notices to 2004.
Ron Koenderink [Thu, 30 Dec 2004 14:19:21 +0000 (14:19 +0000)]
(wrauth,wrgamesdef,wrmakesrc): update copyright notices to 2004.

19 years ago(main,wr_auth) [_WIN32]: switch the default file mode to
Ron Koenderink [Thu, 30 Dec 2004 14:14:04 +0000 (14:14 +0000)]
(main,wr_auth) [_WIN32]: switch the default file mode to
binary to match POSIX.  Add text mode for auth file.

19 years ago(new) [_WIN32]: Rely on misc.h to provide BSD random functions.
Ron Koenderink [Thu, 30 Dec 2004 13:57:04 +0000 (13:57 +0000)]
(new) [_WIN32]: Rely on misc.h to provide BSD random functions.

19 years ago(multifire) [_WIN32]: Rely on misc.h to provide BSD random functions.
Ron Koenderink [Thu, 30 Dec 2004 13:53:46 +0000 (13:53 +0000)]
(multifire) [_WIN32]: Rely on misc.h to provide BSD random functions.

(multifire): switch the random seeding with the current random
value to seeding with the current time.  Seeding with the
current random value does not actually improve the randomness.

19 years agoThe previous rev. was committed accidentally, revert.
Ron Koenderink [Thu, 30 Dec 2004 02:51:12 +0000 (02:51 +0000)]
The previous rev. was committed accidentally, revert.

19 years ago(main,install_service,remove_service,service_main) [_WIN32]:
Ron Koenderink [Thu, 30 Dec 2004 02:19:44 +0000 (02:19 +0000)]
(main,install_service,remove_service,service_main) [_WIN32]:
Add the ability to specify the service name, to install
multiple services and to set -D and -e options during install.

19 years ago(rea): Code cleanup.
Ron Koenderink [Thu, 30 Dec 2004 01:43:39 +0000 (01:43 +0000)]
(rea): Code cleanup.

19 years ago(main,mobility_check,upda,turn,rea,mobupdate,ef_open,logerror,
Ron Koenderink [Thu, 30 Dec 2004 01:31:03 +0000 (01:31 +0000)]
(main,mobility_check,upda,turn,rea,mobupdate,ef_open,logerror,
emp_config,gamedown,show_motd,match_user,typed_wu,
delete_old_announcements) [_WIN32]: switch the default file mode to
binary to match POSIX.  Remove the now unneccessary ifdef for
the open/fopen. Add text mode for user files (econfig/auth).

19 years ago(main,ef_open) [_WIN32]: switch the default file mode to
Ron Koenderink [Wed, 29 Dec 2004 23:40:04 +0000 (23:40 +0000)]
(main,ef_open) [_WIN32]: switch the default file mode to
binary to match POSIX.  Remove the now unneccessary ifdef for
the open.

19 years ago(main,allocate_memory) [_WIN32]: switch the default file mode to
Ron Koenderink [Wed, 29 Dec 2004 23:34:08 +0000 (23:34 +0000)]
(main,allocate_memory) [_WIN32]: switch the default file mode to
binary to match POSIX.  Remove the now unneccessary ifdef for
the open.

19 years ago(main) [_WIN32]: remove getpid() from the random seed as
Ron Koenderink [Wed, 29 Dec 2004 23:20:24 +0000 (23:20 +0000)]
(main) [_WIN32]: remove getpid() from the random seed as
it did not improve the randomness of the seed.

19 years ago(main): switch to use standard srandom() and random().
Ron Koenderink [Wed, 29 Dec 2004 23:15:04 +0000 (23:15 +0000)]
(main): switch to use standard srandom() and random().
Remove the SRANDOM and RANDOM defines.

19 years ago(parse_args): fix the print usage for script file name to print the
Ron Koenderink [Wed, 29 Dec 2004 23:01:43 +0000 (23:01 +0000)]
(parse_args): fix the print usage for script file name to print the
default instead of the current file name as per the description.

19 years ago(main) [_WIN32]: enable command line options for WIN32.
Ron Koenderink [Wed, 29 Dec 2004 22:52:05 +0000 (22:52 +0000)]
(main) [_WIN32]: enable command line options for WIN32.

19 years agoUpdate for 4.2.19. v4.2.19
Markus Armbruster [Thu, 23 Dec 2004 20:42:39 +0000 (20:42 +0000)]
Update for 4.2.19.

19 years agoIndentation fix.
Markus Armbruster [Tue, 21 Dec 2004 20:09:14 +0000 (20:09 +0000)]
Indentation fix.

19 years agoUpdated from man/emp_client.6 rev. 1.7.
Markus Armbruster [Tue, 21 Dec 2004 13:40:47 +0000 (13:40 +0000)]
Updated from man/emp_client.6 rev. 1.7.

19 years agoFix spelling of daemon, for crying out loud!
Markus Armbruster [Tue, 21 Dec 2004 13:27:36 +0000 (13:27 +0000)]
Fix spelling of daemon, for crying out loud!

Remove irrelevant information on player thread.

Clarify that -d makes the server abort on internal errors.

19 years agoUpdate patch for src/server/main.c:1.29,include/prototypes.h:1.61 and
Marc Olzheim [Tue, 21 Dec 2004 13:19:29 +0000 (13:19 +0000)]
Update patch for src/server/main.c:1.29,include/prototypes.h:1.61 and
src/lib/commands/laun.c:1.9.  No functional changes.

19 years agoFix typesetting of option arguments.
Markus Armbruster [Tue, 21 Dec 2004 13:16:46 +0000 (13:16 +0000)]
Fix typesetting of option arguments.

Fix English in section authors.

19 years agoReally fix typesetting of option arguments.
Markus Armbruster [Tue, 21 Dec 2004 13:06:32 +0000 (13:06 +0000)]
Really fix typesetting of option arguments.

19 years agoMove arguments behind options in the synopsis.
Markus Armbruster [Tue, 21 Dec 2004 12:48:46 +0000 (12:48 +0000)]
Move arguments behind options in the synopsis.

Fix typesetting of option arguments.

Document environment variables more clearly, and without assuming csh
syntax.

19 years ago(main, start_sever): Previous revision broke POSIX threads under
Markus Armbruster [Tue, 21 Dec 2004 12:29:51 +0000 (12:29 +0000)]
(main, start_sever): Previous revision broke POSIX threads under
Linux.  Undo the problematic bit of the change.

19 years agoRealign comment with its object; got separated in the previous rev.
Markus Armbruster [Tue, 21 Dec 2004 12:26:30 +0000 (12:26 +0000)]
Realign comment with its object; got separated in the previous rev.
No functional changes.

19 years agoFix rev. 1.5's placement of braces. No functional changes.
Markus Armbruster [Tue, 21 Dec 2004 12:23:01 +0000 (12:23 +0000)]
Fix rev. 1.5's placement of braces.  No functional changes.

19 years agoExplain that -s and -p imply -d.
Ron Koenderink [Tue, 21 Dec 2004 03:22:10 +0000 (03:22 +0000)]
Explain that -s and -p imply -d.

19 years agoswitched comment from // format to /* */ format.
Ron Koenderink [Tue, 21 Dec 2004 03:16:18 +0000 (03:16 +0000)]
switched comment from // format to /* */ format.

19 years ago(main,close_files,loc_NT_Term,empth_exit):
Ron Koenderink [Tue, 21 Dec 2004 03:10:30 +0000 (03:10 +0000)]
(main,close_files,loc_NT_Term,empth_exit):
Add Windows Service to the server.
This includes adding install service and remove service option.
Move the start code from main to separate function.
Make close_files() and loc_NT_Term() global.
Move disassoc() to be earlier in the startup sequence.

19 years agoswitch comments from // format to /* */ format.
Ron Koenderink [Tue, 21 Dec 2004 02:20:26 +0000 (02:20 +0000)]
switch comments from // format to /* */ format.

19 years ago[_WIN32] (panic): Unused under Windows, remove from build.
Ron Koenderink [Tue, 21 Dec 2004 01:56:57 +0000 (01:56 +0000)]
[_WIN32] (panic): Unused under Windows, remove from build.

19 years agoChange -2outfile to -2 outfile for both empire.6 and emp_client.6.
Ron Koenderink [Mon, 20 Dec 2004 23:29:46 +0000 (23:29 +0000)]
Change -2outfile to -2 outfile for both empire.6 and emp_client.6.

19 years ago(main, termio): Add the ability to set the username.
Ron Koenderink [Sun, 19 Dec 2004 18:17:56 +0000 (18:17 +0000)]
(main, termio): Add the ability to set the username.
Get it from environment variable LOGNAME if set,
else get the user name from the system.

(main) [_DWIN32]: Add stdin redirection ability to the Win32 port.
The client reads until stdin redirection empty and then terminates.

19 years ago(panic): Instead of exiting successfully, commit suicide by re-raising
Markus Armbruster [Sat, 18 Dec 2004 10:26:53 +0000 (10:26 +0000)]
(panic): Instead of exiting successfully, commit suicide by re-raising
the signal.

19 years ago(termio): Fix crash bug: when input line starts with '?', `s' was used
Markus Armbruster [Sat, 18 Dec 2004 08:53:23 +0000 (08:53 +0000)]
(termio): Fix crash bug: when input line starts with '?', `s' was used
uninitialized.

(buf, exec, termio): Make buf[] and exec[] local to termio().

19 years ago(NUKEFAILDETONATE, opt_NUKEFAILDETONATE, Options, msl_hit): Remove
Markus Armbruster [Fri, 17 Dec 2004 19:45:33 +0000 (19:45 +0000)]
(NUKEFAILDETONATE, opt_NUKEFAILDETONATE, Options, msl_hit): Remove
option NUKEFAILDETONATE.

19 years ago(ORBIT, opt_ORBIT, Options, launch_sat, pdump, plan, prod_plane):
Markus Armbruster [Fri, 17 Dec 2004 19:29:36 +0000 (19:29 +0000)]
(ORBIT, opt_ORBIT, Options, launch_sat, pdump, plan, prod_plane):
Remove nooption ORBIT.

19 years ago"(turn): Fix comparing the output of write() to an unsigned sizeof by
Marc Olzheim [Fri, 17 Dec 2004 15:44:57 +0000 (15:44 +0000)]
"(turn): Fix comparing the output of write() to an unsigned sizeof by
casting the sizeof to write's most used return-type (ssize_t). Introduce
a typedef for ssize_t for _WIN32 in include/misc.h."

19 years ago"(turn): Fix comparing the output of write() to an unsigned sizeof by
Marc Olzheim [Fri, 17 Dec 2004 15:39:28 +0000 (15:39 +0000)]
"(turn): Fix comparing the output of write() to an unsigned sizeof by
casting the sizeof to write's most used return-type (ssize_t). Introduce
a typedef for ssize_t for WIN32."

19 years ago(info): Polish output for ambigous topic argument.
Markus Armbruster [Fri, 17 Dec 2004 13:58:10 +0000 (13:58 +0000)]
(info): Polish output for ambigous topic argument.

19 years agoBelatedly remove ROLLOVER_AVAIL.
Markus Armbruster [Thu, 16 Dec 2004 23:13:06 +0000 (23:13 +0000)]
Belatedly remove ROLLOVER_AVAIL.

19 years ago(GUINEA_PIGS, opt_GUINEA_PIGS, Options): New option GUINEA_PIGS.
Markus Armbruster [Thu, 16 Dec 2004 23:11:59 +0000 (23:11 +0000)]
(GUINEA_PIGS, opt_GUINEA_PIGS, Options): New option GUINEA_PIGS.

19 years agoInitial version; needs work.
Markus Armbruster [Thu, 16 Dec 2004 22:17:02 +0000 (22:17 +0000)]
Initial version; needs work.

19 years agoCanonicalize line endings.
Markus Armbruster [Thu, 16 Dec 2004 22:10:53 +0000 (22:10 +0000)]
Canonicalize line endings.

19 years ago(player_coms): Implement c_form for xdump and enable the command.
Markus Armbruster [Thu, 16 Dec 2004 22:08:03 +0000 (22:08 +0000)]
(player_coms): Implement c_form for xdump and enable the command.

19 years ago(xdump): Fail unless GUINEA_PIGS is enabled.
Markus Armbruster [Thu, 16 Dec 2004 22:05:15 +0000 (22:05 +0000)]
(xdump): Fail unless GUINEA_PIGS is enabled.

19 years ago(GUINEA_PIGS, opt_GUINEA_PIGS, Options): New option GUINEA_PIGS.
Markus Armbruster [Thu, 16 Dec 2004 22:01:30 +0000 (22:01 +0000)]
(GUINEA_PIGS, opt_GUINEA_PIGS, Options): New option GUINEA_PIGS.

19 years ago(print_config): Undo rev. 1.17's incorrect simplification of
Markus Armbruster [Thu, 16 Dec 2004 21:56:17 +0000 (21:56 +0000)]
(print_config): Undo rev. 1.17's incorrect simplification of
km_comment printing.

19 years agoBelatedly remove ROLLOVER_AVAIL and PLANENAMES.
Markus Armbruster [Thu, 16 Dec 2004 20:47:49 +0000 (20:47 +0000)]
Belatedly remove ROLLOVER_AVAIL and PLANENAMES.

19 years ago(ac_calc_flak,ac_fireflak,pinflak_planedamage): New ac_calc_flak().
Ron Koenderink [Thu, 16 Dec 2004 19:40:06 +0000 (19:40 +0000)]
(ac_calc_flak,ac_fireflak,pinflak_planedamage): New ac_calc_flak().
Move common flak damage code from ac_fireflak() and
pinflak_planedamage() to ac_calc_flak().

19 years ago(ac_calc_flak,ac_fireflak,pinflak_planedamage): New ac_calc_flak().
Ron Koenderink [Thu, 16 Dec 2004 19:28:17 +0000 (19:28 +0000)]
(ac_calc_flak,ac_fireflak,pinflak_planedamage): New ac_calc_flak().
Move common flak damage code from ac_fireflak() and
pinflak_planedamage() to ac_calc_flak().

Remove carriage return from comment.

19 years ago(comtch): Fix the previous rev.
Markus Armbruster [Thu, 16 Dec 2004 18:12:21 +0000 (18:12 +0000)]
(comtch): Fix the previous rev.

19 years ago(turn): Change the command to allow for both an MOTD and a no-login
Marc Olzheim [Thu, 16 Dec 2004 14:17:08 +0000 (14:17 +0000)]
(turn): Change the command to allow for both an MOTD and a no-login
message.  Clean 'register' and 's_char' remnants on the way.
Circumvents bug #813167.

19 years ago(ship_bomb): Prevent bombing of subs that where not found by the ASW plane.
Ron Koenderink [Thu, 16 Dec 2004 12:42:53 +0000 (12:42 +0000)]
(ship_bomb): Prevent bombing of subs that where not found by the ASW plane.

19 years ago(ef_extend): free allocated tmpobj before early returns as well.
Marc Olzheim [Thu, 16 Dec 2004 12:29:41 +0000 (12:29 +0000)]
(ef_extend): free allocated tmpobj before early returns as well.

19 years ago(EFF_COM,ef_items): No longer in use after removal of 'variables'. Removed.
Marc Olzheim [Thu, 16 Dec 2004 12:25:56 +0000 (12:25 +0000)]
(EFF_COM,ef_items): No longer in use after removal of 'variables'. Removed.
Clean 'register' and s_char on the way. Remove dead code.
Rename some variables to better reflect their meaning.
Add function comments.

19 years ago(EFF_COM,ef_items): No longer in use after removal of 'variables'. Removed.
Marc Olzheim [Thu, 16 Dec 2004 12:22:58 +0000 (12:22 +0000)]
(EFF_COM,ef_items): No longer in use after removal of 'variables'. Removed.
Clean s_char on the way.

19 years ago(EFF_COM): No longer in use after removal of 'variables'
Marc Olzheim [Thu, 16 Dec 2004 12:21:08 +0000 (12:21 +0000)]
(EFF_COM): No longer in use after removal of 'variables'

19 years ago(have_looked,have_found,set_have_looked,set_have_found,print_found):
Ron Koenderink [Thu, 16 Dec 2004 11:12:28 +0000 (11:12 +0000)]
(have_looked,have_found,set_have_looked,set_have_found,print_found):
collapse to shiplist function set (add,free,print,on). Fix bug where ship
uid was a unsigned char instead of short.  Switch to head pointer instead
of head record with a linked list. Add a free().

19 years ago(getopt.h) move to src/lib/gen directory to prevent conflicts with
Ron Koenderink [Wed, 15 Dec 2004 14:02:07 +0000 (14:02 +0000)]
(getopt.h) move to src/lib/gen directory to prevent conflicts with
/usr/include/getopt.h.

19 years agoFix bug #883113. Differentiate between sct_work and sct_loyal.
Marc Olzheim [Wed, 15 Dec 2004 12:23:56 +0000 (12:23 +0000)]
Fix bug #883113. Differentiate between sct_work and sct_loyal.

19 years ago(scuttle_tradeship): Remove carriage return.
Ron Koenderink [Wed, 15 Dec 2004 03:00:08 +0000 (03:00 +0000)]
(scuttle_tradeship): Remove carriage return.

19 years ago(getopt): Remove carriage return.
Ron Koenderink [Wed, 15 Dec 2004 02:52:57 +0000 (02:52 +0000)]
(getopt): Remove carriage return.

19 years ago(show_sect_build): Remove carriage return.
Ron Koenderink [Wed, 15 Dec 2004 02:51:08 +0000 (02:51 +0000)]
(show_sect_build): Remove carriage return.

19 years ago(upd_ship): Remove carriage return.
Ron Koenderink [Wed, 15 Dec 2004 02:48:47 +0000 (02:48 +0000)]
(upd_ship): Remove carriage return.

19 years ago(prod): Fix bug #1083175. Use max_pop() not just when opt_RES_POP is
Marc Olzheim [Tue, 14 Dec 2004 19:45:47 +0000 (19:45 +0000)]
(prod): Fix bug #1083175. Use max_pop() not just when opt_RES_POP is
enabled to determine the new working population of a sector.

19 years ago(orde,eta_calc): Remove unaccessed leftover variables nships,mcp.
Marc Olzheim [Tue, 14 Dec 2004 17:47:03 +0000 (17:47 +0000)]
(orde,eta_calc): Remove unaccessed leftover variables nships,mcp.
No functional changes.

19 years ago(ship_bomb,land_bomb): Remove unaccessed leftover variables lcp,onsea.
Marc Olzheim [Tue, 14 Dec 2004 17:43:54 +0000 (17:43 +0000)]
(ship_bomb,land_bomb): Remove unaccessed leftover variables lcp,onsea.
No functional changes.

19 years ago(resupply_commod,has_supply,use_supply): Remove unaccessed leftover
Marc Olzheim [Tue, 14 Dec 2004 17:40:59 +0000 (17:40 +0000)]
(resupply_commod,has_supply,use_supply): Remove unaccessed leftover
variables lcp.  No functional changes.

19 years ago(ac_airtoair): No need to pass def_own, as the owner of the intercepting
Marc Olzheim [Tue, 14 Dec 2004 17:21:05 +0000 (17:21 +0000)]
(ac_airtoair): No need to pass def_own, as the owner of the intercepting
planes is used anyway.  Clean up other unaccessed variables in the process.
No functional changes.

19 years ago(scut): Remove unaccessed remnants from before 1.1. No functional changes.
Marc Olzheim [Mon, 13 Dec 2004 17:36:43 +0000 (17:36 +0000)]
(scut): Remove unaccessed remnants from before 1.1.  No functional changes.

19 years agoUpdate patches for #include cleanup, changing offsets. No functional changes.
Marc Olzheim [Mon, 13 Dec 2004 17:01:07 +0000 (17:01 +0000)]
Update patches for #include cleanup, changing offsets.  No functional changes.

19 years agoCleanup #includes of (mostly a long time) unused header files.
Marc Olzheim [Mon, 13 Dec 2004 16:47:13 +0000 (16:47 +0000)]
Cleanup #includes of (mostly a long time) unused header files.
No functional changes.

19 years agoOnly prototypes.h is needed, not all of gen.h. No functional changes.
Marc Olzheim [Mon, 13 Dec 2004 16:20:33 +0000 (16:20 +0000)]
Only prototypes.h is needed, not all of gen.h.  No functional changes.

19 years agoUpdate patch for src/server/main.c:1.23. No functional changes.
Marc Olzheim [Mon, 13 Dec 2004 10:33:16 +0000 (10:33 +0000)]
Update patch for src/server/main.c:1.23.  No functional changes.