diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-25 19:37:06 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-25 19:37:06 +0100 |
commit | e46dd0f45d1cab35c7441d72f5dcac83720cc539 (patch) | |
tree | 1611ed041680e6dcccb115cbc7c99e098b809d33 /main/draw.cpp | |
parent | 1831d5d1eab5c9a607270a8a9b72a2ac1e6ce62a (diff) |
add scenery horizontal mirroring
Diffstat (limited to 'main/draw.cpp')
-rw-r--r-- | main/draw.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/draw.cpp b/main/draw.cpp index aa1b6f2e..0b797449 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -122,7 +122,8 @@ void main_impl::draw_anim() noexcept clickable<anim_atlas, scenery> item = { *atlas, s, { f.offset, f.offset + f.size }, { offset, offset + f.size }, - atlas->bitmask(), tile_shader::depth_value(xy, 0.25f), pos, xy + atlas->bitmask(), tile_shader::depth_value(xy, 0.25f), pos, xy, + !g.mirror_from.isEmpty(), }; _clickable_scenery.push_back(item); } |