From b0135b438126c090f9a00d479da5ea2b21fe3338 Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 3 Aug 2006 06:44:54 +0000 Subject: (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 --- table/road_land.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'table') 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 -- cgit v1.2.3-70-g09d2