Commit Graph

377 Commits (73f1f90bf7b18a0719617cb616e5fe4698fdc2ba)

Author SHA1 Message Date
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 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
TerraAr 5e656923cf
Fixed operator
Fixed String::operator+=(const wchar_t). The problem was that a temporary variable don't have an address.
2020-08-14 23:32:38 -03:00
TerraAr a1ba843f36
Created operator.
Created String::operator+=(const wchar_t), that was mark as Todo.
2020-08-14 21:42:10 -03:00
Marc 36e0acb0d4
Merge pull request #297 from lupoDharkael/ignore
Update gitignore
2020-08-14 21:20:53 +01:00
Marc fe8f66eb76
Merge pull request #427 from Jummit/add-vector-move-toward
Add missing move_toward to Vector2 and Vector3
2020-08-14 21:10:48 +01:00
Bastiaan Olij cd69b58bb6
Merge pull request #433 from Zylann/fix_ref_in_object
Don't use Ref<T> in Object.hpp
2020-08-09 15:39:36 +10:00
Marc Gilleron 251062c9a5 Don't use Ref<T> in Object.hpp 2020-07-28 20:28:13 +01:00
Jummit 20fdc09c96 Add missing move_toward to Vector2 and Vector3 2020-07-15 17:05:54 +02:00
smeikx d808f04497 fix Android build command in README
Using `*-linux-android29-clang` results in errors, adding `++` fixes this.

Credits go to zhangshiqian1214:
https://github.com/godotengine/godot-cpp/issues/372#issuecomment-596079055
2020-06-30 22:27:13 +02:00
Duncan Sparks 3b16f34d89
Add option for template get_node 2020-06-17 15:34:49 -07:00
Duncan Sparks 5c96e5ede5
Fix alloca.h error in Defs.h 2020-06-17 15:24:08 -07:00
Marc 9eceb16f05
Merge pull request #304 from raymoo/patch-1
Allow registering base class methods for derived classes
2020-06-11 18:58:15 +01:00
raymoo 6f8d3d2c2a Allow registering base class methods for derived classes
Adds register_class_method, a variant of register_method where the user can
specify a derived class to register the method for.
2020-06-10 22:09:05 -05:00
Bastiaan Olij 2bb3a7e19c
Merge pull request #412 from Zylann/direction_to
Add missing Vector3::direction_to() and Vector2::direction_to()
2020-06-09 17:24:04 +10:00
Marc ceae5be727
Merge pull request #356 from sheepandshepherd/variantleak2
Add C conversion constructors and fix new leak
2020-06-05 21:16:37 +01:00
Marc Gilleron 78f5496f4b Add missing Vector3::direction_to() and Vector2::direction_to() 2020-06-05 19:07:56 +01:00
Marc 8a797e2c09
Merge pull request #408 from Zylann/custom_ref_rework
Rework the way custom class instances are created from C++
2020-06-05 18:54:14 +01:00
Marc Gilleron db941344e3 Fix default value of `bits` misnaming resulting library 2020-06-02 19:44:56 +01:00
Marc Gilleron 09c8bf94df Rework the way custom class instances are created from C++ 2020-06-02 19:33:56 +01:00
Rémi Verschelde eacffba9f5
Merge pull request #410 from akien-mga/travis-window-scons-3.1.2
Travis: Use SCons 3.1.2 on Windows
2020-06-02 15:59:04 +02:00