Changeset - r2793:d1e70008d1a4
[Not reviewed]
master
0 1 0
truelight - 18 years ago 2005-12-25 15:05:59
truelight@openttd.org
(svn r3341) -Codechange: make mingw32 happy, and renamed Rectangle, because it already exists on that platform
1 file changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
station_cmd.c
Show inline comments
 
@@ -606,14 +606,14 @@ void GetAcceptanceAroundTiles(AcceptedCa
 
	}
 
}
 

	
 
typedef struct Rectangle {
 
typedef struct ottd_Rectangle {
 
	uint min_x;
 
	uint min_y;
 
	uint max_x;
 
	uint max_y;
 
} Rectangle;
 

	
 
static void MergePoint(Rectangle* rect, TileIndex tile)
 
} ottd_Rectangle;
 

	
 
static void MergePoint(ottd_Rectangle* rect, TileIndex tile)
 
{
 
	uint x = TileX(tile);
 
	uint y = TileY(tile);
 
@@ -631,7 +631,7 @@ static void UpdateStationAcceptance(Stat
 
	uint old_acc, new_acc;
 
	const RoadStop *cur_rs;
 
	int i;
 
	Rectangle rect;
 
	ottd_Rectangle rect;
 
	int rad;
 
	AcceptedCargo accepts;
 

	
0 comments (0 inline, 0 general)