diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-15 18:13:28 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-15 18:13:28 +0100 |
commit | 6c5bb0dbe21cd173c86ff4264646566da95832bc (patch) | |
tree | 153714c861dff32d4badf65ad63e3a9f68f7a9fa /src/common.hpp | |
parent | d1ea04251bf5f77a0eeda2ce1247a17c19556a6c (diff) |
Color modulation for animated textures.
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |