summaryrefslogtreecommitdiff
path: root/navit/attr.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-07-01 19:03:50 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-07-01 19:03:50 +0000
commitbaeb93443290d63fceaabaa5b4ebcfc0dd80fb05 (patch)
treed7c5123c87e035af00de49a5b18670e6ad66a867 /navit/attr.h
parent93ddd6bb74eea5358147eee1e4c88297883c2daa (diff)
downloadnavit-baeb93443290d63fceaabaa5b4ebcfc0dd80fb05.tar.gz
Add:Core:Better flags display
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3467 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/attr.h')
-rw-r--r--navit/attr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/navit/attr.h b/navit/attr.h
index fb65ee82c..45b63595a 100644
--- a/navit/attr.h
+++ b/navit/attr.h
@@ -65,6 +65,11 @@ enum attr_type {
#define AF_BIKE (1<<30)
#define AF_PEDESTRIAN (1<<31)
+#define AF_PBH (AF_PEDESTRIAN|AF_BIKE|AF_HORSE)
+#define AF_MOTORIZED_FAST (AF_MOTORCYCLE|AF_CAR|AF_HIGH_OCCUPANCY_CAR|AF_TAXI|AF_PUBLIC_BUS|AF_DELIVERY_TRUCK|AF_TRANSPORT_TRUCK|AF_EMERGENCY_VEHICLES)
+#define AF_ALL (AF_PBH|AF_MOPED|AF_MOTORIZED_FAST)
+
+
#define AF_DG_ANY (1<<0)
#define AF_DG_WATER_HARMFUL (1<<1)
#define AF_DG_EXPLOSIVE (1<<2)