Age | Commit message (Collapse) | Author |
|
Fix duplicate variant constructor typo.
|
|
Improve the 3D editor selection box appearance
|
|
Variant: Rename Type::_RID to Type::RID
|
|
|
|
Remove `debug_symbols=full` in favor of `debug_symbols=yes`
|
|
The underscore prefix was used to avoid the conflict between the `RID` class
name and the matching enum value in `Variant::Type`.
This can be fixed differently by prefixing uses of the `RID` class in `Variant`
with the scope resolution operator, as done already for `AABB`.
|
|
CI: Build with warnings=extra to catch 'em all
|
|
- Draw two boxes slightly offset from each other to give the illustion
of a thicker outline.
- Decrease the offset compared to the 3D node's AABB to give a more
accurate representation of its size.
- Make the box fully visible instead of only displaying the corners.
- Draw a x-ray version of the box that's more translucent, but visible
through walls. This helps make the box more visible while still
having a sense of depth.
- Use an orange color similar to the 2D editor.
|
|
`debug_symbols=yes` will now behave like `debug_symbols=full` did
before. The difference in compressed file sizes is not that large,
which means there isn't much point in having two different values.
This helps make the buildsystem easier to understand.
|
|
... on all platforms but MSVC, as it still has a number of unsolved warnings
in its `/Wall` level. Some of it might be valid, others might be overkill,
this needs further assessment and fixes. (We could also change the `extra`
level to `/W4` on MSVC if that's more meaningful.)
|
|
Color: Fix -Wtype-limits GCC warning after refactoring
|
|
Refactored variant constructor logic
|
|
Update "open-simplex-noise-in-c" to fix undefined signed overflow
|
|
Warning from GCC 10.2.0 with `warnings=extra`:
```
./core/math/color.h: In member function 'int32_t Color::get_r8() const':
./core/typedefs.h:107:42: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits]
107 | #define CLAMP(m_a, m_min, m_max) (((m_a) < (m_min)) ? (m_min) : (((m_a) > (m_max)) ? m_max : m_a))
| ~~~~~~^~~~~~~~~
./core/math/color.h:201:49: note: in expansion of macro 'CLAMP'
201 | _FORCE_INLINE_ int32_t get_r8() const { return CLAMP(uint32_t(r * 255.0), 0, 255); }
| ^~~~~
```
Also some code consistency changes while at it.
|
|
|
|
|
|
Port code examples to C# (D and E)
|
|
Add icons for the new Light2D nodes
|
|
Reorganize and clean up core/ directory
|
|
-Removed FuncRef, since Callable makes it obsolete
-Removed int_types.h as its obsolete in c++11+
-Changed color names code
|
|
Refactored Variant setters/getters
|
|
-Discern between named, indexed and keyed
-Get direct access to functions for typed GDScript and GDNative bindings
-Small changes to some classes in order to work with the new setget binder
|
|
|
|
Increase the default HTTPClient download chunk size to 64 KiB
|
|
Add `Image.load_bmp_from_buffer()` for run-time BMP image loading
|
|
This improves download speeds at the cost of increased memory usage.
This change also effects HTTPRequest automatically.
See #32807 and #33862.
|
|
[Mono] Added Shuffle method to Array
|
|
|
|
Fix "unifom" typo in RasterizerStorageRD method
|
|
Refactored Variant Operators.
|
|
|
|
-Using classes to call and a table
-For typed code (GDS or GDNative), can obtain functions to call prevalidated or ptr.
|
|
Exposed randi_range to global funcs + renamed rand_range to randf_range
|
|
[HTML5] Fix audio buffer size and latency hint.
|
|
The size of the audio buffer was incorrectly doubled when creating the
script processor.
latencyHint is expressed in seconds, not milliseconds.
Additionally, on some browsers it actually affect the performance and
stability of the audio driver.
For this reason it has been completely disabled (interactive) and a not
has been left for future reference.
|
|
|
|
Improve the documentation related to fullscreen and borderless settings
|
|
Document the supported TLS versions in HTTPRequest
|
|
Use LONG instead of DWORD (unsigned int) when interacting with DIJOFS constants
|
|
|
|
Changed path behaviour for Windows
|
|
Remove `Color.contrasted()` as its behavior is barely useful
|
|
Remove unused `PHI` define in math funcs
|
|
[iOS] Add missing ARC flag to the simulator build.
|
|
Fix uninitialised variables in the BaseMaterial3D.
|
|
|
|
|
|
doc: Override default value for RandomNumberGenerator.seed
|
|
Fixes the misleading message when a non-existing function name is passed to TreeItem.call_recursive()
|
|
It's non-deterministic so it's better to show a fixed value like 0 instead of
having it potentially change whenever `randomize()` is called.
Fixes #43317.
|