summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove some dedicated butchery conduct code.Eino Keskitalo2010-01-141-5/+0
| | | | | | It's not used anymore, and since the corpse offering mechanism has changed, is unlikely to be used again. Signed-off-by: Eino Keskitalo <evktalo@users.sourceforge.net>
* Rename transfor.{cc,h} to transform.{cc,h}.Adam Borowski2010-01-071-1/+1
|
* Replace uses of item_cursed with item_def::cursed.Vsevolod Kozlov2009-12-271-1/+1
|
* Replace long debug message calls with dprf(), except for cases where a dumb ↵Adam Borowski2009-12-201-4/+2
| | | | | | compiler could call unnecessary functions. For paranoia, I left even any uses of std::string.
* Stop shift-running at map boundary.Robert Vollmert2009-12-171-1/+2
|
* Fix equip funcs of artefact armour and jewelry being called with no show_msgs.Adam Borowski2009-12-141-1/+4
|
* Rename ENCH_NEUTRAL to ENCH_TEMP_PACIF since it's what it does.Adam Borowski2009-12-131-2/+2
| | | | | | Also, keep afflicted monsters from attacking the player. It's bad if they just got "impressed by your words" yet they hunt you and you can't even fight back.
* Remove unnecessary header-header includes.Robert Vollmert2009-11-271-0/+1
|
* reset_more_autoclear() -> set_more_autoclear()Matthew Cline2009-11-241-1/+1
| | | | | You can now also turn on autoclear-more status from outside message.cc, rather than just turning it off.
* Rename tutorial_first_monster to tutorial_monster_seen.Robert Vollmert2009-11-231-1/+1
| | | | It's not just used for the first monster.
* Stop Deep Dwarf MP from regenerating with spirit shield.Jude Brown2009-11-221-1/+3
| | | | | | | | | Don't allow Deep Dwarves to use spirit shields as a free source of regenerating HP. However, this simply stops natural regeneration. Potions of magic, crystal balls, staffs of channeling, and other God powers (Makhleb, Vehumet and Sif Muna) are still acceptable methods.
* Add formatting fixes.David Lawrence Ramsey2009-11-211-8/+9
| | | | This mostly puts && and || on the proper lines, per the style guide.
* Move tutorial state out of Options.Robert Vollmert2009-11-161-4/+4
|
* Chei Fluff: * Ruininous Time -> Slouch * Better player titles Mechanics: * ↵Brendan Hickey2009-11-161-1/+0
| | | | Ponderous items stack * The ponderous brand can be placed on all armour.
* Rename can_sleep/put_to_sleep to can_hibernate/hibernate.Jude Brown2009-11-121-1/+1
| | | | | | This reflects the fact that these functions are currently only used to player and monster ensorcelled hibernation/metabolic englaciation, and thus both check monster's cold resistance.
* Rename monspeak/monplace/monstuff to mon-speak/place/stuff.Jude Brown2009-11-121-1/+1
| | | | | 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 Vollmert2009-11-101-2/+0
| | | | Also add a few previously indirect includes.
* Split shouting and stealth code from view.cc.Robert Vollmert2009-11-101-0/+1
|
* Remove option draw_it from viewwindow.Robert Vollmert2009-11-091-3/+3
| | | | | | The only use was just removed. Also move the draw check closer to where it's used.
* Add an is_holy() function to the actor interface.David Lawrence Ramsey2009-11-091-3/+3
| | | | | | | | | | | | This is consistent with similar functions in that it checks not only for MH_HOLY holiness, but whether the monster is a priest of a good god (currently, there are none) and whether it uses holy spells (currently, there are none after the changes described below). Minor and Major Healing are now enchantments rather than holy spells. The beam code treats them as such; wands of healing aren't holy items the way e.g. wands of draining are evil items; and unholy monsters (among others, Lom Lobon!) can cast these spells.
* Replace mons_wont_attack with monsters::wont_attack.Vsevolod Kozlov2009-11-091-1/+1
|
* Split map knowledge and FPROPs.Robert Vollmert2009-11-081-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.
* Replace mons_neutral with monsters::neutral.Vsevolod Kozlov2009-11-071-1/+1
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Move checks for the berserk state into actor::berserk().David Lawrence Ramsey2009-11-061-3/+2
|
* Collect attitude changing code.Robert Vollmert2009-11-061-0/+1
|
* Rename is_valid_item to item_def::is_valid.Vsevolod Kozlov2009-11-061-6/+6
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Replace mons_is_paralysed with monsters::paralysed.Vsevolod Kozlov2009-11-051-1/+1
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Move *_res(ist)_magic to relevant classes, provide actor interface.Vsevolod Kozlov2009-11-051-1/+1
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Split up view.cc.Robert Vollmert2009-11-041-0/+1
|
* Split game_options from externs.h into options.h.Robert Vollmert2009-11-041-0/+1
|
* Bracers of archery: 5,3 slaying for ranged combat, -1,-1 for melee.Adam Borowski2009-11-031-0/+4
|
* Split up monstuff.ccMatthew Cline2009-11-011-1/+1
| | | | | | | 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.
* Merge mons_holiness() into monster::holiness(), and add an is_unholy()David Lawrence Ramsey2009-10-311-31/+32
| | | | convenience function.
* Combine mons_is_submerged(monsters *m) into monsters::submerged()abrahamwl2009-10-311-1/+1
| | | | | | ...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!)
* Fix missing include.Robert Vollmert2009-10-311-0/+1
|
* Combine mons_is_sleeping(monsters *m) into monsters::asleep()abrahamwl2009-10-301-1/+1
| | | | ...and replace all references to mons_is_sleeping with asleep.
* Splitting up stuff.cc.Robert Vollmert2009-10-301-0/+2
| | | | New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc.
* Move autoexclude code from misc.cc to exclude.cc.Robert Vollmert2009-10-271-0/+1
|
* Convert some ints to monster_type.Robert Vollmert2009-10-271-3/+3
| | | | | | | | | There's a whole lot of places that pass monster_type as int, often with varying meanings for the value -1. This moves some of these to monster_type, introducing MONS_NO_MONSTER and MONS_PLAYER as new invalid special values. Also improve on the autoexclude descriptions.
* Rename actor::visible to actor::observable.Robert Vollmert2009-10-221-1/+1
| | | | | | 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).
* Get rid of player_monster_visible.Robert Vollmert2009-10-221-1/+1
| | | | | | The special casing for drowning monsters appears to have been obsoloted by checking ENCH_SUBMERGED instead of calling mons_is_submerged.
* versioning: remove SVN-specific revision data, add Git versioningSteven Noonan2009-10-181-1/+0
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Recite should not cause monsters to go berserk. (dpeg, Eronarn, due)Jude Brown2009-10-171-2/+0
|
* New option explore_delay, which lets you make the delay between auto-exploreMatthew Cline2009-10-131-0/+2
| | | | | | moves be different than the delay between the moves of other types of travel. By default (explore_delay == -1) the auto-explore delay is the same as travel_delay, preserving the old behaviour.
* Fix compilation.David Lawrence Ramsey2009-10-121-1/+1
|
* Put one butchery-related sanity check back in, just in case.David Lawrence Ramsey2009-10-121-1/+1
|
* Make gods that take corpse offerings do so without the butchery step,David Lawrence Ramsey2009-10-111-70/+16
| | | | | | i.e., allow merely praying over said corpses. Now, the only gods that pay attention to butchery are Kikubaaqudgha and Elyvilon. Also, add several miscellaneous fixes.
* Add spelling fixes.David Lawrence Ramsey2009-10-081-1/+1
|
* Bugfix: repeating delayed commands (rest, eat, ...) crash [BR2873916]Adam Borowski2009-10-071-3/+0
|
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-2/+0
|