summaryrefslogtreecommitdiff
path: root/src/table/town_land.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-04-13 17:15:06 +0000
committerbelugas <belugas@openttd.org>2007-04-13 17:15:06 +0000
commit39735f7b549d256e32b64ab837d15aaba6a82885 (patch)
treed46d4f70d2b046eb8ee297b96045d99c52b9f98b /src/table/town_land.h
parentb5b7b489ce9f81dc97e52ef27b2b43cc36ad14a9 (diff)
downloadopenttd-39735f7b549d256e32b64ab837d15aaba6a82885.tar.xz
(svn r9619) -Documentation: Comments on drawing arrays of houses and industries
Diffstat (limited to 'src/table/town_land.h')
-rw-r--r--src/table/town_land.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/table/town_land.h b/src/table/town_land.h
index d025cca09..528275a45 100644
--- a/src/table/town_land.h
+++ b/src/table/town_land.h
@@ -5,17 +5,19 @@
/** Writes the data into the Town Tile Drawing Struct
* @param s1 The first sprite of the building, mostly the ground sprite
+ * @param p1 The first sprite's palette of the building, mostly the ground sprite
* @param s2 The second sprite of the building.
+ * @param p2 The second sprite's palette of the building.
* @param sx The x-position of the sprite within the tile
- * @param xy the y-position of the sprite within the tile
+ * @param sy the y-position of the sprite within the tile
* @param w the width of the sprite
* @param h the height of the sprite
* @param dz the virtual height of the sprite
- * @param p set to 1 if a lift is present
- * @see DrawTownTileStruct
- */
+ * @param p set to 1 if a lift is present ()
+ * @see DrawBuildingsTileStruct */
#define M(s1, p1, s2, p2, sx, sy, w, h, dz, p) { { s1, p1 }, { s2, p2 }, sx, sy, w - 1, h - 1, dz, p}
+/** structure of houses graphics*/
static const DrawBuildingsTileStruct _town_draw_tile_data[] = {
M( 0xf54, PAL_NONE, 0x58d, PAL_NONE, 0, 0, 14, 14, 8, 0),
M( 0xf54, PAL_NONE, 0x58e, PAL_NONE, 0, 0, 14, 14, 60, 0),