]> git.pond.sub.org Git - empserver/log
empserver
18 years ago(realm_ca): Remove selector uid. It's not useful for players, and not
Markus Armbruster [Sun, 5 Feb 2006 19:01:41 +0000 (19:01 +0000)]
(realm_ca): Remove selector uid.  It's not useful for players, and not
needed for xdump, because it doesn't occur as ca_table.

(lost_ca): Remove selector uid.  Reasons as for realm_ca.  The value
is incorrect in unused records, which is semantically tolerable, but
needlessly complicated to check in ef_verify.c.

(news_ca): Remove selector uid.  Reasons as for realm_ca, plus the
value is incorrect, because nws_uid is not used.

18 years agoFix bad line breaks.
Markus Armbruster [Sun, 5 Feb 2006 17:58:16 +0000 (17:58 +0000)]
Fix bad line breaks.

18 years agoDoc fix.
Markus Armbruster [Sun, 5 Feb 2006 17:43:00 +0000 (17:43 +0000)]
Doc fix.

18 years agoWhen sources.mk is needed to find directories, don't test whether it's
Markus Armbruster [Sun, 5 Feb 2006 17:41:17 +0000 (17:41 +0000)]
When sources.mk is needed to find directories, don't test whether it's
there, just use it.  If it's not there, things will fail down the
road.  Better to fail early.

18 years ago(vers): Add collateral damage matrix to version report.
Ron Koenderink [Sun, 5 Feb 2006 17:37:58 +0000 (17:37 +0000)]
(vers): Add collateral damage matrix to version report.
Add unit_damage and collateral_dam to the collateral damage matrix.
Move people_damage into matrix.

18 years ago(vers): Add the following the configuration values to the version report:
Ron Koenderink [Sun, 5 Feb 2006 15:52:26 +0000 (15:52 +0000)]
(vers): Add the following the configuration values to the version report:
torpedo_damage, flakscale, people_damage, assault_penalty,
decay_per_etu, fallout_spread, fuel_mult, max_btus and max_idle.

18 years ago(main) [_WIN32]: Upgrade to winsock version 2.
Ron Koenderink [Sun, 5 Feb 2006 15:47:13 +0000 (15:47 +0000)]
(main) [_WIN32]: Upgrade to winsock version 2.
Remove version 1.1 include files.

18 years ago(configkeys): Make pre_update_hook and start_cash KM_INTERNAL.
Ron Koenderink [Sat, 4 Feb 2006 21:04:25 +0000 (21:04 +0000)]
(configkeys): Make pre_update_hook and start_cash KM_INTERNAL.

18 years ago(powe_cost): Remove powe_cost and replace with a fixed cost of 10.
Ron Koenderink [Sat, 4 Feb 2006 19:36:51 +0000 (19:36 +0000)]
(powe_cost): Remove powe_cost and replace with a fixed cost of 10.

18 years ago(vers): Add the following econfig values to version report:
Ron Koenderink [Thu, 2 Feb 2006 13:20:14 +0000 (13:20 +0000)]
(vers):  Add the following econfig values to version report:
MARK_DELAY, TRADE_DELAY, mission_mob_cost ,
money_ship, money_plane, money_land,
fort_max_interdiction_range, ship_max_interdiction_range,
land_max_interdiction_range, combat_mob and
sect_mob_neg_factor.

18 years ago(lcarg, lcargo.t): Fix the header to match the info page.
Ron Koenderink [Wed, 1 Feb 2006 23:52:42 +0000 (23:52 +0000)]
(lcarg, lcargo.t): Fix the header to match the info page.
Update the info page for the change to add civ, mil and uw.

(carg, cargo.t): Add the civ, mil and uw to cargo display.
Make the same as lcargo.  Update the info page.

18 years ago(lcarg, ldump): Display civ, mil, and uw cargo for land units.
Ron Koenderink [Tue, 31 Jan 2006 17:32:33 +0000 (17:32 +0000)]
(lcarg, ldump): Display civ, mil, and uw cargo for land units.
Remove full name from lcarg() to make room.  Closes #889646.

