ScummVM API documentation
AGS3::Navigation Class Reference

Public Types

enum  NavResult { NAV_UNREACHABLE, NAV_STRAIGHT, NAV_PATH }
 

Public Member Functions

void Resize (int width, int height)
 
NavResult NavigateRefined (int sx, int sy, int ex, int ey, std::vector< int > &opath, std::vector< int > &ncpath)
 
NavResult Navigate (int sx, int sy, int ex, int ey, std::vector< int > &opath)
 
bool TraceLine (int srcx, int srcy, int targx, int targy, int &lastValidX, int &lastValidY) const
 
bool TraceLine (int srcx, int srcy, int targx, int targy, std::vector< int > *rpath=nullptr) const
 
void SetMapRow (int y, const unsigned char *row)
 

Static Public Member Functions

static int PackSquare (int x, int y)
 
static void UnpackSquare (int sq, int &x, int &y)
 

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