ArtsoftEntertainment / rocksndiamonds

GNU General Public License v2.0
4 stars 4 forks source link

[WIP] Add keys to mirror, flip and rotate a brush. #8

Open nboehm99 opened 1 year ago

nboehm99 commented 1 year ago

This is my initial attempt on adding key shortcuts to mirror, flip and rotate a brush selection in the editor.

They shortcuts used are CTRL-e, CTRL-d for horizontal and vertical mirroring, CTRL-f for flippping, and CTRL-r for rotating.

Known issues:

Since it's just manipulating the brush buffer at the moment there's some graphical issues.

I guess it's necessary to re-draw the brush properly after changing it. Any help on how to achieve this is highly welcome ;)