You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
247 B
C
17 lines
247 B
C
19 years ago
|
/* $Id$ */
|
||
|
|
||
|
#include "industry.h"
|
||
|
#include "macros.h"
|
||
|
#include "tile.h"
|
||
|
|
||
|
|
||
|
static inline uint GetIndustryIndex(TileIndex t)
|
||
|
{
|
||
|
return _m[t].m2;
|
||
|
}
|
||
|
|
||
|
static inline Industry* GetIndustryByTile(TileIndex t)
|
||
|
{
|
||
|
return GetIndustry(GetIndustryIndex(t));
|
||
|
}
|