diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-17 21:20:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-18 15:08:47 +0300 |
commit | 09ec2b1ecc1a812e03878ccc07708a0aad02896a (patch) | |
tree | efc3406706d2471d22cc427299dd48455bf8048a /src/safeopenglgraphics.h | |
parent | 5c278653704d4f4b90ebc99bcef2f37c5a208a72 (diff) | |
download | manaverse-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.gz manaverse-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.bz2 manaverse-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.xz manaverse-09ec2b1ecc1a812e03878ccc07708a0aad02896a.zip |
Split from Graphics SDL related code into SDLGraphics.
Diffstat (limited to 'src/safeopenglgraphics.h')
-rw-r--r-- | src/safeopenglgraphics.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h index c134caa2d..469c4cda0 100644 --- a/src/safeopenglgraphics.h +++ b/src/safeopenglgraphics.h @@ -89,10 +89,27 @@ class SafeOpenGLGraphics final : public Graphics void calcTile(ImageCollection *const vertCol, const Image *const image, int x, int y) override; + void calcImagePattern(ImageVertexes *const vert, + const Image *const image, + const int x, const int y, + const int w, const int h) const; + + void calcImagePattern(ImageCollection *const vert, + const Image *const image, + const int x, const int y, + const int w, const int h) const; + void drawTile(const ImageVertexes *const vert) override; + void drawTile(const ImageCollection *const vertCol) override; + void updateScreen() override; + bool calcWindow(ImageCollection *const vertCol, + const int x, const int y, + const int w, const int h, + const ImageRect &imgRect); + void _beginDraw(); void _endDraw(); |