Commit Graph

1012 Commits (2f07eb07eea9e5ef3a6e9f8707f08cec77db579f)

Author SHA1 Message Date
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
Fabio Alessandrelli 024b6d2d9e
Merge pull request #819 from Faless/bump/hashfuncs
Update hashfuncs, add some missing math funcs.
2022-09-12 14:01:57 +02:00
Rémi Verschelde dff13ff129
Merge pull request #836 from Faless/fix/4.x_file_list 2022-09-12 13:31:32 +02:00
Fabio Alessandrelli 081d425277 [MSVC] Add NOMINMAX flag to scons and cmake.
Ensures user inclusion of windows.h do not define "min" and "max"
macros.
2022-09-12 13:12:55 +02:00
Fabio Alessandrelli e272d92827 [Test] Add minimal test for templates inclusion.
We probably want to test more than just them being able to compile, but
this is a start.
2022-09-12 13:12:55 +02:00
Fabio Alessandrelli c263b3e38c Fix get_file_list not returning all generated files.
Adds a CI static check for it.
2022-09-11 21:39:06 +02:00
Fabio Alessandrelli 43cdc2e037 Update hashfuncs, add some missing math funcs. 2022-09-11 13:11:52 +02:00
Rémi Verschelde 204e504d68
Merge pull request #833 from aaronfranke/gitignore 2022-09-08 10:18:24 +02:00
Aaron Franke 91fcde48d4
Add Godot 3.x ignores to the .gitignore file 2022-09-07 22:59:04 -05:00
Rémi Verschelde 0d7da02dc4 headers: Sync with upstream commit 86dd3f312 (4.0-alpha16) 2022-09-07 13:17:32 +02:00
Rémi Verschelde 446cacde15
Merge pull request #817 from akien-mga/test-project-public-domain 2022-09-07 13:07:57 +02:00
Rémi Verschelde f71c711646
Merge pull request #828 from aaronfranke/fix-constants 2022-09-04 20:39:16 +02:00
Aaron Franke 76ad89fe0b
Generate constants in the bindings generator 2022-09-02 21:32:38 -05:00
Rémi Verschelde 862d1f1fdd
Merge pull request #823 from Faless/fix/godot_namespace_requirement 2022-09-02 09:16:59 +02:00
Fabio Alessandrelli 02cdec2f91
Merge pull request #824 from clayjohn/updatea15
Update extension api to alpha 15
2022-09-01 22:07:09 +02:00
clayjohn f64c049f0c Update extension api to alpha 15 2022-09-01 11:24:31 -07:00
Rémi Verschelde 162705fbed
Merge pull request #822 from zhehangd/fix_basis 2022-09-01 09:36:55 +02:00
Fabio Alessandrelli bcf27d8af4 Ensure GDCLASS can be used outside the godot namespace.
The `GDCLASS` macro should not assume to be called inside the `godot`
namespace and should thus prefix function calls for that namespace with
`::godot::` to ensure proper namespace referencing.
2022-09-01 04:11:23 +02:00
Zhehang Ding 6d1073d867 Basis constructor: row vectors -> column vectors
https://github.com/godotengine/godot-proposals/issues/5295
2022-08-31 19:06:07 -07:00
Rémi Verschelde 1863bd88ad
Merge pull request #703 from AlphaSoftLLC/fix_struct_forward_declaration 2022-08-31 13:04:03 +02:00
Rémi Verschelde 24f97739a1
Merge pull request #816 from bruvzg/get_set_props 2022-08-23 21:38:16 +02:00
Rémi Verschelde 9220e9dd34 Relicense integration testing project under public domain/Unlicense
Fixes #813.
2022-08-22 18:20:11 +02:00