summaryrefslogtreecommitdiff
path: root/scene/resources/tile_set.cpp
AgeCommit message (Collapse)Author
2023-01-27Merge pull request #72186 from groud/improve_tileset_3to4_conversionRémi Verschelde
Improve TileSet 3to4 conversion, avoiding some data loss
2023-01-27Improve TileSet 3to4 conversion, avoiding some data lossGilles Roudière
2023-01-27Merge pull request #72173 from groud/warn_autotile_conversionRémi Verschelde
Warn that autotiles from 3.x cannot be converted automatically to 4.x
2023-01-27Merge pull request #72148 from ↵Rémi Verschelde
smix8/tileset_navigationlayers_bitmask_helpers_4.x Add TileSet helper functions to set/get navigation layer bitmask values
2023-01-27Warn that autotiles from 3.x cannot be converted automatically to 4.xGilles Roudière
2023-01-27Add TileSet helper functions to set/get navigation layer valuessmix8
Adds helper functions to TileSet to set / get navigation layers bitmask values.
2023-01-27Rename texture_offset and unclamp itGilles Roudière
2023-01-21Use range iterators in LocalVector loopskobewi
2023-01-16Fixes TileDate::add_source accepting invalid ID valuesGilles 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-19TileSet Simplify tile shape polygonskleonc
2022-12-17Move NavigationPolygon to dedicated resource filesmix8
Moves NavigationPolygon resource class from NavigationRegion2D file to a dedicated file in resource folder.
2022-11-25[TileMap] Fix alternative tile issues.Zae
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-10-14Make some Image methods statickobewi
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-05Merge pull request #66560 from MisterMX/fix/tileset-move-custom-data-layerRémi Verschelde
fix(tileset): Move custom data layer
2022-09-30Merge pull request #65903 from groud/improve_terrain_paintingRémi Verschelde
Right-click to erase TileSet terrains and bugfixes
2022-09-29fix(tileset): Move custom data layerMisterMX
Fix crash when moving a custom data layer. Signed-off-by: MisterMX <mbxd12@web.de>
2022-09-28Fix MSVC warning C4702: unreachable codeRémi Verschelde
Part of #66537.
2022-09-16Right-click to erase TileSet terrains and bugfixesGilles Roudière
2022-09-01Replace Vector2(i) with Size2(i) for methods returning a sizeJohan Aires Rastén
2022-08-31Fixes inherited scenes not working in TileSet scenes collection sourcesGilles Roudière
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-07-29Merge pull request #63415 from ajreckof/expose_tilemap_custom_data_methodsRémi Verschelde
Expose TileMap methods related to the name of custom data layers
2022-07-29expose TileMap methods related to the name of custom data layersajreckof
2022-07-26Fix TileSet not loading correctly when embedded in a sceneGilles Roudière
2022-07-18Use integer types in Image and ImageTexture methodsFireForge
- Image.blit_rect() - Image.blit_rect_mask() - Image.blend_rect() - Image.blend_rect_mask() - Image.fill_rect() - Image.get_used_rect() - Image.get_rect() - ImageTexture.set_size_override()
2022-07-12Remove unused hintskobewi
2022-07-08Add static methods for creating Image and ImageTexturekobewi
2022-07-02Make sure the tile data clears its `terrain` field when said terrain is ↵Estelle Linkpy Reid
removed from the tileset.
2022-06-21Allow using CanvasItemMaterial in the TileSet editorHugo Locurcio
Previously, only ShaderMaterial overrides could be added.
2022-06-10Add terrain center bitGilles Roudière
2022-05-25use ERR_FAIL_INDEX when preferredNathan Franke
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-19Use suffixes for units in nodes and resourcesAaron Franke
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-16Merge pull request #60986 from fire-forge/capitalismRémi Verschelde
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-12Reduce extra groups in TileSetFireForge
2022-05-12Capitalize/fix some property enum hintsFireForge
2022-03-28Fix inspector group name capitalizationFireForge
2022-02-20Fix nullptr error in _update_padded_texture on texture with no imageSaracenOne
2022-02-08Use source image format when creating padded textureJoJoX
2022-02-06Add missing SNAME macro optimization in some function callsjmb462
2022-01-29simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke
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-12Use List Initializations for Vectors.Anilforextra
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A