summaryrefslogtreecommitdiffstats
path: root/scene/2d/tile_map.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Changed TileMap::set_cell alternative_tile default value to 0Igor Kordiukiewicz2022-03-021-1/+6
|
* Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde2022-02-151-6/+11
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-1/+1
|
* TileSetAtlasSource: Make `get_tile_data` return `TileData *`Rémi Verschelde2022-01-281-10/+7
| | | | | | This is now possible thanks to `Variant` changes. Also unbind some `_` prefixed methods which don't need to be exposed.
* Better clarify map_to_world() descriptionkobewi2022-01-241-1/+1
|
* Fix error on scene tiles cleanupkobewi2022-01-191-2/+2
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix various typosluz paz2022-01-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix crash when executing `TileMap.map_pattern`Haoyu Qiu2021-12-181-0/+1
| | | | Validates the input reference.
* Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-2/+2
|
* Improve various textskobewi2021-11-231-1/+1
|
* Implement texture padding in TileSetAtlasSourcesGilles Roudière2021-11-121-6/+6
|
* Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio2021-11-031-2/+2
| | | | | This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
* Merge pull request #54396 from groud/implement_terrain_other_brushesRémi Verschelde2021-11-011-9/+8
|\
| * Implement missing TileMap brushes for terrainsGilles Roudière2021-10-291-9/+8
| |
* | clang-format: Disable alignment of operands, too unreliableRémi Verschelde2021-10-281-36/+36
|/ | | | | | | | | 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`.
* Implement runtime update of TileData object in TileMapGilles Roudière2021-10-271-17/+104
|
* Optimize TileMap layers updatesGilles Roudière2021-10-271-34/+37
|
* Allow updating TileMap cells using surrounding terrainsGilles Roudière2021-10-211-0/+557
|
* Implement TileMap patterns paletteGilles Roudière2021-10-191-97/+10
|
* Merge pull request #53767 from groud/improve_tile_set_change_performancesRémi Verschelde2021-10-131-2/+12
|\
| * Greatly improve editor performances by deferring tiles related updatesGilles Roudière2021-10-131-2/+12
| | | | | | | | Solve few update problems
* | Merge pull request #53761 from groud/fix_tilemap_memory_leakRémi Verschelde2021-10-131-1/+2
|\ \ | |/ |/|
| * Fix TileMap memory leakGilles Roudière2021-10-131-1/+2
| |
* | Use z_index for TileMap layer darkeningkobewi2021-10-131-2/+4
| |
* | Add modulate property to TileMap layerskobewi2021-10-101-9/+33
|/
* Use range iterators for `Map`Lightning_A2021-09-301-70/+70
|
* Improve TileMap physics for moving platforms and conveyor belts like movementsGilles Roudière2021-09-291-116/+150
|
* Fix TileMap layer loadingkobewi2021-09-271-1/+13
|
* Construct values only when necessary.Anilforextra2021-09-231-2/+1
|
* Implement animated tilesGilles Roudière2021-09-231-12/+35
|
* Merge pull request #52622 from rileylyman/tilemap-crashGilles Roudière2021-09-151-3/+23
|\ | | | | Break TileMap _clear_internals out from _recreate_internals
| * Break TileMap _clear_internals out from _recreate_internalsRiley Lyman2021-09-141-3/+23
| |
* | Fix transform of TileMap nodes and tilemap selectionGilles Roudière2021-09-141-38/+45
|/
* Tiles renames/bugfixing and documentationGilles Roudière2021-09-081-5/+7
|
* Implement properties arrays in the Inspector.Gilles Roudière2021-09-071-12/+46
|
* Fix crash in TileMap physicsGilles Roudière2021-09-061-1/+1
|
* Merge pull request #51259 from nekomatata/fix-tilemap-one-way-collisionHugo Locurcio2021-08-231-2/+10
|\ | | | | Fix one-way collision in Tilemap
| * Fix one-way collision in TilemapPouleyKetchoupp2021-08-051-2/+10
| | | | | | | | | | | | | | | | 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.
* | Fix z_index applied twice for TileMap layerskobewi2021-08-191-1/+1
| |
* | Fix some unnecessary includesAaron Franke2021-08-131-2/+0
| |
* | Fix get_used_rect() calculationkobewi2021-08-051-9/+15
|/
* Implements TileMap layers and move TileSetPlugins's functions to the TileMap ↵Gilles Roudière2021-08-021-233/+1385
| | | | node instead
* Add check to internal methods to prevent crashHaoyu Qiu2021-07-271-0/+1
|
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-5/+5
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-10/+10
|
* Implement atlas merging and tile proxiesGilles Roudière2021-07-211-18/+46
|
* Import old tiles in SINGLE_TILE mode as atlasesGilles Roudière2021-07-211-10/+11
|
* Optimize StringName usagereduz2021-07-181-8/+8
| | | | | | | | | | | * 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.
* Fix crash when using TileMap::fix_invalid_tilesHaoyu Qiu2021-06-141-1/+6
|