Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove extra hunger from rings of regeration when you're at full hp. | Adam Borowski | 2009-11-07 | 1 | -3/+4 | |
| | | | | Increase the hunger when the rings work to compensate. | |||||
* | Replace mons_neutral with monsters::neutral. | Vsevolod Kozlov | 2009-11-07 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Replace player_weapon with player::weapon. | Vsevolod Kozlov | 2009-11-07 | 1 | -6/+0 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Replace player_shield with player::shield. | Vsevolod Kozlov | 2009-11-07 | 1 | -6/+1 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Remove unused player_slot_item. | Vsevolod Kozlov | 2009-11-07 | 1 | -7/+2 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Make player use actor LOS instead of env.show_los. | Robert Vollmert | 2009-11-07 | 1 | -6/+0 | |
| | ||||||
* | Consolidate player/monster sleep checks. | David Lawrence Ramsey | 2009-11-06 | 1 | -8/+25 | |
| | ||||||
* | Replace global see_cell by observe_cell and disambiguate old uses. | Robert Vollmert | 2009-11-06 | 1 | -2/+3 | |
| | | | | | | | 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 | -10/+15 | |
| | ||||||
* | Move mons_is_friendly to monsters::friendly. | Vsevolod Kozlov | 2009-11-06 | 1 | -1/+1 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Implement actor::can_see. | Robert Vollmert | 2009-11-06 | 1 | -8/+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 | -4/+4 | |
| | | | | | | | | | | | | 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). | |||||
* | Rename is_valid_item to item_def::is_valid. | Vsevolod Kozlov | 2009-11-06 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Convert calls you.duration to relevant player:: check. | Vsevolod Kozlov | 2009-11-06 | 1 | -3/+3 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Add actor::petrified, which replaces mons_is_petrified. | Vsevolod Kozlov | 2009-11-06 | 1 | -1/+6 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Simplify player::res_holy_energy() a bit. | David Lawrence Ramsey | 2009-11-05 | 1 | -2/+2 | |
| | ||||||
* | Reorder a few functions. | David Lawrence Ramsey | 2009-11-05 | 1 | -7/+7 | |
| | ||||||
* | In is_chaotic(), mark player followers/monster priests of chaotic gods. | David Lawrence Ramsey | 2009-11-05 | 1 | -0/+3 | |
| | ||||||
* | In is_evil(), mark player followers and monster priests of evil gods. | David Lawrence Ramsey | 2009-11-05 | 1 | -1/+7 | |
| | ||||||
* | Unify mesmerisation code. | Robert Vollmert | 2009-11-05 | 1 | -123/+2 | |
| | | | | | | | | 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. | |||||
* | Create an is_evil() function in the actor interface. | David Lawrence Ramsey | 2009-11-05 | 1 | -0/+5 | |
| | | | | Currently, only unholy monsters are marked as evil this way. | |||||
* | 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 | 1 | -4/+4 | |
| | | | | | | | 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(). | |||||
* | Replace uses of player_in_water with you.in_water. | Vsevolod Kozlov | 2009-11-05 | 1 | -10/+5 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Replace uses of player_is_swimming with you.swimming. | Vsevolod Kozlov | 2009-11-05 | 1 | -9/+4 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Replace uses of player_is_airborne with you.airborne. | Vsevolod Kozlov | 2009-11-05 | 1 | -11/+6 | |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | |||||
* | Move rot_player() to player::rot() (Zaba) | Adam Borowski | 2009-11-05 | 1 | -30/+20 | |
| | ||||||
* | Merge monsters,player::check_res_magic() (Zaba) | Adam Borowski | 2009-11-05 | 1 | -22/+0 | |
| | ||||||
* | Put lots of actor:: methods where they belong (Zaba) | Adam Borowski | 2009-11-05 | 1 | -70/+0 | |
| | ||||||
* | Another couple of yous busted (Zaba) | Adam Borowski | 2009-11-05 | 1 | -2/+2 | |
| | ||||||
* | 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 | 1 | -40/+25 | |
| | | | | 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 | 1 | -14/+0 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Move *_res(ist)_magic to relevant classes, provide actor interface. | Vsevolod Kozlov | 2009-11-05 | 1 | -86/+86 | |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | |||||
* | Split up view.cc. | Robert Vollmert | 2009-11-04 | 1 | -0/+2 | |
| | ||||||
* | Disintegration can be very messy. | Stefan O'Rear | 2009-11-04 | 1 | -0/+6 | |
| | ||||||
* | Split game_options from externs.h into options.h. | Robert Vollmert | 2009-11-04 | 1 | -0/+1 | |
| | ||||||
* | Support for X map multi-level viewing on tiles. | Enne Walker | 2009-11-03 | 1 | -0/+2 | |
| | | | | | Fixes seeing in-LOS squares on incorrect levels. Fixes the minimap not updating. Fixes the player dot appearing on the minimap on wrong levels. | |||||
* | Fix inverted logic wrt curare and res_aphyx. | Adam Borowski | 2009-11-03 | 1 | -1/+1 | |
| | ||||||
* | Bracers of archery: 5,3 slaying for ranged combat, -1,-1 for melee. | Adam Borowski | 2009-11-03 | 1 | -1/+5 | |
| | ||||||
* | Remove +Tele as a randart property | Stefan O'Rear | 2009-11-03 | 1 | -2/+0 | |
| | ||||||
* | Until the issue of transformations' being chaotic or not is worked out, | David Lawrence Ramsey | 2009-11-02 | 1 | -1/+1 | |
| | | | | | | | don't mark any players as chaotic. (Recommit of the one part of d50bd43ba9936c27f4f90ecd324d14cb52c9f381 that isn't in the branch.) | |||||
* | Revert "Merge a few bits of Eino's chaotic_experiment branch that make sense" | David Lawrence Ramsey | 2009-11-02 | 1 | -1/+1 | |
| | | | | This reverts commit d50bd43ba9936c27f4f90ecd324d14cb52c9f381. | |||||
* | Merge a few bits of Eino's chaotic_experiment branch that make sense | David Lawrence Ramsey | 2009-11-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | with the current code: 1. Death oozes eating silver and holy wrath items take damage instead of gaining hp. 2. Mark monsters with Summon Ugly Thing chaotic. Also, until the issue of transformations' being chaotic or not is worked out, don't mark any players as chaotic. | |||||
* | Ziggurats can now be added to the shopping list. | Matthew Cline | 2009-11-02 | 1 | -1/+2 | |
| | ||||||
* | Implement 'Icemail' mutation for new DS | Stefan O'Rear | 2009-11-02 | 1 | -0/+5 | |
| | ||||||
* | Move checks for a player or monster's being chaotic into another | David Lawrence Ramsey | 2009-11-01 | 1 | -1/+6 | |
| | | | | convenience function in the actor interface. | |||||
* | Merge mons_holiness() into monster::holiness(), and add an is_unholy() | David Lawrence Ramsey | 2009-10-31 | 1 | -5/+5 | |
| | | | | convenience function. | |||||
* | Combine mons_is_submerged(monsters *m) into monsters::submerged() | abrahamwl | 2009-10-31 | 1 | -3/+3 | |
| | | | | | | ...and replace all references to mons_is_submerged() with submerged(). It's a dirty job, but someone's got to do it. (Thank God for regex!) | |||||
* | Splitting up stuff.cc. | Robert Vollmert | 2009-10-30 | 1 | -0/+3 | |
| | | | | New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc. |