aboutsummaryrefslogtreecommitdiff
path: root/src/game/WaypointMovementGenerator.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-13 21:23:05 -0700
committermaximius <none@none>2009-10-13 21:23:05 -0700
commit32d3907576dca81d5bbf5a57f75a3d262d942a68 (patch)
tree5903694b3ad2edeba7380b4e12f1a1e2547d39ff /src/game/WaypointMovementGenerator.h
parent335a3529c1414b2af0895e84575a36d6ef906eba (diff)
*Taxi - preload flightmaster at end of path, by MrSmite
--HG-- branch : trunk
Diffstat (limited to 'src/game/WaypointMovementGenerator.h')
-rw-r--r--src/game/WaypointMovementGenerator.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/WaypointMovementGenerator.h b/src/game/WaypointMovementGenerator.h
index 9804c150d63..ad531e7a91f 100644
--- a/src/game/WaypointMovementGenerator.h
+++ b/src/game/WaypointMovementGenerator.h
@@ -114,6 +114,14 @@ public PathMovementBase<Player>
void SkipCurrentNode() { ++i_currentNode; }
bool GetDestination(float& x, float& y, float& z) const { i_destinationHolder.GetDestination(x,y,z); return true; }
+ private:
+ // storage for preloading the flightmaster grid at end
+ // before reaching final waypoint
+ uint32 m_endMapId;
+ uint32 m_preloadTargetNode;
+ float m_endGridX;
+ float m_endGridY;
+ void PreloadEndGrid();
};
#endif