summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-12-02 19:41:35 +0000
committerDarkvater <Darkvater@openttd.org>2005-12-02 19:41:35 +0000
commitd85b9bde4986e1c0ed85fc8250162d30da6205e3 (patch)
tree590226389ccefbba803620167f0d048b960dd9cd /table
parentd90e3118ed9eba00382704b2d9e380d4d3d27f86 (diff)
downloadopenttd-d85b9bde4986e1c0ed85fc8250162d30da6205e3.tar.xz
(svn r3254) - Fix: graphical glitch with autorail tool on a certain tile-type.
- CodeChange: adhere the global variables in autorail.h to the coding style (eg. start with underscore).
Diffstat (limited to 'table')
-rw-r--r--table/autorail.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/table/autorail.h b/table/autorail.h
index 3d8dc1078..2519aa6a8 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] = {
+const int _AutorailTilehSprite[31][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
@@ -25,7 +25,7 @@ const int AutorailTilehSprite[31][6] = {
{ 1, 9, 17, 26, 35, 43 }, // tileh = 7
{ 2, 13, 17, 25, RED(40), RED(48) }, // tileh = 8
{ 1, 13, 17, RED(32), 35, RED(48) }, // tileh = 9
- { 2, 9, 17, 26, 35, 43 }, // tileh = 10
+ { 1, 9, 17, 26, 35, 43 }, // tileh = 10
{ 1, 9, 17, 26, 35, 43 }, // tileh = 11
{ 2, 9, 17, RED(29), RED(40), 43 }, // tileh = 12
{ 1, 9, 17, 26, 35, 43 }, // tileh = 13
@@ -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] = {
+const byte _AutorailPiece[16][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 },