Mercurial > hg > openttd
diff src/station_cmd.cpp @ 6248:0789677a15a0 draft
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 07 Mar 2007 12:11:48 +0000 (2007-03-07) |
parents | 57363e064324 |
children | 4a39d6291d58 |
line wrap: on
line diff
--- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -449,12 +449,12 @@ } } -typedef struct ottd_Rectangle { +struct ottd_Rectangle { uint min_x; uint min_y; uint max_x; uint max_y; -} ottd_Rectangle; +}; static inline void MergePoint(ottd_Rectangle* rect, TileIndex tile) { @@ -2071,11 +2071,11 @@ static void AnimateTile_Station(TileIndex tile) { - typedef struct AnimData { + struct AnimData { StationGfx from; // first sprite StationGfx to; // last sprite byte delay; - } AnimData; + }; static const AnimData data[] = { { GFX_RADAR_LARGE_FIRST, GFX_RADAR_LARGE_LAST, 3 },