summaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.cpp
AgeCommit message (Collapse)Author
2022-07-26Fixes TileMap clear_layer not recreating internal CanvasItemsGilles Roudière
2022-07-08Account for relative z-indexes when y-sortingXentripetal
2022-06-21Allow using CanvasItemMaterial in the TileSet editorHugo Locurcio
Previously, only ShaderMaterial overrides could be added.
2022-06-13Fixes terrains for isometric tilemapsGilles Roudière
2022-06-13Merge pull request #61809 from groud/terrain_center_bitRémi Verschelde
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-06-10Add terrain center bitGilles Roudière
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-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-27Fix TileMap::set_pattern offsetsSamuel Wilson
Currently it is trying to use the target coordinates (i.e., in the destination TileMap) to pull from the pattern, rather than the pattern-local coordinates.
2022-04-20Fix more issues found by cppcheck.bruvzg
2022-03-28String: Remove TTR and DTR defines in non-tools buildRémi Verschelde
This ensures we don't use TTR in runtime code, as it's specifically meant to source translations for the editor.
2022-03-02Changed TileMap::set_cell alternative_tile default value to 0Igor Kordiukiewicz
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
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-24Better clarify map_to_world() descriptionkobewi
2022-01-19Fix error on scene tiles cleanupkobewi
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-02Fix 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,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
2021-12-18Fix crash when executing `TileMap.map_pattern`Haoyu Qiu
Validates the input reference.
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-23Improve various textskobewi
2021-11-12Implement texture padding in TileSetAtlasSourcesGilles Roudière
2021-11-03Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-01Merge pull request #54396 from groud/implement_terrain_other_brushesRémi Verschelde
2021-10-29Implement missing TileMap brushes for terrainsGilles Roudière
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
2021-10-27Implement runtime update of TileData object in TileMapGilles Roudière
2021-10-27Optimize TileMap layers updatesGilles Roudière
2021-10-21Allow updating TileMap cells using surrounding terrainsGilles Roudière
2021-10-19Implement TileMap patterns paletteGilles Roudière
2021-10-13Merge pull request #53767 from groud/improve_tile_set_change_performancesRémi Verschelde
2021-10-13Greatly improve editor performances by deferring tiles related updatesGilles Roudière
Solve few update problems
2021-10-13Merge pull request #53761 from groud/fix_tilemap_memory_leakRémi Verschelde
2021-10-13Fix TileMap memory leakGilles Roudière
2021-10-13Use z_index for TileMap layer darkeningkobewi
2021-10-10Add modulate property to TileMap layerskobewi
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-29Improve TileMap physics for moving platforms and conveyor belts like movementsGilles Roudière
2021-09-27Fix TileMap layer loadingkobewi
2021-09-23Construct values only when necessary.Anilforextra
2021-09-23Implement animated tilesGilles Roudière
2021-09-15Merge pull request #52622 from rileylyman/tilemap-crashGilles Roudière
Break TileMap _clear_internals out from _recreate_internals
2021-09-14Break TileMap _clear_internals out from _recreate_internalsRiley Lyman
2021-09-14Fix transform of TileMap nodes and tilemap selectionGilles Roudière
2021-09-08Tiles renames/bugfixing and documentationGilles Roudière
2021-09-07Implement properties arrays in the Inspector.Gilles Roudière
2021-09-06Fix crash in TileMap physicsGilles Roudière