Commit graph

617 commits

Author SHA1 Message Date
8b0eae7594 Quiet the noise about files created and removed. 2005-12-28 19:36:17 +00:00
ade510f787 Turn options into ordinary econfig keys:
(configkeys): Add options.
(KM_OPTION): New.
(vers): Find options in configkeys[] instead of Options[].
(xdump): Remove xdump opt syntax.
(xdopt): Remove.
(emp_config, print_config): Remove option special case.
(option_list, Options, setoption): Remove.
2005-12-25 10:32:50 +00:00
ee1a17a402 Belatedly remove NUKEFAILDETONATE, NONUKES, NEUTRON, ORBIT, NO_LCMS,
NO_HCMS, NO_OIL.

Don't claim BLITZ implies NOFOOD.
2005-12-23 13:24:45 +00:00
2162e37f43 Chapters Introduction and Server are also subjects, and all pages in
those chapters should refer to their chapter-subject.  Check & fix.
2005-12-22 12:23:38 +00:00
4ea4a01fd5 (info, html): Implement.
(all): Depend on info.

Flatten info directory.  This undoes the move to one subdirectory per
chapter, which was done during Empire 2.  The structure doesn't buy us
much, as the info name space is flat, and it complicates makefiles.

Overhaul info.pl:
- It now wants to run in the root of the build tree.
- Information on source files and subjects is now stored in makefiles,
  thus info.pl no longer picks up random junk from the file system.
- Clean up Perl anachronisms, in particular use subroutine arguments and
  results rather than global variables where convenient.
- Change format of diagnostics to the common format used by GNU tools,
  so that Emacs and the like can parse it.
- Catch missing .SA.
- When creating a new subject file, cowardly refuse to overwrite an
  existing file.
- Subject files contain topics sorted by chapter, then by name.  The
  order of chapters used to depend on how Perl sorts hash keys.  Fix
  it.
2005-12-22 10:09:17 +00:00
a98626df2d Replace the build process. The new one requires GNU Make, Autoconf
and Autoconf macros that come with Automake.  It supports multiple
separate builds of the same source tree, and updates dependencies
automatically.  Targets info, html, install, install-html, uninstall
and dist are not yet implemented.

System configuration is now automatic.  Previously, you had to choose
one of several canned system configurations, defined in Make.sysdefs.
Currently, system configuration always uses UCONTEXT for LWP, and
chooses LWP only if its requirements are met.

Feature configuration changed: instead of editing build.conf (further
processed by doconfig), you pass arguments to configure.  Note that
build.conf settings that can be overridden in econfig have no
configure equivalent; just edit econfig instead.

Because generated headers complicate makefiles, fold gamesdef.h into
its users: path.c and ipglob.c become path.c.in and ipglob.c.in,
constants.c, vers.c, options.h simply hardcode defaults (most of them
are run-time configurable).

Call the client empire instead of emp_client.  This matches what the
old standalone build did.
2005-12-20 20:25:35 +00:00
Ron Koenderink
cdfb94dc1f (nati, player_coms): Add ability for deities to request a nation report for any country.
Closes #1083167.
2005-12-20 17:06:47 +00:00
Ron Koenderink
9217e75761 (shp_nav_one_sector, mchr[], ship_chr_flags[], Ship-types, Sector-types):
Add M_CANAL flag to indicate which ships can navigate a canal
in a big city.  Remove the hard code values for canal from
shp_nav_one_sector() for which ships can navigate a canal.
Set M_CANAL flag in ship_chr_flags[] to match the hard
coding in shp_nav_one_sector().
Update Ship-types.t with new canal flag.
Update Sector-types.t to indicate that cities have canals.
2005-12-18 15:16:52 +00:00
4c06f31f16 (coun): Last access used to report last login time.
Counter-intuitive.  Report last connection time range instead.
Unfortunately, this requires a change in output format.

