summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-10-20Update: Translations from eintstranslators
russian: 2 changes by Lone_Wolf
2019-10-19Fix: add savegame version to trading age settingJack Baron
2019-10-19Fix: Bump savegame versionJack Baron
2019-10-19Feature: Configure minimum share trading yearsJack Baron
2019-10-19Codechange: Use std::vector for industry tile layoutsNiels Martin Hansen
2019-10-17Update: Translations from eintstranslators
french: 1 change by glx
2019-10-12Fix #7703: Prevent sounds being produced by inactive industries (#7752)abmyii
2019-10-08Update: Translations from eintstranslators
chinese (traditional): 1 change by firetimer chinese (simplified): 66 changes by firetimer
2019-10-08Fix #6407: Show snowy ground sprites for depots (#7671)stormcone
This is a quick fix by @KeldorKatarn: https://github.com/KeldorKatarn/OpenTTD_PatchPack/commit/65e656b9d6b24476d074ec6b41830a8f197d535b It has the drawback that snow is draw to the inside the depots as well, as the removed comment suggests.
2019-10-08Codechange: Performance improvement in k-d tree FindNearest()Gabda
2019-10-08Fix #7635: Game crash on exit scenario editor.stormcone
2019-10-07Fix: [Cygwin] Fix missing AI_ADDRCONFIG declarationJoe Stringer
Fixes the following complaints: src/network/core/address.cpp: In member function 'const sockaddr_storage* NetworkAddress::GetAddress()': src/network/core/address.cpp:134:55: error: 'AI_ADDRCONFIG' was not declared in this scope this->Resolve(this->address.ss_family, SOCK_STREAM, AI_ADDRCONFIG, nullptr, ResolveLoopProc); Signed-off-by: Joe Stringer <joe@wand.net.nz>
2019-10-07Fix: [Cygwin] Fix missing declaration of strdup()Joe Stringer
src/depend/depend.cpp: In constructor 'File::File(const char*)': src/depend/depend.cpp:170:19: error: 'strdup' was not declared in this scope this->dirname = strdup(filename); ^~~~~~ Signed-off-by: Joe Stringer <joe@wand.net.nz>
2019-10-07Fix: [Cygwin] Fix missing definitions in stdafxJoe Stringer
Fix the following compile errors: In file included from openttd/src/debug.h:15:0, from openttd/src/string.cpp:13: openttd/src/cpu.h:35:19: error: 'uint' was not declared in this scope bool HasCPUIDFlag(uint type, uint index, uint bit); openttd/src/string.cpp: In function 'char* strcasestr(const char*, const char*)': openttd/src/string.cpp:548:7: error: 'strncasecmp' was not declared in this scope if (strncasecmp(haystack, needle, needle_len) == 0) return const_cast<char *>(haystack); openttd/src/strgen/strgen_base.cpp: In function 'void EmitPlural(Buffer*, char*, int)': openttd/src/core/alloc_func.hpp:136:6: error: 'alloca' was not declared in this scope (T*)alloca((num_elements) * sizeof(T))) Signed-off-by: Joe Stringer <joe@wand.net.nz>
2019-10-06Fix 71a3e8346: strings need to be copied too.Michael Lutz
If it's not, iterating on it in a loop is quite pointless.
2019-10-04Fix 71a3e8346: decode_params need to be copied too (#7760)glx22
2019-10-04Update: Translations from eintstranslators
estonian: 12 changes by henrikp
2019-10-02Update: Translations from eintstranslators
indonesian: 2 changes by fanioz french: 3 changes by arikover hungarian: 4 changes by Brumi
2019-09-30Update: Translations from eintstranslators
czech: 91 changes by djst, 6 changes by belaseoci spanish (mexican): 2 changes by Absay
2019-09-30Fix: Signedness issue in midi driverCharles Pigott
2019-09-30Fix: clang and MSVC warnings (glx)Charles Pigott
2019-09-30Codechange: Fix warning about discarding qualifiers by *really* casting the ↵Charles Pigott
variable
2019-09-30Fix: Compilation error on MinGW due to usage of C++17 template deductionCharles Pigott
2019-09-30Codechange: Explicitly move a few variables to avoid a copy constructor ↵Charles Pigott
(fixes warning from clang)
2019-09-30Fix: Remove workaround for clang-3.8, now that GCC9 warns about itCharles Pigott
2019-09-30Fix: Quiet a bogus -Wmaybe-unitialized warning from GCC9Charles Pigott
2019-09-30Fix: GCC9's warnings about deprecated implicit assignment operatorsCharles Pigott
2019-09-29Fix fbbbc6e1931: Crash when creating orders to stations with relocated ↵frosch
station sign. (#7755) Station::xy is the position of the station sign, and not necessarily a tile of the station.
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-09-29Fix: [OSX] Macro name conflict when trying to compile the QuickTime music ↵Michael Lutz
driver.
2019-09-29Fix: [OSX] Wrong allocator usage for creating a CFString.Michael Lutz
2019-09-20Update: Translations from eintstranslators
chinese (simplified): 12 changes by ww9980
2019-09-19Update: Translations from eintstranslators
chinese (simplified): 6 changes by ww9980
2019-09-19Add #6173: New SDL 2 based video and sound drivers (#7086)nikolas
2019-09-18Update: Translations from eintstranslators
spanish (mexican): 9 changes by Absay
2019-09-17Fix #7742, 66dd7c3: widget position can be negativeglx
2019-09-16Change: [OSX] Recreate backing store if the colour profile of the screen (or ↵Michael Lutz
the screen) the game window is one changes. This will result in changing colours if moving OpenTTD from one screen to another, but should avoid performance problems if the window is moved.
2019-09-16Fix #7644: [OSX] Try to use system colour space to avoid video output ↵Michael Lutz
performance degradation.
2019-09-14Fix #7479: Don't close construction windows when changing client nameNiels Martin Hansen
2019-09-14Fix #7737, afbf6a5: missing returnJohannes E. Krause
2019-09-14Fix: inconsistent description for 32bpp-sse4-anim blitter (#7740)glx22
2019-09-13Fix: Avoid using stat to retrieve file modification times on Windows (#7731)Owen Rudge
2019-09-11Update: Translations from eintstranslators
korean: 1 change by telk5093
2019-09-10Update: Translations from eintstranslators
korean: 34 changes by telk5093
2019-09-08Fix: Use natural sort when sorting the file list.Juriy Petrochenkov
2019-09-08Add: Allow GameScript to demolish without a companyMax Maton
This allows GameScripts to shrink towns as well as grow them.
2019-09-07Fix: change Quartz driver colorSpace handling to address certain macOS ↵Andy
performance issues (#7644)
2019-09-07Fix b3fd7879: Ignore command flags when verifying script commandsNiels Martin Hansen
Multiplayer games has the server add some flags to the cmd value during the handling. These flags should not be included in the verification, mask them out. Without this masking out, scripts tend to die when executing their first command in multiplayer.
2019-09-07Fix #7188: check the validity of command callback for scripts (#7701)glx22
2019-09-06Fix #7626: Allow building drive-through stops over one-way/blocked roads ↵Daniel Lee
owned by towns (instead of crashing).