| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
This was accomplished by adding a new message channel, MSGCH_DGL_MESSAGE.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Scripted, then manually reviewed.
|
|
|
|
| |
Scripted, then manually reviewed.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\ |
|
| | |
|
|\| |
|
| | |
|
|/
|
|
|
| |
Only iostreams functions are left; on Windows they don't support Unicode
so a workaround will be needed.
|
|
|