summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-12-25 15:05:59 +0000
committertruelight <truelight@openttd.org>2005-12-25 15:05:59 +0000
commit8ffe9da48287c7c352f7541214e49f382fd5fdd6 (patch)
treeb77a613dc8f1c2fa731f6d0d4fb28f665f0add38 /station_cmd.c
parent19d0517c713673137e829b624b00a2a8a911799b (diff)
downloadopenttd-8ffe9da48287c7c352f7541214e49f382fd5fdd6.tar.xz
(svn r3341) -Codechange: make mingw32 happy, and renamed Rectangle, because it already exists on that platform
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 0f47c2d35..4eecdeff0 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -606,14 +606,14 @@ void GetAcceptanceAroundTiles(AcceptedCargo accepts, TileIndex tile,
}
}
-typedef struct Rectangle {
+typedef struct ottd_Rectangle {
uint min_x;
uint min_y;
uint max_x;
uint max_y;
-} Rectangle;
+} ottd_Rectangle;
-static void MergePoint(Rectangle* rect, TileIndex tile)
+static void MergePoint(ottd_Rectangle* rect, TileIndex tile)
{
uint x = TileX(tile);
uint y = TileY(tile);
@@ -631,7 +631,7 @@ static void UpdateStationAcceptance(Station *st, bool show_msg)
uint old_acc, new_acc;
const RoadStop *cur_rs;
int i;
- Rectangle rect;
+ ottd_Rectangle rect;
int rad;
AcceptedCargo accepts;