From cb67ee9bf50e46d194b62920775e2a5998a1318b Mon Sep 17 00:00:00 2001 From: celestar Date: Wed, 19 Oct 2005 06:17:11 +0000 Subject: [PATCH] (svn r3063) -Codechange: Demystified and commented bridge_land.h. Also removed two arrays that are not referred to --- table/bridge_land.h | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/table/bridge_land.h b/table/bridge_land.h index 3859d4fa5b..5de4c1acdd 100644 --- a/table/bridge_land.h +++ b/table/bridge_land.h @@ -1,17 +1,33 @@ /* $Id$ */ -static const SpriteID _bridge_land_below[] = { - 0xF8D, 0xFDD,0x11C6, 0xFDD, -}; +/** @file bridge_land.h This file contains all the sprites for bridges + * It consists of a number of arrays. + * + */ -static const SpriteID _bridge_transp_below[] = { - 0x3F3, 0x3F4, 0xF8D, 0xF8D, // without ice - 0x40D, 0x40E, 0x11C6, 0x11C6, // with ice -}; - -static const SpriteID _bridge_transp_overlay[] = { - 0, 0, 0x534, 0x535, // without ice - 0, 0, 0x547, 0x548, // with ice +static const SpriteID _bridge_land_below[] = { + SPR_FLAT_GRASS_TILE, SPR_FLAT_WATER_TILE, SPR_FLAT_SNOWY_TILE, SPR_FLAT_WATER_TILE }; static const PalSpriteID _bridge_sprite_table_2_0[] = {