ScummVM API documentation
Asylum::Screen Class Reference

Public Member Functions

 Screen (AsylumEngine *_vm)
 
void draw (ResourceId resourceId)
 
void draw (ResourceId resourceId, uint32 frameIndex, const Common::Point &source, DrawFlags flags=kDrawFlagNone, bool colorKey=true)
 
void draw (ResourceId resourceId, uint32 frameIndex, const int16(*srcPtr)[2], DrawFlags flags=kDrawFlagNone, bool colorKey=true)
 
void draw (GraphicResource *resource, uint32 frameIndex, const Common::Point &source, DrawFlags flags=kDrawFlagNone, bool colorKey=true)
 
void drawTransparent (ResourceId resourceId, uint32 frameIndex, const Common::Point &source, DrawFlags flags, uint32 transTableNum)
 
void drawTransparent (GraphicResource *resource, uint32 frameIndex, const Common::Point &source, DrawFlags flags, uint32 transTableNum)
 
void draw (ResourceId resourceId, uint32 frameIndex, const Common::Point &source, DrawFlags flags, ResourceId resourceId2, const Common::Point &destination, bool colorKey=true)
 
void draw (const Graphics::Surface &surface, int x, int y)
 
void clear ()
 
void clearDefaultColor ()
 
void drawWideScreenBars (int16 barSize) const
 
void fillRect (int16 x, int16 y, int16 x2, int16 y2, uint32 color)
 
void copyBackBufferToScreen ()
 
void setFlag (int16 val)
 
int16 getFlag ()
 
void setPalette (ResourceId id)
 
const byte * getPalette ()
 
void setMainPalette (const byte *data)
 
void loadGrayPalette ()
 
void updatePalette ()
 
void updatePalette (int32 param)
 
void setupPalette (byte *buffer, int start, int count)
 
bool isFading ()
 
void queuePaletteFade (ResourceId resourceId, int32 ticksWait, int32 delta)
 
void paletteFade (uint32 start, int32 ticksWait, int32 delta)
 
void stopPaletteFade (char red, char green, char blue)
 
void stopPaletteFadeAndSet (ResourceId id, int32 ticksWait, int32 delta)
 
void processPaletteFadeQueue ()
 
void setPaletteGamma (ResourceId id)
 
void setGammaLevel (ResourceId id)
 
void setupTransTable (ResourceId resourceId)
 
void setupTransTables (uint32 count,...)
 
void selectTransTable (uint32 index)
 
void addGraphicToQueue (ResourceId resourceId, uint32 frameIndex, const Common::Point &point, DrawFlags flags, int32 transTableNum, int32 priority)
 
void addGraphicToQueue (ResourceId resourceId, uint32 frameIndex, const int16(*pointPtr)[2], DrawFlags flags, int32 transTableNum, int32 priority)
 
void addGraphicToQueueCrossfade (ResourceId resourceId, uint32 frameIndex, const Common::Point &source, int32 objectResourceId, const Common::Point &destination, uint32 transTableNum)
 
void addGraphicToQueueMasked (ResourceId resourceId, uint32 frameIndex, const Common::Point &source, int32 objectResourceId, const Common::Point &destination, DrawFlags flags, int32 priority)
 
void addGraphicToQueue (GraphicQueueItem const &item)
 
void drawGraphicsInQueue ()
 
void clearGraphicsInQueue ()
 
void deleteGraphicFromQueue (ResourceId resourceId)
 
bool isGraphicQueueEmpty ()
 
void copyToBackBuffer (const byte *buffer, int32 pitch, int16 x, int16 y, uint16 width, uint16 height, bool mirrored=false)
 
void drawLine (const Common::Point &source, const Common::Point &destination, uint32 color=0xFF)
 
void drawLine (const int16(*srcPtr)[2], const int16(*dstPtr)[2], uint32 color=0xFF)
 
void drawRect (const Common::Rect &rect, uint32 color=0xFF)
 
void copyToBackBufferClipped (Graphics::Surface *surface, int16 x, int16 y)
 
Graphics::SurfacegetSurface ()
 

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