Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement actor::can_see. | Robert Vollmert | 2009-11-06 | 6 | -16/+6 | |
| | | | | | This just relies on actor::visible_to and actor::see_cell. An arena special case was removed. | |||||
* | Add actor::set_position. | Robert Vollmert | 2009-11-06 | 13 | -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 Vollmert | 2009-11-06 | 4 | -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 Vollmert | 2009-11-06 | 2 | -2/+2 | |
| | ||||||
* | Don't trash player position in _siren_movement_effect. | Robert Vollmert | 2009-11-06 | 1 | -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 Vollmert | 2009-11-06 | 2 | -2/+2 | |
| | ||||||
* | Replace you.pos() with last_player_pos. | Robert Vollmert | 2009-11-06 | 1 | -1/+1 | |
| | | | | | Before, the code implicitly assumed that you.pos() hadn't already been updated. | |||||
* | Simplify and nerf Summon Small Mammals | Stefan O'Rear | 2009-11-06 | 2 | -28/+8 | |
| | ||||||
* | Properly mark Tukima as a 150 max power spell | Stefan O'Rear | 2009-11-06 | 1 | -1/+1 | |
| | ||||||
* | Clarify role of you.elapsed_time | Stefan O'Rear | 2009-11-06 | 1 | -0/+1 | |
| | ||||||
* | Fix target/caster aligned attitude check for Haste Other. | David Lawrence Ramsey | 2009-11-06 | 1 | -2/+2 | |
| | ||||||
* | Simplify. | David Lawrence Ramsey | 2009-11-06 | 2 | -7/+7 | |
| | ||||||
* | Remove mons_friendly_real and mons_wont_attack_real. | Vsevolod Kozlov | 2009-11-06 | 17 | -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() in | David Lawrence Ramsey | 2009-11-06 | 1 | -1/+0 | |
| | | | | _generate_weapon_item(). This appears to fix [2893001]. | |||||
* | Collect attitude changing code. | Robert Vollmert | 2009-11-06 | 14 | -975/+1018 | |
| | ||||||
* | Un-hyphenate ogre-mage, for consistency with other mage types. | David Lawrence Ramsey | 2009-11-06 | 9 | -12/+12 | |
| | ||||||
* | Move get_show_symbol to showsymb.cc. | Robert Vollmert | 2009-11-06 | 5 | -17/+16 | |
| | ||||||
* | Simplify. | Robert Vollmert | 2009-11-06 | 1 | -14/+14 | |
| | ||||||
* | Remove redundant level_type check. | Robert Vollmert | 2009-11-06 | 1 | -3/+0 | |
| | ||||||
* | Rename is_valid_item to item_def::is_valid. | Vsevolod Kozlov | 2009-11-06 | 44 | -174/+174 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Full set of (monster) summon elemental spells (Mu). | Jude Brown | 2009-11-06 | 4 | -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 Keskitalo | 2009-11-06 | 2 | -3/+3 | |
| | | | | Signed-off-by: Eino Keskitalo <evktalo@users.sourceforge.net> | |||||
* | Add missing showsymb.cc and showsymb.h. | Robert Vollmert | 2009-11-06 | 2 | -0/+287 | |
| | | | | Also split out feature colouring into separate function. | |||||
* | Split get_symbol from view.cc. | Robert Vollmert | 2009-11-06 | 14 | -253/+18 | |
| | ||||||
* | Move dchar_by_name declaration to proper header. | Robert Vollmert | 2009-11-06 | 2 | -2/+2 | |
| | ||||||
* | Explanatory comment. | Robert Vollmert | 2009-11-06 | 1 | -0/+7 | |
| | ||||||
* | Get rid of _get_viewobj_flags. | Robert Vollmert | 2009-11-06 | 1 | -20/+2 | |
| | ||||||
* | Make monster name flags available to vaults | Matthew Cline | 2009-11-06 | 2 | -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 fixups | Matthew Cline | 2009-11-06 | 2 | -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 Kozlov | 2009-11-06 | 2 | -4/+4 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Add actor::petrified, which replaces mons_is_petrified. | Vsevolod Kozlov | 2009-11-06 | 16 | -25/+32 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Reduce Tukima power requirement | Stefan O'Rear | 2009-11-06 | 1 | -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 summons | Matthew Cline | 2009-11-06 | 1 | -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 Ramsey | 2009-11-06 | 1 | -1/+9 | |
| | ||||||
* | monspell.txt: Fire Breath and Cold Breath msgs | Matthew Cline | 2009-11-05 | 1 | -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 specs | Matthew Cline | 2009-11-05 | 4 | -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 end | Matthew Cline | 2009-11-05 | 1 | -53/+53 | |
| | ||||||
* | Make timestamp in crash dumps readable. | Robert Vollmert | 2009-11-06 | 2 | -4/+5 | |
| | ||||||
* | Extract morgue file time formatting into make_file_time. | Robert Vollmert | 2009-11-06 | 3 | -13/+23 | |
| | ||||||
* | Increase the value of MST_TEST_SPAWNER to not conflict with | David Lawrence Ramsey | 2009-11-06 | 1 | -2/+2 | |
| | | | | MST_DISSOLUTION. | |||||
* | Give Dissolution "Summon Eyeballs" spell (dpeg). | Jude Brown | 2009-11-06 | 4 | -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 Ramsey | 2009-11-06 | 1 | -9/+9 | |
| | ||||||
* | Simplify. | David Lawrence Ramsey | 2009-11-06 | 1 | -5/+4 | |
| | ||||||
* | Give Dowan haste other. | Charles Otto | 2009-11-06 | 1 | -2/+2 | |
| | ||||||
* | Add haste other as a monster spell | Charles Otto | 2009-11-06 | 6 | -3/+111 | |
| | ||||||
* | Tweak hell knights' resistances so that they resist hellfire, and mark | David Lawrence Ramsey | 2009-11-05 | 2 | -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 orc | David Lawrence Ramsey | 2009-11-05 | 1 | -1/+1 | |
| | | | | high priests resist it too. | |||||
* | Rename the hellion spell list from MST_BURNING_DEVIL to MST_HELLION. | David Lawrence Ramsey | 2009-11-05 | 3 | -4/+3 | |
| | ||||||
* | Remove the rest of the M_EVIL references. | David Lawrence Ramsey | 2009-11-05 | 3 | -14/+9 | |
| | ||||||
* | Remove the M_EVIL flag from orc wizards. | David Lawrence Ramsey | 2009-11-05 | 2 | -1/+6 | |
| | | | | | Also, properly anger monsters that start off non-evil, but level up into evil monsters. |