| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit moves str_to_fprop from initfile.cc to fprop.cc. It also
introduces two new dungeon Lua wrappers: fprop_changed(x, y, fprop),
and fprop_at(x, y, fprop).
fprop_at(x, y, fprop) will return testbits(coord_def(x, y), fprop).
fprop_changed will either add the fprop to that location, or if it
already exists there, it will remove it from that location. It will
returrn a boolean value of true if it altered the location, and false if
it did nothing.
|
| |
|
|
|
|
|
|
| |
tests, but can be parameterised.
Add a script to generate 150 level at a named place and report on all the monsters generated there.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This means the knowledge menu is not affected by the
main inventory sort options. In particular, this
fixes item knowledge sort order breaking down once
you know a lot of items of a given type.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is FR 2814313.
This required adding a new option msg_min_height
defaulting to 6 to keep the same default layout.
I don't believe anything requires a message window
of more than 5 lines (acquirement is fine with that).
|
|
|
|
|
| |
view_{min,max}_width now use INT_OPTION (hope I didn't miss anything
there), and msg_max_height gets an explicit minimum.
|
| |
|
|
|
|
|
| |
It's not used anymore, and has issues, such as revealing
information on the level map.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set messages_at_top=true to use.
This is not quite aesthetically pleasing since character name
and title which form a kind of heading for the screen are now
in the middle. It might be better to display them in an extra
line across the top.
Also, the layout should really be moved out to lua and made
completely user configurable.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set use_fake_player_cursor = true to use this. This allows
defaulting the cursor to off, which means less cursor blinking
say when travelling.
This patch also moves the cursor control closer to where it's
used, so that the cursor is only turned on for actual input
prompts. I've definitely missed some prompts here: almost
anything that prompts for a single character and reads it
using getch() will not have a cursor with use_fake_player_cursor
set at the moment.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The same effect can now be achieved by overriding
ch_target_monster. If anyone wants this, I'm happy
to provide lua code.
|
| |
|
|
|
|
|
|
|
|
| |
The option is now just a boolean option, and whether we're
actively targetting with the mlist is stored in
crawl_state.mlist_targetting.
Also remove some duplication of mlist logic from direction().
|
|
|
|
|
|
|
|
|
|
|
|
| |
NO_CTELE_INTO causes grid-cells marked as such to reject controlled
teleport into them, with the message: "A strong magical force throws you
back!".
NO_TELE_INTO combines both of these flags (NO_RTELE_INTO and
NO_CTELE_INTO) to prevent both controlled and random teleports into a
specific cell.
Also document both of these.
|
| |
|
| |
|
|
|
|
|
|
|
| |
explore_stop condition greedy_pickup_smart no longer stops for items
which were thrown by the player. The new condition greedy_pickup_thrown
can be used by those who wish to stop auto-explore when thrown items are
auto-pickup'd.
|
|
|
|
| |
This mostly puts && and || on the proper lines, per the style guide.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added the explore_stop option "greedy_pickup_smart", which is like
greedy_pickup, but only stops for thrown items and items different than
any in your inventory (and for fruit if you worship Fedhas).
* Added the option explore_stop_pickup_ignore. Any items matching any
of the regexes in the list will *not* cause
"explore_stop = greedy_pickup" (or greedy_pickup_smart) to stop
auto-explore.
* "explore_stop = greedy_pickup" no longer stops when picking up gold.
* "explore_stop = greedy_pickup" (or greedy_pickup_smart) now stops
auto-explore after auto-pickup has happened, rather than right before
it happens.
* Removed obsolete ES_PICKUP.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also fixes the range_view_annotator destructor
clobbering option "darken_beyond_range".
Options.target_range is now really an option, and called
Options.darken_beyond_range. Current darkening range is
now stored in crawl_state.darken_range.
I can't reproduce SIGHUP retaining darkened range
(BR 2151183) (why would it be saved?), so
range_view_annotator is not a crawl_exit_hook anymore.
crawl_exit_hook is not used anymore, but still present.
|
|
|
|
|
|
|
| |
You can now specify Lua files to be loaded for use in the wizard Lua
interpreter via "terp_file = file_path" in your init file. These
files will be run in the context of dlua, as opposed to the clua
context of files included with "lua_file = file_path".
|
| |
|
|
|
|
|
|
|
| |
It's not strictly necessary anymore to have sensible fights with
recent AI changes, and could easily be restored if required.
Better to improve non-arena AI, however.
|
|
|
|
| |
Also add a few previously indirect includes.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
map_cell no longer has the field "properties", which has been
replaced by the unsigned long array env.pgrid.
env.map has been renamed to env.map_knowledge. It should really
be moved into player.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
env.show is now a class show_def that stores tagged
unions of type show_type. For the moment, there's also
env.show_los for use in LOS determination, but that
should become an array of boolean at some point.
This breaks save compatibility.
Tiles and console version build and appear to work
fine, but this kind of change is likely to have
some side-effects.
|
| |
|
|
|
|
| |
New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc.
|
|
|
|
| |
Doesn't seem to break anything...
|
|
|
|
|
|
|
|
|
|
| |
This introduces two new command line options, -extra-opt-first and
-extra-opt-last, which make crawl think that the specified options were
(respectively) at the start and end of the options file. For example:
crawl -extra-opt-last wiz_mode=yes
The two options can be used multiple times to specify multiple options.
|
|
|
|
| |
Also move species<->string translation from player.cc to species.cc.
|
|
|
|
|
|
| |
NO_RTELE_INTO restricts random teleport from choosing a specific grid square marked with this. This does not stop controlled teleport onto specific grid squares; controlled teleport is completely unrestricted.
Updated documentation for new property. Do not apply to branch ends/Orb chamber yet, please!
|
|
|
|
|
|
| |
relevant clouds.
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
|
|
|
|
| |
auto-travel across a single square.
|