summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/throw.h
Commit message (Collapse)AuthorAgeFilesLines
* Let portal projectile work with non-quiver items (#8749)Neil Moore2014-07-011-2/+1
| | | | | | | It was possible to fire normal shots (saving MP, using penetration, etc) with F. I don't think this was intentional, and if that is desired there should be a toggle so the user doesn't have to tediously go through item selection every time.
* Remove darts.Shmuale Mark2014-05-301-0/+2
| | | | | | | | | | They don't have much use outside the first level of D (possibly also the second): popping spores, killing slow things, waking up sleeping monsters, etc. are all served just as well by stones, and anybody who really wants to do damage with throwing would be better served with tomahawks before they find javelins. For one case where they could be useful (dispersal), tomahawks have been given a chance at the dispersal brand.
* Chance function(void) to function()reaverb2014-05-241-1/+1
|
* The +7,+7 lajatang of Order {silver, rMut}wheals2014-02-261-0/+3
| | | | The code is mostly based off of Grunt's lajatang of the Silver Moon patch.
* Implement Portal Projectile for marksnagas in place of Leda's.Steve Melenchuk2014-01-281-1/+1
| | | | | | | | | | | | For whatever reason, extra-stable footing doesn't apply to liquefied ground, so that part of the original rationale fails; the new replacement is partly motivated by my observation that in a lot of scenarios where marksnagas turn up, the rest of the nagas in the pack tend to block their lines of fire - so this helps make them effective even in those scenarios. This is a variation of the implementation I've had floating around for a while (20f9716) updated for more modern Crawl.
* Purge obsolete code for quivering weapons.Adam Borowski2013-09-221-4/+0
|
* A new throwing missile, tentantively named "tomahawk".Adam Borowski2013-09-221-1/+1
| | | | | | | | | | The name is somewhat problematic, as real tomahawks were fit for melee (just like hand axes...). It's mostly because a few bailey_axe vaults want something that resembles an axe, but I'd rather axe or redesign those vaults than have them block better alternatives. The balance purpose is to have something between darts (damage 2) and javelins (damage 10), for use by orcs, orc warriors and merfolk.
* Reorder firing type enums a bit; they're not saved in games anyway.David Lawrence Ramsey2013-03-311-2/+2
|
* Allow specifying pies in firing order.David Lawrence Ramsey2013-03-301-0/+1
|
* Fix inconsistencies in bolt struct references.David Lawrence Ramsey2013-02-131-4/+2
|
* Make a few functions gone or static.Adam Borowski2012-10-311-3/+0
|
* 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.
* Make two functions static, one gone.Adam Borowski2012-05-151-3/+0
|
* Eliminate missile enchantments.Adam Borowski2012-05-141-2/+0
|
* Move monster throw code as well.Adam Borowski2012-05-141-0/+3
| | | | | It rides the same cow as player throwing -- and both deserve to be shot and redone from scratch, with a stress on making the formulas sane.
* Move throwing code out of item_use.ccAdam Borowski2012-05-131-0/+56
It really needs to be ripped out and rewritten, with a stress on making the formulas sane.