Commit Graph

1297 Commits (23c010900c9a09c5c99bfbb0d465cd468aa74b6c)

Author SHA1 Message Date
Marc 1aab5e3962
Merge branch 'master' into master 2021-01-31 19:32:56 +00:00
Marc 35f78dea51
Merge pull request #486 from Calinou/switch-to-github-actions
Switch from Travis CI to GitHub Actions
2021-01-31 19:12:25 +00:00
Marc Gilleron fb71edd45b Fix container and string leaks
Some functions return a new instance of such containers,
but instead we made a copy of them, without taking ownership of the
original created by the function.
Now we use a specific constructor taking ownership on the godot_* struct.
2021-01-07 01:05:12 +00:00
Hugo Locurcio e0a129d572
Merge pull request #489 from o01eg/update-headers-3.2.3
Update godot_headers to the latest version
2020-12-28 16:46:38 +01:00
O01eg d20fcb6098
Update headers commit 2020-12-28 11:30:06 +03:00
Hugo Locurcio 610c42f219
Switch from Travis CI to GitHub Actions
GitHub Actions should be significantly faster than Travis CI.
2020-12-23 22:34:40 +01:00
Colugo 38c9b624db Fix constness of Array::find, Array::find_last and Array::rfind 2020-12-20 16:53:40 +00:00
Hugo Locurcio 01c003dfed
Merge pull request #484 from Jummit/patch-1
Remove semicolons from GDScript example
2020-12-19 21:28:22 +01:00
Jummit ecf0948f35
Remove semicolons from GDScript example 2020-12-19 18:40:15 +01:00
Marc Gilleron 8e1cc29c66 Added missing constants to Vector2, Vector3, Basis and Quat 2020-12-08 23:35:17 +00:00
Marc Gilleron 2893c883f8 Use safer casts in Ref<T> 2020-12-08 22:10:59 +00:00
Marc Gilleron deddacd6f7 Fix some Math warnings 2020-12-08 20:47:42 +00:00
Marc 43828ebb39
Merge pull request #459 from Silver1063/master
Added some missing Vector3 functions and Fixed Vector3 slide
2020-12-08 20:00:06 +00:00
Marc 1ec4526c1d
Merge pull request #454 from Zylann/remove_godot_subclass
Remove the need to use GODOT_SUBCLASS
2020-12-08 19:36:44 +00:00
Colugo 78547869ee Add macos_deployment_target SConstruct option. 2020-12-03 20:30:59 +00:00
Silver1063 96ae052e06 Added missing Vector3 slerp and Vector3 project
Vector3 slerp and Vector3 project were missing from godot cpp so I added them.
2020-10-11 17:31:23 -07:00
Silver1063 a733457285 Update Vector3 slide to match godot implementation
It wasn't the same before and resulted in weird behavior, its better now.
2020-10-11 15:47:01 -07:00
Manuel Riecke 2989a385d7 GENERATE_TEMPLATE_GET_NODE option for CMake 2020-09-20 12:18:42 +02:00
Manuel Riecke 73f1f90bf7 Fix godot-cpp not compiling because of -Wlong-long 2020-09-19 13:42:00 +02:00
Manuel Riecke 2007e6f81e Fix CMake failing to generate the bindings.
A new parameter was added to the binding_generator python file,
but the CMake file was not adjusted.
2020-09-19 13:42:00 +02:00
Marc Gilleron 67976ee47d Remove the need to use GODOT_SUBCLASS 2020-09-12 17:38:46 +01:00
Marc c9a740be34
Merge pull request #451 from Zylann/math
Added Godot's math functions
2020-09-08 19:31:54 +01:00
Marc 7fd60d4c66
Merge pull request #452 from Zylann/no_debug_symbols
Don't generate debugging symbols in release builds
2020-09-05 01:53:55 +01:00
Marc Gilleron c02747d909 Don't generate debugging symbols in release builds 2020-09-05 00:06:51 +01:00
Marc Gilleron 0d1511695d Added Godot's math functions 2020-09-04 02:14:45 +01:00
Marc 94efdc4073
Merge pull request #436 from m4gr3d/arcore_support
Additions to the library to support the ARCore plugin
2020-08-31 15:05:51 +01:00
Marc e5334579db
Merge branch 'master' into arcore_support 2020-08-31 15:05:09 +01:00
Marc d53b294f5b
Merge pull request #450 from proxemy/master
Bugfix. Project generation now respects the given 'headers_dir' start…
2020-08-30 22:47:49 +01:00
Marc 3f72f5a842
Merge pull request #447 from Zylann/rename_rid_get_id
Rename `RID::get_rid()` => `get_id()` to match Godot
2020-08-30 22:45:17 +01:00
Marc fd281da1cf
Merge pull request #382 from Zylann/fix_sconstruct_default_bits
Fix default value of `bits` misnaming resulting library
2020-08-30 22:33:45 +01:00
proxemy f71ccdfbcb Bugfix. Project generation now respects the given 'headers_dir' start parameter. 2020-08-27 19:46:03 +02:00
Fredia Huya-Kouadio 31b0ca80d5 Additions to the library to support the ARCore plugin 2020-08-23 14:11:47 -07:00
Marc ca800d63c8
Merge pull request #371 from NHodgesVFX/VectorBounceReflectFix
Fix Vector's Bounce Reflect
2020-08-23 22:04:31 +01:00
Marc Gilleron 469e9da86c Rename `RID::get_rid()` => `get_id()` to match Godot 2020-08-23 21:32:05 +01:00
Marc 824f4ef481
Merge pull request #416 from DuncanSparks/template_get_node
Add option to generate template version of Node::get_node
2020-08-23 20:28:44 +01:00
Duncan Sparks a2ebc8bbec
Update binding_generator.py 2020-08-23 10:30:27 -07:00
Duncan Sparks 6bca96ed42
Change default parameter to "yes" 2020-08-23 09:02:12 -07:00
Duncan Sparks bd72bd4d68
Fix redundant check in binding_generator.py 2020-08-23 09:01:23 -07:00
Marc 6c2e94710a
Merge pull request #420 from smeikx/fix-android-build
fix Android build command in README
2020-08-23 16:15:42 +01:00
Marc 0afb66c11a
Merge branch 'master' into fix-android-build 2020-08-23 16:14:16 +01:00
Marc 98839e1050
Merge pull request #445 from Zylann/fix_os_suffix
Replace ".os" with ".o" because it is "Object files" on Linux
2020-08-23 15:14:06 +01:00
Marc Gilleron 63066f2570 Replace ".os" with ".o" because it is "Object files" on Linux 2020-08-23 15:11:57 +01:00
Marc 19fa40591b
Merge pull request #365 from sheepandshepherd/class_ptr
Fix `cast_to` for non-exposed engine types
2020-08-16 23:30:52 +01:00
sheepandshepherd 33f9de16e4 Use godot_object_cast_to instead of TagDB to cast engine types 2020-08-17 00:05:57 +02:00
Duncan Sparks 2b14529de6
Merge branch 'master' into template_get_node 2020-08-16 14:50:32 -07:00
Marc 16000199c5
Merge pull request #415 from DuncanSparks/alloca_fix
Fix alloca.h error in Defs.h
2020-08-16 20:16:36 +01:00
Marc a3fe496ad6
Merge pull request #441 from TerraAr/master
Create an operator
2020-08-16 17:36:49 +01:00
TerraAr 7d347edb12
Updated operator
I've updated the operator that I had created to use the private constructor of the class.
2020-08-15 15:10:16 -03:00
Marc 756c1e1c79
Merge pull request #307 from aqnuep/string_memory_leak_fix
Fixed memory leak with String objects
2020-08-15 17:57:02 +01:00
Daniel Rakos 0939d0f6d1 Fixed memory leak with String objects
The member _godot_string should never be straight out overwritten ever without
first destroying the underlying string object's memory. This change solves the
problem through the introduction of a new private constructor to create String
objects with a pre-existing godot_string handle.
2020-08-15 09:46:23 +02:00