]> granicus.if.org Git - nethack/commitdiff
Rename omit_buc option to implicit_uncursed
authorPasi Kallinen <paxed@alt.org>
Wed, 27 May 2015 17:42:06 +0000 (20:42 +0300)
committerPasi Kallinen <paxed@alt.org>
Wed, 27 May 2015 17:43:22 +0000 (20:43 +0300)
... so the name is less cryptic.

dat/opthelp
doc/Guidebook.mn
doc/Guidebook.tex
include/flag.h
src/objnam.c
src/options.c

index 54a348b73a0a21361212acc1dcf0d3d316ae4195..32edf00129f29a39803bb64f789db013a8df61ce 100644 (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]
 IBMgraphics    use IBM extended characters for the dungeon        [FALSE]
 ignintr        ignore interrupt signal, including breaks          [FALSE]
+implicit_uncursed  omit "uncursed" from inventory, if possible    [TRUE]
 legacy         print introductory message                         [TRUE]
 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]
@@ -24,7 +25,6 @@ mail           enable the mail daemon                             [TRUE]
 null           allow nulls to be sent to your terminal            [TRUE]
                try turning this option off (forcing NetHack to use its own
                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]
 pickup_thrown  override pickup_types for thrown objects           [TRUE]
 pushweapon     when wielding a new weapon, put your previously
index 3a7df513aae39a6afd6c1fb0052a3dca5ebeddef..d086687c992bf649d2efe56a95648e99f971a6bd 100644 (file)
@@ -2051,6 +2051,8 @@ Name your starting horse (ex. ``horsename:Trigger'').
 Cannot be set with the `O' command.
 .lp ignintr
 Ignore interrupt signals, including breaks (default off).
+.lp implicit_uncursed
+Omit "uncursed" from inventory lists, if possible (default on).
 .lp legacy
 Display an introductory message when starting the game (default on).
 .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
 which accept one (such as ``12s'' to search twelve times), precede it
 with the letter `n' (``n12s'').
-.lp omit_buc
-Omit "uncursed" from inventory lists, if possible (default on).
 .lp packorder
 Specify the order to list object types in (default ``")[%?+!=/(*`0_'').
 The value of this option should be a string containing the
index 566402cd9b156900a287f58aafd71bb019ae5537..7ff441fdf4e1931901ce48620047f3527760fe5e 100644 (file)
@@ -2478,6 +2478,9 @@ Cannot be set with the `{\tt O}' command.
 \item[\ib{ignintr}]
 Ignore interrupt signals, including breaks (default off).
 %.lp
+\item[\ib{implicit\_uncursed}]
+Omit ``uncursed'' from inventory lists, if possible (default on).
+%.lp
 \item[\ib{legacy}]
 Display an introductory message when starting the game (default on).
 %.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
 with the letter `{\tt n}' (``{\tt n12s}'').
 %.lp
-\item[\ib{omit\_buc}]
-Omit ``uncursed'' from inventory lists, if possible (default on).
-%.lp
 \item[\ib{packorder}]
 Specify the order to list object types in (default
 ``\verb&")[%?+!=/(*`0_&''). The value of this option should be a string
index e849549af63808227698336e856cda7895402bb6..3d2139f2d5b079893a40a299facd1d7f8b370f2d 100644 (file)
@@ -194,7 +194,7 @@ struct instance_flags {
     boolean deferred_X;       /* deferred entry into explore mode */
     boolean num_pad;          /* use numbers for movement commands */
     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 menu_tab_sep;     /* Use tabs to separate option menu fields */
     boolean menu_head_objsym; /* Show obj symbol in menu headings */
index 72842b6b6d5c5415c61daf11ee58638869f5247e..e249ab3d19e24237966a551e4486a2c3c45e086c 100644 (file)
@@ -778,7 +778,7 @@ register struct obj *obj;
             Strcat(prefix, "cursed ");
         else if (obj->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
              * charges are left or what the +/- is, then you must have
              * totally identified the item, so "uncursed" is unneccesary,
index 9b767a810c902e310fe4c1678e9fab1067565133..65a41c01d490496b45f2c1fc01f640dda245d460 100644 (file)
@@ -132,6 +132,7 @@ static struct Bool_Opt {
 #else
     { "ignintr", (boolean *) 0, FALSE, SET_IN_FILE },
 #endif
+    { "implicit_uncursed", &iflags.implicit_uncursed, TRUE, SET_IN_GAME },
     { "large_font", &iflags.obsolete, FALSE, SET_IN_FILE }, /* OBSOLETE */
     { "legacy", &flags.legacy, TRUE, DISP_IN_GAME },
     { "lit_corridor", &flags.lit_corridor, FALSE, SET_IN_GAME },
@@ -154,7 +155,6 @@ static struct Bool_Opt {
 #endif
     { "nudist", &u.uroleplay.nudist, FALSE, DISP_IN_GAME },
     { "null", &flags.null, TRUE, SET_IN_GAME },
-    { "omit_buc", &iflags.omit_buc, TRUE, SET_IN_GAME },
 #if defined(SYSFLAGS) && defined(MAC)
     { "page_wait", &sysflags.page_wait, TRUE, SET_IN_GAME },
 #else