mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
Code formatting.
svn-id: r31851
This commit is contained in:
parent
e5929da662
commit
3e8e978c4e
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user