Commit Graph

1284 Commits (e9d1f8b1340db038fdfde6470a233a1aec4e0149)

Author SHA1 Message Date
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
Rémi Verschelde 5f9c306e7c Travis: Use SCons 3.1.2 on Windows 2020-06-02 15:39:37 +02:00
Rémi Verschelde 1dc8feaeee
Merge pull request #409 from akien-mga/travis-clang-format-8
Travis: Use clang-format 8.0, update script
2020-06-02 15:03:19 +02:00
Rémi Verschelde eedda8beec Travis: Use clang-format 8.0, update script
Cf. https://github.com/godotengine/godot/pull/36350
2020-06-02 14:39:07 +02:00
Bastiaan Olij 165f1f30e8
Merge pull request #383 from Zylann/fix_alloca
Fix alloca() not being included on some platforms
2020-06-02 20:53:42 +10:00
Bastiaan Olij e2a5fdee3b
Merge pull request #406 from Zylann/color_operators
Added missing Color operators
2020-06-02 20:31:24 +10:00
Marc Gilleron 0f4ea6cc35 Added missing Color operators 2020-05-29 20:38:14 +01:00
Bastiaan Olij e97e866483
Merge pull request #393 from Calinou/improve-readme
Improve README
2020-04-18 18:55:08 +10:00
Bastiaan Olij 9ccbb809ff
Merge pull request #395 from m4gr3d/patch-1
Fix godot-cpp types registration
2020-04-17 14:31:48 +10:00
Fredia Huya-Kouadio 3747ffe871 Fix godot-cpp types registration
A initialization bug was causing the registration to occur prior to a key required field being set (see https://github.com/GodotNativeTools/godot-cpp/issues/394#issuecomment-613636985 for more details).

Fixes #394
2020-04-14 13:51:02 -07:00
Hugo Locurcio 66521bb416 Improve README
This improves the writing style and adds more information about
compiling for each platform.

This also adds an explicit mention that HTML5 and iOS don't support
GDNative yet.
2020-04-10 10:44:16 +02:00
Marc Gilleron 9e37b873af Fix alloca() not being included on some platforms 2020-03-31 19:16:45 +01:00
Bastiaan Olij c2f765e49c
Merge pull request #363 from sheepandshepherd/cpp_rules
Mention rules for using Godot classes in the readme
2020-03-19 21:37:27 +11:00
Mika Pi 2559c70e27 Fix compilation warnings about unused vars 2020-02-23 07:40:54 -08:00
NHodgesVFX 82476108ba Fix Style Issues 2020-02-06 18:44:50 -05:00
NHodgesVFX a2e6f7a5ef Fix Vector's Bounce Reflect
Fixes Vector 2 and 3 bounce and reflect methods to match gdscript

Co-Authored-By: Bruno Campos <brunocu@msn.com>

Move calculation to reflect

fix commit

squash

fix style
2020-02-06 18:38:39 -05:00
sheepandshepherd 66c671b59d Add C conversion constructors to fix leak of default-constructed empty arrays 2020-01-31 00:08:02 +01:00
Bastiaan Olij aba8766618 Updated godot_headers to 3.2 and updated license text 2020-01-30 21:14:43 +11:00
Bastiaan Olij 45e6801016
Merge pull request #353 from bruvzg/ios_support
Add iOS build support - couldn't test this but trust you @bruvzg  ;) 
@piiertho please do add CI support for this!
2020-01-30 21:00:46 +11:00
Bastiaan Olij 3861ff3018
Merge pull request #360 from ducklin5/master
windows use_mingw build fix
2020-01-30 20:54:23 +11:00
Bastiaan Olij 9a08d1bb40
Merge pull request #362 from 2shady4u/Vector2D-GDNative-add-functionalities
Added bounce to vector2.hpp - thanks!
2020-01-30 20:52:15 +11:00
Rémi Verschelde 81783c6045
Merge pull request #333 from sheepandshepherd/string-plus-leak
Fix String::operator+ memory leak
2020-01-19 23:35:06 +01:00
sheepandshepherd 65295d6c44 Mention rules for using Godot classes in the readme 2019-12-29 22:34:13 +01:00
2shady4u 9e573b6947 Added bounce to vector2.hpp 2019-12-27 14:28:42 +01:00
Rémi Verschelde 7cbb846417
Merge pull request #339 from Faless/fix/macro_namespace
Add godot namespace to references in Defs macros.
2019-12-17 11:58:22 +01:00
Azeez Abass e8488656e5 windows use_mingw build fix 2019-12-15 15:13:19 -07:00
Rémi Verschelde 3ee07f652b
Merge pull request #355 from sheepandshepherd/variantleak
Fix leaks caused by implicitly-called copy constructors
2019-12-04 11:21:17 +01:00
sheepandshepherd 95feb486c9 Fix leaks caused by implicitly called copy constructors 2019-12-04 03:27:39 +01:00
bruvzg f314b47843
Add iOS build support. 2019-11-26 21:26:06 +02:00
Fabio Alessandrelli 91e9262210 Add godot namespace to references in Defs macros.
Was causing failed builds when used outside of the godot namespace.
2019-10-24 13:52:23 +02:00
sheepandshepherd 9560cbff09 Fix String::operator+ memory leak 2019-10-05 01:14:23 +02:00
Bastiaan Olij 123d9f0e92
Merge pull request #328 from TGRCdev/gdnative-android
Godot-cpp compile for Android
2019-09-22 09:33:11 +10:00
Bastiaan Olij 3352abf79e
Merge pull request #327 from BastiaanOlij/move_register
Call register types and init earlier
2019-09-19 17:56:13 +10:00
TGRCDev 7482074779 Android compile fixed for Windows 2019-09-18 11:01:54 -07:00
Jayanth-L 77cde5bb3a Add android support, Update README.md
Compiles and runs fine on Android platform
2019-09-18 10:44:46 -07:00
Bastiaan Olij 8443486a19 Call register types and init earlier 2019-09-14 11:24:15 +10:00
Bastiaan Olij 93df07289c Updated godot_headers to latest commit 4fa11f8c2a8029df7d6f30904297afcb42c4906c 2019-09-14 11:12:27 +10:00
Bastiaan Olij d0a4ddfd9f
Merge pull request #321 from BastiaanOlij/add_new_structs
Store all main entry points to the currently available APIs
2019-09-14 11:08:11 +10:00
Bastiaan Olij fc1fe720c3 Store all main entry points to the currently available APIs 2019-08-12 19:55:29 +10:00
Thomas Herzog c2ec46f64a
Merge pull request #296 from lupoDharkael/missing
Add missing class methods
2019-08-05 10:39:56 +02:00
lupoDharkael b895d3c326 Add missing class methods 2019-08-05 00:23:42 +02:00
Bastiaan Olij cdd50260d0
Merge pull request #295 from silverkorn/master
Add MSYS/MinGW compiling support on Windows
2019-06-16 16:38:31 +10:00
Bastiaan Olij 659a19b9a4 Updated to godot_headers 20190615 2019-06-15 20:33:57 +10:00
Bastiaan Olij 743100b401
Merge pull request #294 from aqnuep/error_msg
Error message improvements
2019-06-15 20:18:45 +10:00
Thomas Herzog 5bdcecfc20
Merge pull request #289 from 2shady4u/master
Fixed wrong implementation of Quat multiplication
2019-06-04 08:01:12 +02:00