aboutsummaryrefslogtreecommitdiff
path: root/modules/gridmap/grid_map.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add GridMap::get_used_cells. Fixes #11857.feature/gridmap-used-cellsJ08nY2017-10-051-0/+15
|
* Merge pull request #10976 from saltares/issue-907Rémi Verschelde2017-09-061-0/+19
|\ | | | | Fixes setting visibility on GridMap, issue #907
| * Setting visibility on GridMap now works. Closes #907.David Saltares2017-09-051-0/+19
| | | | | | | | | | | | | | Basically, `GridMap` wasn't reacting to the `NOTIFICATION_VISIBILITY_CHANGED` event. This reacts to such events and walks over the set of `Octants` and all of their `MultiMeshInstances` to set their visibility on the `VisualServer`.
* | -Added an optimization so physics shapes are configured later, speeds up ↵Juan Linietsky2017-09-031-3/+0
|/ | | | grid map loading and editing
* -Fixes to how collada generates tangents (use SurfaceTool), closes #9562Juan Linietsky2017-08-291-1/+2
| | | | -Fix to gridmap cell size (wrong property type)
* -Largely rewrote gridmap to simplify itJuan Linietsky2017-08-271-267/+243
| | | | | -Got editor working again -Added a current-floor marker on selection
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* -Massive clean up to gizmosJuan Linietsky2017-08-261-425/+2
| | | | | | | -Make sure handles are always visible (on top) -Fixed instanced scene selection (should work properly now) -Added interpolated camera -Customizable gizmo colors in editor settings
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-2/+2
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* Updated function argument namesWilson E. Alvarez2017-08-121-8/+8
|
* Fixes method definitions with extra number of argumentsIgnacio Etcheverry2017-08-101-2/+2
|
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-2/+2
|
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-071-1/+1
|
* Many fixes to improve GI Probe qualityJuan Linietsky2017-07-151-0/+1
|
* renamed all Rect3.pos to Rect3.positionalexholly2017-06-091-8/+8
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-524/+432
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Many fixes to make exported scenes work better, still buggy.Juan Linietsky2017-02-151-496/+39
|
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-39/+39
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-4/+4
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-9/+11
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* Must now register with set_transform_notify() to get ↵Juan Linietsky2017-01-121-0/+1
| | | | NOTIFICATION_TRANSFORM_CHANGED
* Type renames:Juan Linietsky2017-01-111-8/+8
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-12/+12
| | | | renamed to PoolVector
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-40/+40
| | | | | | | | 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()
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-2/+2
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * PBR more or less working, still working on bringing gizmos backJuan Linietsky2016-10-271-2/+2
| |
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
|/ | | | | | | | 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!
* Concluded base visual scripting! can edit but not run though.Juan Linietsky2016-08-041-0/+1
|
* Removed unused variables (first pass)Rémi Verschelde2016-07-071-1/+0
| | | | Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
* GridMap: Initialize "navigation" pointerBłażej Szczygieł2016-06-101-1/+1
|
* Implement GridMap support for navigation meshesAnarchid2016-04-201-5/+114
|
* remove trailing whitespaceHubert Jarosz2016-03-091-3/+3
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Add missing argument names in GDScript bindingsRémi Verschelde2015-12-281-1/+1
| | | | | All classes were reviewed apart from VisualServer for which no argument name is documented at all. While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
* Ability to visually debug geometry visually:Juan Linietsky2015-09-201-3/+68
| | | | | | | -Visible 2D and 3D Shapes, Polygons, Tile collisions, etc. -Visible Navmesh and Navpoly -Visible collision contacts for 2D and 3D as a red point -Customizable colors in project settings
* Several performance improvements, mainly in loading and instancing scenes ↵Juan Linietsky2015-06-291-4/+4
| | | | | | | | and resources. A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* merges from okam repoJuan Linietsky2015-03-031-1/+2
|
* SceneMainLoop -> SceneTreeJuan Linietsky2014-11-051-1/+1
| | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- *YOUR SOURCE MIGHT NOT WORK* For mor information on fix: https://github.com/okamstudio/godot/wiki/devel_scene_tree Other stuff: -Shower of bullets demo -Fixes all around
* -Much improvement to baked light bakerJuan Linietsky2014-10-271-1/+1
| | | | | | | -Fixed many bugs in stretch mode -Fixes to camera project and unproject as consequence of the above -added setget to script (documented in script doc) -more fixes to collada exporter for blender
* Light Baker!Juan Linietsky2014-06-111-1/+139
| | | | | | -=-=-=-=-=-= -Support for lightmap baker, have fun figuring out how it works before tutorial is published.
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+1532