When moving blocks around within a tilemap, there's no easy way to guarantee that the user is moving in tile increments, and multilpe tiles may employ different palettes.
As such, conisder that moving a block around moves the *index* of the palette being used, not the color. This will mostly work as expected, but can cause colors to change as they enter or exit regions that use different palettes.
* Only allow eyedropper to do 1x1, 2x2, 4x4, or 8x8 regions.
* If eyedropper does a region smaller than 8x8, only allow it to work on tiles that use that palette.
* If eyedropper does a region 8x8 (or 8x8 tile is selected), allow it to work on tiles that use any palette.
* can edit palettes for tiles
* can draw in valid tiles only (can't draw if the tile has a different palette)
* can bucket in valid tiles only
* eyedropper switches to the correct palette
Fill needs to use the palette-index-plus-palette-page value to set the parent.pixels, but needs to use just palette-index when picking the color to fill the parent.PixelData.
* Fix a few crashes
* Provide a tooltip for the image editor tab header (the name of the first element in the dropdown)
* Add a color mixer into the image editor, which is a free palette that you can use for whatever you want. It's not tied to the game data, it isn't saved anywhere when you exit, but you can play with the colors freely and it's shared between all image editors for the life of the app.
* If you open the mixer in one tab, it'll be open in other tabs.
* Press delete to clear a color
This changes the way we handle selection. Thing can no longer only care about the selection start/end: they have to check each element to see if it's selected.
This requires that the palette control recognize a pointer to the current palette, instead of just the address of the current palette. But since palettes can't be used by the game without a pointer, it's reasonable that there will always be a pointer for any palette being edited.
* Update table tool / sprite tool / image editor palette addresses when palettes get repointed.
Fix zoom limits
Fix selection move limits
Fix issue with 0 draw size when hovering with draw tool
Add tooltip for lz compression start token
Import from default TOML files on version upgrade.
Goto -> potion -> should work
File -> Save -> should work from image editor
Don't double-include the current table as a "related table" when searching for palette tables for a sprite.
If all the colors are in the original image, it works perfectly.
If not all the colors are in the original image, the non-existing colors are replaced with 'transparent'. This needs to be improved with cautious/smart/lazy options.