summaryrefslogtreecommitdiff
path: root/scene/resources/tile_set.cpp
AgeCommit message (Collapse)Author
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
2021-11-12Implement texture padding in TileSetAtlasSourcesGilles Roudière
2021-11-12Merge pull request #53987 from groud/tile_data_inspector_pluginRémi Verschelde
2021-11-04Add missing argument names for bindings in GDExtensionRémi Verschelde
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-02Fix crash in Tileset with get_collision_polygon_shapePouleyKetchoupp
Shape index was used instead of polygon index in this one case.
2021-10-29Implement missing TileMap brushes for terrainsGilles Roudière
2021-10-27Implement runtime update of TileData object in TileMapGilles Roudière
2021-10-26Implement polygons editors in the tiles selection modeGilles Roudière
2021-10-21Allow updating TileMap cells using surrounding terrainsGilles Roudière