openttd.h
changeset 3333 41f8abe65d1e
parent 3173 1b75b9a6ff71
child 3344 d86c852715fa
equal deleted inserted replaced
3332:fd5624e59753 3333:41f8abe65d1e
   108 };
   108 };
   109 
   109 
   110 
   110 
   111 typedef enum TransportTypes {
   111 typedef enum TransportTypes {
   112 	/* These constants are for now linked to the representation of bridges
   112 	/* These constants are for now linked to the representation of bridges
   113 	 * and tunnels, so they can be used by GetTileTrackStatus_TunnelBridge
   113 	 * and tunnels, so they can be used by GetTileTrackStatus_TunnelBridge.
   114 	 * to compare against the map5 array. In an ideal world, these
   114 	 * In an ideal world, these constants would be used everywhere when
   115 	 * constants would be used everywhere when accessing tunnels and
   115 	 * accessing tunnels and bridges. For now, you should just not change
   116 	 * bridges. For now, you should just not change the values for road
   116 	 * the values for road and rail.
   117 	 * and rail.
       
   118 	 */
   117 	 */
   119 	TRANSPORT_RAIL = 0,
   118 	TRANSPORT_RAIL = 0,
   120 	TRANSPORT_ROAD = 1,
   119 	TRANSPORT_ROAD = 1,
   121 	TRANSPORT_WATER,	// = 2
   120 	TRANSPORT_WATER,	// = 2
   122 	TRANSPORT_END,
   121 	TRANSPORT_END,