ScummVM API documentation
Saga2::TilePoint Struct Reference
Inheritance diagram for Saga2::TilePoint:
Saga2::Location

Public Member Functions

 TilePoint (int16 nu, int16 nv, int16 nz)
 
 TilePoint (Common::SeekableReadStream *stream)
 
 TilePoint (StaticTilePoint p)
 
void load (Common::SeekableReadStream *stream)
 
void write (Common::MemoryWriteStreamDynamic *out) const
 
void operator+= (TilePoint a)
 
void operator-= (TilePoint a)
 
int16 quickHDistance ()
 
int16 quickDir ()
 
int16 magnitude ()
 
void debugPrint (int level=0, const char *msg="TilePoint:")
 

Public Attributes

int16 u
 
int16 v
 
int16 z
 

Friends

TilePoint operator+ (TilePoint a, TilePoint b)
 
TilePoint operator- (TilePoint a)
 
TilePoint operator- (TilePoint a, TilePoint b)
 
TilePoint operator* (TilePoint a, int b)
 
TilePoint operator/ (TilePoint a, int b)
 
TilePoint operator>> (TilePoint a, int b)
 
TilePoint operator<< (TilePoint a, int b)
 
int operator== (TilePoint a, TilePoint b)
 
int operator!= (TilePoint a, TilePoint b)
 

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