| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
The C++ standard explicitely allows interchangeably referring to a class and
struct by either name (C++98 7.1.5.3/3 = C++11 7.1.6.3/3).
Clang instead squeals:
warning: class 'monster_info' was previously declared as a struct [-Wmismatched-tags]
|
|
|
|
|
| |
This removes a hack I added while switching tile_place_monster to
monster_info.
|
|
|
|
|
|
|
| |
"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.
|
|
|
|
|
|
| |
I did review it manually to find places where they made sense (like some
tables), but for a massive sed job like this there might be places that
I missed.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This mostly puts && and || on the proper lines, per the style guide.
|
| |
|
|
consistency
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|