[Scummvm-cvs-logs] SF.net SVN: scummvm: [31851] scummvm/branches/gsoc2008-gui/graphics
sev at users.sourceforge.net
sev at users.sourceforge.net
Sun May 4 00:10:52 CEST 2008
Revision: 31851
http://scummvm.svn.sourceforge.net/scummvm/?rev=31851&view=rev
Author: sev
Date: 2008-05-03 15:10:52 -0700 (Sat, 03 May 2008)
Log Message:
-----------
Code formatting.
Modified Paths:
--------------
scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.cpp
scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.h
Modified: scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.cpp
===================================================================
--- scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.cpp 2008-05-03 22:05:17 UTC (rev 31850)
+++ scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.cpp 2008-05-03 22:10:52 UTC (rev 31851)
@@ -34,11 +34,11 @@
inline uint32 fp_sqroot(uint32 x);
VectorRenderer *createRenderer() {
- return new VectorRendererSpec<uint16,ColorMasks<565> >;
+ return new VectorRendererSpec<uint16,ColorMasks<565>>;
}
-void vector_renderer_test( OSystem *_system ) {
+void vector_renderer_test(OSystem *_system) {
VectorRenderer *vr = createRenderer();
Surface _screen;
@@ -123,7 +123,7 @@
template<typename PixelType, typename PixelFormat>
void VectorRendererAA<PixelType,PixelFormat>::
-blendPixelPtr( PixelType *ptr, uint8 alpha ) {
+blendPixelPtr(PixelType *ptr, uint8 alpha) {
register int idst = *ptr;
register int isrc = Base::_color;
Modified: scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.h
===================================================================
--- scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.h 2008-05-03 22:05:17 UTC (rev 31850)
+++ scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.h 2008-05-03 22:10:52 UTC (rev 31851)
@@ -33,7 +33,7 @@
namespace Graphics {
-void vector_renderer_test( OSystem *_system );
+void vector_renderer_test(OSystem *_system);
/**
* VectorRenderer: The core Vector Renderer Class
@@ -113,7 +113,7 @@
*
* @param surface Pointer to a Surface object.
*/
- virtual void setSurface(Surface *surface){
+ virtual void setSurface(Surface *surface) {
_activeSurface = surface;
}
@@ -248,7 +248,7 @@
*
* @see VectorRenderer::blendPixel()
*/
- virtual inline void blendPixel( int x, int y, uint8 alpha ) {
+ virtual inline void blendPixel(int x, int y, uint8 alpha) {
putPixel(x, y);
}
@@ -319,7 +319,7 @@
* The AA renderer does support alpha blending. Special cases are
* handled separately.
*/
- inline void blendPixel( int x, int y, uint8 alpha ) {
+ inline void blendPixel(int x, int y, uint8 alpha) {
if (alpha == 0)
return;
else if (alpha < 255)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list