From 692ac966254dce0bd4a47cfb3163981f7e39db45 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 27 Mar 2008 15:59:56 +0000 Subject: (svn r12447) -Add: company colours to hangars and road depots; train depots already have them. --- src/table/road_land.h | 8 ++++---- src/table/station_land.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/table/road_land.h b/src/table/road_land.h index 2f8891692..4ce0c20fb 100644 --- a/src/table/road_land.h +++ b/src/table/road_land.h @@ -9,13 +9,13 @@ static const DrawTileSeqStruct _road_depot_NE[] = { }; static const DrawTileSeqStruct _road_depot_SE[] = { - TILE_SEQ_LINE(0x580, PAL_NONE, 0, 0, 1, 16) + TILE_SEQ_LINE(0x580 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, 0, 0, 1, 16) TILE_SEQ_LINE(0x581 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, 15, 0, 1, 16) TILE_SEQ_END() }; static const DrawTileSeqStruct _road_depot_SW[] = { - TILE_SEQ_LINE(0x582, PAL_NONE, 0, 0, 16, 1) + TILE_SEQ_LINE(0x582 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, 0, 0, 16, 1) TILE_SEQ_LINE(0x583 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, 0, 15, 16, 1) TILE_SEQ_END() }; @@ -38,13 +38,13 @@ static const DrawTileSeqStruct _tram_depot_NE[] = { }; static const DrawTileSeqStruct _tram_depot_SE[] = { - TILE_SEQ_LINE(SPR_TRAMWAY_BASE + 0x31, PAL_NONE, 0, 0, 1, 16) + TILE_SEQ_LINE((SPR_TRAMWAY_BASE + 0x31) | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, 0, 0, 1, 16) TILE_SEQ_LINE((SPR_TRAMWAY_BASE + 0x32) | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, 15, 0, 1, 16) TILE_SEQ_END() }; static const DrawTileSeqStruct _tram_depot_SW[] = { - TILE_SEQ_LINE(SPR_TRAMWAY_BASE + 0x33, PAL_NONE, 0, 0, 16, 1) + TILE_SEQ_LINE((SPR_TRAMWAY_BASE + 0x33) | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, 0, 0, 16, 1) TILE_SEQ_LINE((SPR_TRAMWAY_BASE + 0x34) | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, 0, 15, 16, 1) TILE_SEQ_END() }; diff --git a/src/table/station_land.h b/src/table/station_land.h index b0fa4b366..f02990f8d 100644 --- a/src/table/station_land.h +++ b/src/table/station_land.h @@ -132,7 +132,7 @@ static const DrawTileSeqStruct _station_display_datas_31[] = { static const DrawTileSeqStruct _station_display_datas_32[] = { TILE_SEQ_LINE(14, 0, 0, 2, 16, 28, SPR_AIRPORT_HANGAR_FRONT | (1 << PALETTE_MODIFIER_COLOR)) - TILE_SEQ_LINE( 0, 0, 0, 2, 16, 28, SPR_AIRPORT_HANGAR_REAR) + TILE_SEQ_LINE( 0, 0, 0, 2, 16, 28, SPR_AIRPORT_HANGAR_REAR | (1 << PALETTE_MODIFIER_COLOR)) TILE_SEQ_END() }; @@ -291,7 +291,7 @@ static const DrawTileSeqStruct _station_display_datas_64[] = { static const DrawTileSeqStruct _station_display_datas_65[] = { TILE_SEQ_LINE(14, 0, 0, 2, 16, 28, SPR_AIRFIELD_HANGAR_FRONT | (1 << PALETTE_MODIFIER_COLOR)) - TILE_SEQ_LINE( 0, 0, 0, 2, 16, 28, SPR_AIRFIELD_HANGAR_REAR) + TILE_SEQ_LINE( 0, 0, 0, 2, 16, 28, SPR_AIRFIELD_HANGAR_REAR | (1 << PALETTE_MODIFIER_COLOR)) TILE_SEQ_END() }; @@ -403,7 +403,7 @@ static const DrawTileSeqStruct _station_display_datas_085[] = { // concrete underground static const DrawTileSeqStruct _station_display_datas_086[] = { TILE_SEQ_LINE(14, 0, 0, 2, 16, 28, SPR_AIRFIELD_HANGAR_FRONT | (1 << PALETTE_MODIFIER_COLOR)) - TILE_SEQ_LINE( 0, 0, 0, 2, 16, 28, SPR_AIRFIELD_HANGAR_REAR) + TILE_SEQ_LINE( 0, 0, 0, 2, 16, 28, SPR_AIRFIELD_HANGAR_REAR | (1 << PALETTE_MODIFIER_COLOR)) TILE_SEQ_END() }; @@ -711,7 +711,7 @@ static const DrawTileSeqStruct _station_display_datas_0128[] = { // West facing hangar static const DrawTileSeqStruct _station_display_datas_0129[] = { TILE_SEQ_LINE(14, 0, 0, 2, 16, 28, SPR_NEWHANGAR_W | (1 << PALETTE_MODIFIER_COLOR)) - TILE_SEQ_LINE( 0, 0, 0, 2, 16, 28, SPR_NEWHANGAR_W_WALL) + TILE_SEQ_LINE( 0, 0, 0, 2, 16, 28, SPR_NEWHANGAR_W_WALL | (1 << PALETTE_MODIFIER_COLOR)) TILE_SEQ_END() }; -- cgit v1.2.3-70-g09d2