Peter Nelson
837994034d
Fix: Sizing of Multiplayer server list incorrect when GUI zoom doesn't match Font zoom.
...
The server information panel was scaled by GUI scale, which could result in a panel that is longer than the server list. This height difference is then maintained when the window is resized to fill the screen.
Instead, specify the minimum size by number of text lines and (summed total) padding.
4 years ago
translators
a4db7c844d
Update: Translations from eints
...
korean: 6 changes by telk5093
portuguese (brazilian): 2 changes by Greavez
4 years ago
Jonathan G Rennison
74091c3c80
Disable realistic braking for TELE, PIPE, WIRE railtypes by default
...
See: #242
4 years ago
Jonathan G Rennison
6a62b94263
Add NewGRF railtype flag to disable realistic braking for vehs of that type
...
See: #242
4 years ago
Jonathan G Rennison
ba2e6087b2
Add train cache flag for whether train using realistic braking physics
4 years ago
Jonathan G Rennison
b514d29db1
Replace TrainCache::cached_tilt with a flags field
4 years ago
translators
010d977b16
Update: Translations from eints
...
hungarian: 5 changes by nemesbala
catalan: 2 changes by J0anJosep
tamil: 3 changes by Saran-S-Menon
4 years ago
Jonathan G Rennison
cb08d56add
MinGW32: Fix 13011e00: wrong safe esp variable in asm block
4 years ago
Jonathan G Rennison
205673715c
MinGW32: Fix EnumDisplayMonitors callback calling convention compile error
4 years ago
Jonathan G Rennison
b4b3638f1b
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/lang/romanian.txt
4 years ago
Jonathan G Rennison
cb5c6902db
Fix order dest refcount mismatch warning when loading very old savegames
4 years ago
Jonathan G Rennison
9e3ac646fa
Fix desync warning messages when loading game with non-matching train braking model
4 years ago
Jonathan G Rennison
686bcb8009
Fix no vehicle tile hash update when moving train in drive-through depot
4 years ago
Jonathan G Rennison
e623560120
Fix 4c2e42fa: Wrong town caches when loading pre more-houses savegame
4 years ago
Jonathan G Rennison
7faa279250
Fix 26a123b7: Wrong variable size in VENC chunk saver
4 years ago
translators
3e0a16c027
Update: Translations from eints
...
romanian: 57 changes by kneekoo
russian: 3 changes by Ln-Wolf
spanish: 3 changes by MontyMontana
portuguese: 7 changes by azulcosta
4 years ago
Jonathan G Rennison
1ef236525a
Mapgen: Generate fuzzy ellipse shaped lakes instead of squares
4 years ago
Jonathan G Rennison
acfdc0efe8
Merge pull request #241 from telk5093/korean
...
Update: Korean translation
4 years ago
Milek7
4cd9e0f41b
Fix: Add virtual destructor to link graph Path.
...
Classes derived from Path were freed through base class pointer, but no virtual destructor was present.
4 years ago
TELK
157aa3d8b7
Update: Korean translation for Polyrail build mode
4 years ago
TELK
898a958cb2
Update: Korean translation
4 years ago
Jonathan G Rennison
6c62bce1ac
Bump water flooding savegame version and clear states on load
4 years ago
Jonathan G Rennison
1a29a1ee74
Fix building objects, trees and buoys on water/shore not clearing neighbour flooding states
4 years ago
Jonathan G Rennison
0422e2fe1e
Add misc debug flag for water flooding states
4 years ago
Jonathan G Rennison
253d54ce05
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/lang/french.txt
# src/network/network_udp.cpp
4 years ago
Jonathan G Rennison
76981ca8cd
Fix setting console command min/max display with enum settings
...
Fixes : #240
4 years ago
Michael Lutz
433602b072
Fix #9028 : [OpenGL] Clear cursor cache on destroying the OpenGL backend.
4 years ago
Rubidium
468b1c6c5d
Fix: [win32] buffer_locked state not initialised, causing _screen.dst_ptr to be potentially not set
4 years ago
Rubidium
8562395413
Fix: [Video] fast forward boolean states not initialised, potentially causing unstoppable fast forward
4 years ago
Rubidium
64e8305874
Fix: [SDL] buffer_locked state not initialised, causing _screen.dst_ptr to be potentially not set
4 years ago
Rubidium
d2fe8c2842
Change: warn the user about the resolving of an address being extra very slow
4 years ago
Rubidium
7597740bff
Fix: split the UDP blocking of sockets to only the socket involved, and when another thread is busy do not attempt to process the packets of that socket
4 years ago
Rubidium
ca6b9ad8b0
Change: move some things only relevant to UDP from network.cpp to network_udp.cpp
4 years ago
Jonathan G Rennison
737b538492
Bump savegame version, copy town to city multipliers for old savegames
4 years ago
Jonathan G Rennison
bfb57bf6a2
Adjust language files
4 years ago
rubidium42
c4bccd4f70
Fix #8874 : show a warning when a NewGRF scan is requested multiple times from the console ( #9022 )
4 years ago
translators
e722ea89f0
Update: Translations from eints
...
norwegian (bokmal): 2 changes by Anolitt
english (us): 2 changes by 2TallTyler
korean: 3 changes by telk5093
german: 2 changes by danidoedel
romanian: 35 changes by kneekoo
finnish: 2 changes by hpiirai
spanish: 4 changes by MontyMontana
french: 3 changes by glx22
portuguese: 4 changes by azulcosta
4 years ago
reldred
442210a640
Update src/town_cmd.cpp
...
fix bad operator
4 years ago
reldred
d1d27c0748
Adds additional zone configuration for cities, renames existing zone configuration to towns.
4 years ago
Jonathan G Rennison
272e583478
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/lang/korean.txt
# src/settings.cpp
4 years ago
Jonathan G Rennison
8e92a6844f
Add a "misc_debug" console command
...
Add a flag to open veh window when TrainBrakesOverheatedBreakdown called
4 years ago
Jonathan G Rennison
d7b23733b3
Bump realistic braking savegame version
4 years ago
Jonathan G Rennison
5d5100449e
Adjust realistic braking physics
...
Realistic acceleration uses 4 x the mass for acceleration as braking
Use 4 x mass for realistic braking as well to match
Increase per train length braking force
Add a power-based per train length braking force
4 years ago
Jonathan G Rennison
49d7afe7ae
Fix brakes overheated breakdown triggering only with a lower advisory max speed
4 years ago
Jonathan G Rennison
d484c32d44
Reduce sensitivity of train overheated breakdown
4 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
4 years ago
Jonathan G Rennison
5d88030feb
Merge pull request #238 from reldred/newhouses_limits_tweaks
...
Extra House IDs
4 years ago
Wim Leflere
9aebfca083
Fix: clang-cl build ( #9018 )
...
Remove macro redefinitions
Add final and fallthrough attributes for clang-cl
4 years ago
PeterN
31c5b8fe0f
Fix: Invalidate cached vehicle colourmaps when changing liveries setting. ( #9006 )
4 years ago
Michael Lutz
5644c00482
Fix: Check for a validly mapped OpenGL screen buffer during driver init. ( #9007 )
4 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.
4 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.
4 years ago
PeterN
56f982fa7f
Fix #9015 : Don't set free space value if not requested. ( #9016 )
4 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.
4 years ago
Jonathan G Rennison
4c2e42fae0
Add savegame conversion and version bump for more house IDs
4 years ago
TELK
fdc8230dfa
Cleanup: Fix comment for only one form ( #9012 )
4 years ago
TELK
d0424b3cbb
Update: Korean translation
4 years ago
Jonathan G Rennison
f1cab62140
Add cheat to fix station ratings at 100%
4 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
4 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
4 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
4 years ago
Peter Nelson
f9460c0c8b
Fix #8981 : Don't attempt to re-reserve path if already entering/entered depot.
4 years ago
Peter Nelson
59b6e46bce
Fix: Adjust scrolling interval of credits to account for text line height
4 years ago
Jonathan G Rennison
34e9c22c3d
Hide unused climate threshold settings depending on climate threshold mode
4 years ago
Jonathan G Rennison
40203b090f
Settings window: Add mechanism for conditionally hidden settings
4 years ago
Jonathan G Rennison
f3164b6ef4
Fix deferred window invalidations not redrawng window
4 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
4 years ago
Jonathan G Rennison
39b7ef31f8
Fix: Data races on cursor state in OpenGL backends
4 years ago
Jonathan G Rennison
fbd0a2e65a
Fix: Thread unsafe use of sprite cache in OpenGLBackend::DrawMouseCursor
...
See also: #8870
See also: #8977
4 years ago
frosch
c6781cbd44
Fix d4c3d01d: add plural form 14 to strgen. ( #8999 )
4 years ago
translators
0e01a7a431
Update: Translations from eints
4 years ago
Nicolae Crefelean
d4c3d01d07
Add: new plural form for Romanian translation ( #8936 )
4 years ago
translators
5a14bf3a6c
Update: Translations from eints
...
korean: 1 change by telk5093
spanish: 1 change by MontyMontana
4 years ago
Charles Pigott
c506263197
Fix #8956 : Industry disaster news messages showed the wrong location ( #8992 )
4 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.
4 years ago
Didac Perez Parera
47c0403320
Change: do not disable NewGRF window apply button if dev tools are enabled ( #8975 )
...
enabled
4 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.
4 years ago
Didac Perez Parera
0cb99c5523
Codechange: nullptr deletion in DeleteWindowById ( #8941 )
4 years ago
Loïc Guilloux
c64b0946e8
Fix e0561dbde: [MinGW] use ofstring(wchar_t*) as ofstring(wstring) doesn't exist ( #8985 )
4 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.
4 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
4 years ago
Jonathan G Rennison
fcded2aff7
Update house picker zone display to match settings and spec
4 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.
4 years ago
Niels Martin Hansen
785e42a6f9
Feature: Volume sliders in Game Options window
4 years ago
Niels Martin Hansen
88c92f7b7c
Codechange: Move volume control slider logic to separate functions
4 years ago
Niels Martin Hansen
64c9af0991
Add: NWidgetBase::GetCurrentRect function
4 years ago
Niels Martin Hansen
49d370185b
Change: Default music and sound effects volume to be lower
4 years ago
Wim Leflere
5233fd2751
Change: [win32] Use user UI language for initial language selection ( #8973 ) ( #8974 )
4 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
4 years ago
Jonathan G Rennison
191e4266f4
Fix ftell() error sentinel value being used in allocation
4 years ago
Jonathan G Rennison
3ede756d23
Fix: Viewport drag tooltips not being removed when dragging over other windows
4 years ago
Jonathan G Rennison
ae94b2d296
Fix: Viewport drag tooltip flickering when dragging outside window
4 years ago
Jonathan G Rennison
6490b252f5
Fix changing font zoom not updating font height cache
4 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
4 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.
4 years ago
Ghislain Antony Vaillant
9725bd8dd0
Fix: Use FluidSynth default soundfont
4 years ago
Niels Martin Hansen
746f1ca11a
Codechange: Remove the now meaningless console_cp parameter from OTTD2FS
4 years ago
Niels Martin Hansen
e0561dbded
Fix #8713 : Change OTTD2FS and FS2OTTD to return string objects instead of static buffers
4 years ago
Jonathan G Rennison
ef81729dde
Partially fix data race issues around _cur_palette
...
See: https://github.com/OpenTTD/OpenTTD/issues/8712
4 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.
4 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.
4 years ago
Peter Nelson
42fbdda9ab
Change: Apply power-of-3 scaling to master effect volume to improve perceived loudness change.
4 years ago
Bernard Teo
f0a24e98f5
Fix #8922 : Show vehicle window for single vehicle in shared order grouping ( #8926 )
4 years ago
translators
2f5035d6dc
Update: Translations from eints
...
korean: 1 change by telk5093
4 years ago
Jonathan G Rennison
d7b536ca78
Fix e094b7f1: Wrong include path
4 years ago
Jonathan G Rennison
63ddf7f587
Crashlog: Update thread/lock handling to match GameLoop changes
4 years ago
Jonathan G Rennison
d452517c66
Fix data race warning in NetworkGameListHandleDelayedInsert
...
Avoid thread-sanitizer warning on ins_item->next
4 years ago
Didac Perez Parera
ca783d447a
Feature: Button to reset game settings to their default values ( #8958 )
4 years ago
Jonathan G Rennison
76624e6f58
Server: Fix client state conditions for sending client info/quit packets
4 years ago
Jonathan G Rennison
0e959a0563
OpenGL: Avoid data races around _cursor
4 years ago
Jonathan G Rennison
59daa573b5
Avoid data races around modifier keys and pause/FF state
4 years ago
Jonathan G Rennison
f2bfcc5524
Partially fix data race issues around _cur_palette
...
See: https://github.com/OpenTTD/OpenTTD/issues/8712
4 years ago
Jonathan G Rennison
e9186308e9
Fix data race in OpenGLBackend::DrawMouseCursor
4 years ago
Jonathan G Rennison
70897c3e5e
Only call InteractiveRandom when game state mutex is held
4 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
4 years ago
Didac Perez Parera
43c465e8f4
Change: Disable NewGRF window apply button if no change was made ( #8934 )
4 years ago
Jonathan G Rennison
b496a0c442
Fix leftover string
4 years ago
Jonathan G Rennison
f94eb286f2
Fix missing MinGW thread includes
4 years ago
Jonathan G Rennison
2a13c8623c
Revert: 4c59dfb6
, move DoPaletteAnimations back into GameLoop
...
Race fix to follow
4 years ago
Jonathan G Rennison
2e6dbfee05
Merge branch 'master' into jgrpp
4 years ago
Jonathan G Rennison
6b0dfff39d
Enable showing vehicle routes in the viewport by default
4 years ago
Jonathan G Rennison
5e14b54a0c
Merge branch 'master' into jgrpp
4 years ago
Jonathan G Rennison
297b340697
Revert "OpenGL: Temporarily reduce OpenGL driver priorities"
...
This reverts commit f81c71e15b
.
4 years ago
Jonathan G Rennison
e3d9cce3ae
Fix viewport drag tooltips not being removed when dragging over other windows
4 years ago
Jonathan G Rennison
638d4cdbe0
Fix tooltip flickering when dragging outside window
4 years ago
Jonathan G Rennison
7ad8b69a74
Fix old polyrail tooltips being left on screen
4 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.
4 years ago
Michael Lutz
1cd3a3b070
Fix #8935 : [OSX] Crash when clicking 'Save' due to wrongly-threaded OS call. ( #8944 )
4 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
4 years ago
Charles Pigott
e8a94dc8bb
Cleanup: Delete remaining Blob code
4 years ago
Charles Pigott
e8022a589d
Codechange: Replace CBlobT usage with std::vector
4 years ago
Charles Pigott
f481c9fc2c
Codechange: Replace CStrA with std::string
4 years ago
Milek7
33c5f984f5
Codechange: Use COINIT_MULTITHREADED in CoInitializeEx ( #8938 )
4 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
4 years ago
Jonathan G Rennison
26a123b708
Realistic braking: Cache offset of centre of mass of train
4 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
4 years ago
translators
ec0c159586
Update: Translations from eints
...
korean: 1 change by telk5093
indonesian: 25 changes by dimaspaf14
romanian: 23 changes by kneekoo
4 years ago
Didac Perez Parera
e760c9fbec
Fix: adjust object and rail station selection window padding to be consistent ( #8929 )
...
consistent
4 years ago
Jonathan G Rennison
83ac5aa27a
Fix: Memory leak of airport tile layout in AirportChangeInfo (prop 0A) ( #8928 )
4 years ago
Tyler Trahan
adb9fa3b36
Feature: Press ctrl to build diagonal rivers in Scenario Editor ( #8880 )
4 years ago
stormcone
bde5396d11
Add: Hotkey to focus the build object class name filter editbox.
4 years ago
stormcone
c56e9a546d
Add: Hotkey to focus the rail station class name filter editbox.
4 years ago
milek7
295f34a9df
Fix: Freeing LanguagePack with wrong size.
4 years ago
Jonathan G Rennison
7ae5e5b89f
Fix memory leak of airport tile layout in AirportChangeInfo
4 years ago
Charles Pigott
dd798d688b
Fix #8919 : Release builds with asserts enabled ( #8925 )
4 years ago
translators
c5cb44e138
Update: Translations from eints
...
catalan: 1 change by J0anJosep
spanish: 3 changes by MontyMontana
4 years ago
Patric Stout
4d501655ad
Fix: building on Raspberry Pi failed because of const vs constexpr ( #8924 )
4 years ago
Jonathan G Rennison
850d2bfa23
Fix tile iterator leak in CmdConvertRail
4 years ago
Patric Stout
fece1c57ca
Codechange: Suppress warnings when asserts are disabled ( #8917 )
4 years ago
translators
9eb6c78a02
Update: Translations from eints
...
catalan: 2 changes by J0anJosep
4 years ago
Charles Pigott
591ea9862d
Codechange: Suppress warnings when asserts are disabled ( #8916 )
4 years ago
Jonathan G Rennison
425b725eab
Include last sync frame in desync crash log
4 years ago
Jonathan G Rennison
dc8680eec5
Ensure that cached decel values of free wagon chain heads are zeroed
4 years ago
Jonathan G Rennison
8fd4f65a85
Validate lookahead reservation end OK before calling FollowTrainReservation
4 years ago
Jonathan G Rennison
5b5e068e52
Don't check safe waiting point in FollowTrainReservation if result unused
4 years ago
Jonathan G Rennison
27b65dadbc
Refresh lookahead when starting train from stationary
4 years ago
Jonathan G Rennison
1cbb9960af
Clear train lookahead when reaching an unreserved diverging junction
4 years ago
Jonathan G Rennison
49676552bb
Use a flags parameter for ChooseTrainTrack mode
4 years ago
translators
088964a091
Update: Translations from eints
...
luxembourgish: 1 change by phreeze83
serbian: 59 changes by nkrs
4 years ago
Charles Pigott
086c95718d
Fix #8803 : Only auto-remove signals when rail can be built ( #8904 )
4 years ago
Jonathan G Rennison
5c569b1880
Validate TB exit tile when TRLF_TB_EXIT_FREE set in FollowTrainReservation
4 years ago
Jonathan G Rennison
8646506127
Prevent lookahead init for wrong way movement on signalled tunnel/bridge
4 years ago
translators
50cd6e135e
Update: Translations from eints
...
english (us): 23 changes by 2TallTyler
luxembourgish: 63 changes by phreeze83
ukrainian: 72 changes by StepanIvasyn
catalan: 5 changes by J0anJosep
turkish: 5 changes by nullaf
4 years ago
Mike
49c89cb5f6
Fix #8565 : Stopped road vehicle displays a speed different than 0 ( #8901 )
4 years ago
translators
e23ccc95f5
Update: Translations from eints
...
english (us): 7 changes by HAJDog247
czech: 18 changes by PatrikSamuelTauchim
luxembourgish: 99 changes by phreeze83
serbian: 4 changes by nkrs
catalan: 20 changes by J0anJosep
french: 1 change by arikover
portuguese: 30 changes by azulcosta
4 years ago
TELK
827eb976f1
Update: Korean translation for v0.40.5
4 years ago
Charles Pigott
583304927b
Fix #8886 : Don't try to resolve folders within tars named '.'
...
(cherry picked from commit 2d7b34bc68
)
4 years ago
reldred
213b6fe6ef
Add PR #231 : More river configuration options
4 years ago
Jonathan G Rennison
7e728fe9d6
Merge branch 'pr-230' into jgrpp
4 years ago
translators
a1230b932c
Update: Translations from eints
...
swedish: 30 changes by kustridaren
spanish (mexican): 1 change by absay
japanese: 13 changes by Azusa257
vietnamese: 1 change by KhoiCanDev
estonian: 12 changes by siimsoni
czech: 6 changes by PatrikSamuelTauchim, 2 changes by tomas-vl
chinese (simplified): 88 changes by clzls
arabic (egypt): 16 changes by AviationGamerX
luxembourgish: 4 changes by phreeze83
korean: 34 changes by telk5093
italian: 16 changes by AlphaJack
german: 1 change by danidoedel, 1 change by Wuzzy2
slovak: 30 changes by FuryPapaya
catalan: 35 changes by J0anJosep
tamil: 16 changes by Aswn
dutch: 32 changes by Afoklala
portuguese (brazilian): 14 changes by Greavez, 5 changes by jpsl00
4 years ago
Jonathan G Rennison
48498969eb
Fix through load crash when rear unit is longer than platform with no capacity
4 years ago
Charles Pigott
2d7b34bc68
Fix #8886 : Don't try to resolve folders within tars named '.'
4 years ago
reldred
882c4f0a55
Merge branch 'more_rocks_landscape_options' of https://github.com/reldred/OpenTTD-patches into more_rocks_landscape_options
4 years ago
reldred
86e7cb6d18
Allow tile height to also play a part in determining the density of rocky patches.
4 years ago
reldred
f7d11f80f3
Update src/lang/english.txt
4 years ago
Jonathan G Rennison
912c62d749
Add timetable lateness/earliness conditional order
4 years ago
translators
a36b286e04
Update: Translations from eints
...
norwegian (bokmal): 28 changes by Anolitt
spanish (mexican): 29 changes by absay
galician: 1 change by JohnBoyFan
vietnamese: 30 changes by KhoiCanDev
estonian: 31 changes by siimsoni
czech: 6 changes by tomas-vl
arabic (egypt): 73 changes by AviationGamerX
hungarian: 37 changes by pnpBrumi
german: 24 changes by danidoedel, 4 changes by matthiasradde, 2 changes by SecretIdetity
russian: 2 changes by SecretIdetity
finnish: 40 changes by lanurmi
catalan: 47 changes by J0anJosep
lithuanian: 30 changes by devbotas
spanish: 29 changes by JohnBoyFan
french: 30 changes by MalaGaM
portuguese (brazilian): 7 changes by jpsl00, 5 changes by Greavez
polish: 31 changes by Milek7
4 years ago
Jonathan G Rennison
63fda2f16e
YAPF: Add penalty when reversing at waypoint which is already reserved
4 years ago
reldred
4a169f07ab
Fix a typo in a comment in settings_type.h. I know... Minor...
4 years ago
translators
76e92f6751
Update: Translations from eints
4 years ago
Patric Stout
d0ed656fd1
Change: scale heightmaps we export to highest peak and inform the user of this value
...
Before this commit, it scaled to map-height-limit. Recently this
could also be set to "auto", meaning players don't really know
or care about this value.
This also means that if a player exported a heightmap and wanted
to import it again, looking like the exact same map, he did not
know what value for "highest peak" to use.
4 years ago
Patric Stout
13a5264438
Fix: store the recent new game_creation settings in savegames
...
This allows us to later on see what someone did, and makes sure
that "restart" command still knows how the game was created.
4 years ago
Patric Stout
f05e2e0d40
Feature: allow setting a custom terrain type to define highest peak
...
At least, TGP will try to reach it. It heavily depends on the map
if it is reachable at all. But for sure it will do its atmost to
get there!
4 years ago
Patric Stout
45c2c29c35
Add: allow setting the highest mountain for heightmaps
...
It will add some slack to the map height limit if that was set
to auto.
4 years ago
Patric Stout
422e132845
Feature: auto-detect map height limit based on generated map
...
This opens up the true power of the TGP terrain generator, as it
is no longer constrainted by an arbitrary low map height limit,
especially for extreme terrain types.
In other words: on a 1kx1k map with "Alpinist" terrain type, the
map is now really hilly with default settings.
People can still manually limit the map height if they so wish,
and after the terrain generation the limit is stored in the
savegame as if the user set it.
Cheats still allow you to change this value.
4 years ago
Patric Stout
1a1049bc0d
Change: rename setting "max_heightlevel" to "map_height_limit"
...
This better reflects what it is, and hopefully removes a bit of
the confusion people are having what this setting actually does.
Additionally, update the text on the setting to better inform
users what it is doing exactly, so they can make an educated
decision on how to change it.
Next commit will introduce an "auto" value, which should be the
new default. The rename has as added benefit that everyone will
start out on the "auto" value.
4 years ago
Patric Stout
23f27db8c3
Change: remove "maximum map height" from the New Game GUI
...
This setting influence the max heightlevel, and not as the name
suggests: the height of the generated map.
How ever you slice it, it is a very weird place to add this
setting, and it is better off being only in the settings menu.
Commits following this commit also make it more useful, so users
no longer have to care about it.
4 years ago
Patric Stout
70bc55cfd6
Feature: setting to indicate desert coverage for tropic climate
...
This is an indication value; the game tries to get as close as it
can, but due to the complex tropic rules, that is unlikely to be
exact.
In the end, it picks a height-level to base the desert/tropic
line on. This is strictly seen not needed, as we can convert any
tile to either. But it is the simplest way to get started with
this without redoing all related functions.
4 years ago
Patric Stout
cafe4eed6e
Feature: setting to indicate snow coverage for arctic climate (replaces snow line height)
...
Setting the snow coverage (in % of the map) makes a lot more sense
to the human, while still allowing the niche player to set (by
finding the correct %) a snow line height they like. This makes for
easier defaults, as it decoupled terrain height from amount of snow.
Maps can never be 100% snow, as we do not have sprites for coastal
tiles.
Internally, this calculates the best snow line height to approach
this coverage as close as possible.
4 years ago
Jonathan G Rennison
923b2eb0a9
Fix tracerestrict train is loading status condition when predicting orders
4 years ago
Milek7
7a886cb4d4
Change: Do not disallow persistent buffer mapping on AMD GPUs, as it is actually faster.
4 years ago
translators
bcaa367b68
Update: Translations from eints
...
chinese (traditional): 25 changes by SiderealArt
japanese: 81 changes by taku315
4 years ago
Koen Bussemaker
59bfed65a1
Fix #8875 : Filter string in station window breaks flow in user interface
4 years ago
reldred
67c256f437
Add PR #228 : New configure town zone multipliers
4 years ago
Patric Stout
751434ea63
Fix: placing random trees in SE crashes the game ( #8892 )
...
This used to work by accident: originally the code checked if
GenerateWorld was threaded. If not, it would abort the function.
This worked for placing trees, because it was also returning false
when it was not active.
With the recent changes, that check got removed, and this crash
started to happen. So now check if we have a modal window, which
is a very solid indication we are generating the world.
4 years ago
Jonathan G Rennison
8098274892
Fix tile iterator leak when building river/canal
...
See: https://github.com/OpenTTD/OpenTTD/pull/8880#issuecomment-806253149
4 years ago
translators
0c4443667d
Update: Translations from eints
...
slovak: 6 changes by FuryPapaya
4 years ago
reldred
59631c1899
Hopefully fix the issues with the settings menu not showing up correctly.
4 years ago
reldred
7c6d73abfa
Create new branch. Goals: Make rocks size patches and frequency configruable. Optional but highly desired: Make rocks denser/more frequent the higher the altitude (make that an optional bool?)
...
Also the number display is screwed in the settings gui. Same problem as my other patch. Need to compare it to what I did for the other var I did recently (tiles width around rivers to make desert go away) and fix this. This will do to start with.
4 years ago
translators
3b3412d561
Update: Translations from eints
...
arabic (egypt): 22 changes by AviationGamerX
4 years ago
translators
f9d24ff45e
Update: Translations from eints
...
slovak: 10 changes by FuryPapaya
4 years ago
translators
ae65ceb1a7
Update: Translations from eints
...
chinese (simplified): 2 changes by clzls
korean: 2 changes by telk5093
slovak: 9 changes by FuryPapaya
catalan: 4 changes by J0anJosep
polish: 4 changes by pAter-exe
4 years ago
Jonathan G Rennison
0e7e8d2ded
Allow shift-clicking on borrow/repay money buttons to enter amount
4 years ago
Michael Lutz
df958dc907
Fix f0f96e31: [OpenGL] Broken window resizing due to invalid buffer pitch on texture creation.
4 years ago
translators
545ca3d014
Update: Translations from eints
...
vietnamese: 118 changes by KhoiCanDev
slovak: 13 changes by FuryPapaya
4 years ago
frosch
0230624359
Fix f0f96e31: [OpenGL] warning: comparison of integer expressions of different signedness. ( #8881 )
4 years ago
Jonathan G Rennison
fa2f3ed104
Cheats window: Allow clicking money text to enter quantity
4 years ago
Michael Lutz
f0f96e3103
Fix #8871 : [OpenGL] Initialize all buffers after resize and clear back buffer. ( #8877 )
4 years ago
Jonathan G Rennison
abf8505c69
Add rainforest line height setting to map generation windows
...
See: #227
4 years ago
translators
c92358527b
Update: Translations from eints
...
ukrainian: 1 change by StepanIvasyn
4 years ago
Jonathan G Rennison
c45b4414df
Merge branch 'pr-227' into jgrpp
...
Adjust settings patxname and guiflags
4 years ago
dP
d8dfa1613f
Fix: Recompute road/railtype availability after disabling the engine
4 years ago
Peter Nelson
b43cc21214
Fix: OSK layout not scaled for 2x or 4x GUI scale.
4 years ago
reldred
25abdff790
Fix help text saying snow affects industry generation to say rainforests affect industry generation.
4 years ago
Jonathan G Rennison
aec2793487
Fix flickering of polyrail measurement tooltip
4 years ago
reldred
07397783f8
Allows configuring the height at which rainforests start, which by default was controlled by dividing the map maxheight by 4 in landscape.cpp. Default setting is 8 which matches and should provide default behavior in new map creation.
4 years ago
translators
1893aef649
Update: Translations from eints
...
spanish (mexican): 8 changes by absay
ukrainian: 13 changes by StepanIvasyn
dutch: 3 changes by Afoklala
lithuanian: 1 change by devbotas
4 years ago
Jonathan G Rennison
bac3bff716
Increase realistic braking signal sighting distance
...
(Outside of signalled tunnel/bridges)
4 years ago
translators
379b6b45e0
Update: Translations from eints
...
ukrainian: 10 changes by StepanIvasyn
portuguese: 78 changes by azulcosta
4 years ago
Jonathan G Rennison
4386da53ee
Slightly overestimate descents when deciding if reservation long enough
4 years ago
Jonathan G Rennison
8cf2b827a1
Avoid pessimising braking speed when descending slope
...
When calculating speed using variable braking force
4 years ago
Jonathan G Rennison
843dce94a4
Fix mispredicted stop location when through-loading
...
When using realistic braking and skipped train parts have different
lengths.
4 years ago
Jonathan G Rennison
b9413ea250
Remove assert from UpdateSignalsOnSegment that globset is empty
...
Just do the right thing if it isn't empty instead of asserting
4 years ago
Jonathan G Rennison
10f6562420
Stop engine ageing when introduce/expire vehicle limit years both reached
4 years ago
translators
8ad75e4798
Update: Translations from eints
...
swedish: 1 change by kustridaren
estonian: 1 change by siimsoni
russian: 5 changes by Ln-Wolf, 3 changes by SecretIdetity
ukrainian: 7 changes by StepanIvasyn
lithuanian: 31 changes by devbotas
portuguese: 54 changes by azulcosta
4 years ago
Jonathan G Rennison
a670e369db
Add setting for no vehicles introduced after given year
4 years ago
Jonathan G Rennison
f7dcd66f08
Fix unnecessary braking when leaving station with order without non-stop flag
4 years ago
translators
8b16cbaf6f
Update: Translations from eints
...
estonian: 2 changes by siimsoni
4 years ago
translators
9782268e17
Update: Translations from eints
...
swedish: 10 changes by kustridaren
norwegian (bokmal): 3 changes by buzzCraft
czech: 39 changes by PatrikSamuelTauchim
ukrainian: 4 changes by StepanIvasyn
4 years ago
Jonathan G Rennison
fb64e29c6c
Fix assertion failure when command triggers PBS tunnel/bridge unreserve
...
In the case where the signal update buffer is not currently empty
4 years ago
Jonathan G Rennison
1f360e97a1
Fix building over existing stations bypassing realistic braking moving train restrictions
4 years ago
translators
5c73f93361
Update: Translations from eints
...
english (us): 8 changes by 2TallTyler
estonian: 16 changes by siimsoni
korean: 5 changes by telk5093
italian: 32 changes by AlphaJack
german: 5 changes by Wuzzy2
danish: 15 changes by achton
lithuanian: 89 changes by devbotas
spanish: 3 changes by MontyMontana
french: 8 changes by arikover
portuguese (brazilian): 3 changes by Greavez
polish: 17 changes by yazalo, 2 changes by pAter-exe
4 years ago
Jonathan G Rennison
d6b5d6778e
Fix train overshot station advice message being shown to all companies
4 years ago
Patric Stout
9bfa7198fd
Change: Heading for 1.12 now ( #8862 )
4 years ago
Patric Stout
74c98db1b6
Fix 217071aa: spanish translation contains an invalid character ( #8863 )
4 years ago
translators
217071aa1d
Update: Translations from eints
...
norwegian (bokmal): 5 changes by Anolitt
estonian: 13 changes by siimsoni
korean: 5 changes by telk5093
italian: 1 change by AlphaJack
german: 5 changes by danidoedel
ukrainian: 15 changes by StepanIvasyn
catalan: 5 changes by J0anJosep
dutch: 5 changes by Afoklala
lithuanian: 82 changes by devbotas
spanish: 255 changes by MontyMontana
portuguese (brazilian): 5 changes by Greavez
4 years ago
Jonathan G Rennison
3f4333bcc8
Add setting to enable non-admin multiplayer clients to rename towns
4 years ago
Tyler Trahan
41baf8778b
Doc: Clarify comment that SND_05_TRAIN_THROUGH_TUNNEL is only for steam engines ( #8858 )
4 years ago
Patric Stout
c25847787e
Codechange: we are not booing straps .. we are bootstrapping
4 years ago
Patric Stout
4fe222d853
Fix: errors during bootstrap could still show up after bootstrap
...
For example, if you have a config that defines OpenGFX as baseset
but for some reason you have no basesets anymore. In that case
bootstrap downloads OpenGFX for you, but it will still show the
error that "OpenGFX was not found" after the bootstrap. This was
an error generated before the bootstrapped kicked in.
Simply muting all errors during bootstrap solves this; as we cannot
show them anyway, this is fine. Any errors that remain after
bootstrap will be generated again anyway.
4 years ago
Patric Stout
22a9d921ef
Fix: if bootstrap failed, it could end with an empty screen instead of error
...
There are various of ways bootstrap can fail:
- Failing network connection
- Incomplete download
- No write permissions
- Disk full
- (others I forgot)
They all result in a screen with no windows. To ensure we at least
always show something when anything bad happens, if the bootstrap
is not successful, show a screen what the next step for the human
should be.
4 years ago
Michael Lutz
13011e00c6
Fix #8860 : [Win32] Crashlog window wasn't reliably shown for crashes not on the main thread.
4 years ago
translators
062eeb9810
Update: Translations from eints
...
english (us): 7 changes by 2TallTyler
estonian: 17 changes by siimsoni
hungarian: 100 changes by pnpBrumi
ukrainian: 8 changes by StepanIvasyn
dutch: 24 changes by Afoklala
spanish: 338 changes by MontyMontana
french: 29 changes by MalaGaM
portuguese (brazilian): 1 change by Greavez
4 years ago
Patric Stout
5056e963ba
Fix #8851 : don't allow infinite "exec" depth in script, but limit to 10 deep
...
This means if you execute a script from a script from a script, ..
for more than 10 times, it bails out now. This should be sufficient
for even the most complex scripts.
4 years ago
Patric Stout
8230cd009d
Fix: calling "exec" from script never returned
...
Example:
exec other.script
echo hello
The "echo" was never executed.
4 years ago
Matt Kimber
bcb3313e13
Feature: allow setting maximum zoom level at which sprites are drawn ( #8604 )
4 years ago
Didac Perez Parera
e708fb38da
Feature: allow filtering on name in rail station window ( #8706 )
4 years ago
Jonathan G Rennison
883e19f2c6
Windows: Fix wrong stack pointer for crash log window on non-main thread
4 years ago
Jonathan G Rennison
f53697ce76
Windows: Call SetThreadStackGuarantee for all threads, not just main thread
4 years ago
Jonathan G Rennison
909e343f40
Merge pull request #223 from telk5093/jgrpp
...
Update: Korean translation for v0.40.4
4 years ago