diff options
| author | Strangerke | 2015-12-26 13:53:11 +0100 | 
|---|---|---|
| committer | Strangerke | 2015-12-26 13:53:11 +0100 | 
| commit | 07b554b847d9675d5d97b7ea36ac87ce17e6a1f3 (patch) | |
| tree | fe77dd9410ed5b1877e2bc1df2cefd4013b928e0 /engines/lab/anim.cpp | |
| parent | 6910a3b2690040dfa6592e6a49f0dbf95d2a2855 (diff) | |
| download | scummvm-rg350-07b554b847d9675d5d97b7ea36ac87ce17e6a1f3.tar.gz scummvm-rg350-07b554b847d9675d5d97b7ea36ac87ce17e6a1f3.tar.bz2 scummvm-rg350-07b554b847d9675d5d97b7ea36ac87ce17e6a1f3.zip | |
LAB: Add an access function to make _headerData a private member of Anim
Diffstat (limited to 'engines/lab/anim.cpp')
| -rw-r--r-- | engines/lab/anim.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/engines/lab/anim.cpp b/engines/lab/anim.cpp index 92ca49b95d..ea7f568de3 100644 --- a/engines/lab/anim.cpp +++ b/engines/lab/anim.cpp @@ -80,6 +80,9 @@ void Anim::setOutputBuffer(byte *memoryBuffer) {  	_outputBuffer = memoryBuffer;  } +uint16 Anim::getDIFFHeight() { +	return _headerdata._height; +}  void Anim::diffNextFrame(bool onlyDiffData) {  	if (_lastBlockHeader == 65535) @@ -90,7 +93,7 @@ void Anim::diffNextFrame(bool onlyDiffData) {  	byte *startOfBuf = _outputBuffer;  	int bufPitch = _vm->_graphics->_screenWidth; -	if (!_outputBuffer) { +	if (!startOfBuf) {  		startOfBuf = _vm->_graphics->getCurrentDrawingBuffer();  		drawOnScreen = true;  	} | 
