Age | Commit message (Collapse) | Author |
|
|
|
to core API 1.2 extension.
|
|
|
|
Fix some crashes and using null pointers
|
|
|
|
VideoStream:
- Fix const correctenss
VideoPlayer:
- Remove unused member variable last_frame
- Move _mix_audios function definition to source file
- Fix function parameter naming to match p_ convention
- Fix const correctness
- Add null checking
|
|
This also tweaks error messages to remove hardcoded references to
the default `godot_` prefix.
|
|
|
|
Fix VideostreamGDNative seek
|
|
Added some obvious errors explanations
|
|
|
|
Add array slice method
|
|
Fix VideostreamGDNative audio buffer handling
|
|
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
|
|
Fix the audio buffer start when there are previous remains
|
|
When seeking video, make sure audio buffers are reset and video time
is updated.
|
|
|
|
|
|
VarArg methods have the return type Object in the API json for GDNative. This
can cause undefined behavior in some language bindings due to lack of
documentation on VarArg methods' behavior.
This changes the MethodInfo of:
- CSharpScript::_new
- GDScript::_new
- PluginScript::_new
|
|
|
|
"modules/gdnative", "modules/gdscript" directories.
|
|
Fix 'GDNativeLibrary' editor being incorrectly opened
|
|
Improve platform selection in the GDNativeLibrary dock
|
|
|
|
|
|
* Replace button text with currently selected platforms
* Expand button size horizontally
|
|
|
|
Added Vector2/3.direction_to methods to GDNative
|
|
This was a regression in 3.1 and later from the new inspector, where
PROPERTY_HINT_SPRITE_FRAME was not fully re-implemented. It's meant to
be a normal PROPERTY_HINT_RANGE which also automatically increments its
value when keyed in the animation player.
To avoid code duplication, I made the frames properties use the actual
PROPERTY_HINT_RANGE and introduced a PROPERTY_USAGE_KEYING_INCREMENTS
usage flag instead.
|
|
|
|
|
|
Properly release added resource loader and save references. Otherwise PluginScript API
may cause "ObjectDB Instances still exist!" warnings and segmentation faults on exit.
|
|
|
|
Enhance game export
|
|
|
|
That is, any library referred to in GDNative library resources, won't be copied to the export target path unless its path begins with `res://`.
The case use for this is a bit advanced: having a GDN library that will be deployed separately from the project; for instance, to a path in the system (like `/opt/...`).
Currently the GDN library editor doesn't allow to pick dynamic libraries outside the project, but that can be done by editing the `.gdnlib` file manually.
|
|
It's the recommended way to set those, and is more portable
(automatically prepends -D for GCC/Clang and /D for MSVC).
We still use CPPFLAGS for some pre-processor flags which are not
defines.
|
|
|
|
Applying #30187.
|
|
Thanks to @bojidar-bg's impressive work in #29380.
|
|
Add support for creating editor icons per module
|
|
Also, fix crash in PluginScript destructor.
|
|
Fixed cases of unsupported pointers being used to construct variants
|
|
Add default values to the editor help, docs, and generated RST
|
|
|
|
The functionality is similar to how `doc_classes` are retrieved per module.
The build system will search for custom icons path defined per module via
`get_icons_path()` method in `config.py` or default icons path.
If such paths don't exist, only the editor's own icons will be built.
Most module icons were moved from editor/icons to respective modules.
|
|
- Document a few more properties and methods
- Add more information to many classes
- Fix lots of typos and gramar mistakes
- Use [code] tags for parameters consistently
- Use [b] and [i] tags consistently
- Put "Warning:" and "Note:" on their own line to be more visible,
and make them always bold
- Tweak formatting in code examples to be more readable
- Use double quotes consistently
- Add more links to third-party technologies
|
|
Also, make spacing of "=" in the editor help a bit more consistent.
Closes #16086
|
|
|
|
|