- Timestamp:
- 07/02/09 22:14:31 (14 months ago)
- Files:
-
- 1 modified
-
trunk/src/cmd-know.c (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cmd-know.c
r1437 r1461 464 464 465 465 if (otherfields) 466 prt(otherfields, 4, 55);466 prt(otherfields, 4, 46); 467 467 468 468 … … 1167 1167 1168 1168 display_knowledge("monsters", monsters, m_count, r_funcs, m_funcs, 1169 "Sym Kills");1169 " Sym Kills"); 1170 1170 FREE(default_join); 1171 1171 FREE(monsters); … … 1347 1347 a_count = collect_known_artifacts(artifacts, z_info->a_max); 1348 1348 1349 display_knowledge("artifacts", artifacts, a_count, obj_f, art_f, 0);1349 display_knowledge("artifacts", artifacts, a_count, obj_f, art_f, NULL); 1350 1350 FREE(artifacts); 1351 1351 } … … 1482 1482 } 1483 1483 1484 display_knowledge("ego items", egoitems, e_count, obj_f, ego_f, "");1484 display_knowledge("ego items", egoitems, e_count, obj_f, ego_f, NULL); 1485 1485 1486 1486 FREE(default_join); … … 1554 1554 /* Display the name */ 1555 1555 c_prt(attr, o_name, row, col); 1556 1557 /* Show squelch status */ 1558 if (k_ptr->squelch) 1559 c_put_str(attr, "Yes", row, 46); 1556 1560 1557 1561 /* Show autoinscription if around */ … … 1684 1688 s16b idx = get_autoinscription_index(oid); 1685 1689 1686 const char *no_insc = ", ' r' to recall, '{'";1687 const char *with_insc = ", ' r' to recall, '{', '}'";1690 const char *no_insc = ", 's' to toggle squelch, 'r'ecall, '{'"; 1691 const char *with_insc = ", 's' to toggle squelch, 'r'ecall, '{', '}'"; 1688 1692 1689 1693 … … 1707 1711 s16b idx = get_autoinscription_index(oid); 1708 1712 1713 /* Toggle squelch */ 1714 if (ch == 's' || ch == 'S') 1715 { 1716 if (squelch_tval(k_ptr->tval)) 1717 k_ptr->squelch = !k_ptr->squelch; 1718 return; 1719 } 1720 1709 1721 /* Forget it if we've never seen the thing */ 1710 1722 if (k_ptr->flavor && !k_ptr->aware) … … 1782 1794 } 1783 1795 1784 display_knowledge("known objects", objects, o_count, kind_f, obj_f, " Inscribed Sym");1796 display_knowledge("known objects", objects, o_count, kind_f, obj_f, "Squelch Inscribed Sym"); 1785 1797 1786 1798 FREE(objects); … … 1865 1877 } 1866 1878 1867 display_knowledge("features", features, f_count, fkind_f, feat_f, " Sym"); 1879 display_knowledge("features", features, f_count, fkind_f, feat_f, 1880 " Sym"); 1868 1881 FREE(features); 1869 1882 }
