Niels Martin Hansen
52572cafa6
Add: Option for population-linear town cargo generation
...
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-03-04 20:19:44 +01:00
peter1138
c2e4a8c9bf
Fix 195fd0dc60
: Sprite cache must still be cleared when using bitmap fonts.
2019-02-25 19:46:03 +00:00
PeterN
195fd0dc60
Fix #7266 : Reorder reinitialization of caches when changing font zoom level. ( #7273 )
2019-02-24 16:27:44 +00:00
Greg Carlin
00d28a500d
Feature: Add option to adjust font size separately from GUI size. ( #7003 )
...
Adds an option in the "Game Options" next to "Interface Size" called "Font Size". Available options are normal, double, and quad.
2019-02-23 08:27:46 +00:00
glx
8418e27403
Fix: close Textfile windows when closing Option window
2019-02-01 16:46:45 +01:00
glx
b22fbfbe3d
Add: allow opening of one TextfileWindow per type
2019-01-28 23:43:18 +00:00
Gabda87
a0293d313d
Add #4115 : default company colour setting ( #6998 )
...
Works only in single player.
2019-01-10 10:45:38 +01:00
Niels Martin Hansen
19f5a6cbb0
Feature #6090 : Change music set during gameplay
2018-04-29 19:26:05 +02:00
PeterN
cfe6a8ea4f
Add: Replace independment map scrolling GUI settings with single option, and add choice to not lock cursor position when scrolling. ( #6756 )
2018-04-28 22:27:14 +01:00
frosch
610bdbd68b
(svn r27827) -Codechange (r27819): Deduplicate code. (adf88)
2017-03-25 12:21:17 +00:00
peter1138
d934ef9b00
(svn r27825) -Feature [FS#4950]: Add option to close windows with right click (Flamefire)
2017-03-24 18:55:16 +00:00
peter1138
c5660b58d9
(svn r27819) -Fix (r26990): Update viewport sign dimensions when changing GUI zoom level.
2017-03-23 18:07:04 +00:00
frosch
bdf090b406
(svn r27366) -Fix [FS#6358]: Clickareas in settings tree were misaligned when the filter warning was displayed, if the setting height was defined by the icons instead of the font.
2015-08-09 10:22:51 +00:00
frosch
0982762c22
(svn r27365) -Fix: Center settings filter warning also vertically, and also in case of multiple lines.
2015-08-09 10:21:06 +00:00
rubidium
d1429cd936
(svn r27026) -Fix: some (older-ish) GCC compiler warnings
2014-10-21 16:58:15 +00:00
peter1138
1088ad48fc
(svn r27004) -Codechange: Make GUI size apply to (sprite-font) text as well.
2014-10-12 20:43:25 +00:00
peter1138
253c91b17d
(svn r26990) -Feature: Add option to choose normal, double or quad-size interface.
2014-10-11 13:22:37 +00:00
frosch
33f4f0b464
(svn r26986) -Change: Rename 'Advanced Settings' to just 'Settings'.
2014-10-09 21:16:29 +00:00
peter1138
42c65264f8
(svn r26959) -Codechange: GUI-scale for settings window.
2014-10-04 20:34:43 +00:00
rubidium
d600334c09
(svn r26886) -Change (r26885): the max height setting belongs more in the limitations section of the settings
2014-09-21 12:35:34 +00:00
rubidium
c72d362840
(svn r26885) -Feature-ish: user interface for limiting the maximum height of a map
2014-09-21 12:25:04 +00:00
rubidium
ce04c49e3d
(svn r26882) -Feature: allow limiting the height of bridges (ic111)
2014-09-21 11:40:11 +00:00
peter1138
e353ef5908
(svn r26858) -Codechange: Rearrange smallmap filter and settings expand/collapse buttons to fix frame borders and allow buttons to fit height of resize button.
2014-09-20 10:23:38 +00:00
planetmaker
61e129cc22
(svn r26815) -Change: Allow to set the granularity of the tooltip hover time in milliseconds instead of seconds. New default value is 250ms
2014-09-13 13:30:31 +00:00
frosch
c3c966fd79
(svn r26678) -Codechange: Simplify settings widget layout. (Juanjo)
2014-07-08 20:06:45 +00:00
frosch
06b210ff42
(svn r26629) -Fix [FS#6012]: If the video driver fails to supply a list of resolutions, display an error message.
2014-06-05 17:14:16 +00:00
frosch
31095e4181
(svn r26623) -Codechange: Make SettingsEntry and SettingsPage polymorphic classes.
2014-06-01 12:14:32 +00:00
frosch
7e928a6b80
(svn r26622) -Codechange: Construct settings tree on the heap instead of using static arrays.
2014-06-01 11:51:24 +00:00
frosch
0d565ae612
(svn r26614) -Add: Adv. settings window can handle the autosave setting as well.
2014-05-25 15:02:04 +00:00
frosch
0c9e666d96
(svn r26604) -Add: Most of the mapgen settings to advances settings window.
2014-05-21 18:07:30 +00:00
frosch
01d9c7b336
(svn r26536) -Change: Reshuffle advanced settings tree.
2014-04-27 20:52:56 +00:00
frosch
380a1de250
(svn r26533) -Codechange: Rename some strings
2014-04-27 20:40:52 +00:00
frosch
0ba81bff17
(svn r26528) -Remove: A bunch of archaic settings from the advanced settings GUI.
2014-04-27 15:35:31 +00:00
frosch
ebd2d3ccef
(svn r26525) -Remove: Screenshot format setting from GUI.
2014-04-27 15:13:46 +00:00
rubidium
9ed12b0f07
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
2014-04-25 15:40:32 +00:00
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
alberth
77e62f0b98
(svn r26322) -Feature: Warn the user about empty setting search results too.
2014-02-09 13:06:35 +00:00
alberth
202f21f262
(svn r26321) -Feature: Warn the user about missing setting search results due to filtering.
2014-02-09 13:05:46 +00:00
alberth
75504d24bf
(svn r26320) -Add: Label for both the filter category and filter type in the advanced settings window.
2014-02-09 13:04:50 +00:00
rubidium
2618d960e3
(svn r26209) -Codechange: remove some template magic and simplify some code
2014-01-02 22:41:58 +00:00
rubidium
83eeba28b7
(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns
2013-11-24 14:46:26 +00:00
frosch
12ddbb7cb1
(svn r25864) -Fix: Use the actual sprite dimensions for sizing the dropdown arrow of dropdown widgets.
2013-10-13 19:18:30 +00:00
rubidium
f9c9ff6ec3
(svn r25508) -Change: split unit localisation choice into a choice per type of unit, and move it to the advanced settings
...
-Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units
-Feature: have weights and volumes in imperial units (short tons, gallons)
2013-06-29 09:47:18 +00:00
fonsinchen
a49a4eec6e
(svn r25351) -Add: settings for link graph
2013-06-09 12:56:35 +00:00
frosch
4e4e635916
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
2013-05-26 19:30:07 +00:00
frosch
8157a8afd8
(svn r25290) -Add: Assign string names to notable windows.
2013-05-26 19:25:01 +00:00
frosch
56e4a8c4d6
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
2013-05-26 19:23:42 +00:00
planetmaker
fae3cbae9f
(svn r25075) -Codechange: Allow for more than 32 currencies
2013-03-09 16:24:43 +00:00
planetmaker
bd301e8475
(svn r25074) -Cleanup: Simplify currency selection code slightly
2013-03-09 16:23:22 +00:00
planetmaker
c22bbf5293
(svn r25072) -Codechange: Don't require the custom currency to be the last defined one
2013-03-09 16:16:17 +00:00
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
frosch
2161747eb7
(svn r24863) -Remove: Now redundant method to filter for non-local settings differing from default settings.
2012-12-26 17:48:25 +00:00
frosch
c4c3d00578
(svn r24862) -Add: Settings type filter to adv. settings GUI.
2012-12-26 17:47:02 +00:00
frosch
dbe46698ff
(svn r24861) -Codechange: Put all filters for settings into a single struct.
2012-12-26 17:44:42 +00:00
frosch
0efd29b71b
(svn r24860) -Codechange: Add SettingDesc::GetType().
2012-12-26 17:43:35 +00:00
frosch
9bce12a0ce
(svn r24859) -Codechange: Make the dropdown handling of the adv. settings GUI more generic.
2012-12-26 17:42:29 +00:00
frosch
3ce8d2ce70
(svn r24846) -Add: Advanced settings to disable certain sound effects.
2012-12-23 21:09:09 +00:00
frosch
345c3203d7
(svn r24845) -Add: News ticker sound setting to adv. settings window.
2012-12-23 21:08:42 +00:00
frosch
bc84f30fc1
(svn r24844) -Add: News display settings to adv. settings window.
2012-12-23 21:08:02 +00:00
frosch
74ad6012ca
(svn r24793) -Change: Move script opcodes setting from Economy to AI settings.
2012-12-05 19:39:48 +00:00
frosch
6bb43a6561
(svn r24792) -Add: Readd difficulty settings to advanced settings unless they are already present in other settings windows.
2012-12-05 19:38:44 +00:00
frosch
ff6880f9dd
(svn r24791) -Remove: Difficulty settings window.
2012-12-05 19:37:15 +00:00
frosch
d1ab0f03bc
(svn r24790) -Remove: Classic difficulty profiles.
2012-12-05 19:36:41 +00:00
frosch
812ae4140a
(svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs.
2012-12-05 19:36:04 +00:00
frosch
22dc45738d
(svn r24787) -Fix: Unify checks for editability of settings.
2012-12-05 19:35:09 +00:00
frosch
5b2da98ca3
(svn r24785) -Add: Various methods to open the OSK. (based on patch by Eagle_rainbow)
2012-12-05 19:34:25 +00:00
alberth
732e073261
(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)
2012-12-01 13:12:39 +00:00
frosch
c283a41248
(svn r24743) -Change: Unify the behaviour of ESC in filter editboxes.
2012-11-14 22:50:39 +00:00
frosch
f5d8ba5d7f
(svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead.
2012-11-14 22:50:35 +00:00
frosch
6e6d94a2d1
(svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString.
2012-11-14 22:50:26 +00:00
frosch
f6d4200f86
(svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor.
2012-11-14 22:50:17 +00:00
frosch
2c22fe98dd
(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged.
2012-11-13 21:47:07 +00:00
frosch
c4d7c8dd42
(svn r24733) -Codechange: Move handling of editbox keys to window class.
2012-11-13 21:47:02 +00:00
frosch
6d1fe626f5
(svn r24729) -Codechange: Unify the handling of HEBR_EDITING.
2012-11-13 21:46:46 +00:00
frosch
336fcbc50e
(svn r24728) -Codechange: Unify usage of OnOSKInput.
2012-11-13 21:46:40 +00:00
frosch
137adb3496
(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.
2012-11-13 21:46:33 +00:00
frosch
17025fa6ea
(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.
2012-11-13 21:46:19 +00:00
frosch
03736af2ae
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
2012-11-11 16:10:43 +00:00
michi_cc
2c171f2f29
(svn r24675) -Fix (r24632): MSVC performance warning.
2012-11-08 21:46:54 +00:00
frosch
dc930b6689
(svn r24672) -Add [FS#5356]: Remember the basic/advanced/expert filter selection.
2012-11-08 11:20:32 +00:00
frosch
69a62452be
(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow)
2012-11-08 10:04:00 +00:00
frosch
79a1e6450b
(svn r24670) -Change: Drop 'signal density' from adv. settings GUI. It is more suited to be only changed via the signal GUI.
2012-11-08 10:02:09 +00:00
frosch
c27a026d17
(svn r24669) -Fix: Auto-expand advanced settings only when selecting a 'deviation' filter.
2012-11-08 09:58:37 +00:00
yexo
73858a75b3
(svn r24650) -Fix (r24647, r24648): fixing logic errors is hard
2012-10-29 20:23:17 +00:00
yexo
c4fa82adba
(svn r24648) -Fix (r24647): svn diff != ||
2012-10-29 20:08:30 +00:00
yexo
23054a3ab5
(svn r24647) -Feature: add new filter option to the advanced settings window to show only changed settings (Eagle_rainbow)
2012-10-29 19:53:13 +00:00
frosch
d33439721c
(svn r24633) -Add: Autoexpand the adv. settings tree, if a filter term is entered immediately after opening the window without any manual expanding/collapsing.
2012-10-27 15:26:34 +00:00
frosch
2d550a7579
(svn r24632) -Feature: Add text filtering to advanced settings.
2012-10-27 15:26:17 +00:00
frosch
716014c410
(svn r24631) -Feature: Add buttons to expand/collapse all to advanced settings GUI.
2012-10-27 15:25:57 +00:00
frosch
72fc771039
(svn r24590) -Feature: More options for the auto-scroll setting. (adf88)
2012-10-13 09:16:20 +00:00
yexo
5192155253
(svn r24467) -Codechange [FS#5236]: make textfile window class slightly more general (LordAro)
2012-08-13 18:52:47 +00:00
frosch
cd867eb573
(svn r24411) -Add [FS#5244-ish]: Display the a setting type in the adv. settings description which explains the scope of changes to a particular setting.
2012-07-17 20:18:18 +00:00
frosch
f7c9620271
(svn r24316) -Feature: Allow setting adv. settings with limited range using a dropdown list.
2012-06-01 15:19:38 +00:00
frosch
65f51240cd
(svn r24313) -Fix: Some obiwans wrt. clicking on setting buttons.
2012-06-01 15:08:40 +00:00
frosch
b71b4015a2
(svn r24311) -Add: DrawDropDownButton() to draw dropdown buttons independent of actual widgets.
2012-06-01 14:41:47 +00:00
frosch
056f779334
(svn r24310) -Codechange: Add named constants for the dimensions of settings buttons, and generally make their usage more consistent.
2012-06-01 14:41:09 +00:00
frosch
198de5397e
(svn r24309) -Codechange: Split some functions from gui.h to settings_gui.h
2012-06-01 10:44:45 +00:00
frosch
f9df5f65c7
(svn r24298) -Feature: Display default values for adv. settings in the settings description.
2012-05-28 13:34:46 +00:00
frosch
09bdd4c773
(svn r24297) -Codechange: Split DParam-setup for drawing setting values to a separate function.
2012-05-28 13:32:38 +00:00
frosch
41c8df35db
(svn r24296) -Codechange: No need to pass a member variable to a member function.
2012-05-28 13:29:05 +00:00