Commit Graph

829 Commits

Author SHA1 Message Date
Didac Perez Parera 64eddaeb49 Feature: Make maximum length of town bridges depend on population. 2021-01-06 21:39:34 +01:00
Charles Pigott 860c270c73 Codechange: Replace assert_compile macro with static_assert 2020-12-27 10:55:42 +00:00
Tyler Trahan 7bdfb382a8 Change: Towns don't build dead-end road bridges (#8401) 2020-12-25 00:37:13 +01:00
dP 11dd94eba8 Merge remote-tracking branch 'upstream/master' 2020-08-11 20:26:38 +03:00
dP c374464178 Reset layout error counters after town construction 2020-08-11 12:16:02 +03:00
dP 4c16fd967e Merge remote-tracking branch 'upstream/master' 2020-08-09 22:02:18 +03:00
dP 9deb84f881 Merge branch 'openttd' 2020-08-09 21:39:04 +03:00
dP d3c06c25c8 Update to 1.10.3 2020-08-09 21:34:52 +03:00
dP 07f449509e Fix town HR counter 2020-07-31 16:40:05 +03:00
dP eaa4fb477f Add cm_ prefix to all citymania source files 2020-07-31 16:23:39 +03:00
dP 889a3b801b Merge remote-tracking branch 'upstream/master' 2020-07-09 10:55:40 +03:00
dP ee7d3c9df8 Some adjustments for better cmserver compatibility 2020-07-07 20:54:19 +03:00
dP 7045186594 Change #8159: Remove now unused town cargo caches without bumping the savegame version 2020-06-28 18:23:59 +02:00
dP 7e862b3508 Merge real population from cmbase 2020-06-20 01:36:12 +03:00
dP ce96863776 Calculate houses_constructing and real_population 2020-06-20 01:25:33 +03:00
dP 2010f236c6 Merge town growth tiles from cmbase 2020-06-19 21:20:12 +03:00
dP 62afdc2ddd Add town growth tiles 2020-06-18 19:06:52 +03:00
dP 1212bec10b Add reconstructed and demolished house counters 2020-06-18 16:47:28 +03:00
dP c9499006e6 Move road layout error counters to cmbase 2020-06-10 02:10:01 +03:00
dP f8095884a3 Basic CityMania extension structure and road layout counter 2020-06-10 01:34:38 +03:00
dP 581a482692 Add more citymania data to savegame 2020-06-09 02:30:07 +03:00
Pavel Stupnikov 1a9e9c3019 Update to 1.10.2 2020-06-02 02:55:21 +03:00
Pavel Stupnikov 0e8ed94e00 Update to 1.10.2 2020-06-02 01:52:45 +03:00
Yexo a82572d0f5 Codechange: remove has_newhouses global 2020-06-01 22:46:06 +02:00
Michael Lutz 63ccb36ef3 Codechange: Use std::string for most of the user-settable custom names. 2020-05-21 20:02:34 +02:00
dP 25fce2d061 Use new highlight for cb town limit zone 2020-05-19 04:07:41 +03:00
dP 93d1d8773f Fix: Desync after house replacement 2020-05-18 09:05:39 +01:00
dP 9ab73e459d Fix regular funding and advertisement wasting money 2020-05-14 01:56:01 +03:00
dP f2a9a1e2a5 Fix #8137: New clients can't join (desync) after funding an industry 2020-05-13 08:43:01 +01:00
dP 7bd52970a1 Codechange: Refactor FindStationsAroundTiles to avoid code duplication 2020-05-13 08:43:01 +01:00
dP 9b9a850d0b Merge 1.10.0-RC1 2020-02-18 20:56:38 +03:00
dP d4ae6a1d91 Update to 1.10.0-RC1 2020-02-18 18:13:33 +03:00
Pavel Stupnikov 20f19618cf Rename citymania zoning to highlight 2020-02-07 01:49:43 +03:00
Pavel Stupnikov abbc38728e Tint every grount/structure tile when using new highlights 2020-02-05 00:44:34 +03:00
Pavel Stupnikov 91cc303d4f Highlight unserved buildings by tinting them red 2020-02-02 23:38:22 +03:00
Jonathan G Rennison c3223903ed Codechange: Cache resolved town, station and industry name strings 2020-01-12 19:37:43 +00:00
Jonathan G Rennison 22ba048c89 Change: Only resort town directory window on population change if necessary 2020-01-12 19:37:43 +00:00
dP 47b70f6769 Change FOR_ALL_ cycles to ::Iterate 2020-01-06 20:45:47 +03:00
dP 1492a22027 Update to 1.10.0-beta2 2020-01-06 19:06:51 +03:00
dP c7c3966eec Update to 1.10.0-beta2 2020-01-06 18:49:34 +03:00
glx 39e6247bec Fix #7899, 196d5868: don't trigger filter changes more than expected 2020-01-05 22:51:27 +00:00
Niels Martin Hansen f401622149 Feature: Script API to change town rating of companies 2020-01-04 19:07:13 +01:00
glx ee7a8eebca Codechange: Replace FOR_ALL_TOWNS with range-based for loops 2019-12-21 20:13:03 +01:00
glx 514565fad6 Codechange: Replace FOR_ALL_OBJECTS with range-based for loops 2019-12-21 20:13:03 +01:00
glx 00c2a98cf3 Codechange: Replace FOR_ALL_INDUSTRIES with range-based for loops 2019-12-21 20:13:03 +01:00
glx fa9769f81a Codechange: Replace FOR_ALL_DEPOTS with range-based for loops 2019-12-21 20:13:03 +01:00
glx ddabfed1cd Codechange: Replace station related FOR_ALL with range-based for loops 2019-12-21 20:13:03 +01:00
glx 3a14cea068 Codechange: Replace FOR_ALL_COMPANIES with range-based for loops 2019-12-21 20:13:03 +01:00
Niels Martin Hansen 9900af38f5 Fix #7847: Use ViewportSign coordinates for sign Kdtree coordinates (#7849)
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-12-01 23:17:33 +01:00
frosch 61dba850af Revert #7837, 7e22f243e: OpenTTD tries to replicate the original game mechanics.
Making numbers look nice and correlate is no goal, and in this case they actually did not correlate.
2019-11-20 08:01:37 +00:00