summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godconduct.h
Commit message (Collapse)AuthorAgeFilesLines
* Use unique_ptr instead of auto_ptr (emulated for non-C++11).Adam Borowski2012-08-281-1/+1
| | | | | | This stops the tons of warnings, while allowing building for both old and new C++ standards. And if we wanted to use shared_ptr or something, now we can without being ambiguous.
* Use std namespace.Raphael Langella2012-08-261-1/+1
| | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* Make file headers doxygen-friendly, drop useless fields.Adam Borowski2011-03-281-4/+4
| | | | | | | "File:" is shown in your editor's status bar. "Written by:" was used only for the first person who changed a file. We got git for that now, and pre-DCSS history is so woefully inaccurate it doesn't really matter.
* Rename class "monsters" to "monster".Robert Vollmert2010-09-051-5/+5
|
* Fix DID_ATTACK_FRIEND not getting triggeredCharles Otto2010-02-161-0/+2
| | | | | | | The DID_ATTACK_FRIEND conduct seems to have been broken by commit 917cc2df1. Some initialization code used for evaluating attack conducts was moved out of religion_turn_start, and then never called from anywhere else.
* Split out did_god_conduct and some other things to godconduct.{h,cc}.Robert Vollmert2010-01-231-0/+38