summaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.cpp
AgeCommit message (Collapse)Author
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
2021-08-23Merge pull request #51259 from nekomatata/fix-tilemap-one-way-collisionHugo Locurcio
Fix one-way collision in Tilemap
2021-08-19Fix z_index applied twice for TileMap layerskobewi
2021-08-13Fix some unnecessary includesAaron Franke
2021-08-05Fix one-way collision in TilemapPouleyKetchoupp
In a given quadrant there can be one or more bodies used, and the process iterated over cells to add the shapes, so the shape index doesn't necessarily correspond to the polygon shape index. Instead body shape indices need to be tracked separately.
2021-08-05Fix get_used_rect() calculationkobewi
2021-08-02Implements TileMap layers and move TileSetPlugins's functions to the TileMap ↵Gilles Roudière
node instead
2021-07-27Add check to internal methods to prevent crashHaoyu Qiu
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-21Implement atlas merging and tile proxiesGilles Roudière
2021-07-21Import old tiles in SINGLE_TILE mode as atlasesGilles Roudière
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-06-14Fix crash when using TileMap::fix_invalid_tilesHaoyu Qiu
2021-06-05Deleted YSort, moved its functionality directly into Node2D.andriyDev
YSort now has a compatibility alias to Node2D. Updated TileMap to use the existing Node2D y_sort_enabled property instead of its own property. Updated Node2D doc to include the new y_sort_enabled member. Updated TileMap doc to remove its mention of cell_y_sort. Deleted YSort doc.