diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-30 21:21:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-30 21:21:40 +0300 |
commit | 9aa2b0ffb97f8a1b5ae5201983318d03615c11e1 (patch) | |
tree | 21df896ff8139745775d41c1c8f82a4c6431698e /src/render/sdlgraphics.h | |
parent | 96f7714510cba0a84cd749869f236188473c4553 (diff) | |
download | ManaVerse-9aa2b0ffb97f8a1b5ae5201983318d03615c11e1.tar.gz ManaVerse-9aa2b0ffb97f8a1b5ae5201983318d03615c11e1.tar.bz2 ManaVerse-9aa2b0ffb97f8a1b5ae5201983318d03615c11e1.tar.xz ManaVerse-9aa2b0ffb97f8a1b5ae5201983318d03615c11e1.zip |
add calcPatternInline into renders for internal usage.
Diffstat (limited to 'src/render/sdlgraphics.h')
-rw-r--r-- | src/render/sdlgraphics.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/sdlgraphics.h b/src/render/sdlgraphics.h index b66242f79..80c6d1c79 100644 --- a/src/render/sdlgraphics.h +++ b/src/render/sdlgraphics.h @@ -173,6 +173,10 @@ class SDLGraphics final : public Graphics int w, int h, const ImageRect &imgRect); + void inline calcPatternInline(ImageVertexes *const vert, + const Image *const image, + const int x, const int y, + const int w, const int h) const; }; #endif // USE_SDL2 |