1
0
Fork 0

(svn r3342) Remove some cruft

release/0.4.5
tron 2005-12-25 19:44:23 +00:00
parent 8ffe9da482
commit a857706145
3 changed files with 0 additions and 17 deletions

View File

@ -3,11 +3,6 @@
#ifndef FUNCTIONS_H #ifndef FUNCTIONS_H
#define FUNCTIONS_H #define FUNCTIONS_H
/* vehicle.c */
/* window.c */
/* landscape.c */ /* landscape.c */
void FindLandscapeHeight(TileInfo *ti, uint x, uint y); void FindLandscapeHeight(TileInfo *ti, uint x, uint y);
void FindLandscapeHeightByTile(TileInfo *ti, TileIndex tile); void FindLandscapeHeightByTile(TileInfo *ti, TileIndex tile);

1
map.h
View File

@ -15,7 +15,6 @@ extern uint _map_size;
#define TILE_MASK(x) ((x) & _map_tile_mask) #define TILE_MASK(x) ((x) & _map_tile_mask)
#define TILE_ASSERT(x) assert(TILE_MASK(x) == (x)); #define TILE_ASSERT(x) assert(TILE_MASK(x) == (x));
#define RANDOM_TILE(r) TILE_MASK(r)
typedef struct Tile { typedef struct Tile {
byte type_height; byte type_height;

View File

@ -8,17 +8,10 @@
#define VARDEF extern #define VARDEF extern
#endif #endif
// use this on non static functions
#define PUBLIC
typedef struct Rect { typedef struct Rect {
int left,top,right,bottom; int left,top,right,bottom;
} Rect; } Rect;
typedef struct SmallPoint {
int16 x,y;
} SmallPoint;
typedef struct Point { typedef struct Point {
int x,y; int x,y;
} Point; } Point;
@ -125,9 +118,6 @@ typedef struct TileInfo {
uint z; uint z;
} TileInfo; } TileInfo;
enum {
NG_EDGE = 1,
};
/* Display Options */ /* Display Options */
enum { enum {
@ -531,7 +521,6 @@ enum {
VARDEF byte _savegame_sort_order; VARDEF byte _savegame_sort_order;
#define INVALID_UINT_TILE (uint)0xFFFFFFFF
#define INVALID_STRING_ID 0xFFFF #define INVALID_STRING_ID 0xFFFF
enum { enum {