Age | Commit message (Collapse) | Author |
|
Fix for comparisons with PackedArrays
|
|
Prevent misuse of SafeRefCount
|
|
|
|
Properly report Callable bound arguments
|
|
Use BitField<> in core type masks
|
|
Fixes #63213
Adds a function: Callable::get_amount_of_arguments_bound() to query this in callables. Exposed to the engine API.
|
|
Fix error in `AstarGrid2D::get_id_path`
|
|
Fix `ScriptInstanceExtension::get_property_default_value` return value
|
|
* All core types masks are now correctly marked as bitfields.
* The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks.
* Most bitmask operations replaced by functions in BitField<>
* Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is.
* Documentation and API dump updated to reflect bitfields in core types.
|
|
|
|
|
|
Add support for the custom initial screen for the main window, fix primary screen detection.
|
|
Allow binding Callable arguments from an array
|
|
screen detection.
|
|
|
|
Add PropertyInfo overload for GLOBAL_DEF
|
|
Unbind Variant methods that change immutable types.
|
|
Restores 3.x functionality that was removed in the Signal/Callable refactor of 4.0.
Fixes #64668.
Implements https://github.com/godotengine/godot-proposals/issues/6034
Usage:
```GDScript
callable.bindv([arg1,arg2,arg3])
```
|
|
Fixes #62706.
Code is commented instead of removed to clarify why they should not be re-added.
|
|
|
|
Register enum type names in release build
|
|
Fix pingpong-loop with `loop_wrap` is not working & clean-up cubic interpolation key retrieve process
|
|
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
|
|
Remove duplicate Month and Weekday enums
|
|
[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.
|
|
|
|
Well, they were duplicately-exposed, but triplicately-defined.
|
|
|
|
|
|
|
|
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).
|