ScummVM API documentation
Sword1::Screen Class Reference

Public Member Functions

 Screen (OSystem *system, SwordEngine *vm, ResMan *pResMan, ObjectMan *pObjMan)
 
void clearScreen ()
 
void useTextManager (Text *pTextMan)
 
void draw ()
 
void initFadePaletteServer ()
 
void quitScreen ()
 
void newScreen (uint32 screen)
 
void setScrolling (int16 offsetX, int16 offsetY)
 
void addToGraphicList (uint8 listId, uint32 objId)
 
void startFadePaletteDown (int speed)
 
void startFadePaletteUp (int speed)
 
void fadePalette ()
 
void fnSetPalette (uint8 start, uint16 length, uint32 id)
 
void fnSetFadeTargetPalette (uint8 start, uint16 length, uint32 id, int singleColor=-1)
 
int16 stillFading ()
 
void fullRefresh (bool soft=false)
 
void setNextFadeOutToBlack ()
 
bool showScrollFrame ()
 
void updateScreen ()
 
void showFrame (uint16 x, uint16 y, uint32 resId, uint32 frameNo, const byte *fadeMask=nullptr, int8 fadeStatus=0)
 
void fnSetParallax (uint32 screen, uint32 resId)
 
void fnFlash (uint8 color)
 
void printDebugLine (uint8 *ascii, uint8 first, int x, int y)
 
void plotLine (int32 x1, int32 y1, int32 x2, int32 y2, uint8 color)
 
void plotPoint (int32 x, int32 y, uint8 color)
 
void bresenhamLine (int32 x1, int32 y1, int32 x2, int32 y2, uint8 color)
 

Static Public Member Functions

static void decompressHIF (uint8 *src, uint8 *dest)
 

Public Attributes

Common::Mutex _screenAccessMutex
 

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