ScummVM API documentation
Awe::Video Struct Reference

Public Types

enum  { BITMAP_W = 320, BITMAP_H = 200 }
 

Public Member Functions

 Video (Resource *res)
 
void init ()
 
void setDefaultFont ()
 
void setFont (const uint8 *font)
 
void setHeads (const uint8 *src)
 
void setDataBuffer (uint8 *dataBuf, uint16 offset)
 
void drawShape (uint8 color, uint16 zoom, const Point *pt)
 
void drawShapePart3DO (int color, int part, const Point *pt)
 
void drawShape3DO (int color, int zoom, const Point *pt)
 
void fillPolygon (uint16 color, uint16 zoom, const Point *pt)
 
void drawShapeParts (uint16 zoom, const Point *pt)
 
void drawString (uint8 color, uint16 x, uint16 y, uint16 strId)
 
uint8 getPagePtr (uint8 page)
 
void setWorkPagePtr (uint8 page)
 
void fillPage (uint8 page, uint8 color)
 
void copyPage (uint8 src, uint8 dst, int16 vscroll)
 
void scaleBitmap (const uint8 *src, int fmt)
 
void copyBitmapPtr (const uint8 *src, uint32 size=0)
 
void changePal (uint8 pal)
 
void updateDisplay (uint8 page, SystemStub *stub)
 
void setPaletteColor (uint8 color, int r, int g, int b)
 
void drawRect (uint8 page, uint8 color, int x1, int y1, int x2, int y2)
 
void drawBitmap3DO (const char *name, SystemStub *stub)
 

Public Attributes

Resource_res
 
Gfx_graphics = nullptr
 
bool _hasHeadSprites = false
 
bool _displayHead = true
 
uint8 _nextPal = 0
 
uint8 _currentPal = 0
 
uint8 _buffers [3] = { 0 }
 
Ptr _pData
 
uint8 * _dataBuf = nullptr
 
const StrEntry_stringsTable = nullptr
 
uint8 _tempBitmap [BITMAP_W *BITMAP_H] = { 0 }
 
uint16 _bitmap555 [BITMAP_W *BITMAP_H] = { 0 }
 

Static Public Attributes

static const StrEntry STRINGS_TABLE_AMIGA_CODES []
 
static const StrEntry STRINGS_TABLE_FR []
 
static const StrEntry STRINGS_TABLE_ENG []
 
static const StrEntry STRINGS_TABLE_ITA []
 
static const StrEntry STRINGS_TABLE_DEMO []
 
static const uint16 STRINGS_ID_15TH []
 
static const char * STRINGS_TABLE_15TH []
 
static const char * _str0x194AtariDemo
 
static const StrEntry STRINGS_TABLE_3DO []
 
static const char * NOTE_TEXT_3DO
 
static const char * END_TEXT_3DO
 
static const uint8 * VERTICES_3DO [201]
 
static const uint8 PALETTE_EGA []
 
static bool _useEGA
 

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