ScummVM API documentation
Hugo::Screen_v1d Class Reference
Inheritance diagram for Hugo::Screen_v1d:
Hugo::Screen

Public Member Functions

 Screen_v1d (HugoEngine *vm)
 
void loadFont (int16 fontId) override
 
void loadFontArr (Common::ReadStream &in) override
 
- Public Member Functions inherited from Hugo::Screen
 Screen (HugoEngine *vm)
 
int16 fontHeight () const
 
int16 stringLength (const char *s) const
 
void displayBackground ()
 
void displayFrame (const int sx, const int sy, Seq *seq, const bool foreFl)
 
void displayList (int update,...)
 
void displayRect (const int16 x, const int16 y, const int16 dx, const int16 dy)
 
void drawBoundaries ()
 
void drawRectangle (const bool filledFl, const int16 x1, const int16 y1, const int16 x2, const int16 y2, const int color)
 
void drawShape (const int x, const int y, const int color1, const int color2)
 
void drawStatusText ()
 
void freeScreen ()
 
void hideCursor ()
 
void initDisplay ()
 
void initNewScreenDisplay ()
 
void loadPalette (Common::ReadStream &in)
 
void moveImage (ImagePtr srcImage, const int16 x1, const int16 y1, const int16 dx, int16 dy, const int16 width1, ImagePtr dstImage, const int16 x2, const int16 y2, const int16 width2)
 
void remapPal (uint16 oldIndex, uint16 newIndex)
 
void resetInventoryObjId ()
 
void restorePal (Common::ReadStream *f)
 
void savePal (Common::WriteStream *f) const
 
void setBackgroundColor (const uint16 color)
 
void setCursorPal ()
 
void selectInventoryObjId (const int16 objId)
 
void shadowStr (int16 sx, const int16 sy, const char *s, const byte color)
 
void showCursor ()
 
void userHelp () const
 
void writeStr (int16 sx, const int16 sy, const char *s, const byte color)
 
Icondib & getIconBuffer ()
 
Viewdib & getBackBuffer ()
 
Viewdib & getBackBufferBackup ()
 
Viewdib & getFrontBuffer ()
 
Viewdib & getGUIBuffer ()
 

Protected Member Functions

OverlayState findOvl (Seq *seqPtr, ImagePtr dstPtr, uint16 y) override
 
- Protected Member Functions inherited from Hugo::Screen
bool isInX (const int16 x, const Rect *rect) const
 
bool isInY (const int16 y, const Rect *rect) const
 
bool isOverlapping (const Rect *rectA, const Rect *rectB) const
 

Additional Inherited Members

- Protected Attributes inherited from Hugo::Screen
HugoEngine_vm
 
bool fontLoadedFl [kNumFonts]
 
byte * _arrayFont [kNumFonts]
 
byte _fnt
 
byte _fontdata [kNumFonts][kFontSize]
 
byte * _font [kNumFonts][kFontLength]
 
byte * _mainPalette
 
int16 _arrayFontSize [kNumFonts]
 
Viewdib _frontBuffer
 
- Static Protected Attributes inherited from Hugo::Screen
static const int kRectListSize = 16
 
static const int kBlitListSize = kRectListSize * 2
 
static const int kShapeSize = 24
 
static const int kFontLength = 128
 
static const int kFontSize = 1200
 
static const int kNumFonts = 3
 
static const byte stdMouseCursorHeight = 20
 
static const byte stdMouseCursorWidth = 12
 

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