Mercurial > hg > openttd
changeset 2794:f03918f3e26a draft
(svn r3342) Remove some cruft
author | tron <tron@openttd.org> |
---|---|
date | Sun, 25 Dec 2005 19:44:23 +0000 |
parents | 5f7cd758e6c7 |
children | cb80e8980740 |
files | functions.h map.h openttd.h |
diffstat | 3 files changed, 0 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- 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);
--- a/map.h +++ b/map.h @@ -15,7 +15,6 @@ #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;
--- 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 @@ uint z; } TileInfo; -enum { - NG_EDGE = 1, -}; /* Display Options */ enum { @@ -531,7 +521,6 @@ VARDEF byte _savegame_sort_order; -#define INVALID_UINT_TILE (uint)0xFFFFFFFF #define INVALID_STRING_ID 0xFFFF enum {