Commit graph

76 commits

Author SHA1 Message Date
Wedge009
5805c86204 Add missing full-stop.
[ci skip]
2019-04-17 13:24:28 +10:00
Iris Morelle
da20cce6c0 gui2/preferences: Use curly quotes in quoted text in tooltips
[ci skip]
2018-07-08 04:16:45 -04:00
Charles Dang
d117d65cc4 Added an advanced preference for the PRNG combat option
[ci skip]
2018-06-10 14:23:34 +11:00
Celtic Minstrel
514594490b Add the advanced prefs entry for the deprecation setting 2018-05-02 18:29:33 +11:00
Charles Dang
bd3070c298 Removed unused Ping Timeout preference
It no longer had any effect. The selective_ping flag is set was ignored by the
server since it now utilizes TCP keepalive.
2018-04-20 13:11:03 +11:00
Celtic Minstrel
32b6a3de45 Add hidden preference to show deprecation messages in chat area
In 1.15 the preference will be added to the advanced preferences pane.
2018-03-04 21:21:33 -05:00
Charles Dang
39cd63f55c Removed Experimental MP UI preference (finally!) 2016-11-12 08:36:36 +11:00
Charles Dang
231cb1a4a4 Preferences: demote Show Halos to Advanced 2016-10-24 16:46:42 +11:00
Charles Dang
524b4aaeea Point preferences::new_lobby at a new key that defaults to true
This makes the new MP UI opt-out for users from this point
2016-10-13 00:14:06 +11:00
Charles Dang
d64842930e Changed Color Cursors default to Yes, to match the program behavior 2016-09-01 05:38:23 +11:00
Charles Dang
507d00d9d9 Refactored out wmi_pager
This is no longer needed after switching right-click menus to GUI2, since they have built-in
scrolling capability. This also removes the max_wml_menu_items preference.
2016-08-29 15:38:52 +11:00
Jyrki Vesterinen
0e7305017e Enabled Monte Carlo simulation mode by default 2016-07-21 20:41:04 +03:00
Jyrki Vesterinen
6766e05747 Put the Monte Carlo mode behind an advanced preference and update changelog 2016-07-21 20:13:24 +03:00
Jonathan Combs
7d8a032589 gui2: new logging dialog
New dialog added to advanced preferences. It contains toggles to
activate and deactivate logging (log messages print to console). Also
added a getter method to the base log methods so that the dialog can
'remember' previous choices.
2016-05-27 13:11:53 -07:00
Celtic Minstrel
38ddbb98f2 Preferences: Reimplement orb color options 2016-02-18 01:13:10 -05:00
Charles Dang
20350715ea Don't display Orb Color option for now 2016-02-12 01:13:33 +11:00
Charles Dang
fda94c8148 Removed unused [option] name_short keys from combobox-type advanced prefs 2016-02-10 19:51:07 +11:00
Charles Dang
28acb89a77 Added advanced preferences for Adv. Graphics and Orb Colors 2016-02-10 19:51:02 +11:00
Charles Dang
9eecc28ef9 Moved 'Accept whispers from friends only' pref from Advanced to Multiplayer 2016-02-10 19:51:02 +11:00
Charles Dang
352bd1cae2 Removed Titlescreen Animation option and related code 2016-02-06 20:19:42 +11:00
Charles Dang
db8c65aad8 Remove Reverse Time Graphics option 2016-02-06 20:19:41 +11:00
Charles Dang
d131f1d58c Removed the option to turn off Local ToD lighting. It is now always on. 2016-02-06 20:19:41 +11:00
Andreas Löf
ae1d364318 Merge branch 'master' into sdl2 2015-10-15 09:57:15 +13:00
Ignacio R. Morelle
e186057336 editor: Make Recent Files limit customizable and increase default to 10 2015-10-09 19:47:52 -03:00
Celtic Minstrel
a4a8936972 Use native colour cursors
This fixes bug #18112 and re-enables colour cursors on OSX
2015-09-24 01:07:12 -04:00
Charles Dang
9fb687bb93 Set Titlescreen Animation preference to false by default
This option has been broken for awhile, so better to have it turned off
2015-07-23 14:25:06 +11:00
Chris Beck
4e7149f893 remove "desktop notifications" adv. preference
We move the tooltips to the "mp_alerts_options" window which has
subsumed this preference.
2014-10-18 20:00:52 -04:00
Chris Beck
6bc34b03ef remove "lobby sounds" advanced preference
It is defunct now, having been replaced by the lobby sounds options
dialogs.
2014-10-11 23:50:34 -04:00
Ignacio R. Morelle
6620d60d70 preferences: Give the Desktop notifications option a tooltip 2014-07-15 19:55:44 -04:00
Ignacio R. Morelle
2fac031356 preferences: Replace "Disable notifications" with "Desktop notifications"
Because inverse-logic options are evil and this was the only one in the
entire Preferences dialog anyway.
2014-07-15 19:55:44 -04:00
Ignacio R. Morelle
cc6674bca8 Improve WML menu items count option name and description 2014-07-07 16:46:30 -04:00
Chris Beck
b1b493bb57 add TODO notes about improving the wmi pager 2014-07-01 17:11:37 -04:00
Chris Beck
fe3b5f4576 add adv. preference for number of menu items displayed at once
See earlier commit: f24f6adee1

Forum discussion: http://forums.wesnoth.org/viewtopic.php?f=6&t=40668
2014-06-28 22:47:56 -04:00
Ignacio R. Morelle
152aa0b3f8 Shorten label for the savegame version prompt advanced preferences entry 2014-01-12 20:35:03 -03:00
Ignacio R. Morelle
553c56b2bd preferences: Merge compress_saves and bzip2_savegame_compression options
Now that we have combo box options in Preferences -> Advanced, we can
finally present the saved game compression options in a user-friendly
fashion instead of having two separate options with an unclear
relationship.

