]> git.pond.sub.org Git - empserver/log
empserver
18 years ago(L_XLIGHT, lchr[], land_chr_flags[], take_plane_off_land,
Ron Koenderink [Sun, 8 Jan 2006 19:12:04 +0000 (19:12 +0000)]
(L_XLIGHT, lchr[], land_chr_flags[], take_plane_off_land,
put_plane_on_land, load_plane_land, can_fly):
Remove L_XLIGHT flag and replace with checks of lnd_maxlight.
Closes #758459.

18 years ago(xuloadrow): Add support for NSC_SHORT.
Ron Koenderink [Sun, 8 Jan 2006 04:11:15 +0000 (04:11 +0000)]
(xuloadrow): Add support for NSC_SHORT.

18 years ago(share_incr): Simplify country status check for tech bleed
Markus Armbruster [Sat, 7 Jan 2006 09:35:39 +0000 (09:35 +0000)]
(share_incr): Simplify country status check for tech bleed
participation.  Only STAT_SANCT and STAT_ACTIVE receive, and only
STAT_ACTIVE bleed.  Both used to be STAT_NEW, STAT_SANCT, STAT_ACTIVE.

18 years ago(age_levels): Simplify country status check for leaking tech. Don't
Markus Armbruster [Sat, 7 Jan 2006 09:26:49 +0000 (09:26 +0000)]
(age_levels): Simplify country status check for leaking tech.  Don't
leak to countries in state STAT_NEW.

18 years ago(acce, rea, rela, snxtitem): Pass NULL as prompt when the prompt won't
Markus Armbruster [Fri, 6 Jan 2006 21:37:40 +0000 (21:37 +0000)]
(acce, rea, rela, snxtitem): Pass NULL as prompt when the prompt won't
be used.

18 years ago(edit): natarg() no longer supports access to unused countries. Do
Markus Armbruster [Fri, 6 Jan 2006 21:31:11 +0000 (21:31 +0000)]
(edit): natarg() no longer supports access to unused countries.  Do
it by hand.  Switch to natargp() while we're at it.

(docountry): Remove redundant parameter nat.

(prnat): Change parameter from natid to struct natstr.

18 years ago(natargp): Only return countries in use. Unused countries could lead
Markus Armbruster [Fri, 6 Jan 2006 21:16:49 +0000 (21:16 +0000)]
(natargp): Only return countries in use.  Unused countries could lead
to confusing output and were useless except perhaps for the edit
command.

18 years ago(acce): Use natargp() rather than natarg(), because acce() should not
Markus Armbruster [Fri, 6 Jan 2006 21:08:18 +0000 (21:08 +0000)]
(acce): Use natargp() rather than natarg(), because acce() should not
require contact.

(acce): Used to show only contacted active and deity countries, except
for #0.  Change to show all countries, to match current version of
reject.

18 years ago(reje): Do not require contact. Closes #890722.
Markus Armbruster [Fri, 6 Jan 2006 21:00:50 +0000 (21:00 +0000)]
(reje): Do not require contact.  Closes #890722.

18 years ago(nati): Use natargp() rather than natarg(), to avoid pointless
Markus Armbruster [Fri, 6 Jan 2006 20:46:31 +0000 (20:46 +0000)]
(nati): Use natargp() rather than natarg(), to avoid pointless
complaints about lack of contact.

(nati): Improve not-deity error message and change error code to
RET_FAIL.

18 years ago(new): Simplify using new natargp().
Markus Armbruster [Fri, 6 Jan 2006 20:36:53 +0000 (20:36 +0000)]
(new): Simplify using new natargp().

(new): Use RET_OK instead of literal 0.

(new, isok, ok): s_char purge.

18 years ago(natargp): New, factored out of natarg().
Markus Armbruster [Fri, 6 Jan 2006 20:27:17 +0000 (20:27 +0000)]
(natargp): New, factored out of natarg().

18 years ago(natarg): Use new cnumb() values to improve diagnostics.
Markus Armbruster [Fri, 6 Jan 2006 20:11:14 +0000 (20:11 +0000)]
(natarg): Use new cnumb() values to improve diagnostics.

18 years ago(status): src/lib/subs/mtch.c rev. 1.10 broke deity commands that
Markus Armbruster [Fri, 6 Jan 2006 20:07:13 +0000 (20:07 +0000)]
(status): src/lib/subs/mtch.c rev. 1.10 broke deity commands that
require CAP or MONEY.  Fix by setting them in ncomstat.

18 years ago(cnumb): Return the same error values as stmtch(). Callers don't
Markus Armbruster [Fri, 6 Jan 2006 19:42:27 +0000 (19:42 +0000)]
(cnumb): Return the same error values as stmtch().  Callers don't
(yet) care for the difference.

18 years ago(cnumb): Ignore countries not in use instead of countries with empty
Markus Armbruster [Fri, 6 Jan 2006 19:40:24 +0000 (19:40 +0000)]
(cnumb): Ignore countries not in use instead of countries with empty
names.  Clearer and safer.

18 years ago(set_target): Simplify using natarg().
Markus Armbruster [Fri, 6 Jan 2006 18:07:30 +0000 (18:07 +0000)]
(set_target): Simplify using natarg().

18 years ago(rejectname): Use static storage duration for rejects[].
Markus Armbruster [Fri, 6 Jan 2006 17:58:21 +0000 (17:58 +0000)]
(rejectname): Use static storage duration for rejects[].

18 years ago(tele): Fix prompting for telegram recipient.
Markus Armbruster [Fri, 6 Jan 2006 17:53:45 +0000 (17:53 +0000)]
(tele): Fix prompting for telegram recipient.

(tele): Spelling fix.

18 years agoClarify syntax.
Markus Armbruster [Fri, 6 Jan 2006 17:50:10 +0000 (17:50 +0000)]
Clarify syntax.

18 years ago(player_coms): Fix c_form for telegram.
Markus Armbruster [Fri, 6 Jan 2006 17:50:10 +0000 (17:50 +0000)]
(player_coms): Fix c_form for telegram.

18 years ago(natarg): No caller distinguishes between the two different failure
Markus Armbruster [Fri, 6 Jan 2006 17:47:45 +0000 (17:47 +0000)]
(natarg): No caller distinguishes between the two different failure
values.  Simplify to just one.

18 years ago(acce, flash, nati, new, rela): Don't bother to complain about bad
Markus Armbruster [Fri, 6 Jan 2006 17:44:31 +0000 (17:44 +0000)]
(acce, flash, nati, new, rela): Don't bother to complain about bad
country argument, natarg() does that.

(acce, flash, nati, rela): natarg() ensures getnatp() succeeds, no
need to check.

18 years ago(tele): Treat telegram to country not yet contacted as failure. This
Markus Armbruster [Fri, 6 Jan 2006 17:03:47 +0000 (17:03 +0000)]
(tele): Treat telegram to country not yet contacted as failure.  This
matches behavior of other commands.

18 years ago(natarg): Don't attempt to hide names of countries not yet contacted
Markus Armbruster [Fri, 6 Jan 2006 17:00:18 +0000 (17:00 +0000)]
(natarg): Don't attempt to hide names of countries not yet contacted
with HIDDEN.

(natarg): Clearer error messages.

18 years ago(nxtitemp): Use void * for generic pointer function value.
Markus Armbruster [Fri, 6 Jan 2006 16:55:17 +0000 (16:55 +0000)]
(nxtitemp): Use void * for generic pointer function value.

18 years ago(shar): Fix prompting for first argument.
Markus Armbruster [Fri, 6 Jan 2006 16:10:52 +0000 (16:10 +0000)]
(shar): Fix prompting for first argument.

18 years ago(check, tryprdiff): Rename. Remove parameter buf, just print.
Markus Armbruster [Fri, 6 Jan 2006 15:48:26 +0000 (15:48 +0000)]
(check, tryprdiff): Rename.  Remove parameter buf, just print.
Callers changed.

18 years ago(stats): Remove, simply pass around natstr * instead.
Markus Armbruster [Fri, 6 Jan 2006 15:34:37 +0000 (15:34 +0000)]
(stats): Remove, simply pass around natstr * instead.

(repo): Don't suppress part of the header if the report is empty and
HIDDEN is disabled.

(repo, repo_list): Concentrate decision whether to report on a country
in repo().

(repo_header): Simplify.

(repo_list): Remove redundant parameter cn.

(repo_list, printdiff): Move reporting on self from printdiff() to
repo_list().

(repo_list): Simplify.  Move research value one character to the right
for player->god, to match format of the report on self.

(printdiff): Remove redundant parameter ours.

18 years ago(set_target): Improve rejection message.
Markus Armbruster [Fri, 6 Jan 2006 14:20:03 +0000 (14:20 +0000)]
(set_target): Improve rejection message.

18 years ago(cede): Require recipient is in STAT_ACTIVE. Should not make a
Markus Armbruster [Fri, 6 Jan 2006 13:47:32 +0000 (13:47 +0000)]
(cede): Require recipient is in STAT_ACTIVE.  Should not make a
difference, because the recipient must have suitable assets nearby,
but is clearer.

18 years ago(mchrstr, lchrstr): Change element types of m_item[] and l_item[] to
Markus Armbruster [Thu, 5 Jan 2006 16:49:52 +0000 (16:49 +0000)]
(mchrstr, lchrstr): Change element types of m_item[] and l_item[] to
short, to match shp_item and lnd_item.
(mchr_ca, lchr_ca): Replace selector item by selectors for the items.
lchr_ca's item selector was incorrect and worked only by accident.

18 years ago(news): Used to silently ignore argument when HIDDEN is enabled.
Markus Armbruster [Thu, 5 Jan 2006 16:22:43 +0000 (16:22 +0000)]
(news): Used to silently ignore argument when HIDDEN is enabled.
Complain and fail instead.

(news): Treat non-numeric argument like zero, not like no argument,
for consistency with other commands.

18 years ago(output, translate_continents): When BLITZ is enabled, country numbers
Markus Armbruster [Thu, 5 Jan 2006 16:10:39 +0000 (16:10 +0000)]
(output, translate_continents): When BLITZ is enabled, country numbers
in the newcap script used to be permuted so that start islands are
ordered from top left to bottom right.  Undocumented, unobvious.
Deathtrap if a deity disables BLITZ after running fairland for a real
game.  Remove.

18 years ago(cens, cens_hdr): Column fall used to be shown only with FALLOUT.
Markus Armbruster [Thu, 5 Jan 2006 16:03:51 +0000 (16:03 +0000)]
(cens, cens_hdr): Column fall used to be shown only with FALLOUT.
Show it always.

18 years ago(show_nuke_build, show_nuke_capab): Column res used to be shown only
Markus Armbruster [Thu, 5 Jan 2006 15:45:08 +0000 (15:45 +0000)]
(show_nuke_build, show_nuke_capab): Column res used to be shown only
with DRNUKE.  Show it always.

18 years ago(repo_header, repo_list): HIDDEN used to suppress column status.
Markus Armbruster [Thu, 5 Jan 2006 15:36:49 +0000 (15:36 +0000)]
(repo_header, repo_list): HIDDEN used to suppress column status.
Don't; report status with less detail for HIDDEN instead, like the
country command.

18 years ago(rela) Relation columns were slightly wider for opt_SLOW_WAR. Use
Markus Armbruster [Thu, 5 Jan 2006 15:23:07 +0000 (15:23 +0000)]
(rela) Relation columns were slightly wider for opt_SLOW_WAR.  Use
wider columns unconditionally.

18 years agoUpdate for flattened info directory. checklist.pl no longer works.
Markus Armbruster [Thu, 5 Jan 2006 14:15:11 +0000 (14:15 +0000)]
Update for flattened info directory.  checklist.pl no longer works.

18 years ago(subjects.mk): Didn't work when info sources were deleted.
Markus Armbruster [Thu, 5 Jan 2006 14:13:56 +0000 (14:13 +0000)]
(subjects.mk): Didn't work when info sources were deleted.

18 years agoStreamline copyright notices. Clearly document Stephen Crane's in
Markus Armbruster [Thu, 5 Jan 2006 13:58:03 +0000 (13:58 +0000)]
Streamline copyright notices.  Clearly document Stephen Crane's in
README.

18 years agoSplit info.pl into findsubj.pl, mksubj.pl, mktop.pl.
Markus Armbruster [Thu, 5 Jan 2006 13:40:19 +0000 (13:40 +0000)]
Split info.pl into findsubj.pl, mksubj.pl, mktop.pl.

18 years agoUpdate copyright notice.
Markus Armbruster [Thu, 5 Jan 2006 13:36:57 +0000 (13:36 +0000)]
Update copyright notice.

18 years ago(EF_NATION_STATUS, nation_status): New.
Markus Armbruster [Wed, 4 Jan 2006 23:15:47 +0000 (23:15 +0000)]
(EF_NATION_STATUS, nation_status): New.
(empfile): Add it.
(nat_ca): Use it.

18 years agoFix the previous revision.
Markus Armbruster [Wed, 4 Jan 2006 23:11:44 +0000 (23:11 +0000)]
Fix the previous revision.

18 years agoChange nation status from bits to a simple enum:
Markus Armbruster [Wed, 4 Jan 2006 22:49:42 +0000 (22:49 +0000)]
Change nation status from bits to a simple enum:
(nat_status, STAT_UNUSED, STAT_VIS, STAT_ACTIVE): New.
(STAT_NEW, STAT_SANCT, STAT_GOD): Change into nat_status members.
(STAT_INUSE, STAT_NORM): Remove.
(natstr): Use new nat_status for nat_stat.
    New value       Old value
    STAT_UNUSED     0
    STAT_NEW        STAT_INUSE | STAT_NEW
    STAT_VIS        STAT_INUSE
    STAT_SANCT      STAT_INUSE | STAT_SANCT
    STAT_ACTIVE     STAT_INUSE | STAT_NORM
    STAT_GOD        STAT_INUSE | STAT_NORM | STAT_GOD
Users changed.

18 years ago(powe): Simplify.
Markus Armbruster [Wed, 4 Jan 2006 22:04:52 +0000 (22:04 +0000)]
(powe): Simplify.

18 years agoSome s_char killings.
Markus Armbruster [Wed, 4 Jan 2006 21:40:30 +0000 (21:40 +0000)]
Some s_char killings.

18 years ago(docountry): Telex country on nat_reserve editing unconditionally.
Markus Armbruster [Wed, 4 Jan 2006 21:25:23 +0000 (21:25 +0000)]
(docountry): Telex country on nat_reserve editing unconditionally.
The condition was never true due to a coding mistake.  Other edits
don't have such conditions.

18 years ago(comtch): Parameter god permitted execution of any command, even when
Markus Armbruster [Wed, 4 Jan 2006 19:12:44 +0000 (19:12 +0000)]
(comtch): Parameter god permitted execution of any command, even when
com->c_permit disagreed.  Doesn't make sense and is inconsistent with
output of list.  Remove parameter.  The only command affected is
break.

18 years ago(explain): Part of the argument explanation was suppressed under a
Markus Armbruster [Wed, 4 Jan 2006 18:45:42 +0000 (18:45 +0000)]
(explain): Part of the argument explanation was suppressed under a
weird condition (visitor or sanctuary, neither money nor capital).
Don't.

18 years ago(update_removewants): Clearing WUPD_WANT trashed all the other bits.
Markus Armbruster [Wed, 4 Jan 2006 18:28:50 +0000 (18:28 +0000)]
(update_removewants): Clearing WUPD_WANT trashed all the other bits.
They are currently unused.

18 years ago(status): Enforce m_m_p_d only for active countries, not for deities,
Markus Armbruster [Wed, 4 Jan 2006 17:58:16 +0000 (17:58 +0000)]
(status): Enforce m_m_p_d only for active countries, not for deities,
visitors and such.

18 years ago(demand_check): Slight simplification.
Markus Armbruster [Wed, 4 Jan 2006 16:48:43 +0000 (16:48 +0000)]
(demand_check): Slight simplification.

18 years ago(orig): Allow moving origin to another country's origin. This is a
Markus Armbruster [Wed, 4 Jan 2006 14:36:21 +0000 (14:36 +0000)]
(orig): Allow moving origin to another country's origin.  This is a
superset of the offset command.
(offs): Redundant, underdocumented, remove.

(orig): Allow deities to reset origin to absolute 0,0.

18 years ago(STAT_ABS): Only set by files program for country #0. Prevents offset
Markus Armbruster [Wed, 4 Jan 2006 14:27:10 +0000 (14:27 +0000)]
(STAT_ABS): Only set by files program for country #0.  Prevents offset
and origin commands from working.  Remove.

18 years ago(termio) [_WIN32]: Add a variable (record) to match the pointer type
Ron Koenderink [Wed, 4 Jan 2006 03:30:04 +0000 (03:30 +0000)]
(termio) [_WIN32]: Add a variable (record) to match the pointer type
for console functions.  Add error checks for console functions.

18 years agoFix the previous revision.
Markus Armbruster [Tue, 3 Jan 2006 19:07:53 +0000 (19:07 +0000)]
Fix the previous revision.

18 years ago(xdvisible): New.
Markus Armbruster [Tue, 3 Jan 2006 17:07:41 +0000 (17:07 +0000)]
(xdvisible): New.
(xditem): Use it.  This plugs all known information leaks.  It also
avoids dumping of unused records.

18 years ago(main) [_WIN32]: Fix logerror format to "lu" for GetLastError().
Ron Koenderink [Sun, 1 Jan 2006 20:43:37 +0000 (20:43 +0000)]
(main) [_WIN32]: Fix logerror format to "lu" for GetLastError().

18 years ago(service_ctrl_handler) [_WIN32]: Add static declaration.
Ron Koenderink [Sun, 1 Jan 2006 20:41:45 +0000 (20:41 +0000)]
(service_ctrl_handler) [_WIN32]: Add static declaration.
Fix logerror format to "lu" for GetLastError().

18 years ago(tcp_listen) [_WIN32]: Move the undef NS_ALL to after include winsock2.h.
Ron Koenderink [Sun, 1 Jan 2006 20:38:21 +0000 (20:38 +0000)]
(tcp_listen) [_WIN32]: Move the undef NS_ALL to after include winsock2.h.
The undef is present to prevent namespace conflict the selector code.

18 years ago(tcp_listen) [_WIN32]: Add the WIN32 include files for accessing
Ron Koenderink [Sun, 1 Jan 2006 20:27:24 +0000 (20:27 +0000)]
(tcp_listen) [_WIN32]: Add the WIN32 include files for accessing
the socket functions.

(tcp_listen): Add prototypes.h to verify the extern prototype.

18 years ago(loc_RunThisThread, loc_BlockThisThread) [_WIN32]:
Ron Koenderink [Sun, 1 Jan 2006 20:23:51 +0000 (20:23 +0000)]
(loc_RunThisThread, loc_BlockThisThread) [_WIN32]:
Add void to parameter declarations.

(empth_threadMain) [_WIN32]: Add static declaration for the function.

(empth_init) [_WIN32]: Change the format "lu" for GetLastError()
in logerror() calls.

18 years ago(ioq_makebuf, ioq_makeiov) [_WIN32]: Remove the external for
Ron Koenderink [Sun, 1 Jan 2006 20:02:09 +0000 (20:02 +0000)]
(ioq_makebuf, ioq_makeiov) [_WIN32]: Remove the external for
ioq_makeiov() for WIN32 case so it matches source for the
ioq_makeiov().  Reorganize ioq_makebuf() to make it obvious that
ioq_makebuf() is used for WIN32 and everybody uses ioq_makeiov().

18 years ago(info) [_WIN32]: Add brackets to ensure the right combination of
Ron Koenderink [Sun, 1 Jan 2006 19:55:53 +0000 (19:55 +0000)]
(info) [_WIN32]: Add brackets to ensure the right combination of
ORs and ANDs.

(apro) [_WIN32]: Remove space to fix formatting for logerror().
Fix printing type for lhitlim in the format string for logerror() call.

18 years ago(info, apro) [_WIN32]: Correct parameter order for calls
Ron Koenderink [Sun, 1 Jan 2006 19:47:46 +0000 (19:47 +0000)]
(info, apro) [_WIN32]: Correct parameter order for calls
to logerror() where GetLastError() is used.
Change the format to "lu" for printing GetLastError().

18 years ago(verify_row): Add cast to an int for a call to sizeof().
Ron Koenderink [Sun, 1 Jan 2006 19:32:52 +0000 (19:32 +0000)]
(verify_row): Add cast to an int for a call to sizeof().
This removes a warning.

18 years ago(disassoc) [_WIN32]: Add #ifndef _WIN32 around disassoc() as
Ron Koenderink [Sun, 1 Jan 2006 19:29:12 +0000 (19:29 +0000)]
(disassoc) [_WIN32]: Add #ifndef _WIN32 around disassoc() as
WIN32 does not use it and does not support fork().

18 years ago(min, max) [_WIN32, __GNUC__]: Add min and max macros for
Ron Koenderink [Sun, 1 Jan 2006 16:02:48 +0000 (16:02 +0000)]
(min, max) [_WIN32, __GNUC__]: Add min and max macros for
mingw/gcc compile environment.  min/max are not included
in stdlib.h in mingw/gcc environment.

18 years ago(empth_threadMain) [_WIN32]: Add include file for time().
Ron Koenderink [Sun, 1 Jan 2006 15:56:35 +0000 (15:56 +0000)]
(empth_threadMain) [_WIN32]: Add include file for time().

18 years ago(xundump): Add the ability to support the parsing of the human
Ron Koenderink [Sun, 1 Jan 2006 03:44:41 +0000 (03:44 +0000)]
(xundump): Add the ability to support the parsing of the human
readable form.

(xucolumnheader): New function.

18 years ago(xundump): Move the header parsing into a separate function xuheader().
Ron Koenderink [Sun, 1 Jan 2006 03:37:36 +0000 (03:37 +0000)]
(xundump): Move the header parsing into a separate function xuheader().
Move the trailer parsing into a separate function xutrailer().

(xuheader, xutrailer): New functions.

18 years ago(ac_flak_dam): Fix FLAK_MAX to be last element of the array.
Ron Koenderink [Sat, 31 Dec 2005 22:37:51 +0000 (22:37 +0000)]
(ac_flak_dam): Fix FLAK_MAX to be last element of the array.
This fixes >8 case which was accessing one past the last element
of the array and getting an invalid value for flak max.
Broken in rev. 1.18

18 years ago(empfile, fileinit, lnd_init, lnd_postread, lnd_prewrite, nuk_init)
Markus Armbruster [Sat, 31 Dec 2005 12:52:18 +0000 (12:52 +0000)]
(empfile, fileinit, lnd_init, lnd_postread, lnd_prewrite, nuk_init)
(nuk_postread, nuk_prewrite, pln_init, pln_postread, pln_prewrite)
(sct_postread, sct_prewrite, shp_init, shp_postread, shp_prewrite)
(ef_extend): Use void * for generic pointer parameter.

18 years ago(natstr): Members nat_xstart, nat_ystart are used write-only. Remove.
Markus Armbruster [Sat, 31 Dec 2005 10:50:24 +0000 (10:50 +0000)]
(natstr): Members nat_xstart, nat_ystart are used write-only.  Remove.
Users changed.

18 years ago(EF_RESOURCES, resources): New.
Markus Armbruster [Sat, 31 Dec 2005 10:29:32 +0000 (10:29 +0000)]
(EF_RESOURCES, resources): New.
(empfile): Add it.
(pchr_ca): Use it.

18 years agoFix rev. 1.65.
Markus Armbruster [Sat, 31 Dec 2005 10:20:00 +0000 (10:20 +0000)]
Fix rev. 1.65.

18 years ago(nat_ca): New selector dayno.
Markus Armbruster [Sat, 31 Dec 2005 10:03:06 +0000 (10:03 +0000)]
(nat_ca): New selector dayno.

18 years ago(prod): Add material limit for resource depletion to prod()
Ron Koenderink [Sat, 31 Dec 2005 02:42:55 +0000 (02:42 +0000)]
(prod): Add material limit for resource depletion to prod()
that is in place in the normal update sequence.

18 years ago(ichr_ca): New selector melt_denom. Should have been done together
Markus Armbruster [Fri, 30 Dec 2005 17:32:55 +0000 (17:32 +0000)]
(ichr_ca): New selector melt_denom.  Should have been done together
with item.h rev. 1.15.

(nuke_ca): Fix ca_table for selector types.  Broken in rev. 1.50.

18 years ago(cuto, show_mission): Fix justification of coordinate output.
Markus Armbruster [Fri, 30 Dec 2005 17:28:24 +0000 (17:28 +0000)]
(cuto, show_mission): Fix justification of coordinate output.

18 years ago(M_SPY): Unused, remove.
Markus Armbruster [Fri, 30 Dec 2005 17:22:03 +0000 (17:22 +0000)]
(M_SPY): Unused, remove.

18 years ago(mkdir): Parenthesize macro parameter in expansion.
Markus Armbruster [Fri, 30 Dec 2005 17:21:42 +0000 (17:21 +0000)]
(mkdir): Parenthesize macro parameter in expansion.

18 years ago(opt_UPDATESCHED): Remove nooption UPDATESCHED. It had no effect on
Markus Armbruster [Thu, 29 Dec 2005 13:38:57 +0000 (13:38 +0000)]
(opt_UPDATESCHED): Remove nooption UPDATESCHED.  It had no effect on
the actual update, only on the update command.  Believed to be broken
since Empire2.

18 years agoFix spelling of The_Scum's name.
Markus Armbruster [Thu, 29 Dec 2005 10:26:41 +0000 (10:26 +0000)]
Fix spelling of The_Scum's name.

18 years agoNormalize inclusion guards: use NAME_H for name.h. Some headers
Markus Armbruster [Thu, 29 Dec 2005 10:16:01 +0000 (10:16 +0000)]
Normalize inclusion guards: use NAME_H for name.h.  Some headers
lacked them, others used reserved identifiers.

18 years agoAutoconfigure whether char is unsigned.
Markus Armbruster [Wed, 28 Dec 2005 23:10:26 +0000 (23:10 +0000)]
Autoconfigure whether char is unsigned.

18 years agoFix the previous revision.
Markus Armbruster [Wed, 28 Dec 2005 23:07:24 +0000 (23:07 +0000)]
Fix the previous revision.

18 years agoFix rev. 1.29.
Markus Armbruster [Wed, 28 Dec 2005 23:06:14 +0000 (23:06 +0000)]
Fix rev. 1.29.

18 years agosrc/lib/commands/sona.c rev. 1.6 changed first argument of
Markus Armbruster [Wed, 28 Dec 2005 22:43:39 +0000 (22:43 +0000)]
src/lib/commands/sona.c rev. 1.6 changed first argument of
line_of_sight() to char *.  The changeset failed to change callers.
Fix.

18 years ago(att_mode, xyas, ownxy, prbuf): Get rid of s_char. Users changed.
Markus Armbruster [Wed, 28 Dec 2005 22:30:52 +0000 (22:30 +0000)]
(att_mode, xyas, ownxy, prbuf): Get rid of s_char.  Users changed.

(ATTRIBUTE): Don't disable use of gcc __attribute__ when s_char is
signed char.  All format strings are now char *.

18 years agoplayer.h rev. 1.9 changed struct player member argp to char *. The
Markus Armbruster [Wed, 28 Dec 2005 22:21:42 +0000 (22:21 +0000)]
player.h rev. 1.9 changed struct player member argp to char *.  The
changeset failed to adapt some s_char * operands.  Fix.

18 years agoRemove superflous includes.
Markus Armbruster [Wed, 28 Dec 2005 21:26:30 +0000 (21:26 +0000)]
Remove superflous includes.

18 years agoThere's no reason to include <time.h> in empio.h, except it's missing
Markus Armbruster [Wed, 28 Dec 2005 21:25:39 +0000 (21:25 +0000)]
There's no reason to include <time.h> in empio.h, except it's missing
in a couple of other files.  Include it where it's needed.

18 years ago(PP_MAIN, PP_UPDATE, PP_SHUTDOWN, PP_SCHED, PP_TIMESTAMP, PP_PLAYER)
Markus Armbruster [Wed, 28 Dec 2005 21:21:15 +0000 (21:21 +0000)]
(PP_MAIN, PP_UPDATE, PP_SHUTDOWN, PP_SCHED, PP_TIMESTAMP, PP_PLAYER)
(PP_ACCEPT, PP_KILLIDLE): Move from player.h to empthread.h and turn
into enumeration constants.

18 years agoQuiet the noise about files created and removed.
Markus Armbruster [Wed, 28 Dec 2005 19:36:17 +0000 (19:36 +0000)]
Quiet the noise about files created and removed.

18 years agoUpdate for 4.3.0.
Markus Armbruster [Wed, 28 Dec 2005 19:21:09 +0000 (19:21 +0000)]
Update for 4.3.0.

18 years ago(login): Fix error messages.
Markus Armbruster [Wed, 28 Dec 2005 19:03:29 +0000 (19:03 +0000)]
(login): Fix error messages.

18 years agoSupport for IPv6:
Markus Armbruster [Wed, 28 Dec 2005 18:50:08 +0000 (18:50 +0000)]
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.