Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Replace mons_is_magic_user() with monsters::is_magic_user(). | David Lawrence Ramsey | 2009-11-10 | 1 | -5/+0 | |
| | ||||||
* | Fix monsters with static spellbooks not getting any spells. | Adam Borowski | 2009-11-10 | 1 | -0/+2 | |
| | | | | Praise be to 'git bisect'! | |||||
* | Remove a few obsolete includes. | Robert Vollmert | 2009-11-10 | 1 | -2/+0 | |
| | | | | Also add a few previously indirect includes. | |||||
* | Remove inside_level_bounds. | Robert Vollmert | 2009-11-10 | 1 | -2/+1 | |
| | | | | | This was a weird mix of in_bounds and map_bounds (exclusive top-left, inclusive top-right). Replaced with in_bounds. | |||||
* | Split shouting and stealth code from view.cc. | Robert Vollmert | 2009-11-10 | 1 | -0/+1 | |
| | ||||||
* | Reorder entries in _get_spellbook_list(). | David Lawrence Ramsey | 2009-11-09 | 1 | -22/+22 | |
| | ||||||
* | And add sanity check. | David Lawrence Ramsey | 2009-11-09 | 1 | -5/+6 | |
| | ||||||
* | Simplify. | David Lawrence Ramsey | 2009-11-09 | 1 | -8/+2 | |
| | ||||||
* | Make _get_spellbook_list() return true if we got a list. | David Lawrence Ramsey | 2009-11-09 | 1 | -19/+16 | |
| | ||||||
* | Simplify check for magic-using monsters. | David Lawrence Ramsey | 2009-11-09 | 1 | -8/+2 | |
| | ||||||
* | Add an is_holy() function to the actor interface. | David Lawrence Ramsey | 2009-11-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | This is consistent with similar functions in that it checks not only for MH_HOLY holiness, but whether the monster is a priest of a good god (currently, there are none) and whether it uses holy spells (currently, there are none after the changes described below). Minor and Major Healing are now enchantments rather than holy spells. The beam code treats them as such; wands of healing aren't holy items the way e.g. wands of draining are evil items; and unholy monsters (among others, Lom Lobon!) can cast these spells. | |||||
* | Replace mons_is_pacified with monsters::pacified. | Vsevolod Kozlov | 2009-11-09 | 1 | -5/+0 | |
| | ||||||
* | Replace mons_wont_attack with monsters::wont_attack. | Vsevolod Kozlov | 2009-11-09 | 1 | -8/+3 | |
| | ||||||
* | Move random spellbook selection for monsters into its own function. | David Lawrence Ramsey | 2009-11-09 | 1 | -52/+93 | |
| | ||||||
* | When mutiplying/dividing by slime creatures' number, check if it's | David Lawrence Ramsey | 2009-11-08 | 1 | -3/+3 | |
| | | | | greayer than 1, to avoid redundant operations. | |||||
* | Add a few more sanity checks for slime creatures' number. | David Lawrence Ramsey | 2009-11-08 | 1 | -2/+2 | |
| | ||||||
* | Split map knowledge and FPROPs. | Robert Vollmert | 2009-11-08 | 1 | -1/+2 | |
| | | | | | | | | 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 | -6/+0 | |
| | ||||||
* | Replace mons_cannot_move with monsters::cannot_move. | Vsevolod Kozlov | 2009-11-08 | 1 | -5/+0 | |
| | ||||||
* | Replace mons_is_petrifying with monsters::petrifying. | Vsevolod Kozlov | 2009-11-08 | 1 | -7/+2 | |
| | ||||||
* | Give ogre mages haste other | Charles Otto | 2009-11-08 | 1 | -0/+5 | |
| | ||||||
* | Merge from chaotic_experiment branch: | Eino Keskitalo | 2009-11-07 | 1 | -5/+0 | |
| | | | | Replace mons_is_shapeshifter(const monsters *m) in mon-util.cc with is_shapeshifter() in monster.cc | |||||
* | New unique: Pikel, the big kobold slaver. | Jude Brown | 2009-11-08 | 1 | -0/+4 | |
| | | | | | | | | | | | | Appears from D:4 through D:9, and comes with a band of human slaves. They will turn neutral (and be pacified, granting 1/2 EXP) if you destroy Pikel before destroying them. Pikel generates with a whip (either flaming or pain), and a black robe. The "pikel_band_neutralise()" function is quite hacky and assumes that all MONS_HUMANS with MF_BAND_MEMBER are part of Pikel's band. This should be changed as soon as there is a better way of tracking who is in what band. | |||||
* | Remove mons_is_holy(), as it's redundant. | David Lawrence Ramsey | 2009-11-07 | 1 | -6/+1 | |
| | ||||||
* | Replace mons_is_summoned with monsters::is_summoned. | Vsevolod Kozlov | 2009-11-07 | 1 | -54/+2 | |
| | | | | Signed-off-by: Charles Otto <ottochar@gmail.com> | |||||
* | Replace uses of mons_is_icy with monsters::is_icy. | Vsevolod Kozlov | 2009-11-07 | 1 | -8/+0 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Replace mons_strict_neutral with monsters::strict_neutral. | Vsevolod Kozlov | 2009-11-07 | 1 | -7/+2 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Replace mons_good_neutral with monsters::good_neutral. | Vsevolod Kozlov | 2009-11-07 | 1 | -7/+2 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Replace mons_neutral with monsters::neutral. | Vsevolod Kozlov | 2009-11-07 | 1 | -8/+1 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Remove trailing whitespace. | David Lawrence Ramsey | 2009-11-06 | 1 | -1/+1 | |
| | ||||||
* | Replace global see_cell by observe_cell and disambiguate old uses. | Robert Vollmert | 2009-11-06 | 1 | -1/+1 | |
| | | | | | | | 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 mons_is_friendly to monsters::friendly. | Vsevolod Kozlov | 2009-11-06 | 1 | -12/+7 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Remove mons_friendly_real and mons_wont_attack_real. | Vsevolod Kozlov | 2009-11-06 | 1 | -11/+1 | |
| | | | | | | They were the same as non-_real functions. Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Add actor::petrified, which replaces mons_is_petrified. | Vsevolod Kozlov | 2009-11-06 | 1 | -6/+1 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Simplify. | David Lawrence Ramsey | 2009-11-06 | 1 | -5/+4 | |
| | ||||||
* | Add haste other as a monster spell | Charles Otto | 2009-11-06 | 1 | -0/+41 | |
| | ||||||
* | Since all unholy monsters are considered evil, remove | David Lawrence Ramsey | 2009-11-05 | 1 | -5/+0 | |
| | | | | mons_is_evil_or_unholy(), and replace it with monsters::is_evil(). | |||||
* | Mark (very) ugly things as having miscellaneous shapes. | David Lawrence Ramsey | 2009-11-05 | 1 | -2/+2 | |
| | ||||||
* | Clean up flight status checks for monsters. | David Lawrence Ramsey | 2009-11-05 | 1 | -87/+81 | |
| | | | | | In mon-data.h, remove the M_FLIES and M_LEVITATE flags, and instead use a flight_type variable indicating flight status. | |||||
* | Create an is_evil() function in the actor interface. | David Lawrence Ramsey | 2009-11-05 | 1 | -6/+1 | |
| | | | | Currently, only unholy monsters are marked as evil this way. | |||||
* | Replace mons_is_caught with monsters::caught. | Vsevolod Kozlov | 2009-11-05 | 1 | -5/+0 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Replace mons_is_paralysed with monsters::paralysed. | Vsevolod Kozlov | 2009-11-05 | 1 | -6/+1 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Move *_res(ist)_magic to relevant classes, provide actor interface. | Vsevolod Kozlov | 2009-11-05 | 1 | -76/+2 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | New monsters: golden eyes. | Jude Brown | 2009-11-05 | 1 | -1/+2 | |
| | | | | | | | Small, blinking, and fast, these eyes come in packs and are found natively in Slime (though somewhat rarely). Their confusion ability does check MR before passing, however, and can be completely avoided by having Clarity. | |||||
* | Allow each dancing weapon to have its own stats | Stefan O'Rear | 2009-11-04 | 1 | -0/+1 | |
| | ||||||
* | Split up view.cc. | Robert Vollmert | 2009-11-04 | 1 | -0/+1 | |
| | ||||||
* | Fix inconsistencies in checks for monsters' being slime creatures. | David Lawrence Ramsey | 2009-11-04 | 1 | -3/+3 | |
| | ||||||
* | Get rid of multiple-meaning "int object" in env.show. | Robert Vollmert | 2009-11-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | | env.show is now a class show_def that stores tagged unions of type show_type. For the moment, there's also env.show_los for use in LOS determination, but that should become an array of boolean at some point. This breaks save compatibility. Tiles and console version build and appear to work fine, but this kind of change is likely to have some side-effects. | |||||
* | Allow vaults to override monster spells with spells:<xyz> | Darshan Shaligram | 2009-11-04 | 1 | -11/+7 | |
| | | | | | | | | | | Vaults can now override monster spell sets, or give non-casting monsters spells, and mark monsters as wizard or priest types. The M_ACTUAL_SPELLS, M_SPELLCASTER and M_PRIEST monster class flags are converted into MF_* flags at monster creation/polymorph time, and only the per-monster flags are checked when determining wizard/priestliness. See caveats in level_design.txt. | |||||
* | Split game_options from externs.h into options.h. | Robert Vollmert | 2009-11-04 | 1 | -0/+1 | |
| |