summaryrefslogtreecommitdiff
path: root/scene/resources/tile_set.h
AgeCommit message (Collapse)Author
2023-02-21Fix reset_state() in TileSetkobewi
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 #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-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-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-17Move NavigationPolygon to dedicated resource filesmix8
Moves NavigationPolygon resource class from NavigationRegion2D file to a dedicated file in resource folder.
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-10-20Make terrain painting not change neighbors centers bitsGilles Roudière
2022-09-01Replace Vector2(i) with Size2(i) for methods returning a sizeJohan Aires Rastén
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-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-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
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-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-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-11-12Implement texture padding in TileSetAtlasSourcesGilles Roudière
2021-11-12Merge pull request #53987 from groud/tile_data_inspector_pluginRémi Verschelde
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
2021-10-19Implement TileMap patterns paletteGilles Roudière
2021-10-13Prevent tiles outside atlas textureGilles Roudière
2021-10-07Set TileSet layout and half-offset as read-only when using square shapeGilles Roudière
2021-09-30Fix angular velocity default value in TileSetPouleyKetchoupp
Value was uninitialized, which lead to undefined behavior.
2021-09-29Improve TileMap physics for moving platforms and conveyor belts like movementsGilles Roudière
2021-09-23Implement animated tilesGilles Roudière
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-08-02Implements TileMap layers and move TileSetPlugins's functions to the TileMap ↵Gilles Roudière
node instead
2021-07-21Implement atlas merging and tile proxiesGilles Roudière
2021-07-21Import old tiles in SINGLE_TILE mode as atlasesGilles Roudière
2021-06-29Implement painting properties over TileSetsGilles Roudière
2021-05-21Fixes TileSet Y-sort not working and TileSet not saving correctlyGilles Roudière
2021-05-20Implement scenes tiles in TileMapsGilles Roudière
2021-05-07Rework the TileSet resource and TileMap nodes:Gilles Roudière
- Move most properties from TileMap to TileSet, - Make TileSet more flexible, supporting more feature (several collision layers, etc...), - Fusion both the TileMap and TileSet editor, - Implement TileSetSources, and thus a new way to index tiles in the TileSet, - Rework the TileSet and TileMap editors completely, - Implement an editor zoom widget (and use it in several places)
2021-02-11Improve resource load cachereduz
-Added a new method in Resource: reset_state , used for reloading the same resource from disk -Added a new cache mode "replace" in ResourceLoader, which reuses existing loaded sub-resources but resets their data from disk (or replaces them if they chaged type) -Because the correct sub-resource paths are always loaded now, this fixes bugs with subresource folding or subresource ordering when saving.
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-10-24Refactored 2D shader and lighting systemreduz
-Removed normal/specular properties from nodes -Create CanvasTexture, which can contain normal/specular channels -Refactored, optimized and simplified 2D shaders -Use atlas for light textures. -Use a shadow atlas for shadow textures. -Use both items aboves to make light rendering stateless (faster). -Reorganized uniform sets for more efficiency.
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
2020-05-14Port member initialization from constructor to declaration (C++11)Rémi Verschelde
Using `clang-tidy`'s `modernize-use-default-member-init` check and manual review of the changes, and some extra manual changes that `clang-tidy` failed to do. Also went manually through all of `core` to find occurrences that `clang-tidy` couldn't handle, especially all initializations done in a constructor without using initializer lists.
2020-04-02Replace NULL with nullptrlupoDharkael