18 years ago(show_news, news, empfile[], page_headings[], page_headings_symbols[]):
Ron Koenderink [Mon, 30 Jan 2006 22:26:48 +0000 (22:26 +0000)]
(show_news, news, empfile[], page_headings[], page_headings_symbols[]):
Change page_headings[] to struct symbol and removed
page_headings_symbols[].

18 years agoProperly parse and validate column headers:
Ron Koenderink [Mon, 30 Jan 2006 22:23:43 +0000 (22:23 +0000)]
Properly parse and validate column headers:
(enum_value, value, xuflds, freeflds): Parse additional syntax:
numeric and symbolic index.
(xucolumnheader): Use it to parse column header line.  Check names
and indexes match meta-data.  Symbolic indexes not yet implemented.
(xuloadrow): Reject the additional syntax.

18 years agoUpdate comment to indicate page_headings[] is done.
Ron Koenderink [Sun, 29 Jan 2006 19:29:10 +0000 (19:29 +0000)]
Update comment to indicate page_headings[] is done.

18 years ago(xuheader): Remove values[], not used.
Ron Koenderink [Sun, 29 Jan 2006 19:12:52 +0000 (19:12 +0000)]
(xuheader): Remove values[], not used.

18 years ago(EF_PAGE_HEADINGS, page_headings_symbols, M_NOTUSED): New.
Ron Koenderink [Sun, 29 Jan 2006 18:40:11 +0000 (18:40 +0000)]
(EF_PAGE_HEADINGS, page_headings_symbols, M_NOTUSED): New.
(empfile): Add it.
(rpt_ca): Use it.

18 years ago(show_news): New.
Ron Koenderink [Sun, 29 Jan 2006 17:44:29 +0000 (17:44 +0000)]
(show_news): New.
(show): Use it to implement show news.

18 years ago(news): Fix rev. 1.13: fail command before printing headlines.
Markus Armbruster [Sun, 29 Jan 2006 17:13:25 +0000 (17:13 +0000)]
(news): Fix rev. 1.13: fail command before printing headlines.

18 years ago(ac_dog): Do not use 'ap' as a pointer to get the owner
Ron Koenderink [Sun, 29 Jan 2006 13:56:35 +0000 (13:56 +0000)]
(ac_dog): Do not use 'ap' as a pointer to get the owner
for the call to ac_planedamage() use att_own instead.
'ap' may have been already freed in the previous call
to ac_planedamage().  This can create an invalid
news item and crash the server.

18 years ago(player_coms): Sort by element member c_form.
Markus Armbruster [Sun, 29 Jan 2006 13:51:47 +0000 (13:51 +0000)]
(player_coms): Sort by element member c_form.

18 years ago(xdver): Dump version string.
Markus Armbruster [Sat, 28 Jan 2006 17:26:05 +0000 (17:26 +0000)]
(xdver): Dump version string.

18 years ago(guerrilla): Tell sector owner when partisans take over. But don't
Markus Armbruster [Fri, 27 Jan 2006 19:53:24 +0000 (19:53 +0000)]
(guerrilla): Tell sector owner when partisans take over.  But don't
disclose che casualties then.

18 years ago(main, print_usage): New options -h and -v.
Markus Armbruster [Fri, 27 Jan 2006 18:01:33 +0000 (18:01 +0000)]
(main, print_usage): New options -h and -v.

(print_usage): Improve usage message.

18 years ago(main, usage): New option -v.
Markus Armbruster [Fri, 27 Jan 2006 18:00:47 +0000 (18:00 +0000)]
(main, usage): New option -v.

(usage): Improve usage message.

18 years ago(vers): Don't report KSU distribution (1.04 in all known versions),
Markus Armbruster [Fri, 27 Jan 2006 17:59:06 +0000 (17:59 +0000)]
(vers): Don't report KSU distribution (1.04 in all known versions),
Chainsaw version (4.00 since Empire 2, ca. 1995) and Wolfpack version
(used to be the version number after the first dot).
(KSU_DIST, CHAINSAW_DIST, WOLFPACK_DIST): Unused, remove.

(version): New.
(EMP_VERS_MAJOR, EMP_VERS_MINOR, EMP_VERS_PATCH): Remove.  Users
changed to use version[] instead.  version[] is slightly easier to
initialize from configure.ac.
(check-version): No longer needed, remove.

