Bojidar Marinov
0cf9597758
Allow for getting/setting indexed properties of objects using get/set_indexed
...
Performance is around the same as using pure set() through GDScript.
2017-11-21 20:58:21 +02:00
Rémi Verschelde
1c2782a7c7
Merge pull request #12590 from poke1024/bsearch
...
Add bsearch and bsearch_custom to Array
2017-11-21 13:14:08 +01:00
Bastiaan Olij
1955fecb2d
Revert this change, we need to export symbols on the library side
2017-11-21 21:32:05 +11:00
poke1024
d6e54de502
Add bsearch and bsearch_custom to Array
2017-11-21 08:50:31 +01:00
Karroffel
5d666319e3
[GDNative] add a way to register call types
2017-11-20 14:49:22 +01:00
Karroffel
33ffdba553
[GDNative] removed godot_string_c_str
2017-11-20 11:10:05 +01:00
Karroffel
0865365e21
[GDNative] loading error and version error procs
2017-11-20 11:09:55 +01:00
Ferenc Arn
d28763a4c1
Rename Rect3 to AABB.
...
Fixes #12973 .
2017-11-17 11:01:41 -05:00
Thomas Herzog
bd2b1a62d9
Merge pull request #12586 from karroffel/gdnative-gdnlibrary-changes
...
[GDNative] use feature tags, added load once option
2017-11-14 15:34:07 +01:00
BastiaanOlij
9d3f8418ca
Removed add/remove interface bindings and added get_interfaces
2017-11-13 22:08:43 +11:00
Karroffel
79285b084d
[GDNative] rename nativearvr extension to arvr
2017-11-10 12:36:50 +01:00
Karroffel
7ae2de8997
[GDNative] better API struct versioning
2017-11-10 12:08:09 +01:00
Karroffel
a2e09a5d41
[GDNative] even more API fixes
2017-11-07 18:17:11 +01:00
Thomas Herzog
3cbcf5c2dd
Merge pull request #12612 from karroffel/gdnative-poolarray-accessors
...
[GDNative] added Read and Write accessors to pool arrays
2017-11-04 14:22:25 +01:00
Bastiaan Olij
25c38c7542
Merge pull request #12557 from BastiaanOlij/arvr_add_rumble_support
...
Adding rumble support to ARVR controllers
2017-11-04 08:57:25 +11:00
Karroffel
af5c6be074
[GDNative] added Read and Write accessors to pool arrays
2017-11-03 18:17:58 +01:00
Karroffel
8b11e17f70
[GDNative] small API bug fixes
2017-11-03 16:05:21 +01:00
Karroffel
d82942e1c5
[GDNative] removed anchors
2017-11-03 15:17:50 +01:00
Bastiaan Olij
167b7b5533
Adding rumble support to ARVR controllers (if implemented on the ARVR interface)
2017-11-01 23:59:14 +11:00
Ignacio Etcheverry
e218a13a64
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
...
- Make ScriptCreateDialog disable the built-in script checked button if the language does not support it.
- ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
2017-10-24 15:48:58 +02:00
scorched
3ba5ee42c3
Fix compilation on Visual Studio 2013 ( #10219 ).
2017-10-20 12:55:22 +02:00
Emmanuel Leblond
e715be0f0a
[GDnative] add pluginscript \o/
2017-10-17 10:50:13 +02:00
BastiaanOlij
c6ce73c680
Couple of small changes so our ARVRInterfaceGDNative gets constructed and registered automatically when a module loads
2017-10-15 12:56:36 +11:00
Karroffel
e0019453a2
update ARVRInterfaceGDNative to use API struct
2017-10-14 18:18:02 +02:00
Karroffel
e568f80e6e
[GDNative] removed native_raw_call
2017-10-14 15:50:55 +02:00
BastiaanOlij
cc37d43f86
Redoing the ARVR GDNative interface as module and tighter implementation
2017-10-14 09:10:18 +11:00
Emmanuel Leblond
d17951f57e
[GDnative] Add string_name api
2017-10-08 16:47:10 +02:00
Karroffel
2a4e2b5378
[GDNative] added API struct wrapper generator
...
Previously functions of the GDNative API were accessed by letting
the loader at load-time resolve the symbols. This causes troubles on
Windows (...sigh...), so now the GDNative API isn't exported anymore.
This means, that a library that wants to call a GDNative function
needs to access it via a struct of pointers that's passed to it at
right after the library was loaded. To make the usage easier, those
function pointers in the struct can be wrapped in actual function in
the global scope. This commit adds a generator for that wrapper code.
2017-10-03 23:26:39 +02:00
Emmanuel Leblond
cdc29926af
[GDnative] replace gdnative_api_struct.h by a json-based autogenerated system
2017-10-03 09:48:52 +02:00
Emmanuel Leblond
c55b8217ab
[GDnative] Add active_library_path to init options struct
2017-10-02 13:45:47 +02:00
Ruslan Mustakov
f5b3b24c22
Enhance iOS export
...
- The export process now builds complete .ipa on macOS, instead of just
creating XCode project.
- The project includes Capabilities games usually require: Game Center,
Push Notifications, In-App Purchase.
- Icons and launch screens can be specified in export preset.
2017-09-26 00:18:08 +07:00
Ross Hadden
1a97d6455d
Fixed a bunch of typos, including an error code.
2017-09-21 23:58:29 -04:00
Hein-Pieter van Braam
833c3917b2
Allow booleanization of all types
...
We now allow booleanization of all types. This means that empty versions
of all types now evaluate to false. So a Vector2(0,0), Dictionary(),
etc.
This allows you to write GDScript like:
if not Dictionary():
print("Empty dict")
Booleanization can now also no longer fail. There is no more valid flag,
this changes Variant and GDNative API.
2017-09-19 18:55:31 +02:00
Konstantin Zaitsev
28dc30cd59
Change structure order for godot nim compatibility
2017-09-19 11:35:51 +07:00
Emmanuel Leblond
8d57a3f3d5
[GDnative] Use X macro to define godot_gdnative_api_struct and it instantiation
2017-09-17 18:33:08 +02:00
Emmanuel Leblond
e4c9f8895e
[GDnative] create godot_gdnative_api_struct and pass it to godot_gdnative_init_options
2017-09-17 16:13:14 +02:00
mrawlingst
6aa5bc2347
Change Color.to_32() to to_rgba32() and format as RGBA
2017-09-07 16:19:44 -04:00
Karroffel
7878329e6f
merged gdnative and nativescript module
2017-09-03 15:28:43 +02:00