From a85770614525b20c7563e08f5bfcfbbd05c563fe Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 25 Dec 2005 19:44:23 +0000 Subject: (svn r3342) Remove some cruft --- functions.h | 5 ----- map.h | 1 - openttd.h | 11 ----------- 3 files changed, 17 deletions(-) diff --git a/functions.h b/functions.h index 3395961a7..b8a09f5a8 100644 --- a/functions.h +++ b/functions.h @@ -3,11 +3,6 @@ #ifndef FUNCTIONS_H #define FUNCTIONS_H -/* vehicle.c */ - -/* window.c */ - - /* landscape.c */ void FindLandscapeHeight(TileInfo *ti, uint x, uint y); void FindLandscapeHeightByTile(TileInfo *ti, TileIndex tile); diff --git a/map.h b/map.h index 2907d2eac..3dfe0f5c5 100644 --- a/map.h +++ b/map.h @@ -15,7 +15,6 @@ extern uint _map_size; #define TILE_MASK(x) ((x) & _map_tile_mask) #define TILE_ASSERT(x) assert(TILE_MASK(x) == (x)); -#define RANDOM_TILE(r) TILE_MASK(r) typedef struct Tile { byte type_height; diff --git a/openttd.h b/openttd.h index b8e92e4a5..81ed0b908 100644 --- a/openttd.h +++ b/openttd.h @@ -8,17 +8,10 @@ #define VARDEF extern #endif -// use this on non static functions -#define PUBLIC - typedef struct Rect { int left,top,right,bottom; } Rect; -typedef struct SmallPoint { - int16 x,y; -} SmallPoint; - typedef struct Point { int x,y; } Point; @@ -125,9 +118,6 @@ typedef struct TileInfo { uint z; } TileInfo; -enum { - NG_EDGE = 1, -}; /* Display Options */ enum { @@ -531,7 +521,6 @@ enum { VARDEF byte _savegame_sort_order; -#define INVALID_UINT_TILE (uint)0xFFFFFFFF #define INVALID_STRING_ID 0xFFFF enum { -- cgit v1.2.3-70-g09d2