]>
git.pond.sub.org Git - empserver/log
Markus Armbruster [Mon, 6 Feb 2006 21:56:38 +0000 (21:56 +0000)]
(MIN, MAX): Fix insufficiently parenthesized macro expansion.
Markus Armbruster [Mon, 6 Feb 2006 20:12:42 +0000 (20:12 +0000)]
(nation_status): Lacked sentinel.
Markus Armbruster [Mon, 6 Feb 2006 07:57:04 +0000 (07:57 +0000)]
(verify_row): Check all values against symbol tables, not just
non-negative ones.
(verify_row): Fix off by one in non-symbol table index check.
Markus Armbruster [Mon, 6 Feb 2006 07:53:42 +0000 (07:53 +0000)]
(verify_row): Check table references regardless of target table. Also
fixes the previous revision.
Markus Armbruster [Mon, 6 Feb 2006 07:41:55 +0000 (07:41 +0000)]
(level): Add value -1.
Markus Armbruster [Sun, 5 Feb 2006 20:20:46 +0000 (20:20 +0000)]
(meta_type): Fix NSC_TYPE entry to match specification.
Markus Armbruster [Sun, 5 Feb 2006 19:59:08 +0000 (19:59 +0000)]
(verify_row): Check uid.
Markus Armbruster [Sun, 5 Feb 2006 19:57:10 +0000 (19:57 +0000)]
(verify_row): NSC_BITS implies symbol_ca. Oops if violated.
Markus Armbruster [Sun, 5 Feb 2006 19:55:05 +0000 (19:55 +0000)]
(verify_row): Simplify control structure. No functional change.
Markus Armbruster [Sun, 5 Feb 2006 19:30:20 +0000 (19:30 +0000)]
Document uid selector convention.
Ron Koenderink [Sun, 5 Feb 2006 19:19:00 +0000 (19:19 +0000)]
(zdon): Display current number of missed updates and number of
missed updates before vetoing begins.
Markus Armbruster [Sun, 5 Feb 2006 19:16:37 +0000 (19:16 +0000)]
(verify_row): Fix for flags that don't fit into int.
Markus Armbruster [Sun, 5 Feb 2006 19:13:58 +0000 (19:13 +0000)]
(verify_row): if/else with negated condition is confusing. Negate
condition, swap conditional statements.
Markus Armbruster [Sun, 5 Feb 2006 19:08:49 +0000 (19:08 +0000)]
(verify_row): Plug memory leak.
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.
Markus Armbruster [Sun, 5 Feb 2006 17:58:16 +0000 (17:58 +0000)]
Fix bad line breaks.
Markus Armbruster [Sun, 5 Feb 2006 17:43:00 +0000 (17:43 +0000)]
Doc fix.
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.
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.
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.
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.
Ron Koenderink [Sat, 4 Feb 2006 21:04:25 +0000 (21:04 +0000)]
(configkeys): Make pre_update_hook and start_cash KM_INTERNAL.
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.
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.
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.
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.
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[].
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.
Ron Koenderink [Sun, 29 Jan 2006 19:29:10 +0000 (19:29 +0000)]
Update comment to indicate page_headings[] is done.
Ron Koenderink [Sun, 29 Jan 2006 19:12:52 +0000 (19:12 +0000)]
(xuheader): Remove values[], not used.
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.
Ron Koenderink [Sun, 29 Jan 2006 17:44:29 +0000 (17:44 +0000)]
(show_news): New.
(show): Use it to implement show news.
Markus Armbruster [Sun, 29 Jan 2006 17:13:25 +0000 (17:13 +0000)]
(news): Fix rev. 1.13: fail command before printing headlines.
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.
Markus Armbruster [Sun, 29 Jan 2006 13:51:47 +0000 (13:51 +0000)]
(player_coms): Sort by element member c_form.
Markus Armbruster [Sat, 28 Jan 2006 17:26:05 +0000 (17:26 +0000)]
(xdver): Dump version string.
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.
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.
Markus Armbruster [Fri, 27 Jan 2006 18:00:47 +0000 (18:00 +0000)]
(main, usage): New option -v.
(usage): Improve usage message.
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.
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.
Markus Armbruster [Thu, 26 Jan 2006 18:44:39 +0000 (18:44 +0000)]
Cosmetics.
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.
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.
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.
Markus Armbruster [Sun, 22 Jan 2006 22:37:17 +0000 (22:37 +0000)]
Not for development note.
Markus Armbruster [Sun, 22 Jan 2006 22:32:38 +0000 (22:32 +0000)]
Fix making of build directories from sources.mk.
Markus Armbruster [Sun, 22 Jan 2006 22:18:25 +0000 (22:18 +0000)]
(check-version): Didn't work with separate build tree.
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.
Markus Armbruster [Sun, 22 Jan 2006 21:57:06 +0000 (21:57 +0000)]
New build process for the standalone client distribution.
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.
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.
Ron Koenderink [Sun, 22 Jan 2006 18:57:14 +0000 (18:57 +0000)]
(show, show_item): Resurrect show item.
Ron Koenderink [Sun, 22 Jan 2006 17:37:05 +0000 (17:37 +0000)]
(xuflds): Terminated the value list when a bad separator is found.
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.
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.
Markus Armbruster [Sun, 22 Jan 2006 16:01:01 +0000 (16:01 +0000)]
Copy of man/empire.6. Remove.
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.
Ron Koenderink [Sat, 21 Jan 2006 21:26:38 +0000 (21:26 +0000)]
Add generated file path.c.
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.
Markus Armbruster [Sat, 21 Jan 2006 20:11:36 +0000 (20:11 +0000)]
(pchr_ca): Provide proper ca_table for selector nlndx.
Markus Armbruster [Sat, 21 Jan 2006 20:10:06 +0000 (20:10 +0000)]
(lcarg): Align column header `a' with column.
Markus Armbruster [Sat, 21 Jan 2006 20:08:42 +0000 (20:08 +0000)]
Documentation.
Markus Armbruster [Sat, 21 Jan 2006 20:07:19 +0000 (20:07 +0000)]
Minor cleanup.
Markus Armbruster [Sat, 21 Jan 2006 20:06:16 +0000 (20:06 +0000)]
Update for new build process.
Markus Armbruster [Sat, 21 Jan 2006 20:05:25 +0000 (20:05 +0000)]
Update to match current behavior.
Markus Armbruster [Sat, 21 Jan 2006 20:04:45 +0000 (20:04 +0000)]
Rewrite to match current behavior.
Markus Armbruster [Sat, 21 Jan 2006 20:03:50 +0000 (20:03 +0000)]
Update.
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.
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.
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.
Ron Koenderink [Sat, 21 Jan 2006 17:35:13 +0000 (17:35 +0000)]
(xdvisible): Fix the nuke-chr case to work for deities.
Ron Koenderink [Sat, 21 Jan 2006 17:33:02 +0000 (17:33 +0000)]
(xunsymbol): Ensure the table is a symbol table before searching it.
Markus Armbruster [Sat, 21 Jan 2006 08:11:07 +0000 (08:11 +0000)]
Autoconfigure MinGW: socket library, thread package. Rewrite thread
package selection.
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.
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.
Markus Armbruster [Fri, 20 Jan 2006 07:48:10 +0000 (07:48 +0000)]
Work around MinGW Make's broken built-in link rule.
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.
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.
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.
Ron Koenderink [Tue, 17 Jan 2006 23:38:51 +0000 (23:38 +0000)]
(sect_has_dock): New.
(fuel, load, nav_loadship): Use it.
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.
Ron Koenderink [Tue, 17 Jan 2006 21:58:25 +0000 (21:58 +0000)]
(d_navigation): New.
(dchrstr): Use it.
Ron Koenderink [Tue, 17 Jan 2006 21:58:25 +0000 (21:58 +0000)]
(dchr): Use NAV_NONE.
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.
Ron Koenderink [Tue, 17 Jan 2006 21:17:19 +0000 (21:17 +0000)]
(dchrstr): Rename member d_flg to d_nav. Users changed.
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.
Markus Armbruster [Sun, 15 Jan 2006 20:11:04 +0000 (20:11 +0000)]
Not used in the new build process; remove.
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.
Markus Armbruster [Sun, 15 Jan 2006 19:49:56 +0000 (19:49 +0000)]
(ac): Fix location of autom4te.cache.
(clean): Add missing $(empth_obj).
Markus Armbruster [Sun, 15 Jan 2006 18:19:27 +0000 (18:19 +0000)]
(info.html/TOP.html): Fix.
Markus Armbruster [Sun, 15 Jan 2006 18:15:50 +0000 (18:15 +0000)]
Reorder variable definitions. No functional changes.
Markus Armbruster [Sun, 15 Jan 2006 18:07:58 +0000 (18:07 +0000)]
(EXEEXT): New.
(util, client, server): Use it.
Markus Armbruster [Sun, 15 Jan 2006 18:02:01 +0000 (18:02 +0000)]
(distclean): Clean up another rev. 1.11 leftover.
Markus Armbruster [Sun, 15 Jan 2006 12:57:49 +0000 (12:57 +0000)]
(distclean): Clean up rev. 1.11 leftover.
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.
Markus Armbruster [Sat, 14 Jan 2006 20:06:29 +0000 (20:06 +0000)]
Remove useless width from printf conversion %c.
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.
Markus Armbruster [Sat, 14 Jan 2006 16:13:30 +0000 (16:13 +0000)]
Avoid compiler warnings triggered by the previous revision.
Markus Armbruster [Sat, 14 Jan 2006 16:11:22 +0000 (16:11 +0000)]
Fix the previous revision.