|
Common::String | _fixedTextWindowExit |
|
Common::String | _fixedTextWindowUp |
|
Common::String | _fixedTextWindowDown |
|
byte | _hotkeyWindowExit |
|
byte | _hotkeyWindowUp |
|
byte | _hotkeyWindowDown |
|
Common::Array< Statement > | _statements |
|
bool | _talkToAbort |
|
int | _talkCounter |
|
int | _talkTo |
|
int | _scriptMoreFlag |
|
bool | _openTalkWindow |
|
Common::String | _scriptName |
|
bool | _moreTalkUp |
|
bool | _moreTalkDown |
|
int | _converseNum |
|
const byte * | _opcodes |
|
int | _speaker |
|
|
void | talkInterface (const byte *&str) override |
|
void | talkWait (const byte *&str) override |
|
void | switchSpeaker () override |
|
void | nothingToSay () override |
|
void | showTalk () override |
|
| Talk (SherlockEngine *vm) |
|
OpcodeReturn | cmdAddItemToInventory (const byte *&str) |
|
OpcodeReturn | cmdAdjustObjectSequence (const byte *&str) |
|
OpcodeReturn | cmdBanishWindow (const byte *&str) |
|
OpcodeReturn | cmdDisableEndKey (const byte *&str) |
|
OpcodeReturn | cmdEnableEndKey (const byte *&str) |
|
OpcodeReturn | cmdEndTextWindow (const byte *&str) |
|
OpcodeReturn | cmdHolmesOff (const byte *&str) |
|
OpcodeReturn | cmdHolmesOn (const byte *&str) |
|
OpcodeReturn | cmdPause (const byte *&str) |
|
OpcodeReturn | cmdPauseWithoutControl (const byte *&str) |
|
OpcodeReturn | cmdRemoveItemFromInventory (const byte *&str) |
|
OpcodeReturn | cmdRunCAnimation (const byte *&str) |
|
OpcodeReturn | cmdSetFlag (const byte *&str) |
|
OpcodeReturn | cmdSetObject (const byte *&str) |
|
OpcodeReturn | cmdStealthModeActivate (const byte *&str) |
|
OpcodeReturn | cmdStealthModeDeactivate (const byte *&str) |
|
OpcodeReturn | cmdToggleObject (const byte *&str) |
|
OpcodeReturn | cmdWalkToCAnimation (const byte *&str) |
|
bool | isOpcode (byte checkCharacter) |
|
void | setTalkMap () |
|
◆ talkInterface()
void Sherlock::Scalpel::ScalpelTalk::talkInterface |
( |
const byte *& |
str | ) |
|
|
overrideprotectedvirtual |
◆ talkWait()
void Sherlock::Scalpel::ScalpelTalk::talkWait |
( |
const byte *& |
str | ) |
|
|
overrideprotectedvirtual |
Pause when displaying a talk dialog on-screen
Reimplemented from Sherlock::Talk.
◆ switchSpeaker()
void Sherlock::Scalpel::ScalpelTalk::switchSpeaker |
( |
| ) |
|
|
overrideprotectedvirtual |
Called when the active speaker is switched
Reimplemented from Sherlock::Talk.
◆ nothingToSay()
void Sherlock::Scalpel::ScalpelTalk::nothingToSay |
( |
| ) |
|
|
overrideprotectedvirtual |
Called when a character being spoken to has no talk options to display
Implements Sherlock::Talk.
◆ showTalk()
void Sherlock::Scalpel::ScalpelTalk::showTalk |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ loadTalkFile()
void Sherlock::Scalpel::ScalpelTalk::loadTalkFile |
( |
const Common::String & |
filename | ) |
|
|
overridevirtual |
Opens the talk file 'talk.tlk' and searches the index for the specified conversation. If found, the data for that conversation is loaded
Reimplemented from Sherlock::Talk.
◆ talkTo()
void Sherlock::Scalpel::ScalpelTalk::talkTo |
( |
const Common::String & |
filename | ) |
|
|
overridevirtual |
Called whenever a conversation or item script needs to be run. For standard conversations, it opens up a description window similar to how 'talk' does, but shows a 'reply' directly instead of waiting for a statement option.
Reimplemented from Sherlock::Talk.
◆ waitForMore()
int Sherlock::Scalpel::ScalpelTalk::waitForMore |
( |
int |
delay | ) |
|
|
overridevirtual |
When the talk window has been displayed, waits a period of time proportional to the amount of text that's been displayed
Reimplemented from Sherlock::Talk.
◆ drawInterface()
void Sherlock::Scalpel::ScalpelTalk::drawInterface |
( |
| ) |
|
|
overridevirtual |
Draws the interface for conversation display
Reimplemented from Sherlock::Talk.
◆ displayTalk()
bool Sherlock::Scalpel::ScalpelTalk::displayTalk |
( |
bool |
slamIt | ) |
|
|
overridevirtual |
Display a list of statements in a window at the bottom of the screen that the player can select from.
Reimplemented from Sherlock::Talk.
◆ talkLine()
int Sherlock::Scalpel::ScalpelTalk::talkLine |
( |
int |
lineNum, |
|
|
int |
stateNum, |
|
|
byte |
color, |
|
|
int |
lineY, |
|
|
bool |
slamIt |
|
) |
| |
|
overridevirtual |
Prints a single conversation option in the interface window
Reimplemented from Sherlock::Talk.
◆ talk3DOMovieTrigger()
bool Sherlock::Scalpel::ScalpelTalk::talk3DOMovieTrigger |
( |
int |
subIndex | ) |
|
Trigger to play a 3DO talk dialog movie
◆ skipBadText()
static void Sherlock::Scalpel::ScalpelTalk::skipBadText |
( |
const byte *& |
msgP | ) |
|
|
static |
Handles skipping over bad text in conversations
◆ pushSequenceEntry()
void Sherlock::Scalpel::ScalpelTalk::pushSequenceEntry |
( |
Object * |
obj | ) |
|
|
overridevirtual |
Push the details of a passed object onto the saved sequences stack
Implements Sherlock::Talk.
◆ pullSequence()
void Sherlock::Scalpel::ScalpelTalk::pullSequence |
( |
int |
slot = -1 | ) |
|
|
overridevirtual |
Pulls a background object sequence from the sequence stack and restore's the object's sequence
Implements Sherlock::Talk.
◆ isSequencesEmpty()
bool Sherlock::Scalpel::ScalpelTalk::isSequencesEmpty |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ clearSequences()
void Sherlock::Scalpel::ScalpelTalk::clearSequences |
( |
| ) |
|
|
overridevirtual |
Clears the stack of pending object sequences associated with speakers in the scene
Implements Sherlock::Talk.
The documentation for this class was generated from the following file: