ScummVM API documentation
Neverhood::Screen Class Reference

Public Member Functions

 Screen (NeverhoodEngine *vm)
 
void update ()
 
uint32 getNextFrameTime ()
 
void saveParams ()
 
void restoreParams ()
 
void setFps (int fps)
 
int getFps ()
 
void setYOffset (int16 yOffset)
 
int16 getYOffset ()
 
void setPaletteData (byte *paletteData)
 
void unsetPaletteData (byte *paletteData)
 
byte * getPaletteData ()
 
void testPalette (byte *paletteData)
 
void updatePalette ()
 
void clear ()
 
void clearRenderQueue ()
 
void drawSurface2 (const Graphics::Surface *surface, NDrawRect &drawRect, NRect &clipRect, bool transparent, byte version, const Graphics::Surface *shadowSurface=NULL, byte alphaColor=0)
 
void drawSurface3 (const Graphics::Surface *surface, int16 x, int16 y, NDrawRect &drawRect, NRect &clipRect, bool transparent, byte version)
 
void drawDoubleSurface2 (const Graphics::Surface *surface, NDrawRect &drawRect)
 
void drawDoubleSurface2Alpha (const Graphics::Surface *surface, NDrawRect &drawRect, byte alphaColor)
 
void drawUnk (const Graphics::Surface *surface, NDrawRect &drawRect, NDrawRect &sysRect, NRect &clipRect, bool transparent, byte version)
 
void drawSurfaceClipRects (const Graphics::Surface *surface, NDrawRect &drawRect, NRect *clipRects, uint clipRectsCount, bool transparent, byte version)
 
void setSmackerDecoder (Video::SmackerDecoder *smackerDecoder)
 
void queueBlit (const Graphics::Surface *surface, int16 destX, int16 destY, NRect &ddRect, bool transparent, byte version, const Graphics::Surface *shadowSurface=NULL, byte alphaColor=0)
 
void blitRenderItem (const RenderItem &renderItem, const Common::Rect &clipRect)
 

Protected Attributes

NeverhoodEngine_vm
 
MicroTileArray_microTiles
 
Graphics::Surface_backScreen
 
Video::SmackerDecoder_smackerDecoder
 
Video::SmackerDecoder_savedSmackerDecoder
 
int32 _ticks
 
int32 _frameDelay
 
int32 _savedFrameDelay
 
byte * _paletteData
 
bool _paletteChanged
 
int16 _yOffset
 
int16 _savedYOffset
 
bool _fullRefresh
 
RenderQueue_renderQueue
 
RenderQueue_prevRenderQueue
 

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