Rename omit_buc option to implicit_uncursed

... so the name is less cryptic.
This commit is contained in:
Pasi Kallinen
2015-05-27 20:43:22 +03:00
parent f0eca282a8
commit 773eecc472
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -17,6 +17,7 @@ fixinv try to retain the same letter for the same object [TRUE]
help print all available info when using the / command [TRUE] help print all available info when using the / command [TRUE]
IBMgraphics use IBM extended characters for the dungeon [FALSE] IBMgraphics use IBM extended characters for the dungeon [FALSE]
ignintr ignore interrupt signal, including breaks [FALSE] ignintr ignore interrupt signal, including breaks [FALSE]
implicit_uncursed omit "uncursed" from inventory, if possible [TRUE]
legacy print introductory message [TRUE] legacy print introductory message [TRUE]
lit_corridor show a dark corridor as lit if in sight [FALSE] lit_corridor show a dark corridor as lit if in sight [FALSE]
lootabc use a/b/c rather than o/i/b when looting [FALSE] lootabc use a/b/c rather than o/i/b when looting [FALSE]
@@ -24,7 +25,6 @@ mail enable the mail daemon [TRUE]
null allow nulls to be sent to your terminal [TRUE] null allow nulls to be sent to your terminal [TRUE]
try turning this option off (forcing NetHack to use its own try turning this option off (forcing NetHack to use its own
delay code) if moving objects seem to teleport across rooms delay code) if moving objects seem to teleport across rooms
omit_buc omit "uncursed" from inventory, if possible [TRUE]
perm_invent keep inventory in a permanent window [FALSE] perm_invent keep inventory in a permanent window [FALSE]
pickup_thrown override pickup_types for thrown objects [TRUE] pickup_thrown override pickup_types for thrown objects [TRUE]
pushweapon when wielding a new weapon, put your previously pushweapon when wielding a new weapon, put your previously
+2 -2
View File
@@ -2051,6 +2051,8 @@ Name your starting horse (ex. ``horsename:Trigger'').
Cannot be set with the `O' command. Cannot be set with the `O' command.
.lp ignintr .lp ignintr
Ignore interrupt signals, including breaks (default off). Ignore interrupt signals, including breaks (default off).
.lp implicit_uncursed
Omit "uncursed" from inventory lists, if possible (default on).
.lp legacy .lp legacy
Display an introductory message when starting the game (default on). Display an introductory message when starting the game (default on).
.lp lit_corridor .lp lit_corridor
@@ -2196,8 +2198,6 @@ location of the `y' and `z' keys swapped.)
When moving by numbers, to enter a count prefix for those commands When moving by numbers, to enter a count prefix for those commands
which accept one (such as ``12s'' to search twelve times), precede it which accept one (such as ``12s'' to search twelve times), precede it
with the letter `n' (``n12s''). with the letter `n' (``n12s'').
.lp omit_buc
Omit "uncursed" from inventory lists, if possible (default on).
.lp packorder .lp packorder
Specify the order to list object types in (default ``")[%?+!=/(*`0_''). Specify the order to list object types in (default ``")[%?+!=/(*`0_'').
The value of this option should be a string containing the The value of this option should be a string containing the
+3 -3
View File
@@ -2478,6 +2478,9 @@ Cannot be set with the `{\tt O}' command.
\item[\ib{ignintr}] \item[\ib{ignintr}]
Ignore interrupt signals, including breaks (default off). Ignore interrupt signals, including breaks (default off).
%.lp %.lp
\item[\ib{implicit\_uncursed}]
Omit ``uncursed'' from inventory lists, if possible (default on).
%.lp
\item[\ib{legacy}] \item[\ib{legacy}]
Display an introductory message when starting the game (default on). Display an introductory message when starting the game (default on).
%.lp %.lp
@@ -2641,9 +2644,6 @@ When moving by numbers, to enter a count prefix for those commands
which accept one (such as ``{\tt 12s}'' to search twelve times), precede it which accept one (such as ``{\tt 12s}'' to search twelve times), precede it
with the letter `{\tt n}' (``{\tt n12s}''). with the letter `{\tt n}' (``{\tt n12s}'').
%.lp %.lp
\item[\ib{omit\_buc}]
Omit ``uncursed'' from inventory lists, if possible (default on).
%.lp
\item[\ib{packorder}] \item[\ib{packorder}]
Specify the order to list object types in (default Specify the order to list object types in (default
``\verb&")[%?+!=/(*`0_&''). The value of this option should be a string ``\verb&")[%?+!=/(*`0_&''). The value of this option should be a string
+1 -1
View File
@@ -194,7 +194,7 @@ struct instance_flags {
boolean deferred_X; /* deferred entry into explore mode */ boolean deferred_X; /* deferred entry into explore mode */
boolean num_pad; /* use numbers for movement commands */ boolean num_pad; /* use numbers for movement commands */
boolean news; /* print news */ boolean news; /* print news */
boolean omit_buc; /* omit "uncursed" status in inventory lists */ boolean implicit_uncursed; /* maybe omit "uncursed" status in inventory */
boolean mention_walls; /* give feedback when bumping walls */ boolean mention_walls; /* give feedback when bumping walls */
boolean menu_tab_sep; /* Use tabs to separate option menu fields */ boolean menu_tab_sep; /* Use tabs to separate option menu fields */
boolean menu_head_objsym; /* Show obj symbol in menu headings */ boolean menu_head_objsym; /* Show obj symbol in menu headings */
+1 -1
View File
@@ -778,7 +778,7 @@ register struct obj *obj;
Strcat(prefix, "cursed "); Strcat(prefix, "cursed ");
else if (obj->blessed) else if (obj->blessed)
Strcat(prefix, "blessed "); Strcat(prefix, "blessed ");
else if (!iflags.omit_buc else if (!iflags.implicit_uncursed
/* For most items with charges or +/-, if you know how many /* For most items with charges or +/-, if you know how many
* charges are left or what the +/- is, then you must have * charges are left or what the +/- is, then you must have
* totally identified the item, so "uncursed" is unneccesary, * totally identified the item, so "uncursed" is unneccesary,
+1 -1
View File
@@ -132,6 +132,7 @@ static struct Bool_Opt {
#else #else
{ "ignintr", (boolean *) 0, FALSE, SET_IN_FILE }, { "ignintr", (boolean *) 0, FALSE, SET_IN_FILE },
#endif #endif
{ "implicit_uncursed", &iflags.implicit_uncursed, TRUE, SET_IN_GAME },
{ "large_font", &iflags.obsolete, FALSE, SET_IN_FILE }, /* OBSOLETE */ { "large_font", &iflags.obsolete, FALSE, SET_IN_FILE }, /* OBSOLETE */
{ "legacy", &flags.legacy, TRUE, DISP_IN_GAME }, { "legacy", &flags.legacy, TRUE, DISP_IN_GAME },
{ "lit_corridor", &flags.lit_corridor, FALSE, SET_IN_GAME }, { "lit_corridor", &flags.lit_corridor, FALSE, SET_IN_GAME },
@@ -154,7 +155,6 @@ static struct Bool_Opt {
#endif #endif
{ "nudist", &u.uroleplay.nudist, FALSE, DISP_IN_GAME }, { "nudist", &u.uroleplay.nudist, FALSE, DISP_IN_GAME },
{ "null", &flags.null, TRUE, SET_IN_GAME }, { "null", &flags.null, TRUE, SET_IN_GAME },
{ "omit_buc", &iflags.omit_buc, TRUE, SET_IN_GAME },
#if defined(SYSFLAGS) && defined(MAC) #if defined(SYSFLAGS) && defined(MAC)
{ "page_wait", &sysflags.page_wait, TRUE, SET_IN_GAME }, { "page_wait", &sysflags.page_wait, TRUE, SET_IN_GAME },
#else #else