Commit Graph

19 Commits

Author SHA1 Message Date
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
Filipe Abreu 106bbaa2e8 Fix #116636: Undoing terrain set move duplicates terrain in second set
Undoing a terrain set move could corrupt terrain data where a
terrain from the first set appears duplicated in the second set.

This happens because UndoRedo restores terrain properties without
clearing the existing terrain container first, causing the previous
state to be overlaid on top of the current one.

Fix this by clearing the terrains in the affected terrain
sets before restoring their properties during undo.
This ensures the terrain container is rebuilt from the
saved properties instead of merging with the current state.
2026-03-23 14:56:26 +00:00
Rémi Verschelde 98868393cc Style: Enforce #include validation hook 2026-03-18 10:41:59 +01:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
StarryWorm 3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
kobewi 404ab3e2bd Fix error in TileSetEditor 2026-02-21 00:10:50 +01:00
kobewi 0d01c01c7b Improve auto-translation of tile editors 2026-02-20 09:56:32 +01:00
Rémi Verschelde 9009a6636c Merge pull request #114366 from KoBeWi/uh
Add EditorDock's own DockSlot enum
2026-01-07 01:41:50 +01:00
Rémi Verschelde 2bf354f8d4 Merge pull request #114348 from YeldhamDev/tile_bg_panels
Add background panels to the TileSet/Map editors
2026-01-07 01:41:45 +01:00
kobewi 9f96d2199d Add EditorDock's own DockSlot enum 2026-01-02 13:16:23 +01:00
passivestar 3393740d42 Improve the look of inner tabs in modern theme 2025-12-30 06:05:12 +04:00
Michael Alexsander 2e8bc7cd11 Add background panels to the TileSet/Map editors 2025-12-28 16:56:12 -03:00
Logan Detrick da8817a4e8 Use new dock system for TileMap and TileSet 2025-11-24 03:13:02 -08:00
Michael Alexsander e06f015f95 Add a new editor theme
Co-authored-by: passivestar <60579014+passivestar@users.noreply.github.com>
2025-10-30 00:31:54 -03:00
Thaddeus Crews 1ed5f2eed9 Merge pull request #110328 from KoBeWi/ItemListSpecialEdition
Improve tile source tooltips
2025-10-28 12:19:33 -05:00
Michael Alexsander aeb3a45c97 Hide Control focus when given via mouse input 2025-09-19 13:43:29 -03:00
kobewi 24c1a783ee Improve tile source tooltips 2025-09-08 16:16:51 +02:00
A Thousand Ships f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00