diff options
author | belugas <belugas@openttd.org> | 2007-06-13 02:29:08 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-06-13 02:29:08 +0000 |
commit | 107c84c3abefa8dafe816b17dbcaf7402f4f8c3b (patch) | |
tree | 78473d469c840ab5e2dc2370e2a644fab596c171 /src/newgrf_industrytiles.h | |
parent | 3de84383147dcf1be2ce071aa4979e64fbfc87e1 (diff) | |
download | openttd-107c84c3abefa8dafe816b17dbcaf7402f4f8c3b.tar.xz |
(svn r10127) -Add: Addition of basic structure for industry tiles callbacks (unfinished).
-Codechange: ResolverObject receives member gfx, making it compatible for both industries and industry tiles
-Codechange: NewIndustryResolver now has his randombits and triggers (even if not implemented)
Diffstat (limited to 'src/newgrf_industrytiles.h')
-rw-r--r-- | src/newgrf_industrytiles.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/newgrf_industrytiles.h b/src/newgrf_industrytiles.h new file mode 100644 index 000000000..e51a0a336 --- /dev/null +++ b/src/newgrf_industrytiles.h @@ -0,0 +1,11 @@ +/* $Id$ */ + +/** @file newgrf_industrytiles.h */ + +#ifndef NEWGRF_INDUSTRYTILES_H +#define NEWGRF_INDUSTRYTILES_H + +void DrawNewIndustryTile(TileInfo *ti, IndustryGfx gfx); +uint16 GetIndustryTileCallback(uint16 callback, uint32 param1, uint32 param2, IndustryGfx gfx_id, Industry *industry, TileIndex tile); + +#endif /* NEWGRF_INDUSTRYTILES_H */ |