summaryrefslogtreecommitdiff
path: root/unmovable_cmd.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-04-24 21:10:56 +0000
committerbelugas <belugas@openttd.org>2006-04-24 21:10:56 +0000
commitebf6797678b58aa558ab933fd3f5931fcf0406b9 (patch)
treed080bac8a9cda725440a23acb119e6257fe7731c /unmovable_cmd.c
parent7aed9a62f2150f35b31b2ea52a4de07c1aa50ce2 (diff)
downloadopenttd-ebf6797678b58aa558ab933fd3f5931fcf0406b9.tar.xz
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
Diffstat (limited to 'unmovable_cmd.c')
-rw-r--r--unmovable_cmd.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/unmovable_cmd.c b/unmovable_cmd.c
index e6faf9a6b..cc97512a7 100644
--- a/unmovable_cmd.c
+++ b/unmovable_cmd.c
@@ -17,6 +17,7 @@
#include "sprite.h"
#include "unmovable_map.h"
#include "variables.h"
+#include "table/unmovable_land.h"
/** Destroy a HQ.
* During normal gameplay you can only implicitely destroy a HQ when you are
@@ -119,18 +120,6 @@ int32 CmdBuildCompanyHQ(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
return cost;
}
-typedef struct DrawTileUnmovableStruct {
- uint16 image;
- byte subcoord_x;
- byte subcoord_y;
- byte width;
- byte height;
- byte z_size;
- byte unused;
-} DrawTileUnmovableStruct;
-
-#include "table/unmovable_land.h"
-
static void DrawTile_Unmovable(TileInfo *ti)
{
uint32 image, ormod;