| 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
|
| |
|
|
|
|
|
|
|
|
|
| |
Precision menu acts on mouse press now instead of mouse release.
This fixes #3426.
This reverts commit af62abd18c2e011fb9bf912e33374e7d78a2c733.
This reverts commit 7a657cdb01a6fb74ff8cf8fcaeeb81d375a7bb04.
|
| |
|
|
|
|
| |
Now we can give them proper names.
|
|
|
|
|
|
| |
have loaded."
This reverts commit ea74d73b47d41443078be4a15245aa5c36e090ef.
|
| |
|
|
|
|
|
| |
Somehow, it worked perfectly when run normally, but it crashed when started
from gdb. Not sure why. Anyway, this fix the problem.
|
|
|
|
|
| |
The code now looks for all titlexx.png files and choose one randomly. So adding
new title screen is just a matter of adding a file.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Applying standards, simplifying code, removing redundant comments.
|
|
|
|
| |
Signed-off-by: Enne Walker <enne.walker@gmail.com>
|
|
No functional changes, just rearranging and exposing functions where
needed.
|