ScummVM API documentation
Queen::BobSlot Struct Reference

Public Member Functions

void curPos (int16 xx, int16 yy)
 
void move (int16 dstx, int16 dsty, int16 spd)
 
void moveOneStep ()
 
void animOneStep ()
 
void animString (const AnimFrame *animBuf)
 
void animNormal (uint16 firstFrame, uint16 lastFrame, uint16 speed, bool rebound, bool xflip)
 
void scaleWalkSpeed (uint16 ms)
 
void clear ()
 
void clear (const Box *defaultBox)
 

Public Attributes

bool active
 
int16 x
 current position
 
int16 y
 
Box box
 bounding box
 
bool xflip
 
uint16 scale
 shrinking percentage
 
uint16 frameNum
 associated BobFrame
 
int frameDir
 'direction' for the next frame (-1, 1)
 
bool animating
 animation stuff
 
struct {
   int16   speed
 
   int16   speedBak
 
   struct {
      const AnimFrame *   buffer
 
      const AnimFrame *   curPos
 
   }   string
 string based animation
 
   struct {
      bool   rebound
 
      uint16   firstFrame
 
      uint16   lastFrame
 
   }   normal
 normal moving animation
 
anim
 
bool moving
 
bool xmajor
 move along x axis instead of y
 
int8 xdir
 moving direction
 
int8 ydir
 
int16 endx
 destination point
 
int16 endy
 
uint16 dx
 
uint16 dy
 
uint16 total
 

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