summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Expand)Author
2021-07-01Codechange: use the constructor for CompanyNewsItem to fill the data instead ...rubidium42
2021-07-01Codechange: create a type for the "free_data" of NewsItems and (de)allocate i...rubidium42
2021-06-03Codechange: use "[[maybe_unused]]" instead of a wide variety of other ways we...Patric Stout
2021-05-30Fix #9316, 64eddaeb: at about 250.000 inhabitants the bridge length limit che...rubidium42
2021-05-29Codechange: Rename window related DeleteXXX to match new behaviourglx22
2021-05-29Codechange: move from C-string to std::string for DoCommandrubidium42
2021-05-29Codechange: let IsUnique.* functions accept std::stringrubidium42
2021-05-27Fix: do not hide parameter by local variable with the same namerubidium42
2021-05-10Fix: memory leak due to assigning result of strdup to a std::stringRubidium
2021-05-08Change: Use gender-neutral pronouns in console command messages (and comments...William Davis
2021-04-29Codechange: Replace FOR_ALL_CARGOSPECS with range-based for loopsglx22
2021-04-01Fix #8919: Release builds with asserts enabled (#8925)Charles Pigott
2021-04-01Codechange: Suppress warnings when asserts are disabled (#8917)Patric Stout
2021-02-14Codechange: turn a constant variable into a real constant.frosch
2021-02-05Codechange: Apply coding style (#8640)SamuXarick
2021-01-31Fix: don't walk out of the map when trying to build tunnels (#8600)Tyler Trahan
2021-01-09Fix #8462: Don't check whether to grow a town road on water (#8471)SamuXarick
2021-01-09Revert 78f92130: "Fix #8506: Towns shouldn't add junctions to NewGRF roads th...Patric Stout
2021-01-09Fix #8506: Towns shouldn't add junctions to NewGRF roads they cannot build (#...Tyler Trahan
2021-01-08Fix 7bdfb38: Drive-thru road stations can be connected at either end (#8528)Tyler Trahan
2021-01-08Add: Towns can build tunnels (#8473)Tyler Trahan
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2021-01-07Fix #7604: prevent houses to wander too far from town center when rebuilding ...Patric Stout
2021-01-06Change: towns can now bridge 4 rails (up from 3)Patric Stout
2021-01-06Feature: Make maximum length of town bridges depend on population.Didac Perez Parera
2020-12-27Codechange: Replace assert_compile macro with static_assertCharles Pigott
2020-12-25Change: Towns don't build dead-end road bridges (#8401)Tyler Trahan
2020-06-28Change #8159: Remove now unused town cargo caches without bumping the savegam...dP
2020-06-01Codechange: remove has_newhouses globalYexo
2020-05-21Codechange: Use std::string for most of the user-settable custom names.Michael Lutz
2020-05-18Fix: Desync after house replacementdP
2020-05-13Fix #8137: New clients can't join (desync) after funding an industrydP
2020-05-13Codechange: Refactor FindStationsAroundTiles to avoid code duplicationdP
2020-01-12Codechange: Cache resolved town, station and industry name stringsJonathan G Rennison
2020-01-12Change: Only resort town directory window on population change if necessaryJonathan G Rennison
2020-01-05Fix #7899, 196d5868: don't trigger filter changes more than expectedglx
2020-01-04Feature: Script API to change town rating of companiesNiels Martin Hansen
2019-12-21Codechange: Replace FOR_ALL_TOWNS with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_OBJECTS with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_INDUSTRIES with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_DEPOTS with range-based for loopsglx
2019-12-21Codechange: Replace station related FOR_ALL with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_COMPANIES with range-based for loopsglx
2019-12-01Fix #7847: Use ViewportSign coordinates for sign Kdtree coordinates (#7849)Niels Martin Hansen
2019-11-20Revert #7837, 7e22f243e: OpenTTD tries to replicate the original game mechanics.frosch
2019-11-18Fix: typo in town growth rates (#7837)Yourself
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-08-17Add #6887: Option to show zone inside local authority boundary of townsGabda
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-29Codechange: Remove Company/OwnerByte typesCharles Pigott