ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Agi::PictureMgr Class Reference
Inheritance diagram for Agi::PictureMgr:
Agi::PictureMgr_GAL Agi::PictureMgr_Mickey_Winnie Agi::PictureMgr_Troll

Public Member Functions

 PictureMgr (AgiBase *agi, GfxMgr *gfx)
 
int16 getResourceNr () const
 
void decodePicture (int16 resourceNr, bool clearScreen, bool agi256=false, int16 width=160, int16 height=168)
 
void decodePictureFromBuffer (byte *data, uint32 length, bool clearScreen, int16 width=160, int16 height=168)
 
void showPicture (int16 x=0, int16 y=0, int16 width=160, int16 height=168)
 
void showPictureWithTransition ()
 

Protected Member Functions

virtual byte getInitialPriorityColor () const
 
void putVirtPixel (int16 x, int16 y)
 
void xCorner (bool skipOtherCoords=false)
 
void yCorner (bool skipOtherCoords=false)
 
virtual void plotPattern (byte x, byte y)
 
virtual void plotBrush ()
 
byte getNextByte ()
 
bool getNextParamByte (byte &b)
 
byte getNextNibble ()
 
virtual bool getNextXCoordinate (byte &x)
 
virtual bool getNextYCoordinate (byte &y)
 
bool getNextCoordinates (byte &x, byte &y)
 
virtual bool getGraphicsCoordinates (int16 &x, int16 &y)
 
virtual void drawPicture ()
 
void drawPicture_AGI256 ()
 
void draw_SetColor ()
 
void draw_SetPriority ()
 
void draw_SetNibbleColor ()
 
void draw_SetNibblePriority ()
 
virtual void draw_Line (int16 x1, int16 y1, int16 x2, int16 y2)
 
void draw_LineShort ()
 
void draw_LineAbsolute ()
 
virtual bool draw_FillCheck (int16 x, int16 y, bool horizontalCheck)
 
virtual void draw_Fill (int16 x, int16 y)
 
virtual void draw_Fill ()
 

Protected Attributes

AgiBase_vm
 
GfxMgr_gfx
 
int16 _resourceNr
 
uint8 * _data
 
uint32 _dataSize
 
uint32 _dataOffset
 
bool _dataOffsetNibble
 
uint8 _patCode
 
uint8 _patNum
 
uint8 _priOn
 
uint8 _scrOn
 
uint8 _scrColor
 
uint8 _priColor
 
uint8 _minCommand
 
int16 _width
 
int16 _height
 

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