summaryrefslogtreecommitdiff
path: root/src/newgrf_station.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-07 20:52:45 +0000
committerrubidium <rubidium@openttd.org>2010-08-07 20:52:45 +0000
commitb6a0806948583a9551df6ae3601a7310e648207d (patch)
treee40ab7b652a3de753034576c0269c914a74bf85f /src/newgrf_station.h
parent178f74c31cd79ac248308a6fa389e5aa223b0895 (diff)
downloadopenttd-b6a0806948583a9551df6ae3601a7310e648207d.tar.xz
(svn r20400) -Codechange: let StationSpec use GRFFilePropsBase
Diffstat (limited to 'src/newgrf_station.h')
-rw-r--r--src/newgrf_station.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_station.h b/src/newgrf_station.h
index d42db176f..99e3c55ae 100644
--- a/src/newgrf_station.h
+++ b/src/newgrf_station.h
@@ -13,6 +13,7 @@
#define NEWGRF_STATION_H
#include "newgrf_callbacks.h"
+#include "newgrf_commons.h"
#include "sprite.h"
#include "direction_type.h"
#include "cargo_type.h"
@@ -46,8 +47,7 @@ typedef byte *StationLayout;
/** Station specification. */
struct StationSpec {
- const struct GRFFile *grffile; ///< ID of GRF file station belongs to.
- int localidx; ///< Index within GRF file of station.
+ GRFFilePropsBase grf_prop; ///< Properties related the the grf file
bool allocated; ///< Flag whether this station has been added to a station class list