aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/lab.h
diff options
context:
space:
mode:
authorStrangerke2015-12-02 01:39:58 +0100
committerWillem Jan Palenstijn2015-12-23 21:33:46 +0100
commit6b24481358464510b5310f8c32cd3bc617286b17 (patch)
treeece9c251458059062a3eea8fcba5990b53f079ef /engines/lab/lab.h
parent66bf8885585975ae860c8c3d175b960b6a7e9590 (diff)
downloadscummvm-rg350-6b24481358464510b5310f8c32cd3bc617286b17.tar.gz
scummvm-rg350-6b24481358464510b5310f8c32cd3bc617286b17.tar.bz2
scummvm-rg350-6b24481358464510b5310f8c32cd3bc617286b17.zip
LAB: Move functions related to keyboard events to Event
Diffstat (limited to 'engines/lab/lab.h')
-rw-r--r--engines/lab/lab.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/engines/lab/lab.h b/engines/lab/lab.h
index b7cf6e1771..348ce11eca 100644
--- a/engines/lab/lab.h
+++ b/engines/lab/lab.h
@@ -102,7 +102,6 @@ public:
int _roomNum;
byte *_currentDisplayBuffer;
- Common::Point _mousePos;
CrumbData _breadCrumbs[MAX_CRUMBS];
uint16 _numCrumbs;
@@ -114,17 +113,10 @@ public:
bool _isCrumbWaiting;
byte *_tempScrollData;
bool _isHiRes;
-
-private:
byte *_displayBuffer;
+private:
int _lastWaitTOFTicks;
-
- uint16 _nextKeyIn;
- uint16 _keyBuf[64];
- uint16 _nextKeyOut;
- bool _mouseAtEdge;
-
bool _lastMessageLong;
bool _lastTooLong;
@@ -146,9 +138,6 @@ public:
void setPalette(void *cmap, uint16 numcolors);
void drawHLine(uint16 x, uint16 y1, uint16 y2);
void drawVLine(uint16 x1, uint16 y, uint16 x2);
- bool haveNextChar();
- uint16 getNextChar();
- void processInput(bool can_delay = false);
void writeColorReg(byte *buf, uint16 regnum);
void writeColorRegsSmooth(byte *buf, uint16 first, uint16 numreg);
@@ -180,13 +169,13 @@ public:
void drawDirection(CloseDataPtr LCPtr);
int followCrumbs();
+ void changeVolume(int delta);
+
private:
void quickWaitTOF();
/*---------- Drawing Routines ----------*/
- Common::Point getMousePos();
- void changeVolume(int delta);
void applyPalette(byte *buf, uint16 first, uint16 numreg, uint16 slow);
// engine.cpp