diff options
author | rubidium <rubidium@openttd.org> | 2009-07-04 11:26:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-04 11:26:57 +0000 |
commit | 571dfb90557e20f0f3b62288856eef68cc95ed1f (patch) | |
tree | d811e87b06b0b8fd7bd210b2d2007956d498d5c8 /src/station_base.h | |
parent | 65f77a7bee0158dcc3aedc0a360ff65597dad1c8 (diff) | |
download | openttd-571dfb90557e20f0f3b62288856eef68cc95ed1f.tar.xz |
(svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'.
Diffstat (limited to 'src/station_base.h')
-rw-r--r-- | src/station_base.h | 6 |
1 files changed, 3 insertions, 3 deletions
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. |