diff options
author | Eugene Sandulenko | 2008-05-03 22:10:52 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2008-05-03 22:10:52 +0000 |
commit | 3e8e978c4e05645660251d1b8d5e0db0eb756a57 (patch) | |
tree | 725ede7ab89cb42a5bfd0fee714d4c73a3e4f3b5 | |
parent | e5929da662dd328ea6ff46194d4cfae8eedec5a7 (diff) | |
download | scummvm-rg350-3e8e978c4e05645660251d1b8d5e0db0eb756a57.tar.gz scummvm-rg350-3e8e978c4e05645660251d1b8d5e0db0eb756a57.tar.bz2 scummvm-rg350-3e8e978c4e05645660251d1b8d5e0db0eb756a57.zip |
Code formatting.
svn-id: r31851
-rw-r--r-- | graphics/VectorRenderer.cpp | 6 | ||||
-rw-r--r-- | graphics/VectorRenderer.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/graphics/VectorRenderer.cpp b/graphics/VectorRenderer.cpp index 0897e530bb..f231531a16 100644 --- a/graphics/VectorRenderer.cpp +++ b/graphics/VectorRenderer.cpp @@ -34,11 +34,11 @@ namespace Graphics { 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 @@ drawLineAlg(int x1, int y1, int x2, int y2, int dx, int dy) { 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; diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h index b5be32e0e1..2f648b9c56 100644 --- a/graphics/VectorRenderer.h +++ b/graphics/VectorRenderer.h @@ -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 @@ public: * * @param surface Pointer to a Surface object. */ - virtual void setSurface(Surface *surface){ + virtual void setSurface(Surface *surface) { _activeSurface = surface; } @@ -248,7 +248,7 @@ public: * * @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 @@ protected: * 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) |