Home
last modified time | relevance | path

Searched refs:GetRideIndex (Results 1 – 25 of 42) sorted by relevance

12

/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/world/
H A DTileElement.cpp89 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 DEntrance.cpp139 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 DFootpath.cpp821 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 DTileElement.h206 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 DConstructionClearance.cpp97 auto ride = get_ride(tileElement->AsTrack()->GetRideIndex()); in MapLoc68BABCShouldContinue()
294 ride = get_ride(tileElement->AsTrack()->GetRideIndex()); in map_obstruction_set_error_text()
H A DTileInspector.cpp309 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 DBanner.cpp100 ride_id_t rideIndex = tileElement->AsTrack()->GetRideIndex(); in banner_get_ride_index_at()
H A DMapAnimation.cpp106 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 DScTileElement.cpp371 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 DPaint.Entrance.cpp40 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 DTrack.cpp86 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 DRideConstruction.cpp356 …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 DTrackDesignSave.cpp599 … 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 DRide.cpp410 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 DTrackDesign.cpp357 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 DGuestPathfinding.cpp294 …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 DStaff.cpp632 … 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 DCrookedHouse.cpp55 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 DRideEntranceExitRemoveAction.cpp58 if (entranceElement->GetRideIndex() != rideIndex) in FindEntranceElement()
H A DTrackRemoveAction.cpp124 ride_id_t rideIndex = tileElement->AsTrack()->GetRideIndex(); in Query()
310 ride_id_t rideIndex = tileElement->AsTrack()->GetRideIndex(); in Execute()
H A DRideDemolishAction.cpp208 if (it.element->AsTrack()->GetRideIndex() != static_cast<ride_id_t>(_rideIndex)) in DemolishTracks()
H A DLandSetHeightAction.cpp276 ride_id_t rideIndex = trackElement->GetRideIndex(); in CheckRideSupports()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/rct12/
H A DRCT12.h459 uint8_t GetRideIndex() const;
522 uint8_t GetRideIndex() const;
646 uint8_t GetRideIndex() const;
H A DRCT12.cpp143 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 DCompat.cpp234 const auto* ride = get_ride(GetRideIndex()); in GetSeatRotation()
332 ride_id_t TrackElement::GetRideIndex() const in GetRideIndex() function in TrackElement

12