summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement actor::can_see.Robert Vollmert2009-11-066-16/+6
| | | | | This just relies on actor::visible_to and actor::see_cell. An arena special case was removed.
* Add actor::set_position.Robert Vollmert2009-11-0613-26/+32
| | | | | | | | | | | | This should be used instead of setting position directly. actor::position could be made "protected" except for the arena's unwind_var(you.position), which is too difficult for me to fix. The reason behind this change is that actors should get their own LOS, whose origin should be synchronized with the actor's position. This change also removes the non-const "coord_def& actor::pos()" (yuk).
* Make some passed references const.Robert Vollmert2009-11-064-17/+18
| | | | | | A couple of the Feawn functions were passed read-only arguments (coordinate center, etc.) as non-const references, which leaked out to require you.pos() to be non-const.
* Convert a few read-only uses of actor::position to actor::pos().Robert Vollmert2009-11-062-2/+2
|
* Don't trash player position in _siren_movement_effect.Robert Vollmert2009-11-061-1/+2
| | | | | | | | swap_check's second argument is the monster's possible swap destination, not the position you want to swap from. _siren_movement_effect is likely still broken, since it doesn't take this desired swap target into account.
* Make "int rain()" take a const coord_def&.Robert Vollmert2009-11-062-2/+2
|
* Replace you.pos() with last_player_pos.Robert Vollmert2009-11-061-1/+1
| | | | | Before, the code implicitly assumed that you.pos() hadn't already been updated.
* Simplify and nerf Summon Small MammalsStefan O'Rear2009-11-062-28/+8
|
* Properly mark Tukima as a 150 max power spellStefan O'Rear2009-11-061-1/+1
|
* Clarify role of you.elapsed_timeStefan O'Rear2009-11-061-0/+1
|
* Fix target/caster aligned attitude check for Haste Other.David Lawrence Ramsey2009-11-061-2/+2
|
* Simplify.David Lawrence Ramsey2009-11-062-7/+7
|
* Remove mons_friendly_real and mons_wont_attack_real.Vsevolod Kozlov2009-11-0617-43/+31
| | | | | | They were the same as non-_real functions. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Remove erroneous second call to _determine_weapon_subtype() inDavid Lawrence Ramsey2009-11-061-1/+0
| | | | _generate_weapon_item(). This appears to fix [2893001].
* Collect attitude changing code.Robert Vollmert2009-11-0614-975/+1018
|
* Un-hyphenate ogre-mage, for consistency with other mage types.David Lawrence Ramsey2009-11-069-12/+12
|
* Move get_show_symbol to showsymb.cc.Robert Vollmert2009-11-065-17/+16
|
* Simplify.Robert Vollmert2009-11-061-14/+14
|
* Remove redundant level_type check.Robert Vollmert2009-11-061-3/+0
|
* Rename is_valid_item to item_def::is_valid.Vsevolod Kozlov2009-11-0644-174/+174
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Full set of (monster) summon elemental spells (Mu).Jude Brown2009-11-064-3/+66
| | | | | It's somewhat hackish; the monster summon system could do with a bit of an overhaul, but that should wait until after the summoning nerf.
* Hell-hog -> hell hog changes in docs and settings.Eino Keskitalo2009-11-062-3/+3
| | | | Signed-off-by: Eino Keskitalo <evktalo@users.sourceforge.net>
* Add missing showsymb.cc and showsymb.h.Robert Vollmert2009-11-062-0/+287
| | | | Also split out feature colouring into separate function.
* Split get_symbol from view.cc.Robert Vollmert2009-11-0614-253/+18
|
* Move dchar_by_name declaration to proper header.Robert Vollmert2009-11-062-2/+2
|
* Explanatory comment.Robert Vollmert2009-11-061-0/+7
|
* Get rid of _get_viewobj_flags.Robert Vollmert2009-11-061-20/+2
|
* Make monster name flags available to vaultsMatthew Cline2009-11-062-0/+27
| | | | | | The monster name modifier flags MF_NAME_SUFFIX, MF_NAME_ADJECTIVE, and MF_NAME_REPLACE can be used by monster specs via the spec tags name_suffix, name_adjective and name_replace.
* Monster name flags fixupsMatthew Cline2009-11-062-2/+21
| | | | | | | Rename MF_NAME_NO_THE to MF_NAME_ADJECTIVE, since that's what it does. Make description_level_type apply properly to monsters with MF_NAME_FOO flags set.
* Convert calls you.duration to relevant player:: check.Vsevolod Kozlov2009-11-062-4/+4
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Add actor::petrified, which replaces mons_is_petrified.Vsevolod Kozlov2009-11-0616-25/+32
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Reduce Tukima power requirementStefan O'Rear2009-11-061-8/+8
| | | | | | | On testing, power levels near 200 are actually impossible to achieve under realistic circumstances (a robe of the archmagi, max skills, and 72 int gets you 199 power). So reduce the max power to 150, and rescale appropriately.
* arena.cc: different msgs for respawns and summonsMatthew Cline2009-11-061-2/+12
| | | | | Say "A monster respawns!" or "A monster is summoned!" instead of "A monster enters the arena!" for respawns and (non-real) summons.
* Ensure that, if Jiyva is dead, no Jiyva altars can be placed in vaults.David Lawrence Ramsey2009-11-061-1/+9
|
* monspell.txt: Fire Breath and Cold Breath msgsMatthew Cline2009-11-051-0/+16
| | | | | Messages for Fire Breath and Cold Breath monster spells, in case they're used by non-dragon monster via "spells:" in monster specs.
* Error for non-monster spells in monster specsMatthew Cline2009-11-054-2/+54
| | | | | | Give an error when parsing a monster spec if it lists a spell a monster can't cast, rather than causing an assertion when the monster tries to cast it.
* spl-data.h: Move all monster-only spells to endMatthew Cline2009-11-051-53/+53
|
* Make timestamp in crash dumps readable.Robert Vollmert2009-11-062-4/+5
|
* Extract morgue file time formatting into make_file_time.Robert Vollmert2009-11-063-13/+23
|
* Increase the value of MST_TEST_SPAWNER to not conflict withDavid Lawrence Ramsey2009-11-061-2/+2
| | | | MST_DISSOLUTION.
* Give Dissolution "Summon Eyeballs" spell (dpeg).Jude Brown2009-11-064-2/+20
| | | | | Though do not actually give him the actual_spells flag. Instead, treat the slimes as gifts from Jiyva. Flavour messages could use a tweak.
* Move up the natural holiness/hellfire resistance check in is_evil().David Lawrence Ramsey2009-11-061-9/+9
|
* Simplify.David Lawrence Ramsey2009-11-061-5/+4
|
* Give Dowan haste other.Charles Otto2009-11-061-2/+2
|
* Add haste other as a monster spellCharles Otto2009-11-066-3/+111
|
* Tweak hell knights' resistances so that they resist hellfire, and markDavid Lawrence Ramsey2009-11-052-1/+10
| | | | | | | | | | natural monsters with hellfire resistance as evil (since they likely got it through evil pacts or the like, as opposed to things like fire elementals, which are just made of fire). This ensures that all hell knights are evil, even if they get the spellbook with only Bolt of Fire and Blink, without marking Harold as evil for getting that same spellbook.
* Make deep elf high priests resist hellfire, as they cast it, and orcDavid Lawrence Ramsey2009-11-051-1/+1
| | | | high priests resist it too.
* Rename the hellion spell list from MST_BURNING_DEVIL to MST_HELLION.David Lawrence Ramsey2009-11-053-4/+3
|
* Remove the rest of the M_EVIL references.David Lawrence Ramsey2009-11-053-14/+9
|
* Remove the M_EVIL flag from orc wizards.David Lawrence Ramsey2009-11-052-1/+6
| | | | | Also, properly anger monsters that start off non-evil, but level up into evil monsters.