summaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.cpp
AgeCommit message (Collapse)Author
2023-02-14Fix TileMap NavigationServer 'Invalid ID' errorsmix8
Fixes NavigationServer 'Invalid ID' error of the TileMap. The issue was not caused directly by the TileMap but with the late call to get_world_2d()->get_navigation_map() while everything is shut down abruptly e.g. game window closed or Editor "Reload Saved Scene" function.
2023-02-13Merge pull request #73018 from smix8/fix_multilayered_tilemap_navigation_4.xRémi Verschelde
Fix navigation support for multilayered TileMaps
2023-02-13Fix 2D navigation debug visuals ignoring half the ProjectSettingssmix8
Fixes that NavigationRegion2D and TileMap debug visuals ignored more or less half the ProjectSetting. E.g. random color could not be disabled, edges did not display.
2023-02-10Fix navigation support for multilayered TileMapssmix8
Fixes support for multilayered TileMaps by creating dedicated navigation maps for each layer.
2023-01-30Merge pull request #72365 from groud/warn_ysort_tilemapRémi Verschelde
Warn when a TileMap layer is Y-sorted but not the TileMap node itself.
2023-01-30Warn when a TileMap layer is Y-sorted but not the TileMap node itself.Gilles Roudière
2023-01-27Rename texture_offset and unclamp itGilles Roudière
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-21Use range iterators in LocalVector loopskobewi
2023-01-21Merge pull request #65726 from KoBeWi/celllessRémi Verschelde
Don't print error in `get_cell_tile_data()`
2023-01-18Merge pull request #71630 from groud/fix_tilemap_layer_delete_undoRémi Verschelde
Fixes TileMap undo not restoring tiles
2023-01-18Fixes TileMap undo not restoring tilesGilles Roudière
2023-01-18Merge pull request #71615 from groud/bring_back_get_cells_by_idRémi Verschelde
Bring back TileMap::get_cells_by_id
2023-01-18Bring back TileMap::get_cells_by_idGilles Roudière
2023-01-18Avoid recreating TileMap internals when selecting itGilles Roudière
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-12-29Add safety-checks before some servers `free()`Adam Scott
2022-12-22Use TileSet navigation layer layers when TileMap generates navigation polygonsreejk
2022-12-19TileSet Simplify tile shape polygonskleonc
2022-12-17Fix Navigation API abbreviations inconsistencysmix8
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
2022-12-17Merge pull request #70118 from clayjohn/tilemap-layersRémi Verschelde
Use large offset for tilemap layer level canvas items
2022-12-15Use large offset for tilemap layer level canvas itemsclayjohn
This matches the logic in _rendering_update_dirty_quadrants
2022-12-15Remove a confusing TileMap warningGilles Roudière
2022-12-12Merge pull request #69950 from kleonc/tile-map-const-refs-for-the-winRémi Verschelde
`TileMap` Pass some parameters by `const &` instead of by value
2022-12-12Merge pull request #69922 from adamscott/fix-tilemap-tileset-heap-use-after-freeRémi Verschelde
Fix `heap-use-after-free` error in `TileMap::~TileMap()`
2022-12-12Merge pull request #67050 from KoBeWi/syrtRémi Verschelde
Warn if isometric TileMap is not Y-sorted
2022-12-12TileMap Pass some parameters by `const &` instead of by valuekleonc
2022-12-12Fix `heap-use-after-free` error in `TileMap::~TileMap()`Adam Scott
Co-authored-by: Gilles Roudiere <gilles.roudiere@gmail.com>
2022-12-10Enable assigning an owner to navigation regions and linksJosh Jones
This allows users of the server APIs to get back the nodes that created certain regions and links.
2022-12-09Fix TileMap drawing itself twice on creationVladislav Slobodenyuk
Adds a check before calling `item_rect_changed()` in `_recompute_rect_cache()` of `scene/2d/tile_map.cpp`. Makes sure TileMap is only redrawn if the rect is actually changed. Fixes #69754
2022-12-07Rename get_surrounding_tiles to get_surrounding_cellsGilles Roudière
2022-11-07Don't free instanced scenes when recreating tileskobewi
2022-11-03Fix terrain painting in corner-only matching modeGilles Roudière
2022-10-31Merge pull request #67445 from Zylann/rename_queue_deleteRémi Verschelde
Rename queue_delete => queue_free
2022-10-31Merge pull request #67580 from KoBeWi/little_thingsRémi Verschelde
Minor code improvements
2022-10-30Merge pull request #67754 from kleonc/tilemap-fix-collision-shapes-debug-drawMax Hilbrunner
Fix `TileMap` collision shapes debug draw
2022-10-26Warn if isometric TileMap is not Y-sortedkobewi
2022-10-24Rename queue_delete => queue_freeMarc Gilleron
# Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp
2022-10-23Merge pull request #67390 from groud/more_conservative_terrain_paintingClay John
Make terrain painting not change neighbors centers bits
2022-10-22Fix `TileMap` collision shapes debug drawkleonc
2022-10-20Make terrain painting not change neighbors centers bitsGilles Roudière
2022-10-19Fix texture filter and repeat in TileMapkobewi
2022-10-18Minor code improvementskobewi
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Fix TileMap occluders having a wrong transformGilles Roudière
2022-09-28refactor(TileMap): Return Rect2i in get_used_rectMisterMX
Signed-off-by: MisterMX <mbxd12@web.de>
2022-09-21Set scene tiles' position before adding themkobewi
2022-09-19Change return type of `get_configuration_warnings` to `PackedStringArray`Marc Gilleron
2022-09-13Don't print error in get_cell_tile_data()kobewi
2022-09-07Remove / Replace old Navigation Debug Visualizationsmix8
- removes / replaces leftovers from old navigation debug code - cleanes SceneTree and ProjectSettings from old navigation debug