summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Drop and pickup menus now support Ctrl-F to select all items matching a regex.haranp2007-07-021-0/+34
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1716 c06c8d41-db1a-0410-9941-cceddc491573
* The tutorial now uses set_more() to display the ability-menu helpharanp2007-06-301-8/+4
| | | | | | | | | | (so Menu doesn't need to be aware of the tutorial.) set_more() support with multi-line strings will only work if there are enough free lines; it doesn't (yet) reduce pagesize. Also, it doesn't handle newlines which aren't EOLs. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1700 c06c8d41-db1a-0410-9941-cceddc491573
* Implemented 1715578: pressing '!' in the Z? screen toggles betweenharanp2007-06-291-0/+29
| | | | | | | showing schools/success and hunger/power. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1693 c06c8d41-db1a-0410-9941-cceddc491573
* Experimental mouse support for ncurses (enable with mouse_input=yes indshaligram2007-06-201-0/+1
| | | | | | .crawlrc). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1610 c06c8d41-db1a-0410-9941-cceddc491573
* Cleaned up abilities screen information for tutorial.j-p-e-g2007-06-151-51/+6
| | | | | | | Small additions to Beogh. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1589 c06c8d41-db1a-0410-9941-cceddc491573
* Remember choice of Beogh in character selection.dshaligram2007-06-141-2/+2
| | | | | | Some code reindenting and housekeeping. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1587 c06c8d41-db1a-0410-9941-cceddc491573
* Added information to the abilities screen during tutorials, j-p-e-g2007-06-101-0/+50
| | | | | | | akin to my previous commit for skills. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1568 c06c8d41-db1a-0410-9941-cceddc491573
* Changed list_spells() somewhat. It's now a slider wraparound menu.haranp2007-05-081-6/+20
| | | | | | | | (Also changed the meaning of what some of the flags do to slider_menu, the default behaviour should be unaltered.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1423 c06c8d41-db1a-0410-9941-cceddc491573
* Type safety, cast cleanups, etc.haranp2007-05-011-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1401 c06c8d41-db1a-0410-9941-cceddc491573
* Enable easy_exit for formatted scroller menus.dshaligram2007-04-081-0/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1272 c06c8d41-db1a-0410-9941-cceddc491573
* Tutorial tweaks:dshaligram2007-03-201-2/+0
| | | | | | | | * Fixed status display commentary wiping out the status display on curses. * Fixed doubled %% on Unix (a plague on whoever wrote cprintf() in libw32c.cc). * Fixed reference to get_number_of_cols() before curses initialisation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1073 c06c8d41-db1a-0410-9941-cceddc491573
* Added a funtion for formatted message history, and, while I was at it, j-p-e-g2007-03-201-13/+15
| | | | | | | | | | | | moved some overlapping parts of base_mpr and formatted_mpr into separate functions. This makes them more readable and avoids code duplication. I'm uncertain as to whether translating every string in replay_messages into a formatted string (just in case) would be overkill - so for now that only happens for messages of MSGCH_TUTORIAL. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1071 c06c8d41-db1a-0410-9941-cceddc491573
* Changes to the overview screen (%) - added abilities and made it scrollable.j-p-e-g2007-03-181-1/+1
| | | | | | | | Also, some more clean-up of tutorial.cc. As this involved a lot of spacing changes it was easier to just replace the file as a whole. Sorry about that. There are still some differences between the Linux and Windows versions that I don't really understand but using get_number_of_cols helps a lot. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1055 c06c8d41-db1a-0410-9941-cceddc491573
* Major overhaul of tutorial messages and clean-up of tutorial.ccj-p-e-g2007-03-141-0/+76
| | | | | | | I've also hopefully fixed a bug concerning entry vaults during the tutorial. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1038 c06c8d41-db1a-0410-9941-cceddc491573
* Requesting help when choosing race/class jumps you to the appropriate ↵haranp2007-03-131-10/+10
| | | | | | | | | section of the manual. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1034 c06c8d41-db1a-0410-9941-cceddc491573
* Changed around the help screen a bit, following David's ideas.haranp2007-03-091-2/+6
| | | | | | | Appendix hotkeys now work. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1005 c06c8d41-db1a-0410-9941-cceddc491573
* Confined help menu scrolling to within a file (David.)haranp2007-03-081-0/+61
| | | | | | | | I'm iffy as to whether this really helps, but I'm putting it in for now. 1,000th commit... git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1000 c06c8d41-db1a-0410-9941-cceddc491573
* Moved formatted_string into its own file, separate from the rest of Menu.haranp2007-02-171-291/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@954 c06c8d41-db1a-0410-9941-cceddc491573
* Added add_glyph methods to formatted string to show a monster or item glyph asdshaligram2007-01-281-2/+45
| | | | | | | | displayed on screen. Still is a bit messy to use, and you must initialise the formatted_string with a base colour before using add_glyph(), or the formatted_string will reset to lightgrey after the glyph. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@897 c06c8d41-db1a-0410-9941-cceddc491573
* [1638588] Don't use highlighters in formatted_scrollers.dshaligram2007-01-251-0/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@884 c06c8d41-db1a-0410-9941-cceddc491573
* Removed USE_NEW_RANDOM, USE_MACROS.dshaligram2007-01-251-11/+0
| | | | | | | | | | | | | Removed DOS_TERM, PLAIN_TERM special casery - all platforms get PLAIN_TERM. Better end-of-greedy-explore reporting for items on traps (Erik). Cleaned up find_travel_pos - moved guts of travel pathfinding to travel_pathfind class. Miscellaneous other stuff. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@882 c06c8d41-db1a-0410-9941-cceddc491573
* First steps towards making delay_message_clear useful. The intent is to use adshaligram2007-01-121-3/+3
| | | | | | | | | | | | scrolling message window and show --more-- only when the message window is filled with new messages since the last mesclr (as suggested by Eidolos/doy on ##crawl). This currently works only on curses (breaks the DOS and Windows compiles), I'm working on fixing that. There are also some cursor glitches with prompts at the bottom of the message window that I need to fix. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@837 c06c8d41-db1a-0410-9941-cceddc491573
* Implemented some of David's ideas:haranp2007-01-071-3/+10
| | | | | | | | | Improved the help browser somewhat and added some hotkeys. The 'm' screen now lets you see your aptitudes with '!' (if you're allowed to know them, that is.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@798 c06c8d41-db1a-0410-9941-cceddc491573
* Put tables.txt into the help (hotkeyed to 's', for 'skills'.)haranp2006-12-311-5/+8
| | | | | | | Made help accessible from the race/class choosing screens by '+'. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@755 c06c8d41-db1a-0410-9941-cceddc491573
* Better fix for 1622380: now it works for all menus.haranp2006-12-271-1/+21
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@709 c06c8d41-db1a-0410-9941-cceddc491573
* Implemented 1622380, Home and End keys in manual browsing.haranp2006-12-271-0/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@708 c06c8d41-db1a-0410-9941-cceddc491573
* An attempt at a more comprehensive fix for cursor inconsistencies betweendshaligram2006-12-171-0/+2
| | | | | | platforms. We'll probably need to tweak this further. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@659 c06c8d41-db1a-0410-9941-cceddc491573
* [1616535] Fixed broken inscription hotkeying with auto_list.dshaligram2006-12-171-1/+4
| | | | | | Fixed interlevel travel prompt ugliness. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@654 c06c8d41-db1a-0410-9941-cceddc491573
* Put in a very basic help browser on '+'. This is *not* a good key, I'm justharanp2006-12-131-0/+53
| | | | | | | | | | | | parking it here until more decisions on the browser come in. (It should probably be reachable by pressing '?' from the current '?' help screen.) It reads the manual from ../docs/crawl_manual.txt, so you'd better put it there! Yes, this is a hack and will have to be done better. You can press the letter of the section (e.g., 'j' or 'J') to jump to that section. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@627 c06c8d41-db1a-0410-9941-cceddc491573
* [1605400] Fixed inability to wield stuff when carrying no weapons.dshaligram2006-11-301-1/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@531 c06c8d41-db1a-0410-9941-cceddc491573
* Redid how the resists screen works (both in-game and in-dump.)haranp2006-11-291-7/+36
| | | | | | | | Minor notes refactoring. Added a basic notes browser on '_'. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@528 c06c8d41-db1a-0410-9941-cceddc491573
* [1602285] Fixed newgame slider bugs. dshaligram2006-11-291-36/+103
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@526 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed hiding of draw_item() in derived classes of Menu.haranp2006-11-271-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@496 c06c8d41-db1a-0410-9941-cceddc491573
* New overview screen (the 'O' screen.)haranp2006-11-261-2/+73
| | | | | | | | | | This involves changes in quite a few things, so the major savefile version is now 1, and old savefiles *will not load*! Lots of conditional loading code has therefore been removed. Minor savefile version dropped to 0 in everything. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@495 c06c8d41-db1a-0410-9941-cceddc491573
* Merged stone_soup r15:451 into trunk.dshaligram2006-11-221-87/+793
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@452 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up a mistake in the SVN import.nlanza2006-08-131-0/+501
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10 c06c8d41-db1a-0410-9941-cceddc491573