[Scummvm-cvs-logs] CVS: scummvm/backends/sdl graphics.cpp,1.38,1.39
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Tue Apr 19 05:46:08 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/backends/sdl graphics.cpp,1.37,1.38
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm script_v100he.cpp,2.130,2.131 script_v90he.cpp,2.230,2.231 sprite_he.cpp,1.128,1.129 wiz_he.cpp,2.60,2.61 wiz_he.h,2.16,2.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30493
Modified Files:
graphics.cpp
Log Message:
More whitespace.
Index: graphics.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/graphics.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- graphics.cpp 19 Apr 2005 12:22:50 -0000 1.38
+++ graphics.cpp 19 Apr 2005 12:43:54 -0000 1.39
@@ -43,7 +43,7 @@
};
// Table of relative scalers magnitudes
-// [definedScale-1][_scaleFactor-1]
+// [definedScale - 1][_scaleFactor - 1]
static ScalerProc *scalersMagn[3][3] = {
{ Normal1x, AdvMame2x, AdvMame3x },
{ Normal1x, Normal1x, Normal1o5x },
@@ -539,7 +539,7 @@
srcSurf = _tmpscreen2;
width = _overlayWidth;
height = _overlayHeight;
- scalerProc = scalersMagn[_overlayScale-1][_scaleFactor-1];
+ scalerProc = scalersMagn[_overlayScale - 1][_scaleFactor - 1];
scale1 = _scaleFactor;
scale2 = _overlayScale;
@@ -1055,7 +1055,7 @@
} else {
// Quality is degraded here. It is possible to run one-less scaler here, but is it
// really needed? Quality will anyway be degraded because of 1.5x scaler.
- (scalersMagn[0][_overlayScale-1])((byte *)(_tmpscreen->pixels) + _tmpscreen->pitch + 2,
+ (scalersMagn[0][_overlayScale - 1])((byte *)(_tmpscreen->pixels) + _tmpscreen->pitch + 2,
_tmpscreen->pitch, (byte *)_overlayscreen->pixels, _overlayscreen->pitch, _screenWidth, _screenHeight);
}
SDL_UnlockSurface(_tmpscreen);
@@ -1076,7 +1076,7 @@
byte *src = (byte *)_overlayscreen->pixels;
int h = _overlayHeight;
do {
- memcpy(buf, src, _overlayWidth*2);
+ memcpy(buf, src, _overlayWidth * 2);
src += _overlayscreen->pitch;
buf += pitch;
} while (--h);
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/backends/sdl graphics.cpp,1.37,1.38
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm script_v100he.cpp,2.130,2.131 script_v90he.cpp,2.230,2.231 sprite_he.cpp,1.128,1.129 wiz_he.cpp,2.60,2.61 wiz_he.h,2.16,2.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list