summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-15 18:11:02 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-15 18:11:02 +0100
commitd1ea04251bf5f77a0eeda2ce1247a17c19556a6c (patch)
treec17bf8eb9a821dd2fd7c4e20344edee0ea0b04c6 /src/common.hpp
parent4dd7ac29fe0132b9f5896a84ccfe8d05363dfa74 (diff)
Explicit phase control for animated textures.
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.hpp b/src/common.hpp
index c946b80..34c7b60 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -318,8 +318,8 @@ namespace render {
void end_frame(void);
void render(game::state_t *game);
- void render(animated_texture_t *anim, rectf_t bounds, bool mirror = false);
- void render(oriented_sprite_t *sprite, rectf_t bounds, float angle);
+ void render(double phase, animated_texture_t *anim, rectf_t bounds, bool mirror = false);
+ void render(double phase, oriented_sprite_t *sprite, rectf_t bounds, float angle);
void render_text(v2f_t x, float height, std::string str, text_align_t align, sf::Color color);
void render_rect(rectf_t rect, sf::Color color);