[Scummvm-cvs-logs] scummvm master -> 72a548c8bc92be9d01fde023d9490110aa3bab71

Strangerke Strangerke at scummvm.org
Sun Mar 9 22:14:43 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
72a548c8bc GROOVIE: Remove two useless variables


Commit: 72a548c8bc92be9d01fde023d9490110aa3bab71
    https://github.com/scummvm/scummvm/commit/72a548c8bc92be9d01fde023d9490110aa3bab71
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-03-09T22:12:52+01:00

Commit Message:
GROOVIE: Remove two useless variables

Changed paths:
    engines/groovie/roq.cpp
    engines/groovie/roq.h



diff --git a/engines/groovie/roq.cpp b/engines/groovie/roq.cpp
index 4b3fb81..cbaa992 100644
--- a/engines/groovie/roq.cpp
+++ b/engines/groovie/roq.cpp
@@ -43,9 +43,8 @@
 
 namespace Groovie {
 
-ROQPlayer::ROQPlayer(GroovieEngine *vm) :
-	VideoPlayer(vm), _codingTypeCount(0),
-	_fg(&_vm->_graphicsMan->_foreground), _bg(&_vm->_graphicsMan->_background) {
+ROQPlayer::ROQPlayer(GroovieEngine *vm) : VideoPlayer(vm), _codingTypeCount(0), _bg(&_vm->_graphicsMan->_background) {
+	// _fg = &_vm->_graphicsMan->_foreground;
 
 	// Create the work surfaces
 	_currBuf = new Graphics::Surface();
diff --git a/engines/groovie/roq.h b/engines/groovie/roq.h
index 0e82983..b5e63c2 100644
--- a/engines/groovie/roq.h
+++ b/engines/groovie/roq.h
@@ -75,7 +75,8 @@ private:
 	byte _codebook4[256 * 4];
 
 	// Buffers
-	Graphics::Surface *_fg, *_bg, *_thirdBuf;
+	// Graphics::Surface *_fg, *_thirdBuf;
+	Graphics::Surface *_bg;
 	Graphics::Surface *_currBuf, *_prevBuf;
 	void buildShowBuf();
 	byte _scaleX, _scaleY;






More information about the Scummvm-git-logs mailing list