From 6c5bb0dbe21cd173c86ff4264646566da95832bc Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Fri, 15 Dec 2017 18:13:28 +0100 Subject: Color modulation for animated textures. --- src/common.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common.hpp') diff --git a/src/common.hpp b/src/common.hpp index 34c7b60..b88434e 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -318,7 +318,7 @@ namespace render { void end_frame(void); void render(game::state_t *game); - void render(double phase, animated_texture_t *anim, rectf_t bounds, bool mirror = false); + void render(double phase, animated_texture_t *anim, rectf_t bounds, sf::Color color = sf::Color::White, 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); -- cgit