diff options
author | Gabda <gabda87@gmail.com> | 2019-01-05 14:22:07 +0100 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2019-08-17 21:45:20 +0100 |
commit | b870596f153c17d9aa915ca67b8f6414d73cb31f (patch) | |
tree | e1d321b8a5987a6a4511b61e160b73af890a332a /src/town_kdtree.h | |
parent | d986f01d078553640528e2d334627bf552a60931 (diff) | |
download | openttd-b870596f153c17d9aa915ca67b8f6414d73cb31f.tar.xz |
Add #6887: Option to show zone inside local authority boundary of towns
Can be found at town information > local authority window
Layout for button is same as Graph Keys
Turn on/off for every town individually
Diffstat (limited to 'src/town_kdtree.h')
-rw-r--r-- | src/town_kdtree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/town_kdtree.h b/src/town_kdtree.h index ae6b9e4ea..924165585 100644 --- a/src/town_kdtree.h +++ b/src/town_kdtree.h @@ -15,6 +15,8 @@ inline uint16 Kdtree_TownXYFunc(TownID tid, int dim) { return (dim == 0) ? TileX(Town::Get(tid)->xy) : TileY(Town::Get(tid)->xy); } typedef Kdtree<TownID, decltype(&Kdtree_TownXYFunc), uint16, int> TownKdtree; + extern TownKdtree _town_kdtree; +extern TownKdtree _town_local_authority_kdtree; #endif |