summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick-p.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Djinn: so Koran says "no images of living beings"? Tile it anyway!Adam Borowski2013-04-291-0/+2
|/ /
* | Ignore warnings about type limits, but only inside ASSERT().Adam Borowski2013-04-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These show up on gcc -Wextra, and in clang by default. These come from two sources: * us checking currently true cases that may change in the future * clang narrowing enum types and then looking at the narrowed size The latter is quite bogus, as an enum with < 128 values will break the moment 128th value is added, something this assertion guards against. In any case, assertions by definition are meant to catch stuff that shouldn't happen, and if flow analysis proves it indeed can't happen, that doesn't make the assertion less valuable. After this commit, remaining warnings in -Wextra --std=c++11 in Crawl proper (TODO: rltiles) are either compiler bugs (clang's: private field 'foo' is not used [-Wunused-private-field]) or annoying crap that can't be disabled (gcc's: enumeral and non-enumeral type in conditional expression [enabled by default]).
* | Unbreak tiles compilationDracoOmega2013-04-261-1/+0
| |
* | Shield variations for the player doll (roctavian, 6878)ontoclasm2013-04-051-3/+9
| |
* | Fix wtile: not working on anything other than shields.Adam Borowski2013-03-301-0/+18
| |
* | Discard empty boxes of beasts after use.Adam Borowski2013-03-271-2/+4
| |
* | Handle lich and statue form tiles the same way as tree form.Florian Diebold2013-03-191-25/+5
| | | | | | | | | | | | This removes the _transform_add_weapon hack, and shows all unmelded equipment on statues and shields on liches; armour doesn't fit right on the current lich tile so it is disabled.
* | Give fungiform a tileDracoOmega2013-03-171-1/+4
| |
* | Fix tiles compilation error.Steve Melenchuk2013-02-211-1/+1
| |
* | Buff one-handed Maces and Flails.Chris Honey2013-02-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Spiked flails are being replaced on the power curve with morningstars. Morningstars have replaced spiked flails wherever they appear in monster item generation tables. If a monster had a chance for a spiked flail and morningstar, the chance for a morningstar is now the same as it was for a spiked flail. Flails and eveningstars get a 1 point damage increase. Morningstars get a big boost to 13/-2/150 from 10/-1/150, which makes the best common one-handed mace actually worth using.
* | Player doll weapon tiles (roctavian, 6611)ontoclasm2013-02-131-56/+166
| |
* | Link monster tiles for bad forms, add a too-ugly-to-live tree form one.Adam Borowski2013-01-051-0/+4
| | | | | | | | | | | | | | The code for equipment-using form tiles is not fit for the task, so I used a hack using regular player doll code instead. It draws the weapon behind the tile instead of the front (and can't be easily fixed), and fails to draw shields at all.
* | Rename worn shield tiles according to their names; move unused to doll_only/Adam Borowski2012-12-311-1/+1
| | | | | | | | | | | | | | | | | | The latter are not 100% unused -- they can be used with the doll editor (-) in local tiles. That's something 0.01% of players know about, and those who do probably played with it once. In other words, all these shield tiles are currently wasted. They're not used for glowing/racial variants, nor even for randarts.
* | s/shield/buckler/ in tile names for worn bucklers.Adam Borowski2012-12-301-1/+1
|/
* Allow redefining an item's tile in vaults.Adam Borowski2012-09-151-0/+3
| | | | | | | tile: handles the inventory/ground one, wtile: handles the player/monster doll. It'd be nice to unify them into one setting one day, and have all equipment tiles have a pair of files by the same name.
* Remove generation of "staff" items.elliptic2012-09-021-0/+2
| | | | | | | | | Nobody ever wanted to use one, and the distinction between club/staff/quarterstaff didn't make much sense. Artificers now start with a short sword instead, the same as hunters. WPN_STAFF is still present in the code to provide the weapon stats for magical staves.
* Use std namespace.Raphael Langella2012-08-261-2/+2
| | | | | | | | | | | | | 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.
* Remove StalkersChris Campbell2012-08-201-0/+2
| | | | | | | Their concept was "transmutation-based stabber" but they don't actually achieve that at all, mainly just relying on Fulsome Distillation and Evaporate. Earth Elementalists already have Petrify and Passwall and so are just as good for Tmut stabbing.
* dd's player doll lajatang tile (#5724).Florian Diebold2012-08-031-1/+3
|
* New crystal plate tiles by roctavian and dd (#5907).Florian Diebold2012-07-241-1/+2
| | | | Including variants for the player doll tile.
* Fix rods not being shown on the player doll (#5944).Florian Diebold2012-07-171-1/+1
|
* Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-20/+20
|
* Make staves and rods separate object classes.Adam Borowski2012-06-121-6/+10
| | | | | | | | | | | | 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.
* Horny cat tiles (ontoclasm).Adam Borowski2012-06-091-2/+18
| | | | | | | Checks for inappropriate combinations (possible due to the doll editor) are really ugly, and in the editor you get series of tile parts that won't show up. That's nothing new (nagas, etc), but points out how the doll editor is unmaintained.
* Drop TAG_MAJOR_VERSION == 32 ifdefs.Adam Borowski2012-04-251-33/+0
|
* Make a few functions static.Adam Borowski2012-04-201-4/+4
|
* Drop pointless braces after if/for/while everywhere.Adam Borowski2012-04-201-2/+0
|
* Ontoclasm's dragonform tiles.Florian Diebold2012-04-191-1/+17
|
* Ankusicide.Adam Borowski2012-03-281-0/+2
| | | | | | They were kept with a reduced weight as an oddity, but it looks like there is nothing interesting there not already done by one of 67854684369 1-handed maces.
* roctavian's tiles for octopodes: lich, statue, zombie.Adam Borowski2011-12-231-0/+2
| | | | | Lich is... unconventional, but it's not like we can use a skeleton like for everyone else.
* Fix monster weapons not showing when the player's weapon is melded (#5038).Florian Diebold2011-12-141-15/+0
| | | | | | | tilep_equ_weapon checked if the player's weapon is melded even though it was also used for monster weapons. I also removed redundant checks for the player's respective equipment slots from the other tilep_equ_* functions.
* Doll tile code cleanup: change "banded.png" (etc) to "splint.png".Eino Keskitalo2011-11-131-2/+2
|
* s/crystal plate/\1 armour/ to stave off elliptic's culinary fears.Adam Borowski2011-11-111-1/+1
|
* Cut off the staff from gnoll shaman's tile, use it for everyone.Adam Borowski2011-11-101-1/+1
|
* Rename Kenku -> Tengu.Jude Brown2011-11-061-2/+2
| | | | | | | | | | | | | | | "Kenku" itself seems to be a name and a concept specifically from D&D. Our kenku (now tengu) were alike these in that they were quite weak ("glass canon" about sums it up), but ours can fly, and D&D kenku cannot. This is really only the first step in properly differentiating then. D&D kenku are based on the Japanese folk creature of the tengu, so it seems sane to return to the roots; this is where NetHack tengu come from. Should retain save compatability. There might be a possible issue with the renamed tiles, but the order of the tiles file hasn't changed at all, so presumably these will be safe.
* Rename "plate mail" to "plate armour".Adam Borowski2011-10-291-1/+1
| | | | | | | | | Not sure about the name, "full plate" might sound better. I wonder how no one else was annoyed by having three pieces of armour being synonyms of each other. Also, our tiles show solid plate rather than mail.
* Rename "crystal plate mail" to "crystal plate".Adam Borowski2011-10-291-1/+1
| | | | | | | | | | | | | It makes no sense to make MAIL from crystal -- thin plates made of a material that is on the brittle side would break in no time, and piercing them to insert combining rings would chip it out quickly as the rings move somewhat during use. Making plate ARMOUR on the other hand is reasonable assuming you have proper crystal. (Yeah, yeah, "crystal" in the popular meaning, I know how most solids look on the molecular level :p) The tiles show plate armour rather than plate mail, too.
* Improve medium armour, remove banded mails.Adam Borowski2011-10-291-0/+2
| | | | | | | | | | Ring, scale, chain get +1 base AC. So do steam and mottled dragons -- no one ever uses them as +2 AC is not worth having no brand. "Banded mail" is a D&D invention, and is mostly synonymous with splint. Even our code merged them in some cases -- like, tiles display.
* Rename dragon armour to "fire dragon armour". Just the item, not monster.Adam Borowski2011-10-181-2/+2
| | | | | | | | | | | | | | | | | | There's a lot of confusion among players who mistake other dragon armours for it. On the other hand, no variant like "common dragon", "fire dragon", etc sounds good, "red dragon" would be D&Dism[1] and would require redoing tiles and being contrary to pre-D&D stories, etc. Like every single medieval legend has dragons breathing fire and nothing else[2], thus "dragon" without an adjective is damn clear what it means -- kind like "chair" vs "electric chair". Also, "The fire dragon breathes fire at you." sounds awfully redundant. Thus, after several long IRC discussions, let's try this way. [1]. Draconians are a pure Dragonlance/Krynn D&Dism, but so far we have all draconians color-coded and no dragon use colour names, let's keep that. [2]. Some related creatures breathe poison. Nothing before D&D does cold, electricity, acid, etc.
* Remove crystal balls of seeingChris Campbell2011-10-051-1/+0
| | | | | | | They essentially just provide unlimited free mapping in the same way as divination spells, since they have no permanent cost or limited number of uses. Scrolls of mapping are much better, they're a limited resource, and a valuable one.
* Remove Evap and Fulsome from Tm starting book, add a new spell: Beastly ↵Adam Borowski2011-09-271-0/+1
| | | | | | | | | Appendage. It gives you a temporary aux mutation on an uncovered body slot. Not balanced at all, please help determine what appropriate mutation levels would be.
* Two new artefact bardings. (Hate hate hate hate tile barding code)Adam Borowski2011-09-111-7/+7
| | | | | | Too angry to check if webtiles work, sorry. The properties are the initial draft too -- need to decide who shouted loudest during the debate and change it accordingly.
* Split quarterstaff into "staff" and "quarterstaff".elliptic2011-09-091-0/+1
| | | | | Staff is meant to be weaker in melee and is used as the base type for magical staves. Quarterstaff and lajatang will be buffed in a separate commit.
* Finish the removal of katanas.Adam Borowski2011-08-231-1/+3
| | | | | | | | | | | | | | This is mostly clean-up of dormant code, as the only way to get a katana is Bloodbane. Funny thing is, it wasn't even converted to a katana properly in cfbf888d -- its tiles show an european style sword. To preserve the intended upgrade I made it a demon blade, but this means the tiles should probably get that violet aura other demon stuff has. Not doing that yet since there might be issues with good god worshippers -- theme of Bloodbane doesn't exactly scream "a good or neutral item" to me but you might disagree. There is a remnant left -- tile of level 21..25 Long Blade ghosts, no other sword seems to fit well.
* chilie's tile for wielded anki.Adam Borowski2011-08-091-1/+1
|
* Adjust some whitespace and formatting.Adam Borowski2011-07-081-1/+0
|
* s/Crusader/Skald/Adam Borowski2011-06-241-1/+1
| | | | | | This doesn't of course affect TSO ("crusader god"). Rupert is left, but he doesn't follow Skald rules or theme anyway: berserk while using magic, haste, etc.
* Show octopodes in tiles.Adam Borowski2011-06-091-0/+15
| | | | | | The tile is worse than abysmal, but we need _something_ that won't cause bug reports that it's a human. Eronarn has a tile somewhere, a mere notch better than this one, but it's not in the repository or anywhere.
* s/SP_CAT/SP_FELID/Adam Borowski2011-06-071-3/+3
| | | | | 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.
* Fix save compat.Raphael Langella2011-04-291-0/+2
|