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
commit31a32082576213a3a5db9f788b0aba45ca1c0206 (patch)
treedc6832719e2f137d55932cf2d1db12d7a8bf100f
parent9763b5bf8b5889eaede58be4ff7f4a7a7295fad0 (diff)
downloadopenttd-31a32082576213a3a5db9f788b0aba45ca1c0206.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[] = {