| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
We started using RMODE_CONNECTIVITY in find_first_from in
0.10-a0-3058-gb8177da. Extend that to also use it in the other methods.
|
|\
| |
| |
| | |
Yay for conflicts galore (wax removal, std:: purge, tileidx changes).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
check traversable features.
This is hacky. At some point in the future, flood_find should be turned into an
interator, which would let one do such checks right where one uses it in the
code, instead of piling ugly flags into the class.
|
|
|
|
|
|
| |
Vault metadata that was previously discarded at level generation time is now saved in the level file instead. This can be quite costly (~30k per level) if the level has large vaults.
The abyss can now use vaults as general scenery (tagged "abyss") or to place the rune ("abyss_rune"). abyss.des currently includes stub vaults for testing.
|
|
Removed inclusion of travel.h from most .h files to reduce the number
of .cc files dependant on it. This involved moving the level_pos
declaration to externs.h, moving the flood_find template to it's own
header file, and moving two typedefs from travel.h to travel_defs.h
because typedefs can't be forward declared (argh).
|