Age | Commit message (Collapse) | Author |
|
This is used to get a direct pointer for the data inside a Variant.
Added as another class instead of in Variant directly because this
should only be used in special cases, so use must be explicit.
|
|
|
|
Follow-up to a61cae14696732fca214902161f40450dec2f9cd.
|
|
Fix hard-coded OP_MAX in variant_op.cpp
|
|
Change Color HTML conversion from ARGB to RGBA
|
|
Synced with gabomdq/SDL_GameControllerDB@d148c6ce4987e0cf58da8100c675eb5db8e43dfe.
|
|
|
|
|
|
Also add support for 3 and 4 digit values in C#. Now it actually matches the HTML/CSS spec.
|
|
Clear missed remaps on deinitialization
|
|
godotengine/godot#34221
|
|
Add a test suite for Expression
|
|
This also makes the first parameter of `Expression::execute()` optional
from C++. Previously, it was only optional in the scripting API.
|
|
Changes:
* EngineDebugger is exposed to gdscript. Game side of communication can be implemented through it.
* EditorDebuggerPlugin is added which handles the editor side of communication.
|
|
And revert follow-up regression fix "Remap script path when registering class."
After the regression fix, the original issue is valid again so it's better
to go back to the previous state.
This reverts commits e264ae20d2a828201a50868b3af334a3f8c8a37c and
fceb64827ea50364f34f4ba9db3910602d1911bf.
|
|
Added plurals and context support to Translation
|
|
|
|
This method starting being used in 079ca220e14669ef7c31c399985cd2c733af15bd,
which now triggers this warning from GCC 10:
```
./core/error_macros.h:151:25: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits]
```
|
|
|
|
fixes and updated class Reference.
|
|
|
|
dialog when deleting settings.
|
|
New contributors added to AUTHORS:
@hinlopen, @naithar, @rrcore, @SkyLucilfer, @TwistedTwigleg
Thanks to all contributors and donors for making Godot possible!
---
Also changes to relevant code that parses the DONORS.md to match
the new tiers.
|
|
|
|
Remap script path when registering class.
|
|
Fix Vector3i and Vector2i AXIS_* constants
|
|
- New layout: advanced options hidden by default, error labels added.
- Disallow adding invalid new settings, or overwriting built-in settings.
|
|
|
|
Was causing `class_name`-defined scripts to not being loaded in exported
games due to the remap from `*.gd` to `*.gdc`/`*.gde`.
|
|
|
|
|
|
|
|
A new `env.Run` method is added which allows to control the verbosity
of builders output automatically depending on whether the "verbose"
option is set. It also allows to optionally run any SCons commands in a
subprocess using the existing `run_in_subprocess` method, unifying
the interface. `Action` objects wrap all builder functions to include a
short build message associated with any action.
Notably, this removes quite verbose output generated by `make_doc_header`
and `make_editor_icons_action` builders.
|
|
GDScript: Clarified/fixed inaccuracies in the built-in function docs.
|
|
Remove multilevel calls
|
|
|
|
Use same call to VariantCaster in release build as used in VariantCasterAndValidate::call method
|
|
The input to smoothstep is not actually a weight, and the decscription
of smoothstep was pretty hard to understand and easy to misinterpret.
Clarified what it means to be approximately equal.
nearest_po2 does not do what the descriptions says it does. For one,
it returns the same power if the input is a power of 2. Second, it
returns 0 if the input is negative or 0, while the smallest possible
integral power of 2 actually is 1 (2^0 = 1). Due to the implementation
and how it is used in a lot of places, it does not seem wise to change
such a core function however, and I decided it is better to alter the
description of the built-in.
Added a few examples/clarifications/edge-cases.
|
|
Docs: Ignore OS specific values (constants, project settings, properties)
|
|
|
|
In general they are more confusing to users because they expect
inheritance to fully override parent methods. This behavior can be
enabled by script writers using a simple super() call.
|
|
Implements exit codes into the engine so tests can return their statuses.
Ideally we don't do this, and we use FIXUP logic to 'begin' and 'end' the engine execution for tests specifically.
Since realistically we're initialising the engine here we don't want to do that, since String should not require an engine startup to test a single header.
This lowers the complexity of running the unit tests and even for
physics should be possible to implement such a fix.
|
|
GDScript 2.0 (again)
|
|
object is never closed.
|
|
Fix spelling & grammar in comments, docs, and messages
|
|
|
|
Also a few minor API changes like adding AABB.abs()
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
Reenable checking those when validating code.
|
|
Add methods in ClassDB to get property/method/constant/enum info
|
|
Fix spelling of a var, a struct, and some message output
|