ScummVM API documentation
HDB::Gfx Class Reference

Public Member Functions

void init ()
 
void save (Common::OutSaveFile *out)
 
void loadSaveFile (Common::InSaveFile *in)
 
void fillScreen (uint32 color)
 
void updateVideo ()
 
void setPointerState (int value)
 
void drawPointer ()
 
void showPointer (bool status)
 
bool getPointer ()
 
void setFade (bool fadeIn, bool black, int steps)
 
void updateFade ()
 
bool isFadeActive ()
 
bool isFadeStaying ()
 
void turnOffFade ()
 
void turnOnSnow ()
 
void turnOffSnow ()
 
PictureloadPic (const char *picName)
 
TileloadTile (const char *tileName)
 
TileloadIcon (const char *tileName)
 
void setPixel (int x, int y, uint16 color)
 
TilegetTile (int index)
 
void cacheTileSequence (int index, int count)
 
int getTileIndex (const char *name)
 
PicturegetPicture (const char *name)
 
void emptyGfxCaches ()
 
void markTileCacheFreeable ()
 
void markGfxCacheFreeable ()
 
bool selectGfxType (const char *name)
 
TilegetTileGfx (const char *name, int32 size)
 
PicturegetPicGfx (const char *name, int32 size)
 
int isSky (int skyIndex)
 
void setSky (int skyIndex)
 
void setup3DStars ()
 
void setup3DStarsLeft ()
 
void draw3DStars ()
 
void draw3DStarsLeft ()
 
void drawSky ()
 
void drawSnow ()
 
int animateTile (int tileIndex)
 
bool loadFont (const char *string)
 
void drawText (const char *string)
 
void getDimensions (const char *string, int *pixelsWide, int *lines)
 
int stringLength (const char *string)
 
void centerPrint (const char *string)
 
void setTextEdges (int left, int right, int top, int bottom)
 
void getTextEdges (int *left, int *right, int *top, int *bottom)
 
void setKernLead (int kern, int lead)
 
void getKernLead (int *kern, int *lead)
 
void setCursor (int x, int y)
 
void getCursor (int *x, int *y)
 
double getSin (int index)
 
double getCos (int index)
 
void turnOnBonusStars (int which)
 
void drawBonusStars ()
 
void drawDebugInfo (Tile *_debugLogo, int fps)
 

Public Attributes

Graphics::ManagedSurface _globalSurface
 
bool active
 
bool stayFaded
 
bool isBlack
 
int speed
 
bool isFadeIn
 
int curStep
 
double x [50]
 
double y [50]
 
double yv [50]
 
int xvindex [50]
 
int x
 
int y
 
uint16 color
 
double speed
 
int starAngle [10]
 
Picturegfx [2]
 
uint32 timer
 
int anim
 
int radius
 
double angleSpeed
 
uint32 totalTime
 

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