Mercurial > hg > openttd
changeset 2793:5f7cd758e6c7 draft
(svn r3341) -Codechange: make mingw32 happy, and renamed Rectangle, because it already exists on that platform
author | truelight <truelight@openttd.org> |
---|---|
date | Sun, 25 Dec 2005 15:05:59 +0000 |
parents | a12a1178d130 |
children | f03918f3e26a |
files | station_cmd.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/station_cmd.c +++ b/station_cmd.c @@ -606,14 +606,14 @@ } } -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 @@ uint old_acc, new_acc; const RoadStop *cur_rs; int i; - Rectangle rect; + ottd_Rectangle rect; int rad; AcceptedCargo accepts;