From b870596f153c17d9aa915ca67b8f6414d73cb31f Mon Sep 17 00:00:00 2001 From: Gabda Date: Sat, 5 Jan 2019 14:22:07 +0100 Subject: 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 --- src/town_kdtree.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/town_kdtree.h') 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 TownKdtree; + extern TownKdtree _town_kdtree; +extern TownKdtree _town_local_authority_kdtree; #endif -- cgit v1.2.3-54-g00ecf