|
OpenTTD Source 20260414-master-g8a7bc482ad
|
Additional Inherited Members | |
| Public Types inherited from CFollowTrackT< TRANSPORT_WATER, Ship, true > | |
| enum | ErrorCode |
| Public Member Functions inherited from CFollowTrackT< TRANSPORT_WATER, Ship, true > | |
| CFollowTrackT (const Ship *v=nullptr, RailTypes railtype_override=INVALID_RAILTYPES) | |
| CFollowTrackT (Owner o, RailTypes railtype_override=INVALID_RAILTYPES) | |
| void | Init (const Ship *v, RailTypes railtype_override) |
| void | Init (Owner o, RailTypes railtype_override) |
| bool | IsTram () |
| DiagDirection | GetSingleTramBit (TileIndex tile) |
| Tests if a tile is a road tile with a single tramtrack (tram can reverse). | |
| bool | Follow (TileIndex old_tile, Trackdir old_td) |
| Main follower routine. | |
| bool | MaskReservedTracks () |
| int | GetSpeedLimit (int *pmin_speed=nullptr) const |
| Helper for pathfinders - get min/max speed on the old_tile/old_td. | |
| Static Public Member Functions inherited from CFollowTrackT< TRANSPORT_WATER, Ship, true > | |
| static TransportType | TT () |
| static bool | IsWaterTT () |
| static bool | IsRailTT () |
| static bool | IsRoadTT () |
| static bool | Allow90degTurns () |
| static bool | DoTrackMasking () |
| Data Fields inherited from CFollowTrackT< TRANSPORT_WATER, Ship, true > | |
| const Ship * | veh |
| moving vehicle | |
| Owner | veh_owner |
| owner of the vehicle | |
| TileIndex | old_tile |
| the origin (vehicle moved from) before move | |
| Trackdir | old_td |
| the trackdir (the vehicle was on) before move | |
| TileIndex | new_tile |
| the new tile (the vehicle has entered) | |
| TrackdirBits | new_td_bits |
| the new set of available trackdirs | |
| DiagDirection | exitdir |
| exit direction (leaving the old tile) | |
| bool | is_tunnel |
| last turn passed tunnel | |
| bool | is_bridge |
| last turn passed bridge ramp | |
| bool | is_station |
| last turn passed station | |
| int | tiles_skipped |
| number of skipped tunnel or station tiles | |
| ErrorCode | err |
| RailTypes | railtypes |
| Protected Member Functions inherited from CFollowTrackT< TRANSPORT_WATER, Ship, true > | |
| void | FollowTileExit () |
| Follow the exitdir from old_tile and fill new_tile and tiles_skipped. | |
| bool | QueryNewTileTrackStatus () |
| Stores track status (available trackdirs) for the new tile into new_td_bits. | |
| bool | CanExitOldTile () |
| Check whether we can leave the old tile. | |
| bool | CanEnterNewTile () |
| Checks whether we can enter the next tile. | |
| bool | ForcedReverse () |
| Are we forced to reverse the vehicle? | |
| bool | TryReverse () |
| Try whether we can reverse our road vehicle. | |
Definition at line 79 of file yapf_ship_regions.cpp.