◆ doBgAnimRestoreUI()
void Sherlock::Tattoo::TattooUserInterface::doBgAnimRestoreUI |
( |
| ) |
|
Handles restoring any areas of the back buffer that were/are covered by UI elements
◆ doScroll()
void Sherlock::Tattoo::TattooUserInterface::doScroll |
( |
| ) |
|
Checks to see if the screen needs to be scrolled. If so, scrolls it towards the target position
◆ initScrollVars()
void Sherlock::Tattoo::TattooUserInterface::initScrollVars |
( |
| ) |
|
Initializes scroll variables
◆ lookAtObject()
void Sherlock::Tattoo::TattooUserInterface::lookAtObject |
( |
| ) |
|
Display the long description for an object in a window
◆ printObjectDesc()
void Sherlock::Tattoo::TattooUserInterface::printObjectDesc |
( |
const Common::String & |
str, |
|
|
bool |
firstTime |
|
) |
| |
Display the passed long description for an object. If the flag firstTime is set, the window will be opened to accommodate the text. Otherwise, the remaining text will be printed in an already open window
◆ doJournal()
void Sherlock::Tattoo::TattooUserInterface::doJournal |
( |
| ) |
|
Handles displaying the journal
◆ doInventory()
void Sherlock::Tattoo::TattooUserInterface::doInventory |
( |
int |
mode | ) |
|
Put the game in inventory mode by opening the inventory dialog
◆ doControls()
void Sherlock::Tattoo::TattooUserInterface::doControls |
( |
| ) |
|
Handle the display of the options/setup menu
◆ doQuitMenu()
void Sherlock::Tattoo::TattooUserInterface::doQuitMenu |
( |
| ) |
|
Handle the display of the quit menu
◆ pickUpObject()
void Sherlock::Tattoo::TattooUserInterface::pickUpObject |
( |
int |
objNum | ) |
|
Pick up the selected object
◆ putMessage()
void Sherlock::Tattoo::TattooUserInterface::putMessage |
( |
MSVC_PRINTF const char * |
formatStr, |
|
|
|
... |
|
) |
| |
This will display a text message in a dialog at the bottom of the screen
◆ setupBGArea()
void void Sherlock::Tattoo::TattooUserInterface::setupBGArea |
( |
const byte |
cMap[PALETTE_SIZE] | ) |
|
Makes a greyscale translation table for each palette entry in the table
◆ doBgAnimEraseBackground()
void Sherlock::Tattoo::TattooUserInterface::doBgAnimEraseBackground |
( |
| ) |
|
Erase any background as needed before drawing frame
◆ drawMaskArea()
void Sherlock::Tattoo::TattooUserInterface::drawMaskArea |
( |
bool |
mode | ) |
|
Draws overlays onto the scene. Basically, the smoke effects some scenes have
◆ maskArea()
Takes the data passed in the image and apply it to the surface at the given position. The src mask data is encoded with a different color for each item. To highlight one, the runs that do not match the highlight number will be darkened
◆ makeBGArea()
void Sherlock::Tattoo::TattooUserInterface::makeBGArea |
( |
const Common::Rect & |
r | ) |
|
Translate a given area of the back buffer to greyscale shading
◆ drawDialogRect()
void Sherlock::Tattoo::TattooUserInterface::drawDialogRect |
( |
Surface & |
s, |
|
|
const Common::Rect & |
r, |
|
|
bool |
raised |
|
) |
| |
Draws all the dialog rectangles for any items that need them
◆ displayObjectNames()
void Sherlock::Tattoo::TattooUserInterface::displayObjectNames |
( |
| ) |
|
If the mouse cursor is point at the cursor, then display the name of the object on the screen. If there is no object being pointed it, clear any previously displayed name
◆ loadGame()
void Sherlock::Tattoo::TattooUserInterface::loadGame |
( |
| ) |
|
Show the load game dialog, and allow the user to load a game
◆ saveGame()
void Sherlock::Tattoo::TattooUserInterface::saveGame |
( |
| ) |
|
Show the save game dialog, and allow the user to save the game
◆ addFixedWidget()
void Sherlock::Tattoo::TattooUserInterface::addFixedWidget |
( |
WidgetBase * |
widget | ) |
|
Add a widget to the current scene to be executed if there are no active widgets in the main _widgets list
◆ reset()
void Sherlock::Tattoo::TattooUserInterface::reset |
( |
| ) |
|
|
overridevirtual |
◆ handleInput()
void Sherlock::Tattoo::TattooUserInterface::handleInput |
( |
| ) |
|
|
overridevirtual |
◆ drawInterface()
void Sherlock::Tattoo::TattooUserInterface::drawInterface |
( |
int |
bufferNum = 3 | ) |
|
|
overridevirtual |
◆ clearWindow()
void Sherlock::Tattoo::TattooUserInterface::clearWindow |
( |
| ) |
|
|
overridevirtual |
◆ banishWindow()
void Sherlock::Tattoo::TattooUserInterface::banishWindow |
( |
bool |
slideUp = true | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: