summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
Commit message (Collapse)AuthorAgeFilesLines
* s/USE_TILES/USE_TILE/Haran Pilpel2010-01-131-1/+1
|
* Rename transfor.{cc,h} to transform.{cc,h}.Adam Borowski2010-01-071-1/+1
|
* Indentation fixes.Johanna Ploog2010-01-061-4/+4
|
* Ignore obscured items in the UIStefan O'Rear2009-12-301-2/+2
| | | | I probably missed a few spots.
* Deny apportation of items in deep water / lavaStefan O'Rear2009-12-301-0/+9
|
* Allow tiles to destroy only some items.Stefan O'Rear2009-12-301-7/+7
|
* Fulsome Distillation tweaks (dshaligram)Stefan O'Rear2009-12-281-20/+2
| | | | | Fulsome no longer uses power; the chance for self-affliction is removed. The typo which caused contaminated corpses to make poison is gone.
* Fix insane non-monotonic fulsome behavior, per EronarnStefan O'Rear2009-12-271-69/+54
| | | | | | | The following two coder's discretion choices were made: 1. "Lots of chunks" is 5+, as for a draconian 2. "Self affliction at low power" means less than 1dN-1 where N depends on the potion.
* Customisable clouds!Jude Brown2009-12-281-2/+3
| | | | | | | | | | | | | | | | | | | | | cloud_struct now has members for colour, name, and tile; colour will be used instead of the default colour of the cloud type, and will be used to recolour the tile of the cloud (if it exists). Name will be used to rebrand the cloud's description, and also alter the message generate while standing in a cloud. Finally, tile can be used to completely customise the tile used for the cloud. The value is stored as a string in order to maintain save compatibility across ASCII and tiles. A random tile (found using tile_main_count) from that set will also be used, however, no duration effects will be applied. Recoloured cloud tiles using just the colour code should be possible, though aren't yet fully tested. This commit bumps TAG_MAJOR_VERSION: changing marshalling of the FogMachine Lua code causes nasty crashes on reloading saved games. Otherwise, I don't think I broke anything else. :-)
* Replace long debug message calls with dprf(), except for cases where a dumb ↵Adam Borowski2009-12-201-7/+2
| | | | | | compiler could call unnecessary functions. For paranoia, I left even any uses of std::string.
* Disallow apporting from the map boundary (shop inventories).Robert Vollmert2009-12-171-1/+2
|
* A blank "statue" monster, to be redefined by vaults.Adam Borowski2009-12-111-0/+2
|
* Sometimes give msg when mermaid stops beholdingMatthew Cline2009-12-051-4/+1
|
* Fix off-by-one error in passwall depth calculation.Robert Vollmert2009-12-031-12/+12
| | | | Also reorganize cast_passwall() a bit.
* Disallow statues for passwall.Robert Vollmert2009-12-011-4/+1
| | | | | Statues aren't really walls, and it hardly makes passwall less useful.
* Simplify passwall.Robert Vollmert2009-12-011-46/+37
| | | | | | | | | Treatment of entry point and later obstacles is unified. It doesn't work as "detect secret door" anymore. This also means that you can now passwall into statues -- before, you could passwall through them but not start with one.
* Make passwall use standard targetting system.Robert Vollmert2009-12-011-18/+10
| | | | This means it's properly abortable now.
* Passwall interface improvement (petato).Robert Vollmert2009-12-011-24/+12
| | | | | | | | | | | | | | | | | | | Patch slightly modified from http://crawl.develz.org/mantis/view.php?id=106. I've made a little patch that improves passwall's behavior somewhat. It now gives different messages depending on whether you failed the power check, there's something blocking your path, or the wall is too deep. Additionally, the prompts have been removed: if it would have been possible to cast the spell without dying, that's what happens, and if the wall is too deep it's canceled. So basically it works like before, except you don't have to worry about committing suicide by accident.
* Remove header includes from mon-place.h.Robert Vollmert2009-11-271-0/+1
|
* Remove further header-include. env.h now always directly included.Robert Vollmert2009-11-271-0/+1
|
* Move silenced(pos) to areas.cc.Robert Vollmert2009-11-211-0/+1
|
* Flatten header dependencies a bit.Robert Vollmert2009-11-171-0/+1
| | | | | | This removes a couple of unnecessary includes from header files. I may have missed adding some tiles includes.
* Wrap view flashing in flash_view.Robert Vollmert2009-11-161-4/+2
| | | | This also removes env.show updates when flashing.
* Convert several more durationsCharles Otto2009-11-151-2/+2
| | | | | Change over durations for magic shield (this is from the helm card), TSO's divine shield, paralysis, and petrification.
* On second thought abstract increasing/setting durations a little.Charles Otto2009-11-151-34/+12
| | | | Add (and use) player methods for setting/increasing durations.
* Update phaee shift, condensation shield, stoneskin and see invisCharles Otto2009-11-151-12/+17
| | | | Make their durations count total delay not turns.
* Modify temporary brand spells to be delay basedCharles Otto2009-11-151-4/+5
|
* Modify silence to use delay not turn countCharles Otto2009-11-151-3/+5
|
* Convert a bunch of coordinate loops to new radius_iterator.Robert Vollmert2009-11-131-3/+1
|
* Move trans_wall_blocking into player.Robert Vollmert2009-11-131-2/+2
|
* Replace observe_cell by you.see_cell.Robert Vollmert2009-11-131-2/+2
|
* Rename can_sleep/put_to_sleep to can_hibernate/hibernate.Jude Brown2009-11-121-2/+2
| | | | | | This reflects the fact that these functions are currently only used to player and monster ensorcelled hibernation/metabolic englaciation, and thus both check monster's cold resistance.
* Rename SPELL_BACKLIGHT -> SPELL_CORONA, and relevant ZAP/BEAM/DUR.Jude Brown2009-11-121-4/+4
|
* Rename monspeak/monplace/monstuff to mon-speak/place/stuff.Jude Brown2009-11-121-2/+2
| | | | | I'm pretty sure I've managed to replace every instance of a reference to these files, so I hopefully haven't missed anything.
* Split shouting and stealth code from view.cc.Robert Vollmert2009-11-101-0/+1
|
* Change some uses of viewwindow to not do monster updates.Robert Vollmert2009-11-101-1/+1
|
* Remove option draw_it from viewwindow.Robert Vollmert2009-11-091-2/+2
| | | | | | The only use was just removed. Also move the draw check closer to where it's used.
* Move blink frogs into their own genus, in order to make checks for bothDavid Lawrence Ramsey2009-11-081-18/+16
| | | | | | blink frogs and Prince Ribbit in blink frog form consistent (i.e., so if Prince Ribbit is polymorphed into another form, he'll no longer erroneously act like a blink frog in some cases).
* Move see_cell_no_trans into player.Robert Vollmert2009-11-081-1/+1
| | | | Also collect actor/player LOS code in actor-los.cc.
* Replace mons_is_petrifying with monsters::petrifying.Vsevolod Kozlov2009-11-081-1/+1
|
* Replace uses of mons_is_icy with monsters::is_icy.Vsevolod Kozlov2009-11-071-1/+1
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Consolidate player/monster sleep checks.David Lawrence Ramsey2009-11-061-9/+5
|
* Rename purple smoke to clouds of translocational energyStefan O'Rear2009-11-061-2/+1
|
* Replace global see_cell by observe_cell and disambiguate old uses.Robert Vollmert2009-11-061-2/+2
| | | | | | | Calls to plain see_cell(pos) were replaced with either observe_cell(pos) or you.see_cell(pos). observe_cell where related to drawing the interface and messaging, you.see_cell for game mechanics, and one or the other in less clear cases (targetting, say).
* Move mons_is_friendly to monsters::friendly.Vsevolod Kozlov2009-11-061-1/+1
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Rename is_valid_item to item_def::is_valid.Vsevolod Kozlov2009-11-061-1/+1
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Add actor::petrified, which replaces mons_is_petrified.Vsevolod Kozlov2009-11-061-2/+2
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Unify mesmerisation code.Robert Vollmert2009-11-051-3/+2
| | | | | | | | There were several places that had copies of the same code, checking whether mesmerisation blocked movement to a given target. The various mesmerisation functions have become methods of player and were moved into behold.cc.
* Replace mons_is_paralysed with monsters::paralysed.Vsevolod Kozlov2009-11-051-1/+1
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Replace uses of player_is_airborne with you.airborne.Vsevolod Kozlov2009-11-051-1/+1
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>