Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Trim unnecessary #includes. | Adam Borowski | 2010-01-13 | 1 | -3/+0 |
| | |||||
* | Don't make monsters seek projectiles. That's, uhm, unhealthy. | Adam Borowski | 2009-12-27 | 1 | -0/+1 |
| | |||||
* | Short-circuit behaviour_event(), projectiles are not supposed to behave. | Adam Borowski | 2009-12-21 | 1 | -0/+2 |
| | |||||
* | Remove unnecessary header-header includes. | Robert Vollmert | 2009-11-27 | 1 | -0/+1 |
| | |||||
* | Fix wandering monsters always targetting the player if in sight. | Robert Vollmert | 2009-11-24 | 1 | -3/+5 |
| | |||||
* | Move some pathfinding code from mon-behv.cc to mon-movetarget.cc. | Robert Vollmert | 2009-11-16 | 1 | -963/+10 |
| | |||||
* | Split monster_pathfind out into mon-pathfind.cc. | Robert Vollmert | 2009-11-16 | 1 | -0/+1 |
| | |||||
* | _guess_invis_foe_pos(): fix radius_iterator | Matthew Cline | 2009-11-15 | 1 | -1/+1 |
| | | | | | Use the radius_iterator constructor whihc doesn't depend upon the player's LOS. | ||||
* | Make test-spawners work properly again. | Matthew Cline | 2009-11-15 | 1 | -0/+17 |
| | |||||
* | handle_behaviour(): fix infinite loop. | Matthew Cline | 2009-11-15 | 1 | -7/+20 |
| | |||||
* | handle_behaviour(): guess pos of invis foes | Matthew Cline | 2009-11-15 | 1 | -0/+35 |
| | | | | | | | | If a monster didn't know the position of an unseen but nearby foe, then casting a spell against the foe would cause an assert. So now the monster tries to guess the position of the foe: a random square within radius 3 of the foe, or radius 2 if the monster can sense invisible. This algorithm no doubt needs improvement. | ||||
* | Fix some arena asserts. | Matthew Cline | 2009-11-15 | 1 | -1/+4 |
| | |||||
* | Change arena foe check to assert. | Robert Vollmert | 2009-11-13 | 1 | -2/+1 |
| | |||||
* | Remove arena AI forcing option. | Robert Vollmert | 2009-11-13 | 1 | -100/+3 |
| | | | | | | | It's not strictly necessary anymore to have sensible fights with recent AI changes, and could easily be restored if required. Better to improve non-arena AI, however. | ||||
* | Move trans_wall_blocking into player. | Robert Vollmert | 2009-11-13 | 1 | -1/+1 |
| | |||||
* | Replace observe_cell by you.see_cell. | Robert Vollmert | 2009-11-13 | 1 | -1/+1 |
| | |||||
* | Replace monster_index with monsters::mindex. | Vsevolod Kozlov | 2009-11-13 | 1 | -2/+2 |
| | |||||
* | More monster_iterator conversions. | Robert Vollmert | 2009-11-12 | 1 | -5/+6 |
| | |||||
* | Rename monspeak/monplace/monstuff to mon-speak/place/stuff. | Jude Brown | 2009-11-12 | 1 | -2/+2 |
| | | | | | I'm pretty sure I've managed to replace every instance of a reference to these files, so I hopefully haven't missed anything. | ||||
* | Remove a few obsolete includes. | Robert Vollmert | 2009-11-10 | 1 | -1/+0 |
| | | | | Also add a few previously indirect includes. | ||||
* | Remove inside_level_bounds. | Robert Vollmert | 2009-11-10 | 1 | -1/+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 |
| | |||||
* | Fix a genus check for blink frogs, and species checks for giant spores. | David Lawrence Ramsey | 2009-11-09 | 1 | -4/+6 |
| | |||||
* | Allied giant spore behavior tweaks | Charles Otto | 2009-11-09 | 1 | -1/+6 |
| | | | | | | Make allied spores consistently ignore 't' commands, also make them wander unless they spot an enemy (instead of following you around until they find an enemy). | ||||
* | Replace mons_is_pacified with monsters::pacified. | Vsevolod Kozlov | 2009-11-09 | 1 | -3/+3 |
| | |||||
* | Replace mons_wont_attack with monsters::wont_attack. | Vsevolod Kozlov | 2009-11-09 | 1 | -6/+6 |
| | |||||
* | Rename Feawn | Charles Otto | 2009-11-08 | 1 | -1/+1 |
| | | | | | In most places Feawn is now referred to as "Fedhas," its long name (used in the religion screen) is "Fedhas Madash" | ||||
* | Remove dead code. | Robert Vollmert | 2009-11-08 | 1 | -3/+0 |
| | |||||
* | Get rid of a few uses of mon_see_cell. | Robert Vollmert | 2009-11-08 | 1 | -1/+1 |
| | |||||
* | Split map knowledge and FPROPs. | Robert Vollmert | 2009-11-08 | 1 | -5/+6 |
| | | | | | | | | 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 bounds_func with circle_def. | Robert Vollmert | 2009-11-08 | 1 | -1/+2 |
| | | | | | | | The various LOS objects and functions now accept a circle_def instead of a bounds_func. This is a little less generic, but should eventually help with iterating over coordinates in any los_def. | ||||
* | Replace mons_strict_neutral with monsters::strict_neutral. | Vsevolod Kozlov | 2009-11-07 | 1 | -1/+1 |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | ||||
* | Replace mons_neutral with monsters::neutral. | Vsevolod Kozlov | 2009-11-07 | 1 | -4/+4 |
| | | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net> | ||||
* | 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). | ||||
* | Move checks for the berserk state into actor::berserk(). | David Lawrence Ramsey | 2009-11-06 | 1 | -5/+5 |
| | |||||
* | Move mons_is_friendly to monsters::friendly. | Vsevolod Kozlov | 2009-11-06 | 1 | -12/+12 |
| | | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | ||||
* | Simplify. | David Lawrence Ramsey | 2009-11-06 | 1 | -5/+5 |
| | |||||
* | Remove mons_friendly_real and mons_wont_attack_real. | Vsevolod Kozlov | 2009-11-06 | 1 | -5/+5 |
| | | | | | | They were the same as non-_real functions. Signed-off-by: Robert Vollmert <rvollmert@gmx.net> | ||||
* | Unify mesmerisation code. | Robert Vollmert | 2009-11-05 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | Split up view.cc. | Robert Vollmert | 2009-11-04 | 1 | -0/+1 |
| | |||||
* | Get rid of multiple-meaning "int object" in env.show. | Robert Vollmert | 2009-11-04 | 1 | -14/+11 |
| | | | | | | | | | | | | | 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. | ||||
* | Split game_options from externs.h into options.h. | Robert Vollmert | 2009-11-04 | 1 | -0/+1 |
| | |||||
* | Split up monstuff.cc | Matthew Cline | 2009-11-01 | 1 | -0/+1928 |
A lot of monstuff.cc was moved into mon-abil.cc (monster abilities), mon-act.cc (the main monster loop), mon-behv.cc (monster behaviour) and mon-cast.cc (monster spells). mstuff2.cc was completely merged into other files. |