ScummVM API documentation
CGE2::Sprite Class Reference
Inheritance diagram for CGE2::Sprite:
CGE2::Hero CGE2::Mouse CGE2::Speaker CGE2::System CGE2::Talk CGE2::InfoLine CGE2::MenuBar CGE2::VMenu

Classes

struct  Flags
 

Public Member Functions

bool works (Sprite *spr)
 
bool seqTest (int n)
 
bool active ()
 
 Sprite (CGE2Engine *vm)
 
 Sprite (CGE2Engine *vm, BitmapPtr shp, int cnt)
 
BitmapPtr getShp ()
 
void setShapeList (BitmapPtr shp, int cnt)
 
void moveShapesHi ()
 
void moveShapesLo ()
 
int labVal (Action snq, int lab)
 
virtual Spriteexpand ()
 
virtual Spritecontract ()
 
void backShow ()
 
void setName (char *newName)
 
char * name ()
 
void gotoxyz (int x, int y, int z=0)
 
void gotoxyz ()
 
void gotoxyz (V2D pos)
 
void gotoxyz_ (V2D pos)
 
void gotoxyz (V3D pos)
 
void center ()
 
void show (uint16 pg)
 
void hide (uint16 pg)
 
void show ()
 
void hide ()
 
BitmapPtr ghost ()
 
void step (int nr=-1)
 
SeqsetSeq (Seq *seq)
 
CommandHandler::CommandsnList (Action type)
 
virtual void touch (uint16 mask, V2D pos, Common::KeyCode keyCode)
 
virtual void tick ()
 
virtual void setScene (int c)
 
void clrHide ()
 
void sync (Common::Serializer &s)
 

Public Attributes

int _ref
 
signed char _scene
 
struct CGE2::Sprite::Flags _flags
 
V2D _pos2D
 
V3D _pos3D
 
V2D _siz
 
uint16 _time
 
struct {
   byte   _ptr
 
   byte   _cnt
 
_actionCtrl [kActions]
 
int _seqPtr
 
int _seqCnt
 
int _shpCnt
 
char _file [kMaxFile]
 
Sprite_prev
 
Sprite_next
 

Static Public Attributes

static byte _constY
 
static byte _follow
 
static Seq _stdSeq8 []
 
static void(* notify )()
 

Protected Attributes

SprExt_ext
 
CGE2Engine_vm
 

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