mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r9704) -Documentation: Add comments on industry data macro
This commit is contained in:
parent
1052b0e8f1
commit
803b073c59
|
@ -5,8 +5,19 @@
|
|||
#ifndef BUILD_INDUSTRY_H
|
||||
#define BUILD_INDUSTRY_H
|
||||
|
||||
/**
|
||||
* Definition of an industry tiles layout.
|
||||
* @param x offset x of this tile
|
||||
* @param y offset y of this tile
|
||||
* @param m index of the tile.
|
||||
* @see _industry_specs
|
||||
* @see IndustryTileTable
|
||||
*/
|
||||
#define MK(x, y, m) {{x, y}, m}
|
||||
|
||||
/**
|
||||
* Terminator of industry tiles layout definition
|
||||
*/
|
||||
#define MKEND {{-0x80, 0}, 0}
|
||||
|
||||
static const IndustryTileTable _tile_table_coal_mine_0[] = {
|
||||
|
|
Loading…
Reference in New Issue