summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-10-28Add: MeCharles Pigott
2019-10-27Fix: spelling/grammar in script_tile.hpp (#7804)James103
2019-10-27Update: Translations from eintstranslators
spanish (mexican): 2 changes by Absay
2019-10-26Fix #7733: Crash when removing a dock next to an industry without a stationCharles Pigott
2019-10-26Fix 53f8d0b81: signed/unsigned warnings (#7803)glx22
2019-10-25Fix: Solved helicopter takeoff issue with international airportsJack McKiernan
Helicopters can now take off from just outside the hangars.
2019-10-25Codechange: Replaced 255's with an enum entry TERMGROUPJack McKiernan
2019-10-25Codechange: Replaced 0's in heading field with TO_ALLJack McKiernan
2019-10-25Fix #6219: Allow taking off from hangar in commuter airportJack McKiernan
Previously, a helicopter in the hangar of a commuter airport would have to wait until HELIPAD2 was free before it could takeoff. Now, a helicopter in the hangar can takeoff from just outside the hangar.
2019-10-25Fix: Possible double path separator in FiosMakeFilenameJuriy Petrochenkov
2019-10-25Codechange: Don't use SDL_CreateRGBSurfaceWithFormat()Nikolas Nyby
This function requires libSDL 2.0.5 or higher. It looks like we don't need to use it, and can just use the original SDL_CreateRGBSurface(), with the masks set to 0, to trigger the default 8-bit format, which is SDL_PIXELFORMAT_INDEX8. Closes #7785 Note: this code path is activated by using an 8-bit blitter, like: ./bin/openttd -b 8bpp-simple
2019-10-22Add: [Script] ScriptEventVehicleAutoReplaced.glx
2019-10-21Fix #7561: Fix power/running-cost vehicle sorterdorobouNeko
2019-10-21Update: Translations from eintstranslators
finnish: 6 changes by hpiirai tamil: 62 changes by aswn dutch: 2 changes by JanWillem
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