(legal): New.
(vers, main): Show it.

18 years agoChange package name to Wolfpack Empire. Supply tarname, so it stays
Markus Armbruster [Fri, 27 Jan 2006 17:38:53 +0000 (17:38 +0000)]
Change package name to Wolfpack Empire.  Supply tarname, so it stays
empire.

18 years agoCosmetics.
Markus Armbruster [Thu, 26 Jan 2006 18:44:39 +0000 (18:44 +0000)]
Cosmetics.

18 years ago(info.nr/all, info.html/all.html): Don't pick up random junk from the
Markus Armbruster [Mon, 23 Jan 2006 21:33:13 +0000 (21:33 +0000)]
(info.nr/all, info.html/all.html): Don't pick up random junk from the
filesystem.

18 years ago(sources.mk): Link from $(srcdir) if compiling from tarball. Why?
Markus Armbruster [Mon, 23 Jan 2006 21:14:53 +0000 (21:14 +0000)]
(sources.mk): Link from $(srcdir) if compiling from tarball.  Why?
It's distributed in $(srcdir), but required in build directory.

(distclean, bld_distgen): Don't distribute subjects.mk, it's not being
used with a separate build tree.

18 years ago(ac): Add file that should have been added in rev. 1.24.
Markus Armbruster [Mon, 23 Jan 2006 20:47:25 +0000 (20:47 +0000)]
(ac): Add file that should have been added in rev. 1.24.

18 years agoNot for development note.
Markus Armbruster [Sun, 22 Jan 2006 22:37:17 +0000 (22:37 +0000)]
Not for development note.

18 years agoFix making of build directories from sources.mk.
Markus Armbruster [Sun, 22 Jan 2006 22:32:38 +0000 (22:32 +0000)]
Fix making of build directories from sources.mk.

18 years ago(check-version): Didn't work with separate build tree.
Markus Armbruster [Sun, 22 Jan 2006 22:18:25 +0000 (22:18 +0000)]
(check-version): Didn't work with separate build tree.

18 years ago(dist-client): Tarball missed files. Fix.
Markus Armbruster [Sun, 22 Jan 2006 22:02:23 +0000 (22:02 +0000)]
(dist-client): Tarball missed files.  Fix.
(dist-source, dist-client): Prerequisites were missing.
(acdistcli, cli_distgen, src/client/configure, src/client/config.h.in)
(src/client/aclocal.m4): New.

18 years agoNew build process for the standalone client distribution.
Markus Armbruster [Sun, 22 Jan 2006 21:57:06 +0000 (21:57 +0000)]
New build process for the standalone client distribution.

18 years agoUpdate to current version from http://www.gnu.org/licenses/gpl.txt:
Markus Armbruster [Sun, 22 Jan 2006 21:29:04 +0000 (21:29 +0000)]
Update to current version from http://www.gnu.org/licenses/gpl.txt:
FSF address change, Y2K fix in how-to-apply part.

18 years agoThe change set that moved the GPL from LICENSE to COPYING copied it.
Markus Armbruster [Sun, 22 Jan 2006 21:24:12 +0000 (21:24 +0000)]
The change set that moved the GPL from LICENSE to COPYING copied it.
Fix.

18 years ago(show, show_item): Resurrect show item.
Ron Koenderink [Sun, 22 Jan 2006 18:57:14 +0000 (18:57 +0000)]
(show, show_item): Resurrect show item.

18 years ago(xuflds): Terminated the value list when a bad separator is found.
Ron Koenderink [Sun, 22 Jan 2006 17:37:05 +0000 (17:37 +0000)]
(xuflds): Terminated the value list when a bad separator is found.

18 years ago(dist-client): Get rid of unwanted subdirectory src/client.
Markus Armbruster [Sun, 22 Jan 2006 16:07:09 +0000 (16:07 +0000)]
(dist-client): Get rid of unwanted subdirectory src/client.

(dist-client): Add include/proto.h and man/empire.6.

18 years agoCopy of include/proto.h, except for a comment documenting that fact.
Markus Armbruster [Sun, 22 Jan 2006 16:01:44 +0000 (16:01 +0000)]
Copy of include/proto.h, except for a comment documenting that fact.
Remove.

