aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/input.h')
-rwxr-xr-xengines/pegasus/input.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/pegasus/input.h b/engines/pegasus/input.h
index 06724346e5..d70a573bc0 100755
--- a/engines/pegasus/input.h
+++ b/engines/pegasus/input.h
@@ -353,19 +353,24 @@ public:
void getInputLocation(Common::Point &where) const { where = _inputLocation; }
bool anyInputBitSet(const tInputBits bits) const { return (_inputState & bits) != 0; }
-
+
+ bool isConsoleRequested() const { return _consoleRequested; }
+
void clearInput() {
_inputState = kAllUpBits;
_inputLocation.x = 0;
_inputLocation.y = 0;
+ _consoleRequested = false;
}
protected:
void setInputBits(const tInputBits state) { _inputState = state; }
void setInputLocation(const Common::Point &where) { _inputLocation = where; }
+ void setConsoleRequested(bool consoleRequested) { _consoleRequested = consoleRequested; }
tInputBits _inputState;
Common::Point _inputLocation;
+ bool _consoleRequested;
};
class InputHandler {