ScummVM API documentation
Sludge::GraphicsManager Class Reference

Public Member Functions

 GraphicsManager (SludgeEngine *vm)
 
void init ()
 
void kill ()
 
void setWindowSize (uint winWidth, uint winHeight)
 
bool initGfx ()
 
void display ()
 
void clear ()
 
bool loadParallax (uint16 v, uint16 fracX, uint16 fracY)
 
void killParallax ()
 
void saveParallax (Common::WriteStream *fp)
 
void drawParallax ()
 
void killAllBackDrop ()
 
bool resizeBackdrop (int x, int y)
 
bool killResizeBackdrop (int x, int y)
 
void killBackDrop ()
 
void loadBackDrop (int fileNum, int x, int y)
 
void mixBackDrop (int fileNum, int x, int y)
 
void drawBackDrop ()
 
void blankScreen (int x1, int y1, int x2, int y2)
 
void blankAllScreen ()
 
void darkScreen ()
 
void saveHSI (Common::WriteStream *stream)
 
bool loadHSI (int num, Common::SeekableReadStream *stream, int, int, bool)
 
bool mixHSI (int num, Common::SeekableReadStream *stream, int x=0, int y=0)
 
void drawLine (uint, uint, uint, uint)
 
void drawHorizontalLine (uint, uint, uint)
 
void drawVerticalLine (uint, uint, uint)
 
void hardScroll (int distance)
 
bool getRGBIntoStack (uint x, uint y, StackHandler *sH)
 
void saveBackdrop (Common::WriteStream *stream)
 
void loadBackdrop (int ssgVersion, Common::SeekableReadStream *streamn)
 
void killLightMap ()
 
bool loadLightMap (int v)
 
void saveLightMap (Common::WriteStream *stream)
 
bool loadLightMap (int ssgVersion, Common::SeekableReadStream *stream)
 
void nosnapshot ()
 
bool snapshot ()
 
void saveSnapshot (Common::WriteStream *stream)
 
bool restoreSnapshot (Common::SeekableReadStream *stream)
 
int getCamX ()
 
int getCamY ()
 
float getCamZoom ()
 
void aimCamera (int cameraX, int cameraY)
 
void zoomCamera (int z)
 
int getCenterX (int width)
 
int checkSizeValide (int width, int height)
 
bool freeze ()
 
void unfreeze (bool killImage=true)
 
int howFrozen ()
 
bool isFrozen ()
 
bool loadSpriteBank (char *filename, SpriteBank &loadhere)
 
bool loadSpriteBank (int fileNum, SpriteBank &loadhere, bool isFont)
 
void fontSprite (int x1, int y1, Sprite &single, const SpritePalette &fontPal)
 
void flipFontSprite (int x1, int y1, Sprite &single, const SpritePalette &fontPal)
 
bool scaleSprite (Sprite &single, const SpritePalette &fontPal, OnScreenPerson *thisPerson, bool mirror)
 
void fixScaleSprite (int x1, int y1, Sprite &single, const SpritePalette &fontPal, OnScreenPerson *thisPerson, const int camX, const int camY, bool)
 
void pasteSpriteToBackDrop (int x1, int y1, Sprite &single, const SpritePalette &fontPal)
 
bool reserveSpritePal (SpritePalette &sP, int n)
 
void burnSpriteToBackDrop (int x1, int y1, Sprite &single, const SpritePalette &fontPal)
 
LoadedSpriteBankloadBankForAnim (int ID)
 
bool setZBuffer (int y)
 
void killZBuffer ()
 
void drawZBuffer (int x, int y, bool upsidedown)
 
void saveZBuffer (Common::WriteStream *stream)
 
bool loadZBuffer (Common::SeekableReadStream *stream)
 
void drawSpriteToZBuffer (int x, int y, uint8 depth, const Graphics::Surface &surface)
 
void fillZBuffer (uint8 d)
 
void setBlankColor (int r, int g, int b)
 
void setBurnColor (int r, int g, int b)
 
void saveColors (Common::WriteStream *stream)
 
void loadColors (Common::SeekableReadStream *stream)
 
bool setThumbnailSize (int thumbWidth, int thumbHeight)
 
bool saveThumbnail (Common::WriteStream *stream)
 
bool skipThumbnail (Common::SeekableReadStream *stream)
 
void showThumbnail (const Common::String &filename, int x, int y)
 
void setBrightnessLevel (int brightnessLevel)
 
void setFadeMode (int fadeMode)
 
void fixBrightness ()
 
void resetRandW ()
 
void reserveTransitionTexture ()
 
void transitionFader ()
 
void transitionDisolve ()
 
void transitionTV ()
 
void transitionBlinds ()
 
void transitionSnapshotBox ()
 
void transitionCrossFader ()
 
bool blurScreen ()
 
void blur_saveSettings (Common::WriteStream *stream)
 
void blur_loadSettings (Common::SeekableReadStream *stream)
 
bool blur_createSettings (int numParams, VariableStack *&stack)
 
uint getWinWidth ()
 
uint getWinHeight ()
 

Static Public Member Functions

static void forgetSpriteBank (SpriteBank &forgetme)
 

Public Attributes

int _lightMapMode
 

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