Age | Commit message (Collapse) | Author |
|
Follow up to #43356
|
|
Calinou/fix-filesystem-copy-path-shortcut-conflict
Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcut
|
|
GDNative: Define special char types in string.h
|
|
Allow using SVG images as project icon
|
|
Add docs for editor viewport drawing methods
|
|
Disallow setting the AudioServer's 'global_rate_scale' to a value equal or inferior to 0
|
|
Variant: Sync docs with new constructors, fixes to #43403
|
|
Change DocData comparators for MethodDoc and ArgumentDoc to get a better
ordering of constructors.
|
|
Change how no-arg constructor is handled internally in Variant.
|
|
|
|
Make sure operators appear in the docs too
|
|
Fix duplicate variant constructor typo.
|
|
Add "operator" and "constructor" qualifiers to make it easier to
see in the docs.
|
|
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)
|
|
This closes #43396.
|
|
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
|
|
Those are standard types in C++ but not in C.
This also removes the wchar header which is not needed anymore and use
stddef.h instead (which is needed for size_t).
|
|
-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
|
|
|
|
Since exporters will save their own icon, the target platforms
don't have to support SVG to display the icon correctly.
This closes #23068.
|
|
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.
|