Jonathan G Rennison
d484c32d44
Reduce sensitivity of train overheated breakdown
3 years ago
translators
e5b960eaeb
Update: Translations from eints
...
korean: 23 changes by telk5093
romanian: 1 change by kneekoo
russian: 1 change by Ln-Wolf
french: 1 change by glx22
3 years ago
Jonathan G Rennison
5d88030feb
Merge pull request #238 from reldred/newhouses_limits_tweaks
...
Extra House IDs
3 years ago
Wim Leflere
9aebfca083
Fix: clang-cl build ( #9018 )
...
Remove macro redefinitions
Add final and fallthrough attributes for clang-cl
3 years ago
PeterN
31c5b8fe0f
Fix: Invalidate cached vehicle colourmaps when changing liveries setting. ( #9006 )
3 years ago
Michael Lutz
5644c00482
Fix: Check for a validly mapped OpenGL screen buffer during driver init. ( #9007 )
3 years ago
Patric Stout
d50b934bb4
Change: reworked how the Game Option display options are drawn
...
"Hardware acceleration" was not aligned with its checkbox. So instead
of drawing the labels left and the options right, now draw settings
one by one with a spacer between label and option to get the right
spacing.
Also, use SetPIP instead of repeating a SetPadding for all but
last element.
3 years ago
Patric Stout
f0f2073006
Feature: allow a toggle to enable/disable vsync
...
Vsync should be off by default, as for most players it will be
better to play without vsync. Exception exist, mainly people who
play in fullscreen mode.
3 years ago
PeterN
56f982fa7f
Fix #9015 : Don't set free space value if not requested. ( #9016 )
3 years ago
rubidium42
df045b92ea
Fix #9008 : Validate starting year given on the command line. ( #9014 )
...
An invalid starting year causes all sorts of weird behaviour and crashes in map generation.
Now just set the appropriate setting via IConsoleSetSetting so the validation
and, if needed, clamping is performed on the starting year value.
3 years ago
Jonathan G Rennison
4c2e42fae0
Add savegame conversion and version bump for more house IDs
3 years ago
TELK
fdc8230dfa
Cleanup: Fix comment for only one form ( #9012 )
3 years ago
TELK
d0424b3cbb
Update: Korean translation
3 years ago
Jonathan G Rennison
f1cab62140
Add cheat to fix station ratings at 100%
3 years ago
Jonathan G Rennison
227041008f
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/debug.cpp
# src/lang/russian.txt
# src/misc_gui.cpp
# src/os/windows/crashlog_win.cpp
# src/os/windows/font_win32.cpp
# src/os/windows/win32.cpp
# src/rail_cmd.cpp
# src/window_gui.h
3 years ago
Jonathan G Rennison
045de24c9c
Revert "Windows: Use TLS to avoid sharing buffers for FS2OTTD, OTTD2FS, GetCurrentLocale"
...
This reverts commit 0a61671ff1
.
# Conflicts:
# src/os/windows/win32.cpp
3 years ago
Jonathan G Rennison
edfa04286b
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/release.yml
# bin/CMakeLists.txt
# src/dock_gui.cpp
# src/lang/brazilian_portuguese.txt
# src/lang/catalan.txt
# src/lang/czech.txt
# src/lang/dutch.txt
# src/lang/english.txt
# src/lang/english_US.txt
# src/lang/estonian.txt
# src/lang/finnish.txt
# src/lang/french.txt
# src/lang/german.txt
# src/lang/hungarian.txt
# src/lang/indonesian.txt
# src/lang/italian.txt
# src/lang/japanese.txt
# src/lang/korean.txt
# src/lang/lithuanian.txt
# src/lang/luxembourgish.txt
# src/lang/norwegian_bokmal.txt
# src/lang/polish.txt
# src/lang/portuguese.txt
# src/lang/romanian.txt
# src/lang/russian.txt
# src/lang/serbian.txt
# src/lang/simplified_chinese.txt
# src/lang/slovak.txt
# src/lang/spanish.txt
# src/lang/spanish_MX.txt
# src/lang/swedish.txt
# src/lang/tamil.txt
# src/lang/ukrainian.txt
# src/lang/vietnamese.txt
# src/newgrf.cpp
# src/newgrf_gui.cpp
# src/object_gui.cpp
# src/pathfinder/yapf/yapf_costrail.hpp
# src/pathfinder/yapf/yapf_node_rail.hpp
# src/rail_cmd.cpp
# src/roadveh_cmd.cpp
# src/town_cmd.cpp
# src/vehicle.cpp
# src/water_cmd.cpp
3 years ago
Peter Nelson
f9460c0c8b
Fix #8981 : Don't attempt to re-reserve path if already entering/entered depot.
3 years ago
Peter Nelson
59b6e46bce
Fix: Adjust scrolling interval of credits to account for text line height
3 years ago
Jonathan G Rennison
34e9c22c3d
Hide unused climate threshold settings depending on climate threshold mode
3 years ago
Jonathan G Rennison
40203b090f
Settings window: Add mechanism for conditionally hidden settings
3 years ago
Jonathan G Rennison
f3164b6ef4
Fix deferred window invalidations not redrawng window
3 years ago
Jonathan G Rennison
f39b6f4ba3
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/cheat_gui.cpp
# src/genworld_gui.cpp
# src/landscape.cpp
# src/lang/english.txt
# src/saveload/afterload.cpp
# src/screenshot.cpp
# src/settings_gui.cpp
# src/settings_internal.h
# src/settings_type.h
# src/table/settings.ini
# src/tile_type.h
# src/widgets/genworld_widget.h
3 years ago
Jonathan G Rennison
39b7ef31f8
Fix: Data races on cursor state in OpenGL backends
3 years ago
Jonathan G Rennison
fbd0a2e65a
Fix: Thread unsafe use of sprite cache in OpenGLBackend::DrawMouseCursor
...
See also: #8870
See also: #8977
3 years ago
frosch
c6781cbd44
Fix d4c3d01d: add plural form 14 to strgen. ( #8999 )
3 years ago
translators
0e01a7a431
Update: Translations from eints
3 years ago
Nicolae Crefelean
d4c3d01d07
Add: new plural form for Romanian translation ( #8936 )
3 years ago
translators
5a14bf3a6c
Update: Translations from eints
...
korean: 1 change by telk5093
spanish: 1 change by MontyMontana
3 years ago
Charles Pigott
c506263197
Fix #8956 : Industry disaster news messages showed the wrong location ( #8992 )
3 years ago
reldred
51c0b222cc
Extra House ID's
...
Use an extra unused bit in m3 to boost the max number of house types from 512 to 1024. So-far everything works, construction stages and animations appear unaffacted by my hubris.
3 years ago
Didac Perez Parera
47c0403320
Change: do not disable NewGRF window apply button if dev tools are enabled ( #8975 )
...
enabled
3 years ago
Niels Martin Hansen
c800dcaff8
Fix: [Win32] Font glyphs of certain widths broke
...
Font glyphs between 33 and 39 pixels wide, in the Win32 font system, used wrong alignment and caused glyphs to appear broken.
When in the 33 to 39 pixel range, glyphs without AA were rounded down to 32 pixel pitch, instead of up to 64 pixel pitch.
3 years ago
Didac Perez Parera
0cb99c5523
Codechange: nullptr deletion in DeleteWindowById ( #8941 )
3 years ago
Loïc Guilloux
c64b0946e8
Fix e0561dbde: [MinGW] use ofstring(wchar_t*) as ofstring(wstring) doesn't exist ( #8985 )
3 years ago
Patric Stout
ff6924f122
Fix 70bc55cfd6e: snow line height was set while calculating desert line ( #8989 )
...
Seems I liked copy/pasting just a tiny bit too much.
3 years ago
translators
e98aed8b48
Update: Translations from eints
...
swedish: 3 changes by DonaldDuck313
korean: 2 changes by telk5093
portuguese (brazilian): 4 changes by brunodelara-cloudcrm
3 years ago
Jonathan G Rennison
fcded2aff7
Update house picker zone display to match settings and spec
3 years ago
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.
3 years ago
Niels Martin Hansen
785e42a6f9
Feature: Volume sliders in Game Options window
3 years ago
Niels Martin Hansen
88c92f7b7c
Codechange: Move volume control slider logic to separate functions
3 years ago
Niels Martin Hansen
64c9af0991
Add: NWidgetBase::GetCurrentRect function
3 years ago
Niels Martin Hansen
49d370185b
Change: Default music and sound effects volume to be lower
3 years ago
Wim Leflere
5233fd2751
Change: [win32] Use user UI language for initial language selection ( #8973 ) ( #8974 )
3 years ago
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
3 years ago
Jonathan G Rennison
191e4266f4
Fix ftell() error sentinel value being used in allocation
3 years ago
Jonathan G Rennison
3ede756d23
Fix: Viewport drag tooltips not being removed when dragging over other windows
3 years ago
Jonathan G Rennison
ae94b2d296
Fix: Viewport drag tooltip flickering when dragging outside window
3 years ago
Jonathan G Rennison
6490b252f5
Fix changing font zoom not updating font height cache
3 years ago
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
3 years ago
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.
3 years ago
Ghislain Antony Vaillant
9725bd8dd0
Fix: Use FluidSynth default soundfont
3 years ago
Niels Martin Hansen
746f1ca11a
Codechange: Remove the now meaningless console_cp parameter from OTTD2FS
3 years ago
Niels Martin Hansen
e0561dbded
Fix #8713 : Change OTTD2FS and FS2OTTD to return string objects instead of static buffers
3 years ago
Jonathan G Rennison
ef81729dde
Partially fix data race issues around _cur_palette
...
See: https://github.com/OpenTTD/OpenTTD/issues/8712
3 years ago
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.
3 years ago
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.
3 years ago
Peter Nelson
42fbdda9ab
Change: Apply power-of-3 scaling to master effect volume to improve perceived loudness change.
3 years ago
Bernard Teo
f0a24e98f5
Fix #8922 : Show vehicle window for single vehicle in shared order grouping ( #8926 )
3 years ago
translators
2f5035d6dc
Update: Translations from eints
...
korean: 1 change by telk5093
3 years ago
Jonathan G Rennison
d7b536ca78
Fix e094b7f1: Wrong include path
3 years ago
Jonathan G Rennison
63ddf7f587
Crashlog: Update thread/lock handling to match GameLoop changes
3 years ago
Jonathan G Rennison
d452517c66
Fix data race warning in NetworkGameListHandleDelayedInsert
...
Avoid thread-sanitizer warning on ins_item->next
3 years ago
Didac Perez Parera
ca783d447a
Feature: Button to reset game settings to their default values ( #8958 )
3 years ago
Jonathan G Rennison
76624e6f58
Server: Fix client state conditions for sending client info/quit packets
3 years ago
Jonathan G Rennison
0e959a0563
OpenGL: Avoid data races around _cursor
3 years ago
Jonathan G Rennison
59daa573b5
Avoid data races around modifier keys and pause/FF state
3 years ago
Jonathan G Rennison
f2bfcc5524
Partially fix data race issues around _cur_palette
...
See: https://github.com/OpenTTD/OpenTTD/issues/8712
3 years ago
Jonathan G Rennison
e9186308e9
Fix data race in OpenGLBackend::DrawMouseCursor
3 years ago
Jonathan G Rennison
70897c3e5e
Only call InteractiveRandom when game state mutex is held
3 years ago
Jonathan G Rennison
e094b7f1d6
Partially fix thread safety issues around _cur_palette
...
Replaces: 4c59dfb6
See also: https://github.com/OpenTTD/OpenTTD/issues/8712
3 years ago
Didac Perez Parera
43c465e8f4
Change: Disable NewGRF window apply button if no change was made ( #8934 )
3 years ago
Jonathan G Rennison
b496a0c442
Fix leftover string
3 years ago
Jonathan G Rennison
f94eb286f2
Fix missing MinGW thread includes
3 years ago
Jonathan G Rennison
2a13c8623c
Revert: 4c59dfb6
, move DoPaletteAnimations back into GameLoop
...
Race fix to follow
3 years ago
Jonathan G Rennison
2e6dbfee05
Merge branch 'master' into jgrpp
3 years ago
Jonathan G Rennison
6b0dfff39d
Enable showing vehicle routes in the viewport by default
3 years ago
Jonathan G Rennison
5e14b54a0c
Merge branch 'master' into jgrpp
3 years ago
Jonathan G Rennison
297b340697
Revert "OpenGL: Temporarily reduce OpenGL driver priorities"
...
This reverts commit f81c71e15b
.
3 years ago
Jonathan G Rennison
e3d9cce3ae
Fix viewport drag tooltips not being removed when dragging over other windows
3 years ago
Jonathan G Rennison
638d4cdbe0
Fix tooltip flickering when dragging outside window
3 years ago
Jonathan G Rennison
7ad8b69a74
Fix old polyrail tooltips being left on screen
3 years ago
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.
3 years ago
Michael Lutz
1cd3a3b070
Fix #8935 : [OSX] Crash when clicking 'Save' due to wrongly-threaded OS call. ( #8944 )
3 years ago
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
3 years ago
Charles Pigott
e8a94dc8bb
Cleanup: Delete remaining Blob code
3 years ago
Charles Pigott
e8022a589d
Codechange: Replace CBlobT usage with std::vector
3 years ago
Charles Pigott
f481c9fc2c
Codechange: Replace CStrA with std::string
3 years ago
Milek7
33c5f984f5
Codechange: Use COINIT_MULTITHREADED in CoInitializeEx ( #8938 )
3 years ago
Jonathan G Rennison
95fb222852
Distribute articulated vehicle weight evenly between articulated parts
...
Instead of allocating it all to the first part
This improves realistic braking behaviour for long articulated consists
3 years ago
Jonathan G Rennison
26a123b708
Realistic braking: Cache offset of centre of mass of train
3 years ago
translators
5b1ea0ee38
Update: Translations from eints
...
swedish: 1 change by DonaldDuck313
norwegian (bokmal): 1 change by Anolitt
english (us): 1 change by 2TallTyler
chinese (simplified): 8 changes by RichardYan314
german: 1 change by danidoedel
romanian: 115 changes by kneekoo
finnish: 1 change by hpiirai
spanish: 2 changes by MontyMontana
polish: 3 changes by yazalo
3 years ago
translators
ec0c159586
Update: Translations from eints
...
korean: 1 change by telk5093
indonesian: 25 changes by dimaspaf14
romanian: 23 changes by kneekoo
3 years ago
Didac Perez Parera
e760c9fbec
Fix: adjust object and rail station selection window padding to be consistent ( #8929 )
...
consistent
3 years ago
Jonathan G Rennison
83ac5aa27a
Fix: Memory leak of airport tile layout in AirportChangeInfo (prop 0A) ( #8928 )
3 years ago
Tyler Trahan
adb9fa3b36
Feature: Press ctrl to build diagonal rivers in Scenario Editor ( #8880 )
3 years ago
stormcone
bde5396d11
Add: Hotkey to focus the build object class name filter editbox.
3 years ago
stormcone
c56e9a546d
Add: Hotkey to focus the rail station class name filter editbox.
3 years ago
milek7
295f34a9df
Fix: Freeing LanguagePack with wrong size.
3 years ago
Jonathan G Rennison
7ae5e5b89f
Fix memory leak of airport tile layout in AirportChangeInfo
3 years ago