18 years agoCopy of man/empire.6. Remove.
Markus Armbruster [Sun, 22 Jan 2006 16:01:01 +0000 (16:01 +0000)]
Copy of man/empire.6.  Remove.

18 years agoBelatedly rename emp_client.6 to empire.6, to match the changed
Markus Armbruster [Sun, 22 Jan 2006 16:00:17 +0000 (16:00 +0000)]
Belatedly rename emp_client.6 to empire.6, to match the changed
program name in the new build process.

18 years agoAdd generated file path.c.
Ron Koenderink [Sat, 21 Jan 2006 21:26:38 +0000 (21:26 +0000)]
Add generated file path.c.

18 years ago(fuel, load, shp_check_nav, retreat_ship1, shp_nav_one_sector)
Ron Koenderink [Sat, 21 Jan 2006 20:56:50 +0000 (20:56 +0000)]
(fuel, load, shp_check_nav, retreat_ship1, shp_nav_one_sector)
(shp_check_nav, sail_nav_fleet, bigcity_dchr[], sector_navigation[])
(d_navigation): Add a NEW d_navigation enum NAV_CANAL to
indicate that a sector has canal capability. Add canal determination
logic to shp_check_nav(). Update sector_navigation[] with new
canal navigation enum.  Use shp_check_nav() to determine the
sector can be navigated.

18 years ago(pchr_ca): Provide proper ca_table for selector nlndx.
Markus Armbruster [Sat, 21 Jan 2006 20:11:36 +0000 (20:11 +0000)]
(pchr_ca): Provide proper ca_table for selector nlndx.

18 years ago(lcarg): Align column header `a' with column.
Markus Armbruster [Sat, 21 Jan 2006 20:10:06 +0000 (20:10 +0000)]
(lcarg): Align column header `a' with column.

18 years agoDocumentation.
Markus Armbruster [Sat, 21 Jan 2006 20:08:42 +0000 (20:08 +0000)]
Documentation.

18 years agoMinor cleanup.
Markus Armbruster [Sat, 21 Jan 2006 20:07:19 +0000 (20:07 +0000)]
Minor cleanup.

18 years agoUpdate for new build process.
Markus Armbruster [Sat, 21 Jan 2006 20:06:16 +0000 (20:06 +0000)]
Update for new build process.

18 years agoUpdate to match current behavior.
Markus Armbruster [Sat, 21 Jan 2006 20:05:25 +0000 (20:05 +0000)]
Update to match current behavior.

18 years agoRewrite to match current behavior.
Markus Armbruster [Sat, 21 Jan 2006 20:04:45 +0000 (20:04 +0000)]
Rewrite to match current behavior.

18 years agoUpdate.
Markus Armbruster [Sat, 21 Jan 2006 20:03:50 +0000 (20:03 +0000)]
Update.

18 years agoRewrite top-level README for new build process. Merge information
Markus Armbruster [Sat, 21 Jan 2006 19:59:23 +0000 (19:59 +0000)]
Rewrite top-level README for new build process.  Merge information
from LEGAL, remove that file.  References to it were already removed
in the previous change set.  Remove obsolete doc/compiling and
doc/disk_space.

18 years agoCOPYING duplicates information from README. Remove. Move GPL from
Markus Armbruster [Sat, 21 Jan 2006 19:48:41 +0000 (19:48 +0000)]
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.

18 years ago(ef_open_srv): Intialize views only if all is well, so they can assume
Markus Armbruster [Sat, 21 Jan 2006 18:35:26 +0000 (18:35 +0000)]
(ef_open_srv): Intialize views only if all is well, so they can assume
the underlying file is open.

18 years ago(xdvisible): Fix the nuke-chr case to work for deities.
Ron Koenderink [Sat, 21 Jan 2006 17:35:13 +0000 (17:35 +0000)]
(xdvisible): Fix the nuke-chr case to work for deities.

18 years ago(xunsymbol): Ensure the table is a symbol table before searching it.
Ron Koenderink [Sat, 21 Jan 2006 17:33:02 +0000 (17:33 +0000)]
(xunsymbol): Ensure the table is a symbol table before searching it.

