From 571dfb90557e20f0f3b62288856eef68cc95ed1f Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 4 Jul 2009 11:26:57 +0000 Subject: (svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'. --- src/station_base.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/station_base.h') diff --git a/src/station_base.h b/src/station_base.h index 446f09c87..b91fb499e 100644 --- a/src/station_base.h +++ b/src/station_base.h @@ -110,13 +110,13 @@ public: ViewportSign sign; - byte had_vehicle_of_type; + StationHadVehicleOfTypeByte had_vehicle_of_type; byte time_since_load; byte time_since_unload; byte delete_ctr; OwnerByte owner; - byte facilities; + StationFacilityByte facilities; byte airport_type; /* trainstation width/height */ @@ -145,7 +145,7 @@ public: Station(TileIndex tile = INVALID_TILE); ~Station(); - void AddFacility(byte new_facility_bit, TileIndex facil_xy); + void AddFacility(StationFacility new_facility_bit, TileIndex facil_xy); /** * Mark the sign of a station dirty for repaint. -- cgit v1.2.3-54-g00ecf