Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-21 | Codechange: Replace FOR_ALL_INDUSTRIES with range-based for loops | glx | |
2019-12-21 | Codechange: Replace FOR_ALL_DEPOTS with range-based for loops | glx | |
2019-12-21 | Codechange: Replace station related FOR_ALL with range-based for loops | glx | |
2019-12-21 | Codechange: Replace FOR_ALL_COMPANIES with range-based for loops | glx | |
2019-12-01 | Fix #7847: Use ViewportSign coordinates for sign Kdtree coordinates (#7849) | Niels Martin Hansen | |
Ensure the same coordinates are used for station/town/player signs regardless of how the landscape changes below it after the coordinates were first determined. By keeping track of whether each ViewportSign is valid for Kdtree use (and only ever registering the viewport sign when the object is valid) a lot of code can be simplified and become more robust at the same time. | |||
2019-11-20 | Revert #7837, 7e22f243e: OpenTTD tries to replicate the original game mechanics. | frosch | |
Making numbers look nice and correlate is no goal, and in this case they actually did not correlate. | |||
2019-11-18 | Fix: typo in town growth rates (#7837) | Yourself | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-08-17 | Add #6887: Option to show zone inside local authority boundary of towns | Gabda | |
Can be found at town information > local authority window Layout for button is same as Graph Keys Turn on/off for every town individually | |||
2019-05-01 | Feature: Add NotRoadTypes (NRT) | peter1138 | |
2019-04-29 | Codechange: Remove Company/OwnerByte types | Charles Pigott | |
2019-04-29 | Codechange: Remove TownLayoutByte type | Charles Pigott | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-04-02 | Fix #7440: Remove town sign when deleting town, not add it once more | Niels Martin Hansen | |
2019-03-26 | Cleanup: Remove unused size template parameters from SmallMap and ↵ | Henry Wilson | |
Auto[Free|Delete]SmallVector | |||
2019-03-26 | Codechange: Replace SmallVector::Clear() with std::vector::clear() | Henry Wilson | |
2019-03-12 | Codechange: Update town sign on population change only when population is ↵ | Gabda | |
shown (#7368) | |||
2019-03-09 | Codechange: Make a merged k-d tree index of all viewport signs | Niels Martin Hansen | |
2019-03-09 | Codechange: Make a k-d tree index of stations | Niels Martin Hansen | |
2019-03-09 | Codechange: Make a k-d tree index of towns | Niels Martin Hansen | |
2019-03-09 | Feature: Non-rectangular sparse station catchment area. | Peter Nelson | |
2019-03-04 | Add: Option for population-linear town cargo generation | Niels Martin Hansen | |
Introduce a new default algorithm for town cargo generation (passengers and mail), and a game setting to choose between the new and original algorithm. The original town cargo generation algorithm has the property of the generated amount relating to the square of each building's population, meaning large towns easily produce more cargo than can realistically be transported. The problem is excessive cargo is amplified if playing with cargodist. The new algorithm introduced instead has a linear relation to the population. The result is that smaller towns will produce slightly more cargo, while the largest towns will produce about a fourth of what they would with the original algorithm. Existing savegames will use the original algorithm, while new games will default to the new algorithm. | |||
2019-03-03 | Fix #7043, Fix #7274: Delete town owned bridge based on adjacent tile ↵ | PeterN | |
ownership, not nearest town. (#7284) This only affects failed town generation, as towns do not delete bridges under any other circumstances. The existing test performed badly with a large number of towns due to having to calculate the nearest town, and also by its nature assumed a bridge was built by the nearest town, leading to bridges of nearby large towns be removed incorrectly. If we gain the ability to quickly retrieve the correct town (which is _not_ the nearest town) from the bridge, this change should be reviewed. | |||
2019-02-28 | Change: Allow towns to build bridges over rails and one-way roads. (#7291) | SamuXarick | |
2019-01-21 | Add: Houses can accept up to 16 different cargo types via NewGRF. | Niels Martin Hansen | |
New Action0 property 23 for feature 07, variable length, format B n*(B B). Initial byte is number of structures following. First byte in structure is cargo id, second is acceptance level in 1/8 units. | |||
2019-01-17 | Fix: Some code and comment typos | nikolas | |
Found with codespell | |||
2019-01-12 | Codechange: Define INVALID_TOWN as a TownID (#7044) | Joan Josep | |
2018-10-31 | Fix: Protect against a few out of bounds or uninitialised usage errors | Charles Pigott | |
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
2018-09-18 | Fix #6622: Fixes empty company name in news when gamescript constructs a town | Max Maton | |
2018-06-24 | Feature #6397: Keep town growth rate in sync with house count | Pavel Stupnikov | |
Takes some code and ideas from #6378 patch, but doesn't change anything GS-related. | |||
2018-05-21 | Change: Add CargoTypes type for cargo masks. (#6790) | PeterN | |
2018-05-02 | Change: Switch town growth rate and counter to actual game ticks (#6763) | Pavel Stupnikov | |
2018-04-28 | Feature #6610: Allow towns to build houses on road turns (#6758) | Pavel Stupnikov | |
2017-08-13 | (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) | frosch | |
2017-01-22 | (svn r27739) -Cleanup/Revert (r12162): Clearing MP_HOUSE with DC_EXEC always ↵ | frosch | |
fails, so there is no effect in testing for houses first. (adf88) | |||
2015-10-30 | (svn r27423) -Fix: When towns expanded single-bit roadtiles using a ↵ | frosch | |
grid-layout, they used the layout position of the neighbouring tile. | |||
2015-10-30 | (svn r27420) -Fix [FS#6362]: GrowTownAtRoad sometimes returned false, even ↵ | frosch | |
when a house was built. (_dp_) | |||
2015-06-20 | (svn r27306) -Fix (r27305): Confused tiles. | frosch | |
2015-06-20 | (svn r27305) -Fix [FS#6320]: Account for road-bridges and ↵ | frosch | |
drive-through-stops in CanFollowRoad. | |||
2015-04-28 | (svn r27260) -Fix (r27244): economy.allow_town_roads should not affect town ↵ | frosch | |
placement during world generation. | |||
2015-04-27 | (svn r27259) -Fix (r27244): Incorrect merge. (_dp_) | frosch | |
2015-04-25 | (svn r27249) -Fix [FS#6240]: In some cases town growth failure was ↵ | frosch | |
considered as success. (_dp_) | |||
2015-04-25 | (svn r27248) -Fix [FS#6257]: Town labels on smallmap and zoomed-out ↵ | frosch | |
viewports were not centered. (_dp_) | |||
2015-04-25 | (svn r27247) -Cleanup: Make GrowTownAtRoad return a bool. | frosch | |
2015-04-25 | (svn r27244) -Change [FS#6245]: Do not consider road junctions with trivial ↵ | frosch | |
dead ends as branch points during town growth. (_dp_) | |||
2015-01-01 | (svn r27105) -Fix [FS#6195]: grow_counter was not properly bounded by ↵ | rubidium | |
growth_rate, but by some other value used to calculate growth_rate. | |||
2014-10-15 | (svn r27020) -Cleanup: some coding style consistency improvements (mostly ↵ | rubidium | |
spaces) | |||
2014-09-21 | (svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the ↵ | rubidium | |
data is now always accessible | |||
2014-04-25 | (svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵ | rubidium | |
the return is not NULL) |