| 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!
|
|
|
|
|
|
| |
Trying to scroll left though the parts failed when there was just a single
choice for the part. In particular, this happened for formicids, which
have just one base tile.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
While adhering religiously to the 80 column limit tends to be often pointless,
173 column long lines are way, way over the edge from the other side.
|
|
|
|
|
|
| |
Conflicts:
crawl-ref/source/startup.cc
|
| |
|
|
|
|
|
|
|
| |
New species tile art is no longer required to conform to binary genders.
All references to player gender have been removed. All the art is still
there, but the default gender presentations have been swapped around
arbitrarily.
|
|
|
|
| |
All player tile look-ups are now in tilepick-p.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.
|
|
|
|
|
|
|
|
| |
This new type defines to unsigned int, but it cleans up a lot of the
int/unsigned int/short confusion all over the codebase for tile indices.
This commit also cleans up tiles code to use coord_def more and to change
function signatures to pass const refs and non-const pointers.
|
| |
|
|
|
|
|
|
|
| |
Remove any non-const-reference parameters. Change const pointer
parameters to const reference parameters. Change all draw(NULL, NULL)
calls to just draw(). Also, refactor to remove pretranslate and prescale
parameters from draw calls.
|
|
|
|
|
|
| |
The amount of code complexity to draw ~6 extra transparent pixels isn't
really worth it. Also, the fact that it can't be turned on by default
due to bad OpenGL drivers means that few people are likely using it.
|
|
No functional changes, just rearranging and exposing functions where
needed.
|