(coun): Report on all countries even to mortals.  This used to be
done, and was most probably changed because it gave away too much
information.  Carefully limit the information given to mortals, as
follows.  Limit last access information to whether deities or allies
are logged on right now, no longer report connection time for deities
that are not logged on.  Remove column time for mortals, rename it to
BTU for deities.  Report status, but with less detail if HIDDEN is
enabled.
2005-10-30 14:59:39 +00:00
ada0ed8e61 (buy, check_market, trad, check_trade): Remove the following virtually
undocumented feature: When a buyer didn't have enough money at the
time of the trade, the seller *automatically* granted a high-interest,
medium term loan for up to 90% of the price.  This is just a silly
trap for unwary sellers and buyers alike.
(N_FIN_TROUBLE, N_CREDIT_JUNK): Unused, remove.
(rpt): Update accordingly.
2005-10-30 14:33:44 +00:00
e311ba1648 One more SNEAK_ATTACK leftover. 2005-10-26 16:19:17 +00:00
8e83b89e9c More 4.2.23 changes. 2005-10-23 09:36:26 +00:00
47521f9fec Update example to current output. 2005-10-23 09:28:15 +00:00
1786120f2a Remove option SNEAK_ATTACK leftovers. 2005-10-23 09:26:15 +00:00
160644f6ba Another 4.2.23 change. 2005-10-21 18:20:20 +00:00
c1ab03dd5e Update for 4.2.23. 2005-10-21 05:58:30 +00:00
924417c110 More 4.2.22 changes. 2005-10-11 20:59:00 +00:00
8b84d50d23 Replace incorrect claim on morale_base by reference to info morale.
Reported by Doug Wescott.
2005-10-11 20:48:30 +00:00
1fa602b279 Update for 4.2.22. 2005-10-04 07:27:56 +00:00
af32304af0 (get_assembly_point): Close loophole that allowed players to find all
unowned sectors.  The assembly point must now be owned or allied, or
have an owned or allied ship.

Info pages didn't match the old rule.  Fix them to match the new rule.
2005-10-04 07:20:37 +00:00
e7151df698 Check against source and update accordingly. 2005-10-03 15:42:44 +00:00
4f1ebae4b7 (natstr): Member nat_connected is inappropriate, because it is
transient server state, not persistent game state.  Remove.
(player_main, edit): Remove uses.
(coun): Use getplayer() instead of nat_connected.  Delete the message
on command being out of order.
2005-10-02 17:01:15 +00:00
267a9ef424 Don't point to ftp.wolfpackempire.com, it does not work. 2005-10-01 12:52:00 +00:00
a5b7465024 (N_FLAK, N_DISS_GOV, N_DECL_NEUT, N_RIOT, N_ASSAULT_LOSE): Unused,
remove.
(no_news): new.
(rpt): Use it for r_newsstory of unused slots.
2005-09-30 20:38:22 +00:00
Ron Koenderink
5100e522fe Change info pages to reflect the code change that sets the build reaction
radius to zero for land-units.
2005-09-20 00:00:23 +00:00
66e30e2c8e Update to current output format. 2005-07-31 17:45:06 +00:00
786b34c693 (SHIPNAMES, opt_SHIPNAMES, Options, carg, name, sorde, qorde)
(show_sail, shi, att_get_combat, pr_com, satdisp, satmap, prship):
Remove nooption SHIPNAMES.
2005-07-31 17:22:32 +00:00
Ron Koenderink
968501cf00 Fix lrangeedit to lrange. Fix rangeedit to range. Fix attack to Attacking.
Add html links for info references.  Remove inconsistent periods.
Add missing closing brackets. Change info to information to improve
readability.  Improve the readability for range/lrange sentence.
2005-07-23 13:58:11 +00:00
eba5db4bf0 Final batch of 4.2.21 changes. 2005-07-16 18:00:05 +00:00
23ee946206 Still more 4.2.21 changes. 2005-07-09 14:06:13 +00:00
8754dc0124 Still more 4.2.21 changes. 2005-07-05 16:14:09 +00:00
89087bef17 More 4.2.21 changes. 2005-06-23 19:59:42 +00:00
2c14ca57a4 Based on a page Doug Wescott created for his Petting Zoo. I restored
the ASCII art to the original, gave credit to its creator, quoted from
WordNet (free) instead of American Heritage Dictionary, omitted parts
that might be illegal to distribute in certain countries, and improved
see also.
2005-06-23 19:35:44 +00:00
8bfbb80804 Update for 4.2.21. 2005-06-18 17:42:01 +00:00
34fe99ee23 Fix markup. 2005-06-11 13:41:11 +00:00
1112cec9a7 Spelling fixes. 2005-06-11 13:38:47 +00:00
Ron Koenderink
c3915edb54 (hidd,peek): Rename hidden command to peek.
This prevents a conflict in the info files with
HIDDEN option.
2005-06-01 12:26:22 +00:00
Ron Koenderink
2f36c83c58 Spelling fixes. 2005-05-31 03:31:58 +00:00
18ee9a2f35 (flee, army, wing): Print how many new members were added.
Previously, it printed how many were selected, which can include old
members of the group.

