summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Apply jpeg's patches in [2876380] (automate Xom testing) and [2876688]David Lawrence Ramsey2009-10-111-1/+2
| | | | (new Xom effects), tweaked to fit into current trunk.
* project-wide: implement use of platform.h detection macrosSteven Noonan2009-10-101-2/+2
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Remove a lot of unneccessary includes.Robert Vollmert2009-10-091-1/+0
| | | | | | | The console version still compiles on Linux; both console and tiles version compile in OS X. I haven't been able to test the DOS and Windows compiles -- please fix or tell me about any errors that show up.
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-2/+0
|
* Add more spelling fixes.David Lawrence Ramsey2009-09-241-12/+12
|
* Add spelling fixes.David Lawrence Ramsey2009-09-231-1/+1
|
* * Also allow Maurice to steal the occasional spellbook or piece ofj-p-e-g2009-09-241-1/+2
| | | | | | | | | | | | | jewellery. * As per FR 1937144, leave a purple cloud if the player or a monster blinks or teleports away. For some reason this doesn't yet work correctly with scrolls of blinking, even though wizard blink (which uses the same function) does work. -- (from svn) Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>
* Simplify further.dolorous2009-09-171-5/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10700 c06c8d41-db1a-0410-9941-cceddc491573
* Add still more minor cosmetic fixes.dolorous2009-09-171-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10697 c06c8d41-db1a-0410-9941-cceddc491573
* Add an inventory-like region for the Tiles version to make spellsj-p-e-g2009-09-101-0/+1
| | | | | | | | clickable. '_' toggles between inventory and spell display. Actual tiles are still missing, but everything works as it should. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10648 c06c8d41-db1a-0410-9941-cceddc491573
* Make fish on dry land (due to Feawn's Sunlight power) flop about andj-p-e-g2009-07-211-2/+2
| | | | | | | | | | lose hit points until back in water, using ENCH_AQUATIC_LAND. (Bug 2824663) Also fix tiles compilation (patch 2824632) and add DATA_DIR_PATH to tiled icons (patch 2824635). Both patches (and some more) by Trent W. Buck. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10364 c06c8d41-db1a-0410-9941-cceddc491573
* Forward-port the renaming of changes.stone_soup to changelog.txt from dolorous2009-07-171-3/+3
| | | | | | | 0.5 r10259. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10260 c06c8d41-db1a-0410-9941-cceddc491573
* Another (final?) update of the doll selection prompt. Things now work exactly j-p-e-g2009-06-201-0/+5
| | | | | | | | like I envisioned them, and I think we can take the current state and use it for 0.5.1. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10006 c06c8d41-db1a-0410-9941-cceddc491573
* * More steps on the path to reintroducing player doll customization.j-p-e-g2009-06-171-4/+4
| | | | | | | 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
* Forward-port applicable fixes from 0.5 r9896 to trunk.dolorous2009-06-051-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9897 c06c8d41-db1a-0410-9941-cceddc491573
* FR 2722830 and related changes:zelgadis2009-06-021-0/+8
| | | | | | | | | | | | | | | | | * Memorization now lists all spells in all carried books (minus spells which are already memorized or which can never be memorized because of the player's species), sorted by easy of memorization. * Miscast effects from failing to memorize from out of the Necronomicon, the book of Demonology and the book of Annihilations is commented out, pending figuring out how to do it with the new interface. * Spells which can't be memorized because of the player's species are highlighted as light red when reading a spell book, and a note is added when describing the spell. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9883 c06c8d41-db1a-0410-9941-cceddc491573
* Apply r9873 to trunk.j-p-e-g2009-06-011-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9874 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
* Modify ?v to read in the list of changed command keys.j-p-e-g2009-05-141-5/+2
| | | | | | | Modify version highlights. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9765 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fix.dolorous2009-05-081-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9754 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fixes.dolorous2009-05-081-31/+29
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9753 c06c8d41-db1a-0410-9941-cceddc491573
* A few more updates for the ?? screen.dploog2009-05-041-10/+10
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9730 c06c8d41-db1a-0410-9941-cceddc491573
* Some spellcasting modifications, as discussed on c-r-d.j-p-e-g2009-05-031-6/+6
| | | | | | | | | | | | | * 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 capitalization.dolorous2009-05-011-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9715 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix _place_monster_aux() not interrupting autoexplore.j-p-e-g2009-04-261-4/+5
| | | | | | | | Apparently, monsters can be directly placed at the edge of los, after all. * Change Ctrl-X -> Ctrl-S, V -> Ctrl-X, not documented yet. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9696 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix database search crashing on pandemonium demons/player ghost.j-p-e-g2009-04-201-1/+6
| | | | | | | | | | | | * 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
* [2721962] Fixing database lookup issues for tiles where a non-guarded mpr ↵ennewalker2009-04-181-2/+3
| | | | | | was printing item info to the message window. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9630 c06c8d41-db1a-0410-9941-cceddc491573
* * Tweak FAQ and change log some more.j-p-e-g2009-04-051-1/+1
| | | | | | | | | | * Default use_fake_cursor to true since it appears to be a common enough problem that we regularly get bug reports about the cursor disappearing in X mode. * Add altars to the list of features displayed in V. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9585 c06c8d41-db1a-0410-9941-cceddc491573
* * Allow fleeing monster to push past higher ranked monsters of the samej-p-e-g2009-04-031-1/+0
| | | | | | | | | | | type. * Allow quivering of wielded missiles (stones for Sandblast etc.) and wielded weapons of returning if your throwing skill is > 0. * Add stairs/gates/shops to the 'V' command, mostly for the convenience of the easy travel feature. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9574 c06c8d41-db1a-0410-9941-cceddc491573
* Add some checks to Xom making you cast spells, so you don't attempt toj-p-e-g2009-03-311-0/+1
| | | | | | | | | | | | | e.g. cast a branding spell, or a transformation that will fail for whatever reason. You may still occasionally get a "The spell fizzled" (or whatever) message but that should be rarer now. Apply the same fail chances for Detect Items as for Magic Mapping for fully explored levels, and for low severity make Summon Butterflies more likely to avoid endless attempts of casting Magic Mapping on fully explored levels. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9573 c06c8d41-db1a-0410-9941-cceddc491573
* * Merfolk may wear heavy armour while swimming, though their armourj-p-e-g2009-03-291-1/+1
| | | | | | | | | | | | penalty is doubled in deep water. * Change "zombified ally" -> "mindless thrall" (and only count friendly monsters). * Call trackers_init_new_level() earlier, in load(), so that TileNewLevel() can use the correct travel information when drawing exclusions on the minimap. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9566 c06c8d41-db1a-0410-9941-cceddc491573
* Mention new behaviour of '&' for dropping.dploog2009-03-271-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9558 c06c8d41-db1a-0410-9941-cceddc491573
* * Allow viewing of card descriptions from Triple Draw and Stack Deck.j-p-e-g2009-03-231-0/+5
| | | | | | | | | | * Sort items in 'V' screen according to pickup menu sort order. * Name Xom's randart book gifts more randomly. * Colour items seen by 'x' with message colour tags and same for pickup messages. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9541 c06c8d41-db1a-0410-9941-cceddc491573
* More speech for the singing sword.dploog2009-03-211-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9526 c06c8d41-db1a-0410-9941-cceddc491573
* * Add ability descriptions to the database search.j-p-e-g2009-03-201-1/+14
| | | | | | | | | | | | | | | | * Xom no longer gifts stuff that unquestionably makes for a more boring adventure (scrolls of Detect/Remove Curse, Magic Mapping, Identify; potion of cure mutation, amulet of resist mutation, ring of control teleport). * Xom's "niceness" is no longer automatically defined by his mood, but it's now randomly picked according to piety > random2(200), which translates to nice, else the opposite. A "beloved toy" is extremely likely to get nice effects, and vice versa for the "beloved plaything". * In xom_acts, instead of 50% chance for piety flip, there's now a 20% chance of piety being randomly rerolled. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9523 c06c8d41-db1a-0410-9941-cceddc491573
* s/targetting/targeting/. Note that targetting is likely actuallyharanp2009-03-171-1/+1
| | | | | | | | | | | correct (since Crawl uses British spelling) but it's "targeting" everywhere else the user sees it (though not necessarily inside the code) and this is the shorter fix. I'm sure some language gurus can weigh in on this. Fixes [2688748]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9513 c06c8d41-db1a-0410-9941-cceddc491573
* * Add deck names to card descriptions, and vice versa. This shouldj-p-e-g2009-03-151-0/+12
| | | | | | | | | eventually be done procedurally but for now this will do. * Use non-verbose descriptions when hovering over spellbooks in Tiles, so the description will include the spell list. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9506 c06c8d41-db1a-0410-9941-cceddc491573
* * Tweak shop command help for Tiles.j-p-e-g2009-03-151-2/+21
| | | | | | | | | * Hook card descriptions into database. This is far from optimal at the moment, e.g. searching for the portal card returns the Portal spell as best match. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9497 c06c8d41-db1a-0410-9941-cceddc491573
* * Call message flush before entering a shop.j-p-e-g2009-03-131-6/+9
| | | | | | | * Indent shopping commands correctly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9455 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles:j-p-e-g2009-03-081-3/+13
| | | | | | | | | | | | * (Re?)allow mouseclicks in menus (Tiles, only): L-click = scroll down, R-click = Esc * Clear last_clicked_grid if you move your mouse. * When entering a new level, draw the map before handling monster shouts. Enne, please review the changes. Thanks! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9386 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2664479]: handle monster lookups from ?/M better.haranp2009-03-051-2/+1
| | | | | | | | | Handle mimics better. Note that the monster pane will unify two mimics if you see both at once; I think this is not because of what I just changed but it might be. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9336 c06c8d41-db1a-0410-9941-cceddc491573
* Fix recursive loops for flushing messages when more() is calling getch()j-p-e-g2009-02-281-0/+1
| | | | | | | | | | by adding a boolean to keep track on whether we already called flush_prev_message() this round, reset once a new message is pushed into prev_message. There's probably a better solution, but this one works well enough. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9285 c06c8d41-db1a-0410-9941-cceddc491573
* Point out a! in manual and ??, and note context sensitive help in ??dploog2009-02-281-7/+11
| | | | | | | and I screens. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9268 c06c8d41-db1a-0410-9941-cceddc491573
* Add miscellaneous minor fixes.dolorous2009-02-251-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9224 c06c8d41-db1a-0410-9941-cceddc491573
* Update in-game help and other documentation about recentdploog2009-02-241-5/+6
| | | | | | | | command key chances: ), }. Note: keybind.txt is not up to date yet! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9204 c06c8d41-db1a-0410-9941-cceddc491573
* Unbreak database lookups.dolorous2009-02-121-1/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9045 c06c8d41-db1a-0410-9941-cceddc491573
* Add more minor cosmetic fixes.dolorous2009-02-121-2/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9043 c06c8d41-db1a-0410-9941-cceddc491573
* Mousing over monsters, items, and features will now show their description ↵ennewalker2009-02-121-6/+9
| | | | | | in the message window. This inadvertantly fixes [2469950], where some lines would appear off screen. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9030 c06c8d41-db1a-0410-9941-cceddc491573
* Fix part of [2578176]: Fix help database lookups of spell names, so that dolorous2009-02-111-1/+2
| | | | | | | | Bolt of Inaccuracy is properly listed as being in one of the rods of destruction. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9024 c06c8d41-db1a-0410-9941-cceddc491573