summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-12-14 06:20:23 +0000
committertron <tron@openttd.org>2005-12-14 06:20:23 +0000
commit9822b4d755ba1bcc126643cd21a2c4362a4026d9 (patch)
tree5042ddfac1e3c26fb99ea38d0bd4b90959a93d61 /table
parentae624ee69045c23e05396740fb2a3f6cd09809ff (diff)
downloadopenttd-9822b4d755ba1bcc126643cd21a2c4362a4026d9.tar.xz
(svn r3297) Staticise
Diffstat (limited to 'table')
-rw-r--r--table/autorail.h4
1 files changed, 2 insertions, 2 deletions
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 },