summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-07-10Fix #7772: Show destination on mouseover when vehicle stopped (and not in depot)Abdurrahmaan Iqbal
2020-07-10Update: Disuse of STR_ERROR_INCOMPATIBLE_ROADTrevorShelton
2020-07-10Change #8162: Conversion of Town Road, Impr. ErrorTrevorShelton
This changes the error when you attempt to convert a road owned by a town to another road, specifying that it's owned by the town rather than simply being incompatible. As the original poster of the issue pointed out, these seemed to be the only occurences of the incompatible road string, so now it's unused, but they would be left untouched in case of future use or since changing it to a different error would do the work of removing it then. If requested, it likely wouldn't be too difficult to remove the string entirely.
2020-07-09Fix: Thread unsafe use of SendPacket for PACKET_SERVER_MAP_SIZEJonathan G Rennison
NetworkTCPSocketHandler::SendPacket is not thread safe and may not be used concurrently from multiple threads without suitable locking
2020-07-03Fix: Globally apply preprocessor directive coding styleTechGeekNZ
Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places.
2020-07-02 Fix #8250: [NRT] Company infrastructure window always omits last road/tramtypestormcone
2020-07-01Update: Translations from eintstranslators
czech: 3 changes by djst
2020-06-28Change #8159: Remove now unused town cargo caches without bumping the ↵dP
savegame version
2020-06-28Fix: Make subsidies scan tiles for town acceptance and production instead of ↵dP
using desync-prone town caches
2020-06-28Revert #8157: Redundant changedP
2020-06-28Add: [NewGRF] Industry behaviour flag to override second cargo production ↵Michael Lutz
clamping for water industries when using smooth economy. Smooth economy is only used when the corresponding setting is enabled and the industries does not use the production callback.
2020-06-28Fix: Incorrect save/load array size of Town::cargo_acceptedJonathan G Rennison
In 11ab3c4e the number of cargo types was changed from 32 to 64. The save/load of Town::cargo_accepted was not updated, such that only half of the data structure is saved/loaded in savegame versions 199 to 218. Discard and regenerate data from all savegame versions prior to 219.
2020-06-28Codechange: Move SlSkipBytes to saveload.hJonathan G Rennison
2020-06-28Fix #8131: small bridges also have pillars drawnilayaraja97
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.