Age | Commit message (Collapse) | Author |
|
[iOS] Add Apple Pencil pressure and tilt support.
|
|
GDScript: Error when assigning return value of void function
|
|
Fix usages of mesh simplification functions in float=64 builds
|
|
|
|
This also makes built-in method calls empty the return value when the
method is void, to avoid keeping returning a garbage value in such case.
|
|
|
|
|
|
Allow to specify a default value in `ProjectSettings.get_setting()`
|
|
ProjectSettings.get_setting(), which is used when no setting is set.
Also added tests for the project settings.
Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
|
|
Fix edge map capacity in convex hull computer
|
|
Fix empty zero assigners for the variant types
|
|
The desired capacity could be less than the default, so reserve would
error.
|
|
|
|
Add missing != operator to `StringName`
|
|
|
|
|
|
|
|
Restore weight scale for `AStarGrid2D` (partially)
|
|
Implement basic ASTC support
|
|
Implements basic ASTC support:
* Only 4x4 and 8x8 block sizes.
* Other block sizes are too complex to handle for Godot image compression handling. May be implemented sometime in the future.
The need for ASTC is mostly for the following use cases:
* Implement a high quality compression option for textures on mobile and M1 Apple hardware.
* For this, the 4x4 is sufficient, since it uses the same size as BPTC.
ASTC supports a lot of block sizes, but the benefit of supporting most of them is slim, while the implementation complexity in Godot is very high.
Supporting only 4x4 (and 8x8) solves the real problem, which is lack of a BPTC alternative on hardware where it's missing.
Note: This does not yet support encoding on import, an ASTC encoder will need to be added.
|
|
|
|
touilleMan/gdextension-expose-builtins-members-real-types
Expose in builtins' members internal type & size (on top of offset) in extension_api.json
|
|
This project setting was only implemented and iOS and likely served
no purpose outside of debugging during development of engine features.
It was also located in a confusing location in the project settings
editor, as it was located below a root category (which appears in bold
and is normally not seen as clickable by users).
|
|
Silence `Input.vibrate_handheld()` warning as it's already documented
|
|
- Changes `TextServer.string_get_word_breaks()`
- Returns pairs of boundary start and end offsets
- Accepts `chars_per_line` to return line breaks
- Removes `String::word_wrap()`
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
|
|
The warning causes messages to be spammed if you are calling this
method in a game that runs on both desktop and mobile platforms,
unless you guard all calls to `Input.vibrate_handheld()` with
`OS.has_feature("mobile") or OS.has_feature("web")`.
Since the limitation is already documented (and is obvious enough
given the method's name), the warning message is redundant.
|
|
|
|
Was confused why it always gave inf:s.
|
|
extension_api.json
|
|
Refactor SPIR-V reflection into a generic RenderingDevice feature
|
|
A while ago, argument arrays were passed as const GDNativeTypePtr* (void* const*)
This was changed to GDNativeConstTypePtr* (void const**), adding const on the value but removing it on the pointer level.
This commit changes argument types to const GDExtensionConstTypePtr* (void const* const*).
Besides object pointers, the same change is applied to variant pointers.
|
|
|
|
It turns out some areas are independently moving / reading filepointers outside of the VariantParser, which can cause the readahead caching to get out of sync.
This PR makes the VariantParser readahead to be optional to allow for these use cases.
|
|
Synced with gabomdq/SDL_GameControllerDB@adf7ec1edfc0371ebf5fb469b61f301b8e26ec81
|
|
|
|
Rename all gdnative occurences to gdextension
|
|
Non-exhaustive list of case-sensitive renames:
GDExtension -> GDNative
GDNATIVE -> GDEXTENSION
gdextension -> gdnative
ExtensionExtension ->Extension (for where there was GDNativeExtension)
EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION)
gdnlib -> gdextension
gdn_interface -> gde_interface
gdni -> gde_interface
|
|
Add feature tags to signify engine float precision
|
|
GDScript: Unify StringName and String
|
|
Fix unable to disconnect signal in Editor once created
|
|
Adds a CONNECT_INHERITED flag to connections, only available in editor builds. This flag denotes that the signal has been inherited from a previous Scene in the instancing hierarchy.
|
|
|
|
|
|
|
|
Remove unnecessary checks when exporting gdextension binaries and allow using a prefix to auto-detect files
|
|
|
|
Fix suppressed error message on error when using % format string
|
|
Add missing public `property_*_revert` getters
|
|
Before, the valid flag would always be true. On formatting errors,
an error message is returned as the result. (No error prompts.)
|
|
Remove `UPDATE_TRIGGER` mode from `ValueTrack::UpdateMode` & Match behaviors between `AnimationTree` and `AnimationPlayer`
|