summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-11-14 16:42:08 +0000
committerdarkvater <darkvater@openttd.org>2004-11-14 16:42:08 +0000
commite656a91736a02badd26b6674081c0adac64dd83c (patch)
treee6059ce764e14f6e5dc3014688a574c4f499e9d4 /station.h
parenta415b8ecced3e8939d858d5b49acf337b26ef17e (diff)
downloadopenttd-e656a91736a02badd26b6674081c0adac64dd83c.tar.xz
(svn r602) -newgrf: Move DrawTileSeqStruct & co and struct SpriteGroup to sprite.h (pasky)
Diffstat (limited to 'station.h')
-rw-r--r--station.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/station.h b/station.h
index 3f395143f..1ebe87be6 100644
--- a/station.h
+++ b/station.h
@@ -1,7 +1,7 @@
#ifndef STATION_H
#define STATION_H
-#include "engine.h"
+#include "sprite.h"
#include "vehicle.h"
typedef struct GoodsEntry {
@@ -93,23 +93,6 @@ void GetAcceptanceAroundTiles(uint *accepts, uint tile, int w, int h);
uint GetStationPlatforms(Station *st, uint tile);
-typedef struct DrawTileSeqStruct {
- int8 delta_x;
- int8 delta_y;
- int8 delta_z;
- byte width,height;
- byte unk; // 'depth', just z-size; TODO: rename
- uint32 image;
-} DrawTileSeqStruct;
-
-typedef struct DrawTileSprites {
- SpriteID ground_sprite;
- DrawTileSeqStruct const *seq;
-} DrawTileSprites;
-
-#define foreach_draw_tile_seq(idx, list) for (idx = list; ((byte) idx->delta_x) != 0x80; idx++)
-
-
struct StationSpec {
uint32 grfid;
int localidx; // per-GRFFile station index + 1; SetCustomStation() takes care of this