summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-04-14Update: Translations from eintstranslators
romanian: 57 changes by kneekoo russian: 3 changes by Ln-Wolf spanish: 3 changes by MontyMontana portuguese: 7 changes by azulcosta
2021-04-13Fix: Add virtual destructor to link graph Path.Milek7
Classes derived from Path were freed through base class pointer, but no virtual destructor was present.
2021-04-12Fix #9028: [OpenGL] Clear cursor cache on destroying the OpenGL backend.Michael Lutz
2021-04-12Fix: [win32] buffer_locked state not initialised, causing _screen.dst_ptr to ↵Rubidium
be potentially not set
2021-04-12Fix: [Video] fast forward boolean states not initialised, potentially ↵Rubidium
causing unstoppable fast forward
2021-04-12Fix: [SDL] buffer_locked state not initialised, causing _screen.dst_ptr to ↵Rubidium
be potentially not set
2021-04-12Change: warn the user about the resolving of an address being extra very slowRubidium
2021-04-12Fix: split the UDP blocking of sockets to only the socket involved, and when ↵Rubidium
another thread is busy do not attempt to process the packets of that socket
2021-04-12Change: move some things only relevant to UDP from network.cpp to ↵Rubidium
network_udp.cpp
2021-04-12Fix #8874: show a warning when a NewGRF scan is requested multiple times ↵rubidium42
from the console (#9022)
2021-04-12Update: Translations from eintstranslators
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
2021-04-11Update: Translations from eintstranslators
korean: 23 changes by telk5093 romanian: 1 change by kneekoo russian: 1 change by Ln-Wolf french: 1 change by glx22
2021-04-11Fix: clang-cl build (#9018)Wim Leflere
Remove macro redefinitions Add final and fallthrough attributes for clang-cl
2021-04-11Fix: Invalidate cached vehicle colourmaps when changing liveries setting. ↵PeterN
(#9006)
2021-04-11Fix: Check for a validly mapped OpenGL screen buffer during driver init. (#9007)Michael Lutz
2021-04-11Change: reworked how the Game Option display options are drawnPatric Stout
"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.
2021-04-11Feature: allow a toggle to enable/disable vsyncPatric Stout
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.
2021-04-11Fix #9015: Don't set free space value if not requested. (#9016)PeterN
2021-04-11Fix #9008: Validate starting year given on the command line. (#9014)rubidium42
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.
2021-04-11Cleanup: Fix comment for only one form (#9012)TELK
2021-04-11Fix #8981: Don't attempt to re-reserve path if already entering/entered depot.Peter Nelson
2021-04-10Fix: Adjust scrolling interval of credits to account for text line heightPeter Nelson
2021-04-10Fix: Data races on cursor state in OpenGL backendsJonathan G Rennison
2021-04-10Fix: Thread unsafe use of sprite cache in OpenGLBackend::DrawMouseCursorJonathan G Rennison
See also: #8870 See also: #8977
2021-04-10Fix d4c3d01d: add plural form 14 to strgen. (#8999)frosch
2021-04-10Update: Translations from eintstranslators
2021-04-10Add: new plural form for Romanian translation (#8936)Nicolae Crefelean
2021-04-10Update: Translations from eintstranslators
korean: 1 change by telk5093 spanish: 1 change by MontyMontana
2021-04-10Fix #8956: Industry disaster news messages showed the wrong location (#8992)Charles Pigott
2021-04-10Change: do not disable NewGRF window apply button if dev tools are enabled ↵Didac Perez Parera
(#8975) enabled
2021-04-10Fix: [Win32] Font glyphs of certain widths brokeNiels Martin Hansen
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.
2021-04-10Codechange: nullptr deletion in DeleteWindowById (#8941)Didac Perez Parera
2021-04-10Fix e0561dbde: [MinGW] use ofstring(wchar_t*) as ofstring(wstring) doesn't ↵Loïc Guilloux
exist (#8985)
2021-04-10Fix 70bc55cfd6e: snow line height was set while calculating desert line (#8989)Patric Stout
Seems I liked copy/pasting just a tiny bit too much.
2021-04-09Update: Translations from eintstranslators
swedish: 3 changes by DonaldDuck313 korean: 2 changes by telk5093 portuguese (brazilian): 4 changes by brunodelara-cloudcrm
2021-04-09Fix #8930: [Win32] Don't handle printable keys on keydown if an edit box is ↵Michael Lutz
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-09Feature: Volume sliders in Game Options windowNiels Martin Hansen
2021-04-09Codechange: Move volume control slider logic to separate functionsNiels Martin Hansen
2021-04-09Add: NWidgetBase::GetCurrentRect functionNiels Martin Hansen
2021-04-09Change: Default music and sound effects volume to be lowerNiels Martin Hansen
2021-04-09Change: [win32] Use user UI language for initial language selection (#8973) ↵Wim Leflere
(#8974)
2021-04-08Update: Translations from eintstranslators
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-08Fix: Viewport drag tooltips not being removed when dragging over other windowsJonathan G Rennison
2021-04-08Fix: Viewport drag tooltip flickering when dragging outside windowJonathan G Rennison
2021-04-07Update: Translations from eintstranslators
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-07Fix: Honor default soundfont for FluidSynthGhislain Antony Vaillant
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-07Fix: Use FluidSynth default soundfontGhislain Antony Vaillant
2021-04-07Codechange: Remove the now meaningless console_cp parameter from OTTD2FSNiels Martin Hansen
2021-04-07Fix #8713: Change OTTD2FS and FS2OTTD to return string objects instead of ↵Niels Martin Hansen
static buffers
2021-04-06Fix: [Network] State conditions for sending client info/quit packets (#8959)Jonathan G Rennison
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.