1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 05:23:04 +01:00

Add appropriate tags to functions

This commit is contained in:
LordOfLunacy
2022-05-13 20:25:58 -04:00
parent eddda64e20
commit 4436289ff7

View File

@@ -40,6 +40,10 @@ extern bool gPeepPathFindIgnoreForeignQueues;
class GuestPathfinding
{
public:
GuestPathfinding() = delete;
virtual ~GuestPathfinding() = default;
// Given a peep 'peep' at tile 'loc', who is trying to get to 'gPeepPathFindGoalPosition', decide
// the direction the peep should walk in from the current tile.
virtual Direction peep_pathfind_choose_direction(const TileCoordsXYZ& loc, Peep* peep) = 0;
@@ -58,9 +62,9 @@ public:
class OriginalPathfinding : public GuestPathfinding
{
public:
Direction peep_pathfind_choose_direction(const TileCoordsXYZ& loc, Peep* peep);
Direction peep_pathfind_choose_direction(const TileCoordsXYZ& loc, Peep* peep) final override;
int32_t guest_path_finding(Guest* peep);
int32_t guest_path_finding(Guest* peep) final override;
private:
int32_t GuestPathFindParkEntranceEntering(Peep* peep, uint8_t edges);