Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-16 | Codechange: Move command arguments to the back of the DoCommand function call. | Michael Lutz | |
2021-08-31 | Fix #9407: desync when founding a town nearby a station (#9526) | Patric Stout | |
"stations_near" wasn't updated when founding a town near a station. As this variable is not saved, any client joining after the town is founded has a different value for "stations_near", potentially causing desyncs. As the intention of this if() statement was to skip an expensive calculation when there are clearly no stations, better to move that check inside the function, so other places also enjoy the speedup. | |||
2021-07-01 | Codechange: use the constructor for CompanyNewsItem to fill the data instead ↵ | rubidium42 | |
of a separate function | |||
2021-07-01 | Codechange: create a type for the "free_data" of NewsItems and (de)allocate ↵ | rubidium42 | |
it with new and delete | |||
2021-06-03 | Codechange: use "[[maybe_unused]]" instead of a wide variety of other ways ↵ | Patric Stout | |
we had While at it, replace OTTD_ASSERT with WITH_ASSERT, as this is always set if assert() is valid. No matter if NDEBUG is set or not. | |||
2021-05-30 | Fix #9316, 64eddaeb: at about 250.000 inhabitants the bridge length limit ↵ | rubidium42 | |
check overflows | |||
2021-05-29 | Codechange: Rename window related DeleteXXX to match new behaviour | glx22 | |
2021-05-29 | Codechange: move from C-string to std::string for DoCommand | rubidium42 | |
2021-05-29 | Codechange: let IsUnique.* functions accept std::string | rubidium42 | |
2021-05-27 | Fix: do not hide parameter by local variable with the same name | rubidium42 | |
2021-05-10 | Fix: memory leak due to assigning result of strdup to a std::string | Rubidium | |
2021-05-08 | Change: Use gender-neutral pronouns in console command messages (and ↵ | William Davis | |
comments) (#9203) | |||
2021-04-29 | Codechange: Replace FOR_ALL_CARGOSPECS with range-based for loops | glx22 | |
2021-04-01 | Fix #8919: Release builds with asserts enabled (#8925) | Charles Pigott | |
2021-04-01 | Codechange: Suppress warnings when asserts are disabled (#8917) | Patric Stout | |
2021-02-14 | Codechange: turn a constant variable into a real constant. | frosch | |
2021-02-05 | Codechange: Apply coding style (#8640) | SamuXarick | |
* Fix: Missing or needed spaces * Codechange: Remove space * Codechange: Remove space * Codechange: More missing spaces * Codechange: Missing spaces * Codechange: Remove space * Codechange: Remove space | |||
2021-01-31 | Fix: don't walk out of the map when trying to build tunnels (#8600) | Tyler Trahan | |
2021-01-09 | Fix #8462: Don't check whether to grow a town road on water (#8471) | SamuXarick | |
2021-01-09 | Revert 78f92130: "Fix #8506: Towns shouldn't add junctions to NewGRF roads ↵ | Patric Stout | |
they cannot build (#8535)" (#8541) As per https://github.com/OpenTTD/OpenTTD/pull/8535#issuecomment-757122918, jumped the gun here. | |||
2021-01-09 | Fix #8506: Towns shouldn't add junctions to NewGRF roads they cannot build ↵ | Tyler Trahan | |
(#8535) | |||
2021-01-08 | Fix 7bdfb38: Drive-thru road stations can be connected at either end (#8528) | Tyler Trahan | |
2021-01-08 | Add: Towns can build tunnels (#8473) | Tyler Trahan | |
2021-01-08 | Codechange: Remove min/max functions in favour of STL variants (#8502) | Charles Pigott | |
2021-01-07 | Fix #7604: prevent houses to wander too far from town center when rebuilding ↵ | Patric Stout | |
(#8507) When a multi-tile house is rebuild, it always used the most northern tile to build the new house. This can very easily lead to houses wandering off in the north-ish direction (either NW or NE). To prevent this, pick the tile closest to town center when rebuilding on a multi-tile house. This still means a house can be build away from a road, but it is no longer wandering around finding another town to call home. | |||
2021-01-06 | Change: towns can now bridge 4 rails (up from 3) | Patric Stout | |
Having 4 rails is a pretty common design, and towns now couldn't bridge out of this common design. | |||
2021-01-06 | Feature: Make maximum length of town bridges depend on population. | Didac Perez Parera | |
2020-12-27 | Codechange: Replace assert_compile macro with static_assert | Charles Pigott | |
2020-12-25 | Change: Towns don't build dead-end road bridges (#8401) | Tyler Trahan | |
2020-06-28 | Change #8159: Remove now unused town cargo caches without bumping the ↵ | dP | |
savegame version | |||
2020-06-01 | Codechange: remove has_newhouses global | Yexo | |
2020-05-21 | Codechange: Use std::string for most of the user-settable custom names. | Michael Lutz | |
2020-05-18 | Fix: Desync after house replacement | dP | |
2020-05-13 | Fix #8137: New clients can't join (desync) after funding an industry | dP | |
2020-05-13 | Codechange: Refactor FindStationsAroundTiles to avoid code duplication | dP | |
2020-01-12 | Codechange: Cache resolved town, station and industry name strings | Jonathan G Rennison | |
2020-01-12 | Change: Only resort town directory window on population change if necessary | Jonathan G Rennison | |
2020-01-05 | Fix #7899, 196d5868: don't trigger filter changes more than expected | glx | |
2020-01-04 | Feature: Script API to change town rating of companies | Niels Martin Hansen | |
2019-12-21 | Codechange: Replace FOR_ALL_TOWNS with range-based for loops | glx | |
2019-12-21 | Codechange: Replace FOR_ALL_OBJECTS with range-based for loops | glx | |
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 |