Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-29 | Codechange: Distance between town and airport has already just been found, ↵ | PeterN | |
so use it. (#7427) Previously the distance was thrown away, only to be expensively recalculated again. | |||
2019-03-29 | Fix #7434: Incorrect use of vector iterator. (#7437) | PeterN | |
2019-03-28 | Fix: [Win64] settingsgen MSVC compile warnings (#7432) | glx22 | |
2019-03-28 | Update: Translations from eints | translators | |
luxembourgish: 29 changes by Phreeze russian: 2 changes by Lone_Wolf latin: 4 changes by Supercheese portuguese: 1 change by JayCity | |||
2019-03-28 | Fix #7165: Const overload SmallMap::Contains(key) compared wrong types. | Michael Lutz | |
Const and non-const Find() have different return types. | |||
2019-03-28 | Fix #7165: SmallMap::Erase(key) does not work correctly | stormcone | |
2019-03-27 | Fix: Incorrect display of industry production around tiles. (#7426) | PeterN | |
Display of industry production around tiles (as shown when placing a station) did not take account of the station catchment changes, so still showed production from an industry even if it was not covered by a tile. This is fixed by making a set of nearby industries that are covered, instead of looping over all possible industries. | |||
2019-03-28 | Fix: MSVC warnings (#7423) | glx22 | |
2019-03-27 | Update: Translations from eints | translators | |
finnish: 2 changes by hpiirai english (us): 17 changes by Supercheese luxembourgish: 10 changes by Phreeze dutch: 20 changes by JanWillem norwegian (bokmal): 2 changes by Leifbk latin: 16 changes by Supercheese portuguese: 3 changes by JayCity | |||
2019-03-27 | Add: [Newgrf] Some 60+ Vars for industries that were missed in #6867 | Johannes E. Krause | |
2019-03-27 | Cleanup: use switch for industry cargo vars | Johannes E. Krause | |
2019-03-27 | Feature #6053: Collapsible vehicle groups (3298) | Charles Pigott | |
2019-03-27 | Add #6189: Groups now count the total number of vehicles in subgroups (3298) | Charles Pigott | |
2019-03-27 | Change #5977: Use specific error message when attempting to create a ↵ | Charles Pigott | |
circular group hierarchy (3298) | |||
2019-03-27 | Fix #7421: Don't (directly) dereference std::vector::end() in SmallMap | Charles Pigott | |
2019-03-26 | Fix #7165: Missed 'Append() --> push_back()' replacement | stormcone | |
2019-03-26 | Fix #6564: enforce types of arguments for station name strings (#7419) | glx22 | |
2019-03-26 | Codechange: Move 2 constants into the ifdef where they're used | Charles Pigott | |
2019-03-26 | Codechange: Simplify refit cargo filter condition and stop mixing enum types | Charles Pigott | |
2019-03-26 | Codechange: Initialise a few variables that -flto seems to think could ↵ | Charles Pigott | |
possibly be uninitialised | |||
2019-03-26 | Codechange: Use range-based for-loop in Auto[Free|Delete]SmallVector | Henry Wilson | |
2019-03-26 | Cleanup: Remove unused size template parameters from SmallMap and ↵ | Henry Wilson | |
Auto[Free|Delete]SmallVector | |||
2019-03-26 | Codechange: Removed SmallVector completely | Henry Wilson | |
2019-03-26 | Codechange: Declare SmallVector as an alias for std::vector | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::[Begin|End]() with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Include() with include() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Find() with std::find() | Henry Wilson | |
2019-03-26 | Codechange: Removed SmallVector::Insert() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-26 | Codechange: Replaced SmallVector::Erase() with std::vector::erase() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Get() const with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Get(n) non-const with std::vector::data() + n | Henry Wilson | |
2019-03-26 | Codechange: Removed SmallVector::Assign() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Contains() with std::find() pattern | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::ErasePreservingOrder(pos, count) with ↵ | Henry Wilson | |
std::vector::erase() | |||
2019-03-26 | Codechange: Replaced SmallVector::ErasePreservingOrder(it, count) with ↵ | Henry Wilson | |
std::vector::erase() | |||
2019-03-26 | Codechange: Replaced SmallVector::Find() const with suitable alternatives | Henry Wilson | |
The use of std::none_of in network/core/host.cpp is driven by the non-const comparison operator use by NetworkAddress. A future commit should address the const_casts in that class to ensure const-correctness. | |||
2019-03-26 | Codechange: Replaced SmallVector::Find() non-const with std::find() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Reset() with std::vector::clear() + ↵ | Henry Wilson | |
shrink_to_fit() | |||
2019-03-26 | Codechange: Replaced SmallVector::Resize() with std::vector::resize() | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-26 | Codechange: Removed SmallVector::operator[] | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit() | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Clear() with std::vector::clear() | Henry Wilson | |
2019-03-26 | Codechange: [core] Implement SmallVector using std::vector | Henry Wilson | |
The public and protected interface to SmallVector are unchanged SmallVector now requires that items be default constructible This isn't an issue since some contained items were previously created uninitialized. Temporary default constructors are added to the following structs - SmallPair - SmallStackItem - GRFPresence Where vector<bool> is required, transition immediately to std::vector to avoid returning proxy object references. | |||
2019-03-26 | Update: Translations from eints | translators | |
greek: 51 changes by Jubilee russian: 17 changes by Lone_Wolf latin: 19 changes by Supercheese portuguese: 53 changes by JayCity | |||
2019-03-25 | Fix #7414: Reinstate marking sign dirty before removal. (#7416) | PeterN | |
2019-03-25 | Change: Do not display a newspaper about old vehicles for which replacement ↵ | stormcone | |
is activated. | |||
2019-03-25 | Fix #7410: Sign position/width not set on initial creation. (#7413) | PeterN | |
Sign width was only updated when the text was changed. This seems to work for player-placed signs as there is always a rename operation, however AIs can create a sign with text in one go, in which case the width was never set. | |||
2019-03-25 | Fix #7411: Use industry production callback (if used) on initial industry ↵ | PeterN | |
cargo generation. (#7412) |