| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
For most header files, this only saves on having to recompile a
small number of source files, but there are also a few headers
where small changes would now take significantly less time.
This is most obvious for the Tiles build for which the dependencies
have been greatly reduced, so that the only additional includes
when compared to console are strictly library or tile related.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Conflicts:
crawl-ref/source/startup.cc
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* When using the message overlay, treat mouseclicks as relevant to the
map (travel etc.) rather than the message history. That's what the
tooltips are already claiming, and it's probably more important too.
* Right-click on item/features out of sight has no effect, so don't
pretend it does.
Also, I've just realize that the mouseover descriptions don't apply
for the message overlay. Not sure if that's a bug or intentional.
|
|/
|
|
|
|
| |
now.
Word wrapping is yet to be corrected, just like in other UIs.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
No functional changes, just rearranging and exposing functions where
needed.
|