summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-04-21 02:42:51 +0000
committerbelugas <belugas@openttd.org>2007-04-21 02:42:51 +0000
commit803b073c59f1d38803e3dc1e83bba945e685ebc5 (patch)
treedc6832719e2f137d55932cf2d1db12d7a8bf100f
parent1052b0e8f19c47182947c02530893beae7cbbf8c (diff)
downloadopenttd-803b073c59f1d38803e3dc1e83bba945e685ebc5.tar.xz
(svn r9704) -Documentation: Add comments on industry data macro
-rw-r--r--src/table/build_industry.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/table/build_industry.h b/src/table/build_industry.h
index 1b178b625..8ec84895d 100644
--- a/src/table/build_industry.h
+++ b/src/table/build_industry.h
@@ -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[] = {