summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-30 20:04:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-30 20:05:30 +0300
commitbbed1413d3ea2ef67f7fd7db146c372a7181ad43 (patch)
treebcfd0e1802df442df157d829e9fc3490877ceb0f /src/render/graphics.h
parente29a87a240fe2f33c51f4e15067122960f667d66 (diff)
downloadmanaplus-bbed1413d3ea2ef67f7fd7db146c372a7181ad43.tar.gz
manaplus-bbed1413d3ea2ef67f7fd7db146c372a7181ad43.tar.bz2
manaplus-bbed1413d3ea2ef67f7fd7db146c372a7181ad43.tar.xz
manaplus-bbed1413d3ea2ef67f7fd7db146c372a7181ad43.zip
add calcImageRect into each renderer. but copy function body to shared file.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index 8567b4c1f..987c8f849 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -174,11 +174,6 @@ class Graphics : public gcn::Graphics
const int w, const int h,
const ImageRect &imgRect) = 0;
- bool calcImageRect(ImageVertexes *const vert,
- const int x, const int y,
- const int w, const int h,
- const ImageRect &imgRect);
-
virtual void calcPattern(ImageVertexes *const vert,
const Image *const image,
const int x, const int y,
@@ -207,7 +202,7 @@ class Graphics : public gcn::Graphics
const Image *const image,
int x, int y) = 0;
- virtual bool calcWindow(ImageCollection *const vertCol,
+ virtual void calcWindow(ImageCollection *const vertCol,
const int x, const int y,
const int w, const int h,
const ImageRect &imgRect) = 0;