Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Replace mons_is_pacified with monsters::pacified. | Vsevolod Kozlov | 2009-11-09 | 1 | -2/+7 | |
| | ||||||
* | Replace mons_wont_attack with monsters::wont_attack. | Vsevolod Kozlov | 2009-11-09 | 1 | -0/+5 | |
| | ||||||
* | Fix "Gastronok drinks a potion. Gastronok speeds up!". | Jude Brown | 2009-11-09 | 1 | -2/+3 | |
| | | | | | Forgot to include Gastronok in the list of monsters who do not drink potions. | |||||
* | Add hooks to evasion for observing the size of modifiers | Stefan O'Rear | 2009-11-08 | 1 | -1/+5 | |
| | ||||||
* | Make monsters::body_size() take merged slime creatures into account. | David Lawrence Ramsey | 2009-11-08 | 1 | -1/+16 | |
| | ||||||
* | When mutiplying/dividing by slime creatures' number, check if it's | David Lawrence Ramsey | 2009-11-08 | 1 | -1/+1 | |
| | | | | greayer than 1, to avoid redundant operations. | |||||
* | Make monsters::body_weight() take merged slime creatures into account. | David Lawrence Ramsey | 2009-11-08 | 1 | -0/+4 | |
| | ||||||
* | Split map knowledge and FPROPs. | Robert Vollmert | 2009-11-08 | 1 | -1/+1 | |
| | | | | | | | | map_cell no longer has the field "properties", which has been replaced by the unsigned long array env.pgrid. env.map has been renamed to env.map_knowledge. It should really be moved into player. | |||||
* | Replace mons_cannot_act with monsters::cannot_act. | Vsevolod Kozlov | 2009-11-08 | 1 | -3/+3 | |
| | ||||||
* | Replace mons_cannot_move with monsters::cannot_move. | Vsevolod Kozlov | 2009-11-08 | 1 | -1/+1 | |
| | ||||||
* | Replace mons_is_petrifying with monsters::petrifying. | Vsevolod Kozlov | 2009-11-08 | 1 | -0/+5 | |
| | ||||||
* | Enable proper monster LOS. | Robert Vollmert | 2009-11-08 | 1 | -10/+0 | |
| | | | | | | | monsters::see_cell replaced by actor::see_cell. monsters::update_los called once per turn in handle_monsters -- this might not suffice. There's still monsters::mon_see_cell etc. waiting to be converted. | |||||
* | Add a general halo interface to actor. | Robert Vollmert | 2009-11-08 | 1 | -5/+0 | |
| | | | | | Also convert the TSO halo to use this. actor::haloed() is still specific to the player TSO halo. | |||||
* | Merge from chaotic_experiment branch: | Eino Keskitalo | 2009-11-07 | 1 | -2/+7 | |
| | | | | Replace mons_is_shapeshifter(const monsters *m) in mon-util.cc with is_shapeshifter() in monster.cc | |||||
* | Remove mons_is_holy(), as it's redundant. | David Lawrence Ramsey | 2009-11-07 | 1 | -9/+6 | |
| | ||||||
* | Remove player.h dependency from coordit.h. | Robert Vollmert | 2009-11-08 | 1 | -2/+2 | |
| | | | | | | | | | adjacent_iterator had a default center of you.pos(), which is now gone (also the uses of). I was running into circular header dependencies with actor.h including los_def.h including coordit.h including player.h including actor.h. | |||||
* | Replace mons_is_summoned with monsters::is_summoned. | Vsevolod Kozlov | 2009-11-07 | 1 | -2/+49 | |
| | | | | Signed-off-by: Charles Otto <ottochar@gmail.com> | |||||
* | Replace uses of mons_is_icy with monsters::is_icy. | Vsevolod Kozlov | 2009-11-07 | 1 | -1/+9 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Replace mons_strict_neutral with monsters::strict_neutral. | Vsevolod Kozlov | 2009-11-07 | 1 | -0/+5 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Replace mons_good_neutral with monsters::good_neutral. | Vsevolod Kozlov | 2009-11-07 | 1 | -0/+5 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Replace mons_neutral with monsters::neutral. | Vsevolod Kozlov | 2009-11-07 | 1 | -1/+8 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Change a bunch of you.can_see(mon) to mon->observable. | Robert Vollmert | 2009-11-07 | 1 | -2/+2 | |
| | | | | | Without player LOS, this was causing messaging errors in the arena. | |||||
* | Simplify rain and sunlight a bit | Charles Otto | 2009-11-06 | 1 | -0/+11 | |
| | | | | | | | Use dungeon_terrain_changed in rain and sunlight, inflict and remove ENCH_AQUATIC_LAND solely in monsters::apply_location_effects. Make sunlight alert monsters it affects. | |||||
* | Remove the relation between royal jelly spawns and attack sizes | Stefan O'Rear | 2009-11-06 | 1 | -4/+8 | |
| | | | | It was too scummable, especially with Sticky Flames. | |||||
* | Simplify. | David Lawrence Ramsey | 2009-11-06 | 1 | -6/+5 | |
| | ||||||
* | New unique: Aizul, disgraced guardian naga turned naga warrior. | Jude Brown | 2009-11-07 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | Casts Venom Bolt, Blink Other, Ensorcelled Hibernation, Slow and heals himself. Comes with a ruby-red naga barding, a shield, and a chance of a very nice weapon. Can appear on Snake:4 and Snake:5, and also on similar dungeon levels to Margery and co. Backstory: the guardian of a horde of treasure who fell asleep on the job. Thieves raided the place, and he was disgraced and kicked out. Turned to the role of a warrior, seeking redemption through battle. Currently, there's something weird with the debug build at 'xv' for monster description not displaying the right information all the time. | |||||
* | Consolidate player/monster sleep checks. | David Lawrence Ramsey | 2009-11-06 | 1 | -2/+27 | |
| | ||||||
* | Replace global see_cell by observe_cell and disambiguate old uses. | Robert Vollmert | 2009-11-06 | 1 | -5/+5 | |
| | | | | | | | 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 checks for the berserk state into actor::berserk(). | David Lawrence Ramsey | 2009-11-06 | 1 | -8/+13 | |
| | ||||||
* | Move mons_is_friendly to monsters::friendly. | Vsevolod Kozlov | 2009-11-06 | 1 | -13/+18 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Implement actor::can_see. | Robert Vollmert | 2009-11-06 | 1 | -5/+0 | |
| | | | | | 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 | 1 | -2/+2 | |
| | | | | | | | | | | | | 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). | |||||
* | Remove mons_friendly_real and mons_wont_attack_real. | Vsevolod Kozlov | 2009-11-06 | 1 | -2/+2 | |
| | | | | | | They were the same as non-_real functions. Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Rename is_valid_item to item_def::is_valid. | Vsevolod Kozlov | 2009-11-06 | 1 | -2/+2 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Monster name flags fixups | Matthew Cline | 2009-11-06 | 1 | -1/+20 | |
| | | | | | | | 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. | |||||
* | Add actor::petrified, which replaces mons_is_petrified. | Vsevolod Kozlov | 2009-11-06 | 1 | -1/+6 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Move up the natural holiness/hellfire resistance check in is_evil(). | David Lawrence Ramsey | 2009-11-06 | 1 | -9/+9 | |
| | ||||||
* | Tweak hell knights' resistances so that they resist hellfire, and mark | David Lawrence Ramsey | 2009-11-05 | 1 | -0/+9 | |
| | | | | | | | | | | 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. | |||||
* | Remove the rest of the M_EVIL references. | David Lawrence Ramsey | 2009-11-05 | 1 | -3/+0 | |
| | ||||||
* | In is_evil(), mark monsters with evil attack flavors. | David Lawrence Ramsey | 2009-11-05 | 1 | -0/+6 | |
| | ||||||
* | Reorder a few functions. | David Lawrence Ramsey | 2009-11-05 | 1 | -7/+7 | |
| | ||||||
* | Make AF_HUNGER, AF_STEAL, and AF_STEAL_FOOD chaotic attack flavors. | David Lawrence Ramsey | 2009-11-05 | 1 | -2/+5 | |
| | | | | | | Zin, as a lawful god, dislikes hunger-causing artefacts, so he would dislike hunger-causing effects as well. Also, he would probably frown on stealing in general. | |||||
* | Revert erroneously committed bit. | David Lawrence Ramsey | 2009-11-05 | 1 | -1/+1 | |
| | ||||||
* | Name the checks for monsters with evil or chaotic spells consistently. | David Lawrence Ramsey | 2009-11-05 | 1 | -9/+9 | |
| | ||||||
* | In is_evil(), mark monsters with explicitly evil spells. | David Lawrence Ramsey | 2009-11-05 | 1 | -5/+22 | |
| | | | | Unify checks for monsters with chaotic spells, and do the same for them. | |||||
* | In is_chaotic(), mark player followers/monster priests of chaotic gods. | David Lawrence Ramsey | 2009-11-05 | 1 | -1/+5 | |
| | ||||||
* | In is_evil(), mark player followers and monster priests of evil gods. | David Lawrence Ramsey | 2009-11-05 | 1 | -1/+11 | |
| | ||||||
* | Create an is_evil() function in the actor interface. | David Lawrence Ramsey | 2009-11-05 | 1 | -1/+6 | |
| | | | | Currently, only unholy monsters are marked as evil this way. | |||||
* | Replace mons_is_caught with monsters::caught. | Vsevolod Kozlov | 2009-11-05 | 1 | -2/+2 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Replace mons_is_paralysed with monsters::paralysed. | Vsevolod Kozlov | 2009-11-05 | 1 | -1/+1 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> |