diff options
author | belugas <belugas@openttd.org> | 2006-04-24 21:10:56 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-04-24 21:10:56 +0000 |
commit | ebf6797678b58aa558ab933fd3f5931fcf0406b9 (patch) | |
tree | d080bac8a9cda725440a23acb119e6257fe7731c /unmovable_cmd.c | |
parent | 7aed9a62f2150f35b31b2ea52a4de07c1aa50ce2 (diff) | |
download | openttd-ebf6797678b58aa558ab933fd3f5931fcf0406b9.tar.xz |
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
Diffstat (limited to 'unmovable_cmd.c')
-rw-r--r-- | unmovable_cmd.c | 13 |
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; |