Commit Graph

24340 Commits (9340fe9c7ceca3349df171770480683097f0e436)
 

Author SHA1 Message Date
translators 9340fe9c7c Update: Translations from eints
ukrainian: 18 changes by Strategy
4 years ago
dP 3db7cf54fd Fix: sprite preview in sprite aligner is too small with scaled UI 4 years ago
translators 2693a901f9 Update: Translations from eints
swedish: 1 change by Joel_A
4 years ago
Niels Martin Hansen 84efde8ee3 Change: Log when rejecting a TAR archive for extraction
Based on report in <https://www.tt-forums.net/viewtopic.php?f=31&t=87374>
4 years ago
Łukasz Hryniuk 3effad0bea
Fix: Properly invalidate mouse-over station coverage highlight (#8263) 4 years ago
dP 452e1e3328 Codechange #8258: Remove unused town cargo caches from the savegame 4 years ago
TechGeekNZ a10013dd00 Codechange: Spell 'Viewport' consistently
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'.
This patch makes everything consistent.
4 years ago
Michael Lutz 7d66540af5 Fix: [CMake] Don't strip final newline from regression output.
The expected regression output files all end with a newline. As such, we have to make sure we capture the output from OpenTTD with the last newline intact.
4 years ago
TechGeekNZ c0bf7cc840 Fix: GCC warns about possibly uninitialized data in signal.cpp
When compiling with '-Og', GCC warns about variables that are
initialized by reference in the condition of a 'while' loop.

This commit silences the warning by explicitly initializing the
variables in question to their respective 'invalid value' markers,
which will most likely be optimized out when the compiler realizes
the values are never used.
4 years ago
translators a56bf35409 Update: Translations from eints
french: 1 change by glx
4 years ago
translators 82672342b7 Update: Translations from eints
belarusian: 35 changes by KorneySan
4 years ago
translators 663c301e7c Update: Translations from eints
belarusian: 64 changes by KorneySan
russian: 2 changes by KorneySan
4 years ago
translators 808fbaa767 Update: Translations from eints
belarusian: 11 changes by KorneySan
4 years ago
glx 4079c47b6c Change: rewrote squirrel_export in CMake 4 years ago
glx 8794c61f25 Change: rewrote generate_widget in CMake 4 years ago
Pavel Stupnikov 26b91192a3
Feature: Center text and icons in the status bar vertically (#8273) 4 years ago
dP 706c47265e Fix: Set invalid road and tram types for rail tunnel ends 4 years ago
translators 954d0b4e5b Update: Translations from eints
korean: 1 change by telk5093
4 years ago
Michael Lutz 00eccbe298 Add: [CMake] Source group definitions to create file filters in generated project files (like the old MSVC projects). 4 years ago
glx22 db0bf20fbb Fix: ignore more things 4 years ago
frosch c434387794 Fix: Adjust .gitignore to CMake build system. 4 years ago
Abdurrahmaan Iqbal 7d2db99bfd Fix #7772: Show destination on mouseover when vehicle stopped (and not in depot) 4 years ago
TrevorShelton c39d62c245 Update: Disuse of STR_ERROR_INCOMPATIBLE_ROAD 4 years ago
TrevorShelton c7e391da93 Change #8162: Conversion of Town Road, Impr. Error
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.
4 years ago
Jonathan G Rennison 053d4f3bff Fix: Thread unsafe use of SendPacket for PACKET_SERVER_MAP_SIZE
NetworkTCPSocketHandler::SendPacket is not thread safe and may not
be used concurrently from multiple threads without suitable locking
4 years ago
Michael Lutz de4dc792a9 Fix: [CMake] Re-enable multi-threaded compilation for MSVC project files. 4 years ago
TechGeekNZ 716c883737 Fix: Globally apply preprocessor directive coding style
Global; except for the 32-bit SSE blitter, which has some #DEFINEs
in not-very-nice places.
4 years ago
glx22 97592c4093 Add: [CMake] Allow renaming of openttd binary 4 years ago
glx22 53de5b5c55 Fix: [CMake] Restore man file compression 4 years ago
stormcone 816fada2b1
Fix #8250: [NRT] Company infrastructure window always omits last road/tramtype 4 years ago
translators 94d5fcab4b Update: Translations from eints
czech: 3 changes by djst
4 years ago
Dan Villiom Podlaski Christiansen 7fd7b51593 Fix: don't search for SDL, etc., on macOS 4 years ago
Dan Villiom Podlaski Christiansen e6be8be19d Fix: remove remainining usages of FALSE in CMake files 4 years ago
Dan Villiom Podlaski Christiansen 70905ee82e Fix: fix building release tags
I tried building a tag, and got this error:

CMake Error at cmake/scripts/FindVersion.cmake:85 (string):
  string sub-command REGEX, mode REPLACE: regex "^[0-9.]*$" matched an empty
  string.
4 years ago
Dan Villiom Podlaski Christiansen c593893b56 Fix: set Mac deployment target
This silences an awful lot of warnings.
4 years ago
Dan Villiom Podlaski Christiansen 241e3adae8 Fix: use proper flags for suppressing warnings in Clang 4 years ago
Dan Villiom Podlaski Christiansen 0d46e20bd4 Add: add option for forcing coloured compiler output (useful for Ninja) 4 years ago
Dan Villiom Podlaski Christiansen 04c050f93e Fix: don't use ICU on macOS 4 years ago
dP 7045186594 Change #8159: Remove now unused town cargo caches without bumping the savegame version 4 years ago
dP 380fd8cab4 Fix: Make subsidies scan tiles for town acceptance and production instead of using desync-prone town caches 4 years ago
dP ca2604c4e2 Revert #8157: Redundant change 4 years ago
Michael Lutz 6d3c2edc59 Add: [NewGRF] Industry behaviour flag to override second cargo production 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.
4 years ago
Jonathan G Rennison 7a09413a1a Fix: Incorrect save/load array size of Town::cargo_accepted
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.
4 years ago
Jonathan G Rennison 54237b0e98 Codechange: Move SlSkipBytes to saveload.h 4 years ago
ilayaraja97 cf8ccf4b08 Fix #8131: small bridges also have pillars drawn 4 years ago
TrevorShelton a4a9908a51
Fix #8221: Missing specific error message for bridge too long (#8240) 4 years ago
glx22 63d20c029b
Fix 887b912af: MinGW requires an extra link flag with _FORTIFY_SOURCE (#8246)
see #7860
4 years ago
Charles Pigott 218db00c4c Fix #8216: Don't show floating text on autoreplace if cost is 0 4 years ago
duck 1bc7047af7
Doc: Acknowledge integer type mismatch in certain admin packets using AdminUpdateType (#8238) 4 years ago
Charles Pigott 75a2ae2f48 Change: Also make roadside trees match the tree transparency option 4 years ago