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

Public Member Functions

 Screen_v1w (HugoEngine *vm)
 
void loadFont (int16 fontId) override
 
void loadFontArr (Common::ReadStream &in) override
 
void displayFrame (const int sx, const int sy, Seq *seq, const bool foreFl) override
 
void loadPalette (Common::SeekableReadStream &in) override
 
- Public Member Functions inherited from Hugo::Screen
 Screen (HugoEngine *vm)
 
int16 fontHeight () const
 
int16 stringLength (const char *s) const
 
void displayBackground ()
 
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 updateStatusText ()
 
void updatePromptText (const char *command, char cursor)
 
void drawStatusText ()
 
void displayStatusText ()
 
void drawPromptText ()
 
void displayPromptText ()
 
void freeScreen ()
 
void hideCursor ()
 
void initDisplay ()
 
void initNewScreenDisplay ()
 
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)
 
Common::Rect drawDosText (byte x, byte y, const char *text, byte color)
 
byte getDosMessageBoxBorder () const
 
Common::KeyState dosMessageBox (const Common::String &text, bool protect=false, TtsOptions ttsOptions=kTtsReplaceNewlines)
 
Common::String dosPromptBox (const Common::String &text)
 
Common::KeyState getKey ()
 
Icondib & getIconBuffer ()
 
Viewdib & getBackBuffer ()
 
Viewdib & getBackBufferBackup ()
 
Viewdib & getFrontBuffer ()
 
Viewdib & getGUIBuffer ()
 

Protected Member Functions

OverlayState findOvl (Seq *seqPtr, ImagePtr dstPtr, uint16 y)
 
- 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]
 
int16 _arrayFontSize [kNumFonts]
 
byte * _mainPalette
 
byte * _curPalette
 
byte _paletteSize
 
Graphics::DosFont _dosFont
 
Viewdib _frontBuffer
 
Graphics::Surface _frontSurface
 
- 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: