summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/orb.cc
Commit message (Collapse)AuthorAgeFilesLines
* Make Doxygen @returns "@return" for consistancy.reaverb2014-06-051-1/+1
|
* Replace `mpr(s, ch)` with `mprf(ch, s)`Adam Borowski2013-11-291-4/+4
| | | | | | | | | Also simplify quite a few cases. It turns out in >90% cases of non-literals the argument had .c_str(), which meant it was pointlessly malloc()ed and converted from and to std::string. I believe a sprintf is faster, so even the argument of miniscule speed-up doesn't apply.
* Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-2/+2
|
* Make some more functions static/gone.Adam Borowski2012-03-251-3/+3
|
* Doxygenization and junk purging that was missed by my script.Adam Borowski2011-04-021-4/+1
|
* Doxygen: document orb.ccJude Brown2011-01-231-3/+29
|
* Fix orb pickup noise when silenced.Jude Brown2011-01-221-0/+48
Now, it flashes a variety of coloured, pretty lights, which have the same effect of waking up nearby monsters. This is achieved by "fake_noisy", which generates noise (but no message) regardless of whether or not the area is silenced. However, it has just occurred to me that the latter function might cause weird interactions with mesmerisation and fear. Might be something to keep in mind if its use is extended to areas where mermaids or other monsters might be causing fear/mesmerising.