Home
last modified time | relevance | path

Searched refs:PathfindGoal (Results 1 – 9 of 9) sorted by relevance

/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/actions/
H A DStaffHireNewAction.cpp204 newPeep->PathfindGoal.x = 0xFF; in QueryExecute()
205 newPeep->PathfindGoal.y = 0xFF; in QueryExecute()
206 newPeep->PathfindGoal.z = 0xFF; in QueryExecute()
207 newPeep->PathfindGoal.direction = INVALID_DIRECTION; in QueryExecute()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/peep/
H A DGuestPathfinding.cpp1331 if (isThin && peep->PathfindGoal == goal) in peep_pathfind_choose_direction()
1398 if (!direction_valid(peep->PathfindGoal.direction) || peep->PathfindGoal != goal) in peep_pathfind_choose_direction()
1400 peep->PathfindGoal = { goal, 0 }; in peep_pathfind_choose_direction()
1607 int32_t i = peep->PathfindGoal.direction++; in peep_pathfind_choose_direction()
1608 peep->PathfindGoal.direction &= 3; in peep_pathfind_choose_direction()
2307 PathfindGoal.SetNull(); in ResetPathfindGoal()
2308 PathfindGoal.direction = INVALID_DIRECTION; in ResetPathfindGoal()
H A DPeep.h372 TileCoordsXYZD PathfindGoal; member
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/
H A DGameStateSnapshots.cpp279 COMPARE_FIELD(Peep, PathfindGoal.x); in CompareSpriteDataPeep()
280 COMPARE_FIELD(Peep, PathfindGoal.y); in CompareSpriteDataPeep()
281 COMPARE_FIELD(Peep, PathfindGoal.z); in CompareSpriteDataPeep()
282 COMPARE_FIELD(Peep, PathfindGoal.direction); in CompareSpriteDataPeep()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/world/
H A DEntity.cpp159 stream << base.PathfindGoal; in PeepBaseSerialise()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2-ui/windows/
H A DGuest.cpp2114 ft.Add<int32_t>(peep->PathfindGoal.x); in window_guest_debug_paint()
2115 ft.Add<int32_t>(peep->PathfindGoal.y); in window_guest_debug_paint()
2116 ft.Add<int32_t>(peep->PathfindGoal.z); in window_guest_debug_paint()
2117 ft.Add<int32_t>(peep->PathfindGoal.direction); in window_guest_debug_paint()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/rct2/
H A DS6Exporter.cpp1551 if (src->PathfindGoal.IsNull()) in ExportEntityPeep()
1557 …dst->pathfind_goal = { static_cast<uint8_t>(src->PathfindGoal.x), static_cast<uint8_t>(src->Pathfi… in ExportEntityPeep()
1558 … static_cast<uint8_t>(src->PathfindGoal.z), src->PathfindGoal.direction }; in ExportEntityPeep()
H A DS6Importer.cpp1545 dst->PathfindGoal.SetNull(); in ImportEntityPeep()
1546 dst->PathfindGoal.direction = INVALID_DIRECTION; in ImportEntityPeep()
1550 dst->PathfindGoal = { src->pathfind_goal.x, src->pathfind_goal.y, src->pathfind_goal.z, in ImportEntityPeep()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/rct1/
H A DS4Importer.cpp1242 dst->PathfindGoal.x = 0xFF; in ImportPeep()
1243 dst->PathfindGoal.y = 0xFF; in ImportPeep()
1244 dst->PathfindGoal.z = 0xFF; in ImportPeep()
1245 dst->PathfindGoal.direction = INVALID_DIRECTION; in ImportPeep()