summaryrefslogtreecommitdiff
path: root/modules/gdnative/include
AgeCommit message (Collapse)Author
2020-02-15Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr.Juan Linietsky
2020-02-13Merge pull request #36163 from akien-mga/gdnative-godot_int-int64_tRémi Verschelde
GDNative: Make godot_int an int64_t
2020-02-13Remove deprecated sync and slave networking keywordsRémi Verschelde
Those keywords were deprecated for 3.1 in #22087. Also fix token name for `TK_REMOTE`, should be "remote" like the keyword.
2020-02-12GDNative: Make godot_int an int64_tRémi Verschelde
Redo of the change in cf8c679a23b21d6c6f29cba6a54eaa2eed88bf92 that caused a build issue, with the extra change needed to 'godot_arvr_blit'.
2020-02-12Fix Mono and GDNative builds after changes to ObjectIDRémi Verschelde
Issues caused by cf8c679a23b21d6c6f29cba6a54eaa2eed88bf92. The Mono change is actually a bugfix (used the int instead of ObjectID by mistake). The GDNative change is a temporary revert until a more exhaustive approach is taken to make 'godot_int' 64-bit, is confirmed wanted by GDNative users.
2020-02-12ObjectID converted to a structure, fixes many bugs where used incorrectly as ↵Juan Linietsky
32 bits.
2020-02-12Remove deprecated Color::grayHanif Bin Ariffin
It was marked to be removed in Godot 3.1. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-02-10Merge pull request #35812 from ↵Rémi Verschelde
touilleMan/gdnative-uses-godot_string_name-where-possible Use StringName in pluginscript's set/get_prop and add_global_constant
2020-02-01Use StringName in pluginscript's set/get_prop and add_global_constantEmmanuel Leblond
2020-02-01Remove useless pluginscript godot_pluginscript_script_desc.get_rpc/rset_mode ↵Emmanuel Leblond
fields
2020-01-10Expose instance_from_id to GDNativetoasteater
This function is available to GDScript but not to GDNative. When exposed, it allows building more ergonomic safe abstractions over the GDNative APIs, and covers the use cases of the original PR. Close #28478. Supersedes #28791. Co-authored-by: Markus Ewald <cygon@nuclex.org>
2020-01-03Expose cast_to to GDNative for dynamic castssheepandshepherd
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-10-31Added empty() function to pool array typesPouleyKetchoupp
2019-10-28Fix some crashes and using null pointersRafał Mikrut
2019-09-23Merge pull request #31172 from creikey/add-array-slicingRémi Verschelde
Add array slice method
2019-09-19Fix misc. source comment typosluz.paz
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-14Add array slice methodCameron Reikes
2019-07-26Merge pull request #30788 from Chaosus/direction_to_gdnativeRémi Verschelde
Added Vector2/3.direction_to methods to GDNative
2019-07-25Inspector: Fix PROPERTY_HINT_SPRITE_FRAME not behaving as RANGERémi Verschelde
This was a regression in 3.1 and later from the new inspector, where PROPERTY_HINT_SPRITE_FRAME was not fully re-implemented. It's meant to be a normal PROPERTY_HINT_RANGE which also automatically increments its value when keyed in the animation player. To avoid code duplication, I made the frames properties use the actual PROPERTY_HINT_RANGE and introduced a PROPERTY_USAGE_KEYING_INCREMENTS usage flag instead.
2019-07-24Added direction_to to GDNativeChaosus
2019-07-23Added count method to StringChaosus
2019-06-27Properly expose all Error constants to scripting languagesRémi Verschelde
2019-06-16Merge pull request #29325 from m4gr3d/setup_godot_for_ovr_supportRémi Verschelde
Setup Godot to support the Oculus Mobile SDK.
2019-06-15Adding a new Camera Server implementation to Godot.BastiaanOlij
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server. Other parts of Godot can interact with this to obtain images from the camera as textures. This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
2019-06-03Merge pull request #28099 from lupoDharkael/fix-completionRémi Verschelde
Fix code completion not working with class_name
2019-05-30Setup Godot to support the Oculus Mobile SDK.fhuya
2019-05-28Added move_toward functions for float, Vector2 and Vector3Giacom
2019-05-23Merge pull request #28738 from 2shady4u/masterRémi Verschelde
Added native binding for dictionary duplication
2019-05-23Added native binding for dictionary duplicationshaderbeast
Added entry in gdnative_api.json Added function to header as well Fixed versioning
2019-05-16WebRTC refactor. Data channels, STUN/TURN support.Fabio Alessandrelli
A big refactor to the WebRTC module. API is now considered quite stable. Highlights: - Renamed `WebRTCPeer` to `WebRTCPeerConnection`. - `WebRTCPeerConnection` no longer act as `PacketPeer`, it only handle the connection itself (a bit like `TCP_Server`) - Added new `WebRTCDataChannel` class which inherits from `PacketPeer` to handle data transfer. - Add `WebRTCPeerConnection.initialize` method to create a new connection with the desired configuration provided as dictionary ([see MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection#RTCConfiguration_dictionary)). - Add `WebRTCPeerConnection.create_data_channel` method to create a data channel for the given connection. The connection must be in `STATE_NEW` as specified by the standard ([see MDN docs for options](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createDataChannel#RTCDataChannelInit_dictionary)). - Add a `data_channel_received` signal to `WebRTCPeerConnection` for in-band (not negotiated) channels. - Renamed `WebRTCPeerConnection` `offer_created` signal to `session_description_created`. - Renamed `WebRTCPeerConnection` `new_ice_candidate` signal to `ice_candidate_created`
2019-04-30Forgot a parameter in the ARVR gdnative bindings for notificationsBastiaan Olij
2019-04-27Send notifications to ARVRInterfacesBastiaan Olij
2019-04-16Fix code completion not working with class_namelupoDharkael
2019-04-12Add WebRTC GDNative interfaceFabio Alessandrelli
2019-04-06Add option to have viewport render into supplied textureBastiaan Olij
2019-02-24Fixing C compatiblity for GDNative NET moduleFabio Alessandrelli
Also add net interfaces to gdnative_api.json
2019-02-21added godot_dictionary_get_with_default to GDNativekarroffel
Recently, Dictionary::get() was introduced, which acts like a index operator but allows the caller to specify a default value to return instead of issuing an error. This commit adds a new GDNative function that includes the default value.
2019-02-12Fix copyright year in VideoStreamGDNativeRémi Verschelde
2019-01-09Merge pull request #20552 from KidRigger/gsoc-peerRémi Verschelde
Added interface for GDNative Videodecoder.
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-16Reduce String CoWHein-Pieter van Braam
By introducing an intermediate proxy class for the array subscript operator for String and CharString we can control better when CowData will actually CoW. This should improve performance of String usage for most cases.
2018-12-13Added interface for GDNative Videodecoder.Anish
Interface and callback api added for Videodecoder support. Should be able to construct any format videodecoder using only the given interface. GSoC 2018 project.
2018-10-26Update GDNantive APIlupoDharkael
Add missing Rect2 methods to GDNative API Add missing Quat methods to GDNative API Add missing NodePath methods to GDNative API Add missing String methods to GDNative API Add missing Array methods to GDNative API Add missing Basis methods to GDNative API Add missing Color methods to GDNative API Update gdnative_api.json
2018-10-03Fix GDNative build warning on Android [-Wignored-attributes]Rémi Verschelde
Fixes the following kind of warning spam: ``` modules/gdnative/include/gdnative/color.h:61:6: warning: calling convention 'sysv_abi' ignored for this target [-Wignored-attributes] void GDAPI godot_color_new_rgba(godot_color *r_dest, const godot_real p_r, const godot_real p_g, const godot_real p_b, const godot_real p_a); ^ modules/gdnative/include/gdnative/gdnative.h:52:15: note: expanded from macro 'GDAPI' ^ modules/gdnative/include/gdnative/gdnative.h:51:38: note: expanded from macro 'GDCALLINGCONV' ^ ```
2018-09-15Clearly deprecate sync too in favor of remotesync.Fabio Alessandrelli
NOTE: This changes the RPC_MODE_* enum values. Games should be re-exported. GDNative rebuilt.
2018-09-15Rename slave keyword to puppetFabio Alessandrelli
The slave keyword will still be available as deprecated in 3.1 but will be dropped from future releases.
2018-09-13[GDNative] add Variant::OperatorThomas Herzog
2018-08-30[NativeScript] implement refcount instance binding funcsThomas Herzog
2018-08-30[GDNative] add initial core 1.1 extensionThomas Herzog