summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/options.h
Commit message (Collapse)AuthorAgeFilesLines
* Let macro_colour handle -1 (by passing it through)Neil Moore2014-08-021-2/+2
|
* Assert when mapping a bad colour.Neil Moore2014-08-021-0/+1
| | | | Hopefully this will turn the #8848 ugliness into crashes.
* Make colour-swapping work in webtiles (#8271)Neil Moore2014-07-311-0/+5
| | | | | For now this affects all watchers, but it would probably make more sense to make it a client-side option instead.
* Add an option to show player as a monster tileontoclasm2014-07-171-0/+1
| | | | | Setting tile_show_player_species replaces the normal doll with the player's race's monster tile.
* Merge pickup_menu and pickup_menu_limit.Shmuale Mark2014-07-021-1/+0
| | | | | | | | | | | | Since pickup_menu = true was basically identical to pickup_menu_limit = 1 (or 2, actually), there isn't much need for two separate options. The new default for pickup_menu_limit is 1, so there is no change in the defaults. However, if you pickup_menu_limit is now exclusive, not inclusive. This fixes the weirdness that 1 and 2 meant the same thing, since you can't get a menu with only one item on it. So, if you had pickup_menu = false, there probably is a change in behaviour.
* Remove the show_gold_turns option.Shmuale Mark2014-07-021-1/+0
| | | | | | There's really no reason not to show the line; in other options, having the default always be the case can be annoying, but if you don't want to look at the gold/turns display, you can just not.
* Merge branch 'mon-pickup'Shmuale Mark2014-06-111-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem with monster pickup of the type that this branch removes is that it encourages tedious behaviour to achieve the optimum result. While in general people don't bother to pick up every weapon and armour and stuff it upstairs, that would be a way to prevent monsters from ever picking up items you've seen. With Apportation, you don't even have to reach the item, and on a mummy, say, you don't even have to worry about the infintesimal food cost. People do already do this for chaos and distortion weapons, and it is not a very good thing. Not allowing allies to pick up items is related, in that it means that the code can be simpler, but it also has problems of micromanagement, weirdnesses with the ctrl-T command, and allies already have their share of problems. I hope that the compensations for Beogh and mercenaries make up for what is lost in terms of fun. Conflicts: crawl-ref/source/tag-version.h
| * Remove the now-superfluous friendly_pickup command suite.Shmuale Mark2014-05-281-1/+0
| | | | | | | | Including the default_friendly_pickup option.
* | Add an option for more consistent prompt behaviour when changing jewelleryChris Campbell2014-06-101-0/+1
|/ | | | | | | When enabled, you will always be prompted to choose a hand/tentacle when equipping a ring, even if you currently have some empty slots, or if one ring is cursed, etc. As a result, "Px>" should always result in "put ring x on right hand", and never "put on ring x, then go downstairs", for example.
* Remove player burden and carrying capacitygammafunk2014-05-261-2/+0
| | | | | | | | | | | Item inventory weights (based on item mass) generally don't lead to meaningful decisions that justify the inventory juggling and interface problems that come from having burden states. The 52-slot limit is a better system for limiting inventory and providing inventory-related decisions because it's not so fine-grained and doesn't require the player to examine weights for each slot. Work is ongoing to improve the slot system by consolidating food types and handling strategic consumables in a different way.
* Replace easy_open with travel_open_doors.Shmuale Mark2014-04-171-1/+1
| | | | | If set to false, travel will stop in front of doors (much like the previous behavior if easy_open was set to false).
* Remove the level_map_title option.Shmuale Mark2014-04-171-2/+0
|
* Remove the clean_map option.Shmuale Mark2014-04-171-1/+0
| | | | | | | It didn't have a very clear use case and if you really want to reproduce it, you can press ^C every so often. Also clean up the options documentation a bit.
* Fix NOWIZARD compilation (#8369).Neil Moore2014-04-141-1/+1
| | | | | The CLua console and --no-save were partially but not completely contained in #ifdef WIZARD. Make them both work without WIZARD.
* Remove default_target and target_unshifted_dirs optionsChris Campbell2014-04-101-3/+0
| | | | | They just existed to replicate some ancient behaviour that is very unlikely to actually be desirable now.
* Reimplement remembered_monster_colour (#8299)Neil Moore2014-03-211-0/+1
| | | | It went missing in 0.1.4 but has been in the documentation ever since.
* Show inventory weights only for pickup/drop by default.Neil Moore2014-03-191-1/+1
| | | | | | | | Add a third, default, value for show_inventory_weights, to enable weights for pick-up and drop menus only. Ctrl-W continues to toggle weight display in the current menu, but is no longer persistent from one menu to the next.
* Remove `auto_list` optionChris Oelmueller2014-03-111-2/+0
| | | | | | | | | | | | | It has been defaulting to `true` for a while now. That setting provides a nicer interface overall and there is little reason to support alter- nate input methods. Some prompts asking for a letter have not been adjusted, for example evoking a rod with multiple spells. Those are hopefully gone soon anyways. [Committer's note: The option had no known uses except by bots, and those could work without it. And, of course, multi-spell rods are gone.]
* Add tile_font_*_family settings for WebTiles.Pekka Lampila2014-03-011-5/+7
|
* Make arena_delay available outside of arena as view_delay.Steve Melenchuk2014-02-271-1/+2
| | | | | | | | | | So, if you're running a bot or you're generally annoyed by ranged/magical animations, you can set this to an appropriately low value. This also condenses a lot of code duplication related to arena_delay; a new function called scaled_delay is used for functions that should be impacted by this.
* Add tile_deep_water_col and tile_portal_col.Pekka Lampila2014-02-201-0/+2
|
* Add tile_mapped_floor_col and tile_branchstairs_col options.Pekka Lampila2014-02-171-0/+2
| | | | | | | | Documentation claimed that branch stairs were coloured with upstairs and downstairs colours, but they were coloured like other non-stair features. Now branch exits are coloured with tile_upstairs_col and entrances with tile_branchstairs_col which has the same default as tile_downstairs_col.
* Allow minimap colour options to be set with hex codes and used in WebTiles.Pekka Lampila2014-02-171-21/+21
| | | | | | | | | | | | | | | | This changes the default WebTiles minimap colours to match local tiles. To get the previous default values use: tile_floor_col = #a9a9a9 tile_door_col = #a52a2a tile_item_col = #008000 tile_friendly_col = #ee9090 tile_peaceful_col = #ee9090 tile_plant_col = #006400 tile_upstairs_col = #0000ff tile_downstairs_col = #ff00ff tile_excl_centre_col = #00008b tile_excluded_col = #008b8b
* Remove `drop_mode` setting and in-game toggle for `single` behaviorChris Oelmueller2014-02-081-2/+0
| | | | | | | | | | | The setting itself went largely unused with a few exceptions for bot configurations, and the toggle (either @ or Ctrl-D in the drop menu) added nothing to the interface: It was intransparent and probably not known to a single player out there. Like with the pickup menu, what was old `multi` is the far superior interface, and unlike with pickup it also has been the default for a long time. For quickly (interface-wise) dropping items, there still exists `D` to drop your last pickup, but even that is rather prone to input errors.
* Add tile_misc_anim option for both local tiles and WebTiles.Pekka Lampila2014-02-071-0/+1
|
* Split the note_chat_messages option into note_chat_messages and ↵elliptic2014-01-241-1/+2
| | | | | | | | | | | | | | | note_dgl_messages. Webtiles chat and DGL messages have different functionality and are used in completely different ways. Webtiles chat doesn't necessarily involve the player of the game being spectated (and indeed it often seems not to have anything to do with the game), while DGL messages are invisible unless the player chooses to read them and thus usually consist of a conversation between the player typing in notes and a spectator. Not logging DGL messages (which was recently made default) is thus usually undesirable because it means logging only one side of a conversation (the player's). The new option note_dgl_messages defaults to true.
* New option: fsim_csvRaphael Langella2014-01-151-0/+1
| | | | | Unsurprisingly, it outputs the fsim data in csv format, for easier processing. Also rename the output file to fsim.txt (or fsim.csv).
* WebTiles options to hide/show messages/sidebar when using level mapPekka Lampila2014-01-131-0/+2
| | | | | Sidebar is no longer hidden by default, so that minimap remains visible. To get old behaviour use: tile_level_map_hide_sidebar = true
* Menu for pickup : new option 'pickup_menu_limit'Cedor2014-01-091-1/+2
| | | | | | | | | | | | | 'pickup_menu' option behavior adjusted: * true : same behavior * false : like the old auto:X, X is given with a new option: 'pickup_menu_limit', default 4, negatives value considered as item_stack_summary_minimum. Why 4? starting to 4 questions, you got a --more-- prompt, and starting to 6 items on the square, items are displayed with glyphs instead of full names. [Applied a few minor fixes and simplifications -nfm]
* Support tile_font_*_size in WebTilesPekka Lampila2014-01-021-4/+8
| | | | Except for tile_font_tip_size, since there are no tooltips.
* Move WebTiles animations setting to rc filePekka Lampila2014-01-021-0/+1
|
* Move WebTiles glyph mode setting to rc filePekka Lampila2014-01-021-0/+3
| | | | Also axe a tile_force_regenerate_levels sighting.
* Use rc settings for tile scaling in WebTilesPekka Lampila2014-01-021-2/+2
| | | | tile_cell_pixels and tile_filter_scaling
* Remove `pickup_mode` option, introduce `pickup_menu`Chris Oelmueller2013-12-301-2/+1
| | | | | | | | | | | | | | | | | End result is that: * `pickup_menu = true` is old `pickup_mode = multi`, and new default * `pickup_menu = false` is old `pickup_mode = single` * `pickup_mode = auto:X` is gone without replacement for being of little use Recognizing the old option in initfile did not make much sense either because the default changed: Old `multi` was the only setting that anybody would include in their rcfile, and that one is now meaningless. So if your config until now included a line like the following: pickup_mode = multi you can now safely remove this. If you prefer the old default behavior, use this option from now on: pickup_menu = false
* Default language to the system locale [Unix].Adam Borowski2013-12-271-0/+1
| | | | | | | | | | | | | This should increase the amount of players who actually get to see translations by 2-3 orders of magnitude. I did not do this initially on purpose, not wanting to make push jarring work in progress. The progress of translating goes way, way slower than anticipated, though, so enabling just descriptions is not that bad. There are three platforms that need to be handled * Unix (this commit) * Windows * webtiles
* Drop pointless empty lines after or before a brace.Adam Borowski2013-12-211-1/+0
| | | | | I left them only where the contents is not indented, like in a namespace or a template.
* Remove remaining traces of tile_force_regenerate_levelsPekka Lampila2013-12-141-1/+0
|
* Support tile_map_pixels in WebTilesPekka Lampila2013-12-131-2/+2
|
* Send some rc file options to the WebTiles clientPekka Lampila2013-12-111-0/+4
| | | | | | | | | | | | Player's options are always sent on the game start, by the process itself. They are also sent to any joining spectators. Spectators also receive their own config which is generated by running --print-webtiles-options. Also added a simple options module to JavaScript. Since all the options are received on game start the code can assume that the values are always there and have been validated by the server side code.
* Fix spelling of "targeting" (#7837)Chris Campbell2013-12-101-3/+3
| | | | See Mantis for discussion.
* Fix cmdline --gdb not working outside of --test and friends.Adam Borowski2013-11-201-1/+0
| | | | | It can't be stored in the options struct, as it's re-initialized when a game starts, overwriting whatever came from the command line.
* Spam about the reason GDB is disabled.Adam Borowski2013-11-171-1/+1
|
* Don't attach gdb in debug builds unless --gdb is given on cmdline.Adam Borowski2013-11-051-0/+1
|
* Add an option, tile_water_anim=false, to disable animation of liquids.Adam Borowski2013-09-021-0/+1
| | | | No docs yet.
* Remove some obsolete food-related optionsMarvinPA2013-08-181-6/+0
| | | | | easy_eat_contaminated, easy_eat_gourmand and prefer_safe_chunks are all unnecessary now that contaminated chunks just give less nutrition.
* Allow setting autopickup_starting_ammo = false.Neil Moore2013-08-041-0/+1
|
* Fix a memory+speed leak if features are redefined over and over.Adam Borowski2013-07-151-1/+1
| | | | A map can recycle overwritten keys, a vector can't.
* Default delays to -1 on servers and add a rest_delayPete Hurst2013-05-101-0/+1
| | | | | | | | This sets both delays (explore_delay, travel_delay) to -1 for server play, along with enabling travel trails. Additionally a rest_delay option is added which also defaults to -1 on servers or 0 locally, to speed up resting.
* Don't claim auto_sacrifice is a "generic option", rename its enums.Adam Borowski2013-04-111-10/+9
|
* Use FixedBitArray instead of large arrays of bools.Adam Borowski2013-04-091-3/+2
| | | | | The only cost is having assignments be a function, as you can't overload operator[] to have separate bits be lvalues.