summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-10-31Fix: Only possible to build station next to competitors by using CTRL+clickJoost Hopmans
Fix by checking only for stations owned by the current company when inspecting if there are multiple adjoining stations to the one being built. When building next to 2 or more owned stations we don't know which station should be extended. For other companies' stations that's not a problem since our station won't merge with theirs anyway. Calling to BuildStationPart should never have another company's station as a parameter to attach to unless the client is malicious, so just returning a generic error in that case.
2018-10-31Fix: [NewGRF] Make VA2 operator 11 (ror) behave well-defined when rotating ↵frosch
by 0 bits.
2018-10-31Change: Clone tool in depot window now behaves like clone button in vehicle ↵Alexander Weiss
window. Keep the tool active when share-cloning. Open the vehicle GUI when copy-cloning. (#6754)
2018-10-31Change: Gradually slow down aircraft speed on breakdown (#6932)SamuXarick
2018-10-31Codechange: Some more null checksCharles Pigott
2018-10-31Codechange: Merge some duplicated functionsCharles Pigott
2018-10-31Codechange: Turn a define into a constantCharles Pigott
2018-10-31Fix: Protect against a few out of bounds or uninitialised usage errorsCharles Pigott
2018-10-31Remove: A few bits of dead codeCharles Pigott
2018-10-31Fix: Remove various dead or unnecessary assignmentsCharles Pigott
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-10-30Fix #6951: Ensure RailTypes bitfield is always treated as 64 bitNiels Martin Hansen
Some compilers (like VC++ 2015) will otherwise narrow it in some contexts where it should not be.
2018-10-30Fix: Missing m8 data in console when using Query toolNiels Martin Hansen
When map array 8 was added, the Query tool wasn't updated to also print the value there to the console, in debug builds.
2018-10-27Fix e00908f: Visual C++ 2015 compile errorNiels Martin Hansen
Microsoft Visual C++ 2015 Update 3 (and possibly other versions) consider a struct member undefined in a static_assert in the struct body. Moving the static_assert to a member function solves the issue.
2018-10-26Codechange: Improve (un)zoom performanceJindrich Makovicka
When zooming out with a high res display, there can be about 150k sprites to be sorted before displaying. With the O(n^2) complexity of the sprite sorter, this can take several seconds. This patch works around this by sorting the sprites by the xmin coordinate first using QSort, which later allows an early bailout out of the inner loop. This is enough to cut down the full unzoom time on a 4k display to a fraction of second.
2018-10-26Update: Translations from eintstranslators
finnish: 25 changes by ln
2018-10-25Fix #4109: Add more water checks to the Oil Rig layoutSamu
Prevents Oil Rig docking tile from becoming unreachable by ships when spawning next to each other.
2018-10-23Update: Translations from eintstranslators
portuguese (brazilian): 66 changes by Tucalipe
2018-10-13Fix #6938: Don't change company value to perform cost estimations (#6939)Miguel Horta
These meddling kids dared to play with magic, but the ancients texts weren't ready for that. Refactors logic to estimate costs that dated to even before OpenTTD 0.1;
2018-10-11Fix #6898: Replace atoi() with strtoul()Miguel Horta
Normalize type and parsing of generation_seed across all files Add assert_compile() to ensure correct type
2018-10-08Update: Translations from eintstranslators
polish: 3 changes by xaxa
2018-10-03Update: Translations from eintstranslators
korean: 2 changes by telk5093
2018-10-02Update: Translations from eintstranslators
vietnamese: 63 changes by myquartz
2018-10-01Update: Translations from eintstranslators
vietnamese: 2 changes by myquartz
2018-09-30Fix #6920: Make 9.8m/s^2 a common constant for TE-calculationJohannes E. Krause
2018-09-24Update: Translations from eintstranslators
spanish (mexican): 2 changes by Absay
2018-09-20Fix #6854: Compilation with ICU 62 (#6912)Stefan Strogin
2018-09-20Fix #6892: [Script] CONFIG_RANDOM did not use the full parameter range (#6902)SamuXarick
2018-09-19Update: Translations from eintstranslators
czech: 27 changes by djst croatian: 1 change by VoyagerOne italian: 1 change by lorenzodv
2018-09-18Fix #6622: Fixes empty company name in news when gamescript constructs a townMax Maton
2018-09-16Add: BACKSPACE can be mapped as a hotkeySamuel Cochran
2018-09-12Fix #6839: OLD_GM_DIR midi search path got lost (#6900)Charles Pigott
2018-09-07Update: Translations from eintstranslators
basque: 4 changes by Thadah
2018-09-06Update: Translations from eintstranslators
russian: 1 change by Lone_Wolf
2018-09-03Fix: Better "temp" path for decoded MPSMIDI files when source filename has ↵Niels Martin Hansen
no path separators
2018-09-03Fix: Check the search paths for standard MIDI filesNiels Martin Hansen
2018-09-02Feature: [NewGRF] Increase size of persistent storage to 256.Michael Lutz
2018-09-02Fix: Variable 0x85 had no bounds checks.frosch
2018-08-17Update: Translations from eintstranslators
spanish (mexican): 1 change by Absay
2018-08-14Fix #6875: Depot building cost does not include foundation build cost (#6883)Jonathan G Rennison
2018-08-12Fix bf8d7df: Script/AI construction of rail track and waypoints (#6881)Jonathan G Rennison
2018-08-11Update: Translations from eintstranslators
croatian: 1 change by VoyagerOne
2018-08-09Update: Translations from eintstranslators
dutch: 137 changes by mrLeopold
2018-08-08Update: Translations from eintstranslators
dutch: 115 changes by mrLeopold
2018-08-07Update: Translations from eintstranslators
hebrew: 23 changes by dnd_man french: 45 changes by glx
2018-08-04Update: Translations from eintstranslators
italian: 1 change by lorenzodv
2018-08-04Fix #6805: Update CmdBuilRailWaypoint bits.J0an Josep
2018-08-04Fix #6805: Clear some m8 bits when making some tiles.J0an Josep
2018-08-04Feature: Added New Russian Ruble as currency (#6678)ScumbagDog
2018-08-03Update: Translations from eintstranslators
latvian: 8 changes by krixis02