aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/walk/walk_shortest_path.h
diff options
context:
space:
mode:
authorwhiterandrek2018-05-22 08:03:37 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commit82974a9ce37aba6240f7c3543947631170f012c2 (patch)
tree6aeed5f5edfb1c758b2c18b8ac224bde40eaff8c /engines/pink/objects/walk/walk_shortest_path.h
parent931d6adbcbbe063857814dc76886e9a967b2a4f3 (diff)
downloadscummvm-rg350-82974a9ce37aba6240f7c3543947631170f012c2.tar.gz
scummvm-rg350-82974a9ce37aba6240f7c3543947631170f012c2.tar.bz2
scummvm-rg350-82974a9ce37aba6240f7c3543947631170f012c2.zip
PINK: fix indentation
Diffstat (limited to 'engines/pink/objects/walk/walk_shortest_path.h')
-rw-r--r--engines/pink/objects/walk/walk_shortest_path.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/engines/pink/objects/walk/walk_shortest_path.h b/engines/pink/objects/walk/walk_shortest_path.h
index deb7770061..a3ec85df1d 100644
--- a/engines/pink/objects/walk/walk_shortest_path.h
+++ b/engines/pink/objects/walk/walk_shortest_path.h
@@ -32,27 +32,27 @@ class WalkMgr;
class WalkShortestPath {
public:
- WalkShortestPath(WalkMgr *manager);
- WalkLocation *next(WalkLocation *start, WalkLocation *destination);
+ WalkShortestPath(WalkMgr *manager);
+ WalkLocation *next(WalkLocation *start, WalkLocation *destination);
private:
- void add(WalkLocation *wl, double val, WalkLocation *nearest);
- void remove(WalkLocation *location);
- WalkLocation *build();
- WalkLocation *getNearestNeighbor(WalkLocation *location);
- WalkLocation *findNearestNeighbor(WalkLocation *location);
- double getLengthToNearestNeigbor(WalkLocation *location);
- double getWeight(WalkLocation *location);
- void addLocationsToVisit();
- bool isLocationVisited(WalkLocation *location);
-
-
- WalkMgr *_manager;
- Common::Array<WalkLocation*> _locations;
- Common::Array<WalkLocation*> _toVisit;
- Common::Array<double> _weight;
- Common::Array<WalkLocation*> _visited;
- Common::Array<WalkLocation*> _nearestNeigbor;
+ void add(WalkLocation *wl, double val, WalkLocation *nearest);
+ void remove(WalkLocation *location);
+ WalkLocation *build();
+ WalkLocation *getNearestNeighbor(WalkLocation *location);
+ WalkLocation *findNearestNeighbor(WalkLocation *location);
+ double getLengthToNearestNeigbor(WalkLocation *location);
+ double getWeight(WalkLocation *location);
+ void addLocationsToVisit();
+ bool isLocationVisited(WalkLocation *location);
+
+
+ WalkMgr *_manager;
+ Common::Array<WalkLocation*> _locations;
+ Common::Array<WalkLocation*> _toVisit;
+ Common::Array<double> _weight;
+ Common::Array<WalkLocation*> _visited;
+ Common::Array<WalkLocation*> _nearestNeigbor;
};
} // End of namespace Pink