summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2021-10-01Allow shortcuts to have any number of bindings. Updated UI as required.Eric M
2021-10-01Merge pull request #52850 from mashumafi/vector-bsearchRémi Verschelde
2021-09-30Implement bsearch for Vector and Packed*Arraymashumafi
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-30Merge pull request #52544 from JFonS/lod_fixesJuan Linietsky
Auto LOD fixes and improvements
2021-09-30Merge pull request #48685 from bruvzg/bundle_icon_4Rémi Verschelde
2021-09-30Merge pull request #53251 from LATRio/53224Rémi Verschelde
2021-09-30Merge pull request #53227 from Calinou/rename-getornullMax Hilbrunner
Rename RID's `getornull()` to `get_or_null()`
2021-09-30InputEventJoypadMotion::set_axis - reject invalid axisLATRio
2021-09-30Merge pull request #53230 from nekomatata/fix-2d-bvh-overflowRémi Verschelde
2021-09-29Rename RID's `getornull()` to `get_or_null()`Hugo Locurcio
2021-09-29Merge pull request #53044 from lucypero/thread_overrideRémi Verschelde
2021-09-29Fix buffer overflow in 2D BVHPouleyKetchoupp
Some areas of code were missed and assumed Vector3.
2021-09-29Fix Platform Thread OverrideLucy
2021-09-29Merge pull request #53217 from Faless/ext/fix_pointer_infoRémi Verschelde
2021-09-29Fix const pointers types in docs and extension API.Fabio Alessandrelli
The GDVIRTUAL_NATIVE_PTR did not declare the correct GDNativeConstPtr template, resulting in "void*" being used as it's type info in both the documentation and the extension API dump.
2021-09-29Implement override of get_message and get_plural_messageO01eg
2021-09-29Use functions defined in the their classes.Anilforextra
2021-09-28Merge pull request #52481 from Faless/net/4.x_native_peersFabio Alessandrelli
[Net] Extension system for network peers, webrtc.
2021-09-28Replace auto completion shortcut for macfabriceci
2021-09-28Merge pull request #53053 from LATRio/callable_in_thread_startRémi Verschelde
2021-09-28Fix inversed check inside register_singletonHennadii Chernyshchyk
2021-09-27Auto LOD fixes and improvementsjfons
* Fixed LODs for shadow meshes. * Added a merging step before simplification. This helps with tesselated meshes that were previously left untouched. The angle difference at wich edges ar considered "hard" can be tweaked as an import setting. * LODs will now start with the highest decimation possible and keep doubling (approximately) the number of triangles from there. This makes sure that very low triangle counts are included when possible. * Given more weight to normal preservation. * Modified MeshOptimizer to report distance-based error instead of including attributes in the reported metrics. * Added attribute transference between the original mesh and the various LODs. Right now only normals are taken into account, but it could be expanded to other attributes in the future.
2021-09-27Parse UTF-8 when getting path from resource UIDHaoyu Qiu
2021-09-26Merge pull request #53058 from LATRio/52191Rémi Verschelde
check if 'shortcut' in InputEventShortcut is valid
2021-09-26validate 'shortcut' in InputEventShortcutLATRio
2021-09-25Merge pull request #52855 from Calinou/engine-editor-hint-getter-onlyRémi Verschelde
2021-09-25Use Callable in Thread::startLATRio
2021-09-25Merge pull request #52849 from KoBeWi/know_no_bindsRémi Verschelde
2021-09-24Fix Face3::get_random_point_inside()John Wigg
Use correct overload of Math::random(from, to) to return floating point values within the correct range.
2021-09-24[Net] MultiplayerPeer cleanup, defaults.Fabio Alessandrelli
2021-09-24[Net] Bind Multiplayer to GDExtension.Fabio Alessandrelli
2021-09-24[Net] StreamPeer GDExtension.Fabio Alessandrelli
2021-09-24[Net] Enable PacketPeer native extensions.Fabio Alessandrelli
2021-09-24Remove binds from Signal.connectkobewi
2021-09-24Merge pull request #52430 from AnilBK/vector2-replacementsRémi Verschelde
2021-09-24Replace `#pragma once` by traditional include guards for consistencyHugo Locurcio
`#pragma once` was used in a few files, yet we settled on using traditional include guards instead. The PooledList template comment was also moved to allow editors such as Visual Studio Code to display the comment when hovering PooledList. `app.h` was renamed to `app_uwp.h` to be less generic for the include guard.
2021-09-23Construct values only when necessary.Anilforextra
2021-09-22[ClassDB] Unify construct/extension retrieval.Fabio Alessandrelli
2021-09-22[Core] Add ClassDB functions to retrieve/construct extensions.Fabio Alessandrelli
Calling the constructor alone is not enough if the class to be instantiated is not a base class. This commit adds two functions, one for retrieving the the extension class reference, the other to construct an instance using the constructor and the extension class reference.
2021-09-21Merge pull request #52878 from AnilBK/add-get-centerRémi Verschelde
2021-09-21Add Get Center Method for Rect2/Rect2i and AABB.Anilforextra
2021-09-21Merge pull request #52877 from Calinou/add-print-verboseRémi Verschelde
Add `print_verbose()` built-in function to print in verbose mode only
2021-09-21Add `print_verbose()` built-in function to print in verbose mode onlyHugo Locurcio
This can be used as a shorthand for: if OS.is_stdout_verbose(): print("...") Unlike `print_debug()`, this works in release builds too and can be toggled off in debug builds.
2021-09-21Improve implementation of builtin action overridesEric M
2021-09-20Remove `Engine.editor_hint` in favor of `Engine.is_editor_hint()`Hugo Locurcio
The `Engine.set_editor_hint()` setter method is no longer exposed to scripting, which makes the property effectively read-only from an user perspective.
2021-09-20Merge pull request #52513 from Ev1lbl0w/fix_path_double_slashRémi Verschelde
Fix path with multiple slashes not being corrected on templates
2021-09-20Merge pull request #52398 from deakcor/dev-transformRémi Verschelde
2021-09-19Expose get_skew for transform2d and add new constructorVincent D
Expose set_scale and set_skew for transform2d Replacing float by real_t Adding const parameters Updated transform2d doc
2021-09-17Allow indexing of String values in scripting languagesGeorge Marques