Commit Graph

525 Commits

Author SHA1 Message Date
Thaddeus Crews bb5f390fb9 Style: Apply clang-tidy fixes (superficial)
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
2024-11-04 12:11:14 -06:00
Thaddeus Crews 89a311205f Style: Apply clang-tidy fixes
• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
2024-11-04 12:11:06 -06:00
Thaddeus Crews 696ca9db3c Merge pull request #98039 from aaronfranke/button-icon
Rename internal Button `*_icon` functions to `*_button_icon` to match exposed methods
2024-10-29 19:25:59 -05:00
Aaron Franke 562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
Adam Scott 0d350e7108 Set clang-format RemoveSemicolon rule to true
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Rémi Verschelde fe31ede42d Merge pull request #95034 from KoBeWi/take_a_problem_and_make_it_worse._solved
Close expanded tile editor when inspector updates
2024-10-04 22:43:02 +02:00
Rémi Verschelde 991e6c92ab Merge pull request #96923 from Repiteo/style/warning-admonition
Style: Add `WARNING:` as new comment admonition
2024-09-26 12:45:38 +02:00
Thaddeus Crews 32c83a228d Style: Add WARNING: as new comment admonition 2024-09-25 09:44:42 -05:00
Thaddeus Crews 9f9ee0c813 SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
Thaddeus Crews b37fc1014a Style: Apply new clang-format changes 2024-09-20 08:09:48 -05:00
kleonc ab504b3139 Fix undoing "Move tiles" TileMapLayer action when drag/drop areas overlap 2024-09-11 10:45:23 +02:00
Gilles Roudière d75c5ec7ba Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +02:00
Sébastien Dunne Fulmer aaa157f929 Fix TileSet Scattering setting vanishing when changing tools 2024-08-29 12:17:38 +01:00
Yuri Rubinsky 52889ab7ee [Scene] Add SceneStringName::toggled 2024-08-28 15:14:26 +03:00
Rémi Verschelde 9bb86dfa4a Merge pull request #95249 from KoBeWi/pluginector
Fix usage of `add_inspector_plugin()`
2024-08-17 00:46:35 +02:00
Rémi Verschelde a3904585bc Merge pull request #95440 from Calinou/tileset-editor-tweak-no-tile-source-message
Tweak missing tile source message in the TileSet editor
2024-08-16 14:34:37 +02:00
Rémi Verschelde 60b0b5cd42 Merge pull request #95337 from kleonc/tile_set_editor_fix_transposed_polygons_editing
Fix polygon drawing for transposed tiles in `TileSet` editor
2024-08-16 14:33:37 +02:00
Hugo Locurcio 14dda6a4b9 Tweak missing tile source message in the TileSet editor
This also renames the Tiles tab in the TileSet bottom panel
to Tile Sources to make it more explicit (and avoid using
the same name as the Tiles tab in the TileMap editor).
2024-08-12 21:41:50 +02:00
kleonc 3dfac1644d Fix transposed tiles drawing in GenericTilePolygonEditor 2024-08-09 19:26:09 +02:00
kleonc 6895f6f8cc Fix TileAtlasView bounds checks for transposed tiles 2024-08-09 19:26:02 +02:00
kobewi 8623a75380 Fix usage of add_inspector_plugin() 2024-08-07 14:16:02 +02:00
kobewi e2c03469fb Close expanded tile editor when inspector updates 2024-08-02 13:43:30 +02:00
bruvzg cbcc8fab73 [GenericTilePolygonEditor] Add support for Pan and Magnify gestures. 2024-07-29 11:41:15 +03:00
kobewi a0824735a0 Make sure that selected tile source is remembered 2024-07-14 19:07:17 +02:00
Gilles Roudière 8ebaf4437a Fix crash in the TileMapLayer editor when using editable children 2024-07-05 17:08:18 +02:00
kobewi 267b5bca23 Fix crash in tile physics editor 2024-07-05 14:00:30 +02:00
kobewi af28d58215 Fix RMB erasing of tiles 2024-07-02 08:45:05 +02:00
Rémi Verschelde 4ab8fb8093 Merge pull request #93747 from KoBeWi/layer_of_bugs
Fix some TileMapLayer editing problems
2024-06-29 19:54:30 +02:00
Rémi Verschelde 8d4c593c54 Merge pull request #93720 from MewPurPur/remove-overbright
Fix unnecessary overbright modulates used in a few editors
2024-06-29 19:54:10 +02:00
kobewi 92b0375785 Fix some TileMapLayer editing problems 2024-06-29 18:18:54 +02:00
Rémi Verschelde 3fbb6044d0 Merge pull request #93047 from groud/fix_polygon_editor_grid
Fix tile polygon editor grid and missing update
2024-06-29 13:03:56 +02:00
MewPurPur 0fa27fd001 Fix unnecessary overbright modulates used in a few editors 2024-06-28 23:54:11 +03:00
passivestar 44e2991365 Fix TileSet property painter popup showing clear color 2024-06-26 01:37:44 +04:00
kobewi 230a4cb63f Store TileMapLayer selection in scene's history 2024-06-22 18:42:48 +02:00
A Thousand Ships fbb879debd [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
A Thousand Ships ca18a06ecb [Scene] Add SceneStringNames::confirmed 2024-06-19 09:40:54 +02:00
A Thousand Ships d9e2fc74c7 [Scene] Add SceneStringNames::item_selected 2024-06-19 09:39:05 +02:00
A Thousand Ships d519715d94 [Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
alula e591bb0288 Make texture filtering in TileAtlasView consistent
Co-authored-by: Gilles Roudière <gilles.roudiere@gmail.com>
2024-06-17 16:56:32 +02:00
Gilles Roudière 10c2ce15da Fix tile polygon editor grid and missing update 2024-06-11 19:35:03 +02:00
Rémi Verschelde 92ea322802 Merge pull request #86947 from TheSofox/tile-set-paint-button-tooltip
Made tooltip on `TileSet` Paint Button give more information when disabled
2024-06-04 16:51:14 +02:00
Rémi Verschelde 9c87e8c7b4 Merge pull request #91953 from AThousandShips/use_normal_sname
Use `CoreStringNames::normal` in more places
2024-05-31 14:16:05 +02:00
A Thousand Ships cade5b88d9 Use CoreStringNames::normal in more places 2024-05-30 22:57:54 +02:00
A Thousand Ships 926afccbd8 [Scene] Add SceneStringNames::panel 2024-05-30 22:54:50 +02:00
A Thousand Ships 755a0efbb6 [Scene] Add SceneStringNames::id_pressed 2024-05-30 22:54:04 +02:00
Rémi Verschelde f87be863ca Merge pull request #92322 from groud/implement_custom_data_label
Display custom data name instead of indices in TileData inspector
2024-05-28 15:49:12 +02:00
A Thousand Ships f9901761be [Editor] Fix crash when editing TileMap 2024-05-27 15:22:37 +02:00
Gilles Roudière 85eac45513 Display custom data name instead of indices in TileData inspector 2024-05-25 17:21:31 +02:00
Rémi Verschelde 408228889f Merge pull request #92223 from KoBeWi/do_people_really_copy_whole_shortcut_definitions_multiple_times_and_unironically_think_this_is_alright_🤔
Remove duplicate shortcut definitions
2024-05-22 09:27:00 +02:00
kobewi e065d7132a Remove duplicate shortcut definitions 2024-05-21 23:28:49 +02:00