diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-26 21:08:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-26 21:08:45 +0300 |
commit | a8acf366d3e943fb636e24b69c8c67152770d2cc (patch) | |
tree | 99d51b8b56489fd03f32cd291e8570834954ac90 /src/render/graphics.h | |
parent | e2b84bddbb089f43a9c2c3741545378614481a32 (diff) | |
download | mv-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.gz mv-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.bz2 mv-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.xz mv-a8acf366d3e943fb636e24b69c8c67152770d2cc.zip |
Fix code style.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r-- | src/render/graphics.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h index 53877361b..52ecce258 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -213,7 +213,8 @@ class Graphics notfinal int x, int y) const restrict2 = 0; virtual void calcTileSDL(ImageVertexes *restrict const vert A_UNUSED, - int x A_UNUSED, int y A_UNUSED) const restrict2 + int x A_UNUSED, + int y A_UNUSED) const restrict2 { } @@ -223,16 +224,20 @@ class Graphics notfinal virtual void drawTileCollection(const ImageCollection *restrict const vertCol) restrict2 = 0; - virtual void calcTileCollection(ImageCollection *restrict const vertCol, + virtual void calcTileCollection(ImageCollection *restrict const + vertCol, const Image *restrict const image, - int x, int y) restrict2 = 0; + int x, + int y) restrict2 = 0; virtual void calcWindow(ImageCollection *restrict const vertCol, const int x, const int y, const int w, const int h, - const ImageRect &restrict imgRect) restrict2 = 0; + const ImageRect &restrict imgRect) + restrict2 = 0; - virtual void fillRectangle(const Rect &restrict rectangle) restrict2 = 0; + virtual void fillRectangle(const Rect &restrict rectangle) + restrict2 = 0; /** * Updates the screen. This is done by either copying the buffer to the @@ -240,10 +245,11 @@ class Graphics notfinal */ virtual void updateScreen() restrict2 = 0; + void setWindowSize(const int width, #ifdef USE_SDL2 - void setWindowSize(const int width, const int height) restrict2; + const int height) restrict2; #else - void setWindowSize(const int width, const int height) restrict2 A_CONST; + const int height) restrict2 A_CONST; #endif /** |