summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cmd-name.h
Commit message (Collapse)AuthorAgeFilesLines
* Add pseudocommand CMD_NO_CMD_DEFAULT for overriding the vi keys.Johanna Ploog2010-01-161-0/+1
| | | | | | | | CMD_NO_CMD is handled specially in many different ways, but the new command's sole purpose is to allow key bindings involving invalid commands, so as to override the vi keys for players who don't need them, don't want to replace them with other keys, but are worried about typos making their character walk into a fatal ambush.
* A wizard command "x,", to bring a mon down to 1hp.Adam Borowski2009-12-181-0/+1
| | | | | It could be made to ask for a specific number, but I'm too lazy to code that right now.
* Add wiz-mode arbitrary radius exclude command.Robert Vollmert2009-11-121-0/+1
| | | | | | | This is quite a hack: Hitting 'R' on the level map in wizard mode will silently read a number that specifies the exclude radius. If you have an idea for making this nicer, please improve or tell me.
* [ and ] respect dungeon topology (by)Stefan O'Rear2009-11-041-1/+0
|
* Use G in the overmap to directly change levelsStefan O'Rear2009-11-021-0/+1
|
* Implement map viewing for other levelsStefan O'Rear2009-11-021-0/+23
| | | | | | | There are three new commands described on the X? screen. Interlevel travel works. Other levels are not currently highlighted by reachability; let me know if you want this. Interface stolen from TAEB :). dpeg's stair view is not yet in.
* Simplify ray handling in directn.cc.Robert Vollmert2009-10-151-1/+1
| | | | | | | | | | | | Existence of a valid ray is now tracked with a separate boolean have_beam. fallback_ray has been removed almost completely. The change appears fine in console crawl; tiles untested at the moment. find_ray now correctly returns false for rays with source == target. Also rename CMD_TARGET_HIDE_BEAM to CMD_TARGET_TOGGLE_BEAM.
* * More steps on the path to reintroducing player doll customization.j-p-e-g2009-06-171-2/+3
| | | | | | | Also apply my two previous commits to trunk. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9995 c06c8d41-db1a-0410-9941-cceddc491573
* Run some sanity checks when loading ghosts. If anything seems fishyj-p-e-g2009-05-261-0/+1
| | | | | | | | | | | | | | | | | | | | * don't load the ghost(s) * print an error message mentioning the bones file * don't delete the bones file, so players can attach it to a bug report The last point means that the player (or admin, in the case of the servers) has to delete a buggy bones file themselves, but the benefits of making tracking down bugs easier should outweigh that inconvenience. Add a new wizmode command that calls debug_stethoscope even if the game is not compiled in debugging mode. Also, Stone Soup 0.5 bones files are now officially incompatible with 0.4. (The changes to the spell ids cause ghosts casting spells to crash the game.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9832 c06c8d41-db1a-0410-9941-cceddc491573
* Some spellcasting modifications, as discussed on c-r-d.j-p-e-g2009-05-031-0/+1
| | | | | | | | | | | | | * Spells are marked grey if you lack the necessary magic or if there are no visible monsters within range. * z bails out if there are no monsters in range * Z is the same as the old z behaviour * Wands now need to be e(V)oked. Feedback welcome! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9727 c06c8d41-db1a-0410-9941-cceddc491573
* Add new command for evoking non-wielded items, placed on 'V'.j-p-e-g2009-05-021-0/+1
| | | | | | | | | * Also applies to wand, and will soon replace 'Z'. * Decks, rods, and weapons of reaching still need to be wielded ('v'). * The tiles tooltips will need to be adjusted. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9718 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix database search crashing on pandemonium demons/player ghost.j-p-e-g2009-04-201-1/+0
| | | | | | | | | | | | * Make Xom say e.g. "gate" for the repel stair effect if there's only a gate nearby. * Weapons of vampiricism have no effect on summoned creatures, as is already the case for Vampire bites and the Vampiric Draining spell. * Make berserking monsters immune to fear. (The sanctuary still works.) * General clean-up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9669 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 2603266: Additional '(' needed for cycling ammo after emptying thej-p-e-g2009-02-221-0/+1
| | | | | | | | | | previously quivered stack. FR 2594741: Make ')' cycle quiver backwards. The previous behaviour has been moved to '}'. The equipped inventory listing ']' now also includes the quivered item(s). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9164 c06c8d41-db1a-0410-9941-cceddc491573
* [2458672] Fixing level map not using CMD_MAP_* commands or going through ↵ennewalker2008-12-241-0/+5
| | | | | | | | | cmd-keys.h. This will allow these commands to be remapped correctly. Also, fixing issue where cancelling the level map help screen in tiles wouldn't go back to viewing the dungeon. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7957 c06c8d41-db1a-0410-9941-cceddc491573
* Changed '!' in targeting from target-select to target-select-ignoring-range.haranp2008-10-041-0/+2
| | | | | | | | | | Added '@', which is to '!' as '.' is to the old '5'. Fixed 2146628: cancelling targeting was incorrectly checking range. The behaviour of allow_self_target is now slightly different (see forthcoming mail on crawl-ref-discuss.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7128 c06c8d41-db1a-0410-9941-cceddc491573
* Removing code and documentation for player doll editing screen. It might ↵ennewalker2008-09-271-2/+3
| | | | | | come back at a later point (post-0.5?), but there are more important bugs and features to consider in the meantime rather than just blindly trying for parity with 0.4.x's features. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7030 c06c8d41-db1a-0410-9941-cceddc491573
* Implemented monster spell miscasts. Spell miscasting is now handledzelgadis2008-07-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by the MiscastEffect class, which has helper methods to make most of the non-helper code agnostic with respect to whether the miscaster is the player or a monster. Mummy death curses now affect monsters, and Zot traps now directly affect friendly and good-neutral monsters. In wizard mode you can force the player or a monster to miscast by targeting it and pressing 'M'. Todo/issues/notes: * Clouds now have a killer_type in addition to a kill_category. * There aren't any divination monster miscast effects yet. * Many of the harmless message-only miscast effects are missing monster messages. * If a monster actually miscasts a spell (not getting a mummy death curse or setting off a Zot trap) and this kills both the monster and the player then the wrong monster will be listed in hiscore entry. Since monsters can't do true spell miscasts yet, this can wait. * There was old, non-functioning code making Zot traps heal, haste or turn invisible hostile monsters that triggered it. I fixed it and then commented it out. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6723 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing Tiles targeting and mouse cursor behavior.ennewalker2008-07-241-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6658 c06c8d41-db1a-0410-9941-cceddc491573
* RIP stash_tracking option, always set to all now.dshaligram2008-07-231-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6649 c06c8d41-db1a-0410-9941-cceddc491573
* Do "keypress -> command_type" via keybindings. Solves bug 2018200,zelgadis2008-07-171-0/+195
where you couldn't do macros with the old 3.4 keymap since the 3.4 keys were done via macros and macros can't recursively invoke macros. Has the little snag that it doesn't exactly reproduce the 3.4 "fire ammo" command since 3.4 automatically goes to the inventory list but 4.0 doesn't. TODO: * Get levelmap commands to use keybindings instead of hardcoded mappings. * Let function keys and alt keys be bound to commands. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6587 c06c8d41-db1a-0410-9941-cceddc491573