ScummVM API documentation
Draci::WalkingMap Class Reference

Public Member Functions

void load (const byte *data, uint length)
 
bool getPixel (int x, int y) const
 
bool isWalkable (const Common::Point &p) const
 
SpritenewOverlayFromMap (byte color) const
 
Common::Point findNearestWalkable (int x, int y) const
 
bool findShortestPath (Common::Point p1, Common::Point p2, WalkingPath *path) const
 
void obliquePath (const WalkingPath &path, WalkingPath *obliquedPath)
 
SpritenewOverlayFromPath (const WalkingPath &path, byte color) const
 
Common::Point getDelta () const
 

Static Public Member Functions

static int pointsBetween (const Common::Point &p1, const Common::Point &p2)
 
static Common::Point interpolate (const Common::Point &p1, const Common::Point &p2, int i, int n)
 

The documentation for this class was generated from the following file: