src/newgrf_industrytiles.h
author rubidium
Mon, 09 Jul 2007 20:08:25 +0000
changeset 7216 2bb13ff061b1
parent 7212 5d99296fb545
child 7229 a5f262f6df1b
permissions -rw-r--r--
(svn r10494) -Fix (r10490): possible null dereference in some exotic newgrfs.
/* $Id$ */

/** @file newgrf_industrytiles.h */

#ifndef NEWGRF_INDUSTRYTILES_H
#define NEWGRF_INDUSTRYTILES_H

bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const IndustryTileSpec *inds);
uint16 GetIndustryTileCallback(uint16 callback, uint32 param1, uint32 param2, IndustryGfx gfx_id, Industry *industry, TileIndex tile);
bool PerformIndustryTileSlopeCheck(TileIndex tile, const IndustryTileSpec *its, IndustryType type, IndustryGfx gfx);

#endif /* NEWGRF_INDUSTRYTILES_H */