From d1ea04251bf5f77a0eeda2ce1247a17c19556a6c Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Fri, 15 Dec 2017 18:11:02 +0100 Subject: Explicit phase control for animated textures. --- src/common.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common.hpp') 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); -- cgit