Commit Graph

27 Commits

Author SHA1 Message Date
cohrs
ef11d4b5e0 documentation updates
- various commands were missing from various help files
- fix a few inconsistencies between similar help files
- M-2 doesn't do #twoweapon when number_pad is enabled
- M-? usually displays #? help info
- weasel-word the reason the screen shown in the Guidebook looks little like
  several windowports
- document the playersuffix syntax in the nethack.6 man page
2002-03-12 07:29:59 +00:00
nethack.allison
2baa20217f beta feedback - add more wc options
- splash_screen (boolean for whether to display splash screen at startup)
- player_selection:dialog|prompts

Also moves the font and window manipulation stuff in defaults.nh
further down the file, so that a tty users doesn't have to wade
through it all to find the character adjustment samples.
2002-03-12 05:15:40 +00:00
nethack.allison
0335b2b32e doc bit 2002-03-11 06:21:45 +00:00
nethack.allison
cd02502039 Summarize past version 3.3 in Guidebook and dat/history. 2002-03-11 06:17:31 +00:00
nethack.allison
587d65e171 Update dungeoneers list (<Someone>, Teemu). 2002-03-08 23:30:04 +00:00
nethack.allison
3c0e37d9c9 add windowcolors option
Add option windowcolors to control foreground/background
color of menu, message, status, and text windows.
(foreground color is the text color).

The value of the colors is window port specific, the
core code handles the storing of the strings only.
2002-03-05 05:03:48 +00:00
nethack.rankin
4bc3561a96 from <Someone>: #rub touchstone
<Someone>'s message said this was committed, but the cvs repository
didn't reflect his changes.

> Subject: patch: #rub touchstone
> Date: Wed, 20 Feb 2002 23:33:27 -0800
> <email deleted>
>
> Implement <Someone>'s suggestion.
>
> - allow the #rub command to apply to gray stones
> - update various doc & help files to reflect the change
>
> Committed to CVS.
2002-02-24 03:19:20 +00:00
nethack.allison
86a5808030 Documentation updates
Document the change to the window options and
correct a typo that Yitzhak pointed out in window.doc
2002-02-04 17:03:08 +00:00
nethack.allison
06528d1002 3.3.2 to 3.4.0 2002-02-04 16:06:00 +00:00
nethack.allison
ab55d29244 Add final slash to URL
in README, Guidebook, dat/history. (from <Someone>)
2002-02-03 17:30:58 +00:00
nethack.allison
cb6a93641b Adjust window-port related option processing
to allow common parsing in the core, and direct access to the
results by the window port.

Notes:

o Adds a new field, wincap, to the window_procs
structure for setting bits related to the preference
features that the window port supports.  This allows
run-time determination of whether a particular option
setting is applicable to the running window port.  A
window-port is free to support as many, or as few,
of the available options as it wants.  Ensure that
only the ones supported have their corresponding bit
set in window_proc.wincap. [see chart in
doc/window.doc for help with that.]

o The settings I stuck into wincap for each window
port are almost certainly not accurate, so each port
team should review them.  You should only include
the ones that you will actually react to and make
adjustments for if the user changes that option.
Without the setting in wincap, the option won't even
show up in the 'O'ptions menu.

o preference_update() added to the window-port
interface, so that the window-port can be notified
if an option of interest (an option with its
corresponding bit set in wincap field) is
changed.

o provided a genl_preference_update() routine in
windows.c and used it for all the existing
window ports since they don't have a functional
one of their own yet.

o this messes around heavily with iflags and the options
arrays in options.c

o I hope I didn't break any port's existing code. I
tried not to.  The Mac however, in particular, should
be looked at because it suffered a namespace collision
with what I was working on around fontname.  It had
Mac specific font stuff in options.c. Please test
the Mac.
2002-02-03 05:31:47 +00:00
cohrs
f5fde02752 hilite_pet Guidebook entry
update hilite_pet entry so it allows for variations possible in current ports
and be less Unix-specific
2002-02-02 03:24:35 +00:00
cohrs
ea7431f2a8 various Guidebook updates
+ attributes may exceed 18 for non-humans
+ update spell casting paragraph to loosely describe 3.3 style spell casting
+ correct description of the output of the '+' command
+ note default value for 'mail' option
2002-01-29 08:03:24 +00:00
nethack.allison
6fea907683 disclose refinements:
- allow spaces between the different possibilities
- add a missing null at the end of the list of prefixes to prevent index()
  from going crazy
