summaryrefslogtreecommitdiff
path: root/modules/gridmap
AgeCommit message (Collapse)Author
2018-09-13Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde
Misc. typos
2018-09-12Misc. typosluz.paz
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
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-30Merge pull request #21575 from YeldhamDev/gridmap_deprecated_fixRémi Verschelde
Small change on how GridMap's "theme" is deprecated
2018-08-29doc: Sync classref with current sourceRémi Verschelde
2018-08-29Small change on how GridMap's "theme" is deprecatedMichael Alexsander Silva Dias
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-22Add option to move Tile/GridMap editors to another sideMichael Alexsander Silva Dias
2018-08-22Rename instances of the word "theme" to "mesh_library" in GridMap and ↵Michael Alexsander Silva Dias
MeshLibrary editors
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-03Merge pull request #16944 from rainerdeyke/masterMax Hilbrunner
Added 'fill selection' command to grid map editor
2018-06-12Add support for tutorial links to makerst.pyrobojumper
Also change the <tutorials> structure to make use of individual <link> tags
2018-05-30SCons: Pass env to modules can_build methodRémi Verschelde
This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
2018-04-21Fixes logically dead code (Coverity)Crazy-P
Fixes reported logically dead codes by Coverity * image.cpp: Doesn't really need any modification. But to remove the bug report then we have to move the MAX call away from the for loop statement. * rasterizer_gles3.cpp: Removes unnecessary elif condition since it is checked earlier in the function * collada.cpp: If stamement never reached due to macro ERR_CONTINUE does the same. * navigation_mesh.cpp: Variables should always be null - however, also checked for the very same condition in their function call. Leaving this for review (whether the function call is necessary or not) * path_editor_plugin.cpp: If cancel is true, then it should restore the edited value to the original provided. http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle * spatial_editor_gizmos.cpp: the very condition of i >= 3 is predetermined in the if case right before it. Thus case 1 is always '1' and case 2 is always '-1' * grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp * voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp * visual_server.cpp: Same as above in spatial_editor_gizmos.cpp * visual_script_expression.cpp: char '-' is already true in the switch case mechanism. Thus it can never reach to default case. * particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking right before the switch execution. * shader_language.cpp: Invalid index is handled in switch default case. `type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`) Fixes the "always false problem" in TODO comment.
2018-03-27Use radio-button-like menu entries where applicablePedro J. Estébanez
2018-03-13Merge pull request #17079 from Noshyaar/leak2Rémi Verschelde
GridMapEditorPlgn: fix a leak
2018-03-02GridMap: fix next/prev plane text, fix meta not foundPoommetee Ketson
2018-02-28Fix grid mesh tile panning bug (issue 16524)poke1024
Fix basic function and interference of touch pad pan with mesh tile delete (shift + right click on touch pad) in grid map editor (fix 16524)
2018-02-27GridMapEditorPlgn: fix a leakPoommetee Ketson
2018-02-27doc: Remove status from hardcoded version stringRémi Verschelde
It has no practical use case and just generates noise for each alpha, beta, etc.
2018-02-23Add 'fill selection' command to grid map editorRainer Deyke
This commit adds a 'fill selection' command (shortcut: shift+f) to the grid map editor, making it easier to block out large parts of grid maps. The new command is equivalent to the existing 'clear selection' command except that it fills the selection with the currently selected block instead of the empty grid cell.
2018-02-19doc: Update version string in headerRémi Verschelde
2018-02-17Gridmap editor now lists plane instead of floor when not horizontal.Anish
Instead of gridmap editor calling grid as floor irrespective of the orientation, it now calls the grid plane if it's vertical and floor if horizontal. Resolves: #14611
2018-02-01Fix inconsistencies and typos in argument namesPaolo Perkovic
2018-01-25doc: Fix references to online tutorials after godotengine/godot-docs#1015Rémi Verschelde
2018-01-25doc: Sync with current sourceRémi Verschelde
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
2018-01-17doc: Replace some more "val" with "value" + syncRémi Verschelde
2018-01-15Filled tutorial field in most relevent classes.Juan Linietsky
Added tutorial display in doc.
2018-01-13doc: Update version string in XMLRémi Verschelde
2018-01-12Update docsBojidar Marinov
[ci skip]
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-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-03doc: Sync classref with current sourceRémi Verschelde
2018-01-03Merge pull request #15120 from AndreaCatania/gridmRémi Verschelde
Added layer and mask in the gridmap node
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-28Added layer and mask in the gridmap nodeAndreaCatania
2017-12-20Fix gridmap disappearing after editing after bake, closes #14868Juan Linietsky
2017-12-19Should no longer crash after rebaking, may be a solution to #14795Juan Linietsky
Not sure if this is the same problem, as reported, please test.
2017-12-18doc: Sync classref with current sourceRémi Verschelde
2017-12-18Added baked light support for gridmaps.Juan Linietsky
2017-12-16Merge pull request #14676 from NathanWarden/nav_create_to_addRémi Verschelde
Renamed navmesh_create to navmesh_add since no navmesh is created.
2017-12-15Made built-in identifiers properly constant in shaders. Fixes #14449, closes ↵Juan Linietsky
#14629
2017-12-15Renamed navmesh/poly_create to navmesh/poly_add since no navmesh is created.Nathan Warden
2017-12-13Scons: Build modules in seperate env.Andreas Haas
2017-11-24doc: Fix enum tags thanks to 2bc6db6Rémi Verschelde
2017-11-24doc: Update header version for 3.0-betaRémi Verschelde
2017-11-21Native pan and zoom for macOSBernhard Liebl
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-11-16Merge pull request #12488 from djrm/pr_gridmap_fixesRémi Verschelde
Several improvements to GridMap.
2017-11-15doc: Make all module docs self-containedRémi Verschelde