ScummVM API documentation
Scumm::CharsetRendererClassic Class Reference
Inheritance diagram for Scumm::CharsetRendererClassic:
Scumm::CharsetRendererPC Scumm::CharsetRendererCommon Scumm::CharsetRenderer

Public Member Functions

 CharsetRendererClassic (ScummEngine *vm, int cjkSpacing)
 
 CharsetRendererClassic (ScummEngine *vm)
 
void printChar (int chr, bool ignoreCharsetMask) override
 
void drawChar (int chr, Graphics::Surface &s, int x, int y) override
 
int getCharWidth (uint16 chr) const override
 
- Public Member Functions inherited from Scumm::CharsetRendererPC
 CharsetRendererPC (ScummEngine *vm)
 
- Public Member Functions inherited from Scumm::CharsetRendererCommon
 CharsetRendererCommon (ScummEngine *vm)
 
void setCurID (int32 id) override
 
int getFontHeight () const override
 
- Public Member Functions inherited from Scumm::CharsetRenderer
 CharsetRenderer (ScummEngine *vm)
 
virtual int getStringWidth (int arg, const byte *text)
 
void addLinebreaks (int a, byte *str, int pos, int maxwidth)
 
void translateColor ()
 
int getCurID ()
 
virtual int getCharHeight (uint16 chr) const
 
virtual void setColor (byte color, bool shadowModeSpecialFlag=false)
 
virtual byte getColor ()
 
void saveLoadWithSerializer (Common::Serializer &ser)
 

Protected Member Functions

virtual void drawBitsN (const Graphics::Surface &s, byte *dst, const byte *src, byte bpp, int drawTop, int width, int height)
 
void printCharIntern (bool is2byte, const byte *charPtr, int origWidth, int origHeight, int width, int height, VirtScreen *vs, bool ignoreCharsetMask)
 
virtual bool prepareDraw (uint16 chr)
 
- Protected Member Functions inherited from Scumm::CharsetRendererPC
virtual void setShadowMode (ShadowType mode)
 
virtual void drawBits1 (Graphics::Surface &dest, int x, int y, const byte *src, int drawTop, int width, int height)
 
void drawBits1Kor (Graphics::Surface &dest, int x1, int y1, const byte *src, int drawTop, int width, int height)
 

Protected Attributes

int _width
 
int _height
 
int _origWidth
 
int _origHeight
 
int _cjkSpacing
 
int _offsX
 
int _offsY
 
const byte * _charPtr
 
VirtScreenNumber _drawScreen
 
- Protected Attributes inherited from Scumm::CharsetRendererCommon
const byte * _fontPtr
 
int _bitsPerPixel
 
int _fontHeight
 
int _numChars
 
byte _shadowColor
 
ShadowType _shadowType
 
- Protected Attributes inherited from Scumm::CharsetRenderer
byte _color
 
ScummEngine_vm
 
int32 _curId
 

Additional Inherited Members

- Public Types inherited from Scumm::CharsetRendererCommon
enum  ShadowType { kNoShadowType, kNormalShadowType, kHorizontalShadowType, kOutlineShadowType }
 
- Public Attributes inherited from Scumm::CharsetRenderer
Common::Rect _str
 
int _top
 
int _left
 
int _startLeft
 
int _right
 
bool _center
 
bool _hasMask
 
VirtScreenNumber _textScreenID
 
bool _blitAlso
 
bool _firstChar
 
bool _disableOffsX
 

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