However, in order to achieve this I had to move far more code than I am
normally comfortable with:

 * Moved the config_writer::compressor enum type to a separate header
   file, serialization/compression.hpp, in order to make it available to
   more units without pulling a bunch of heavy crap (such as the boost
   iostreams headers) that's normally unneeded. The new type is
   compression::format.

 * Added a compression::format_extension() function to determine a file
   extension string according to a compression type. This is needed more
   often than one would think, see below.

 * Changed all savegame-related classes to use the compression::format
   type instead of a single boolean flag and bzip2_savegame_compression
   queries. This is a code-heavy task by design.

 * Changed all code scattered around deciding whether to use ".gz" or
   ".bz2" for a save extension to use compression::format_extension()
   instead. This affects both saved game implementation and interface
   code for some reason (read: poor design).

 * Removed the bzip2_savegame_compression preferences option, reusing
   the previous compress_saves option for this feature, turning it from
   a boolean option to a string option ("none", "gzip", "bzip2",
   defaults to "gzip" per advanced_preferences.cfg).

 * preferences::compress_saves() became
   preferences::save_compression_format().

 * Without bzip2_savegame_compression, people who previously enabled
   bzip2 compression will revert to gzip compression. This seems to be a
   rare enough case to me to bother with providing backwards
   compatibility with a feature that only existed for [1.11.0, 1.11.8).

 * For preferences files from previous versions where compress_saves was
   set to either "yes" or "no", there will be a conspicuous value in the
   second column of the advanced preferences list, especially if they
   are using a translation; it'll be either "yes" or "no" as an
   untranslatable string. A value of "yes" is equivalent to "gzip", and
   a value of "no" is equivalent to "none". Any other unrecognized value
   is equivalent to "gzip". As soon as the user chooses a compression
   format again, one of the three supported values ("none", "gzip", or
   "bzip2") will be written to the compressed_saves attribute in the
   preferences file.

All in all, a ridiculously messy commit that's not particularly feasible
to break down into separate pieces because all of the involved code is
very closely related to the overarching feature that's being
implemented in it.

Note that the save_index currently only uses gzip regardless of whether
bzip2 is the current compression format choice. This was the case even
before this commit, and I'm not sure it's worth it to change it given
the potential CPU usage and the fact that save_index tends to be broken
most of the time anyway.
2013-12-20 23:36:46 -03:00
Ignacio R. Morelle
d15745ea25 Hide and disable color cursors option on Mac OS X (bug #18112)
It is known to cause severe lags that may render the cursor completely
unusable at times. This probably won't be solved until Wesnoth can run
on SDL 2.0.
2013-12-17 20:31:38 -03:00
Ignacio R. Morelle
e512b72fc8 Revert accidental change resulting in color cursors being enabled by default again 2013-12-17 20:16:40 -03:00
Ignacio R. Morelle
a2422a8f15 Move color cursors option to Advanced Preferences
It is known to break under a variety of situations, including
(apparently) running on OS X, so it's not really fit for the Display
preferences page. This is probably going to remain the case until
Wesnoth is ported to SDL 2.

Also added a more discouraging tooltip to the option.
2013-12-17 20:11:08 -03:00
Ignacio R. Morelle
bafdbfad40 preferences: Better tooltip replacement for the new lobby option...
...from 2013-01-01T19:56:28Z!shadowm@wesnoth.org
2013-01-01 22:34:15 +00:00
Ignacio R. Morelle
0a06043a79 preferences: Demote new lobby option to Advanced Preferences...
...and improve/replace related UI strings to avoid misleading players
2013-01-01 19:56:28 +00:00
Alexander van Gessel
6737ee64cc Add an advanced option to save using bzip2 instead of gzip 2012-10-24 02:14:54 +01:00
Steven Panek
90fcda5d1a Made translation mark spacing consistent. 2012-03-07 06:11:01 +00:00
Ali El Gariani
a4fc0af7e2 Rename local ToD lighting WML key...
...in preference to reset the setting to the new default. This also
better reflects the option's name.
2012-01-07 12:52:06 +00:00
Ali El Gariani
b07e2f397e Remove the bad tooltip from the local ToD light advanced preference.
It was useless and now inaccurate. Most adv. preferences don't have
such tooltip, so I just remove it (also because we are in string
freeze)
2011-12-26 22:54:54 +00:00
Ali El Gariani
04f02d9140 Enable local ToD light option by default.
This will also enable it for 1.9 users who never touched that
settings, because they only have an empty string in their preferences
file.  Only users having toggled it twice (from 'no' to 'yes' then
'no' again) will keep the 'no' state, and I assume they really wanted
that.
2011-12-26 22:54:52 +00:00
Steven Panek
44f500c960 Fixed capitalization in a preference string. 2011-10-31 21:15:44 +00:00
Ignacio R. Morelle
7430feaf45 Advanced Preferences: Converted instances of Title Case...
...in checkbox and slider labels to Sentence case per upcoming UI
Style Guide change
2011-10-30 21:27:25 +00:00
Steven Panek
f3d11bb377 Fixed preprocessor directive. 2011-10-25 15:54:12 +00:00
Fabian Müller
679b1f9acf Guarded the joystick preferences options behind an empty #ifdef. 2011-10-25 15:44:58 +00:00
Fabian Müller
8be2e66ebf Disabled all the extra joystick options in the advanced preferences. 2011-10-25 15:39:43 +00:00