From 24c4d5b06d231785db01500360c26815d8fe4d15 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 7 Mar 2007 12:11:48 +0000 Subject: (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; --- src/station.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/station.h') diff --git a/src/station.h b/src/station.h index bf61a448b..bced6a2be 100644 --- a/src/station.h +++ b/src/station.h @@ -12,7 +12,7 @@ static const StationID INVALID_STATION = 0xFFFF; -typedef struct GoodsEntry { +struct GoodsEntry { GoodsEntry() : waiting_acceptance(0), unload_pending(0), @@ -35,7 +35,7 @@ typedef struct GoodsEntry { byte last_speed; byte last_age; int32 feeder_profit; -} GoodsEntry; +}; /** A Stop for a Road Vehicle */ struct RoadStop { @@ -79,11 +79,11 @@ protected: static RoadStop *AllocateRaw(); }; -typedef struct StationSpecList { +struct StationSpecList { const StationSpec *spec; uint32 grfid; /// GRF ID of this custom station uint8 localidx; /// Station ID within GRF of station -} StationSpecList; +}; /** StationRect - used to track station spread out rectangle - cheaper than scanning whole map */ struct StationRect : public Rect { @@ -207,13 +207,13 @@ enum { HVOT_BUOY = 1 << 6 }; -typedef enum CatchmentAreas { +enum CatchmentArea { CA_NONE = 0, CA_BUS = 3, CA_TRUCK = 3, CA_TRAIN = 4, CA_DOCK = 5 -} CatchmentArea; +}; void ModifyStationRatingAround(TileIndex tile, PlayerID owner, int amount, uint radius); -- cgit v1.2.3-54-g00ecf