ScummVM API documentation
Prince::GraphicsMan Class Reference

Public Member Functions

 GraphicsMan (PrinceEngine *vm)
 
void update (Graphics::Surface *screen)
 
void change ()
 
void setPalette (const byte *palette)
 
void makeShadowTable (int brightness, byte *shadowTable)
 
void draw (Graphics::Surface *screen, const Graphics::Surface *s)
 
void drawTransparentSurface (Graphics::Surface *screen, int32 posX, int32 posY, const Graphics::Surface *s, int secondTransColor=0)
 
void drawAsShadowSurface (Graphics::Surface *screen, int32 posX, int32 posY, const Graphics::Surface *s, byte *shadowTable)
 
void drawTransparentWithBlendSurface (Graphics::Surface *screen, int32 posX, int32 posY, const Graphics::Surface *s)
 
byte getBlendTableColor (byte pixelColor, byte backgroundPixelColor, byte *blendTable)
 

Static Public Member Functions

static void drawTransparentDrawNode (Graphics::Surface *screen, DrawNode *drawNode)
 
static void drawTransparentWithTransDrawNode (Graphics::Surface *screen, DrawNode *drawNode)
 
static void drawAsShadowDrawNode (Graphics::Surface *screen, DrawNode *drawNode)
 
static void drawMaskDrawNode (Graphics::Surface *screen, DrawNode *drawNode)
 
static void drawBackSpriteDrawNode (Graphics::Surface *screen, DrawNode *drawNode)
 

Public Attributes

Graphics::Surface_frontScreen
 
Graphics::Surface_screenForInventory
 
Graphics::Surface_mapScreen
 
const Graphics::Surface_roomBackground
 
byte * _shadowTable70
 
byte * _shadowTable50
 

Static Public Attributes

static const byte kShadowColor = 191
 

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