summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-06-28Fix #8221: Missing specific error message for bridge too long (#8240)TrevorShelton
2020-06-28Fix #8216: Don't show floating text on autoreplace if cost is 0Charles Pigott
2020-06-27Doc: Acknowledge integer type mismatch in certain admin packets using ↵duck
AdminUpdateType (#8238)
2020-06-27Change: Also make roadside trees match the tree transparency optionCharles Pigott
2020-06-27Fix #8129: Crash if a news message expires while viewing the endgame screenCharles Pigott
2020-06-27Codechange: Make sure script enums are the same size as their normal ↵Charles Pigott
counterparts
2020-06-27Fix: Warning about using the wrong enum typeCharles Pigott
2020-06-27Codechange: Add WARN_FORMAT to vseprintf and fix the cascade of warnings ↵Charles Pigott
that followed
2020-06-27Fix: Compiler warnings about memsetting non-trivial classesCharles Pigott
2020-06-27Fix #8232: 'Huge screenshot' warning being shown incorrectlyAbdurrahmaan Iqbal
2020-06-27Cleanup: Give `TakeScreenshot` a more sensible nameTechGeekNZ
2020-06-27Cleanup: Remove redundant implementation of TakeScreenshotTechGeekNZ
2020-06-27Feature: Increase max possible distance from border for oil refineries and rigsdP
2020-06-25Update: Translations from eintstranslators
indonesian: 16 changes by adjayanto
2020-06-24Update: Translations from eintstranslators
swedish: 3 changes by Joel_A
2020-06-22Update: Translations from eintstranslators
ukrainian: 1 change by nsergiy korean: 1 change by telk5093
2020-06-22Fix #8230: Resolve ".." when opening files in .tar (#8231)glx22
2020-06-22Fix 63ccb36e: Incorrect string type for OrderBackup::name save/loadJonathan G Rennison
In 63ccb36e BaseConsist::name was changed from a malloced char* to a std::string. OrderBackup inherits from BaseConsist. The saveload of OrderBackup::name was not updated.
2020-06-21Fix: Thread unsafe use of NetworkAddress::GetAddressAsStringJonathan G Rennison
Remove static buffer form of NetworkAddress::GetAddressAsString. This is used in multiple threads concurrently, and is not thread-safe. Replace it with a form returning std::string.
2020-06-19Update: Translations from eintstranslators
swedish: 33 changes by Joel_A
2020-06-18Fix: Racy use of flags in TCPConnecter::CheckCallbacksJonathan G Rennison
conected and aborted flags are used concurrently from multiple threads.
2020-06-18Fix: Violation of strict weak ordering in group name sortersJonathan G Rennison
This could be caused by a group being renamed, and the old name being cached from a previous sort. See: #7838
2020-06-18Fix: Violation of strict weak ordering in engine name sorterJonathan G Rennison
This could be caused by an engine being renamed, and the old name being cached from a previous sort. See: #7838
2020-06-18Codechange: Use template type for GUIList::Sort comparatorJonathan G Rennison
2020-06-18Change: Allow command cost-estimation while paused.frosch
2020-06-18Fix: Silence some warnings when building with clang-cl on VS 2019Niels Martin Hansen
Clang-cl presents as both _MSC_VER and __clang__ in the preprocessor which makes some things confusing.
2020-06-18Fix #8104: Always add WINDOW_RESIZABLE flag to SDL2 (#8211)nikolas
This fixes a bug that can reproduced with these steps: * Start openttd in fullscreen mode * Turn off fullscreen mode * Try to resize the window. The window can't be resized.
2020-06-12Update: Translations from eintstranslators
polish: 1 change by MaksOPENTTD1 danish: 1 change by beruic
2020-06-09Cleanup: Fix typos in code comments.TechGeekNZ
2020-06-09Cleanup: Give `SetDirtyBlocks` a more descriptive name.TechGeekNZ
2020-06-09Fix: [CMake] SDL2 Sound was not includedarikover
2020-06-08Fix: Display banlist's indexes correctlyMiguel Horta
Bug introduced via commit ab711e6942
2020-06-07Cleanup: Correct typographic errors in code comments.TechGeekNZ
2020-06-07Cleanup: Add undocumented parameter to GetSpriteSize.TechGeekNZ
2020-06-05Codechange: remove #ifdef from .cpp files to exclude featuresPatric Stout
With CMake, these files are simply not compiled to start with.
2020-06-05Add: introduce CMake for project managementPatric Stout
CMake works on all our supported platforms, like MSVC, Mingw, GCC, Clang, and many more. It allows for a single way of doing things, so no longer we need shell scripts and vbs scripts to work on all our supported platforms. Additionally, CMake allows to generate project files for like MSVC, KDevelop, etc. This heavily reduces the lines of code we need to support multiple platforms from a project perspective. Addtiionally, this heavily improves our detection of libraries, etc.
2020-06-05Fix: unbreak building with ICU on macOSMarcus Calhoun-Lopez
A symbol clash breaks building ICU on macOS, and although it isn't necessary, it might as well be possible.
2020-06-05Cleanup: StationCargoList::AreMergable doxygen comment references Vehicle ↵TechGeekNZ
instead of Station.
2020-06-05Cleanup: Add note explaining how settings.h is generated from source.TechGeekNZ
2020-06-05Cleanup: Fix typo in settings.h.preamble.TechGeekNZ
2020-06-04Codechange: Realign SDL driver with SDL2 driver to ease maintenance and ↵TechGeekNZ
emphasise differences.
2020-06-01Codechange: remove has_newindustries globalYexo
2020-06-01Codechange: replace custom timer and OnGameTick() with OnHundrethTick()Yexo
2020-06-01Codechange: remove has_newhouses globalYexo
2020-06-01Add: [Script] Native priority queue; useful e.g. for pathfinders.Michael Lutz
2020-06-01Fix #8066: Try another fallback colourspace if first one failsNiels Martin Hansen
2020-06-01Fix: [Win32] Crash message not fitting in crash dialogglx
2020-06-01Fix #7970: [Win32] Disable event loop on crash to prevent recursive faultsglx
2020-06-01Fix #8166: don't crash on loading an invalid roadtype newgrfYexo
Initialization code for GRFFile::roadtype_map was copied from railtype_map. But while RailType is a byte-sized enum and could thus be initialized via memset, RoadType doesn't have a defined size.
2020-06-01Fix #8024: make online content gui more responsive while loadingYexo
Previously the internal content list was invalidated and sorted for every new item added. Now the sorting is delayed until the GUI is drawn, which means we only sort once per GUI tick. Since the amount of incoming items per GUI tick is not controlled by the GUI but rather by network speed, we were previously doing a lot of duplicate work per tick, causing the mouse cursor to lag while the list was initialized.