summaryrefslogtreecommitdiff
path: root/scene/resources/tile_set.cpp
AgeCommit message (Collapse)Author
2019-11-08Fix incorrect offset for old-format tilemapsYuri Roubinsky
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-08-04Fix Wrong Shape Offsets in TilesetEmmanuel Barroga
Closes #30994 When modifying the properties of a tileset in the editor, some properties only apply to the first tile (such as the shape offset). This change resolves that issue by traversing the changes to all of the shapes in the tileset instead of the first one.
2019-07-03Fix crash with TileSet(again)qarmin
2019-06-23TileSet: Don't error out on tile_ getters with wrong shape idRémi Verschelde
Partial revert of 02319dceb2e17184eb765c67719a306f56dafc1b, previous code handled this cases without errors and the TileSet and TileSetEditorPlugin are written with the expectation that those will not error out. This is a bit wonky and these classes should likely be refactored, but until then it's best to keep things as they were. Fixes #29962.
2019-06-21Fix some editor crashesqarmin
2019-06-01Merge pull request #24560 from guilhermefelipecgs/fix_24549Rémi Verschelde
Add EDITMODE_PRIORITY for ATLAS_TILE
2019-04-08Changed autotile priority picking algorithmMax
2019-04-08+ Added ignore flags to autotile bitmaskMagnus Specht
+ Added ignore functionality to tileset editor + Updated tileset editor autotile tooltip + Autotile ignore bits are processed and rendered correctl
2019-03-04TileSet/TileMap: Decompose solid non-convex polygons into convexes. Real fix ↵Mariano Suligoy
for #24003
2019-01-31Fix crashes when calling update_bitmask_areaBojidar Marinov
Fixes #25504
2019-01-22Fix collision margin being wrongly read by default, fixes #25181Juan Linietsky
2019-01-18-Re-added margins in one way collision (made in a more user friendly way ↵Juan Linietsky
than in Godot 2.1), fixes #23860 -Fixed potential bug in OWC (i dont think anyone had it but..)
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-30Add undo-redo to the TileSet editor, and other improvementsMichael Alexsander Silva Dias
2018-12-23Add EDITMODE_PRIORITY for ATLAS_TILEGuilherme Felipe
When editing ATLAS_TILE, now it's possible to enable priority to randomize subtiles.
2018-12-17Add z-index to ATLAS_TILEGuilherme Felipe
2018-12-07Fix AutoTile z-index not persisting correctlyGuilherme Felipe
2018-12-07Add Z-Index for AutotileGuilherme Felipe
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-08-30Tileset: Bind autotile_set_size()/get_size().Ranoller
Since this class is editor-oriented, this set_get is necessary to full implement tool, importer, etc... for tiles. (No other way to know a real tile size in autotile mode)
2018-08-27TileSet: Bind tile_set_shape_offset and getterRémi Verschelde
Fixes #21476.
2018-08-24Backward compatibility for autotile setup from Godot 3.0.XMariano Javier Suligoy
Fixes #20746
2018-08-09New TileSet EditorMAriano Javier Suligoy
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-23Expose 'modulate' set/get in TileSet resourceMichael Alexsander Silva Dias
2018-05-17Restore support for minimal 3x3 autotile setsisaacremnant
2018-05-01Adds z-index properties to TileSets.Pieter-Jan Briers
2018-04-08Merge pull request #18072 from AlexHolly/masterGeorge Marques
expose Tileset TileMode to GDScript
2018-04-08expose Tileset TileMode to GDScriptAlexander Holland
2018-03-23Fix converting to tileset crashes Godot if existing file is not tilesetPoommetee Ketson
also make TileSetEditorPlgn tile list updates the preview modulate
2018-02-20Tileset Editor ImprovementDamar Indra
2018-01-18Fix typos in code and docs with codespellRémi Verschelde
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-12Bind many more properties to scriptsBojidar Marinov
Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
2018-01-11fix updating tileset list when assign texture and set autotile truedamarindra
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-25Add missing parameter namesPoommetee Ketson
2017-12-10Fix wrong return value in some virtual method bindingsRémi Verschelde
2017-12-08Fix TileSet::AutotileData::ocludder_map typoPJB3005
2017-11-24Fix TileMap and TileSet ClassDB bindingsRuslan Mustakov
2017-11-20Implement auto-tilingMariano Suligoy
2017-11-15Fixing tilemap rotation for non top-left tiles.Vito
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-10Fixes method definitions with extra number of argumentsIgnacio Etcheverry
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-07-01Readd shape_offset as an editor-only and backcompat propertyBojidar Marinov
2017-07-01Readd tilemap's shape_transform and bugfixesBojidar Marinov
This reverts commit a808f53020aa710ff81392e2349b8a39c55d2717.
2017-07-01Revert "Fix Tileset/tilemap issues related to my adding of one-way ↵Juan Linietsky
collisions to them"
2017-06-30Fix #9409, fixup #9370; tileset now has shape transform instead of offsetBojidar Marinov
Fix bad return type in CollisionObject2D, Shape -> Shape2D. Was causing unintended null when casting. (9409) Fix a misplaced ++ operator. (9370) Fix merging with exiting tileset duplicating shapes. (9370)