ScummVM API documentation
Chewy::McgaGraphics Class Reference

Public Member Functions

void init ()
 
void setPointer (byte *ptr)
 
void setPalette (byte *palette)
 
void raster_col (int16 c, int16 r, int16 g, int16 b)
 
void fadeIn (byte *palette)
 
void fadeOut ()
 
void set_partialpalette (const byte *palette, int16 startCol, int16 nr)
 
void cls ()
 
void drawLine (int16 x1, int16 y1, int16 x2, int16 y2, int16 color)
 
void box (int16 x1, int16 y1, int16 x2, int16 y2, int16 color)
 
void boxFill (int16 x1, int16 y1, int16 x2, int16 y2, int16 color)
 
void pop_box (int16 x, int16 y, int16 x1, int16 y1, int16 col1, int16 col2, int16 back_col)
 
void copyToScreen ()
 
void spriteSave (byte *spritePtr, int16 x, int16 y, int16 width, int16 height)
 
void spriteSet (byte *sptr, int16 x, int16 y, int16 scrWidth, uint16 spriteWidth=0, uint16 spriteHeight=0)
 
void scale_set (byte *sptr, int16 x, int16 y, int16 xdiff, int16 ydiff, int16 scrwidth)
 
void map_spr2screen (byte *sptr, int16 x, int16 y)
 
void plot_scan_cur (int16 x, int16 y, int16 fcol, int16 bcol, int16 scrwidth, char cursor)
 
int16 scanxy (int16 x, int16 y, int16 fcol, int16 bcol, int16 cur_col, int16 scrwidth, const char *string,...)
 
void printxy (int16 x, int16 y, int16 fgCol, int16 bgCol, int16 scrwidth, const char *format)
 
void move (int16 x, int16 y)
 
int16 findHotspot (const Common::Rect *hotspots)
 

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