ScummVM API documentation
AGS3::ScreenOverlay Struct Reference

Public Member Functions

 ScreenOverlay (ScreenOverlay &&)
 
ScreenOverlayoperator= (ScreenOverlay &&)
 
 ScreenOverlay (const ScreenOverlay &)=default
 
ScreenOverlayoperator= (const ScreenOverlay &)=default
 
bool HasAlphaChannel () const
 
bool IsSpriteShared () const
 
bool IsRoomRelative () const
 
bool IsRoomLayer () const
 
void SetAlphaChannel (bool on)
 
void SetRoomRelative (bool on)
 
void SetRoomLayer (bool on)
 
Shared::BitmapGetImage () const
 
int GetSpriteNum () const
 
Size GetGraphicSize () const
 
void SetImage (std::unique_ptr< Shared::Bitmap > pic, bool has_alpha=false, int offx=0, int offy=0)
 
void SetSpriteNum (int sprnum, int offx=0, int offy=0)
 
bool HasChanged () const
 
void MarkChanged ()
 
void ClearChanged ()
 
void ReadFromSavegame (Shared::Stream *in, bool &has_bitmap, int32_t cmp_ver)
 
void WriteToSavegame (Shared::Stream *out) const
 

Public Attributes

int type = -1
 
int creation_id = 0
 
int timeout = 0
 
int x = 0
 
int y = 0
 
int offsetX = 0
 
int offsetY = 0
 
int scaleWidth = 0
 
int scaleHeight = 0
 
int bgSpeechForChar = -1
 
int associatedOverlayHandle = 0
 
int zorder = INT_MIN
 
int transparency = 0
 

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