1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-16 11:09:11 +00:00

(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.

This commit is contained in:
belugas
2006-04-24 21:10:56 +00:00
parent 7aed9a62f2
commit ebf6797678
8 changed files with 70 additions and 87 deletions

View File

@@ -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;