Age | Commit message (Collapse) | Author |
|
Change Color.to_32() to Color.to_rgba32() and lowercase other functions
|
|
Fix unused variable warnings
|
|
Remove assignment and declarations in if statements
|
|
Fix various assorted warnings
|
|
Fix using enum as bool value
|
|
Fix warnings comparing enums of different types
|
|
Fix serveral recent new clang-format errors
[ci skip]
|
|
|
|
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
|
|
After discussing with @reduz and @akien-mga it was decided that we do
not allow assignments or declarations in if statements. This PR removes
the instances of this I could find by automated means.
|
|
Fix various warnings that don't have enough instances to merit
individual commits. Also fixes a potential bug in audio_server.cpp.
|
|
|
|
Added option to change directional light range mode, between optimized and stable. For Orthogonal, you might need to use optimized.
|
|
|
|
This warning actually hid a bug. The value of ERR_INVALID_DATA is
actually 30, returning this as a bool returns true while false was
required.
|
|
This fixes a source of many compiler warnings regarding comparing the
enum VARIANT_TYPE to Variant::Type. This changes the local value to a
static const Variant::Type value rather than an unrelated enum, this
also saves us a cast.
|
|
-Added Array.duplicate() method, needed to fix above
|
|
|
|
Provide NativeScript properties in definition order
|
|
|
|
|
|
|
|
Remove NULL check from Object::cast_to()
|
|
added StringBuilder class
|
|
After discussing this with @reduz on IRC we agreed to remove these
checks. We now consider cast_to() to be NULL safe
|
|
-Fixed get_scale functions (and added set_scale) to make it more coherent when decomposing and composing (fixes bugs in transform interpolation)
|
|
Fixes language overridden external editors
|
|
|
|
-Fixed refactoring tools to work with imported scenes (properly move .import files)
|
|
Fixes order of default arguments in MethodInfo
|
|
This time for real
|
|
|
|
The second in my quest to make Godot 3.x compile with -Werror on GCC7
|
|
Fix signed and unsigned comparisons
|
|
Fixes reversed order of default arguments in MethodInfo
|
|
When doing large string concatenations the default push_back on the
String class can slow down things quite a bit. This is because it
has to constantly reallocate the memory and copy the contents. This
StringBuilder class delays the concatenation until the size of the
resulting string is known.
|
|
|
|
|
|
Implement OrderedHashMap
|
|
c812c17633 introduces some extra gdscript bindings for signal discovery
and adds a binding for has_method() to Script objects. This method is
already provided by the ancestor Object.
This fixes the startup message:
ERROR: bind_methodfi: Class Script already has a method has_method
At: core/class_db.cpp:1178.
|
|
The first in my quest to make Godot 3.x compile with -Werror on GCC7
|
|
|
|
Light Theme
|
|
|
|
This new decomposition splits the basis into a rotation-reflection matrix and a positive scaling matrix, which is required for physics calculations.
|
|
Those functions were added in #8277 but they did more harm than good. They're subtle, don't do what people think and requires users to understand the non-uniqueness of polar decomposition. They ended up confusing people.
Until we store additional information enough to make a unique polar decomposition, these functions shouldn't be a part of Basis.
|
|
|
|
DocData and virtual method type hints fixes
|
|
|
|
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types
- Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string.
- PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void.
- Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
|