summaryrefslogtreecommitdiff
path: root/table/road_land.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-08-03 06:44:54 +0000
committertron <tron@openttd.org>2006-08-03 06:44:54 +0000
commited26c5e14c6d530b52ef199267648612c456a4d6 (patch)
treec97ab5288c58e7857825a1db757a20ad123891de /table/road_land.h
parent5f18b6792a67e8e06f3949da63cf11c37cb59d99 (diff)
downloadopenttd-ed26c5e14c6d530b52ef199267648612c456a4d6.tar.xz
(svn r5723) - Move the declaration of DrawRoadDepotSprite() out of functions.h (but I'm not too happy with the new header)
- Use DiagDirection instead of plain int for the orientation of the depot graphics - Rename the associated data tables with sprites to something more meaningful
Diffstat (limited to 'table/road_land.h')
-rw-r--r--table/road_land.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/table/road_land.h b/table/road_land.h
index fd01731a7..b1eec6eb7 100644
--- a/table/road_land.h
+++ b/table/road_land.h
@@ -4,37 +4,37 @@
#define TILE_SEQ_LINE(a, b, c, d, e) { a, b, c, d, e },
#define TILE_SEQ_END() { 0, 0, 0, 0, 0 }
-static const DrawRoadSeqStruct _road_display_datas_0[] = {
+static const DrawRoadSeqStruct _road_depot_NE[] = {
TILE_SEQ_BEGIN(0xA4A)
TILE_SEQ_LINE(0x584 | PALETTE_MODIFIER_COLOR, 0, 15, 16, 1)
TILE_SEQ_END()
};
-static const DrawRoadSeqStruct _road_display_datas_1[] = {
+static const DrawRoadSeqStruct _road_depot_SE[] = {
TILE_SEQ_BEGIN(0xA4A)
TILE_SEQ_LINE(0x580, 0, 0, 1, 16)
TILE_SEQ_LINE(0x581 | PALETTE_MODIFIER_COLOR, 15, 0, 1, 16)
TILE_SEQ_END()
};
-static const DrawRoadSeqStruct _road_display_datas_2[] = {
+static const DrawRoadSeqStruct _road_depot_SW[] = {
TILE_SEQ_BEGIN(0xA4A)
TILE_SEQ_LINE(0x582, 0, 0, 16, 1)
TILE_SEQ_LINE(0x583 | PALETTE_MODIFIER_COLOR, 0, 15, 16, 1)
TILE_SEQ_END()
};
-static const DrawRoadSeqStruct _road_display_datas_3[] = {
+static const DrawRoadSeqStruct _road_depot_NW[] = {
TILE_SEQ_BEGIN(0xA4A)
TILE_SEQ_LINE(0x585 | PALETTE_MODIFIER_COLOR, 15, 0, 1, 16)
TILE_SEQ_END()
};
-static const DrawRoadSeqStruct* const _road_display_datas[] = {
- _road_display_datas_0,
- _road_display_datas_1,
- _road_display_datas_2,
- _road_display_datas_3,
+static const DrawRoadSeqStruct* const _road_depot[] = {
+ _road_depot_NE,
+ _road_depot_SE,
+ _road_depot_SW,
+ _road_depot_NW
};
#undef TILE_SEQ_BEGIN