summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
AgeCommit message (Collapse)Author
2019-04-24Change: Zoom title game by UI zoom levelNiels Martin Hansen
2019-04-18Codechange: use std::vector for _resolutionsglx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-04-09Codechange: Switch DropDownList to directly use std::vector, thus making ↵Michael Lutz
AutoDeleteSmallVector obsolete. DropDownListItem are strongly managed using std::unique_ptr to ensure leak-free handling. Appropriate use of move-semantics make intent a lot clearer than parameter comments and allows the compiler to generate copy-free code for most situations.
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
2019-03-08Feature: Industries with neutral stations (e.g. Oil Rig) only supply/accept ↵PeterN
cargo to/from their neutral station. (#7234) This change is a controlled by a game setting, located under Environment -> Industries which allows toggling the behaviour. It defaults to enabled. "Company stations can serve industries with attached neutral stations" When enabled, industries with attached neutral station (such as Oil Rigs) may also be served by company-owned stations built nearby. This is the traditional behaviour. When disabled, these industries may only be served by their neutral station. Any nearby company-owned stations won't be able to serve them, nor will the neutral station serve anything else other than the industry.
2019-03-04Add: Option for population-linear town cargo generationNiels Martin Hansen
Introduce a new default algorithm for town cargo generation (passengers and mail), and a game setting to choose between the new and original algorithm. The original town cargo generation algorithm has the property of the generated amount relating to the square of each building's population, meaning large towns easily produce more cargo than can realistically be transported. The problem is excessive cargo is amplified if playing with cargodist. The new algorithm introduced instead has a linear relation to the population. The result is that smaller towns will produce slightly more cargo, while the largest towns will produce about a fourth of what they would with the original algorithm. Existing savegames will use the original algorithm, while new games will default to the new algorithm.
2019-02-25Fix 195fd0dc60: Sprite cache must still be cleared when using bitmap fonts.peter1138
2019-02-24Fix #7266: Reorder reinitialization of caches when changing font zoom level. ↵PeterN
(#7273)
2019-02-23Feature: Add option to adjust font size separately from GUI size. (#7003)Greg Carlin
Adds an option in the "Game Options" next to "Interface Size" called "Font Size". Available options are normal, double, and quad.
2019-02-01Fix: close Textfile windows when closing Option windowglx
2019-01-28Add: allow opening of one TextfileWindow per typeglx
2019-01-10Add #4115: default company colour setting (#6998)Gabda87
Works only in single player.
2018-04-29Feature #6090: Change music set during gameplayNiels Martin Hansen
2018-04-28Add: Replace independment map scrolling GUI settings with single option, and ↵PeterN
add choice to not lock cursor position when scrolling. (#6756)
2017-03-25(svn r27827) -Codechange (r27819): Deduplicate code. (adf88)frosch
2017-03-24(svn r27825) -Feature [FS#4950]: Add option to close windows with right ↵peter1138
click (Flamefire)
2017-03-23(svn r27819) -Fix (r26990): Update viewport sign dimensions when changing ↵peter1138
GUI zoom level.
2015-08-09(svn r27366) -Fix [FS#6358]: Clickareas in settings tree were misaligned ↵frosch
when the filter warning was displayed, if the setting height was defined by the icons instead of the font.
2015-08-09(svn r27365) -Fix: Center settings filter warning also vertically, and also ↵frosch
in case of multiple lines.
2014-10-21(svn r27026) -Fix: some (older-ish) GCC compiler warningsrubidium
2014-10-12(svn r27004) -Codechange: Make GUI size apply to (sprite-font) text as well.peter1138
2014-10-11(svn r26990) -Feature: Add option to choose normal, double or quad-size ↵peter1138
interface.
2014-10-09(svn r26986) -Change: Rename 'Advanced Settings' to just 'Settings'.frosch
2014-10-04(svn r26959) -Codechange: GUI-scale for settings window.peter1138
2014-09-21(svn r26886) -Change (r26885): the max height setting belongs more in the ↵rubidium
limitations section of the settings
2014-09-21(svn r26885) -Feature-ish: user interface for limiting the maximum height of ↵rubidium
a map
2014-09-21(svn r26882) -Feature: allow limiting the height of bridges (ic111)rubidium
2014-09-20(svn r26858) -Codechange: Rearrange smallmap filter and settings ↵peter1138
expand/collapse buttons to fix frame borders and allow buttons to fit height of resize button.
2014-09-13(svn r26815) -Change: Allow to set the granularity of the tooltip hover time ↵planetmaker
in milliseconds instead of seconds. New default value is 250ms
2014-07-08(svn r26678) -Codechange: Simplify settings widget layout. (Juanjo)frosch
2014-06-05(svn r26629) -Fix [FS#6012]: If the video driver fails to supply a list of ↵frosch
resolutions, display an error message.
2014-06-01(svn r26623) -Codechange: Make SettingsEntry and SettingsPage polymorphic ↵frosch
classes.
2014-06-01(svn r26622) -Codechange: Construct settings tree on the heap instead of ↵frosch
using static arrays.
2014-05-25(svn r26614) -Add: Adv. settings window can handle the autosave setting as well.frosch
2014-05-21(svn r26604) -Add: Most of the mapgen settings to advances settings window.frosch
2014-04-27(svn r26536) -Change: Reshuffle advanced settings tree.frosch
2014-04-27(svn r26533) -Codechange: Rename some stringsfrosch
2014-04-27(svn r26528) -Remove: A bunch of archaic settings from the advanced settings ↵frosch
GUI.
2014-04-27(svn r26525) -Remove: Screenshot format setting from GUI.frosch
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-02-09(svn r26322) -Feature: Warn the user about empty setting search results too.alberth
2014-02-09(svn r26321) -Feature: Warn the user about missing setting search results ↵alberth
due to filtering.
2014-02-09(svn r26320) -Add: Label for both the filter category and filter type in the ↵alberth
advanced settings window.