(flee, army): The rather obscure feature to assign the fleet's /
army's retreat orders to members was broken.  It ignored ownership,
and thus could copy some other player's retreat orders.  Abusable.
Copying the first member's retreat orders is less than useful, in
particular for group ~.  The code now chooses the first one in the
same sector with RET_GROUP set.  RET_GROUP is never set for group ~.
2005-05-30 14:56:02 +00:00
33ae33b556 Fix .SA. 2005-05-30 07:35:15 +00:00
27a9f772f5 Cosmetic change of markup. 2005-05-30 06:15:21 +00:00
0f36b73975 Fix the previous revision. 2005-05-30 06:14:22 +00:00
Ron Koenderink
cee93406f9 Add the See Also "Moving" to the commands described
in the info file.
2005-05-29 15:46:13 +00:00
Ron Koenderink
8531589c66 Correct the number of commands in the described in the text. 2005-05-29 15:40:34 +00:00
Ron Koenderink
a52b14681c Changed the name of Attack and Move concept files and
a number of Subjects files to prevent name
conflicts where the only the case is difference.
Attack -> Attacking
Moving -> Transportation
Move -> Moving
Market -> Commerce
Nation -> Nations
Production -> Producing
Update -> Updating
2005-05-29 14:17:07 +00:00
baf416652a Login options.
(player): New member flags.
(PF_UTF8, NF_UTF8): New PF_UTF8 replaces NF_UTF8.  Users changed.
(options_cmd): New.
(login_coms): New command `options'.
(toggle): Revert to the previous rev.
2005-05-27 16:31:19 +00:00
Ron Koenderink
2cc44bb182 Support UTF-8 encoded Unicode for user communications.
(NF_UTF8, togg): New client flag.
(flash, wall): User text input filtering.
(parse, prmptrd): Normal text input filtering.
(uprmptrd, ugetstring): New, to get user text.
(getele, flash, wall): Use them.
(getele): No need to filter out funny characters; input filtering
takes care of them.
(sendmessage, ufindbreak): Work on user text.
(uprnf): New, to print user text.
(rea, gamedown, show_motd): Use it.
(prnf): Unused, remove.
(pr, upr_player): Normal text output filtering (with highlighting).
(pr_flash): User text output filtering.
2005-05-26 01:58:48 +00:00
Ron Koenderink
a156902d5f (): Improve the explaination of the options in wire command.
Make wire.t similiar to the read.t and incorporate the
improvements from #1010010.
2005-03-26 17:17:42 +00:00
Ron Koenderink
92ac36ec56 (rea): Set parameters for read to [yes|no|<CNUM/CNAME>].
Add parameters for read in the command list and the info pages.
Closes #1010010.
2005-03-25 21:04:39 +00:00
2af6fcd78e More 4.2.20 changes. 2005-03-22 21:10:44 +00:00