18 years agoAutoconfigure MinGW: socket library, thread package. Rewrite thread
Markus Armbruster [Sat, 21 Jan 2006 08:11:07 +0000 (08:11 +0000)]
Autoconfigure MinGW: socket library, thread package.  Rewrite thread
package selection.

18 years ago(CFLAGS): Recent versions of gcc have a built-in function carg(),
Markus Armbruster [Sat, 21 Jan 2006 08:06:17 +0000 (08:06 +0000)]
(CFLAGS): Recent versions of gcc have a built-in function carg(),
which collides with our carg().  Suppress.

18 years ago(shp_nav): Skip ships that are landlocked.
Ron Koenderink [Sat, 21 Jan 2006 00:30:17 +0000 (00:30 +0000)]
(shp_nav): Skip ships that are landlocked.
The shp_mess() frees the ship record but shp_nav() continues
processing the ship record causing a corruption of the
memory poll which results in a server crash.

18 years agoWork around MinGW Make's broken built-in link rule.
Markus Armbruster [Fri, 20 Jan 2006 07:48:10 +0000 (07:48 +0000)]
Work around MinGW Make's broken built-in link rule.

18 years ago(shp_check_nav): Remove the masking. This should have
Ron Koenderink [Wed, 18 Jan 2006 23:26:13 +0000 (23:26 +0000)]
(shp_check_nav): Remove the masking.  This should have
be done when the d_nav's defines were replaced with a
enum d_navigation.  No functional changes.

18 years ago(sail_ship): Only print the reached message when
Ron Koenderink [Wed, 18 Jan 2006 01:37:47 +0000 (01:37 +0000)]
(sail_ship): Only print the reached message when
the fleet actually moves.

18 years ago(sail_nav_fleet): Prevent a large fleet from sailing through
Ron Koenderink [Wed, 18 Jan 2006 01:08:55 +0000 (01:08 +0000)]
(sail_nav_fleet): Prevent a large fleet from sailing through
a canal.  Ensure only ships with M_CANAL can navigate a
canal.

18 years ago(sect_has_dock): New.
Ron Koenderink [Tue, 17 Jan 2006 23:38:51 +0000 (23:38 +0000)]
(sect_has_dock): New.
(fuel, load, nav_loadship): Use it.

18 years ago(load): Fix the printing of city when describing loadable sectors.
Ron Koenderink [Tue, 17 Jan 2006 22:23:13 +0000 (22:23 +0000)]
(load): Fix the printing of city when describing loadable sectors.
Broken in Rev. 1.21.

18 years ago(d_navigation): New.
Ron Koenderink [Tue, 17 Jan 2006 21:58:25 +0000 (21:58 +0000)]
(d_navigation): New.
(dchrstr): Use it.

18 years ago(dchr): Use NAV_NONE.
Ron Koenderink [Tue, 17 Jan 2006 21:58:25 +0000 (21:58 +0000)]
(dchr): Use NAV_NONE.

18 years ago(EF_SECTOR_NAVIGATION, sector_navigation): New.
Ron Koenderink [Tue, 17 Jan 2006 21:42:02 +0000 (21:42 +0000)]
(EF_SECTOR_NAVIGATION, sector_navigation): New.
(empfile): Add it.
(dchr_ca): Use it.
(NAV_NONE): New.

18 years ago(dchrstr): Rename member d_flg to d_nav. Users changed.
Ron Koenderink [Tue, 17 Jan 2006 21:17:19 +0000 (21:17 +0000)]
(dchrstr): Rename member d_flg to d_nav.  Users changed.

18 years ago(check_nav, shp_check_nav, sail_nav_fleet, retreat_ship1):
Ron Koenderink [Tue, 17 Jan 2006 13:11:24 +0000 (13:11 +0000)]
(check_nav, shp_check_nav, sail_nav_fleet, retreat_ship1):
Make shp_check_nav() public.
Remove check_nav(), replace with shp_check_nav().
No functional change as check_nav() and shp_check_nav() are
identical.

18 years agoNot used in the new build process; remove.
Markus Armbruster [Sun, 15 Jan 2006 20:11:04 +0000 (20:11 +0000)]
Not used in the new build process; remove.

