ScummVM API documentation
Neverhood::SmackerSurface Class Reference
Inheritance diagram for Neverhood::SmackerSurface:
Neverhood::BaseSurface Neverhood::SmackerDoubleSurface

Public Member Functions

 SmackerSurface (NeverhoodEngine *vm)
 
void draw () override
 
void setSmackerFrame (const Graphics::Surface *smackerFrame)
 
void unsetSmackerFrame ()
 
void renderSubtitles ()
 
- Public Member Functions inherited from Neverhood::BaseSurface
 BaseSurface (NeverhoodEngine *vm, int priority, int16 width, int16 height, Common::String name)
 
void clear ()
 
void drawSpriteResource (SpriteResource &spriteResource)
 
void drawSpriteResourceEx (SpriteResource &spriteResource, bool flipX, bool flipY, int16 width, int16 height)
 
void drawAnimResource (AnimResource &animResource, uint frameIndex, bool flipX, bool flipY, int16 width, int16 height)
 
void drawMouseCursorResource (MouseCursorResource &mouseCursorResource, int frameNum)
 
void copyFrom (Graphics::Surface *sourceSurface, int16 x, int16 y, NDrawRect &sourceRect)
 
int getPriority () const
 
void setPriority (int priority)
 
NDrawRectgetDrawRect ()
 
NDrawRectgetSysRect ()
 
NRectgetClipRect ()
 
void setClipRect (NRect clipRect)
 
void setClipRects (NRect *clipRects, uint clipRectsCount)
 
void clearClipRects ()
 
bool getVisible () const
 
void setVisible (bool value)
 
void setTransparent (bool value)
 
Graphics::SurfacegetSurface ()
 
const Common::String getName () const
 

Protected Attributes

const Graphics::Surface_smackerFrame
 
Common::ScopedPtr< SubtitlePlayer_subtitles
 
uint32 frameNumber
 
- Protected Attributes inherited from Neverhood::BaseSurface
NeverhoodEngine_vm
 
int _priority
 
bool _visible
 
Common::String _name
 
Graphics::Surface_surface
 
NDrawRect _drawRect
 
NDrawRect _sysRect
 
NRect _clipRect
 
NRect_clipRects
 
uint _clipRectsCount
 
bool _transparent
 
byte _version
 

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