src/tile_cmd.h
changeset 8373 7431d91527f2
parent 8254 1496654ca5e7
child 8596 c3404405f3f5
equal deleted inserted replaced
8372:49f8ca06527d 8373:7431d91527f2
    24 	 * Shift the VehicleEnterTileStatus this many bits
    24 	 * Shift the VehicleEnterTileStatus this many bits
    25 	 * to the right to get the station ID when
    25 	 * to the right to get the station ID when
    26 	 * VETS_ENTERED_STATION is set
    26 	 * VETS_ENTERED_STATION is set
    27 	 */
    27 	 */
    28 	VETS_STATION_ID_OFFSET = 8,
    28 	VETS_STATION_ID_OFFSET = 8,
       
    29 	VETS_STATION_MASK      = 0xFFFF << VETS_STATION_ID_OFFSET,
    29 
    30 
    30 	/** Bit sets of the above specified bits */
    31 	/** Bit sets of the above specified bits */
    31 	VETSB_CONTINUE         = 0,                          ///< The vehicle can continue normally
    32 	VETSB_CONTINUE         = 0,                          ///< The vehicle can continue normally
    32 	VETSB_ENTERED_STATION  = 1 << VETS_ENTERED_STATION,  ///< The vehicle entered a station
    33 	VETSB_ENTERED_STATION  = 1 << VETS_ENTERED_STATION,  ///< The vehicle entered a station
    33 	VETSB_ENTERED_WORMHOLE = 1 << VETS_ENTERED_WORMHOLE, ///< The vehicle either entered a bridge, tunnel or depot tile (this includes the last tile of the bridge/tunnel)
    34 	VETSB_ENTERED_WORMHOLE = 1 << VETS_ENTERED_WORMHOLE, ///< The vehicle either entered a bridge, tunnel or depot tile (this includes the last tile of the bridge/tunnel)