| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
.cc, moving its contents into the new stepdown.cc and strings.cc.
(The latter also got many donations from libutil.h.)
Down with stuff! Up the new flesh!
|
| |
|
|
|
|
|
| |
Sometimes, they're there to emphasize a break between two sections of code,
which is good. In a majority of cases, though, they're just inconsistent.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
It's a big header, hardly ever needed, yet it was pulled even for low-level
files that don't deal with the game itself like lib${UI}.cc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is slightly modified from the patch submitted here:
https://crawl.develz.org/mantis/view.php?id=5179
The original patch uses fractions instead of percentages, but I found this
to be quite visually cluttered and unhelpful.
After much fretting about the best way to implement this, I settled on
rounding up to 1% if your failure rate is below 1% but above 0. I tried some
alternatives, but I find this way to be the easiest for me to visually parse
at a quick glance at my spell list. If this is unideal, it's very easy to
change.
|
|
|
|
|
|
| |
Conflicts:
crawl-ref/source/startup.cc
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Most of it has gone into tilepick.h, but also into enum.h and
initfile.cc. Unlike tiles.h which was included everywhere, tilepick.h is
now only a dependency of about half the files.
|
| |
|
|
No functional changes, just rearranging and exposing functions where
needed.
|