src/tunnelbridge_cmd.cpp
changeset 7249 6c480d0dda20
parent 7095 51c5b30176e1
child 7266 b16e67e992b4
equal deleted inserted replaced
7248:16d259bc2ad0 7249:6c480d0dda20
   896  * @param overlay do we want to still see the road?
   896  * @param overlay do we want to still see the road?
   897  */
   897  */
   898 static void DrawBridgeTramBits(int x, int y, byte z, int offset, bool overlay)
   898 static void DrawBridgeTramBits(int x, int y, byte z, int offset, bool overlay)
   899 {
   899 {
   900 	static const SpriteID tram_offsets[2][6] = { { 107, 108, 109, 110, 111, 112 }, { 4, 5, 15, 16, 17, 18 } };
   900 	static const SpriteID tram_offsets[2][6] = { { 107, 108, 109, 110, 111, 112 }, { 4, 5, 15, 16, 17, 18 } };
   901 	static const SpriteID back_offsets[6]    =   {  95,  95,  99, 102, 100, 101 };
   901 	static const SpriteID back_offsets[6]    =   {  95,  96,  99, 102, 100, 101 };
   902 	static const SpriteID front_offsets[6]   =   {  97,  98, 103, 106, 104, 105 };
   902 	static const SpriteID front_offsets[6]   =   {  97,  98, 103, 106, 104, 105 };
   903 
   903 
   904 	static const uint size_x[6] = { 11, 16, 16, 16, 16, 16 };
   904 	static const uint size_x[6] = { 11, 16, 16, 16, 16, 16 };
   905 	static const uint size_y[6] = { 16, 11, 16, 16, 16, 16 };
   905 	static const uint size_y[6] = { 16, 11, 16, 16, 16, 16 };
   906 
   906