| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
It now returns 0 rather than 1 if the player hasn't seen the branch yet.
|
|
|
|
|
| |
That is, unless you count the ones in ncurses' headers, which I can't
do anything except suppress.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
Having both it and LOS_RADIUS is misleading, especially as they're
arbitrarily used. This distinction doesn't make sense anyway, as any
LOS changes need to be done at runtime, only the max matters during
compilation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The dungeon should not arrange itself to suit the player's abilities.
Besides this general philosophical objection, there are a few actual
bugs caused by this behaviour:
* Entering a vaults level in bat form (which cannot open doors)
causes a level generation failure.
* travel_avoid_terrain = shallow_water can cause vaults to be vetoed.
* Permanent flight or levitation could allow item shifting to push
an item (even a critical item) into lava or deep water while trying
to save it.
Fixes #4722.
|
|
|
|
|
|
|
| |
"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.
|
|
|
|
| |
(by).
|
|
|
|
|
| |
it's guaranteed (well, sort of) to spawn in exactly one hell end, and
its color/spellbook/resists are customized for that hell branch.
|
| |
|
|
|