Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tidy up bracket placement according to our coding conventions. | Johanna Ploog | 2009-12-10 | 1 | -2/+2 |
| | |||||
* | random_space_weighted() memory bug fixed | Matthew Cline | 2009-11-15 | 1 | -9/+3 |
| | | | | Bug was fixed in random-weight.h, reverting work-around. | ||||
* | teleport.cc: quite non-debug unused warning | Matthew Cline | 2009-11-15 | 1 | -0/+12 |
| | | | | Get rid of "unused variable" warnings for non-debug builds. | ||||
* | teleport.cc: hack to deal with memory bug | Matthew Cline | 2009-11-15 | 1 | -4/+14 |
| | | | | | | random_space_weighted() sometimes gets this weird memory bug which causes the return value to be random (and usually out-of-bounds). "Fixed" by testing the result against in_bounds() | ||||
* | Implement spell "blink close". | Robert Vollmert | 2009-11-14 | 1 | -0/+13 |
| | | | | This allows a monster to blink close to its target. | ||||
* | Add sanctuary option to random_space_weighted. | Robert Vollmert | 2009-11-14 | 1 | -2/+4 |
| | |||||
* | Rename 'blink * closer' to 'blink * close'. | Robert Vollmert | 2009-11-14 | 1 | -1/+1 |
| | |||||
* | Implement blink_range and blink_away. | Robert Vollmert | 2009-11-14 | 1 | -28/+61 |
| | | | | | | | This is done by generalizing random_close_space to random_space weighted. Also tweak the weights a little. These might still need work. | ||||
* | Generalise blink_closer to arbitrary victims. | Robert Vollmert | 2009-11-14 | 1 | -8/+5 |
| | |||||
* | Add actor::blink_to for handling blink movement and messaging. | Robert Vollmert | 2009-11-14 | 1 | -0/+44 |
| | |||||
* | Fix compilation. | David Lawrence Ramsey | 2009-11-13 | 1 | -1/+1 |
| | |||||
* | Make blink_closer fail on player in sanctuary. | Robert Vollmert | 2009-11-14 | 1 | -0/+3 |
| | | | | | Not sure this is the right thing to do, but also not sure if it matters. | ||||
* | Fix "blink closer" not to try blinking into occupied cells. | Robert Vollmert | 2009-11-14 | 1 | -2/+5 |
| | |||||
* | Implement function to blink an actor closer to another actor. | Robert Vollmert | 2009-11-14 | 1 | -0/+41 |
| | |||||
* | Move trans_wall_blocking into player. | Robert Vollmert | 2009-11-13 | 1 | -1/+1 |
| | |||||
* | Remove a few obsolete includes. | Robert Vollmert | 2009-11-10 | 1 | -2/+0 |
| | | | | Also add a few previously indirect includes. | ||||
* | Remove some obsolete view.h-includes. | Robert Vollmert | 2009-11-10 | 1 | -1/+0 |
| | |||||
* | Split shouting and stealth code from view.cc. | Robert Vollmert | 2009-11-10 | 1 | -0/+1 |
| | |||||
* | Move see_cell_no_trans into player. | Robert Vollmert | 2009-11-08 | 1 | -1/+1 |
| | | | | Also collect actor/player LOS code in actor-los.cc. | ||||
* | 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. | ||||
* | Remove an unnecessary header env.h include. | Robert Vollmert | 2009-11-08 | 1 | -0/+1 |
| | |||||
* | Replace global see_cell by observe_cell and disambiguate old uses. | Robert Vollmert | 2009-11-06 | 1 | -2/+2 |
| | | | | | | | 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). | ||||
* | Split up view.cc. | Robert Vollmert | 2009-11-04 | 1 | -0/+1 |
| | |||||
* | Move random_near_space into new teleport.cc. | Robert Vollmert | 2009-11-02 | 1 | -0/+130 |