/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/world/ |
H A D | TileElement.cpp | 89 ride_id_t TileElement::GetRideIndex() const in GetRideIndex() function in TileElement 94 return AsTrack()->GetRideIndex(); in GetRideIndex() 96 return AsEntrance()->GetRideIndex(); in GetRideIndex() 98 return AsPath()->GetRideIndex(); in GetRideIndex()
|
H A D | Entrance.cpp | 139 ride_id_t rideIndex = entrance.element->AsEntrance()->GetRideIndex(); in maze_entrance_hedge_replacement() 148 if (tileElement->AsTrack()->GetRideIndex() != rideIndex) in maze_entrance_hedge_replacement() 176 ride_id_t rideIndex = entrance.element->AsEntrance()->GetRideIndex(); in maze_entrance_hedge_removal() 185 if (tileElement->AsTrack()->GetRideIndex() != rideIndex) in maze_entrance_hedge_removal() 240 ride_id_t EntranceElement::GetRideIndex() const in GetRideIndex() function in EntranceElement
|
H A D | Footpath.cpp | 821 footpath_queue_chain_push(tileElement->AsPath()->GetRideIndex()); in loc_6A6F1F() 880 auto ride = get_ride(tileElement->AsTrack()->GetRideIndex()); in loc_6A6D7E() 964 auto ride = get_ride(tileElementPos.element->AsTrack()->GetRideIndex()); in loc_6A6C85() 1243 if (tileElement->AsEntrance()->GetRideIndex() != rideIndex) in footpath_update_queue_chains() 2033 footpath_queue_chain_push(tileElement->AsPath()->GetRideIndex()); in footpath_update_queue_entrance_banner() 2047 footpath_queue_chain_push(tileElement->AsEntrance()->GetRideIndex()); in footpath_update_queue_entrance_banner() 2064 footpath_queue_chain_push(tileElement->AsPath()->GetRideIndex()); in footpath_remove_edges_towards_here() 2182 auto ride = get_ride(tileElement->AsTrack()->GetRideIndex()); in tile_element_wants_path_connection_towards() 2274 auto rideIndex = tileElement->AsTrack()->GetRideIndex(); in footpath_remove_edges_at() 2362 ride_id_t PathElement::GetRideIndex() const in GetRideIndex() function in PathElement [all …]
|
H A D | TileElement.h | 206 ride_id_t GetRideIndex() const; 305 ride_id_t GetRideIndex() const; 393 ride_id_t GetRideIndex() const; 588 ride_id_t GetRideIndex() const;
|
H A D | ConstructionClearance.cpp | 97 auto ride = get_ride(tileElement->AsTrack()->GetRideIndex()); in MapLoc68BABCShouldContinue() 294 ride = get_ride(tileElement->AsTrack()->GetRideIndex()); in map_obstruction_set_error_text()
|
H A D | TileInspector.cpp | 309 auto ride = get_ride(tileElement->AsEntrance()->GetRideIndex()); in RotateElementAt() 522 auto ride = get_ride(tileElement->AsEntrance()->GetRideIndex()); in AnyBaseHeightOffset() 731 auto ride = get_ride(entranceElement->AsEntrance()->GetRideIndex()); in EntranceMakeUsable() 830 auto rideIndex = trackElement->AsTrack()->GetRideIndex(); in TrackBaseHeightOffset() 914 auto rideIndex = trackElement->AsTrack()->GetRideIndex(); in TrackSetChain()
|
H A D | Banner.cpp | 100 ride_id_t rideIndex = tileElement->AsTrack()->GetRideIndex(); in banner_get_ride_index_at()
|
H A D | MapAnimation.cpp | 106 auto ride = get_ride(tileElement->AsEntrance()->GetRideIndex()); in map_animation_invalidate_ride_entrance()
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/scripting/bindings/world/ |
H A D | ScTileElement.cpp | 371 if (get_ride(el->GetRideIndex())->type != RIDE_TYPE_MAZE) in sequence_get() 406 if (get_ride(el->GetRideIndex())->type != RIDE_TYPE_MAZE) in sequence_set() 431 if (el->IsQueue() && el->GetRideIndex() != RIDE_ID_NULL) in ride_get() 432 duk_push_int(ctx, EnumValue(el->GetRideIndex())); in ride_get() 440 duk_push_int(ctx, EnumValue(el->GetRideIndex())); in ride_get() 446 duk_push_int(ctx, EnumValue(el->GetRideIndex())); in ride_get() 497 if (el->IsQueue() && el->GetRideIndex() != RIDE_ID_NULL) in station_get() 580 if (el != nullptr && get_ride(el->GetRideIndex())->type == RIDE_TYPE_MAZE) in mazeEntry_get() 591 if (get_ride(el->GetRideIndex())->type == RIDE_TYPE_MAZE) in mazeEntry_set() 613 if (get_ride(el->GetRideIndex())->type != RIDE_TYPE_MAZE) in colourScheme_set() [all …]
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/paint/tile_element/ |
H A D | Paint.Entrance.cpp | 40 if (tile_element.GetRideIndex() != gTrackDesignSaveRideIndex) in ride_entrance_exit_paint() 70 auto ride = get_ride(tile_element.GetRideIndex()); in ride_entrance_exit_paint() 171 if (!is_exit && !(tile_element.IsGhost()) && tile_element.GetRideIndex() != RIDE_ID_NULL in ride_entrance_exit_paint()
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/ride/ |
H A D | Track.cpp | 86 if (tileElement->AsTrack()->GetRideIndex() != rideIndex) in find_station_element() 568 auto ride = get_ride(tileElement->AsTrack()->GetRideIndex()); in track_get_actual_bank() 601 auto ride = get_ride(tileElement->AsTrack()->GetRideIndex()); in track_get_actual_bank_3() 665 const auto* ride = get_ride(GetRideIndex()); in GetSeatRotation() 785 ride_id_t TrackElement::GetRideIndex() const in GetRideIndex() function in TrackElement
|
H A D | RideConstruction.cpp | 356 …f (element->GetType() == TILE_ELEMENT_TYPE_TRACK && element->AsTrack()->GetRideIndex() == ride->id) in ride_clear_blocked_tiles() 886 auto rideIndex = entranceElement->GetRideIndex(); in ride_modify_entrance_or_exit() 962 _currentRideIndex = trackElement->GetRideIndex(); in ride_modify_maze() 989 auto rideIndex = tileElement.element->GetRideIndex(); in ride_modify() 1221 if (trackElement->GetRideIndex() == gRideEntranceExitPlaceRideIndex) in ride_get_entrance_or_exit_position_from_screen_position() 1302 if (trackElement->GetRideIndex() != gRideEntranceExitPlaceRideIndex) in ride_get_entrance_or_exit_position_from_screen_position() 1374 if (tileElement->AsTrack()->GetRideIndex() != id) in ValidateStations() 1502 if (tileElement->AsEntrance()->GetRideIndex() != id) in ValidateStations() 1522 if (trackElement->AsTrack()->GetRideIndex() != id) in ValidateStations()
|
H A D | TrackDesignSave.cpp | 599 … if (tileElement->AsPath()->IsQueue() && tileElement->AsPath()->GetRideIndex() == rideIndex) in track_design_save_should_select_scenery_around() 603 if (tileElement->AsTrack()->GetRideIndex() == rideIndex) in track_design_save_should_select_scenery_around() 612 if (tileElement->AsEntrance()->GetRideIndex() == rideIndex) in track_design_save_should_select_scenery_around() 638 else if (tileElement->AsPath()->GetRideIndex() == rideIndex) in track_design_save_select_nearby_scenery_for_tile()
|
H A D | Ride.cpp | 410 if (it.element->AsTrack()->GetRideIndex() != ride->id) in ride_try_get_origin_element() 477 if (trackElement->GetRideIndex() != ride->id) in track_block_get_next_from_zero() 531 auto rideIndex = inputElement->GetRideIndex(); in track_block_get_next() 602 if (trackElement->GetRideIndex() != ride->id) in track_block_get_previous_from_zero() 678 auto rideIndex = trackElement->GetRideIndex(); in track_block_get_previous() 2274 ride = get_ride(trackElement->GetRideIndex()); in ride_shop_connected() 2341 auto rideIndex = tileElement->AsPath()->GetRideIndex(); in ride_queue_banner_set_map_tooltip() 2697 ride_id_t rideIndex = trackElement->GetRideIndex(); in ride_check_track_contains_inversions() 2753 auto rideIndex = trackElement->GetRideIndex(); in ride_check_track_contains_banked() 3840 if (trackElement->GetRideIndex() == id) in GetOriginElement() [all …]
|
H A D | TrackDesign.cpp | 357 if (tileElement->AsTrack()->GetRideIndex() != ride.id) in CreateTrackDesignMaze() 393 if (tileElement->AsEntrance()->GetRideIndex() == ride.id) in CreateTrackDesignMaze() 422 if (tileElement->AsEntrance()->GetRideIndex() == ride.id) in CreateTrackDesignMaze() 464 if (tile.element->AsTrack()->GetRideIndex() == ride.id) in MazeGetFirstElement()
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/peep/ |
H A D | GuestPathfinding.cpp | 294 …if (nextTileElement->AsPath()->IsQueue() && nextTileElement->AsPath()->GetRideIndex() != RIDE_ID_N… in footpath_element_next_in_direction() 347 ride_id_t rideIndex = tileElement->AsTrack()->GetRideIndex(); in footpath_element_dest_in_dir() 365 *outRideIndex = tileElement->AsEntrance()->GetRideIndex(); in footpath_element_dest_in_dir() 373 *outRideIndex = tileElement->AsEntrance()->GetRideIndex(); in footpath_element_dest_in_dir() 759 rideIndex = tileElement->AsTrack()->GetRideIndex(); in peep_pathfind_heuristic_search() 786 rideIndex = tileElement->AsEntrance()->GetRideIndex(); in peep_pathfind_heuristic_search() 851 && tileElement->AsPath()->GetRideIndex() != gPeepPathFindQueueRideIndex) in peep_pathfind_heuristic_search() 853 … if (gPeepPathFindIgnoreForeignQueues && (tileElement->AsPath()->GetRideIndex() != RIDE_ID_NULL)) in peep_pathfind_heuristic_search() 858 rideIndex = tileElement->AsPath()->GetRideIndex(); in peep_pathfind_heuristic_search()
|
H A D | Staff.cpp | 632 … bool connectedQueue = (pathElement->IsQueue() && pathElement->GetRideIndex() != RIDE_ID_NULL); in DoHandymanPathFinding() 1445 if (CurrentRide != rideEntranceExitElement->AsEntrance()->GetRideIndex()) in UpdateHeadingToInspect() 1552 if (CurrentRide != rideEntranceExitElement->AsEntrance()->GetRideIndex()) in UpdateAnswering()
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/ride/gentle/ |
H A D | CrookedHouse.cpp | 55 auto ride = get_ride(original_tile_element->AsTrack()->GetRideIndex()); in paint_crooked_house_structure()
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/actions/ |
H A D | RideEntranceExitRemoveAction.cpp | 58 if (entranceElement->GetRideIndex() != rideIndex) in FindEntranceElement()
|
H A D | TrackRemoveAction.cpp | 124 ride_id_t rideIndex = tileElement->AsTrack()->GetRideIndex(); in Query() 310 ride_id_t rideIndex = tileElement->AsTrack()->GetRideIndex(); in Execute()
|
H A D | RideDemolishAction.cpp | 208 if (it.element->AsTrack()->GetRideIndex() != static_cast<ride_id_t>(_rideIndex)) in DemolishTracks()
|
H A D | LandSetHeightAction.cpp | 276 ride_id_t rideIndex = trackElement->GetRideIndex(); in CheckRideSupports()
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/rct12/ |
H A D | RCT12.h | 459 uint8_t GetRideIndex() const; 522 uint8_t GetRideIndex() const; 646 uint8_t GetRideIndex() const;
|
H A D | RCT12.cpp | 143 uint8_t RCT12PathElement::GetRideIndex() const in GetRideIndex() function in RCT12PathElement 216 uint8_t RCT12TrackElement::GetRideIndex() const in GetRideIndex() function in RCT12TrackElement 458 uint8_t RCT12EntranceElement::GetRideIndex() const in GetRideIndex() function in RCT12EntranceElement
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/test/testpaint/ |
H A D | Compat.cpp | 234 const auto* ride = get_ride(GetRideIndex()); in GetSeatRotation() 332 ride_id_t TrackElement::GetRideIndex() const in GetRideIndex() function in TrackElement
|