Commit Graph

1283 Commits (c4fde852e69e3f28975a60630ae2232f71321a56)

Author SHA1 Message Date
Rémi Verschelde d25cae9b61 Merge pull request #859 from aaronfranke/basis-transform-quat
Update Basis/Transform3D/Quaternion to match the engine
2022-10-04 16:39:46 +02:00
Rémi Verschelde 047b08922d Merge pull request #857 from aaronfranke/you-just-got-vectored
Update Vector2/2i/3/3i/4/4i to match the engine
2022-10-04 16:39:42 +02:00
Fabio Alessandrelli 64b2c9be0b [SCons] Refactor targets, symbols, optimizations.
Now matches Godot `master` target names and supports the same flags with
the following notable exceptions:
- The default target is "template_debug", since it's compatible with
  editor builds (and TOOLS_ENABLED is never used internally).
- separate_debug_symbols is still not supported, and will be done in a
  separate commit.
2022-10-04 16:05:40 +02:00
Aaron Franke fc879c04c8
Update Vector4/4i to match the engine 2022-10-01 21:09:05 -05:00
Aaron Franke d479208a8f
Update Vector2/2i/3/3i to match the engine 2022-10-01 21:09:05 -05:00
daylilyzeleen 3e91ec1729 Add detail infos for binding error message. 2022-09-30 15:16:43 +08:00
Rémi Verschelde fa4d18f21c headers: Sync with upstream commit f8745f2f7 (4.0-beta2) 2022-09-29 09:12:41 +02:00
Rémi Verschelde e51df8450c
Merge pull request #870 from bruvzg/ts_wrapper 2022-09-28 11:29:13 +02:00
bruvzg fb8253c912
Add wrapper function generation for built-in module ↔ godot-cpp interoperability. 2022-09-28 10:04:35 +03:00
Marc Gilleron cd2232eddf Fix passing null to functions taking Object parameters 2022-09-23 21:20:37 +01:00
Rémi Verschelde e40aa112ee
Merge pull request #841 from bruvzg/typed_array
Implement support for typed arrays.
2022-09-23 09:19:37 +02:00
bruvzg c001d0e5c7
Implement support for typed arrays. 2022-09-23 09:02:00 +03:00
Marc Gilleron 5de2c059d1 Fix deriving a custom class with virtual methods 2022-09-21 19:31:30 +01:00
Aaron Franke e83d472c00
Update Basis/Transform3D/Quaternion to match the engine 2022-09-20 01:07:45 -05:00
Rémi Verschelde 8670305589
Merge pull request #856 from aaronfranke/rename-elements
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-09-20 07:02:49 +02:00
Aaron Franke e26a75cd0c
Rename Basis "elements" to "rows"
https://github.com/godotengine/godot/pull/60627
2022-09-19 18:22:52 -05:00
Aaron Franke e30c858c5d
Rename Transform2D "elements" to "columns"
https://github.com/godotengine/godot/pull/60627
2022-09-19 18:22:52 -05:00
Fabio Alessandrelli a330342e4f
Merge pull request #853 from Faless/build/4.x_ci_cache
[CI] Add concurrency and scons caching.
2022-09-19 19:03:14 +02:00
Fabio Alessandrelli d5e8675fd6 [CI] Add concurrency options and scons caching. 2022-09-19 16:56:29 +02:00
Rémi Verschelde bef1fa091c
Merge pull request #835 from Faless/build/4.x_opt_debug 2022-09-19 15:11:05 +02:00
Fabio Alessandrelli 0b87aaa74c
Merge pull request #838 from PapyChacal/scons-caching
Add options to use scons caching for faster iteration.
2022-09-19 14:51:40 +02:00
Emilien Bauer 8e717acf48 Add options to use scons caching for faster iteration.
Sort the sets in source generation so they are generated consistently between runs; otherwise caching is useless.
2022-09-19 13:32:23 +02:00
Rémi Verschelde aaee30e5c5
Merge pull request #852 from aaronfranke/math 2022-09-19 12:38:49 +02:00
Aaron Franke 7ba459ae7b
Add integer posmod and rename range_lerp to remap
https://github.com/godotengine/godot/pull/23310
https://github.com/godotengine/godot/pull/65361
2022-09-19 03:09:59 -05:00
Aaron Franke 9a2e8d907b
Add pingpong and fract methods to Math
https://github.com/godotengine/godot/pull/53819
2022-09-19 03:09:59 -05:00
Aaron Franke b11ff9d876
Replace stepify with snapped
https://github.com/godotengine/godot/pull/44586
2022-09-19 03:09:59 -05:00
Aaron Franke d20c4200db
Update cubic interpolation methods to match core
https://github.com/godotengine/godot/pull/64924
https://github.com/godotengine/godot/pull/63602
https://github.com/godotengine/godot/pull/62458
2022-09-19 03:09:38 -05:00
Aaron Franke 942cd466ed
Split is_equal_approx into float and double versions to match Godot
https://github.com/godotengine/godot/pull/48882
2022-09-19 02:47:27 -05:00
Rémi Verschelde 3450a1ab16 Merge pull request #847 from ninfur/issue-65997
Add missing Vector4 function bindings
2022-09-19 09:31:23 +02:00
Rémi Verschelde 03d1120d6a Merge pull request #850 from Zylann/transform_local
Add Transform3D `translated_local`, `rotated_local`, `scaled_local`
2022-09-19 09:30:11 +02:00
Rémi Verschelde d910b72cb7 Merge pull request #851 from Zylann/quat_to_quaternion
Use `quaternion` instead of `quat` in method names
2022-09-19 09:29:57 +02:00
Rémi Verschelde d4cef0bd43 Merge pull request #849 from Zylann/const_cast_to
cast_to` for `const Object*`
2022-09-19 09:29:51 +02:00
Rémi Verschelde 53b0892791 Merge pull request #848 from Zylann/fix_class_constants
Class constants should be static
2022-09-19 09:29:14 +02:00
Marc Gilleron c543a3cbe1 Add Transform3D `translated_local`, `rotated_local`, `scaled_local` 2022-09-18 23:04:38 +01:00
Marc Gilleron a35994ce7b Use `quaternion` instead of `quat` in method names 2022-09-18 22:44:18 +01:00
Marc Gilleron 99c004f689 Add `Object::cast_to` for `const Object*` 2022-09-18 22:23:49 +01:00
Marc Gilleron f8f25980e1 Class constants should be static 2022-09-18 20:58:44 +01:00
Johannes Sinander e7372cbe85 Add missing Vector4 function bindings 2022-09-18 11:27:49 +02:00
Rémi Verschelde 3276688c82
Merge pull request #844 from Zylann/fix_get_const
Fix issues with `_get` and `_get_property_list`
2022-09-16 08:48:00 +02:00
Marc Gilleron 6f3bdab090 Fix issues with `_get` and `_get_property_list`
`_get` was using `_set` internally, and should be `const`.
`_get_property_list` should be `const`.
2022-09-15 23:46:50 +01:00
Rémi Verschelde f24cc8be03
Merge pull request #826 from bruvzg/string_info 2022-09-15 21:10:13 +02:00
Rémi Verschelde 16606cde39
Merge pull request #840 from TokageItLab/move-some-methods-to-animation-from-variant 2022-09-15 21:09:44 +02:00
Rémi Verschelde be7ed4c775 headers: Sync with upstream commit 4ba934bf3 (4.0-beta1) 2022-09-15 10:38:32 +02:00
Silc Renew 440c4ed703 Mode some methods to Animation from Variant 2022-09-15 04:13:51 +09:00
bruvzg 36273baa7e
Change PropertyInfo members to String. 2022-09-14 08:41:09 +03:00
Rémi Verschelde 420c86eb90 headers: Sync with upstream commit 22a09fef5 (4.0-alpha17) 2022-09-13 15:51:33 +02:00
Rémi Verschelde 7735ab48c4 CI: Make CMake builds use verbose output 2022-09-13 15:50:21 +02:00
Rémi Verschelde e45234fbbc
Merge pull request #839 from rburing/add_self_list 2022-09-13 12:29:08 +02:00
Ricardo Buring 3e97626b67 Add SelfList template 2022-09-13 11:33:12 +02:00
Fabio Alessandrelli 2bf983e638 [SCons] Add "optimize" and "debug_symbols" options
optimize = auto|none|debug|speed|size|0|1|2|3
debug_symbol = True|False

optimize == "auto" will produce:
- "debug" for "debug" builds
- "speed" for "release" builds
2022-09-12 16:52:05 +02:00