summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.h
Commit message (Collapse)AuthorAgeFilesLines
* New command: show weapons in viewport.Shmuale Mark2014-06-121-0/+1
| | | | | | | | If a monster has a weapon, and you press ctrl-t (by default), you will see, instead of its normal glyph, the glyph for the weapon it is holding. Since this information is already available with 'x' and even more easily in tiles, it's just an interface improvement, and as far as I can tell in my tests there is no information leaked.
* Drop double newlines where they seem to serve no purpose.Adam Borowski2013-12-211-1/+0
| | | | | Sometimes, they're there to emphasize a break between two sections of code, which is good. In a majority of cases, though, they're just inconsistent.
* Fix spelling of "targeting" (#7837)Chris Campbell2013-12-101-1/+1
| | | | See Mantis for discussion.
* Use std namespace.Raphael Langella2012-08-261-1/+1
| | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* added autopickup menu default_items plus help and bugfixesJon Knapp2012-07-011-0/+1
|
* New ctrl+V command to show monster HP, and other HP colouring improvements. ↵Michael Gagno2012-03-071-2/+1
| | | | | | | | | | | | | | | | | | (nfogravity) https://crawl.develz.org/mantis/view.php?id=5376 Pressing ctrl+v in console will colour all monsters based on their HP. This can be useful when fighting large groups. This mode deactivates itself the next turn, or you can toggle it off manually by pressing ctrl+v again. Zombies and skeletons are given lightgrey colouring, since you can't determine their HP. There is also a new option, enemy_hp_colour, which lets you define custom colours (applies to the ctrl+v display and the regular monster list). The old ctrl+v command (show equipped weapons) has been removed.
* Get rid of USisms in spelling of -ll- and -tt-.Adam Borowski2012-01-251-1/+1
| | | | | This mostly reverts 78d8ab06 which replaced Commonwealth "targetting" with US "targeting", although there's also "cancelLing", "levelLing", "travelLing".
* Add an in-game help for the new skill system.Raphael Langella2011-07-071-0/+1
| | | | | Also simplify a bit the code for the skill screen layout. I didn't purge the do switch from the code because I might use it for something else later.
* Make file headers doxygen-friendly, drop useless fields.Adam Borowski2011-03-281-5/+4
| | | | | | | "File:" is shown in your editor's status bar. "Written by:" was used only for the first person who changed a file. We got git for that now, and pre-DCSS history is so woefully inaccurate it doesn't really matter.
* Character selection: highlight recommended species in aptitudes table (%)Raphael Langella2010-11-141-1/+2
| | | | | If you select a species first, it will be highlighted. If you select a background first, all recommended species will be highlighted.
* Add a help screen to the drop/pickup menus.Johanna Ploog2010-04-281-0/+1
|
* s/targett/target/David Ploog2010-02-081-1/+1
| | | | | And take care of capital letters. This seems to be problematic, bit I learned that it's "targeting" from Darshan :)
* Fix a comment.Johanna Ploog2009-12-111-1/+1
|
* Remove "called from:" comments.Vsevolod Kozlov2009-11-031-6/+0
| | | | | | These were of questionable use and freshness. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-2/+0
|
* Add more spelling fixes.David Lawrence Ramsey2009-09-241-1/+1
|
* [1982129] Wizard commands can now be used from the wizard help screen.ennewalker2008-09-271-6/+8
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7044 c06c8d41-db1a-0410-9941-cceddc491573
* Remove pre-Stone Soup change history from source files, and push it allj-p-e-g2008-09-141-4/+0
| | | | | | | | | | into a file crawlhistory.txt in docs/obsolete. I used a perl script to do this under the assumption that all these change logs used the same system following the keyword "Change History". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6930 c06c8d41-db1a-0410-9941-cceddc491573
* Change butchering prompt to hopefully be less confusing (BR 2009022).j-p-e-g2008-07-031-0/+1
| | | | | | | | | | | | | | | Also add a key to some kind of butchering help (may need tweaking) and 'b' is yet another synonym for 'c' but will allow Vampires to butcher a corpse they'd otherwise bottle. This only works while the prompt is given, i.e. if always_confirm_butcher is false Vampires will automatically attempt to bottle the blood in a single corpse (unless that is impossible, in which case they'll butcher it instead). Also fix corpses sometimes not being destroyed when drained by a Vampire. (Big oops!) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6366 c06c8d41-db1a-0410-9941-cceddc491573
* Remove unneeded methods (including the old resistance screen), renamej-p-e-g2008-06-121-26/+3
| | | | | | | debugging functions, and some other clean-up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5757 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 1914059: randart jewellery inconsistently described as {tried} byj-p-e-g2008-05-251-1/+1
| | | | | | | | | | adding yet another entry to props. FR 1949504: Move version information into the help scroller, yay! It also looks much nicer now (if I may say so). Go, take a look! :) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5234 c06c8d41-db1a-0410-9941-cceddc491573
* FR 1913320: remove shock resistance from a number of (humanoid) monstersj-p-e-g2008-03-201-1/+0
| | | | | | | | | Fix 1916532: rename db entry "simulacrum" -> "large simulacrum" Move tutorial help into the complete hotkey-triggerable help menu. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3758 c06c8d41-db1a-0410-9941-cceddc491573
* Pull yes or no questions requiring a typed "yes" into into a yes_or_no(),pauldubois2008-03-161-6/+0
| | | | | | | | analagous to "yesno". Tested with zot,lava,water,quit. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3666 c06c8d41-db1a-0410-9941-cceddc491573
* [Bug 1907221] Add "Modified for Crawl Reference" statement and author to aj-p-e-g2008-03-081-1/+1
| | | | | | | | huge number of files. Also correct file name comments. No coding changes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3539 c06c8d41-db1a-0410-9941-cceddc491573
* Added help for stash-search (dpeg).dshaligram2008-01-261-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3338 c06c8d41-db1a-0410-9941-cceddc491573
* If there are multiple matches to the "?/" describe command, thenzelgadis2007-09-221-1/+2
| | | | | | | | | | | | | | | | | | | | they will be displayed in a menu, which the user can select from. Menu entries for monsters will be given the same color as the monster, with the monster's symbol added to the end of the string. Entering a single character as input to the "?/" describe command lists all monsters with that display symbol. Monsters sharing the same display symbol can now have the same string appended or prepended to their description (implemented to make the "?/" command have to deal with less special cases). Currently only used by nagas with __N_suffix. Has the side-effect advantage that the naga subspicies description and the "attractive/repulsive" description goes before the big block of quoted text, rather than after it. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2177 c06c8d41-db1a-0410-9941-cceddc491573
* Split off portions of externs.h and enum.h into other files. Thezelgadis2007-09-151-1/+0
| | | | | | | | | | | | | crawl_environment, player and monsters classes have been left in externs.h, which necessitates that all of the enums references by those classes stay in enums.h, since you can't forward declare an enum. However, it's a start. Also, portions of misc.{cc,h} have been split off into traps.{cc,h}, place.{cc,h} and terrain.{cc,h} git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2095 c06c8d41-db1a-0410-9941-cceddc491573
* Added help for interlevel travel prompts.dshaligram2007-05-091-0/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1440 c06c8d41-db1a-0410-9941-cceddc491573
* Requesting help when choosing race/class jumps you to the appropriate ↵haranp2007-03-131-1/+1
| | | | | | | | | section of the manual. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1034 c06c8d41-db1a-0410-9941-cceddc491573
* Tutorial (JPEG) and some formatting cleanup.dshaligram2007-02-061-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@924 c06c8d41-db1a-0410-9941-cceddc491573
* Moved monster descriptions in targeting from '?' to 'v'. Put targetingharanp2007-01-291-0/+1
| | | | | | | help on '?'. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@903 c06c8d41-db1a-0410-9941-cceddc491573
* Put tables.txt into the help (hotkeyed to 's', for 'skills'.)haranp2006-12-311-1/+0
| | | | | | | 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
* Put in a very basic help browser on '+'. This is *not* a good key, I'm justharanp2006-12-131-1/+2
| | | | | | | | | | | | 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
* Merged stone_soup r15:451 into trunk.dshaligram2006-11-221-0/+8
| | | | 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/+60
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10 c06c8d41-db1a-0410-9941-cceddc491573