Commit Graph

129 Commits

Author SHA1 Message Date
75881f8322 Use initializer list in Arrays 2025-03-26 18:38:15 +01:00
581d675eeb Core: Convert Math class to namespace 2025-03-21 10:29:18 -05:00
a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
ba39b078f5 [Scene] Add SceneStringName::FlatButton 2024-12-10 11:12:26 +03:00
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
562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
0d350e7108 Set clang-format RemoveSemicolon rule to true
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
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
b37fc1014a Style: Apply new clang-format changes 2024-09-20 08:09:48 -05:00
d75c5ec7ba Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +02:00
52889ab7ee [Scene] Add SceneStringName::toggled 2024-08-28 15:14:26 +03:00
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
3dfac1644d Fix transposed tiles drawing in GenericTilePolygonEditor 2024-08-09 19:26:09 +02:00
6895f6f8cc Fix TileAtlasView bounds checks for transposed tiles 2024-08-09 19:26:02 +02:00
e2c03469fb Close expanded tile editor when inspector updates 2024-08-02 13:43:30 +02:00
cbcc8fab73 [GenericTilePolygonEditor] Add support for Pan and Magnify gestures. 2024-07-29 11:41:15 +03:00
267b5bca23 Fix crash in tile physics editor 2024-07-05 14:00:30 +02:00
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
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
0fa27fd001 Fix unnecessary overbright modulates used in a few editors 2024-06-28 23:54:11 +03:00
fbb879debd [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
d519715d94 [Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
10c2ce15da Fix tile polygon editor grid and missing update 2024-06-11 19:35:03 +02:00
755a0efbb6 [Scene] Add SceneStringNames::id_pressed 2024-05-30 22:54:04 +02:00
e065d7132a Remove duplicate shortcut definitions 2024-05-21 23:28:49 +02:00
e70ca3bf5a Fix tile polygon grid not covering whole tile 2024-05-20 20:16:06 +02:00
ee79386f7b [Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
ba6f840970 Merge pull request #89248 from KoBeWi/store_no_store
Don't store values when loading them
2024-05-07 16:49:26 +02:00
308dbb8c63 [Core] Add scalar versions of Vector* min/max/clamp/snap(ped)
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
479b7afa8e Add context support for editor property name i18n 2024-03-31 18:40:14 +08:00
f59c147d1f Fix center view button appears outside the GenericTilePolygonEditor 2024-03-13 12:46:14 +08:00
4e88fb87b6 Don't store values when loading them 2024-03-07 15:01:12 +01:00
0ba7463803 [TileSet] Fix crash when deleting dragged polygon point 2024-02-27 15:16:27 +01:00
1638c1b28f Add const lvalue ref to editor/* container parameters 2024-02-26 15:28:15 -03:00
95b27fe8c7 Reorganize code related to editor theming
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.

Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.

All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
0e8f90f4c8 Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
dd487ebb0b Merge pull request #86568 from jsjtxietian/fix-infinite-loop-tile
Fix potential infinite loop when calculating tile editor zoom level
2024-01-08 11:55:30 +01:00
42c672afd6 Fix infinite loop when calculating zoom level if tile_size * max_zoom < default 2024-01-06 16:11:26 +08:00
96a95cb974 Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00
18fe0bd025 Move tile transforms handling cache to TileData 2023-12-13 17:44:59 +01:00
8b608f3e6e Fixes undo/redo in tileset polygon editor 2023-10-10 10:33:05 +02:00
7513ae6d06 Merge pull request #81812 from MewPurPur/zoomies
Incorporate min and max zoom limits into the EditorZoomWidget
2023-10-09 15:31:49 +02:00
44d782681c Incorporate min and max zoom limits into the EditorZoomWidget 2023-10-07 20:41:59 +03:00
27267b62cb Update TileMap to use new navigation polygon baking
Updates TileMap to use new navigation polygon baking.
2023-09-28 10:35:47 +02:00
4bd569be95 Replace flat buttons with flat-styled buttons with a visible pressed state 2023-09-19 22:36:29 +02:00
75ee58fd04 [Editor] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-15 20:15:39 +02:00
8ecc0c4f47 Fix accessing editor theme items throughout the UI
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
6de34fde27 Add EditorStringNames singleton 2023-09-03 19:58:18 +02:00
f837624d75 Add option to expand tile polygon editors 2023-07-22 22:21:05 +02:00