Commit graph

1779 commits

Author SHA1 Message Date
Ron Koenderink
8900dfaa3d (xuflds): Terminated the value list when a bad separator is found. 2006-01-22 17:37:05 +00:00
58bc018b53 (dist-client): Get rid of unwanted subdirectory src/client.
(dist-client): Add include/proto.h and man/empire.6.
2006-01-22 16:07:09 +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
96e27a73a5 Belatedly rename emp_client.6 to empire.6, to match the changed
program name in the new build process.
2006-01-22 16:00:17 +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
35bbd59288 Documentation. 2006-01-21 20:08:42 +00:00
cb8f7e9311 Minor cleanup. 2006-01-21 20:07:19 +00:00
d5339e72a7 Update for new build process. 2006-01-21 20:06:16 +00:00
c309e01d27 Update to match current behavior. 2006-01-21 20:05:25 +00:00
360de37223 Rewrite to match current behavior. 2006-01-21 20:04:45 +00:00
29fe94115d Update. 2006-01-21 20:03:50 +00:00
c62c252b34 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.
2006-01-21 19:59:23 +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
a6587e7e46 Autoconfigure MinGW: socket library, thread package. Rewrite thread
package selection.
2006-01-21 08:11:07 +00:00
23726b3799 (CFLAGS): Recent versions of gcc have a built-in function carg(),
which collides with our carg().  Suppress.
2006-01-21 08:06:17 +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
ed6514f7f3 Work around MinGW Make's broken built-in link rule. 2006-01-20 07:48:10 +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
f237a5e278 (ac): Fix location of autom4te.cache.
(clean): Add missing $(empth_obj).
2006-01-15 19:49:56 +00:00
987a1bac4a (info.html/TOP.html): Fix. 2006-01-15 18:19:27 +00:00
0280a43950 Reorder variable definitions. No functional changes. 2006-01-15 18:15:50 +00:00
99975ef076 (EXEEXT): New.
(util, client, server): Use it.
2006-01-15 18:07:58 +00:00
441c314f1e (distclean): Clean up another rev. 1.11 leftover. 2006-01-15 18:02:01 +00:00
aa35988ec8 (distclean): Clean up rev. 1.11 leftover. 2006-01-15 12:57:49 +00:00
7203926ea4 The code to fail when new subject's file exists failed always. Fix. 2006-01-15 08:05:13 +00:00
0fe877e1cd Remove useless width from printf conversion %c. 2006-01-14 20:06:29 +00:00
9eba732cc3 (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.
2006-01-14 16:28:33 +00:00
21e3c9d55e Avoid compiler warnings triggered by the previous revision. 2006-01-14 16:13:30 +00:00
48c6a88768 Fix the previous revision. 2006-01-14 16:11:22 +00:00
Ron Koenderink
d6f5688b75 (sona): Simplify the memory allocation for rad[] and vis[].
No functional changes.
2006-01-14 15:50:16 +00:00
8a3dc2d846 (list_realm): Fix type of parameter curr (broken in rev. 1.9).
Simplify.
2006-01-14 15:30:18 +00:00
8b047abe53 (real): Fix the previous revision. 2006-01-14 15:20:24 +00:00