Age | Commit message (Collapse) | Author |
|
Rename `String::is_rel_path` to `String::is_relative_path`
|
|
workflow."
|
|
Improve collision generation usability in the new 3D scene import workflow.
|
|
|
|
|
|
The strings no longer needs to be in order.
The last parameter (channel), still requires all the other parameters to
be present.
|
|
This commit completely removes the RPC_MODE_MASTER ("master" keyword),
and renames the RPC_MODE_PUPPET to RPC_MODE_AUTHORITY ("auth" keyword).
This commit also renames the "Node.[get|set]_network_master" methods to
"Node.[get|set]_network_authority".
This commit also renames the RPC_MODE_REMOTE constant to RPC_MODE_ANY.
RPC_MODE_MASTER in Godot 3.x meant that a given RPC would be callable by
any puppet peer on the master, while RPC_MODE_PUPPET meant that it would
be callable by the master on any puppet.
Beside proving to be very confusing to the user (referring to where it
could be called instead of who can call it) the RPC_MODE_MASTER is quite
useless. It is almost the same as RPC_MODE_REMOTE (anyone can call) with
the exception that the network master cannot. While this could be useful
to check in some case, in such a function you would anyway need to check
in code who is the caller via get_rpc_sender_id(), so adding the check
there for those rare cases does not warrants a dedicated mode.
|
|
Print error message when await is not followed by signal or coroutine
|
|
GDScript test style fix
|
|
When await was not followed by a signal or coroutine the GDScript parser would
crash.
This fix will check if await is followed by a signal or coroutine in case that
isn't true (element == nullptr) then an error message is printed.
|
|
With this PR it's possible to add a collision during the Mesh import, directly in editor.
To generate the shape is possible to chose between the following options:
- Decompose Convex: The Mesh is decomposed in one or many Convex Shapes (Using the VHACD library).
- Simple Convex: Is generated a convex shape that enclose the entire mesh.
- Trimesh: Generate a trimesh shape using the Mesh faces.
- Box: Add a primitive box shape, where you can tweak the `size`, `position`, `rotation`.
- Sphere: Add a primitive sphere shape, where you can tweak the `radius`, `position`, `rotation`.
- Cylinder: Add a primitive cylinder shape, where you can tweak the `height`, `radius`, `position`, `rotation`.
- Capsule: Add a primitive capsule shape, where you can tweak the `height`, `radius`, `position`, `rotation`.
It's also possible to chose the generated body, so you can create:
- Rigid Body.
- Static Body.
- Area.
|
|
|
|
Use sorted map for autoloads in ProjectSettings to preserve order.
|
|
|
|
Correct null and boolean values being capitalised by the str command
|
|
Move mixing out of the AudioStreamPlayback* nodes
|
|
|
|
|
|
Adds multi-channel SDF font texture generation and rendering support.
Adds per-font oversampling support.
Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading.
Adds BMFont binary format and outline support.
|
|
|
|
Adding GDExtension support to XRInterface
|
|
Fix misspelled "overriden"
|
|
|
|
|
|
Add a README to link to the GDScript integration tests documentation
|
|
In recent GDVIRTUAL PR and SkeletonModification3DJiggle doc.
|
|
Resolves #51620.
|
|
Expose `String.SimplifyPath` in C#
|
|
Rename `String.IsAbsPath()` to `String.IsAbsolutePath()`
|
|
This makes the documentation about creating and running GDScript
integration tests more discoverable.
|
|
|
|
Fix VisualScriptEditor after namespaces
|
|
|
|
|
|
Fix race condition on `script_binding` in C#
|
|
|
|
Replace HTTP URLs with HTTPS for sites with HTTPS versions
|
|
[cppcheck] Remove some redundant assignments.
|
|
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.
Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
|
|
|
|
* New syntax is type safe.
* New syntax allows for type safe virtuals in native extensions.
* New syntax permits extremely fast calling.
Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`.
These will require API rework on a separate PR as they work different than the rest of the functions.
Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
|
|
Rename C# string extensions to follow GDScript
|
|
Use used_in_transfer instead of used_in_compute twice.
|
|
GDScript: Fix inner classes and preloaded scripts as types
|
|
Since those can be called without an instance.
|
|
Follow up to d9d77291bca8dd1e87aa4d9e40de96d99e5ef1f6.
Renames `String.Extension` -> `String.GetExtension()` and
`String.BaseName()` -> `String.GetBaseName()`.
This makes those methods more consistent with GDScript and with
the `GetBaseDir` method.
|
|
Fix VisualScriptEditor after namespaces
|
|
|
|
Previously there weren't any Callable arguments with a default value,
but d4dd859991205e6cecfa9a0553b89db47c983d0b introduced one.
|
|
Fix initialization of objects in VariantInternal
|