deb1342036
Make TabBar/Container default their alignments to the left instead of center
2022-03-17 18:12:23 -03:00
42078dec9f
Allow negative indexes in ItemList and PopupMenu
2022-03-12 01:14:03 +01:00
74ff5921d6
Improve popup window handling.
...
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-25 09:33:27 +02:00
b727b81468
Fix source picking with sort
2022-02-24 01:20:21 +01:00
009254d87c
Merge pull request #58187 from jakobbouchard/notification-switch-chunk-c
...
Convert _notification methods to switch - Chunk C
2022-02-16 20:58:55 +01:00
6553f5c242
Convert _notification methods to switch - Chunk C
2022-02-16 13:03:05 -05:00
547786650f
Automatically select source of the picked tile
2022-02-16 00:39:00 +01:00
b396fd4eef
Improve compilation speed (forward declarations/includes cleanup)
2022-02-12 02:46:22 +01:00
fc076ece3d
Revert "Add missing SNAME macro optimization to all theme methods call"
...
This reverts commit a988fad9a0 .
As discussed in #57725 and clarified in #57788 , `SNAME` is not meant to be used
everywhere but only in critical code paths. For theme methods specifically, it
was by design that only getters use `SNAME` and not setters.
2022-02-08 10:17:25 +01:00
a988fad9a0
Add missing SNAME macro optimization to all theme methods call
2022-02-06 23:06:11 +01:00
3db1d689ce
Merge pull request #57631 from groud/terrain_fix_with_empty_cells
2022-02-04 19:03:44 +01:00
64e53cdc55
Fixes terrain painting on TileMaps when using empty terrain bits
2022-02-04 18:10:12 +01:00
244db37508
Cleanup and move char functions to the char_utils.h header.
2022-02-04 11:35:01 +02:00
51b5b51653
Fix TileMap Display Grid fadeout
2022-02-01 18:58:27 +01:00
b8b33df178
TileSetAtlasSource: Make get_tile_data return TileData *
...
This is now possible thanks to `Variant` changes.
Also unbind some `_` prefixed methods which don't need to be exposed.
2022-01-28 14:27:12 +01:00
e793331cd7
Allow sorting tileset sources
2022-01-26 13:58:32 +01:00
fe52458154
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
41a20171eb
align to horizontal_alignment, valign to vertical_alignment, related
2021-12-09 01:38:46 -06:00
24f57886d0
Expose max_axis_index and max_axis_index for Vector2(i)
...
Some cleanup with Vector3(i)'s methods so that it is consistent with Vector2, for example it returns enums internally (GDScript still gets ints).
2021-12-02 23:45:41 -06:00
61c2d397d6
Right-clicking with copied tiles cancels it
2021-11-30 00:23:44 +05:30
3c0fdcc8ac
Use "enum class" for input enums
2021-11-12 15:37:54 -06:00
c609d39214
Implement missing TileMap brushes for terrains
2021-10-29 19:46:42 +02:00
12838bd99d
Add focus font color to Button and derivatives
2021-10-26 17:42:40 +03:00
01afa39d21
Merge pull request #54073 from groud/terrains_for_procgen
2021-10-26 08:15:07 +02:00
d1aef45072
Allow updating TileMap cells using surrounding terrains
2021-10-21 16:57:28 +02:00
c942d567eb
Merge pull request #53926 from YeldhamDev/i_am_tabbar_now
2021-10-20 15:42:41 +02:00
5317b79a1d
Remove the tilemap/tileset editor switch, move it to tabs
2021-10-19 17:11:34 +02:00
67acb7de6e
Rename Tabs to TabBar
2021-10-19 11:37:31 -03:00
1a95f893c4
Implement TileMap patterns palette
2021-10-19 11:57:37 +02:00
21f1ac8bf3
Merge pull request #53805 from groud/name_to_tileset_sources
2021-10-19 09:56:19 +02:00
3b42660105
Add a name to TileSet sources
2021-10-14 14:54:48 +02:00
0afd47d8bc
Add tool quick-select to tile editor
2021-10-14 02:24:39 +02:00
94ce83beff
Merge pull request #53678 from groud/fix_tilemap_selection_not_updating
2021-10-11 18:11:55 +02:00
1f82d617e2
Fix selection not updating when erasing tiles
2021-10-11 17:34:20 +02:00
ae3ce8beaf
Fix TileSet selection not updating when selecting on TileMap
2021-10-11 14:09:44 +02:00
c63b18507d
Use range iterators for Map
2021-09-30 15:09:12 -06:00
fc9767abb1
Use functions defined in the their classes.
2021-09-29 09:36:34 +05:45
cc51b045da
Construct values only when necessary.
2021-09-23 22:26:07 +05:45
f9e6329496
Implement animated tiles
2021-09-23 17:24:37 +02:00
d625901032
Fix paint tool duplicate shortcut
...
This pull request fixes an issue where the pain tool in tile_map_editor.cpp had two different shortcuts for the same tool.
2021-09-21 23:04:46 -04:00
73cc6f94bf
Fix transform of TileMap nodes and tilemap selection
2021-09-14 12:18:36 +02:00
4bd7700e89
Implement properties arrays in the Inspector.
2021-09-07 09:51:28 +02:00
ad8b5cd5a4
Implements TileMap layers and move TileSetPlugins's functions to the TileMap node instead
2021-08-02 13:54:39 +02:00
28f45e923c
Fix duplicate shortcut in TileMap Editor
...
This pull request fixes an issue where the paint and erase tools in the TileMap editor had the same shortcut (E). The erase tool having "E" be its shortcut makes more sense than the paint tool having that be its shortcut. So I changed the paint tool's shortcut to be "D" since nothing else uses it and it's short for "draw", it's also right next to "S" on the keyboard which happens to be the selection tool.
2021-07-28 17:33:17 -04:00
bba76e45ff
Fix undo for bucket tool in tile map
2021-07-26 11:24:34 +02:00
5d34a81e52
Implement atlas merging and tile proxies
2021-07-21 12:36:37 +02:00
be1d5b0e73
Minor enhancements for the TileMap editor
2021-07-20 11:20:14 -03:00
6631f66c2a
Optimize StringName usage
...
* Added a new macro SNAME() that constructs and caches a local stringname.
* Subsequent usages use the cached version.
* Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time.
* Replaced all theme usages by this new macro.
* Replace all signal emission usages by this new macro.
* Replace all call_deferred usages by this new macro.
This is part of ongoing work to optimize GUI and the editor.
2021-07-18 21:20:02 -03:00
30a615dd94
Implement painting properties over TileSets
2021-06-29 11:07:46 +02:00
e28fd07b2b
Rename instance()->instantiate() when it's a verb
2021-06-19 20:49:18 -06:00