(svn r3342) Remove some cruft
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								map.h
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								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;
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										11
									
								
								openttd.h
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user