From 9822b4d755ba1bcc126643cd21a2c4362a4026d9 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 14 Dec 2005 06:20:23 +0000 Subject: (svn r3297) Staticise --- table/autorail.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'table') diff --git a/table/autorail.h b/table/autorail.h index 2519aa6a8..1968d90c6 100644 --- a/table/autorail.h +++ b/table/autorail.h @@ -13,7 +13,7 @@ // table maps each of the six rail directions and tileh combinations to a sprite // invalid entries are required to make sure that this array can be quickly accessed -const int _AutorailTilehSprite[31][6] = { +static const int _AutorailTilehSprite[][6] = { // type 0 1 2 3 4 5 { 0, 8, 16, 25, 34, 42 }, // tileh = 0 { 5, 13, RED(22), RED(31), 35, 42 }, // tileh = 1 @@ -52,7 +52,7 @@ const int _AutorailTilehSprite[31][6] = { // maps each pixel of a tile (16x16) to a selection type // (0,0) is the top corner, (16,16) the bottom corner -const byte _AutorailPiece[16][16] = { +static const byte _AutorailPiece[][16] = { { 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5 }, { 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5 }, { 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5 }, -- cgit v1.2.3-54-g00ecf