summaryrefslogtreecommitdiffstats
path: root/editor/plugins/tile_map_editor_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Add undo-redo to the TileSet editor, and other improvementsMichael Alexsander Silva Dias2018-12-301-1/+1
|
* Fixes for TileSetEditor and TileMapEditorGuilherme Felipe2018-12-201-0/+6
| | | | | | | [TileSetEditor] Hide Bitmask and Priority for ATLAS_TILE [TileMapEditor] Hide "Disable autotile" if the selected tile isn't autotile Fix #22756, don't update bitmask when tilemode is ATLAS_TILE
* Fix copy/paste for TileMapGuilherme Felipe2018-12-181-13/+21
| | | | Fix #24440
* General enhancements to the Polygon2D, TextureRegion, and TileSet editorsMichael Alexsander Silva Dias2018-12-061-1/+1
|
* Fixed error spam when deleting cell in tilesetDualMatrix2018-11-101-1/+1
| | | | Fixes #23556 and should fix #21549
* Fixes icons in itemlist not workinggroud2018-11-071-0/+1
|
* Enhance the tilemap transform buttonsgroud2018-10-301-100/+127
|
* Fixes viewport scrollbars not updating with pluginsgroud2018-10-181-34/+32
|
* Fixes tilemap editor offset tile selectiongroud2018-10-041-46/+46
|
* Fix TileMap editor drawingthe 8th mage2018-10-041-3/+2
| | | | | | | the tile cursor did not follow the mouse cursor, and the tile grid was displayed wrong, because the forward_canvas_draw_over_viewport function used the wrong xform and thus its map_to_world is not the inverse of the mouse interactor world_to_map, making the tiles draw from 0,0 of the screen instead of 0,0 of the tile map (which is in a different place)
* Fixes drawing of the 2D plugins on the 3D viewgroud2018-09-181-20/+20
|
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-2/+2
| | | | | | 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.
* Unexpose TileMap set_celldMarcelo Fernandez2018-08-291-2/+2
|
* TileSet editor FixesMariano Javier Suligoy2018-08-261-20/+22
| | | | | | | Properly draw navigation and oclusion polygons for SINGLE type tiles. Fixes #21398 Add some checks for TileID validation before accessing to it's properties. Fixes #21397 Fix 'Keep inside region' snap option for tiles with SINGLE_TILE mode. Fixes #21402 Restore hability to asign/unasign an script to a tileset. Fixes #20886
* tilemap_editor: change move and duplicate toolsPaul Joannon2018-08-241-60/+49
| | | | | | * Move now behaves like a Cut * Duplicate now behaves like a Copy * You can continue Pasting after Cut or Copy
* Add option to move Tile/GridMap editors to another sideMichael Alexsander Silva Dias2018-08-221-2/+25
|
* Add modulation of tiles from tileset in palette and editor drawLaurent Van Acker2018-08-221-2/+8
|
* Fix bucket fill behaviour when selecting multiple tilesMarkar2018-08-171-4/+3
|
* Do not use theme to set LineEdit right_iconŁukasz Rutkowski2018-08-111-1/+1
|
* Add clear text button to LineEditŁukasz Rutkowski2018-08-111-0/+1
| | | | | | | | | | - Add pressed state to clear button - Enable clear button on all inputs with search icon - Remove duplicate clear buttons - Fix rendering of icon for center and right alignments - Add clear button to more search fields - Add clear icon to default theme - Add method to control enabled state of clear button - Add property to enable clear button from inspector
* New TileSet EditorMAriano Javier Suligoy2018-08-091-9/+11
|
* Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-261-6/+6
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Fixed Bucket Fill toolMarcelo Fernandez2018-07-241-5/+3
|
* Tilemap editor: Fix crash introduced in #17582Max Hilbrunner2018-07-241-1/+1
|
* Tile randomizer for tilemap editor.Ovnuniarchos2018-07-011-68/+110
|
* Merge pull request #19164 from marcelofg55/tilemap_undo2Rémi Verschelde2018-06-261-30/+64
|\ | | | | Improve TileMap undo operations, second try
| * Improve TileMap undo operations, second tryMarcelo Fernandez2018-05-291-30/+64
| |
* | Added autotile overrideJames Beedie2018-06-021-8/+118
|/
* Revert "Improve TileMap undo operations"Rémi Verschelde2018-05-251-10/+16
|
* Improve TileMap undo operationsMarcelo Fernandez2018-05-231-16/+10
|
* Replaces CTRL with CMD in TileMapEditor for MacOS.Anish2018-04-231-3/+12
| | | | | | | | Replacing CTRL with CMD makes sense dure to consistency with MacOS and avoiding conflict with the accessibility hotkey (ctrl+lmb = rmb) Fixes: #18238
* Update transform buttons in tile editor while using T, A, S shortcuts (fixes ↵Alexander Alekseev2018-04-041-0/+3
| | | | #17962)
* Add functionality to move selected tiles in tile map editorMartin Rieke2018-04-041-2/+53
| | | | | | This change adds a new entry "Move Selection" to the "Tile Map" menu in the tile map editor. It allows the user to easily move as set of selected tiles.
* Merge pull request #16971 from Noshyaar/tilemapRémi Verschelde2018-03-131-0/+11
|\ | | | | TileMap: add fix_invalid_tiles
| * TileMap: add fix_invalid_tilesPoommetee Ketson2018-02-241-0/+11
| |
* | Merge pull request #16978 from Noshyaar/tmscRémi Verschelde2018-03-131-2/+9
|\ \ | | | | | | Add icon to TileMapEditor popupmenu
| * | Add icon to TileMapEditor popupmenuPoommetee Ketson2018-02-241-2/+9
| |/
* / Update icons when theme changedPoommetee Ketson2018-02-251-13/+14
|/
* Tileset Editor ImprovementDamar Indra2018-02-201-2/+2
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | 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.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* TileMapEditor: Fix tile placement.Andreas Haas2017-12-131-0/+1
| | | | Fixes #14625
* TileMap FixesMariano Suligoy2017-12-021-57/+35
|
* Fix displacement for centered tilemapsMatthias Hoelzl2017-11-271-7/+6
| | | | | | | | - Fixes tile and collision placement for tilemaps with `tile_origin` set to `TILE_ORIGIN_CENTER`. - Also fixes a bug in the offset computation for collision shapes with `flip_v` flag set to true if `tile_origin` is `TILE_ORIGIN_BOTTOM_LEFT`.
* Universalize draw-over API for EditorPluginsPedro J. Estébanez2017-11-241-1/+1
| | | | | | | | | - Now it is usable from both `CanvasItem` and `Spatial` editors. - `EditorPlugin` API changes: - `forward_draw_over_canvas()` becomes `forward_draw_over_viewport()`. - `update_canvas()` becomes `update_overlays()`, which now triggers the update of every overlay on top of any 2D or 3D viewports present. Also now it returns the number of such viewports, which is useful whenever you need to know the number of draw-over calls you'll get. - New: `[set/is]_force_draw_over_forwarding_enabled()` to force overlaying regardless it handles the current object type, in a similar fashion as `[set/is]_input_event_forwarding_always_enabled`. This kind of overlay is also on top of those for regular handled node types. - New: `forward_force_draw_over_canvas()`, which is the callback that gets called for plugins that enable forced overlaying.
* Implement auto-tilingMariano Suligoy2017-11-201-0/+14
|
* Rework the canvas_item API for further improves to the canvas item editorGilles Roudiere2017-11-191-1/+1
|
* Fix tilemap undo/redoMarc Gilleron2017-11-081-2/+2
|
* Use bresenham line in freehand tilemap painting to fill discontinuitiesMarc Gilleron2017-10-231-14/+31
|