Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove level_type checks from set_level_type_* Lua wrapers. | Jude Brown | 2009-11-06 | 1 | -19/+0 | |
| | | | | | | | These checks are used to ensure the functions are only called from Portal vaults. However, they cause errors in the initial Lua map validation, regardless of whether or not the functions are actually being used in a Portal vault. | |||||
* | Change "hell-hog" to "hell hog". | Jude Brown | 2009-11-06 | 1 | -2/+2 | |
| | ||||||
* | Un-hyphenate "hell-hog", for consistency with other hell beings. | David Lawrence Ramsey | 2009-11-05 | 2 | -3/+3 | |
| | ||||||
* | Remove the M_EVIL flag from necromancers, as all of the spellbooks they | David Lawrence Ramsey | 2009-11-05 | 1 | -1/+1 | |
| | | | | can randomly get contain evil spells. | |||||
* | Since all unholy monsters are considered evil, remove | David Lawrence Ramsey | 2009-11-05 | 5 | -15/+8 | |
| | | | | mons_is_evil_or_unholy(), and replace it with monsters::is_evil(). | |||||
* | Simplify player::res_holy_energy() a bit. | David Lawrence Ramsey | 2009-11-05 | 1 | -2/+2 | |
| | ||||||
* | Remove unneeded comment. | David Lawrence Ramsey | 2009-11-05 | 1 | -1/+0 | |
| | ||||||
* | In is_evil(), mark monsters with evil attack flavors. | David Lawrence Ramsey | 2009-11-05 | 2 | -1/+7 | |
| | ||||||
* | Reorder a few functions. | David Lawrence Ramsey | 2009-11-05 | 5 | -17/+17 | |
| | ||||||
* | 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. | |||||
* | 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 | 5 | -587/+575 | |
| | | | | | In mon-data.h, remove the M_FLIES and M_LEVITATE flags, and instead use a flight_type variable indicating flight status. | |||||
* | Fix the DOS port. | Adam Borowski | 2009-11-06 | 4 | -0/+8 | |
| | ||||||
* | Standard <cmath> has no round(). | Adam Borowski | 2009-11-06 | 1 | -2/+2 | |
| | ||||||
* | 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 | 2 | -11/+11 | |
| | ||||||
* | In is_evil(), mark monsters with explicitly evil spells. | David Lawrence Ramsey | 2009-11-05 | 3 | -37/+48 | |
| | | | | Unify checks for monsters with chaotic spells, and do the same for them. | |||||
* | Restore genus check in beholder update. | Robert Vollmert | 2009-11-05 | 1 | -1/+2 | |
| | ||||||
* | Fix arena assert. | Robert Vollmert | 2009-11-05 | 1 | -0/+8 | |
| | ||||||
* | Fix map boundary not being drawn. | Robert Vollmert | 2009-11-05 | 1 | -12/+4 | |
| | ||||||
* | Properly mark Porkalator as a chaotic spell. | David Lawrence Ramsey | 2009-11-05 | 1 | -1/+2 | |
| | ||||||
* | In is_chaotic(), mark player followers/monster priests of chaotic gods. | David Lawrence Ramsey | 2009-11-05 | 2 | -1/+8 | |
| | ||||||
* | In is_evil(), mark player followers and monster priests of evil gods. | David Lawrence Ramsey | 2009-11-05 | 4 | -11/+24 | |
| | ||||||
* | Unify mesmerisation code. | Robert Vollmert | 2009-11-05 | 19 | -308/+248 | |
| | | | | | | | | There were several places that had copies of the same code, checking whether mesmerisation blocked movement to a given target. The various mesmerisation functions have become methods of player and were moved into behold.cc. | |||||
* | Mark golden eyes as glowing, since it seems to fit their description. | David Lawrence Ramsey | 2009-11-05 | 1 | -1/+1 | |
| | ||||||
* | Create an is_evil() function in the actor interface. | David Lawrence Ramsey | 2009-11-05 | 10 | -121/+121 | |
| | | | | Currently, only unholy monsters are marked as evil this way. | |||||
* | Replace mons_is_caught with monsters::caught. | Vsevolod Kozlov | 2009-11-05 | 15 | -30/+24 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Replace mons_is_paralysed with monsters::paralysed. | Vsevolod Kozlov | 2009-11-05 | 12 | -19/+13 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Use this instead of you in player::rot. | Vsevolod Kozlov | 2009-11-05 | 1 | -4/+4 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Make many checks for monster (non)existence on squares use monster_at(). | David Lawrence Ramsey | 2009-11-05 | 21 | -71/+67 | |
| | | | | | | | Not all are changed yet, as there are several index checks still needed for debugging purposes. Also, make many checks for player/monster (non)existence use actor_at(). | |||||
* | Fix compilation. | David Lawrence Ramsey | 2009-11-05 | 1 | -0/+1 | |
| | ||||||
* | Simplify setting kraken colors when placing one in wizard mode. | David Lawrence Ramsey | 2009-11-05 | 1 | -4/+1 | |
| | ||||||
* | Fix apparent typo in swap_features(). | David Lawrence Ramsey | 2009-11-05 | 1 | -1/+1 | |
| | ||||||
* | Replace uses of player_in_water with you.in_water. | Vsevolod Kozlov | 2009-11-05 | 5 | -15/+8 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Replace uses of player_is_swimming with you.swimming. | Vsevolod Kozlov | 2009-11-05 | 9 | -21/+15 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Clean up random coordinate usage a bit. | David Lawrence Ramsey | 2009-11-05 | 3 | -28/+14 | |
| | | | | | | | | Specifically, use random_in_bounds() in a few places instead of random ranges involving X_BOUND and Y_BOUND values. The former won't return any coordinates in the dungeon's map border (which acts as a wall), but the latter will, and all the changed places are looking for empty dungeon squares, so this should make these operations more efficient. | |||||
* | Replace uses of player_is_airborne with you.airborne. | Vsevolod Kozlov | 2009-11-05 | 12 | -33/+27 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | A variety of changes to make the reflection code more robust. | Robert Vollmert | 2009-11-05 | 1 | -20/+76 | |
| | | | | | In particular, round things to grid or corner when they're regarded as on the grid or corner, and normalize direction vectors. | |||||
* | Move rot_player() to player::rot() (Zaba) | Adam Borowski | 2009-11-05 | 4 | -35/+23 | |
| | ||||||
* | Merge monsters,player::check_res_magic() (Zaba) | Adam Borowski | 2009-11-05 | 6 | -60/+37 | |
| | ||||||
* | Put lots of actor:: methods where they belong (Zaba) | Adam Borowski | 2009-11-05 | 2 | -70/+64 | |
| | ||||||
* | Another couple of yous busted (Zaba) | Adam Borowski | 2009-11-05 | 1 | -2/+2 | |
| | ||||||
* | Let clubs (small ordinary ones only) stun back-coshed targets for 1-3 turns. | Adam Borowski | 2009-11-05 | 1 | -0/+13 | |
| | ||||||
* | Give middling backstab bonus to ordinary clubs and spears. | Adam Borowski | 2009-11-05 | 2 | -0/+9 | |
| | | | | Also, mention that daggers do awesome stab damage. | |||||
* | Give OgEn, OgTh, OgAs, OgSt clubs instead of short swords. | Adam Borowski | 2009-11-05 | 1 | -5/+14 | |
| | | | | | Same with trolls of these professions. Both races have abysmal aptitudes with short blades but are good with M&F. | |||||
* | Convert all instances of "you" to "this" in player member functions. | Vsevolod Kozlov | 2009-11-05 | 1 | -54/+54 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Move player_res_asphyx/rotting to player::res_asphyx/rotting. | Vsevolod Kozlov | 2009-11-05 | 5 | -48/+30 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Combine player_knows_spell, player_has_spell into player::has_spell. | Vsevolod Kozlov | 2009-11-05 | 9 | -40/+22 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | New monster spell: Summon Eyeballs. | Jude Brown | 2009-11-05 | 5 | -4/+45 | |
| | | | | | | | | | | Summons from a (weighted) selection of: giant eyeballs, eyes of draining, golden eyes, shining eyes, great orbs of eyes, and eyes of devastation. Does not summon giant orange brains, as those aren't really eyeballs. Currently programmed only as a monster spell, and the only monsters who can get it are Pan Lords. | |||||
* | Move *_res(ist)_magic to relevant classes, provide actor interface. | Vsevolod Kozlov | 2009-11-05 | 15 | -197/+190 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> |