22 #ifndef NANCY_ACTION_TELEPHONE_H 23 #define NANCY_ACTION_TELEPHONE_H 25 #include "engines/nancy/action/actionrecord.h" 42 int16 eventFlagCondition = -1;
46 enum CallState { kWaiting, kButtonPress, kRinging, kBadNumber, kPreCall, kCall, kHangUp };
51 _buttonLastPushed(-1),
55 _animIsStopped(
false),
56 _isNewPhone(isNewPhone) {}
62 void execute()
override;
66 Common::String getRecordTypeName()
const override {
return _isNewPhone ?
"NewPhone" :
"Telephone"; }
67 bool isViewportRelative()
const override {
return true; }
87 bool _hasDisplay =
false;
88 uint16 _displayFont = 0;
90 uint32 _displayAnimFrameTime = 0;
94 bool _dialAutomatically =
true;
99 int16 _upDirButtonID = -1;
100 int16 _downDirButtonID = -1;
101 int16 _dialButtonID = -1;
102 int16 _dirButtonID = -1;
111 CallState _callState;
112 int _buttonLastPushed;
117 uint32 _displayAnimEnd = 0;
118 uint16 _displayAnimFrame = 0;
119 int16 _displayedDirectory = 0;
120 bool _isShowingDirectory =
false;
130 #endif // NANCY_ACTION_TELEPHONE_H Definition: managed_surface.h:51
Definition: telephone.h:33
Definition: commontypes.h:171
Definition: actionrecord.h:149
Definition: telephone.h:35
Definition: commontypes.h:254
Definition: actionmanager.h:32