summaryrefslogtreecommitdiff
path: root/scene/resources/tile_set.cpp
AgeCommit message (Collapse)Author
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)
2017-06-26Merge pull request #9370 from bojidar-bg/c-9318-oneway-tilemapsRémi Verschelde
Add one-way collisions and individual shape offsets for tilesets
2017-06-25Add one-way collisions and individual shape offsets for tilesetsBojidar Marinov
As requested in #9318 Accidentially fixes #2231 as well
2017-06-22Add normal map to tilemaps and tilesetsBojidar Marinov
Fixes #9310
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-06New particle system, mostly working, some small features missing.Juan Linietsky
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-01-14Merge pull request #6519 from RandomShaper/enhance-tilesetJuan Linietsky
Add modulate (color) to TileSet tiles
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-11-30Add modulate (color) to TileSet tilesPedro J. Estébanez
2016-03-09remove trailing whitespaceHubert Jarosz
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-03-09lot of work on 2D lighting and isometric mapsJuan Linietsky
added a new demo, isometric_light that does full isometric sorting, lights, shadows, etc.
2014-02-19Merge remote-tracking branch 'upstream/master'Olafur Haukur Flygenring
2014-02-19-improved physics ccdJuan Linietsky
-html5 exporter works again -disable repeat on image loader by default -can change shape offset en tileset, texture offset was broken
2014-02-18Added function "get_tiles_ids" to TreeSet.Olafur Haukur Flygenring
2014-02-09GODOT IS OPEN SOURCEJuan Linietsky