- slight re-wording of the Guidebook
2002-01-28 12:58:45 +00:00
nethack.allison
8389fb1f29 >B1014 <Someone> [reported] change request - disclosure default
>
>	I'd like the default for "Would you like to see your <whatever>"
>	at the end of a game to be "y" instead of "n". I haven't asked
>	for full disclosure in order to have it skipped if I press the
>	space bar once too often by mistake.

This changes the way the flags.end_disclose array is used to
allow what this request is asking for.  It should be backward
compatible with previous "disclose" options.

The order that the end_disclore options are stored:
inventory, attribs, vanquished, genocided, conduct
There is an array in flags:
	end_disclose[NUM_DISCLOSURE_OPT];
with option settings for the each of the following:
iagvc [see disclosure_options in decl.c]:
Legal setting values in that array are:
	DISCLOSE_PROMPT_DEFAULT_YES  ask with default answer yes
	DISCLOSE_PROMPT_DEFAULT_NO   ask with default answer no
	DISCLOSE_YES_WITHOUT_PROMPT  always disclose and don't ask
	DISCLOSE_NO_WITHOUT_PROMPT   never disclose and don't ask

Those setting values can be used in the option
string as a prefix to each disclosure option
to get the desired behaviour for that option.

For backward compatibility, no prefix is actually required,
and the presence of a i,a,g,v, or c without a prefix sets
the corresponding value to DISCLOSE_YES_WITHOUT_PROMPT;

The actual prefixes used are controlled by the following in flag.h:
#define DISCLOSE_PROMPT_DEFAULT_YES	'y'
#define DISCLOSE_PROMPT_DEFAULT_NO	'n'
#define DISCLOSE_YES_WITHOUT_PROMPT	'+'
#define DISCLOSE_NO_WITHOUT_PROMPT	'-'

As far as the docs go, I don't know if I've got the *roff
stuff right.   The TeX stuff looks okay when I converted it to .pdf.

This increments EDITLEVEL.  If that is a problem, I can
add a routine to restore.c to perform a conversion of the old
values in flags. Let me know.
2002-01-27 01:26:59 +00:00
nethack.allison
6f45c9c5ff Fix some Guidebook mistakes (tex dungeoneer table for one)
Also shorten up levcomp.dsp lines
2002-01-23 04:35:39 +00:00
cohrs
7a634884b4 starting the game without a pet
Incorporate a slightly cleaned up version of <Someone>'s patch to enable a
"pettype:none" startup option that allows one to start the game without a pet.
2002-01-20 21:05:29 +00:00
nethack.allison
a7173c6af1 Guidebook, history
M.Allison
2002-01-16 07:58:46 +00:00
arromdee
4b6b5d7b8c This adds in <Someone>'s autodig patch. 2002-01-15 02:50:36 +00:00
nethack.allison
89c576a941 more Guidebook credit updates - Amiga team, devteam, web site. 2002-01-14 02:28:52 +00:00
nethack.allison
5e1809b939 For his new port contribution, add <Someone> to the dungeoneer list,
and the history info.

Also fix a typo in the win32 stuff (cosmetic only).

M. Allison
2002-01-14 01:44:17 +00:00
nethack.allison
7c9cd2d0ff Guidebook credits. 2002-01-12 16:30:15 +00:00
nethack.allison
50c0ace9a8 typo fix: NetHack not Nethack in the Guidebook. 2002-01-10 05:31:09 +00:00
nethack.allison
10e513fdbf Housekeeping for Warwick 2002-01-10 02:06:27 +00:00
nethack.allison
767335698b <Someone>'s touchstone code and a bee swarm bit. 2002-01-09 03:31:30 +00:00
cohrs
c77073be31 sync changes since last snapshot 2002-01-07 02:12:04 +00:00
jwalz
4c76c24855 *** empty log message *** 2002-01-05 21:05:47 +00:00