6a15fb05b0
* Added auto tiling functionality * Highlight when dragging in tiles dialog * Added the set grid size option for right-click menu on auto-tiles. * Bug fix: dropping source tile on target tile only selects the tile but removes state of dragging * Bug fix: crash when adding an auto tiling image * CR: implementation based on extended tileset * Bug fix: corrected choosing tiles * CR: using tile 18 for drawing instead of the complete tile-set * Bug fix: delete tool now works with click on tile instead of dragging * Feature: added alternatives to auto-tiling. Each alternative has its own probability to appear while painting new auto-tiles. * Bug fix: set original image to 100% when all probabilites for the alternatives are 0. Improved documentation. * Feature: improved auto-tiling algorithm, avoids reselecting the alternative auto-tiles when dragging or clicking on the same auto-tile * Store generated auto tiles into atlas management system and fix tabs width * Fix merging conflicts Co-authored-by: fgnm <fgnm.dev@gmail.com>