Classes | |
struct | CCSound |
struct | Frequency |
Public Member Functions | |
void | init () override |
void | updateGraphics () override |
void | readData (Common::SeekableReadStream &stream) override |
void | execute () override |
void | handleInput (NancyInput &input) override |
Public Member Functions inherited from Nancy::Action::RenderActionRecord | |
RenderActionRecord (uint zOrder) | |
void | onPause (bool pause) override |
Public Member Functions inherited from Nancy::Action::ActionRecord | |
virtual CursorManager::CursorType | getHoverCursor () const |
Public Member Functions inherited from Nancy::RenderObject | |
RenderObject (uint16 zOrder) | |
RenderObject (uint16 zOrder, Graphics::ManagedSurface &surface, const Common::Rect &srcBounds, const Common::Rect &destBounds) | |
virtual void | registerGraphics () |
void | moveTo (const Common::Point &position) |
void | moveTo (const Common::Rect &bounds) |
void | setVisible (bool visible) |
void | setTransparent (bool isTransparent) |
bool | isVisible () const |
void | grabPalette (byte *colors, uint paletteStart=0, uint paletteSize=256) |
void | setPalette (const Common::Path &paletteName, uint paletteStart=0, uint paletteSize=256) |
void | setPalette (const byte *colors, uint paletteStart=0, uint paletteSize=256) |
bool | hasMoved () const |
Common::Rect | getScreenPosition () const |
Common::Rect | getPreviousScreenPosition () const |
Common::Rect | convertToLocal (const Common::Rect &screen) const |
Common::Rect | convertToScreen (const Common::Rect &rect) const |
Common::Rect | getBounds () const |
uint16 | getZOrder () const |
Protected Types | |
enum | ButtonPress { kNone = -1, kConnect = 10, kDot = 11, kDash = 12, kSend = 13, kDelete = 14, kReset = 15 } |
Protected Member Functions | |
Common::String | getRecordTypeName () const override |
bool | isViewportRelative () const override |
void | setFrequency (const Common::Array< uint16 > &freq) |
Protected Member Functions inherited from Nancy::Action::ActionRecord | |
void | finishExecution () |
virtual bool | canHaveHotspot () const |
Protected Attributes | |
Common::Path | _imageName |
uint16 | _numDigits = 0 |
Frequency | _startFreq |
Frequency | _correctFreq |
uint16 | _passwordMaxSize = 0 |
Common::String | _password |
FlagDescription | _passwordFlag |
Common::String | _codeWord |
Common::Array< Common::Rect > | _digitDests |
Common::Array< Common::Rect > | _buttonDests |
Common::Array< Common::Rect > | _digitSrcs |
Common::Array< Common::Rect > | _buttonSrcs |
SoundDescription | _digitRollSound |
CCSound | _frequencyButtonSound |
CCSound | _connectButtonSound |
CCSound | _dotButtonSound |
CCSound | _dashButtonSound |
CCSound | _sendButtonSound |
CCSound | _deleteButtonSound |
CCSound | _resetButtonSound |
CCSound | _badLetterSound |
CCSound | _longMorseOtherSound |
CCSound | _goodPasswordSound |
CCSound | _longMorseSound |
Common::Array< CCSound > | _badFrequencySounds |
SceneChangeWithFlag | _solveScene |
uint16 | _solveSoundDelay = 0 |
CCSound | _solveSound |
Common::Rect | _exitButtonDest |
Common::Rect | _exitButtonSrc |
SceneChangeWithFlag | _exitScene |
uint16 | _exitSoundDelay = 0 |
SoundDescription | _exitSound |
Common::Array< Frequency > | _otherFrequencies |
Graphics::ManagedSurface | _image |
bool | _digitsRolling = true |
Common::Array< uint16 > | _curDigits |
Common::Array< uint16 > | _displayedDigitFrames |
Common::Array< uint32 > | _nextDigitFrameTimes |
Common::String | _curMorseString |
Common::String | _curCharString |
int | _pressedButton = kNone |
uint32 | _buttonEndTime = 0 |
bool | _isOnCorrectFrequency = false |
bool | _solvedPassword = false |
bool | _solvedCodeword = false |
Protected Attributes inherited from Nancy::RenderObject | |
bool | _needsRedraw |
bool | _isVisible |
bool | _hasMoved |
uint16 | _z |
Common::Rect | _previousScreenPosition |
Common::Rect | _screenPosition |
Additional Inherited Members | |
Public Types inherited from Nancy::Action::ActionRecord | |
enum | ExecutionState { kBegin, kRun, kActionTrigger } |
enum | ExecutionType { kOneShot = 1, kRepeating = 2 } |
Public Attributes inherited from Nancy::Action::ActionRecord | |
Common::String | _description |
byte | _type |
ExecutionType | _execType |
DependencyRecord | _dependencies |
bool | _isActive |
bool | _isDone |
bool | _hasHotspot |
Common::Rect | _hotspot |
ExecutionState | _state |
int16 | _days |
DependencyRecord * | _cursorDependency |
Public Attributes inherited from Nancy::RenderObject | |
Graphics::ManagedSurface | _drawSurface |