18 years ago(dist): Implement. The client tarball doesn't work yet.
Markus Armbruster [Sun, 15 Jan 2006 20:10:27 +0000 (20:10 +0000)]
(dist): Implement.  The client tarball doesn't work yet.
(TARNAME, VERSION, tarball, acdist, src_distgen, bld_distgen)
(dist-source, dist-client, dist-info, check-version): New.

18 years ago(ac): Fix location of autom4te.cache.
Markus Armbruster [Sun, 15 Jan 2006 19:49:56 +0000 (19:49 +0000)]
(ac): Fix location of autom4te.cache.
(clean): Add missing $(empth_obj).

18 years ago(info.html/TOP.html): Fix.
Markus Armbruster [Sun, 15 Jan 2006 18:19:27 +0000 (18:19 +0000)]
(info.html/TOP.html): Fix.

18 years agoReorder variable definitions. No functional changes.
Markus Armbruster [Sun, 15 Jan 2006 18:15:50 +0000 (18:15 +0000)]
Reorder variable definitions.  No functional changes.

18 years ago(EXEEXT): New.
Markus Armbruster [Sun, 15 Jan 2006 18:07:58 +0000 (18:07 +0000)]
(EXEEXT): New.
(util, client, server): Use it.

18 years ago(distclean): Clean up another rev. 1.11 leftover.
Markus Armbruster [Sun, 15 Jan 2006 18:02:01 +0000 (18:02 +0000)]
(distclean): Clean up another rev. 1.11 leftover.

18 years ago(distclean): Clean up rev. 1.11 leftover.
Markus Armbruster [Sun, 15 Jan 2006 12:57:49 +0000 (12:57 +0000)]
(distclean): Clean up rev. 1.11 leftover.

18 years agoThe code to fail when new subject's file exists failed always. Fix.
Markus Armbruster [Sun, 15 Jan 2006 08:05:13 +0000 (08:05 +0000)]
The code to fail when new subject's file exists failed always.  Fix.

18 years agoRemove useless width from printf conversion %c.
Markus Armbruster [Sat, 14 Jan 2006 20:06:29 +0000 (20:06 +0000)]
Remove useless width from printf conversion %c.

18 years ago(EF_COUNTRY, cou_ca): New.
Markus Armbruster [Sat, 14 Jan 2006 16:28:33 +0000 (16:28 +0000)]
(EF_COUNTRY, cou_ca): New.
(empfile): Add it.
(xdvisible): Deal with it.
(ef_open_srv, ef_close_srv): Set it up.
(ef_init_view, ef_fina_view): New.

18 years agoAvoid compiler warnings triggered by the previous revision.
Markus Armbruster [Sat, 14 Jan 2006 16:13:30 +0000 (16:13 +0000)]
Avoid compiler warnings triggered by the previous revision.

18 years agoFix the previous revision.
Markus Armbruster [Sat, 14 Jan 2006 16:11:22 +0000 (16:11 +0000)]
Fix the previous revision.

18 years ago(sona): Simplify the memory allocation for rad[] and vis[].
Ron Koenderink [Sat, 14 Jan 2006 15:50:16 +0000 (15:50 +0000)]
(sona): Simplify the memory allocation for rad[] and vis[].
No functional changes.

18 years ago(list_realm): Fix type of parameter curr (broken in rev. 1.9).
Markus Armbruster [Sat, 14 Jan 2006 15:30:18 +0000 (15:30 +0000)]
(list_realm): Fix type of parameter curr (broken in rev. 1.9).
Simplify.

18 years ago(real): Fix the previous revision.
Markus Armbruster [Sat, 14 Jan 2006 15:20:24 +0000 (15:20 +0000)]
(real): Fix the previous revision.

18 years ago(sona): Fix memory allocation for rad[] and vis[]. The space request
Ron Koenderink [Fri, 13 Jan 2006 22:56:41 +0000 (22:56 +0000)]
(sona): Fix memory allocation for rad[] and vis[].  The space request
for rad[] and vis[] is too small because it did not consider the size
of the array element.  Broken in rev. 1.15.

