Commit graph

1339 commits

Author SHA1 Message Date
8add5fbb86 (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.
2006-02-05 19:01:41 +00:00
6ece883b87 Fix bad line breaks. 2006-02-05 17:58:16 +00:00
Ron Koenderink
9f5aa41084 (vers): Add collateral damage matrix to version report.
Add unit_damage and collateral_dam to the collateral damage matrix.
Move people_damage into matrix.
2006-02-05 17:37:58 +00:00
Ron Koenderink
d7dab3ddd1 (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.
2006-02-05 15:52:26 +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
Ron Koenderink
3db7e6201f (powe_cost): Remove powe_cost and replace with a fixed cost of 10. 2006-02-04 19:36:51 +00:00
Ron Koenderink
62e57635ea (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.
2006-02-02 13:20:14 +00:00
Ron Koenderink
1283f79db5 (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.
2006-02-01 23:52:42 +00:00
Ron Koenderink
c500f4adc3 (lcarg, ldump): Display civ, mil, and uw cargo for land units.
Remove full name from lcarg() to make room.  Closes #889646.
2006-01-31 17:32:33 +00:00
Ron Koenderink
7b9fdf8b95 (show_news, news, empfile[], page_headings[], page_headings_symbols[]):
Change page_headings[] to struct symbol and removed
page_headings_symbols[].
2006-01-30 22:26:48 +00:00
Ron Koenderink
426eece569 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.
2006-01-30 22:23:43 +00:00
Ron Koenderink
aaea73a595 Update comment to indicate page_headings[] is done. 2006-01-29 19:29:10 +00:00
Ron Koenderink
79f672969b (xuheader): Remove values[], not used. 2006-01-29 19:12:52 +00:00
Ron Koenderink
f438b74e85 (EF_PAGE_HEADINGS, page_headings_symbols, M_NOTUSED): New.
(empfile): Add it.
(rpt_ca): Use it.
2006-01-29 18:40:11 +00:00
Ron Koenderink
1bca66c061 (show_news): New.
(show): Use it to implement show news.
2006-01-29 17:44:29 +00:00
297ee5eab0 (news): Fix rev. 1.13: fail command before printing headlines. 2006-01-29 17:13:25 +00:00
Ron Koenderink
c686c5648b (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.
2006-01-29 13:56:35 +00:00
b659a16f03 (player_coms): Sort by element member c_form. 2006-01-29 13:51:47 +00:00
b4a76e04a3 (xdver): Dump version string. 2006-01-28 17:26:05 +00:00
c9d35a6d0a (guerrilla): Tell sector owner when partisans take over. But don't
disclose che casualties then.
2006-01-27 19:53:24 +00:00
1af78f75ef (main, print_usage): New options -h and -v.
(print_usage): Improve usage message.
2006-01-27 18:01:33 +00:00
68a7ae71b0 (main, usage): New option -v.
(usage): Improve usage message.
2006-01-27 18:00:47 +00:00
5109a30910 (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.
2006-01-27 17:59:06 +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
Ron Koenderink
fee6c50b1a (show, show_item): Resurrect show item. 2006-01-22 18:57:14 +00:00
Ron Koenderink
8900dfaa3d (xuflds): Terminated the value list when a bad separator is found. 2006-01-22 17:37:05 +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
Ron Koenderink
69851a554e Add generated file path.c. 2006-01-21 21:26:38 +00:00
Ron Koenderink
74e4e2810a (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.
2006-01-21 20:56:50 +00:00
82df8cfe0c (pchr_ca): Provide proper ca_table for selector nlndx. 2006-01-21 20:11:36 +00:00
66121a7670 (lcarg): Align column header `a' with column. 2006-01-21 20:10:06 +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
cb32ec38d6 (ef_open_srv): Intialize views only if all is well, so they can assume
the underlying file is open.
2006-01-21 18:35:26 +00:00
Ron Koenderink
847bf6901c (xdvisible): Fix the nuke-chr case to work for deities. 2006-01-21 17:35:13 +00:00
Ron Koenderink
036a623a40 (xunsymbol): Ensure the table is a symbol table before searching it. 2006-01-21 17:33:02 +00:00
Ron Koenderink
0558a08f4d (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.
2006-01-21 00:30:17 +00:00
Ron Koenderink
4dfcdfeb4b (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.
2006-01-18 23:26:13 +00:00
Ron Koenderink
e7ed28aada (sail_ship): Only print the reached message when
the fleet actually moves.
2006-01-18 01:37:47 +00:00
Ron Koenderink
2088eab228 (sail_nav_fleet): Prevent a large fleet from sailing through
a canal.  Ensure only ships with M_CANAL can navigate a
canal.
2006-01-18 01:08:55 +00:00
Ron Koenderink
14d94c2509 (sect_has_dock): New.
(fuel, load, nav_loadship): Use it.
2006-01-17 23:38:51 +00:00
Ron Koenderink
80be15204b (load): Fix the printing of city when describing loadable sectors.
Broken in Rev. 1.21.
2006-01-17 22:23:13 +00:00
Ron Koenderink
100b39d71f (d_navigation): New.
(dchrstr): Use it.
2006-01-17 21:58:25 +00:00
Ron Koenderink
7179908cf5 (dchr): Use NAV_NONE. 2006-01-17 21:58:25 +00:00
Ron Koenderink
4f20f3dd9c (EF_SECTOR_NAVIGATION, sector_navigation): New.
(empfile): Add it.
(dchr_ca): Use it.
(NAV_NONE): New.
2006-01-17 21:42:02 +00:00
Ron Koenderink
18902e45d0 (dchrstr): Rename member d_flg to d_nav. Users changed. 2006-01-17 21:17:19 +00:00
Ron Koenderink
1d58f58e1b (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.
2006-01-17 13:11:24 +00:00
8ef5b87d90 Not used in the new build process; remove. 2006-01-15 20:11:04 +00:00
1991652cfd (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.
2006-01-15 20:10:27 +00:00