town_map.h
author tron
Fri, 24 Mar 2006 13:31:17 +0000
changeset 3320 e9e284ab853a
parent 3319 16c0f06829a5
child 3369 cab209754317
permissions -rw-r--r--
(svn r4086) Add MakeIndustry()
/* $Id$ */

#include "town.h"


static inline uint GetTownIndex(TileIndex t)
{
	return _m[t].m2;
}

static inline Town* GetTownByTile(TileIndex t)
{
	return GetTown(GetTownIndex(t));
}