[Scummvm-cvs-logs] scummvm master -> 24af06b682c9d3a9eddc7ad8d19fbaeb0e750265
sev-
sev at scummvm.org
Wed Mar 9 23:59:30 CET 2016
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:
24af06b682 WAGE: Disabling bounds calculation code as too buggy ATM.
Commit: 24af06b682c9d3a9eddc7ad8d19fbaeb0e750265
https://github.com/scummvm/scummvm/commit/24af06b682c9d3a9eddc7ad8d19fbaeb0e750265
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-03-09T23:59:08+01:00
Commit Message:
WAGE: Disabling bounds calculation code as too buggy ATM.
Changed paths:
engines/wage/design.cpp
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp
index 677efd0..0a0cc0a 100644
--- a/engines/wage/design.cpp
+++ b/engines/wage/design.cpp
@@ -87,16 +87,16 @@ void Design::paint(Graphics::Surface *surface, Patterns &patterns, int x, int y)
bool needRender = false;
if (_surface == NULL) {
- _boundsCalculationMode = true;
+ //_boundsCalculationMode = true;
_bounds->debugPrint(4, "Internal bounds:");
- _bounds->left = _bounds->top = 10000;
- _bounds->right =_bounds->bottom = -10000;
- render(patterns);
+ //_bounds->left = _bounds->top = 10000;
+ //_bounds->right =_bounds->bottom = -10000;
+ //render(patterns);
_boundsCalculationMode = false;
if (_bounds->right == -10000) {
_bounds->left = _bounds->top = _bounds->right = _bounds->bottom = 0;
}
- _bounds->debugPrint(4, "Calculated bounds:");
+ //_bounds->debugPrint(4, "Calculated bounds:");
_surface = new Graphics::Surface;
_surface->create(_bounds->width(), _bounds->height(), Graphics::PixelFormat::createFormatCLUT8());
More information about the Scummvm-git-logs
mailing list