summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-03-18Codechange: fix Intel C++ Compiler linking issues.Patric Stout
GetAircraftFlightLevel<Aircraft> is only used in static functions inside aircraft_cmd.cpp. With GCC, Clang and MSVC this is not an issue, but on ICC fails linking, because it doesn't find this version of this template. Possibly these two pieces of information are linked. Explicit defining the function fixes the issue.
2019-03-17Fix f58fa80e: Wrong company performance rating when money exceeds INT_MAX. ↵stormcone
(#7382) Company performance rating calculation does not take into account the companies' money when those exceeds INT_MAX.
2019-03-17Update: Translations from eintstranslators
dutch: 1 change by JanWillem russian: 1 change by Lone_Wolf
2019-03-16Cleanup: Unused lang stringsCharles Pigott
2019-03-16Remove: OPFCharles Pigott
2019-03-16Update: Translations from eintstranslators
norwegian (bokmal): 1 change by Leifbk
2019-03-16Change: Use default value for invalid multi-string settings instead of ↵PeterN
clamping to min or max value. (#7361)
2019-03-15Update: Translations from eintstranslators
romanian: 8 changes by alexmerlin1985 dutch: 2 changes by JanWillem
2019-03-15Cleanup: Update changed string in language files.peter1138
2019-03-15Fix e66cec8f86: Permit loading of industry production callback with invalid ↵peter1138
cargo type. It is only an error if the invalid result is actually used. This will be silently ignored at the moment. It is still an error if a duplicate cargo type is returned.
2019-03-13Codechange: Make FindStationsAroundTile() out-parameter stations const to ↵peter1138
prevent incorrect modification.
2019-03-13Fix #7372: FindStationsAroundTiles() with caching returns no result for ↵peter1138
industry tiles. Currently this can only be triggered by NewGRF house tiles querying for cargo acceptance history of nearby stations (var 0x64) with a tile offset, and providing an offset that happens to point to an industry tile. This serves no useful purpose.
2019-03-13Cleanup: Remove questionable syntax in track drawingJohannes E. Krause
2019-03-13Cleanup: Remove questionable syntax in town rating displayJohannes E. Krause
2019-03-13Cleanup: Remove questionable syntax in GetOrderCmdFromTileJohannes E. Krause
2019-03-13Cleanup: Remove questionable syntax in HQ size calculationJohannes E. Krause
2019-03-13Cleanup: Remove questionable syntax in station rating calculationJohannes E. Krause
2019-03-12Codechange: Update town sign on population change only when population is ↵Gabda
shown (#7368)
2019-03-11Update: Translations from eintstranslators
finnish: 110 changes by hpiirai ukrainian: 149 changes by nsergiy
2019-03-11Change: Include _current_company in crashlog AI config lineJonathan G Rennison
_current_company is not currently logged anywhere in the crashlog. _local_company is logged, despite being much less useful than _current_company. This change logs _current_company alongside _local_company.
2019-03-11Fix: MingW and MSVC compiled strgen had different path separator behaviourPatric Stout
If it was compiled with MingW, both / and \ were accepted as path separator. On MSVC, only \ was. This is an unexpected difference between binaries for the same platform. Remove this discrepancy by accepting both / and \ on all platforms.
2019-03-11Codechange: check if a define is set directly, instead of indirectlyPatric Stout
config.lib happens to set GLOBAL_DATA_DIR in case it is not DOS and not OS2, but this kind of deduction is annoying to maintain. It is better to just check if the define you want to use is set, and leave it to config.lib to set it or not depending on the OS.
2019-03-11Codechange: "basedir.h" is a system include, not a localPatric Stout
2019-03-11Codechange: ICU_SORT is in reality ICU_I18N (according to their CMake files)Patric Stout
By naming it in a different way, things get a bit confusing. Especially if we are switching to CMake, which autodetects these things, we need to use the name the authors of ICU gave it; not our interpertation of that name.
2019-03-11Codechange: ICU_LAYOUT is in reality ICU_LX (according to their CMake files)Patric Stout
By naming it in a different way, things get a bit confusing. Especially if we are switching to CMake, which autodetects these things, we need to use the name the authors of ICU gave it; not our interpertation of that name.
2019-03-11Codechange: liblzma is called liblzma, how ever strange that might bePatric Stout
It is the only library we use that calls itself with 'lib' in the name. This might be confusing, but with the arrival of cmake a lot of these things are automated. And detection will find 'liblzma', not 'lzma', like with 'lzo', 'zlib', ..
2019-03-10Update: Translations from eintstranslators
finnish: 214 changes by hpiirai norwegian (bokmal): 10 changes by Leifbk russian: 2 changes by Lone_Wolf croatian: 6 changes by VoyagerOne
2019-03-10Feature: Add road icon to road construction drop down list.peter1138
2019-03-10Feature: Add rail icon to rail construction drop down list.peter1138
2019-03-10Add: Generic drop down list string item with icon.peter1138
2019-03-10Remove: Unnecessary virtual destructors on drop down list items.peter1138
2019-03-10Remove: Unnecessary specialization of NewGRF preset list item.peter1138
2019-03-10Codechange: Use Colours type instead of byte.peter1138
2019-03-10Feature: Railtype flags to allow/disallow 90 degree curves. (#7352)Michael Lutz
2019-03-09Codechange: Make a merged k-d tree index of all viewport signsNiels Martin Hansen
2019-03-09Codechange: Make a k-d tree index of stationsNiels Martin Hansen
2019-03-09Codechange: Make a k-d tree index of townsNiels Martin Hansen
2019-03-09Codechange: Add a k-d tree generic data structureNiels Martin Hansen
2019-03-09Update: Translations from eintstranslators
finnish: 46 changes by hpiirai danish: 10 changes by nielsmh hungarian: 2 changes by Brumi
2019-03-09Fix: Show industry name in Land Area Information window for oil-rig type ↵Peter Nelson
stations instead of just 'Oil Rig'
2019-03-09Feature: Non-rectangular sparse station catchment area.Peter Nelson
2019-03-09Add: BitmapTileArea and Iterator to handle sparse tile areas.Peter Nelson
2019-03-09Codechange: Convert IndustryVector to a std::set.peter1138
2019-03-09Codechange: Convert StationList from SmallVector to std::set.peter1138
2019-03-09Add: windowshade for rail station construction windowAndy
2019-03-09Add: Add flag and railtype sprite type to draw pre-combined ground sprites. ↵PeterN
(#7231)
2019-03-09Add: Chrono based TIC() and TOC() in debugGabda
2019-03-09Cleanup: changing variable names in TIC() and TOC()Gabda
Removing double underscores to be ANSI-C standard compliant.
2019-03-08Add: Road vehicle path cache. (#7261)PeterN
2019-03-08Fix 13962a847, 00d28a500: forgotten squirrel_export run (#7345)glx22