ScummVM API documentation
Sci::GfxView Class Reference

#include <view.h>

Public Member Functions

 GfxView (ResourceManager *resMan, GfxScreen *screen, GfxPalette *palette, GuiResourceId resourceId)
 
GuiResourceId getResourceId () const
 
int16 getWidth (int16 loopNo, int16 celNo) const
 
int16 getHeight (int16 loopNo, int16 celNo) const
 
const CelInfogetCelInfo (int16 loopNo, int16 celNo) const
 
void getCelRect (int16 loopNo, int16 celNo, int16 x, int16 y, int16 z, Common::Rect &outRect) const
 
void getCelSpecialHoyle4Rect (int16 loopNo, int16 celNo, int16 x, int16 y, int16 z, Common::Rect &outRect) const
 
void getCelScaledRect (int16 loopNo, int16 celNo, int16 x, int16 y, int16 z, int16 scaleX, int16 scaleY, Common::Rect &outRect) const
 
const SciSpan< const byte > & getBitmap (int16 loopNo, int16 celNo)
 
void draw (const Common::Rect &rect, const Common::Rect &clipRect, const Common::Rect &clipRectTranslated, int16 loopNo, int16 celNo, byte priority, uint16 EGAmappingNr, bool upscaledHires, uint16 scaleSignal=0)
 
void drawScaled (const Common::Rect &rect, const Common::Rect &clipRect, const Common::Rect &clipRectTranslated, int16 loopNo, int16 celNo, byte priority, int16 scaleX, int16 scaleY, uint16 scaleSignal=0)
 
uint16 getLoopCount () const
 
uint16 getCelCount (int16 loopNo) const
 
PalettegetPalette ()
 
bool isScaleable ()
 
void adjustToUpscaledCoordinates (int16 &y, int16 &x)
 
void adjustBackUpscaledCoordinates (int16 &y, int16 &x)
 

Detailed Description

View class, handles loading of view resources and drawing contained cels to screen every view resource has its own instance of this class


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