summaryrefslogtreecommitdiff
path: root/editor/plugins/tiles
AgeCommit message (Collapse)Author
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-06Changed signals of ItemListVitika9
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-05-01Change Place Random Tiles to an iconkobewi
2022-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-23Rename theme properties to include underscoresFireForge
- check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
2022-04-20Fix more issues found by cppcheck.bruvzg
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-03-17Make `TabBar/Container` default their alignments to the left instead of centerMichael Alexsander
2022-03-12Allow negative indexes in ItemList and PopupMenukobewi
2022-03-02Added property hint to id property in tile set atlas source editorIgor Kordiukiewicz
2022-02-25Improve popup window handling.bruvzg
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-24Fix source picking with sortkobewi
2022-02-16Merge pull request #58187 from jakobbouchard/notification-switch-chunk-cRémi Verschelde
Convert _notification methods to switch - Chunk C
2022-02-16Convert _notification methods to switch - Chunk CJakob Bouchard
2022-02-16Automatically select source of the picked tilekobewi
2022-02-15Editor: Cleanup some includes dependenciesRémi Verschelde
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
2022-02-15Merge pull request #57329 from Ev01/tileset-editor-minimum-zoomRémi Verschelde
2022-02-14Remove most EditorNode constructor parameters and fieldstrollodel
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. 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-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-06Add missing SNAME macro optimization in some function callsjmb462
2022-02-04Merge pull request #57631 from groud/terrain_fix_with_empty_cellsRémi Verschelde
2022-02-04Fixes terrain painting on TileMaps when using empty terrain bitsGilles Roudière
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-01Fix TileMap Display Grid fadeoutMarkus Sauermann
2022-01-30Set a minimum zoom of 1% and a maximum zoom of 10,000% on the tileset editorEv01
Fixes issue #57292 where zooming out too much stops you from being able to zoom back in
2022-01-28Merge pull request #57365 from pycbouh/editor-icons-uniformityRémi Verschelde
2022-01-29Fix theme application in various curve editorsYuri Sizov
2022-01-28TileSetAtlasSource: Make `get_tile_data` return `TileData *`Rémi Verschelde
This is now possible thanks to `Variant` changes. Also unbind some `_` prefixed methods which don't need to be exposed.
2022-01-27Fixes TileMap editor not disappearingIgor Kordiukiewicz
2022-01-26Allow sorting tileset sourceskobewi
2022-01-23Minor tweaks and fixes to panningkobewi
2022-01-21Add ViewPanner to 2D editorkobewi
2022-01-14Merge pull request #56249 from PucklaMotzer09/physics_layer_tooltipRémi Verschelde
2022-01-13Fix various typosluz paz
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew`
2022-01-13Add tooltips to all tile data editor propertiesPucklaMotzer09
2022-01-13Merge pull request #56253 from PucklaMotzer09/tile_editor_selectRémi Verschelde
2022-01-11Unify panning in sub-editors and make it configurablekobewi
2022-01-07Rename TextureRect.expand to ignore_texture_sizekobewi
2022-01-04Merge pull request #56429 from PucklaMotzer09/tile_set_editor_hideRémi Verschelde
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-02Correctly show and hide tile set editor panelPucklaMotzer09
2021-12-26Correctly deselect properties of TileDataCollisionEditorPucklaMotzer09
2021-12-09Merge pull request #55299 from nathanfranke/renamesRémi Verschelde
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-09Fix some containers disabling wrong scrollbarskobewi