summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-inv.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove stuffNicholas Feinberg2014-07-291-1/+1
| | | | | | | .cc, moving its contents into the new stepdown.cc and strings.cc. (The latter also got many donations from libutil.h.) Down with stuff! Up the new flesh!
* Move redraw functions from stuff.cc -> output.ccNicholas Feinberg2014-07-281-0/+1
|
* Make Sublimation of Blood only effective when cast on the playerChris Campbell2014-07-231-13/+0
| | | | | | | | | | | Having a spell work in two completely different ways depending on context is unintuitive, and self-casting it is the much more interesting use. Makes the spell unmemorisable for species without blood (Gargoyle, Ghoul, Mummy). Species that can't bleed get both level 1 spells from the first Kiku gift. Has some ugly duplication of lists of species that can't bleed, because using player::can_bleed won't correctly handle statue- or lich- formed players even with allow_tran = false, due to them changing the player's holiness.
* TidyNicholas Feinberg2014-07-151-8/+6
|
* Make offline tiles display only 52 tiles of invNicholas Feinberg2014-07-151-4/+1
|
* Fix compilationNicholas Feinberg2014-07-021-0/+1
|
* Remove vestiges of Simulacrum-chunk interactions.Neil Moore2014-06-091-4/+2
| | | | | Wieldability, usefulness of butchery and chunks, tile wield tip, and monster food pickup.
* Display "(holding you)" in inventory region tooltips.Neil Moore2014-05-301-0/+6
|
* Don't claim corpses can be picked up in tiles (#8618)Neil Moore2014-05-301-5/+8
|
* More formatting fixes for return (...);Neil Moore2013-11-151-4/+4
|
* Drop unnecessary parentheses from return statements.Adam Borowski2013-11-151-4/+4
|
* Allow viewing remembered info about out of LOS stuff.Adam Borowski2013-10-281-1/+1
|
* Don't treat preserved meat as sublimable.Neil Moore2013-08-101-2/+3
| | | | But do continue to treat it as simulacrable.
* Allow sublimation/simulacrum users to swap to and mouse-wield all meat.Neil Moore2013-08-101-1/+1
|
* Fix formatting.Neil Moore2013-08-101-1/+1
|
* Let knowledge of Simulacrum enable wielding via mouseBlackSheep2013-08-101-1/+2
|
* Ensure no more sightings of spiked flails and empty ebony caskets.Adam Borowski2013-07-171-1/+1
| | | | | Spiked flail tiles can be reused for randart regular flails, thus moving them to UNUSED/ for now, for ortoslon's and co decision.
* Remove the read option from manual descriptionsPekka Lampila2013-06-091-0/+2
| | | | And also from local tiles version tool-tip.
* Always study all manuals in the inventoryPekka Lampila2013-06-061-3/+0
| | | | | | Multiple manuals for different skills can be used at once. If there are multiple manuals for the same skill, the one with least charges is used up first.
* Shift the 'tried item' question markontoclasm2013-04-041-1/+1
|
* Discard empty boxes of beasts after use.Adam Borowski2013-03-271-0/+2
|
* Formatting nazi to the rescue!Adam Borowski2013-01-101-2/+2
|
* final attempt at fixing inventory paging; added tooltip messages for ↵Chris West2013-01-051-7/+19
| | | | prev/next icons
* fixed inventory pagingChris West2013-01-051-10/+3
|
* improved inventory paging on non-touch uiChris West2013-01-051-9/+35
|
* merge of small-screen changes from old build envChris West2013-01-051-15/+63
|
* Use std namespace.Raphael Langella2012-08-261-14/+12
| | | | | | | | | | | | | 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.
* Fix rod tiles (#5818).Florian Diebold2012-07-151-1/+4
| | | | | | | | | | | | | | | | | | Subtype and appearance are independent on rods; that makes the normal hack inapplicable, since it displays the appearance tile for an item depending on the subtype icon. This makes it very hard to display both the appearance tile and the subtype icon for a rod on the floor (since we can only pass one tile index to the rendering code -- that's why there's the whole mcache thing for monsters). This is the cowardly fix: Rods on the floor only get the appearance tile, rods in the inventory menu and region use the same hack as weapons, armour and ammo (where the brand icon isn't displayed on the floor either). I have another fix which displays the subtype icons on the floor, but it is extremely ugly. The whole tile picking and rendering code could really use a big refactoring; I don't want to add even more hackiness.
* Some more return deparenthesization.Adam Borowski2012-07-051-1/+1
|
* Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-17/+17
|
* Unify and sanitize .rc parsing of item classes, allow adding rods to autopickup.Adam Borowski2012-06-191-29/+18
| | | | Perhaps this should be merged with the new per-subtype interface somehow, though.
* Make staves and rods separate object classes.Adam Borowski2012-06-121-5/+6
| | | | | | | | | | | | They have about no overlap, more than both being usable as weapons. A vast majority of uses immediately checked item_is_rod()/item_is_staff(). I kept them shared for acquirement, for now. Also, eliminate rods of smiting -- hardly ever used, problematic theme-wise as they use "divine providence" without worship. Keeping rods of striking for now, could be used to fix artificer problems. Adding/removing rod enums is a mess due to tile handling, renaming ROD_SMITING to ROD_LIGHTNING for now.
* Remove a good deal of header inclusion.Adam Borowski2012-05-231-1/+0
| | | | | | | | | These accumulate but never get removed; no wonder compilation times keep rising. The includes.sh script has lots of false negatives (and positives...), and can't check .h files which cause the biggest slowdown, it'd be nice to run multidelta on those somehow.
* Unbreak tile builds.Adam Borowski2012-03-221-2/+2
|
* Fix the "tried" question mark still not appearing in some cases (#5333).Florian Diebold2012-02-181-1/+1
| | | | | | | | | | | | | The underlying problem is that item_type_known returns true for some item_info objects (i.e. item_defs returned by get_item_info) even though their item type isn't really known, because the item type data is erased by setting it to 0. So if the sub type 0 of the respective base type is known, item_type_known may return true (which causes item_type_tried to return false). I didn't fix that (I'm not sure if it should be considered a bug, or item_type_{known,tried} just shouldn't be used on item_infos), but just changed the call to item_type_tried to a direct check for the flag.
* Fix curse status being leaked for items on the floor in the tiles inventory ↵Florian Diebold2012-01-131-1/+1
| | | | region.
* Fix a few cases where my last fix broke the identified tile for items (#5205 ↵Florian Diebold2012-01-121-3/+3
| | | | among them).
* Display (studied) for active manuals, treat as equipped.Neil Moore2012-01-051-0/+3
| | | | | | | | That's supposed to be short for "being studied"; hopefully it won't lead to confusion. Manuals are also given the "equipped" prefix so they will be highlighted in the inventory; and are drawn with the equipped flag in tiles.
* Shorten the name of describe-templates.hAdam Borowski2011-12-061-1/+1
| | | | Its length makes "ls" use few wide columns.
* Split templates out of describe.h, to speed testing of changes to them.Samuel Bronson2011-12-051-0/+1
| | | | | Few files use these templates: for console, describe.cc alone uses them; for tiles, only a few other files do.
* Merge branch 'master' into unified_combat_controlRobert Burnham2011-10-251-5/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: crawl-ref/source/Makefile.obj crawl-ref/source/dbg-scan.cc crawl-ref/source/decks.cc crawl-ref/source/describe.cc crawl-ref/source/directn.cc crawl-ref/source/evoke.cc crawl-ref/source/fight.cc crawl-ref/source/fight.h crawl-ref/source/ghost.cc crawl-ref/source/ghost.h crawl-ref/source/item_use.cc crawl-ref/source/items.cc crawl-ref/source/map_knowledge.cc crawl-ref/source/melee_attack.h crawl-ref/source/mon-abil.cc crawl-ref/source/mon-act.cc crawl-ref/source/mon-stuff.cc crawl-ref/source/monster.cc crawl-ref/source/monster.h crawl-ref/source/player.cc crawl-ref/source/player.h crawl-ref/source/shopping.cc crawl-ref/source/spl-damage.cc crawl-ref/source/spl-summoning.cc crawl-ref/source/spl-transloc.cc crawl-ref/source/stairs.cc crawl-ref/source/stuff.cc crawl-ref/source/tags.cc crawl-ref/source/traps.cc crawl-ref/source/xom.cc
| * First prototype of webtiles.Florian Diebold2011-06-261-1/+1
| | | | | | | | | | | | Conflicts: crawl-ref/source/startup.cc
| * s/SP_CAT/SP_FELID/Adam Borowski2011-06-071-4/+4
| | | | | | | | | | I did not change this when the species' name was in flux, but it's kind of set in stone now, so let's be consistent.
* | Merge branch 'master' into unified_combat_controlRobert Burnham2011-04-261-17/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: crawl-ref/source/actor.cc crawl-ref/source/delay.cc crawl-ref/source/directn.cc crawl-ref/source/directn.h crawl-ref/source/fight.cc crawl-ref/source/files.cc crawl-ref/source/mon-act.cc crawl-ref/source/monster.cc crawl-ref/source/mpr.h crawl-ref/source/player.cc crawl-ref/source/shopping.cc
| * Mantis #1372: Allow mouseclick-wielding ammunition (for enchantment).Johanna Ploog2011-04-141-11/+2
| | | | | | | | | | | | | | | | | | | | This is likely to be confusing to players who don't know about enchantment - they might end up thinking bashing monsters with arrows might be useful - but it does make it more comfortable to wield ammo you wish to enchant. A proper solution to this dilemma would be to change the EW scrolls to prompt for a target item instead of always using the wielded one.
| * Doxygenization and junk purging that was missed by my script.Adam Borowski2011-04-021-6/+0
| |
* | Replace DESC_NOCAP_A and DESC_CAP_A with DESC_ARobert Burnham2011-03-251-1/+1
|/
* Add a new item_is_spellbook() function.Raphael Langella2011-02-101-3/+1
|
* Fix #2726: Wrong tooltip for evokable staves.Johanna Ploog2011-02-041-2/+3
|
* Replace "Shift-L-Click" tooltips with "Shift + L-Click", etc.Johanna Ploog2011-01-191-20/+20
| | | | | This came up in last year's Usability Project and should help in making the required keyboard-mouseclick combinations clearer.