summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #48333 from MaxStgs/masterRémi Verschelde2021-04-301-0/+2
|\ | | | | Add WebSocketMultiplayerPeer _incoming_packets check bound
| * Add WebSocketMultiplayerPeer _incoming_packets check boundMaxStgs2021-04-301-0/+2
| |
* | Prevent setting too big or too small Collision Mask and LayerRafał Mikrut2021-04-302-8/+16
|/
* doc: Sync classref with current sourceRémi Verschelde2021-04-291-1/+1
| | | | And typo fix from https://github.com/godotengine/godot-docs/pull/4882.
* Replace remaining uses of `NULL` with `nullptr`Rémi Verschelde2021-04-2916-36/+36
| | | | Follow-up to #38736 (these uses were likely added after this PR was merged).
* Merge pull request #48235 from Faless/feature/network-local-port-enet-salvagedRémi Verschelde2021-04-283-35/+40
|\ | | | | [Net] Implement NetworkedMultiplayerENet.get_local_port
| * Implement NetworkedMultiplayerENet.get_local_portFabio Alessandrelli2021-04-283-35/+40
| | | | | | | | Allows retrieving the local port to which the peer is bound.
* | Merge pull request #47454 from vnen/gdscript-lambdaRémi Verschelde2021-04-2819-110/+700
|\ \
| * | GDScript: Fix crash when base of an attribute is invalidGeorge Marques2021-04-282-1/+7
| | | | | | | | | | | | | | | | | | | | | In attribute expressions (`a.b`) it's possible that the base has an incorrect syntax and thus become a nullptr expression in the tree. This commit add the check for this case to fail gracefully instead of crashing.
| * | GDScript: Implement lambdas compilation and runtimeGeorge Marques2021-04-2816-39/+364
| | |
| * | GDScript: Add lambdas to the type analyzerGeorge Marques2021-04-285-24/+122
| | | | | | | | | | | | | | | - Lambdas are always callables (no specific signature match). - Captures from the current context are evaluated.
| * | GDScript: Add lambda syntax parsingGeorge Marques2021-04-286-63/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lambda syntax is the same as a the function syntax (using the same `func` keyword) except that the name is optional and it can be embedded anywhere an expression is expected. E.g.: func _ready(): var my_lambda = func(x): print(x) my_lambda.call("hello")
* | | Fixes #48178: WebXR broken when built with Emscripten 2.0.13 or laterDavid Snopek2021-04-281-2/+0
|/ /
* | Raycast: Fix use of removed copymem after #48239Rémi Verschelde2021-04-281-1/+1
| |
* | Merge pull request #48239 from akien-mga/goodbye-copymemRémi Verschelde2021-04-2816-45/+43
|\ \ | | | | | | Core: Drop custom `copymem`/`zeromem` defines
| * | Core: Drop custom `copymem`/`zeromem` definesRémi Verschelde2021-04-2716-45/+43
| |/ | | | | | | | | | | | | | | We've been using standard C library functions `memcpy`/`memset` for these since 2016 with 67f65f66391327b2967a20a89c3627e1dd6e84eb. There was still the possibility for third-party platform ports to override the definitions with a custom header, but this doesn't seem useful anymore.
* | Merge pull request #48245 from madmiraal/fix-24111Rémi Verschelde2021-04-271-0/+1
|\ \ | | | | | | Update CSGMesh3D's documentation to explain how vertex normals are used
| * | Update CSGMesh3D's documentation to explain how vertex normals are usedMarcel Admiraal2021-04-271-0/+1
| |/
* | Merge pull request #48050 from JFonS/occlusion_cullingRémi Verschelde2021-04-279-0/+1485
|\ \ | |/ |/|
| * Implement occlusion cullingjfons2021-04-239-0/+1485
| | | | | | | | | | | | | | | | | | Added an occlusion culling system with support for static occluder meshes. It can be enabled via `Project Settings > Rendering > Occlusion Culling > Use Occlusion Culling`. Occluders are defined via the new `Occluder3D` resource and instanced using the new `OccluderInstance3D` node. The occluders can also be automatically baked from a scene using the built-in editor plugin.
* | Fix CSG Path Polygon cache being removed after connectJohannes Witt2021-04-271-1/+0
| | | | | | | | fixes #30229
* | Merge pull request #48187 from brakhane/remove-dupe-commentsRémi Verschelde2021-04-271-1/+0
|\ \ | | | | | | Remove duplicate comments
| * | Remove duplicate commentsDennis Brakhane2021-04-251-1/+0
| | | | | | | | | | | | | | | | | | A few single line comments were duplicated, probably due to bad merges. This commit removes the obviously duplicate ones.
* | | Merge pull request #48185 from Calinou/codestyle-no-autoRémi Verschelde2021-04-268-18/+18
|\ \ \ | | | | | | | | Remove uses of `auto` for better readability and online code reviews
| * | | Remove uses of `auto` for better readability and online code reviewsHugo Locurcio2021-04-268-18/+18
| |/ / | | | | | | | | | | | | | | | | | | | | | The current code style guidelines forbid the use of `auto`. Some uses of `auto` are still present, such as in UWP code (which can't be currently tested) and macros (where removing `auto` isn't easy).
* | | Merge pull request #48172 from madmiraal/fix-empty-csgshape-errorRémi Verschelde2021-04-261-16/+20
|\ \ \ | |/ / |/| | Fix new `CSGMesh` errors
| * | Fix empty CSGShape errorMarcel Admiraal2021-04-251-16/+20
| | |
* | | Fix CSGMesh undo not refreshing gizmoMarcel Admiraal2021-04-251-1/+1
|/ /
* | Merge pull request #48139 from vnen/gdscript-dict-keysRémi Verschelde2021-04-243-24/+10
|\ \ | | | | | | Fix mismatch between String and StringName in dictionary keys
| * | GDScript: Make sure Lua-style dicts use StringName as keysGeorge Marques2021-04-232-2/+4
| | |
| * | GDScript: Fix resolution of dictionary keysGeorge Marques2021-04-232-22/+6
| | | | | | | | | | | | | | | | | | There was a mixup between String and StringName keys. Now they're clearly separated. This also means you have to consider which type you're using for the dictionary keys and how you are accessing them.
* | | Merge pull request #47891 from Razoric480/lsp-update-filesystemRémi Verschelde2021-04-241-0/+1
|\ \ \ | | | | | | | | Make LSP update the filesystem for changed scripts
| * | | Make LSP update the filesystem of changed scriptsFrancois Belair2021-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | This updates global classes and exposes base member variables. Fixes #39713
* | | | Unexpose _direct_state_changed in PhysicsBodyrafallus2021-04-224-13/+12
| |_|/ |/| | | | | | | | | | | | | | | | | Removed _direct_state_changed bindings Affects 2D and 3D nodes Callbacks now use Callable Tests were changed accordingly
* | | Merge pull request #48074 from akien-mga/fbx-fix-zlib-unbundlingRémi Verschelde2021-04-222-1/+4
|\ \ \ | | | | | | | | fbx: Fix include for zlib that broke unbundling
| * | | fbx: Fix include for zlib that broke unbundlingRémi Verschelde2021-04-222-1/+4
| | | | | | | | | | | | | | | | It's possible to link against system zlib on Linux, so we should use system paths.
* | | | ICU: Update to version 69.1, improve ICU data export process.bruvzg2021-04-221-1/+1
| |_|/ |/| |
* | | Fix crash on GDNative API json generator exit.bruvzg2021-04-221-0/+4
|/ /
* | Merge pull request #47896 from Calinou/videoplayer-stream-position-warningRémi Verschelde2021-04-202-1/+2
|\ \ | | | | | | Print a warning when trying to seek in VideoPlayer
| * | Print a warning when trying to seek in VideoPlayerHugo Locurcio2021-04-142-1/+2
| |/ | | | | | | | | Seeking isn't implemented in built-in video formats and can only be supported in GDNative-provided video formats.
* | Merge pull request #47347 from nekomatata/heightmap-supportRémi Verschelde2021-04-202-21/+10
|\ \ | | | | | | Heightmap collision shape support in Godot Physics
| * | Heightmap collision shape support in Godot PhysicsPouleyKetchoupp2021-03-252-21/+10
| | |
* | | Merge pull request #47956 from vnen/gdscript-double-stackRémi Verschelde2021-04-208-56/+400
|\ \ \ | | | | | | | | GDScript: Use special stack space for temporaries to reduce type changes
| * | | GDScript: Adjust type of temporaries when neededGeorge Marques2021-04-166-8/+286
| | | |
| * | | GDScript: Pool temporary values by type on the stackGeorge Marques2021-04-145-49/+115
| | | | | | | | | | | | | | | | | | | | So the stack slots perform less type changes, which is useful for future optimizations.
* | | | Merge pull request #47448 from madmiraal/rename-lineedit-cursorRémi Verschelde2021-04-191-4/+4
|\ \ \ \ | | | | | | | | | | Rename LineEdit getters and setters to match property names
| * | | | Rename LineEdit caret_* properties getters and setters to match propertyMarcel Admiraal2021-04-171-4/+4
| | | | |
* | | | | Merge pull request #47917 from akien-mga/squish-decompress-onlyRémi Verschelde2021-04-187-83/+104
|\ \ \ \ \ | |/ / / / |/| | | | Import: Cleanup and optimize etcpak compression method
| * | | | Import: Cleanup and optimize etcpak compression methodRémi Verschelde2021-04-167-83/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessary allocation of temporary buffers for each mip, and creates only one Image with the compressed data. Also renames variable and reorders code for clarity. Clarify that squish is now only used for decompression. Documented which formats can be decompressed in Image.
* | | | | C#: Fix `double` casting in wasm m2n trampolinesIgnacio Roldán Etcheverry2021-04-171-1/+1
|/ / / / | | | | | | | | | | | | | | | | The trampolines were casting double to `size_t` (likely a copy-paste mistake), so the value was getting truncated.