summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2019-03-08Update: Translations from eintstranslators
finnish: 14 changes by ln catalan: 8 changes by juanjo polish: 7 changes by xaxa dutch: 7 changes by JanWillem
2019-03-08Feature: Industries with neutral stations (e.g. Oil Rig) only supply/accept ↵PeterN
cargo to/from their neutral station. (#7234) This change is a controlled by a game setting, located under Environment -> Industries which allows toggling the behaviour. It defaults to enabled. "Company stations can serve industries with attached neutral stations" When enabled, industries with attached neutral station (such as Oil Rigs) may also be served by company-owned stations built nearby. This is the traditional behaviour. When disabled, these industries may only be served by their neutral station. Any nearby company-owned stations won't be able to serve them, nor will the neutral station serve anything else other than the industry.
2019-03-08Add: AI API for vehicle group colours (#7336)PeterN
2019-03-08Change: Automatically use Trackdir node key as needed if ship curve ↵Peter Nelson
penalties differ.
2019-03-08Change: Add configurable curve penalty for ships.Peter Nelson
2019-03-08Fix #7334: Ship lost after crossing bridge due to path cache not being ↵peter1138
consumed while on final bridge end.
2019-03-07Update: Translations from eintstranslators
dutch: 2 changes by JanWillem russian: 4 changes by Lone_Wolf