summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgl-message.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix DGL compilation.Neil Moore2014-08-171-0/+1
|
* Correct function use (ChrisOelmueller).Shmuale Mark2014-04-231-1/+1
|
* Don't log DGL messages twice in certain instances (#8414).Shmuale Mark2014-04-231-4/+4
| | | | This was accomplished by adding a new message channel, MSGCH_DGL_MESSAGE.
* Formatting fixes.Neil Moore2014-03-071-0/+2
|
* Split the note_chat_messages option into note_chat_messages and ↵elliptic2014-01-241-1/+1
| | | | | | | | | | | | | | | note_dgl_messages. Webtiles chat and DGL messages have different functionality and are used in completely different ways. Webtiles chat doesn't necessarily involve the player of the game being spectated (and indeed it often seems not to have anything to do with the game), while DGL messages are invisible unless the player chooses to read them and thus usually consist of a conversation between the player typing in notes and a spectator. Not logging DGL messages (which was recently made default) is thus usually undesirable because it means logging only one side of a conversation (the player's). The new option note_dgl_messages defaults to true.
* Revert "Replace `mprf(ch, s)` with `mpr(s, ch)`"Adam Borowski2013-11-291-1/+1
| | | | | | | | It trades readability and consistency for an utterly negligible bit of speed. With the amount of further processing mpr() does, a single sprintf is nothing. This reverts commit d9dfa8fc9755fb0a4e8954c7eb94f32fe97b82e0.
* Replace `mprf(ch, s)` with `mpr(s, ch)`Chris Oelmueller2013-11-281-1/+1
| | | | Scripted, then manually reviewed.
* Replace `mprf(s)` with `mpr(s)`Chris Oelmueller2013-11-281-1/+1
| | | | Scripted, then manually reviewed.
* Use std namespace.Raphael Langella2012-08-261-4/+4
| | | | | | | | | | | | | 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 the DGL/webtiles chat message logging optional.Florian Diebold2012-06-291-2/+3
|
* Unbreak DGL builds.Adam Borowski2012-06-201-0/+1
|
* Remove a good deal of header inclusion.Adam Borowski2012-05-231-1/+0
| | | | | | | | | These accumulate but never get removed; no wonder compilation times keep rising. The includes.sh script has lots of false negatives (and positives...), and can't check .h files which cause the biggest slowdown, it'd be nice to run multidelta on those somehow.
* Fix -DDGAMELAUNCH compile.Darshan Shaligram2011-03-311-0/+1
|
* Merge branch 'master' into unicodeAdam Borowski2010-12-121-0/+1
|\
| * Fix DGL compilation.Adam Borowski2010-12-041-0/+1
| |
* | Merge branch 'master' into unicodeAdam Borowski2010-12-021-3/+3
|\|
| * Implement file locking on Windows.Adam Borowski2010-12-021-3/+3
| |
* | Handle filenames with non-ascii characters.Adam Borowski2010-09-171-1/+1
|/ | | | | Only iostreams functions are left; on Windows they don't support Unicode so a workaround will be needed.
* Move DGL messaging from main.cc to dgl-message.cc.Robert Vollmert2010-03-141-0/+159