18 years agoMove realms from the nation file into a new realms file:
Ron Koenderink [Fri, 13 Jan 2006 13:18:56 +0000 (13:18 +0000)]
Move realms from the nation file into a new realms file:
(boundstr, realmstr): Rename, new members ef_type, r_cnum, r_uid,
r_realm, r_timestamp.
(natstr): Remove member nat_b[].
(EF_REALM, realm_ca): New.
(empfile): Add it.
(ef_open_srv, ef_close_srv, main): Deal with new file.
(getrealm, putrealm): New.
(add, new, real, list_realm, sarg_getrange): Use them.

18 years ago(ship_bomb, deli, do_demo, fuel, grin, look_ship)
Ron Koenderink [Thu, 12 Jan 2006 14:23:55 +0000 (14:23 +0000)]
(ship_bomb, deli, do_demo, fuel, grin, look_ship)
(ltend, multifire, quite_bigdef, mine, landmine)
(do_loan, prod, printdiff, sell, sona, stre)
(tend, fire_dchrg, vers, work, ac_planedamage)
(ac_shipflak, ask_off, get_mine_dsupport, att_fight)
(ask_move_in_off, detonate, sd, land_gun)
(land_unitgun, lnd_fort_interdiction, lnd_fortify)
(perform_mission, pln_mine, pln_mobcost)
(retreat_ship1, retreat_land1, shp_sweep)
(shp_fort_interdiction, shp_missle_defense)
(new_work, growfood, upd_land, land_repair)
(get_materials, do_mob_ship, do_mob_land)
(load_it, unload_it, prod_plane, produce)
(guerrilla, upd_buildeff, spread_fallout)
(upd_ship, ship_repair, min, dmin, MIN):
Remove min() and dmin() functions and replace
with a MIN macro in misc.h.  Remove local MIN
macros and use the new one in misc.h.  This
change removes the need for the special
case for _WIN32.

(fuel, look_ship, multifire, mission, sona)
(plane_sona, ef_open, player_accept, player_main)
(ac_dog, att_get_combat, calc_mobcost)
(ask_move_in_off, intelligence_report)
(build_mission_list_type, perform_mission)
(show_mission, use_supply, dodistribute)
(allocate_memory, max, dmax, MAX):
Remove max() and dmax() functions and replace
with a MAX macro in misc.h.  Remove local MAX
macros and use the new one in misc.h.  This
change removes the need for the special
case for _WIN32.

18 years ago(EF_BAD, EF_SECTOR, EF_SHIP, EF_PLANE, EF_LAND, EF_NUKE)
Ron Koenderink [Tue, 10 Jan 2006 19:53:34 +0000 (19:53 +0000)]
(EF_BAD, EF_SECTOR, EF_SHIP, EF_PLANE, EF_LAND, EF_NUKE)
(EF_NEWS, EF_TREATY, EF_TRADE, EF_POWER, EF_NATION)
(EF_LOAN, EF_MAP, EF_BMAP, EF_COMM, EF_LOST)
(EF_SECTOR_CHR, EF_SHIP_CHR, EF_PLANE_CHR)
(EF_LAND_CHR, EF_NUKE_CHR, EF_NEWS_CHR)
( EF_TREATY_FLAGS, EF_ITEM, EF_INFRASTRUCTURE)
(EF_PRODUCT, EF_TABLE, EF_SHIP_CHR_FLAGS)
(EF_PLANE_CHR_FLAGS, EF_LAND_CHR_FLAGS)
(EF_NUKE_CHR_FLAGS, EF_META)
(EF_META_TYPE, EF_META_FLAGS, EF_MISSIONS)
(EF_PLANE_FLAGS, EF_RETREAT_FLAGS, EF_NATION_FLAGS)
(EF_NATION_RELATIONS, EF_LEVEL, EF_AGREEMENT_STATUS)
(EF_PLAGUE_STAGES, EF_PACKING, EF_RESOURCES)
(EF_NATION_STATUS, EF_MAX): Turn into enumeration constants.

18 years ago(acce): Remove unused variable 'n'.
Ron Koenderink [Sun, 8 Jan 2006 22:07:49 +0000 (22:07 +0000)]
(acce): Remove unused variable 'n'.

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.