src/newgrf_industrytiles.h
author rubidium
Mon, 09 Jul 2007 20:08:25 +0000
changeset 7712 e217909bd0d5
parent 7708 595630b38fbf
child 7725 e3892b38aa14
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 */