summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
Commit message (Collapse)AuthorAgeFilesLines
* Apply trunk r10543, r10544, r10547, r10572, r10756, and r10757 to 0.5,dramsey2009-09-281-4/+20
| | | | and update the changelog.
* Backport oos mouseover descriptions for Tiles, corpses not being droppedj-p-e-g2009-09-211-2/+6
| | | | | | | inside walls, and LRD not working at low levels. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10768 c06c8d41-db1a-0410-9941-cceddc491573
* Backport a number of small fixes and improvements, among others:j-p-e-g2009-08-121-2/+2
| | | | | | | | | | | | * display for silenced grids * mummy monsters drinking potions * stationary monsters floundering in shallow water * replacing post-explosion more() with delay(150) * fixing debug armour acquirement statistics * DS Troggies don't get Channeling anymore git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10522 c06c8d41-db1a-0410-9941-cceddc491573
* Apply trunk r10384 to 0.5.dolorous2009-07-231-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10385 c06c8d41-db1a-0410-9941-cceddc491573
* Backport r10360/1 for a number of bug fixes.j-p-e-g2009-07-201-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10362 c06c8d41-db1a-0410-9941-cceddc491573
* Fix beam animations leaking information about unknown beam types.j-p-e-g2009-07-201-6/+17
| | | | | | | Backport AltGr fix for Tiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10359 c06c8d41-db1a-0410-9941-cceddc491573
* Backport r10255 to 0.5.j-p-e-g2009-07-171-6/+9
| | | | | | | Also update change log. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10256 c06c8d41-db1a-0410-9941-cceddc491573
* Backport r10247 to 0.5: a couple of bug fixes.j-p-e-g2009-07-161-7/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10248 c06c8d41-db1a-0410-9941-cceddc491573
* Apply trunk r10241 to 0.5.dolorous2009-07-161-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10242 c06c8d41-db1a-0410-9941-cceddc491573
* Apply trunk r10239 to 0.5.dolorous2009-07-161-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10240 c06c8d41-db1a-0410-9941-cceddc491573
* Apply trunk r10233 to 0.5.dolorous2009-07-161-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10234 c06c8d41-db1a-0410-9941-cceddc491573
* Killing plants and fungi doesn't trigger divine conducts anymore, e.g.j-p-e-g2009-07-121-3/+2
| | | | | | | power/hp gain or blessings of followers. (Fixes 2818253.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10189 c06c8d41-db1a-0410-9941-cceddc491573
* Backport trunk r10134, r10135, and r10136 to 0.5.dolorous2009-07-101-3/+11
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10139 c06c8d41-db1a-0410-9941-cceddc491573
* Apply my previous commit to 0.5.j-p-e-g2009-07-041-2/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10097 c06c8d41-db1a-0410-9941-cceddc491573
* Plug a couple of memory holes. Unfortunately, between libSDL andj-p-e-g2009-06-151-1/+10
| | | | | | | libfreetype there's loads of leakage that I can't do anything about. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9983 c06c8d41-db1a-0410-9941-cceddc491573
* Fix bug 2805988: firing a beam at an empty square which then continueszelgadis2009-06-141-9/+14
| | | | | | | on to hit a wall was giving a "blocked line of fire" warning message. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9975 c06c8d41-db1a-0410-9941-cceddc491573
* Fix bug 2805528: tracers were simply ignoring self-destructing monsters.zelgadis2009-06-121-7/+0
| | | | | | | | There doesn't seem to be any good reason for it, so now tracers treat self-destructors exactly the same as any other monster. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9971 c06c8d41-db1a-0410-9941-cceddc491573
* Merge r9898 from trunk: fix bug 2800889.zelgadis2009-06-051-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9899 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fixes.dolorous2009-05-301-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9851 c06c8d41-db1a-0410-9941-cceddc491573
* Add bounds checking to line-of-fire warning code.zelgadis2009-05-291-2/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9846 c06c8d41-db1a-0410-9941-cceddc491573
* FR 2797173:zelgadis2009-05-291-0/+35
| | | | | | | | | | | | | * When hovering the cursor/cross-hair over a visible monster which has a blocked line of fire, describe the monster as having a blocked line of fire. * If a player tracer beam is fired at a visble monster or square which has a blocked line of fire, warn the player about it and allow the player to cancel. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9845 c06c8d41-db1a-0410-9941-cceddc491573
* Fix shopping messages mentioning "0 gold piece", and fix reading dolorous2009-05-181-6/+6
| | | | | | | unidentified scrolls of immolation counting as attacking friends. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9793 c06c8d41-db1a-0410-9941-cceddc491573
* Properly disallow Elyvilon's "Heal Other" abilities when they're aimed dolorous2009-05-161-1/+1
| | | | | | | at the player, just as we do with Lugonu's "Banish" ability. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9778 c06c8d41-db1a-0410-9941-cceddc491573
* Change Options.autopickup_on from boolean to 3-state: 1 (autopick up), 0j-p-e-g2009-04-241-12/+1
| | | | | | | | (autopickup off), -1 (autopickup turned off automatically). Only in the latter case does killing an invisible monster turn autopickup (back) on. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9691 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix non-prompting when firing through allies.j-p-e-g2009-04-201-106/+111
| | | | | | | | | * Don't autopickup chunks if starving. (Yes, I died because of that. Xom was very much amused...) * Some spacing fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9668 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix compilation.j-p-e-g2009-04-121-2/+13
| | | | | | | | | | | | | * Fix wording of stair slide chaos effect. * Add new stimulation triggers for Xom (monsters being polymorphed, accidentally hasted/healed, or going berserk) which has the side effect of keeping Xom's interest up if you actually use the chaos branded weapon he gifted you. * Greatly reduce stimulation possible from deliberately quaffing bad potions. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9596 c06c8d41-db1a-0410-9941-cceddc491573
* * Allow fleeing monster to push past higher ranked monsters of the samej-p-e-g2009-04-031-3/+2
| | | | | | | | | | | type. * Allow quivering of wielded missiles (stones for Sandblast etc.) and wielded weapons of returning if your throwing skill is > 0. * Add stairs/gates/shops to the 'V' command, mostly for the convenience of the easy travel feature. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9574 c06c8d41-db1a-0410-9941-cceddc491573
* Xom again:j-p-e-g2009-03-281-2/+2
| | | | | | | | | | * tweak values for tension and amusement * Xom only laughs about "funny" deaths * gift_timeout rerolling after a bad act depends on its severity * replace the blink effect with position swapping git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9561 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix Xom's interest wrapping around from 0 to 255. (!!!)j-p-e-g2009-03-261-2/+6
| | | | | | | | | | | | | | | | * 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
* Fix crash on returning [2712300]haranp2009-03-261-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9555 c06c8d41-db1a-0410-9941-cceddc491573
* Change default bolts to use 1 range, not 2, when hitting a target.haranp2009-03-211-4/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9528 c06c8d41-db1a-0410-9941-cceddc491573
* * For flavour, let Xom laugh himself silly whenever a follower dies.j-p-e-g2009-03-191-1/+6
| | | | | | | | | | | | * Fix Xom being amused about rotten corpses being butchered. (As opposed to clean corpses becoming rotten while butchered, which is how it was originally intended.) * Xom no longer is amused if you deliberately hit yourself with a missile/wand/spell in safe surroundings. (Identifying wands that way or zapping /random effects is still considered amusing.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9519 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2688044]: targeting a wall when firing a missile can leaveharanp2009-03-171-1/+1
| | | | | | | it stuck in the wall. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9512 c06c8d41-db1a-0410-9941-cceddc491573
* FR 2093461: add player + allies FRIENDLY_PICKUP modej-p-e-g2009-03-121-1/+1
| | | | | | | | | Make Roxanne immune to disintegration (like ice statues). Move rock worms a bit lower in the dungeon and increase their damage (a tiny bit). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9428 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fixes.dolorous2009-03-101-7/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9407 c06c8d41-db1a-0410-9941-cceddc491573
* Allow enchantments to affect wall monsters.haranp2009-03-061-3/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9346 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2667739]: monsters in walls were being hit twice by bolts, once with a ↵haranp2009-03-061-4/+0
| | | | | | | | | test, once without. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9345 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
* Properly differentiate between blasts and bursts of hellfire in the beam dolorous2009-02-261-3/+3
| | | | | | | name, to avoid getting "killed with a hellfire" death messages. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9232 c06c8d41-db1a-0410-9941-cceddc491573
* Add more spacing fixes.dolorous2009-02-261-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9231 c06c8d41-db1a-0410-9941-cceddc491573
* Partial fix for [2628480]: use you.can_see() instead ofharanp2009-02-241-4/+4
| | | | | | | | | | | | | | | player_monster_visible() in monsters::name() and do_mon_str_replacements(), so that noninvisible monsters which shout when out of sight are handled correctly. This isn't really the bug that's there, but it needed to be done sometime. Note that this is a change: if a monster is too far away to see and you want to get its name, you'll have to set force_vis. I hope this doesn't break anything. Also, make the mgrd-out-of-sync message trigger outside of DEBUG_DIAGNOSTICS. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9195 c06c8d41-db1a-0410-9941-cceddc491573
* For 2089989, reallow friendlies to walk into your damaging clouds inharanp2009-02-211-1/+1
| | | | | | | some cases, regardless of god. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9145 c06c8d41-db1a-0410-9941-cceddc491573
* Change elemental type colour enum to use ETC_ prefix instead of EC_haranp2009-02-171-8/+8
| | | | | | | | prefix, which was conflicting with the Abyssal entry cause enum. Fixes [2605869]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9110 c06c8d41-db1a-0410-9941-cceddc491573
* Remove a great many cases where mgrd is accessed directly in favourharanp2009-02-131-15/+13
| | | | | | | | | | | of monster_at(). The hope is to eventually remove mgrd completely (in favour of scanning through the monster list, or a different datastructure which gets updated automatically when monsters move), and thus fix all the mgrd-out-of-sync bugs in one fell swoop. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9056 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2035741]: give different messages when an attack is completelyharanp2009-02-111-13/+39
| | | | | | | | | | | stopped by AC and when at least some of it bypasses AC but it is completely stopped by resistance. Fix bug where determine_damage() was ignoring AC. Fix negative energy always being known even if it hits something you can't see. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9027 c06c8d41-db1a-0410-9941-cceddc491573
* Fix debugging ray zaps (e.g. unknown wands) always setting obvious_effect byharanp2009-02-081-2/+2
| | | | | | | | | | | | | making ZAP_DEBUGGING_RAY no longer an obvious_effect. It might be more correct to restore obvious_effect on a tracer, or at least a player_tracer, but bug 2515082 [and r8500] makes me cautious. Fix healing being too generously identified. Fix wand of healing not working on enemies if you happen to worship Ely. Fixes [2580106]. Also some dead code elimination. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8982 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fix.dolorous2009-02-071-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8952 c06c8d41-db1a-0410-9941-cceddc491573
* Restore a monster's attitude from the beginning of the attack if itharanp2009-02-061-31/+19
| | | | | | | | | changes during the attack and the monster is about to die, so that you don't get Okawaru piety for killing an ally just before you receive the penance. Fixes [2436051]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8925 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fix.dolorous2009-02-051-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8913 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fixes.dolorous2009-02-051-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8908 c06c8d41-db1a-0410-9941-cceddc491573