summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-09 21:05:03 +0000
committerrubidium <rubidium@openttd.org>2008-01-09 21:05:03 +0000
commit2d2e1e386315db0c83f508c19387e9f2e0c9cee1 (patch)
tree6b9fc11a0135e1ccdb74151dd8962e4fd5264843 /src/table
parenta5101fb403bc7220884236426c38bdafc2cd17cf (diff)
downloadopenttd-2d2e1e386315db0c83f508c19387e9f2e0c9cee1.tar.xz
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/railtypes.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/table/railtypes.h b/src/table/railtypes.h
index db5e4a94d..42738b80b 100644
--- a/src/table/railtypes.h
+++ b/src/table/railtypes.h
@@ -44,10 +44,10 @@ RailtypeInfo _railtypes[] = {
SPR_RAIL_SNOW_OFFSET,
/* Powered railtypes */
- 1 << RAILTYPE_RAIL | 1 << RAILTYPE_ELECTRIC,
+ RAILTYPES_RAIL | RAILTYPES_ELECTRIC,
/* Compatible railtypes */
- 1 << RAILTYPE_RAIL | 1 << RAILTYPE_ELECTRIC,
+ RAILTYPES_RAIL | RAILTYPES_ELECTRIC,
/* main offset */
0,
@@ -100,10 +100,10 @@ RailtypeInfo _railtypes[] = {
SPR_RAIL_SNOW_OFFSET,
/* Powered railtypes */
- 1 << RAILTYPE_ELECTRIC,
+ RAILTYPES_ELECTRIC,
/* Compatible railtypes */
- 1 << RAILTYPE_ELECTRIC | 1 << RAILTYPE_RAIL,
+ RAILTYPES_ELECTRIC | RAILTYPES_RAIL,
/* main offset */
0,
@@ -152,10 +152,10 @@ RailtypeInfo _railtypes[] = {
SPR_MONO_SNOW_OFFSET,
/* Powered railtypes */
- 1 << RAILTYPE_MONO,
+ RAILTYPES_MONO,
/* Compatible Railtypes */
- 1 << RAILTYPE_MONO,
+ RAILTYPES_MONO,
/* main offset */
82,
@@ -204,10 +204,10 @@ RailtypeInfo _railtypes[] = {
SPR_MGLV_SNOW_OFFSET,
/* Powered railtypes */
- 1 << RAILTYPE_MAGLEV,
+ RAILTYPES_MAGLEV,
/* Compatible Railtypes */
- 1 << RAILTYPE_MAGLEV,
+ RAILTYPES_MAGLEV,
/* main offset */
164,