summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-22 14:38:37 +0000
committerrubidium <rubidium@openttd.org>2006-08-22 14:38:37 +0000
commit480af9c9171badb7db906d2cc05856f4c2d87b73 (patch)
tree2a3621a92a3d30384ea51e0898d08f035a559915 /station.h
parent5f4dbbd52264b986efc248a6ccb02dbde4ca6c0e (diff)
downloadopenttd-480af9c9171badb7db906d2cc05856f4c2d87b73.tar.xz
(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Diffstat (limited to 'station.h')
-rw-r--r--station.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/station.h b/station.h
index 96b64cd4e..6c2fb6d3a 100644
--- a/station.h
+++ b/station.h
@@ -98,15 +98,15 @@ struct Station {
};
enum {
- FACIL_TRAIN = 1,
- FACIL_TRUCK_STOP = 2,
- FACIL_BUS_STOP = 4,
- FACIL_AIRPORT = 8,
- FACIL_DOCK = 0x10,
+ FACIL_TRAIN = 0x01,
+ FACIL_TRUCK_STOP = 0x02,
+ FACIL_BUS_STOP = 0x04,
+ FACIL_AIRPORT = 0x08,
+ FACIL_DOCK = 0x10,
};
enum {
-// HVOT_PENDING_DELETE = 1<<0, // not needed anymore
+// HVOT_PENDING_DELETE = 1 << 0, // not needed anymore
HVOT_TRAIN = 1 << 1,
HVOT_BUS = 1 << 2,
HVOT_TRUCK = 1 << 3,
@@ -118,20 +118,20 @@ enum {
};
enum {
- CA_BUS = 3,
- CA_TRUCK = 3,
- CA_AIR_OILPAD = 3,
- CA_TRAIN = 4,
- CA_AIR_HELIPORT = 4,
- CA_AIR_SMALL = 4,
- CA_AIR_LARGE = 5,
- CA_DOCK = 5,
- CA_AIR_METRO = 6,
- CA_AIR_INTER = 8,
- CA_AIR_COMMUTER = 4,
- CA_AIR_HELIDEPOT = 4,
+ CA_BUS = 3,
+ CA_TRUCK = 3,
+ CA_AIR_OILPAD = 3,
+ CA_TRAIN = 4,
+ CA_AIR_HELIPORT = 4,
+ CA_AIR_SMALL = 4,
+ CA_AIR_LARGE = 5,
+ CA_DOCK = 5,
+ CA_AIR_METRO = 6,
+ CA_AIR_INTER = 8,
+ CA_AIR_COMMUTER = 4,
+ CA_AIR_HELIDEPOT = 4,
CA_AIR_INTERCON = 10,
- CA_AIR_HELISTATION = 4,
+ CA_AIR_HELISTATION = 4,
};
void ModifyStationRatingAround(TileIndex tile, PlayerID owner, int amount, uint radius);