summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-mis.cc
Commit message (Collapse)AuthorAgeFilesLines
* Trim unnecessary #includes.Adam Borowski2010-01-131-1/+0
|
* Add new killer_type KILL_MISCAST whose clouds don't autoexclude.Johanna Ploog2010-01-121-1/+1
| | | | | | | Not to be confused with KILL_MISC, which is used, among other for the flamethrower vaults. Aside from spell miscasts, KILL_MISCAST also applies to Zot traps and Xom effects.
* Rename transfor.{cc,h} to transform.{cc,h}.Adam Borowski2010-01-071-1/+1
|
* Fix fractured grammar in miscast death/foo causes.Darshan Shaligram2010-01-061-8/+14
|
* Replace long debug message calls with dprf(), except for cases where a dumb ↵Adam Borowski2009-12-201-3/+1
| | | | | | compiler could call unnecessary functions. For paranoia, I left even any uses of std::string.
* Reduce miscast loudness drastically.Robert Vollmert2009-12-171-12/+12
| | | | | | These were unreasonably loud. They could be louder than this, but we should be careful not to make stealthy play too difficult.
* Remove header includes from mon-place.h.Robert Vollmert2009-11-271-0/+2
|
* 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
|
* Clean up rotting resistance checks, as they're effectively boolean.David Lawrence Ramsey2009-11-181-1/+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.
* Modify DUR_LIQUID_FLAMES to count delay instead of turnsCharles Otto2009-11-151-1/+1
| | | | | | | | | Decrease (and increase) sticky flames duration by the players delay instead of using perceived turns. This is a behavioral change, previously sticky flame did damage proportional to delay but the counter was only decreased once per perceived turn. Compared to the old behavior slow players take less damage and fast players take more damage over the course of the sticky flame.
* Move player_can_smell to player::can_smell.Vsevolod Kozlov2009-11-141-7/+7
|
* Add summoner and non_actor_summoner to mgen_dataStefan O'Rear2009-11-121-1/+3
| | | | | Monsters now know who summoned them. This will be important later. Probably breaks something; saves are not one of them.
* Rename SPELL_BACKLIGHT -> SPELL_CORONA, and relevant ZAP/BEAM/DUR.Jude Brown2009-11-121-1/+1
|
* 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
|
* Reorder the parameters in mgen_data::hostile_at() to be closer to theDavid Lawrence Ramsey2009-11-081-2/+2
| | | | | order used in mgen_data(), and allow the former to specify the base monster, as the latter does.
* Move mons_is_friendly to monsters::friendly.Vsevolod Kozlov2009-11-061-2/+2
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Split up view.cc.Robert Vollmert2009-11-041-0/+1
|
* Splitting up stuff.cc.Robert Vollmert2009-10-301-0/+1
| | | | New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc.
* Fix a nitpicky compiler warning.Adam Borowski2009-10-221-4/+4
|
* Don't disturb monsters witth their own soundMatthew Cline2009-10-211-1/+8
| | | | | | | | | | A monster making noise was causing an ME_DISTURB behaviour_event() for itself, possibly causing it to get a new foe, which could cause strange results if it switched foes during the middle of spell-casting when it made noise from chanting. Now noisy() can accept a "who" parameter, in which case the monster which caused the noise will ignore the noise. This is done in all cases except for when a monster of animal or lower intelligence sets off an alarm trap or does a spell miscast.
* versioning: remove SVN-specific revision data, add Git versioningSteven Noonan2009-10-181-1/+0
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Naming consistency.Robert Vollmert2009-10-171-3/+3
| | | | | Mostly rename functions from terrain.h that accept features of typ dgn_feature_type from grid_is_* to feat_is_*.
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-3/+0
|
* move 'Kills.h' -> 'kills.h', 'Kills.cc' -> 'kills.cc' for file naming ↵Steven Noonan2009-09-291-1/+1
| | | | | | consistency Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Comment fix.David Lawrence Ramsey2009-09-241-1/+1
|
* Add spelling fixes.David Lawrence Ramsey2009-09-231-7/+7
|
* Commit several patches:j-p-e-g2009-09-131-2/+4
| | | | | | | | | | | | * patch 2849505 by weyrava: make submerged monsters use the correct colour * patch 2857771 by caotto: another Feawn update * patch 2838771 by camedo: add potions of brilliance/agility * BR 2841651 by bookofjude: allow Merfolk to control-tele into deep water Now we need tiles for the new potions! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10669 c06c8d41-db1a-0410-9941-cceddc491573
* Add noise levels for sound-related random uselessness messages, hell dolorous2009-09-031-27/+45
| | | | | | | effect messages, and spell miscast messages. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10618 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fixes.dolorous2009-09-031-4/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10617 c06c8d41-db1a-0410-9941-cceddc491573
* Bug 2820876: don't do a big cloud miscast in non-lethal mode if two playerzelgadis2009-07-201-17/+19
| | | | | | | turns in the cloud could kill the player. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10344 c06c8d41-db1a-0410-9941-cceddc491573
* And fix the last delete_mutation() call again.dolorous2009-07-181-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10289 c06c8d41-db1a-0410-9941-cceddc491573
* Fix missing parameter in delete_mutation() call (oops).dolorous2009-07-181-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10285 c06c8d41-db1a-0410-9941-cceddc491573
* Add the Slime god as per n78291's (Shayne?) patch. Thanks! :Dj-p-e-g2009-07-181-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10271 c06c8d41-db1a-0410-9941-cceddc491573
* Fix miscast message typo.zelgadis2009-05-281-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9842 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix Xom's interest wrapping around from 0 to 255. (!!!)j-p-e-g2009-03-261-1/+1
| | | | | | | | | | | | | | | | * In xom_acts, if Xom was bored (and now did something bad) reroll interest. * Greatly decrease amusement derived from the player entering a new level. (However, entering a new level via escape hatch or shaft is REALLY amusing, more so the deeper the shaft.) * Xom may be amused if you are caught in a net and there are hostile monsters around. * Fix draconian tiles not showing up correctly for Detect Creatures. * Improve card descriptions output for Triple Draw/Stack Five. * In inventory, add '&' hotkey for useless (== inedible) chunks. Still needs documentation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9557 c06c8d41-db1a-0410-9941-cceddc491573
* Use monsters::mindex() in a few more places.dolorous2009-03-021-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9314 c06c8d41-db1a-0410-9941-cceddc491573
* * Mention the spell's name in the forget_spell() miscast effect.j-p-e-g2009-02-271-2/+2
| | | | | | | | | * Remove a dangling if-statement in monster_die KILL_RESET check. (It really didn't look like it had any purpose, but if I was wrong please correct me.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9257 c06c8d41-db1a-0410-9941-cceddc491573
* Remove all traces of TRAN_AIR and TRAN_SERPENT_OF_HELL, the latterj-p-e-g2009-02-271-4/+1
| | | | | | | together with the corresponding unused ability. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9244 c06c8d41-db1a-0410-9941-cceddc491573
* Tweak spell miscast messages to not overlap with monster speech.dolorous2009-02-061-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8922 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2514815]: better messaging for Transmutatin miscasts.haranp2009-02-041-5/+7
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8898 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up potion effects as per [2544231]; get rid of the "power == 40 meansharanp2009-01-291-1/+1
| | | | | | | | it's a potion" hack. Fix security issue in dumping code (never dump a string without using %s.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8846 c06c8d41-db1a-0410-9941-cceddc491573
* Added missing "@" to a monster miscast message.zelgadis2009-01-271-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8819 c06c8d41-db1a-0410-9941-cceddc491573
* Remove erroneous monster miscast message.dolorous2009-01-221-5/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8690 c06c8d41-db1a-0410-9941-cceddc491573
* Call do_msg() in the same place for the other "engulfed in negative dolorous2009-01-221-1/+1
| | | | | | | energy" necromancy miscast. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8689 c06c8d41-db1a-0410-9941-cceddc491573
* Fix Necromancy severity 2 miscast assertions.zelgadis2009-01-221-2/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8682 c06c8d41-db1a-0410-9941-cceddc491573
* Split miscast code off from spl-cast.cc into spl-mis.cczelgadis2009-01-221-0/+2712
Get rid of members mon_target and mon_source from MiscastEffect class, replace with methods target_as_monster() and source_as_monster(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8674 c06c8d41-db1a-0410-9941-cceddc491573