Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Forms never lower weight cap | Stefan O'Rear | 2009-12-27 | 1 | -2/+2 |
| | | | | I'm just building the bikeshed - somebody else needs to paint this stupid thing. | ||||
* | Replace long debug message calls with dprf(), except for cases where a dumb ↵ | Adam Borowski | 2009-12-20 | 1 | -4/+1 |
| | | | | | | compiler could call unnecessary functions. For paranoia, I left even any uses of std::string. | ||||
* | Add formatting fixes. | David Lawrence Ramsey | 2009-11-21 | 1 | -2/+2 |
| | | | | This mostly puts && and || on the proper lines, per the style guide. | ||||
* | Shaft trap behavior modified. They now are one-time use and pre-knowledge of ↵ | Alex MacDonald | 2009-11-18 | 1 | -2/+2 |
| | | | | | | shaft traps (i.e. using them intentionally) will improve the chances of the player landing fewer levels away. Shaft traps also now randomly determine their destination. Monsters cannot follow the player through shaft traps. Signed-off-by: David Ploog <dploog@users.sourceforge.net> | ||||
* | Split itemprop enums out into itemprop-enum.h. | Robert Vollmert | 2009-11-17 | 1 | -0/+1 |
| | | | | Other headers now don't need to include all of itemprop.h. | ||||
* | Fix a few whitespace errors. | Adam Borowski | 2009-11-15 | 1 | -1/+1 |
| | |||||
* | Put duplicated body weight calculations into actor::. | Adam Borowski | 2009-11-13 | 1 | -0/+28 |
| | |||||
* | Let unrandart shields have a melee_effect func, called on successful block. | Adam Borowski | 2009-11-13 | 1 | -1/+17 |
| | |||||
* | Move duplicated can_hibernate code into actor. | Jude Brown | 2009-11-13 | 1 | -0/+30 |
| | |||||
* | Constify a variable in acotr::check_res_magic(). | David Lawrence Ramsey | 2009-11-08 | 1 | -3/+3 |
| | |||||
* | Move see_cell_no_trans into player. | Robert Vollmert | 2009-11-08 | 1 | -18/+4 |
| | | | | Also collect actor/player LOS code in actor-los.cc. | ||||
* | Give actors their own LOS. | Robert Vollmert | 2009-11-07 | 1 | -0/+11 |
| | |||||
* | Remove trailing whitespace. | David Lawrence Ramsey | 2009-11-06 | 1 | -1/+1 |
| | |||||
* | Implement actor::can_see. | Robert Vollmert | 2009-11-06 | 1 | -0/+5 |
| | | | | | 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 | -0/+5 |
| | | | | | | | | | | | | 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). | ||||
* | Merge monsters,player::check_res_magic() (Zaba) | Adam Borowski | 2009-11-05 | 1 | -0/+36 |
| | |||||
* | Put lots of actor:: methods where they belong (Zaba) | Adam Borowski | 2009-11-05 | 1 | -0/+64 |
| | |||||
* | Also remove monster::visible. | Robert Vollmert | 2009-10-22 | 1 | -1/+1 |
| | |||||
* | Rename actor::visible to actor::observable. | Robert Vollmert | 2009-10-22 | 1 | -0/+11 |
This should reduce potential for confusion -- compare mon->visible() and mon->invisible(). The uses of actor::visible for messaging are replaced by actor::observable, others by you.can_see(...) or actor::visible_to(&you). |