Jonathan G Rennison
fcded2aff7
Update house picker zone display to match settings and spec
2021-04-09 17:56:03 +01:00
Michael Lutz
96d33ab46a
Fix #8930 : [Win32] Don't handle printable keys on keydown if an edit box is in focus.
...
Handle printable input only when the matching WM_CHAR message is incoming.
Without an edit box, do the handling in keydown as usual to support hotkeys.
2021-04-09 12:24:27 +02:00
Niels Martin Hansen
785e42a6f9
Feature: Volume sliders in Game Options window
2021-04-09 12:18:52 +02:00
Niels Martin Hansen
88c92f7b7c
Codechange: Move volume control slider logic to separate functions
2021-04-09 12:18:52 +02:00
Niels Martin Hansen
64c9af0991
Add: NWidgetBase::GetCurrentRect function
2021-04-09 12:18:52 +02:00
Niels Martin Hansen
49d370185b
Change: Default music and sound effects volume to be lower
2021-04-09 12:18:52 +02:00
Wim Leflere
5233fd2751
Change: [win32] Use user UI language for initial language selection ( #8973 ) ( #8974 )
2021-04-09 11:22:03 +02:00
translators
2b86d42ddc
Update: Translations from eints
...
english (us): 3 changes by 2TallTyler
korean: 3 changes by telk5093
russian: 32 changes by Ln-Wolf
spanish: 1 change by JohnBoyFan
french: 4 changes by arikover
portuguese: 10 changes by azulcosta
2021-04-08 17:53:09 +00:00
Jonathan G Rennison
191e4266f4
Fix ftell() error sentinel value being used in allocation
2021-04-08 18:44:56 +01:00
Jonathan G Rennison
3ede756d23
Fix: Viewport drag tooltips not being removed when dragging over other windows
2021-04-08 19:34:45 +02:00
Jonathan G Rennison
ae94b2d296
Fix: Viewport drag tooltip flickering when dragging outside window
2021-04-08 19:34:45 +02:00
Jonathan G Rennison
6490b252f5
Fix changing font zoom not updating font height cache
2021-04-08 17:16:23 +01:00
translators
1529403584
Update: Translations from eints
...
norwegian (bokmal): 3 changes by Anolitt
spanish (mexican): 3 changes by absay
vietnamese: 3 changes by KhoiCanDev
german: 3 changes by danidoedel
finnish: 3 changes by hpiirai
catalan: 3 changes by J0anJosep
spanish: 3 changes by JohnBoyFan
2021-04-07 17:53:18 +00:00
Loïc Guilloux
f306d65ea3
Fix: [CMake] Use the right run-time library depending on vcpkg triplet ( #8964 )
2021-04-07 12:43:17 +02:00
Ghislain Antony Vaillant
e7cf589868
Fix: Honor default soundfont for FluidSynth
...
Debian now provides a default soundfont for FluidSynth via its alternatives system.
In short, FluidSynth is configured to look for `/usr/share/sounds/sf3/default-GM.sf3` as its default soundfont, and each soundfront package (FluidR3, OPL-3, MuseScore...) may provide or override this symlink. By default, FluidSynth is installed on Debian with the `TimGM6mb` soundfont by default due to its limited size.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929185 for further details.
2021-04-07 12:30:04 +02:00
Ghislain Antony Vaillant
9725bd8dd0
Fix: Use FluidSynth default soundfont
2021-04-07 12:29:21 +02:00
Niels Martin Hansen
746f1ca11a
Codechange: Remove the now meaningless console_cp parameter from OTTD2FS
2021-04-07 09:31:47 +02:00
Niels Martin Hansen
e0561dbded
Fix #8713 : Change OTTD2FS and FS2OTTD to return string objects instead of static buffers
2021-04-07 09:31:47 +02:00
Jonathan G Rennison
ef81729dde
Partially fix data race issues around _cur_palette
...
See: https://github.com/OpenTTD/OpenTTD/issues/8712
2021-04-06 19:32:15 +01:00
Jonathan G Rennison
825867f2c5
Fix: [Network] State conditions for sending client info/quit packets ( #8959 )
...
Use status >= STATUS_AUTHORIZED as the state criteria for all cases
where updates about other clients are sent.
This avoids the case where a client is informed that another client
has joined but not informed when it later quits, resulting in
stale entries in the client list window.
2021-04-06 19:31:52 +01:00
Peter Nelson
920bf703cd
Fix: Allow full sample range for 16-bit audio.
...
Clamping each sample value to half the available range could cause
unnecessary premature clipping with lots of sounds playing. This change
does not affect the actual volume level.
2021-04-06 19:31:14 +01:00
Peter Nelson
42fbdda9ab
Change: Apply power-of-3 scaling to master effect volume to improve perceived loudness change.
2021-04-06 19:31:14 +01:00
Bernard Teo
f0a24e98f5
Fix #8922 : Show vehicle window for single vehicle in shared order grouping ( #8926 )
2021-04-06 19:30:35 +01:00
translators
2f5035d6dc
Update: Translations from eints
...
korean: 1 change by telk5093
2021-04-06 17:53:34 +00:00
Jonathan G Rennison
d7b536ca78
Fix e094b7f1
: Wrong include path
2021-04-06 18:46:12 +01:00
Jonathan G Rennison
63ddf7f587
Crashlog: Update thread/lock handling to match GameLoop changes
2021-04-06 18:43:50 +01:00
Jonathan G Rennison
d452517c66
Fix data race warning in NetworkGameListHandleDelayedInsert
...
Avoid thread-sanitizer warning on ins_item->next
2021-04-06 18:43:50 +01:00
Loïc Guilloux
39b4a8e67e
Change: [CMake] Improve 'In-source build' error message ( #8955 )
2021-04-06 13:54:27 +02:00
Didac Perez Parera
ca783d447a
Feature: Button to reset game settings to their default values ( #8958 )
2021-04-06 12:47:44 +02:00
Jonathan G Rennison
76624e6f58
Server: Fix client state conditions for sending client info/quit packets
2021-04-06 02:21:32 +01:00
Jonathan G Rennison
0e959a0563
OpenGL: Avoid data races around _cursor
2021-04-05 23:34:01 +01:00
Jonathan G Rennison
59daa573b5
Avoid data races around modifier keys and pause/FF state
2021-04-05 23:34:01 +01:00
Jonathan G Rennison
f2bfcc5524
Partially fix data race issues around _cur_palette
...
See: https://github.com/OpenTTD/OpenTTD/issues/8712
2021-04-05 23:34:01 +01:00
Jonathan G Rennison
e9186308e9
Fix data race in OpenGLBackend::DrawMouseCursor
2021-04-05 23:34:01 +01:00
Jonathan G Rennison
70897c3e5e
Only call InteractiveRandom when game state mutex is held
2021-04-05 23:34:01 +01:00
Jonathan G Rennison
e094b7f1d6
Partially fix thread safety issues around _cur_palette
...
Replaces: 4c59dfb6
See also: https://github.com/OpenTTD/OpenTTD/issues/8712
2021-04-05 23:34:01 +01:00
Didac Perez Parera
43c465e8f4
Change: Disable NewGRF window apply button if no change was made ( #8934 )
2021-04-05 22:24:03 +02:00
Jonathan G Rennison
b496a0c442
Fix leftover string
2021-04-05 20:15:14 +01:00
Jonathan G Rennison
f94eb286f2
Fix missing MinGW thread includes
2021-04-05 20:04:53 +01:00
Jonathan G Rennison
2a13c8623c
Revert: 4c59dfb6
, move DoPaletteAnimations back into GameLoop
...
Race fix to follow
2021-04-05 19:55:53 +01:00
Jonathan G Rennison
2e6dbfee05
Merge branch 'master' into jgrpp
2021-04-05 19:31:34 +01:00
Jonathan G Rennison
6b0dfff39d
Enable showing vehicle routes in the viewport by default
2021-04-05 19:27:26 +01:00
Jonathan G Rennison
5e14b54a0c
Merge branch 'master' into jgrpp
2021-04-05 17:51:45 +01:00
Jonathan G Rennison
297b340697
Revert "OpenGL: Temporarily reduce OpenGL driver priorities"
...
This reverts commit f81c71e15b
.
2021-04-05 17:48:46 +01:00
Jonathan G Rennison
e3d9cce3ae
Fix viewport drag tooltips not being removed when dragging over other windows
2021-04-05 12:30:58 +01:00
Jonathan G Rennison
638d4cdbe0
Fix tooltip flickering when dragging outside window
2021-04-05 12:13:56 +01:00
Jonathan G Rennison
7ad8b69a74
Fix old polyrail tooltips being left on screen
2021-04-05 11:37:37 +01:00
PeterN
130a052ed5
Fix: Apply master effect volume during mixing instead of sound start. ( #8945 )
...
This makes the volume control work as most players would expect, affecting
existing playing sounds as well as new sounds.
2021-04-05 12:18:59 +02:00
Michael Lutz
1cd3a3b070
Fix #8935 : [OSX] Crash when clicking 'Save' due to wrongly-threaded OS call. ( #8944 )
2021-04-05 12:18:45 +02:00
translators
295d542911
Update: Translations from eints
...
spanish (mexican): 1 change by absay
vietnamese: 1 change by KhoiCanDev
estonian: 1 change by siimsoni
romanian: 3 changes by kneekoo
catalan: 1 change by perezdidac
portuguese: 1 change by azulcosta
2021-04-04 17:52:55 +00:00