diff --git a/SConstruct b/SConstruct index 8689238b..bc1a3c0e 100644 --- a/SConstruct +++ b/SConstruct @@ -24,6 +24,7 @@ result_name = ARGUMENTS.get('n', ARGUMENTS.get('name', os.path.relpath('.', '..' if target_platform == 'linux': result_name += '.linux.' + target_arch + env['CXX']='g++' if ARGUMENTS.get('use_llvm', 'no') == 'yes': env['CXX'] = 'clang++' @@ -86,10 +87,13 @@ env.Append(CPPPATH=['.', godot_headers, 'include', 'include/gen', 'include/core' # Generate bindings? json_api_file = '' +# Generate bindings? +json_api_file = '' + if ARGUMENTS.get('use_custom_api_file', 'no') == 'yes': json_api_file = ARGUMENTS.get('custom_api_file', '') else: - json_api_file = os.path.join(os.getcwd(), 'godot_api.json') + json_api_file = os.path.join(os.getcwd(), 'godot_headers', 'api.json') if ARGUMENTS.get('generate_bindings', 'no') == 'yes': # actually create the bindings here @@ -98,6 +102,8 @@ if ARGUMENTS.get('generate_bindings', 'no') == 'yes': binding_generator.generate_bindings(json_api_file) + +# source to compile sources = [] add_sources(sources, 'src/core', 'cpp') add_sources(sources, 'src/gen', 'cpp') diff --git a/include/gen/ARVRAnchor.hpp b/include/gen/ARVRAnchor.hpp index 3cb8845b..b2ecbc22 100644 --- a/include/gen/ARVRAnchor.hpp +++ b/include/gen/ARVRAnchor.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/ARVRCamera.hpp b/include/gen/ARVRCamera.hpp index 5226828a..2a0b85b7 100644 --- a/include/gen/ARVRCamera.hpp +++ b/include/gen/ARVRCamera.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Camera.hpp" namespace godot { diff --git a/include/gen/ARVRController.hpp b/include/gen/ARVRController.hpp index ee5e4637..16a6f946 100644 --- a/include/gen/ARVRController.hpp +++ b/include/gen/ARVRController.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "ARVRPositionalTracker.hpp" -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/ARVRInterface.hpp b/include/gen/ARVRInterface.hpp index 55e66eee..2a0dd84d 100644 --- a/include/gen/ARVRInterface.hpp +++ b/include/gen/ARVRInterface.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "ARVRInterface.hpp" -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/ARVRInterfaceGDNative.hpp b/include/gen/ARVRInterfaceGDNative.hpp index 5367b462..664e4909 100644 --- a/include/gen/ARVRInterfaceGDNative.hpp +++ b/include/gen/ARVRInterfaceGDNative.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "ARVRInterface.hpp" namespace godot { diff --git a/include/gen/ARVROrigin.hpp b/include/gen/ARVROrigin.hpp index 0f0562d1..d4900c4d 100644 --- a/include/gen/ARVROrigin.hpp +++ b/include/gen/ARVROrigin.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/ARVRPositionalTracker.hpp b/include/gen/ARVRPositionalTracker.hpp index f63c3dfa..e378ceb4 100644 --- a/include/gen/ARVRPositionalTracker.hpp +++ b/include/gen/ARVRPositionalTracker.hpp @@ -7,10 +7,10 @@ #include #include -#include -#include +#include "ARVRServer.hpp" +#include "ARVRPositionalTracker.hpp" -#include +#include "Object.hpp" namespace godot { diff --git a/include/gen/ARVRServer.hpp b/include/gen/ARVRServer.hpp index 42f40848..ef56fadc 100644 --- a/include/gen/ARVRServer.hpp +++ b/include/gen/ARVRServer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class ARVRInterface; diff --git a/include/gen/AStar.hpp b/include/gen/AStar.hpp index 13b41ee1..e7172d8d 100644 --- a/include/gen/AStar.hpp +++ b/include/gen/AStar.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/AcceptDialog.hpp b/include/gen/AcceptDialog.hpp index 1ac6f2f5..8831210e 100644 --- a/include/gen/AcceptDialog.hpp +++ b/include/gen/AcceptDialog.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "WindowDialog.hpp" namespace godot { class Button; diff --git a/include/gen/AnimatedSprite.hpp b/include/gen/AnimatedSprite.hpp index 832fc6d4..efa36421 100644 --- a/include/gen/AnimatedSprite.hpp +++ b/include/gen/AnimatedSprite.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { class SpriteFrames; @@ -48,6 +48,8 @@ public: bool is_flipped_v() const; void set_frame(const int64_t frame); int64_t get_frame() const; + void set_speed_scale(const double speed_scale); + double get_speed_scale() const; void _res_changed(); }; diff --git a/include/gen/AnimatedSprite3D.hpp b/include/gen/AnimatedSprite3D.hpp index 4644fe75..c9559c93 100644 --- a/include/gen/AnimatedSprite3D.hpp +++ b/include/gen/AnimatedSprite3D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "SpriteBase3D.hpp" namespace godot { class SpriteFrames; diff --git a/include/gen/Animation.hpp b/include/gen/Animation.hpp index 7dc0b75b..f05a6355 100644 --- a/include/gen/Animation.hpp +++ b/include/gen/Animation.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Animation.hpp" -#include +#include "Resource.hpp" namespace godot { class Animation; diff --git a/include/gen/AnimationPlayer.hpp b/include/gen/AnimationPlayer.hpp index ff538577..4a8d3988 100644 --- a/include/gen/AnimationPlayer.hpp +++ b/include/gen/AnimationPlayer.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "AnimationPlayer.hpp" -#include +#include "Node.hpp" namespace godot { class Object; @@ -63,6 +63,7 @@ public: bool is_active() const; void set_speed_scale(const double speed); double get_speed_scale() const; + double get_playing_speed() const; void set_autoplay(const String name); String get_autoplay() const; void set_root(const NodePath path); diff --git a/include/gen/AnimationTreePlayer.hpp b/include/gen/AnimationTreePlayer.hpp index 7f047407..7c30b753 100644 --- a/include/gen/AnimationTreePlayer.hpp +++ b/include/gen/AnimationTreePlayer.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "AnimationTreePlayer.hpp" -#include +#include "Node.hpp" namespace godot { class Animation; diff --git a/include/gen/Area.hpp b/include/gen/Area.hpp index f039a3d6..77512725 100644 --- a/include/gen/Area.hpp +++ b/include/gen/Area.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Area.hpp" -#include +#include "CollisionObject.hpp" namespace godot { class Object; diff --git a/include/gen/Area2D.hpp b/include/gen/Area2D.hpp index 75717989..9d3d2f1d 100644 --- a/include/gen/Area2D.hpp +++ b/include/gen/Area2D.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Area2D.hpp" -#include +#include "CollisionObject2D.hpp" namespace godot { class Object; diff --git a/include/gen/ArrayMesh.hpp b/include/gen/ArrayMesh.hpp index bf3f410e..009b41f3 100644 --- a/include/gen/ArrayMesh.hpp +++ b/include/gen/ArrayMesh.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Mesh.hpp" -#include +#include "Mesh.hpp" namespace godot { class Material; diff --git a/include/gen/AtlasTexture.hpp b/include/gen/AtlasTexture.hpp index bbbaa915..c1102df5 100644 --- a/include/gen/AtlasTexture.hpp +++ b/include/gen/AtlasTexture.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Texture.hpp" namespace godot { class Texture; diff --git a/include/gen/AudioBusLayout.hpp b/include/gen/AudioBusLayout.hpp index 4a17293a..8c590e74 100644 --- a/include/gen/AudioBusLayout.hpp +++ b/include/gen/AudioBusLayout.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/AudioEffect.hpp b/include/gen/AudioEffect.hpp index ec44d225..a3b26f6d 100644 --- a/include/gen/AudioEffect.hpp +++ b/include/gen/AudioEffect.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/AudioEffectAmplify.hpp b/include/gen/AudioEffectAmplify.hpp index 6a723b4d..eb5cd8cf 100644 --- a/include/gen/AudioEffectAmplify.hpp +++ b/include/gen/AudioEffectAmplify.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioEffectBandLimitFilter.hpp b/include/gen/AudioEffectBandLimitFilter.hpp index 59cbf763..9fa4bcef 100644 --- a/include/gen/AudioEffectBandLimitFilter.hpp +++ b/include/gen/AudioEffectBandLimitFilter.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffectFilter.hpp" namespace godot { diff --git a/include/gen/AudioEffectBandPassFilter.hpp b/include/gen/AudioEffectBandPassFilter.hpp index 9783c9e1..3b466a59 100644 --- a/include/gen/AudioEffectBandPassFilter.hpp +++ b/include/gen/AudioEffectBandPassFilter.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffectFilter.hpp" namespace godot { diff --git a/include/gen/AudioEffectChorus.hpp b/include/gen/AudioEffectChorus.hpp index 4557e829..171c62c8 100644 --- a/include/gen/AudioEffectChorus.hpp +++ b/include/gen/AudioEffectChorus.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioEffectCompressor.hpp b/include/gen/AudioEffectCompressor.hpp index 4a817507..f8030db0 100644 --- a/include/gen/AudioEffectCompressor.hpp +++ b/include/gen/AudioEffectCompressor.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioEffectDelay.hpp b/include/gen/AudioEffectDelay.hpp index 2cdf93f0..320640dc 100644 --- a/include/gen/AudioEffectDelay.hpp +++ b/include/gen/AudioEffectDelay.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioEffectDistortion.hpp b/include/gen/AudioEffectDistortion.hpp index 1c7411bc..c9ce6b92 100644 --- a/include/gen/AudioEffectDistortion.hpp +++ b/include/gen/AudioEffectDistortion.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "AudioEffectDistortion.hpp" -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioEffectEQ.hpp b/include/gen/AudioEffectEQ.hpp index aace26e7..0feb3ea5 100644 --- a/include/gen/AudioEffectEQ.hpp +++ b/include/gen/AudioEffectEQ.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioEffectEQ10.hpp b/include/gen/AudioEffectEQ10.hpp index 9d2294a7..a52bd2d5 100644 --- a/include/gen/AudioEffectEQ10.hpp +++ b/include/gen/AudioEffectEQ10.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffectEQ.hpp" namespace godot { diff --git a/include/gen/AudioEffectEQ21.hpp b/include/gen/AudioEffectEQ21.hpp index 1fdf9bd6..3332bb6a 100644 --- a/include/gen/AudioEffectEQ21.hpp +++ b/include/gen/AudioEffectEQ21.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffectEQ.hpp" namespace godot { diff --git a/include/gen/AudioEffectEQ6.hpp b/include/gen/AudioEffectEQ6.hpp index 26df2bd7..d2c5d62e 100644 --- a/include/gen/AudioEffectEQ6.hpp +++ b/include/gen/AudioEffectEQ6.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffectEQ.hpp" namespace godot { diff --git a/include/gen/AudioEffectFilter.hpp b/include/gen/AudioEffectFilter.hpp index 639c5a06..ee106d1f 100644 --- a/include/gen/AudioEffectFilter.hpp +++ b/include/gen/AudioEffectFilter.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "AudioEffectFilter.hpp" -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioEffectHighPassFilter.hpp b/include/gen/AudioEffectHighPassFilter.hpp index c0ee7178..1a907c5c 100644 --- a/include/gen/AudioEffectHighPassFilter.hpp +++ b/include/gen/AudioEffectHighPassFilter.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffectFilter.hpp" namespace godot { diff --git a/include/gen/AudioEffectHighShelfFilter.hpp b/include/gen/AudioEffectHighShelfFilter.hpp index e0612f98..f8543418 100644 --- a/include/gen/AudioEffectHighShelfFilter.hpp +++ b/include/gen/AudioEffectHighShelfFilter.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffectFilter.hpp" namespace godot { diff --git a/include/gen/AudioEffectLimiter.hpp b/include/gen/AudioEffectLimiter.hpp index 5ae482ad..8df9990c 100644 --- a/include/gen/AudioEffectLimiter.hpp +++ b/include/gen/AudioEffectLimiter.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioEffectLowPassFilter.hpp b/include/gen/AudioEffectLowPassFilter.hpp index fc6e165c..a1b821a6 100644 --- a/include/gen/AudioEffectLowPassFilter.hpp +++ b/include/gen/AudioEffectLowPassFilter.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffectFilter.hpp" namespace godot { diff --git a/include/gen/AudioEffectLowShelfFilter.hpp b/include/gen/AudioEffectLowShelfFilter.hpp index f7605f8f..fce8b402 100644 --- a/include/gen/AudioEffectLowShelfFilter.hpp +++ b/include/gen/AudioEffectLowShelfFilter.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffectFilter.hpp" namespace godot { diff --git a/include/gen/AudioEffectNotchFilter.hpp b/include/gen/AudioEffectNotchFilter.hpp index 2d76e2d5..1b609c49 100644 --- a/include/gen/AudioEffectNotchFilter.hpp +++ b/include/gen/AudioEffectNotchFilter.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffectFilter.hpp" namespace godot { diff --git a/include/gen/AudioEffectPanner.hpp b/include/gen/AudioEffectPanner.hpp index 8b0186aa..5df6702a 100644 --- a/include/gen/AudioEffectPanner.hpp +++ b/include/gen/AudioEffectPanner.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioEffectPhaser.hpp b/include/gen/AudioEffectPhaser.hpp index a4838325..f37220c2 100644 --- a/include/gen/AudioEffectPhaser.hpp +++ b/include/gen/AudioEffectPhaser.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioEffectPitchShift.hpp b/include/gen/AudioEffectPitchShift.hpp index 555b36d5..bf19c144 100644 --- a/include/gen/AudioEffectPitchShift.hpp +++ b/include/gen/AudioEffectPitchShift.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioEffectReverb.hpp b/include/gen/AudioEffectReverb.hpp index 1d4d1563..d38b3954 100644 --- a/include/gen/AudioEffectReverb.hpp +++ b/include/gen/AudioEffectReverb.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioEffectStereoEnhance.hpp b/include/gen/AudioEffectStereoEnhance.hpp index fd30e904..5cbed83d 100644 --- a/include/gen/AudioEffectStereoEnhance.hpp +++ b/include/gen/AudioEffectStereoEnhance.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioEffect.hpp" namespace godot { diff --git a/include/gen/AudioServer.hpp b/include/gen/AudioServer.hpp index 4ce6f1a8..ba55b4c8 100644 --- a/include/gen/AudioServer.hpp +++ b/include/gen/AudioServer.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "AudioServer.hpp" -#include +#include "Object.hpp" namespace godot { class AudioEffect; @@ -76,6 +76,9 @@ public: void unlock(); AudioServer::SpeakerMode get_speaker_mode() const; double get_mix_rate() const; + Array get_device_list(); + String get_device(); + void set_device(const String arg0); void set_bus_layout(const Ref bus_layout); Ref generate_bus_layout() const; diff --git a/include/gen/AudioStream.hpp b/include/gen/AudioStream.hpp index 6d7005c4..d37f16e6 100644 --- a/include/gen/AudioStream.hpp +++ b/include/gen/AudioStream.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/AudioStreamOGGVorbis.hpp b/include/gen/AudioStreamOGGVorbis.hpp index edda916d..eab9acb0 100644 --- a/include/gen/AudioStreamOGGVorbis.hpp +++ b/include/gen/AudioStreamOGGVorbis.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioStream.hpp" namespace godot { diff --git a/include/gen/AudioStreamPlayback.hpp b/include/gen/AudioStreamPlayback.hpp index a1112bcb..6155169f 100644 --- a/include/gen/AudioStreamPlayback.hpp +++ b/include/gen/AudioStreamPlayback.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/AudioStreamPlayer.hpp b/include/gen/AudioStreamPlayer.hpp index f79adfd3..8da73d93 100644 --- a/include/gen/AudioStreamPlayer.hpp +++ b/include/gen/AudioStreamPlayer.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "AudioStreamPlayer.hpp" -#include +#include "Node.hpp" namespace godot { class AudioStream; diff --git a/include/gen/AudioStreamPlayer2D.hpp b/include/gen/AudioStreamPlayer2D.hpp index f03c3206..01c16286 100644 --- a/include/gen/AudioStreamPlayer2D.hpp +++ b/include/gen/AudioStreamPlayer2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { class AudioStream; diff --git a/include/gen/AudioStreamPlayer3D.hpp b/include/gen/AudioStreamPlayer3D.hpp index 220fc972..ad5e17fd 100644 --- a/include/gen/AudioStreamPlayer3D.hpp +++ b/include/gen/AudioStreamPlayer3D.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "AudioStreamPlayer3D.hpp" -#include +#include "Spatial.hpp" namespace godot { class AudioStream; diff --git a/include/gen/AudioStreamRandomPitch.hpp b/include/gen/AudioStreamRandomPitch.hpp index cb0e85e3..9104b301 100644 --- a/include/gen/AudioStreamRandomPitch.hpp +++ b/include/gen/AudioStreamRandomPitch.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AudioStream.hpp" namespace godot { class AudioStream; diff --git a/include/gen/AudioStreamSample.hpp b/include/gen/AudioStreamSample.hpp index 32db8bd6..0e703770 100644 --- a/include/gen/AudioStreamSample.hpp +++ b/include/gen/AudioStreamSample.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "AudioStreamSample.hpp" -#include +#include "AudioStream.hpp" namespace godot { diff --git a/include/gen/BackBufferCopy.hpp b/include/gen/BackBufferCopy.hpp index 4926c6db..aac72873 100644 --- a/include/gen/BackBufferCopy.hpp +++ b/include/gen/BackBufferCopy.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "BackBufferCopy.hpp" -#include +#include "Node2D.hpp" namespace godot { diff --git a/include/gen/BakedLightmap.hpp b/include/gen/BakedLightmap.hpp index 812ebe68..10dd742f 100644 --- a/include/gen/BakedLightmap.hpp +++ b/include/gen/BakedLightmap.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "BakedLightmap.hpp" -#include +#include "VisualInstance.hpp" namespace godot { class BakedLightmapData; diff --git a/include/gen/BakedLightmapData.hpp b/include/gen/BakedLightmapData.hpp index 2af40130..9c50bcd5 100644 --- a/include/gen/BakedLightmapData.hpp +++ b/include/gen/BakedLightmapData.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Texture; diff --git a/include/gen/BaseButton.hpp b/include/gen/BaseButton.hpp index 34f58d5e..aa3e4372 100644 --- a/include/gen/BaseButton.hpp +++ b/include/gen/BaseButton.hpp @@ -7,10 +7,10 @@ #include #include -#include -#include +#include "BaseButton.hpp" +#include "Control.hpp" -#include +#include "Control.hpp" namespace godot { class InputEvent; @@ -53,6 +53,8 @@ public: bool is_disabled() const; void set_action_mode(const int64_t mode); BaseButton::ActionMode get_action_mode() const; + void set_button_mask(const int64_t mask); + int64_t get_button_mask() const; BaseButton::DrawMode get_draw_mode() const; void set_enabled_focus_mode(const int64_t mode); Control::FocusMode get_enabled_focus_mode() const; diff --git a/include/gen/BitMap.hpp b/include/gen/BitMap.hpp index ccddf688..4ad2680c 100644 --- a/include/gen/BitMap.hpp +++ b/include/gen/BitMap.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Image; diff --git a/include/gen/BitmapFont.hpp b/include/gen/BitmapFont.hpp index 21248f85..f9e23954 100644 --- a/include/gen/BitmapFont.hpp +++ b/include/gen/BitmapFont.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Font.hpp" namespace godot { class Texture; diff --git a/include/gen/BoneAttachment.hpp b/include/gen/BoneAttachment.hpp index 8cb502b5..bb72e6ac 100644 --- a/include/gen/BoneAttachment.hpp +++ b/include/gen/BoneAttachment.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/BoxContainer.hpp b/include/gen/BoxContainer.hpp index b5058fce..2eb98c97 100644 --- a/include/gen/BoxContainer.hpp +++ b/include/gen/BoxContainer.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "BoxContainer.hpp" -#include +#include "Container.hpp" namespace godot { diff --git a/include/gen/BoxShape.hpp b/include/gen/BoxShape.hpp index e12aae49..33210c9c 100644 --- a/include/gen/BoxShape.hpp +++ b/include/gen/BoxShape.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape.hpp" namespace godot { diff --git a/include/gen/BulletPhysicsDirectBodyState.hpp b/include/gen/BulletPhysicsDirectBodyState.hpp index 225489d8..6ff07eed 100644 --- a/include/gen/BulletPhysicsDirectBodyState.hpp +++ b/include/gen/BulletPhysicsDirectBodyState.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PhysicsDirectBodyState.hpp" namespace godot { diff --git a/include/gen/BulletPhysicsServer.hpp b/include/gen/BulletPhysicsServer.hpp index 717ff57e..8dd5e0c8 100644 --- a/include/gen/BulletPhysicsServer.hpp +++ b/include/gen/BulletPhysicsServer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PhysicsServer.hpp" namespace godot { diff --git a/include/gen/Button.hpp b/include/gen/Button.hpp index 2264ff4f..7e876dc3 100644 --- a/include/gen/Button.hpp +++ b/include/gen/Button.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Button.hpp" -#include +#include "BaseButton.hpp" namespace godot { class Texture; diff --git a/include/gen/ButtonGroup.hpp b/include/gen/ButtonGroup.hpp index afeb16db..834b04ad 100644 --- a/include/gen/ButtonGroup.hpp +++ b/include/gen/ButtonGroup.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class BaseButton; diff --git a/include/gen/Camera.hpp b/include/gen/Camera.hpp index 07c38f85..4e93820f 100644 --- a/include/gen/Camera.hpp +++ b/include/gen/Camera.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Camera.hpp" -#include +#include "Spatial.hpp" namespace godot { class Environment; diff --git a/include/gen/Camera2D.hpp b/include/gen/Camera2D.hpp index e375ff19..cb7a15da 100644 --- a/include/gen/Camera2D.hpp +++ b/include/gen/Camera2D.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Camera2D.hpp" -#include +#include "Node2D.hpp" namespace godot { class Object; diff --git a/include/gen/CanvasItem.hpp b/include/gen/CanvasItem.hpp index 60f1cd91..66029ca0 100644 --- a/include/gen/CanvasItem.hpp +++ b/include/gen/CanvasItem.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node.hpp" namespace godot { class Texture; @@ -29,18 +29,19 @@ public: // enums enum BlendMode { + BLEND_MODE_PREMULT_ALPHA = 4, BLEND_MODE_SUB = 2, + BLEND_MODE_DISABLED = 5, BLEND_MODE_MUL = 3, BLEND_MODE_MIX = 0, - BLEND_MODE_PREMULT_ALPHA = 4, BLEND_MODE_ADD = 1, }; // constants const static int NOTIFICATION_VISIBILITY_CHANGED = 31; const static int NOTIFICATION_TRANSFORM_CHANGED = 29; - const static int NOTIFICATION_DRAW = 30; const static int NOTIFICATION_EXIT_CANVAS = 33; + const static int NOTIFICATION_DRAW = 30; const static int NOTIFICATION_ENTER_CANVAS = 32; // methods @@ -51,7 +52,8 @@ public: Dictionary _edit_get_state() const; void _edit_set_position(const Vector2 position); Vector2 _edit_get_position() const; - bool _edit_use_position() const; + void _edit_set_scale(const Vector2 scale); + Vector2 _edit_get_scale() const; void _edit_set_rect(const Rect2 rect); Rect2 _edit_get_rect() const; bool _edit_use_rect() const; diff --git a/include/gen/CanvasItemMaterial.hpp b/include/gen/CanvasItemMaterial.hpp index b53c5c3c..25d04171 100644 --- a/include/gen/CanvasItemMaterial.hpp +++ b/include/gen/CanvasItemMaterial.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "CanvasItemMaterial.hpp" -#include +#include "Material.hpp" namespace godot { diff --git a/include/gen/CanvasLayer.hpp b/include/gen/CanvasLayer.hpp index a24c72e5..fb4c1f57 100644 --- a/include/gen/CanvasLayer.hpp +++ b/include/gen/CanvasLayer.hpp @@ -8,12 +8,11 @@ #include #include -#include +#include "Node.hpp" namespace godot { class Object; class Node; -class World2D; class CanvasLayer : public Node { public: @@ -45,7 +44,7 @@ public: Vector2 get_scale() const; void set_custom_viewport(const Object *viewport); Node *get_custom_viewport() const; - Ref get_world_2d() const; + RID get_canvas() const; }; diff --git a/include/gen/CanvasModulate.hpp b/include/gen/CanvasModulate.hpp index d1e9a223..8ec78e11 100644 --- a/include/gen/CanvasModulate.hpp +++ b/include/gen/CanvasModulate.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { diff --git a/include/gen/CapsuleMesh.hpp b/include/gen/CapsuleMesh.hpp index 0ad51c03..6b66276d 100644 --- a/include/gen/CapsuleMesh.hpp +++ b/include/gen/CapsuleMesh.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PrimitiveMesh.hpp" namespace godot { diff --git a/include/gen/CapsuleShape.hpp b/include/gen/CapsuleShape.hpp index 3ad612db..da9c12d5 100644 --- a/include/gen/CapsuleShape.hpp +++ b/include/gen/CapsuleShape.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape.hpp" namespace godot { diff --git a/include/gen/CapsuleShape2D.hpp b/include/gen/CapsuleShape2D.hpp index d5e3073a..e7509ed3 100644 --- a/include/gen/CapsuleShape2D.hpp +++ b/include/gen/CapsuleShape2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape2D.hpp" namespace godot { diff --git a/include/gen/CenterContainer.hpp b/include/gen/CenterContainer.hpp index e285854c..5751a307 100644 --- a/include/gen/CenterContainer.hpp +++ b/include/gen/CenterContainer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Container.hpp" namespace godot { diff --git a/include/gen/CheckBox.hpp b/include/gen/CheckBox.hpp index 532ed27a..5d60f327 100644 --- a/include/gen/CheckBox.hpp +++ b/include/gen/CheckBox.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Button.hpp" namespace godot { diff --git a/include/gen/CheckButton.hpp b/include/gen/CheckButton.hpp index 804fecfa..ae5a870e 100644 --- a/include/gen/CheckButton.hpp +++ b/include/gen/CheckButton.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Button.hpp" namespace godot { diff --git a/include/gen/CircleShape2D.hpp b/include/gen/CircleShape2D.hpp index dbf0f4c6..e02684f1 100644 --- a/include/gen/CircleShape2D.hpp +++ b/include/gen/CircleShape2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape2D.hpp" namespace godot { diff --git a/include/gen/ClassDB.hpp b/include/gen/ClassDB.hpp index 3fe576d9..b0326073 100644 --- a/include/gen/ClassDB.hpp +++ b/include/gen/ClassDB.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class Object; diff --git a/include/gen/CollisionObject.hpp b/include/gen/CollisionObject.hpp index 8f650c13..e7db1f85 100644 --- a/include/gen/CollisionObject.hpp +++ b/include/gen/CollisionObject.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { class Object; diff --git a/include/gen/CollisionObject2D.hpp b/include/gen/CollisionObject2D.hpp index 57416ad4..234a9806 100644 --- a/include/gen/CollisionObject2D.hpp +++ b/include/gen/CollisionObject2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { class Object; diff --git a/include/gen/CollisionPolygon.hpp b/include/gen/CollisionPolygon.hpp index 798947c4..56227b94 100644 --- a/include/gen/CollisionPolygon.hpp +++ b/include/gen/CollisionPolygon.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { @@ -34,6 +34,7 @@ public: PoolVector2Array get_polygon() const; void set_disabled(const bool disabled); bool is_disabled() const; + bool _is_editable_3d_polygon() const; }; diff --git a/include/gen/CollisionPolygon2D.hpp b/include/gen/CollisionPolygon2D.hpp index 5159f7b6..2f97f9fe 100644 --- a/include/gen/CollisionPolygon2D.hpp +++ b/include/gen/CollisionPolygon2D.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "CollisionPolygon2D.hpp" -#include +#include "Node2D.hpp" namespace godot { diff --git a/include/gen/CollisionShape.hpp b/include/gen/CollisionShape.hpp index dc2c3724..70595544 100644 --- a/include/gen/CollisionShape.hpp +++ b/include/gen/CollisionShape.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { class Resource; diff --git a/include/gen/CollisionShape2D.hpp b/include/gen/CollisionShape2D.hpp index 47c53c69..fbe07f44 100644 --- a/include/gen/CollisionShape2D.hpp +++ b/include/gen/CollisionShape2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { class Shape2D; diff --git a/include/gen/ColorPicker.hpp b/include/gen/ColorPicker.hpp index ea154bbe..224d454d 100644 --- a/include/gen/ColorPicker.hpp +++ b/include/gen/ColorPicker.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "BoxContainer.hpp" namespace godot { class Object; diff --git a/include/gen/ColorPickerButton.hpp b/include/gen/ColorPickerButton.hpp index aed1d028..373f7557 100644 --- a/include/gen/ColorPickerButton.hpp +++ b/include/gen/ColorPickerButton.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Button.hpp" namespace godot { class ColorPicker; @@ -37,6 +37,7 @@ public: void set_edit_alpha(const bool show); bool is_editing_alpha() const; void _color_changed(const Color arg0); + void _modal_closed(); }; diff --git a/include/gen/ColorRect.hpp b/include/gen/ColorRect.hpp index 9e1b3295..b7f43da3 100644 --- a/include/gen/ColorRect.hpp +++ b/include/gen/ColorRect.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Control.hpp" namespace godot { diff --git a/include/gen/ConcavePolygonShape.hpp b/include/gen/ConcavePolygonShape.hpp index 774fc65f..c493974b 100644 --- a/include/gen/ConcavePolygonShape.hpp +++ b/include/gen/ConcavePolygonShape.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape.hpp" namespace godot { diff --git a/include/gen/ConcavePolygonShape2D.hpp b/include/gen/ConcavePolygonShape2D.hpp index f03ffcda..cd45040e 100644 --- a/include/gen/ConcavePolygonShape2D.hpp +++ b/include/gen/ConcavePolygonShape2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape2D.hpp" namespace godot { diff --git a/include/gen/ConeTwistJoint.hpp b/include/gen/ConeTwistJoint.hpp index 8b58ee23..360ab220 100644 --- a/include/gen/ConeTwistJoint.hpp +++ b/include/gen/ConeTwistJoint.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Joint.hpp" namespace godot { diff --git a/include/gen/ConfigFile.hpp b/include/gen/ConfigFile.hpp index 677a4657..02cf1700 100644 --- a/include/gen/ConfigFile.hpp +++ b/include/gen/ConfigFile.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/ConfirmationDialog.hpp b/include/gen/ConfirmationDialog.hpp index e3db6240..536465c7 100644 --- a/include/gen/ConfirmationDialog.hpp +++ b/include/gen/ConfirmationDialog.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "AcceptDialog.hpp" namespace godot { class Button; diff --git a/include/gen/Container.hpp b/include/gen/Container.hpp index 6550c459..132e8024 100644 --- a/include/gen/Container.hpp +++ b/include/gen/Container.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Control.hpp" namespace godot { class Object; diff --git a/include/gen/Control.hpp b/include/gen/Control.hpp index add3c2ff..743c1b79 100644 --- a/include/gen/Control.hpp +++ b/include/gen/Control.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Control.hpp" -#include +#include "CanvasItem.hpp" namespace godot { class InputEvent; @@ -71,6 +71,7 @@ public: }; enum GrowDirection { GROW_DIRECTION_END = 1, + GROW_DIRECTION_BOTH = 2, GROW_DIRECTION_BEGIN = 0, }; enum SizeFlags { @@ -107,6 +108,8 @@ public: const static int NOTIFICATION_FOCUS_EXIT = 44; const static int NOTIFICATION_MODAL_CLOSE = 46; const static int NOTIFICATION_RESIZED = 40; + const static int NOTIFICATION_SCROLL_END = 48; + const static int NOTIFICATION_SCROLL_BEGIN = 47; static Control *_new(); diff --git a/include/gen/ConvexPolygonShape.hpp b/include/gen/ConvexPolygonShape.hpp index d9b7929e..990a8765 100644 --- a/include/gen/ConvexPolygonShape.hpp +++ b/include/gen/ConvexPolygonShape.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape.hpp" namespace godot { diff --git a/include/gen/ConvexPolygonShape2D.hpp b/include/gen/ConvexPolygonShape2D.hpp index 8c5b3686..56945243 100644 --- a/include/gen/ConvexPolygonShape2D.hpp +++ b/include/gen/ConvexPolygonShape2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape2D.hpp" namespace godot { diff --git a/include/gen/CubeMap.hpp b/include/gen/CubeMap.hpp index 83a0a59b..3d746bce 100644 --- a/include/gen/CubeMap.hpp +++ b/include/gen/CubeMap.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "CubeMap.hpp" -#include +#include "Resource.hpp" namespace godot { class Image; diff --git a/include/gen/CubeMesh.hpp b/include/gen/CubeMesh.hpp index f89f8573..0e629ebb 100644 --- a/include/gen/CubeMesh.hpp +++ b/include/gen/CubeMesh.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PrimitiveMesh.hpp" namespace godot { diff --git a/include/gen/Curve.hpp b/include/gen/Curve.hpp index 8604b26e..3fc29711 100644 --- a/include/gen/Curve.hpp +++ b/include/gen/Curve.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Curve.hpp" -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/Curve2D.hpp b/include/gen/Curve2D.hpp index c1262ad6..01d951f4 100644 --- a/include/gen/Curve2D.hpp +++ b/include/gen/Curve2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { @@ -45,6 +45,8 @@ public: double get_baked_length() const; Vector2 interpolate_baked(const double offset, const bool cubic = false) const; PoolVector2Array get_baked_points() const; + Vector2 get_closest_point(const Vector2 to_point) const; + double get_closest_offset(const Vector2 to_point) const; PoolVector2Array tessellate(const int64_t max_stages = 5, const double tolerance_degrees = 4) const; Dictionary _get_data() const; void _set_data(const Dictionary arg0); diff --git a/include/gen/Curve3D.hpp b/include/gen/Curve3D.hpp index dc47875e..03b7f793 100644 --- a/include/gen/Curve3D.hpp +++ b/include/gen/Curve3D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { @@ -48,6 +48,8 @@ public: Vector3 interpolate_baked(const double offset, const bool cubic = false) const; PoolVector3Array get_baked_points() const; PoolRealArray get_baked_tilts() const; + Vector3 get_closest_point(const Vector3 to_point) const; + double get_closest_offset(const Vector3 to_point) const; PoolVector3Array tessellate(const int64_t max_stages = 5, const double tolerance_degrees = 4) const; Dictionary _get_data() const; void _set_data(const Dictionary arg0); diff --git a/include/gen/CurveTexture.hpp b/include/gen/CurveTexture.hpp index cbe13d66..b858784d 100644 --- a/include/gen/CurveTexture.hpp +++ b/include/gen/CurveTexture.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Texture.hpp" namespace godot { class Curve; diff --git a/include/gen/CylinderMesh.hpp b/include/gen/CylinderMesh.hpp index f518dbdf..24034720 100644 --- a/include/gen/CylinderMesh.hpp +++ b/include/gen/CylinderMesh.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PrimitiveMesh.hpp" namespace godot { diff --git a/include/gen/DampedSpringJoint2D.hpp b/include/gen/DampedSpringJoint2D.hpp index 8648ce47..b69e80e3 100644 --- a/include/gen/DampedSpringJoint2D.hpp +++ b/include/gen/DampedSpringJoint2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Joint2D.hpp" namespace godot { diff --git a/include/gen/DirectionalLight.hpp b/include/gen/DirectionalLight.hpp index dcc2dbe8..cab53a2a 100644 --- a/include/gen/DirectionalLight.hpp +++ b/include/gen/DirectionalLight.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "DirectionalLight.hpp" -#include +#include "Light.hpp" namespace godot { diff --git a/include/gen/Directory.hpp b/include/gen/Directory.hpp index d88402ed..56db6e51 100644 --- a/include/gen/Directory.hpp +++ b/include/gen/Directory.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/DynamicFont.hpp b/include/gen/DynamicFont.hpp index 3e2d2a83..87a7bf43 100644 --- a/include/gen/DynamicFont.hpp +++ b/include/gen/DynamicFont.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Font.hpp" namespace godot { class DynamicFontData; @@ -39,6 +39,10 @@ public: Ref get_font_data() const; void set_size(const int64_t data); int64_t get_size() const; + void set_outline_size(const int64_t size); + int64_t get_outline_size() const; + void set_outline_color(const Color color); + Color get_outline_color() const; void set_use_mipmaps(const bool enable); bool get_use_mipmaps() const; void set_use_filter(const bool enable); diff --git a/include/gen/DynamicFontData.hpp b/include/gen/DynamicFontData.hpp index c26e3aac..4844b77d 100644 --- a/include/gen/DynamicFontData.hpp +++ b/include/gen/DynamicFontData.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "DynamicFontData.hpp" -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/EditorExportPlugin.hpp b/include/gen/EditorExportPlugin.hpp index 1aecbfea..64bc2a6e 100644 --- a/include/gen/EditorExportPlugin.hpp +++ b/include/gen/EditorExportPlugin.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/EditorFileDialog.hpp b/include/gen/EditorFileDialog.hpp index 5190f359..c07e4a38 100644 --- a/include/gen/EditorFileDialog.hpp +++ b/include/gen/EditorFileDialog.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "EditorFileDialog.hpp" -#include +#include "ConfirmationDialog.hpp" namespace godot { class InputEvent; diff --git a/include/gen/EditorFileSystem.hpp b/include/gen/EditorFileSystem.hpp index eae58d65..c7e98191 100644 --- a/include/gen/EditorFileSystem.hpp +++ b/include/gen/EditorFileSystem.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node.hpp" namespace godot { class EditorFileSystemDirectory; diff --git a/include/gen/EditorFileSystemDirectory.hpp b/include/gen/EditorFileSystemDirectory.hpp index 0c1c956f..7c6c195f 100644 --- a/include/gen/EditorFileSystemDirectory.hpp +++ b/include/gen/EditorFileSystemDirectory.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class EditorFileSystemDirectory; diff --git a/include/gen/EditorImportPlugin.hpp b/include/gen/EditorImportPlugin.hpp index 9668d0a2..21031278 100644 --- a/include/gen/EditorImportPlugin.hpp +++ b/include/gen/EditorImportPlugin.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/EditorInterface.hpp b/include/gen/EditorInterface.hpp index 9dff4e11..6bba0a76 100644 --- a/include/gen/EditorInterface.hpp +++ b/include/gen/EditorInterface.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node.hpp" namespace godot { class Object; diff --git a/include/gen/EditorPlugin.hpp b/include/gen/EditorPlugin.hpp index 1e364f89..f2402bfc 100644 --- a/include/gen/EditorPlugin.hpp +++ b/include/gen/EditorPlugin.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node.hpp" namespace godot { class InputEvent; diff --git a/include/gen/EditorResourceConversionPlugin.hpp b/include/gen/EditorResourceConversionPlugin.hpp index 35e0dbb8..409ae27c 100644 --- a/include/gen/EditorResourceConversionPlugin.hpp +++ b/include/gen/EditorResourceConversionPlugin.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Resource; diff --git a/include/gen/EditorResourcePreview.hpp b/include/gen/EditorResourcePreview.hpp index bdb530e9..90b243aa 100644 --- a/include/gen/EditorResourcePreview.hpp +++ b/include/gen/EditorResourcePreview.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node.hpp" namespace godot { class Texture; diff --git a/include/gen/EditorResourcePreviewGenerator.hpp b/include/gen/EditorResourcePreviewGenerator.hpp index c55cdda8..bb5bf1fe 100644 --- a/include/gen/EditorResourcePreviewGenerator.hpp +++ b/include/gen/EditorResourcePreviewGenerator.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Texture; diff --git a/include/gen/EditorSceneImporter.hpp b/include/gen/EditorSceneImporter.hpp index 4f089cc6..61d01ca1 100644 --- a/include/gen/EditorSceneImporter.hpp +++ b/include/gen/EditorSceneImporter.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Node; diff --git a/include/gen/EditorScenePostImport.hpp b/include/gen/EditorScenePostImport.hpp index 31d9b5a0..b4f4879a 100644 --- a/include/gen/EditorScenePostImport.hpp +++ b/include/gen/EditorScenePostImport.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Object; diff --git a/include/gen/EditorScript.hpp b/include/gen/EditorScript.hpp index eb526d45..3bfdcd72 100644 --- a/include/gen/EditorScript.hpp +++ b/include/gen/EditorScript.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Object; diff --git a/include/gen/EditorSelection.hpp b/include/gen/EditorSelection.hpp index 344c618b..b440ecaa 100644 --- a/include/gen/EditorSelection.hpp +++ b/include/gen/EditorSelection.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class Object; diff --git a/include/gen/EditorSettings.hpp b/include/gen/EditorSettings.hpp index 1adde355..31397fb2 100644 --- a/include/gen/EditorSettings.hpp +++ b/include/gen/EditorSettings.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/EditorSpatialGizmo.hpp b/include/gen/EditorSpatialGizmo.hpp index 1f5b9384..08fb316d 100644 --- a/include/gen/EditorSpatialGizmo.hpp +++ b/include/gen/EditorSpatialGizmo.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "SpatialGizmo.hpp" namespace godot { class Camera; diff --git a/include/gen/EncodedObjectAsID.hpp b/include/gen/EncodedObjectAsID.hpp index daab3840..42757f51 100644 --- a/include/gen/EncodedObjectAsID.hpp +++ b/include/gen/EncodedObjectAsID.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/Engine.hpp b/include/gen/Engine.hpp index 5171a479..83f4b8be 100644 --- a/include/gen/Engine.hpp +++ b/include/gen/Engine.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class MainLoop; @@ -41,6 +41,8 @@ public: // methods void set_iterations_per_second(const int64_t iterations_per_second); int64_t get_iterations_per_second() const; + void set_physics_jitter_fix(const double physics_jitter_fix); + double get_physics_jitter_fix() const; void set_target_fps(const int64_t target_fps); int64_t get_target_fps() const; void set_time_scale(const double time_scale); diff --git a/include/gen/Environment.hpp b/include/gen/Environment.hpp index f316c7e4..1966e02b 100644 --- a/include/gen/Environment.hpp +++ b/include/gen/Environment.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Environment.hpp" -#include +#include "Resource.hpp" namespace godot { class Sky; diff --git a/include/gen/File.hpp b/include/gen/File.hpp index cc84fcbe..e5c53b95 100644 --- a/include/gen/File.hpp +++ b/include/gen/File.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/FileDialog.hpp b/include/gen/FileDialog.hpp index 1e066fe3..02481a89 100644 --- a/include/gen/FileDialog.hpp +++ b/include/gen/FileDialog.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "FileDialog.hpp" -#include +#include "ConfirmationDialog.hpp" namespace godot { class InputEvent; diff --git a/include/gen/Font.hpp b/include/gen/Font.hpp index 0b9c0a70..f4a188f4 100644 --- a/include/gen/Font.hpp +++ b/include/gen/Font.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { @@ -25,13 +25,14 @@ public: // constants // methods - void draw(const RID canvas_item, const Vector2 position, const String string, const Color modulate = Color(1,1,1,1), const int64_t clip_w = -1) const; + void draw(const RID canvas_item, const Vector2 position, const String string, const Color modulate = Color(1,1,1,1), const int64_t clip_w = -1, const Color outline_modulate = Color(1,1,1,1)) const; double get_ascent() const; double get_descent() const; double get_height() const; bool is_distance_field_hint() const; Vector2 get_string_size(const String string) const; - double draw_char(const RID canvas_item, const Vector2 position, const int64_t _char, const int64_t next = -1, const Color modulate = Color(1,1,1,1)) const; + bool has_outline() const; + double draw_char(const RID canvas_item, const Vector2 position, const int64_t _char, const int64_t next = -1, const Color modulate = Color(1,1,1,1), const bool outline = false) const; void update_changes(); }; diff --git a/include/gen/FuncRef.hpp b/include/gen/FuncRef.hpp index 6b36ece8..0b174da8 100644 --- a/include/gen/FuncRef.hpp +++ b/include/gen/FuncRef.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Object; diff --git a/include/gen/GDNative.hpp b/include/gen/GDNative.hpp index 359f7c52..b57de783 100644 --- a/include/gen/GDNative.hpp +++ b/include/gen/GDNative.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class GDNativeLibrary; diff --git a/include/gen/GDNativeLibrary.hpp b/include/gen/GDNativeLibrary.hpp index 3a2473af..11eade47 100644 --- a/include/gen/GDNativeLibrary.hpp +++ b/include/gen/GDNativeLibrary.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class ConfigFile; diff --git a/include/gen/GDScript.hpp b/include/gen/GDScript.hpp index 6d4cb714..13ff1b1c 100644 --- a/include/gen/GDScript.hpp +++ b/include/gen/GDScript.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Script.hpp" namespace godot { class Object; diff --git a/include/gen/GDScriptFunctionState.hpp b/include/gen/GDScriptFunctionState.hpp index 8b384d8a..41011f67 100644 --- a/include/gen/GDScriptFunctionState.hpp +++ b/include/gen/GDScriptFunctionState.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/GIProbe.hpp b/include/gen/GIProbe.hpp index ef13c978..1573fe06 100644 --- a/include/gen/GIProbe.hpp +++ b/include/gen/GIProbe.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "GIProbe.hpp" -#include +#include "VisualInstance.hpp" namespace godot { class GIProbeData; diff --git a/include/gen/GIProbeData.hpp b/include/gen/GIProbeData.hpp index 4b499081..07e2af36 100644 --- a/include/gen/GIProbeData.hpp +++ b/include/gen/GIProbeData.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/Generic6DOFJoint.hpp b/include/gen/Generic6DOFJoint.hpp index a14d4be4..0ff88933 100644 --- a/include/gen/Generic6DOFJoint.hpp +++ b/include/gen/Generic6DOFJoint.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Joint.hpp" namespace godot { @@ -23,25 +23,28 @@ public: // enums enum Param { PARAM_LINEAR_RESTITUTION = 3, - PARAM_ANGULAR_FORCE_LIMIT = 10, + PARAM_ANGULAR_FORCE_LIMIT = 12, PARAM_LINEAR_LOWER_LIMIT = 0, - PARAM_ANGULAR_RESTITUTION = 9, - PARAM_ANGULAR_MOTOR_FORCE_LIMIT = 13, - PARAM_ANGULAR_UPPER_LIMIT = 6, + PARAM_ANGULAR_RESTITUTION = 11, + PARAM_ANGULAR_MOTOR_FORCE_LIMIT = 15, + PARAM_ANGULAR_UPPER_LIMIT = 8, PARAM_LINEAR_DAMPING = 4, - PARAM_ANGULAR_LIMIT_SOFTNESS = 7, - PARAM_ANGULAR_LOWER_LIMIT = 5, - PARAM_MAX = 14, - PARAM_ANGULAR_MOTOR_TARGET_VELOCITY = 12, + PARAM_ANGULAR_LIMIT_SOFTNESS = 9, + PARAM_ANGULAR_LOWER_LIMIT = 7, + PARAM_MAX = 16, + PARAM_ANGULAR_MOTOR_TARGET_VELOCITY = 14, + PARAM_LINEAR_MOTOR_FORCE_LIMIT = 6, PARAM_LINEAR_LIMIT_SOFTNESS = 2, + PARAM_LINEAR_MOTOR_TARGET_VELOCITY = 5, PARAM_LINEAR_UPPER_LIMIT = 1, - PARAM_ANGULAR_DAMPING = 8, - PARAM_ANGULAR_ERP = 11, + PARAM_ANGULAR_DAMPING = 10, + PARAM_ANGULAR_ERP = 13, }; enum Flag { FLAG_ENABLE_ANGULAR_LIMIT = 1, FLAG_ENABLE_LINEAR_LIMIT = 0, - FLAG_MAX = 3, + FLAG_MAX = 4, + FLAG_ENABLE_LINEAR_MOTOR = 3, FLAG_ENABLE_MOTOR = 2, }; diff --git a/include/gen/Geometry.hpp b/include/gen/Geometry.hpp index de804c32..aed9ab91 100644 --- a/include/gen/Geometry.hpp +++ b/include/gen/Geometry.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { @@ -42,6 +42,7 @@ public: Array build_capsule_planes(const double radius, const double height, const int64_t sides, const int64_t lats, const int64_t axis = 2); double segment_intersects_circle(const Vector2 segment_from, const Vector2 segment_to, const Vector2 circle_position, const double circle_radius); Variant segment_intersects_segment_2d(const Vector2 from_a, const Vector2 to_a, const Vector2 from_b, const Vector2 to_b); + Variant line_intersects_line_2d(const Vector2 from_a, const Vector2 dir_a, const Vector2 from_b, const Vector2 dir_b); PoolVector2Array get_closest_points_between_segments_2d(const Vector2 p1, const Vector2 q1, const Vector2 p2, const Vector2 q2); PoolVector3Array get_closest_points_between_segments(const Vector3 p1, const Vector3 p2, const Vector3 q1, const Vector3 q2); Vector2 get_closest_point_to_segment_2d(const Vector2 point, const Vector2 s1, const Vector2 s2); diff --git a/include/gen/GeometryInstance.hpp b/include/gen/GeometryInstance.hpp index 08f243a4..f81eaf14 100644 --- a/include/gen/GeometryInstance.hpp +++ b/include/gen/GeometryInstance.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "GeometryInstance.hpp" -#include +#include "VisualInstance.hpp" namespace godot { class Material; diff --git a/include/gen/Gradient.hpp b/include/gen/Gradient.hpp index 3a731380..7ce4fe68 100644 --- a/include/gen/Gradient.hpp +++ b/include/gen/Gradient.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/GradientTexture.hpp b/include/gen/GradientTexture.hpp index 9952948e..d65b2397 100644 --- a/include/gen/GradientTexture.hpp +++ b/include/gen/GradientTexture.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Texture.hpp" namespace godot { class Gradient; diff --git a/include/gen/GraphEdit.hpp b/include/gen/GraphEdit.hpp index 0aa7b3a3..5049afa9 100644 --- a/include/gen/GraphEdit.hpp +++ b/include/gen/GraphEdit.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Control.hpp" namespace godot { class Object; diff --git a/include/gen/GraphNode.hpp b/include/gen/GraphNode.hpp index feb6fc75..8584e212 100644 --- a/include/gen/GraphNode.hpp +++ b/include/gen/GraphNode.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "GraphNode.hpp" -#include +#include "Container.hpp" namespace godot { class InputEvent; diff --git a/include/gen/GridContainer.hpp b/include/gen/GridContainer.hpp index 94ed5c40..baa51640 100644 --- a/include/gen/GridContainer.hpp +++ b/include/gen/GridContainer.hpp @@ -8,9 +8,10 @@ #include #include -#include +#include "Container.hpp" namespace godot { +class Control; class GridContainer : public Container { public: @@ -30,6 +31,7 @@ public: // methods void set_columns(const int64_t columns); int64_t get_columns() const; + Control *get_child_control_at_cell(const int64_t row, const int64_t column); }; diff --git a/include/gen/GridMap.hpp b/include/gen/GridMap.hpp index 729574af..49943875 100644 --- a/include/gen/GridMap.hpp +++ b/include/gen/GridMap.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { class MeshLibrary; diff --git a/include/gen/GrooveJoint2D.hpp b/include/gen/GrooveJoint2D.hpp index 00bcacd9..e5df096d 100644 --- a/include/gen/GrooveJoint2D.hpp +++ b/include/gen/GrooveJoint2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Joint2D.hpp" namespace godot { diff --git a/include/gen/HBoxContainer.hpp b/include/gen/HBoxContainer.hpp index e92fd92a..7574b20c 100644 --- a/include/gen/HBoxContainer.hpp +++ b/include/gen/HBoxContainer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "BoxContainer.hpp" namespace godot { diff --git a/include/gen/HScrollBar.hpp b/include/gen/HScrollBar.hpp index 2a51b619..c1b11a5e 100644 --- a/include/gen/HScrollBar.hpp +++ b/include/gen/HScrollBar.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "ScrollBar.hpp" namespace godot { diff --git a/include/gen/HSeparator.hpp b/include/gen/HSeparator.hpp index ebe87e39..f0144ecd 100644 --- a/include/gen/HSeparator.hpp +++ b/include/gen/HSeparator.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Separator.hpp" namespace godot { diff --git a/include/gen/HSlider.hpp b/include/gen/HSlider.hpp index 11d590b1..b8f72924 100644 --- a/include/gen/HSlider.hpp +++ b/include/gen/HSlider.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Slider.hpp" namespace godot { diff --git a/include/gen/HSplitContainer.hpp b/include/gen/HSplitContainer.hpp index 5318e4cc..04562813 100644 --- a/include/gen/HSplitContainer.hpp +++ b/include/gen/HSplitContainer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "SplitContainer.hpp" namespace godot { diff --git a/include/gen/HTTPClient.hpp b/include/gen/HTTPClient.hpp index 69e5d15d..2282d595 100644 --- a/include/gen/HTTPClient.hpp +++ b/include/gen/HTTPClient.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "HTTPClient.hpp" -#include +#include "Reference.hpp" namespace godot { class StreamPeer; diff --git a/include/gen/HTTPRequest.hpp b/include/gen/HTTPRequest.hpp index 5c9f8ee3..ee62aad7 100644 --- a/include/gen/HTTPRequest.hpp +++ b/include/gen/HTTPRequest.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "HTTPClient.hpp" -#include +#include "Node.hpp" namespace godot { diff --git a/include/gen/HingeJoint.hpp b/include/gen/HingeJoint.hpp index 8cbbcccf..646b944c 100644 --- a/include/gen/HingeJoint.hpp +++ b/include/gen/HingeJoint.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Joint.hpp" namespace godot { diff --git a/include/gen/IP.hpp b/include/gen/IP.hpp index e6c7ee23..4bb9155f 100644 --- a/include/gen/IP.hpp +++ b/include/gen/IP.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "IP.hpp" -#include +#include "Object.hpp" namespace godot { diff --git a/include/gen/IP_Unix.hpp b/include/gen/IP_Unix.hpp index 06f6c6f4..eb544baf 100644 --- a/include/gen/IP_Unix.hpp +++ b/include/gen/IP_Unix.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "IP.hpp" namespace godot { diff --git a/include/gen/Image.hpp b/include/gen/Image.hpp index deeabcbf..2e74e509 100644 --- a/include/gen/Image.hpp +++ b/include/gen/Image.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Image.hpp" -#include +#include "Resource.hpp" namespace godot { class Image; @@ -107,7 +107,7 @@ public: void crop(const int64_t width, const int64_t height); void flip_x(); void flip_y(); - Error generate_mipmaps(); + Error generate_mipmaps(const bool renormalize = false); void clear_mipmaps(); void create(const int64_t width, const int64_t height, const bool use_mipmaps, const int64_t format); void create_from_data(const int64_t width, const int64_t height, const bool use_mipmaps, const int64_t format, const PoolByteArray data); @@ -123,6 +123,7 @@ public: void premultiply_alpha(); void srgb_to_linear(); void normalmap_to_xy(); + void bumpmap_to_normalmap(const double bump_scale = 1); void blit_rect(const Ref src, const Rect2 src_rect, const Vector2 dst); void blit_rect_mask(const Ref src, const Ref mask, const Rect2 src_rect, const Vector2 dst); void blend_rect(const Ref src, const Rect2 src_rect, const Vector2 dst); @@ -135,8 +136,10 @@ public: Dictionary _get_data() const; void lock(); void unlock(); - void set_pixel(const int64_t x, const int64_t y, const Color color); + Color get_pixelv(const Vector2 src) const; Color get_pixel(const int64_t x, const int64_t y) const; + void set_pixelv(const Vector2 dst, const Color color); + void set_pixel(const int64_t x, const int64_t y, const Color color); Error load_png_from_buffer(const PoolByteArray buffer); Error load_jpg_from_buffer(const PoolByteArray buffer); diff --git a/include/gen/ImageTexture.hpp b/include/gen/ImageTexture.hpp index 2f7f6f95..8572f4e9 100644 --- a/include/gen/ImageTexture.hpp +++ b/include/gen/ImageTexture.hpp @@ -7,10 +7,10 @@ #include #include -#include -#include +#include "Image.hpp" +#include "ImageTexture.hpp" -#include +#include "Texture.hpp" namespace godot { class Image; diff --git a/include/gen/ImmediateGeometry.hpp b/include/gen/ImmediateGeometry.hpp index b47e03f8..273bad67 100644 --- a/include/gen/ImmediateGeometry.hpp +++ b/include/gen/ImmediateGeometry.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "GeometryInstance.hpp" namespace godot { class Texture; diff --git a/include/gen/Input.hpp b/include/gen/Input.hpp index cf856e78..fc3f6b20 100644 --- a/include/gen/Input.hpp +++ b/include/gen/Input.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Input.hpp" -#include +#include "Object.hpp" namespace godot { class Resource; @@ -71,6 +71,7 @@ public: bool is_action_pressed(const String action) const; bool is_action_just_pressed(const String action) const; bool is_action_just_released(const String action) const; + double get_action_strength(const String action) const; void add_joy_mapping(const String mapping, const bool update_existing = false); void remove_joy_mapping(const String guid); void joy_connection_changed(const int64_t device, const bool connected, const String name, const String guid); @@ -98,6 +99,7 @@ public: void warp_mouse_position(const Vector2 to); void action_press(const String action); void action_release(const String action); + void set_default_cursor_shape(const int64_t shape = 0); void set_custom_mouse_cursor(const Ref image, const int64_t shape = 0, const Vector2 hotspot = Vector2(0, 0)); void parse_input_event(const Ref event); diff --git a/include/gen/InputDefault.hpp b/include/gen/InputDefault.hpp index 99e084e2..7909cce7 100644 --- a/include/gen/InputDefault.hpp +++ b/include/gen/InputDefault.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Input.hpp" namespace godot { diff --git a/include/gen/InputEvent.hpp b/include/gen/InputEvent.hpp index 875b4ec7..90f5be0a 100644 --- a/include/gen/InputEvent.hpp +++ b/include/gen/InputEvent.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class InputEvent; @@ -28,13 +28,13 @@ public: // methods void set_device(const int64_t device); int64_t get_device() const; - bool is_pressed() const; bool is_action(const String action) const; bool is_action_pressed(const String action) const; bool is_action_released(const String action) const; + double get_action_strength(const String action) const; + bool is_pressed() const; bool is_echo() const; String as_text() const; - bool action_match(const Ref event) const; bool shortcut_match(const Ref event) const; bool is_action_type() const; Ref xformed_by(const Transform2D xform, const Vector2 local_ofs = Vector2(0, 0)) const; diff --git a/include/gen/InputEventAction.hpp b/include/gen/InputEventAction.hpp index 1cd644c8..4040ad79 100644 --- a/include/gen/InputEventAction.hpp +++ b/include/gen/InputEventAction.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEvent.hpp" namespace godot { diff --git a/include/gen/InputEventGesture.hpp b/include/gen/InputEventGesture.hpp index 0842985d..a0db5b27 100644 --- a/include/gen/InputEventGesture.hpp +++ b/include/gen/InputEventGesture.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEventWithModifiers.hpp" namespace godot { diff --git a/include/gen/InputEventJoypadButton.hpp b/include/gen/InputEventJoypadButton.hpp index 52e5fc22..0b2d9f09 100644 --- a/include/gen/InputEventJoypadButton.hpp +++ b/include/gen/InputEventJoypadButton.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEvent.hpp" namespace godot { diff --git a/include/gen/InputEventJoypadMotion.hpp b/include/gen/InputEventJoypadMotion.hpp index dc769bef..dfd1f42c 100644 --- a/include/gen/InputEventJoypadMotion.hpp +++ b/include/gen/InputEventJoypadMotion.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEvent.hpp" namespace godot { diff --git a/include/gen/InputEventKey.hpp b/include/gen/InputEventKey.hpp index 3bd03942..79415642 100644 --- a/include/gen/InputEventKey.hpp +++ b/include/gen/InputEventKey.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEventWithModifiers.hpp" namespace godot { diff --git a/include/gen/InputEventMagnifyGesture.hpp b/include/gen/InputEventMagnifyGesture.hpp index bef1f5fc..6e3c2f01 100644 --- a/include/gen/InputEventMagnifyGesture.hpp +++ b/include/gen/InputEventMagnifyGesture.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEventGesture.hpp" namespace godot { diff --git a/include/gen/InputEventMouse.hpp b/include/gen/InputEventMouse.hpp index 8af2135d..63c6b1a6 100644 --- a/include/gen/InputEventMouse.hpp +++ b/include/gen/InputEventMouse.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEventWithModifiers.hpp" namespace godot { diff --git a/include/gen/InputEventMouseButton.hpp b/include/gen/InputEventMouseButton.hpp index 01b2fdeb..b4d3b7f9 100644 --- a/include/gen/InputEventMouseButton.hpp +++ b/include/gen/InputEventMouseButton.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEventMouse.hpp" namespace godot { diff --git a/include/gen/InputEventMouseMotion.hpp b/include/gen/InputEventMouseMotion.hpp index 632b1547..1d512cc9 100644 --- a/include/gen/InputEventMouseMotion.hpp +++ b/include/gen/InputEventMouseMotion.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEventMouse.hpp" namespace godot { diff --git a/include/gen/InputEventPanGesture.hpp b/include/gen/InputEventPanGesture.hpp index e6f4a808..36f68cdd 100644 --- a/include/gen/InputEventPanGesture.hpp +++ b/include/gen/InputEventPanGesture.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEventGesture.hpp" namespace godot { diff --git a/include/gen/InputEventScreenDrag.hpp b/include/gen/InputEventScreenDrag.hpp index 79069833..8fed4d16 100644 --- a/include/gen/InputEventScreenDrag.hpp +++ b/include/gen/InputEventScreenDrag.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEvent.hpp" namespace godot { diff --git a/include/gen/InputEventScreenTouch.hpp b/include/gen/InputEventScreenTouch.hpp index af5400c7..16fe36f9 100644 --- a/include/gen/InputEventScreenTouch.hpp +++ b/include/gen/InputEventScreenTouch.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEvent.hpp" namespace godot { diff --git a/include/gen/InputEventWithModifiers.hpp b/include/gen/InputEventWithModifiers.hpp index 3e759663..2ebef2c2 100644 --- a/include/gen/InputEventWithModifiers.hpp +++ b/include/gen/InputEventWithModifiers.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "InputEvent.hpp" namespace godot { diff --git a/include/gen/InputMap.hpp b/include/gen/InputMap.hpp index 924120ea..08109e07 100644 --- a/include/gen/InputMap.hpp +++ b/include/gen/InputMap.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class InputEvent; @@ -40,11 +40,13 @@ public: // methods bool has_action(const String action) const; Array get_actions(); - void add_action(const String action); + void add_action(const String action, const double deadzone = 0.5); void erase_action(const String action); + void action_set_deadzone(const String deadzone, const double arg1); void action_add_event(const String action, const Ref event); bool action_has_event(const String action, const Ref event); void action_erase_event(const String action, const Ref event); + void action_erase_events(const String action); Array get_action_list(const String action); bool event_is_action(const Ref event, const String action) const; void load_from_globals(); diff --git a/include/gen/InstancePlaceholder.hpp b/include/gen/InstancePlaceholder.hpp index 1f6765db..51af3c42 100644 --- a/include/gen/InstancePlaceholder.hpp +++ b/include/gen/InstancePlaceholder.hpp @@ -8,9 +8,10 @@ #include #include -#include +#include "Node.hpp" namespace godot { +class Node; class PackedScene; class InstancePlaceholder : public Node { @@ -27,6 +28,7 @@ public: // methods Dictionary get_stored_values(const bool with_order = false); + Node *create_instance(const bool replace = false, const Ref custom_scene = nullptr); void replace_by_instance(const Ref custom_scene = nullptr); String get_instance_path() const; diff --git a/include/gen/InterpolatedCamera.hpp b/include/gen/InterpolatedCamera.hpp index 269ea325..43fd0575 100644 --- a/include/gen/InterpolatedCamera.hpp +++ b/include/gen/InterpolatedCamera.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Camera.hpp" namespace godot { class Object; diff --git a/include/gen/ItemList.hpp b/include/gen/ItemList.hpp index 7cf0b66f..9a5f49c6 100644 --- a/include/gen/ItemList.hpp +++ b/include/gen/ItemList.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "ItemList.hpp" -#include +#include "Control.hpp" namespace godot { class Texture; @@ -48,6 +48,8 @@ public: Ref get_item_icon(const int64_t idx) const; void set_item_icon_region(const int64_t idx, const Rect2 rect); Rect2 get_item_icon_region(const int64_t idx) const; + void set_item_icon_modulate(const int64_t idx, const Color modulate); + Color get_item_icon_modulate(const int64_t idx) const; void set_item_selectable(const int64_t idx, const bool selectable); bool is_item_selectable(const int64_t idx) const; void set_item_disabled(const int64_t idx, const bool disabled); @@ -65,7 +67,7 @@ public: void unselect_all(); bool is_selected(const int64_t idx) const; PoolIntArray get_selected_items(); - void move_item(const int64_t p_from_idx, const int64_t p_to_idx); + void move_item(const int64_t from_idx, const int64_t to_idx); int64_t get_item_count() const; void remove_item(const int64_t idx); void clear(); diff --git a/include/gen/JSON.hpp b/include/gen/JSON.hpp index f9cde24f..316e4581 100644 --- a/include/gen/JSON.hpp +++ b/include/gen/JSON.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class JSONParseResult; diff --git a/include/gen/JSONParseResult.hpp b/include/gen/JSONParseResult.hpp index e0fafc36..d4bb54e3 100644 --- a/include/gen/JSONParseResult.hpp +++ b/include/gen/JSONParseResult.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/JavaScript.hpp b/include/gen/JavaScript.hpp index 7442c6e7..4bdb77ef 100644 --- a/include/gen/JavaScript.hpp +++ b/include/gen/JavaScript.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { diff --git a/include/gen/Joint.hpp b/include/gen/Joint.hpp index 7a577ad8..fd837cf4 100644 --- a/include/gen/Joint.hpp +++ b/include/gen/Joint.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/Joint2D.hpp b/include/gen/Joint2D.hpp index a96daacb..727783b9 100644 --- a/include/gen/Joint2D.hpp +++ b/include/gen/Joint2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { diff --git a/include/gen/KinematicBody.hpp b/include/gen/KinematicBody.hpp index 1a5a07fa..d5fd755d 100644 --- a/include/gen/KinematicBody.hpp +++ b/include/gen/KinematicBody.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PhysicsBody.hpp" namespace godot { class KinematicCollision; diff --git a/include/gen/KinematicBody2D.hpp b/include/gen/KinematicBody2D.hpp index b5103399..1246fce2 100644 --- a/include/gen/KinematicBody2D.hpp +++ b/include/gen/KinematicBody2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PhysicsBody2D.hpp" namespace godot { class KinematicCollision2D; diff --git a/include/gen/KinematicCollision.hpp b/include/gen/KinematicCollision.hpp index d8084dba..8cde39fa 100644 --- a/include/gen/KinematicCollision.hpp +++ b/include/gen/KinematicCollision.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Object; diff --git a/include/gen/KinematicCollision2D.hpp b/include/gen/KinematicCollision2D.hpp index ac5a7f8c..f1935d7a 100644 --- a/include/gen/KinematicCollision2D.hpp +++ b/include/gen/KinematicCollision2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Object; diff --git a/include/gen/Label.hpp b/include/gen/Label.hpp index 99581bf7..c5f4fd7a 100644 --- a/include/gen/Label.hpp +++ b/include/gen/Label.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Label.hpp" -#include +#include "Control.hpp" namespace godot { diff --git a/include/gen/LargeTexture.hpp b/include/gen/LargeTexture.hpp index 93aae7bd..bb734ef6 100644 --- a/include/gen/LargeTexture.hpp +++ b/include/gen/LargeTexture.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Texture.hpp" namespace godot { class Texture; diff --git a/include/gen/Light.hpp b/include/gen/Light.hpp index 740c0af2..2d831fb0 100644 --- a/include/gen/Light.hpp +++ b/include/gen/Light.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Light.hpp" -#include +#include "VisualInstance.hpp" namespace godot { diff --git a/include/gen/Light2D.hpp b/include/gen/Light2D.hpp index 98027861..880c9867 100644 --- a/include/gen/Light2D.hpp +++ b/include/gen/Light2D.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Light2D.hpp" -#include +#include "Node2D.hpp" namespace godot { class Texture; diff --git a/include/gen/LightOccluder2D.hpp b/include/gen/LightOccluder2D.hpp index bc44ad3e..7b1e755a 100644 --- a/include/gen/LightOccluder2D.hpp +++ b/include/gen/LightOccluder2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { class OccluderPolygon2D; diff --git a/include/gen/Line2D.hpp b/include/gen/Line2D.hpp index 2e6b7921..28270715 100644 --- a/include/gen/Line2D.hpp +++ b/include/gen/Line2D.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Line2D.hpp" -#include +#include "Node2D.hpp" namespace godot { class Gradient; diff --git a/include/gen/LineEdit.hpp b/include/gen/LineEdit.hpp index 568bb8c7..0e455c81 100644 --- a/include/gen/LineEdit.hpp +++ b/include/gen/LineEdit.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "LineEdit.hpp" -#include +#include "Control.hpp" namespace godot { class InputEvent; @@ -78,6 +78,8 @@ public: bool is_editable() const; void set_secret(const bool enabled); bool is_secret() const; + void set_secret_character(const String character); + String get_secret_character() const; void menu_option(const int64_t option); PopupMenu *get_menu() const; void set_context_menu_enabled(const bool enable); diff --git a/include/gen/LineShape2D.hpp b/include/gen/LineShape2D.hpp index 92d97da5..11b327b0 100644 --- a/include/gen/LineShape2D.hpp +++ b/include/gen/LineShape2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape2D.hpp" namespace godot { diff --git a/include/gen/LinkButton.hpp b/include/gen/LinkButton.hpp index 29be4afb..1a6abb68 100644 --- a/include/gen/LinkButton.hpp +++ b/include/gen/LinkButton.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "LinkButton.hpp" -#include +#include "BaseButton.hpp" namespace godot { diff --git a/include/gen/Listener.hpp b/include/gen/Listener.hpp index 04a0cadc..daf2769c 100644 --- a/include/gen/Listener.hpp +++ b/include/gen/Listener.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/MainLoop.hpp b/include/gen/MainLoop.hpp index 493a4105..1c3012e0 100644 --- a/include/gen/MainLoop.hpp +++ b/include/gen/MainLoop.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class InputEvent; diff --git a/include/gen/MarginContainer.hpp b/include/gen/MarginContainer.hpp index eeea183f..31d56237 100644 --- a/include/gen/MarginContainer.hpp +++ b/include/gen/MarginContainer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Container.hpp" namespace godot { diff --git a/include/gen/Marshalls.hpp b/include/gen/Marshalls.hpp index 7c3e1d5e..69d6aa9f 100644 --- a/include/gen/Marshalls.hpp +++ b/include/gen/Marshalls.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/Material.hpp b/include/gen/Material.hpp index 80dc7cec..8845851e 100644 --- a/include/gen/Material.hpp +++ b/include/gen/Material.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Material; diff --git a/include/gen/MenuButton.hpp b/include/gen/MenuButton.hpp index b920eead..550a845f 100644 --- a/include/gen/MenuButton.hpp +++ b/include/gen/MenuButton.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Button.hpp" namespace godot { class PopupMenu; diff --git a/include/gen/Mesh.hpp b/include/gen/Mesh.hpp index 3dec549f..bb0850f5 100644 --- a/include/gen/Mesh.hpp +++ b/include/gen/Mesh.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Shape; diff --git a/include/gen/MeshDataTool.hpp b/include/gen/MeshDataTool.hpp index 5a54f8b9..2b8c3b05 100644 --- a/include/gen/MeshDataTool.hpp +++ b/include/gen/MeshDataTool.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class ArrayMesh; diff --git a/include/gen/MeshInstance.hpp b/include/gen/MeshInstance.hpp index 89d2cc94..d6611e2e 100644 --- a/include/gen/MeshInstance.hpp +++ b/include/gen/MeshInstance.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "GeometryInstance.hpp" namespace godot { class Mesh; diff --git a/include/gen/MeshInstance2D.hpp b/include/gen/MeshInstance2D.hpp index 72a3cee4..03fe9b5a 100644 --- a/include/gen/MeshInstance2D.hpp +++ b/include/gen/MeshInstance2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { class Mesh; diff --git a/include/gen/MeshLibrary.hpp b/include/gen/MeshLibrary.hpp index 75e67c13..d8a8ab41 100644 --- a/include/gen/MeshLibrary.hpp +++ b/include/gen/MeshLibrary.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Mesh; diff --git a/include/gen/MultiMesh.hpp b/include/gen/MultiMesh.hpp index ce0030de..6a6e175c 100644 --- a/include/gen/MultiMesh.hpp +++ b/include/gen/MultiMesh.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "MultiMesh.hpp" -#include +#include "Resource.hpp" namespace godot { class Mesh; diff --git a/include/gen/MultiMeshInstance.hpp b/include/gen/MultiMeshInstance.hpp index 37a26ad2..289c8e79 100644 --- a/include/gen/MultiMeshInstance.hpp +++ b/include/gen/MultiMeshInstance.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "GeometryInstance.hpp" namespace godot { class MultiMesh; diff --git a/include/gen/Mutex.hpp b/include/gen/Mutex.hpp index 60fd866e..bdb66a9d 100644 --- a/include/gen/Mutex.hpp +++ b/include/gen/Mutex.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/NativeScript.hpp b/include/gen/NativeScript.hpp index 99e513af..2d29c183 100644 --- a/include/gen/NativeScript.hpp +++ b/include/gen/NativeScript.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Script.hpp" namespace godot { class GDNativeLibrary; diff --git a/include/gen/Navigation.hpp b/include/gen/Navigation.hpp index 37ee0a8b..c375011a 100644 --- a/include/gen/Navigation.hpp +++ b/include/gen/Navigation.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { class NavigationMesh; diff --git a/include/gen/Navigation2D.hpp b/include/gen/Navigation2D.hpp index 497cb313..2cbf8949 100644 --- a/include/gen/Navigation2D.hpp +++ b/include/gen/Navigation2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { class NavigationPolygon; diff --git a/include/gen/NavigationMesh.hpp b/include/gen/NavigationMesh.hpp index c1572080..1345e6b4 100644 --- a/include/gen/NavigationMesh.hpp +++ b/include/gen/NavigationMesh.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Mesh; diff --git a/include/gen/NavigationMeshInstance.hpp b/include/gen/NavigationMeshInstance.hpp index 8a1311da..2d1b664d 100644 --- a/include/gen/NavigationMeshInstance.hpp +++ b/include/gen/NavigationMeshInstance.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { class NavigationMesh; diff --git a/include/gen/NavigationPolygon.hpp b/include/gen/NavigationPolygon.hpp index 34912a22..335fe405 100644 --- a/include/gen/NavigationPolygon.hpp +++ b/include/gen/NavigationPolygon.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/NavigationPolygonInstance.hpp b/include/gen/NavigationPolygonInstance.hpp index c48761e7..4c77dd34 100644 --- a/include/gen/NavigationPolygonInstance.hpp +++ b/include/gen/NavigationPolygonInstance.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { class NavigationPolygon; diff --git a/include/gen/NetworkedMultiplayerENet.hpp b/include/gen/NetworkedMultiplayerENet.hpp index 1982f775..2896bdca 100644 --- a/include/gen/NetworkedMultiplayerENet.hpp +++ b/include/gen/NetworkedMultiplayerENet.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "NetworkedMultiplayerENet.hpp" -#include +#include "NetworkedMultiplayerPeer.hpp" namespace godot { @@ -37,11 +37,22 @@ public: // methods Error create_server(const int64_t port, const int64_t max_clients = 32, const int64_t in_bandwidth = 0, const int64_t out_bandwidth = 0); - Error create_client(const String ip, const int64_t port, const int64_t in_bandwidth = 0, const int64_t out_bandwidth = 0); - void close_connection(); + Error create_client(const String address, const int64_t port, const int64_t in_bandwidth = 0, const int64_t out_bandwidth = 0, const int64_t client_port = 0); + void close_connection(const int64_t wait_usec = 100); + void disconnect_peer(const int64_t id, const bool now = false); void set_compression_mode(const int64_t mode); NetworkedMultiplayerENet::CompressionMode get_compression_mode() const; void set_bind_ip(const String ip); + String get_peer_address(const int64_t id) const; + int64_t get_peer_port(const int64_t id) const; + int64_t get_packet_channel() const; + int64_t get_last_packet_channel() const; + void set_transfer_channel(const int64_t channel); + int64_t get_transfer_channel() const; + void set_channel_count(const int64_t channels); + int64_t get_channel_count() const; + void set_always_ordered(const bool ordered); + bool is_always_ordered() const; }; diff --git a/include/gen/NetworkedMultiplayerPeer.hpp b/include/gen/NetworkedMultiplayerPeer.hpp index edf28799..504c64db 100644 --- a/include/gen/NetworkedMultiplayerPeer.hpp +++ b/include/gen/NetworkedMultiplayerPeer.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "NetworkedMultiplayerPeer.hpp" -#include +#include "PacketPeer.hpp" namespace godot { diff --git a/include/gen/NinePatchRect.hpp b/include/gen/NinePatchRect.hpp index 3616f28c..f18de859 100644 --- a/include/gen/NinePatchRect.hpp +++ b/include/gen/NinePatchRect.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "NinePatchRect.hpp" -#include +#include "Control.hpp" namespace godot { class Texture; diff --git a/include/gen/Node.hpp b/include/gen/Node.hpp index af4f541f..fe6b0181 100644 --- a/include/gen/Node.hpp +++ b/include/gen/Node.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Node.hpp" -#include +#include "Object.hpp" namespace godot { class InputEvent; @@ -18,6 +18,7 @@ class Object; class Node; class SceneTree; class Viewport; +class MultiplayerAPI; class Node : public Object { public: @@ -108,6 +109,7 @@ public: void remove_and_skip(); int64_t get_index() const; void print_tree(); + void print_tree_pretty(); void set_filename(const String filename); String get_filename() const; void propagate_notification(const int64_t what); @@ -146,6 +148,9 @@ public: void set_network_master(const int64_t id, const bool recursive = true); int64_t get_network_master() const; bool is_network_master() const; + Ref get_multiplayer() const; + Ref get_custom_multiplayer() const; + void set_custom_multiplayer(const Ref api); void rpc_config(const String method, const int64_t mode); void rset_config(const String property, const int64_t mode); void _set_import_path(const NodePath import_path); diff --git a/include/gen/Node2D.hpp b/include/gen/Node2D.hpp index b7a8e690..cbcbe054 100644 --- a/include/gen/Node2D.hpp +++ b/include/gen/Node2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "CanvasItem.hpp" namespace godot { class Object; diff --git a/include/gen/OS.hpp b/include/gen/OS.hpp index 170f7f12..d062b7ed 100644 --- a/include/gen/OS.hpp +++ b/include/gen/OS.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "OS.hpp" -#include +#include "Object.hpp" namespace godot { class Image; @@ -91,9 +91,9 @@ public: void set_clipboard(const String clipboard); String get_clipboard() const; int64_t get_video_driver_count() const; - String get_video_driver_name(const int64_t arg0) const; + String get_video_driver_name(const int64_t driver) const; int64_t get_audio_driver_count() const; - String get_audio_driver_name(const int64_t arg0) const; + String get_audio_driver_name(const int64_t driver) const; int64_t get_screen_count() const; int64_t get_current_screen() const; void set_current_screen(const int64_t screen); @@ -104,6 +104,7 @@ public: void set_window_position(const Vector2 position); Vector2 get_window_size() const; void set_window_size(const Vector2 size); + Rect2 get_window_safe_area() const; void set_window_fullscreen(const bool enabled); bool is_window_fullscreen() const; void set_window_resizable(const bool enabled); @@ -119,6 +120,8 @@ public: void center_window(); void set_borderless_window(const bool borderless); bool get_borderless_window() const; + bool get_window_per_pixel_transparency_enabled() const; + void set_window_per_pixel_transparency_enabled(const bool enabled); void set_ime_position(const Vector2 position); void set_screen_orientation(const int64_t orientation); OS::ScreenOrientation get_screen_orientation() const; diff --git a/include/gen/OccluderPolygon2D.hpp b/include/gen/OccluderPolygon2D.hpp index db9595b0..3558efd4 100644 --- a/include/gen/OccluderPolygon2D.hpp +++ b/include/gen/OccluderPolygon2D.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "OccluderPolygon2D.hpp" -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/OmniLight.hpp b/include/gen/OmniLight.hpp index d185f1b5..27194e3a 100644 --- a/include/gen/OmniLight.hpp +++ b/include/gen/OmniLight.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "OmniLight.hpp" -#include +#include "Light.hpp" namespace godot { diff --git a/include/gen/OptionButton.hpp b/include/gen/OptionButton.hpp index 1a1fadcf..82d9c22b 100644 --- a/include/gen/OptionButton.hpp +++ b/include/gen/OptionButton.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Button.hpp" namespace godot { class Texture; @@ -33,7 +33,7 @@ public: void _selected(const int64_t arg0); void _focused(const int64_t arg0); void add_item(const String label, const int64_t id = -1); - void add_icon_item(const Ref texture, const String label, const int64_t id); + void add_icon_item(const Ref texture, const String label, const int64_t id = -1); void set_item_text(const int64_t idx, const String text); void set_item_icon(const int64_t idx, const Ref texture); void set_item_disabled(const int64_t idx, const bool disabled); diff --git a/include/gen/PCKPacker.hpp b/include/gen/PCKPacker.hpp index 62f7e3cb..86ea6a66 100644 --- a/include/gen/PCKPacker.hpp +++ b/include/gen/PCKPacker.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/PHashTranslation.hpp b/include/gen/PHashTranslation.hpp index b0268ed9..97803330 100644 --- a/include/gen/PHashTranslation.hpp +++ b/include/gen/PHashTranslation.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Translation.hpp" namespace godot { class Translation; diff --git a/include/gen/PackedDataContainer.hpp b/include/gen/PackedDataContainer.hpp index 0325df49..32c9620f 100644 --- a/include/gen/PackedDataContainer.hpp +++ b/include/gen/PackedDataContainer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/PackedDataContainerRef.hpp b/include/gen/PackedDataContainerRef.hpp index 1ef019ab..3554ce7b 100644 --- a/include/gen/PackedDataContainerRef.hpp +++ b/include/gen/PackedDataContainerRef.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/PackedScene.hpp b/include/gen/PackedScene.hpp index 2a4147a4..b616602d 100644 --- a/include/gen/PackedScene.hpp +++ b/include/gen/PackedScene.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Object; diff --git a/include/gen/PacketPeer.hpp b/include/gen/PacketPeer.hpp index cf30941e..6327bd93 100644 --- a/include/gen/PacketPeer.hpp +++ b/include/gen/PacketPeer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/PacketPeerStream.hpp b/include/gen/PacketPeerStream.hpp index 13f1e0f3..2696d5ce 100644 --- a/include/gen/PacketPeerStream.hpp +++ b/include/gen/PacketPeerStream.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PacketPeer.hpp" namespace godot { class StreamPeer; diff --git a/include/gen/PacketPeerUDP.hpp b/include/gen/PacketPeerUDP.hpp index 45cccff2..c925aec3 100644 --- a/include/gen/PacketPeerUDP.hpp +++ b/include/gen/PacketPeerUDP.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PacketPeer.hpp" namespace godot { diff --git a/include/gen/Panel.hpp b/include/gen/Panel.hpp index 4a2a4f7f..1c6c63e8 100644 --- a/include/gen/Panel.hpp +++ b/include/gen/Panel.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Control.hpp" namespace godot { diff --git a/include/gen/PanelContainer.hpp b/include/gen/PanelContainer.hpp index 409ca623..3c4626ab 100644 --- a/include/gen/PanelContainer.hpp +++ b/include/gen/PanelContainer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Container.hpp" namespace godot { diff --git a/include/gen/PanoramaSky.hpp b/include/gen/PanoramaSky.hpp index 3322bc44..c288b617 100644 --- a/include/gen/PanoramaSky.hpp +++ b/include/gen/PanoramaSky.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Sky.hpp" namespace godot { class Texture; diff --git a/include/gen/ParallaxBackground.hpp b/include/gen/ParallaxBackground.hpp index 07cb2ed0..60f1ff32 100644 --- a/include/gen/ParallaxBackground.hpp +++ b/include/gen/ParallaxBackground.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "CanvasLayer.hpp" namespace godot { diff --git a/include/gen/ParallaxLayer.hpp b/include/gen/ParallaxLayer.hpp index df98f84a..e8e3ffa6 100644 --- a/include/gen/ParallaxLayer.hpp +++ b/include/gen/ParallaxLayer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { diff --git a/include/gen/Particles.hpp b/include/gen/Particles.hpp index 3e785a2f..96322504 100644 --- a/include/gen/Particles.hpp +++ b/include/gen/Particles.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Particles.hpp" -#include +#include "GeometryInstance.hpp" namespace godot { class Material; diff --git a/include/gen/Particles2D.hpp b/include/gen/Particles2D.hpp index c14180f8..8471db38 100644 --- a/include/gen/Particles2D.hpp +++ b/include/gen/Particles2D.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Particles2D.hpp" -#include +#include "Node2D.hpp" namespace godot { class Material; diff --git a/include/gen/ParticlesMaterial.hpp b/include/gen/ParticlesMaterial.hpp index f46fd2f0..06c9fe73 100644 --- a/include/gen/ParticlesMaterial.hpp +++ b/include/gen/ParticlesMaterial.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "ParticlesMaterial.hpp" -#include +#include "Material.hpp" namespace godot { class Texture; diff --git a/include/gen/Path.hpp b/include/gen/Path.hpp index c8e3dc04..25d437b7 100644 --- a/include/gen/Path.hpp +++ b/include/gen/Path.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { class Curve3D; diff --git a/include/gen/Path2D.hpp b/include/gen/Path2D.hpp index 738c42db..5538f971 100644 --- a/include/gen/Path2D.hpp +++ b/include/gen/Path2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { class Curve2D; diff --git a/include/gen/PathFollow.hpp b/include/gen/PathFollow.hpp index 2071ed32..8e6acd5e 100644 --- a/include/gen/PathFollow.hpp +++ b/include/gen/PathFollow.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "PathFollow.hpp" -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/PathFollow2D.hpp b/include/gen/PathFollow2D.hpp index 9399c54c..d17e695d 100644 --- a/include/gen/PathFollow2D.hpp +++ b/include/gen/PathFollow2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { diff --git a/include/gen/Performance.hpp b/include/gen/Performance.hpp index 6aceda16..97bfaf47 100644 --- a/include/gen/Performance.hpp +++ b/include/gen/Performance.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { diff --git a/include/gen/Physics2DDirectBodyState.hpp b/include/gen/Physics2DDirectBodyState.hpp index f69f18e0..41d901fb 100644 --- a/include/gen/Physics2DDirectBodyState.hpp +++ b/include/gen/Physics2DDirectBodyState.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class Object; diff --git a/include/gen/Physics2DDirectBodyStateSW.hpp b/include/gen/Physics2DDirectBodyStateSW.hpp index 1ba6da59..4586662e 100644 --- a/include/gen/Physics2DDirectBodyStateSW.hpp +++ b/include/gen/Physics2DDirectBodyStateSW.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Physics2DDirectBodyState.hpp" namespace godot { diff --git a/include/gen/Physics2DDirectSpaceState.hpp b/include/gen/Physics2DDirectSpaceState.hpp index 082411e9..9649de28 100644 --- a/include/gen/Physics2DDirectSpaceState.hpp +++ b/include/gen/Physics2DDirectSpaceState.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class Physics2DShapeQueryParameters; diff --git a/include/gen/Physics2DServer.hpp b/include/gen/Physics2DServer.hpp index 92dcfac1..2d3e287e 100644 --- a/include/gen/Physics2DServer.hpp +++ b/include/gen/Physics2DServer.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Physics2DServer.hpp" -#include +#include "Object.hpp" namespace godot { class Physics2DDirectSpaceState; diff --git a/include/gen/Physics2DServerSW.hpp b/include/gen/Physics2DServerSW.hpp index d681e8f1..f1130789 100644 --- a/include/gen/Physics2DServerSW.hpp +++ b/include/gen/Physics2DServerSW.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Physics2DServer.hpp" namespace godot { diff --git a/include/gen/Physics2DShapeQueryParameters.hpp b/include/gen/Physics2DShapeQueryParameters.hpp index 1546a3b0..f3618ae8 100644 --- a/include/gen/Physics2DShapeQueryParameters.hpp +++ b/include/gen/Physics2DShapeQueryParameters.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Resource; diff --git a/include/gen/Physics2DShapeQueryResult.hpp b/include/gen/Physics2DShapeQueryResult.hpp index dfe43519..8dee6996 100644 --- a/include/gen/Physics2DShapeQueryResult.hpp +++ b/include/gen/Physics2DShapeQueryResult.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Object; diff --git a/include/gen/Physics2DTestMotionResult.hpp b/include/gen/Physics2DTestMotionResult.hpp index d1fd0cb5..36ff75bb 100644 --- a/include/gen/Physics2DTestMotionResult.hpp +++ b/include/gen/Physics2DTestMotionResult.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Object; diff --git a/include/gen/PhysicsBody.hpp b/include/gen/PhysicsBody.hpp index 433632fd..e75f9e12 100644 --- a/include/gen/PhysicsBody.hpp +++ b/include/gen/PhysicsBody.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "CollisionObject.hpp" namespace godot { class Object; diff --git a/include/gen/PhysicsBody2D.hpp b/include/gen/PhysicsBody2D.hpp index 7ecccb09..66b32686 100644 --- a/include/gen/PhysicsBody2D.hpp +++ b/include/gen/PhysicsBody2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "CollisionObject2D.hpp" namespace godot { class Object; diff --git a/include/gen/PhysicsDirectBodyState.hpp b/include/gen/PhysicsDirectBodyState.hpp index 0670bbaa..be042e8f 100644 --- a/include/gen/PhysicsDirectBodyState.hpp +++ b/include/gen/PhysicsDirectBodyState.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class Object; diff --git a/include/gen/PhysicsDirectSpaceState.hpp b/include/gen/PhysicsDirectSpaceState.hpp index 97c4e28d..e13d3108 100644 --- a/include/gen/PhysicsDirectSpaceState.hpp +++ b/include/gen/PhysicsDirectSpaceState.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class PhysicsShapeQueryParameters; diff --git a/include/gen/PhysicsServer.hpp b/include/gen/PhysicsServer.hpp index 54db2979..c5482870 100644 --- a/include/gen/PhysicsServer.hpp +++ b/include/gen/PhysicsServer.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "PhysicsServer.hpp" -#include +#include "Object.hpp" namespace godot { class PhysicsDirectSpaceState; @@ -119,19 +119,21 @@ public: }; enum G6DOFJointAxisParam { G6DOF_JOINT_LINEAR_LIMIT_SOFTNESS = 2, - G6DOF_JOINT_ANGULAR_RESTITUTION = 9, + G6DOF_JOINT_ANGULAR_RESTITUTION = 11, + G6DOF_JOINT_LINEAR_MOTOR_FORCE_LIMIT = 6, G6DOF_JOINT_LINEAR_DAMPING = 4, G6DOF_JOINT_LINEAR_LOWER_LIMIT = 0, G6DOF_JOINT_LINEAR_RESTITUTION = 3, - G6DOF_JOINT_ANGULAR_FORCE_LIMIT = 10, - G6DOF_JOINT_ANGULAR_LOWER_LIMIT = 5, - G6DOF_JOINT_ANGULAR_UPPER_LIMIT = 6, - G6DOF_JOINT_ANGULAR_LIMIT_SOFTNESS = 7, - G6DOF_JOINT_ANGULAR_MOTOR_TARGET_VELOCITY = 12, - G6DOF_JOINT_ANGULAR_ERP = 11, - G6DOF_JOINT_ANGULAR_DAMPING = 8, + G6DOF_JOINT_ANGULAR_FORCE_LIMIT = 12, + G6DOF_JOINT_ANGULAR_LOWER_LIMIT = 7, + G6DOF_JOINT_ANGULAR_UPPER_LIMIT = 8, + G6DOF_JOINT_ANGULAR_LIMIT_SOFTNESS = 9, + G6DOF_JOINT_LINEAR_MOTOR_TARGET_VELOCITY = 5, + G6DOF_JOINT_ANGULAR_MOTOR_TARGET_VELOCITY = 14, + G6DOF_JOINT_ANGULAR_ERP = 13, + G6DOF_JOINT_ANGULAR_DAMPING = 10, G6DOF_JOINT_LINEAR_UPPER_LIMIT = 1, - G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT = 13, + G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT = 15, }; enum SliderJointParam { SLIDER_JOINT_LINEAR_MOTION_RESTITUTION = 6, @@ -172,6 +174,7 @@ public: G6DOF_JOINT_FLAG_ENABLE_ANGULAR_LIMIT = 1, G6DOF_JOINT_FLAG_ENABLE_MOTOR = 2, G6DOF_JOINT_FLAG_ENABLE_LINEAR_LIMIT = 0, + G6DOF_JOINT_FLAG_ENABLE_LINEAR_MOTOR = 3, }; enum HingeJointFlag { HINGE_JOINT_FLAG_ENABLE_MOTOR = 1, diff --git a/include/gen/PhysicsShapeQueryParameters.hpp b/include/gen/PhysicsShapeQueryParameters.hpp index dd8fea8c..e3b8b049 100644 --- a/include/gen/PhysicsShapeQueryParameters.hpp +++ b/include/gen/PhysicsShapeQueryParameters.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Resource; diff --git a/include/gen/PhysicsShapeQueryResult.hpp b/include/gen/PhysicsShapeQueryResult.hpp index 6eb3cbf3..8d74a7f5 100644 --- a/include/gen/PhysicsShapeQueryResult.hpp +++ b/include/gen/PhysicsShapeQueryResult.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Object; diff --git a/include/gen/PinJoint.hpp b/include/gen/PinJoint.hpp index 37af6db9..642d30b8 100644 --- a/include/gen/PinJoint.hpp +++ b/include/gen/PinJoint.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Joint.hpp" namespace godot { diff --git a/include/gen/PinJoint2D.hpp b/include/gen/PinJoint2D.hpp index dcf55ffb..1b109e29 100644 --- a/include/gen/PinJoint2D.hpp +++ b/include/gen/PinJoint2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Joint2D.hpp" namespace godot { diff --git a/include/gen/PlaneMesh.hpp b/include/gen/PlaneMesh.hpp index e6bffec3..0475455f 100644 --- a/include/gen/PlaneMesh.hpp +++ b/include/gen/PlaneMesh.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PrimitiveMesh.hpp" namespace godot { diff --git a/include/gen/PlaneShape.hpp b/include/gen/PlaneShape.hpp index 5e5f295d..876f8a2e 100644 --- a/include/gen/PlaneShape.hpp +++ b/include/gen/PlaneShape.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape.hpp" namespace godot { diff --git a/include/gen/PluginScript.hpp b/include/gen/PluginScript.hpp index f3efd4ba..d8b60ab0 100644 --- a/include/gen/PluginScript.hpp +++ b/include/gen/PluginScript.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Script.hpp" namespace godot { diff --git a/include/gen/Polygon2D.hpp b/include/gen/Polygon2D.hpp index 155891e3..34d798f2 100644 --- a/include/gen/Polygon2D.hpp +++ b/include/gen/Polygon2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { class Texture; @@ -57,6 +57,18 @@ public: double get_invert_border() const; void set_offset(const Vector2 offset); Vector2 get_offset() const; + void add_bone(const NodePath path, const PoolRealArray weights); + int64_t get_bone_count() const; + NodePath get_bone_path(const int64_t index) const; + PoolRealArray get_bone_weights(const int64_t index) const; + void erase_bone(const int64_t index); + void clear_bones(); + void set_bone_path(const int64_t index, const NodePath path); + void set_bone_weights(const int64_t index, const PoolRealArray weights); + void set_skeleton(const NodePath skeleton); + NodePath get_skeleton() const; + void _set_bones(const Array bones); + Array _get_bones() const; }; diff --git a/include/gen/PolygonPathFinder.hpp b/include/gen/PolygonPathFinder.hpp index c3ac2f3a..8e730821 100644 --- a/include/gen/PolygonPathFinder.hpp +++ b/include/gen/PolygonPathFinder.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/Popup.hpp b/include/gen/Popup.hpp index c039f2d4..a28402cb 100644 --- a/include/gen/Popup.hpp +++ b/include/gen/Popup.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Control.hpp" namespace godot { diff --git a/include/gen/PopupDialog.hpp b/include/gen/PopupDialog.hpp index 83371989..fa3fb080 100644 --- a/include/gen/PopupDialog.hpp +++ b/include/gen/PopupDialog.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Popup.hpp" namespace godot { diff --git a/include/gen/PopupMenu.hpp b/include/gen/PopupMenu.hpp index aff9a972..f0420d27 100644 --- a/include/gen/PopupMenu.hpp +++ b/include/gen/PopupMenu.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Popup.hpp" namespace godot { class InputEvent; @@ -36,11 +36,13 @@ public: void add_item(const String label, const int64_t id = -1, const int64_t accel = 0); void add_icon_check_item(const Ref texture, const String label, const int64_t id = -1, const int64_t accel = 0); void add_check_item(const String label, const int64_t id = -1, const int64_t accel = 0); + void add_radio_check_item(const String label, const int64_t id = -1, const int64_t accel = 0); void add_submenu_item(const String label, const String submenu, const int64_t id = -1); void add_icon_shortcut(const Ref texture, const Ref shortcut, const int64_t id = -1, const bool global = false); void add_shortcut(const Ref shortcut, const int64_t id = -1, const bool global = false); void add_icon_check_shortcut(const Ref texture, const Ref shortcut, const int64_t id = -1, const bool global = false); void add_check_shortcut(const Ref shortcut, const int64_t id = -1, const bool global = false); + void add_radio_check_shortcut(const Ref shortcut, const int64_t id = -1, const bool global = false); void set_item_text(const int64_t idx, const String text); void set_item_icon(const int64_t idx, const Ref icon); void set_item_checked(const int64_t idx, const bool checked); @@ -51,6 +53,7 @@ public: void set_item_submenu(const int64_t idx, const String submenu); void set_item_as_separator(const int64_t idx, const bool enable); void set_item_as_checkable(const int64_t idx, const bool enable); + void set_item_as_radio_checkable(const int64_t idx, const bool enable); void set_item_tooltip(const int64_t idx, const String tooltip); void set_item_shortcut(const int64_t idx, const Ref shortcut, const bool global = false); void set_item_multistate(const int64_t idx, const int64_t state); @@ -67,6 +70,7 @@ public: String get_item_submenu(const int64_t idx) const; bool is_item_separator(const int64_t idx) const; bool is_item_checkable(const int64_t idx) const; + bool is_item_radio_checkable(const int64_t idx) const; String get_item_tooltip(const int64_t idx) const; Ref get_item_shortcut(const int64_t idx) const; int64_t get_item_count() const; diff --git a/include/gen/PopupPanel.hpp b/include/gen/PopupPanel.hpp index 092e16c1..a066c04d 100644 --- a/include/gen/PopupPanel.hpp +++ b/include/gen/PopupPanel.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Popup.hpp" namespace godot { diff --git a/include/gen/Position2D.hpp b/include/gen/Position2D.hpp index 58fbb8de..f22bae54 100644 --- a/include/gen/Position2D.hpp +++ b/include/gen/Position2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { diff --git a/include/gen/Position3D.hpp b/include/gen/Position3D.hpp index 73cabcc1..7af5621d 100644 --- a/include/gen/Position3D.hpp +++ b/include/gen/Position3D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/PrimitiveMesh.hpp b/include/gen/PrimitiveMesh.hpp index dfec1bc8..cb5df107 100644 --- a/include/gen/PrimitiveMesh.hpp +++ b/include/gen/PrimitiveMesh.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Mesh.hpp" namespace godot { class Material; @@ -30,6 +30,10 @@ public: void set_material(const Ref material); Ref get_material() const; Array get_mesh_arrays() const; + void set_custom_aabb(const AABB aabb); + AABB get_custom_aabb() const; + void set_flip_faces(const bool flip_faces); + bool get_flip_faces() const; }; diff --git a/include/gen/PrismMesh.hpp b/include/gen/PrismMesh.hpp index 313fb48b..c15ae859 100644 --- a/include/gen/PrismMesh.hpp +++ b/include/gen/PrismMesh.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PrimitiveMesh.hpp" namespace godot { diff --git a/include/gen/ProceduralSky.hpp b/include/gen/ProceduralSky.hpp index 988a99c4..7a1b01ae 100644 --- a/include/gen/ProceduralSky.hpp +++ b/include/gen/ProceduralSky.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "ProceduralSky.hpp" -#include +#include "Sky.hpp" namespace godot { class Image; diff --git a/include/gen/ProgressBar.hpp b/include/gen/ProgressBar.hpp index 0e4e0f2e..bb47c3ff 100644 --- a/include/gen/ProgressBar.hpp +++ b/include/gen/ProgressBar.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Range.hpp" namespace godot { diff --git a/include/gen/ProjectSettings.hpp b/include/gen/ProjectSettings.hpp index 76e33f92..17a2abc7 100644 --- a/include/gen/ProjectSettings.hpp +++ b/include/gen/ProjectSettings.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { diff --git a/include/gen/ProximityGroup.hpp b/include/gen/ProximityGroup.hpp index 71bd0d8c..7c74f79e 100644 --- a/include/gen/ProximityGroup.hpp +++ b/include/gen/ProximityGroup.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "ProximityGroup.hpp" -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/ProxyTexture.hpp b/include/gen/ProxyTexture.hpp index eead79fb..a5862005 100644 --- a/include/gen/ProxyTexture.hpp +++ b/include/gen/ProxyTexture.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Texture.hpp" namespace godot { class Texture; diff --git a/include/gen/QuadMesh.hpp b/include/gen/QuadMesh.hpp index d329ecd6..479d4084 100644 --- a/include/gen/QuadMesh.hpp +++ b/include/gen/QuadMesh.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PrimitiveMesh.hpp" namespace godot { diff --git a/include/gen/Range.hpp b/include/gen/Range.hpp index 0d7f01a7..64e5acb1 100644 --- a/include/gen/Range.hpp +++ b/include/gen/Range.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Control.hpp" namespace godot { class Object; diff --git a/include/gen/RayCast.hpp b/include/gen/RayCast.hpp index 82e3f3a7..03ac7077 100644 --- a/include/gen/RayCast.hpp +++ b/include/gen/RayCast.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { class Object; diff --git a/include/gen/RayCast2D.hpp b/include/gen/RayCast2D.hpp index d228d3a0..3f3581fa 100644 --- a/include/gen/RayCast2D.hpp +++ b/include/gen/RayCast2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { class Object; diff --git a/include/gen/RayShape.hpp b/include/gen/RayShape.hpp index b956c28b..b8cb8e1e 100644 --- a/include/gen/RayShape.hpp +++ b/include/gen/RayShape.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape.hpp" namespace godot { diff --git a/include/gen/RayShape2D.hpp b/include/gen/RayShape2D.hpp index 123b008c..489614e1 100644 --- a/include/gen/RayShape2D.hpp +++ b/include/gen/RayShape2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape2D.hpp" namespace godot { diff --git a/include/gen/RectangleShape2D.hpp b/include/gen/RectangleShape2D.hpp index b7baa50b..8e5d1874 100644 --- a/include/gen/RectangleShape2D.hpp +++ b/include/gen/RectangleShape2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape2D.hpp" namespace godot { diff --git a/include/gen/Reference.hpp b/include/gen/Reference.hpp index 2e85575b..29055c0e 100644 --- a/include/gen/Reference.hpp +++ b/include/gen/Reference.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { diff --git a/include/gen/ReferenceRect.hpp b/include/gen/ReferenceRect.hpp index 661af2f6..25b57d71 100644 --- a/include/gen/ReferenceRect.hpp +++ b/include/gen/ReferenceRect.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Control.hpp" namespace godot { diff --git a/include/gen/ReflectionProbe.hpp b/include/gen/ReflectionProbe.hpp index 7f03c20d..501cfa62 100644 --- a/include/gen/ReflectionProbe.hpp +++ b/include/gen/ReflectionProbe.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "ReflectionProbe.hpp" -#include +#include "VisualInstance.hpp" namespace godot { diff --git a/include/gen/RegEx.hpp b/include/gen/RegEx.hpp index 4fc97cd4..f0798c9f 100644 --- a/include/gen/RegEx.hpp +++ b/include/gen/RegEx.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class RegExMatch; diff --git a/include/gen/RegExMatch.hpp b/include/gen/RegExMatch.hpp index 0b87e8cb..b67b810c 100644 --- a/include/gen/RegExMatch.hpp +++ b/include/gen/RegExMatch.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/RemoteTransform.hpp b/include/gen/RemoteTransform.hpp index d26ae0d7..596d2f03 100644 --- a/include/gen/RemoteTransform.hpp +++ b/include/gen/RemoteTransform.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/RemoteTransform2D.hpp b/include/gen/RemoteTransform2D.hpp index 9181d213..8bce57b5 100644 --- a/include/gen/RemoteTransform2D.hpp +++ b/include/gen/RemoteTransform2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { diff --git a/include/gen/Resource.hpp b/include/gen/Resource.hpp index 71a34ed8..98a2a88c 100644 --- a/include/gen/Resource.hpp +++ b/include/gen/Resource.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Node; diff --git a/include/gen/ResourceImporter.hpp b/include/gen/ResourceImporter.hpp index c3562159..a70afbb3 100644 --- a/include/gen/ResourceImporter.hpp +++ b/include/gen/ResourceImporter.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/ResourceImporterOGGVorbis.hpp b/include/gen/ResourceImporterOGGVorbis.hpp index c90c48d6..7b9887ae 100644 --- a/include/gen/ResourceImporterOGGVorbis.hpp +++ b/include/gen/ResourceImporterOGGVorbis.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "ResourceImporter.hpp" namespace godot { diff --git a/include/gen/ResourceImporterTheora.hpp b/include/gen/ResourceImporterTheora.hpp index 9017437e..7c360941 100644 --- a/include/gen/ResourceImporterTheora.hpp +++ b/include/gen/ResourceImporterTheora.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "ResourceImporter.hpp" namespace godot { diff --git a/include/gen/ResourceImporterWebm.hpp b/include/gen/ResourceImporterWebm.hpp index ced4d251..7606da08 100644 --- a/include/gen/ResourceImporterWebm.hpp +++ b/include/gen/ResourceImporterWebm.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "ResourceImporter.hpp" namespace godot { diff --git a/include/gen/ResourceInteractiveLoader.hpp b/include/gen/ResourceInteractiveLoader.hpp index 895e9596..cce6de02 100644 --- a/include/gen/ResourceInteractiveLoader.hpp +++ b/include/gen/ResourceInteractiveLoader.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Resource; diff --git a/include/gen/ResourceLoader.hpp b/include/gen/ResourceLoader.hpp index ecc6f602..eba4cbc2 100644 --- a/include/gen/ResourceLoader.hpp +++ b/include/gen/ResourceLoader.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class ResourceInteractiveLoader; diff --git a/include/gen/ResourcePreloader.hpp b/include/gen/ResourcePreloader.hpp index 50c38d2e..ce9d3b92 100644 --- a/include/gen/ResourcePreloader.hpp +++ b/include/gen/ResourcePreloader.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node.hpp" namespace godot { class Resource; diff --git a/include/gen/ResourceSaver.hpp b/include/gen/ResourceSaver.hpp index 615046f3..c6cc8cf2 100644 --- a/include/gen/ResourceSaver.hpp +++ b/include/gen/ResourceSaver.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class Resource; diff --git a/include/gen/RichTextLabel.hpp b/include/gen/RichTextLabel.hpp index a22d4d39..3df35697 100644 --- a/include/gen/RichTextLabel.hpp +++ b/include/gen/RichTextLabel.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Control.hpp" namespace godot { class InputEvent; @@ -104,6 +104,7 @@ public: bool is_using_bbcode() const; int64_t get_line_count() const; int64_t get_visible_line_count() const; + int64_t get_content_height(); }; diff --git a/include/gen/RigidBody.hpp b/include/gen/RigidBody.hpp index 02524e68..9731d4ba 100644 --- a/include/gen/RigidBody.hpp +++ b/include/gen/RigidBody.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "RigidBody.hpp" -#include +#include "PhysicsBody.hpp" namespace godot { class PhysicsDirectBodyState; diff --git a/include/gen/RigidBody2D.hpp b/include/gen/RigidBody2D.hpp index 5526ccd8..54827fa7 100644 --- a/include/gen/RigidBody2D.hpp +++ b/include/gen/RigidBody2D.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "RigidBody2D.hpp" -#include +#include "PhysicsBody2D.hpp" namespace godot { class Physics2DDirectBodyState; diff --git a/include/gen/SceneState.hpp b/include/gen/SceneState.hpp index 010d13a3..58950c41 100644 --- a/include/gen/SceneState.hpp +++ b/include/gen/SceneState.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class PackedScene; diff --git a/include/gen/SceneTree.hpp b/include/gen/SceneTree.hpp index 4c2ac1a5..84d42ab4 100644 --- a/include/gen/SceneTree.hpp +++ b/include/gen/SceneTree.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "MainLoop.hpp" namespace godot { class Viewport; @@ -16,6 +16,7 @@ class Object; class Node; class SceneTreeTimer; class PackedScene; +class MultiplayerAPI; class NetworkedMultiplayerPeer; class SceneTree : public MainLoop { @@ -85,6 +86,8 @@ public: Error change_scene_to(const Ref packed_scene); Error reload_current_scene(); void _change_scene(const Object *arg0); + void set_multiplayer(const Ref multiplayer); + Ref get_multiplayer() const; void set_network_peer(const Ref peer); Ref get_network_peer() const; bool is_network_server() const; diff --git a/include/gen/SceneTreeTimer.hpp b/include/gen/SceneTreeTimer.hpp index ed86e646..a9b01fd3 100644 --- a/include/gen/SceneTreeTimer.hpp +++ b/include/gen/SceneTreeTimer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/Script.hpp b/include/gen/Script.hpp index d528c12b..48ca1197 100644 --- a/include/gen/Script.hpp +++ b/include/gen/Script.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Object; diff --git a/include/gen/ScriptEditor.hpp b/include/gen/ScriptEditor.hpp index 5ecb2053..194639fd 100644 --- a/include/gen/ScriptEditor.hpp +++ b/include/gen/ScriptEditor.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PanelContainer.hpp" namespace godot { class Object; @@ -74,6 +74,10 @@ public: void _script_list_gui_input(const Ref arg0); void _script_changed(); void _update_recent_scripts(); + void _on_find_in_files_requested(const String arg0); + void _start_find_in_files(const bool arg0); + void _on_find_in_files_result_selected(const String arg0, const int64_t arg1, const int64_t arg2, const int64_t arg3); + void _on_find_in_files_modified_files(const PoolStringArray arg0); Variant get_drag_data_fw(const Vector2 point, const Object *from); bool can_drop_data_fw(const Vector2 point, const Variant data, const Object *from) const; void drop_data_fw(const Vector2 point, const Variant data, const Object *from); diff --git a/include/gen/ScrollBar.hpp b/include/gen/ScrollBar.hpp index f0248537..8e86f7ea 100644 --- a/include/gen/ScrollBar.hpp +++ b/include/gen/ScrollBar.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Range.hpp" namespace godot { class InputEvent; diff --git a/include/gen/ScrollContainer.hpp b/include/gen/ScrollContainer.hpp index dee1483d..ed2d594e 100644 --- a/include/gen/ScrollContainer.hpp +++ b/include/gen/ScrollContainer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Container.hpp" namespace godot { class InputEvent; @@ -40,6 +40,8 @@ public: int64_t get_h_scroll() const; void set_v_scroll(const int64_t value); int64_t get_v_scroll() const; + void set_deadzone(const int64_t deadzone); + int64_t get_deadzone() const; }; diff --git a/include/gen/SegmentShape2D.hpp b/include/gen/SegmentShape2D.hpp index c79ff358..16f58653 100644 --- a/include/gen/SegmentShape2D.hpp +++ b/include/gen/SegmentShape2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape2D.hpp" namespace godot { diff --git a/include/gen/Semaphore.hpp b/include/gen/Semaphore.hpp index a4cc56d2..c8ac9610 100644 --- a/include/gen/Semaphore.hpp +++ b/include/gen/Semaphore.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/Separator.hpp b/include/gen/Separator.hpp index 1f356801..2d89a6f5 100644 --- a/include/gen/Separator.hpp +++ b/include/gen/Separator.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Control.hpp" namespace godot { diff --git a/include/gen/Shader.hpp b/include/gen/Shader.hpp index 46bb4958..17669606 100644 --- a/include/gen/Shader.hpp +++ b/include/gen/Shader.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Shader.hpp" -#include +#include "Resource.hpp" namespace godot { class Texture; diff --git a/include/gen/ShaderMaterial.hpp b/include/gen/ShaderMaterial.hpp index f69d77dd..9ea1497a 100644 --- a/include/gen/ShaderMaterial.hpp +++ b/include/gen/ShaderMaterial.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Material.hpp" namespace godot { class Shader; diff --git a/include/gen/Shape.hpp b/include/gen/Shape.hpp index b31a1c8c..b4b60447 100644 --- a/include/gen/Shape.hpp +++ b/include/gen/Shape.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/Shape2D.hpp b/include/gen/Shape2D.hpp index dc211636..b99c8760 100644 --- a/include/gen/Shape2D.hpp +++ b/include/gen/Shape2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Shape2D; diff --git a/include/gen/ShortCut.hpp b/include/gen/ShortCut.hpp index 85106db3..1286383f 100644 --- a/include/gen/ShortCut.hpp +++ b/include/gen/ShortCut.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class InputEvent; diff --git a/include/gen/Skeleton.hpp b/include/gen/Skeleton.hpp index 31f69c75..8588d7aa 100644 --- a/include/gen/Skeleton.hpp +++ b/include/gen/Skeleton.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { class Object; @@ -52,6 +52,9 @@ public: Transform get_bone_custom_pose(const int64_t bone_idx) const; void set_bone_custom_pose(const int64_t bone_idx, const Transform custom_pose); Transform get_bone_transform(const int64_t bone_idx) const; + void physical_bones_simulation(const bool start); + void physical_bones_add_collision_exception(const RID exception); + void physical_bones_remove_collision_exception(const RID exception); }; diff --git a/include/gen/Sky.hpp b/include/gen/Sky.hpp index 5f639cff..f7841fbc 100644 --- a/include/gen/Sky.hpp +++ b/include/gen/Sky.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Sky.hpp" -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/Slider.hpp b/include/gen/Slider.hpp index d1355369..43386d6a 100644 --- a/include/gen/Slider.hpp +++ b/include/gen/Slider.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Range.hpp" namespace godot { class InputEvent; diff --git a/include/gen/SliderJoint.hpp b/include/gen/SliderJoint.hpp index 3e7888f1..6ce49915 100644 --- a/include/gen/SliderJoint.hpp +++ b/include/gen/SliderJoint.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Joint.hpp" namespace godot { diff --git a/include/gen/Spatial.hpp b/include/gen/Spatial.hpp index 120206f9..ab5776c3 100644 --- a/include/gen/Spatial.hpp +++ b/include/gen/Spatial.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node.hpp" namespace godot { class Spatial; diff --git a/include/gen/SpatialGizmo.hpp b/include/gen/SpatialGizmo.hpp index e09c87dd..0ab49fab 100644 --- a/include/gen/SpatialGizmo.hpp +++ b/include/gen/SpatialGizmo.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/SpatialMaterial.hpp b/include/gen/SpatialMaterial.hpp index 02aa2e6b..2edde491 100644 --- a/include/gen/SpatialMaterial.hpp +++ b/include/gen/SpatialMaterial.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "SpatialMaterial.hpp" -#include +#include "Material.hpp" namespace godot { class Texture; @@ -61,9 +61,10 @@ public: FLAG_UV1_USE_TRIPLANAR = 7, FLAG_USE_VERTEX_LIGHTING = 1, FLAG_USE_POINT_SIZE = 5, + FLAG_MAX = 15, FLAG_ALBEDO_TEXTURE_FORCE_SRGB = 13, FLAG_EMISSION_ON_UV2 = 11, - FLAG_MAX = 14, + FLAG_DONT_RECEIVE_SHADOWS = 14, FLAG_FIXED_SIZE = 6, FLAG_UV2_USE_TRIPLANAR = 8, FLAG_ALBEDO_FROM_VERTEX_COLOR = 3, diff --git a/include/gen/SpatialVelocityTracker.hpp b/include/gen/SpatialVelocityTracker.hpp index 4b66ba5c..b3e32999 100644 --- a/include/gen/SpatialVelocityTracker.hpp +++ b/include/gen/SpatialVelocityTracker.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/SphereMesh.hpp b/include/gen/SphereMesh.hpp index b349f4b9..2cde2786 100644 --- a/include/gen/SphereMesh.hpp +++ b/include/gen/SphereMesh.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PrimitiveMesh.hpp" namespace godot { diff --git a/include/gen/SphereShape.hpp b/include/gen/SphereShape.hpp index 486eb646..4f5cc2da 100644 --- a/include/gen/SphereShape.hpp +++ b/include/gen/SphereShape.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Shape.hpp" namespace godot { diff --git a/include/gen/SpinBox.hpp b/include/gen/SpinBox.hpp index 9339dc62..5ac07594 100644 --- a/include/gen/SpinBox.hpp +++ b/include/gen/SpinBox.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Range.hpp" namespace godot { class InputEvent; diff --git a/include/gen/SplitContainer.hpp b/include/gen/SplitContainer.hpp index 443a235c..7ac46051 100644 --- a/include/gen/SplitContainer.hpp +++ b/include/gen/SplitContainer.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "SplitContainer.hpp" -#include +#include "Container.hpp" namespace godot { class InputEvent; diff --git a/include/gen/SpotLight.hpp b/include/gen/SpotLight.hpp index f94b4d72..22a36dd0 100644 --- a/include/gen/SpotLight.hpp +++ b/include/gen/SpotLight.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Light.hpp" namespace godot { diff --git a/include/gen/Sprite.hpp b/include/gen/Sprite.hpp index 2b5a9ef0..fcbfddd2 100644 --- a/include/gen/Sprite.hpp +++ b/include/gen/Sprite.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { class Texture; diff --git a/include/gen/Sprite3D.hpp b/include/gen/Sprite3D.hpp index 3d4ca174..f9d0213e 100644 --- a/include/gen/Sprite3D.hpp +++ b/include/gen/Sprite3D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "SpriteBase3D.hpp" namespace godot { class Texture; diff --git a/include/gen/SpriteBase3D.hpp b/include/gen/SpriteBase3D.hpp index 5cff49db..84a1388b 100644 --- a/include/gen/SpriteBase3D.hpp +++ b/include/gen/SpriteBase3D.hpp @@ -7,10 +7,10 @@ #include #include -#include -#include +#include "Vector3.hpp" +#include "SpriteBase3D.hpp" -#include +#include "GeometryInstance.hpp" namespace godot { diff --git a/include/gen/SpriteFrames.hpp b/include/gen/SpriteFrames.hpp index 78233e7b..f83f3f9d 100644 --- a/include/gen/SpriteFrames.hpp +++ b/include/gen/SpriteFrames.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Texture; diff --git a/include/gen/StaticBody.hpp b/include/gen/StaticBody.hpp index 0eab43d2..a9b45ae8 100644 --- a/include/gen/StaticBody.hpp +++ b/include/gen/StaticBody.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PhysicsBody.hpp" namespace godot { diff --git a/include/gen/StaticBody2D.hpp b/include/gen/StaticBody2D.hpp index ae93ef03..2c21439a 100644 --- a/include/gen/StaticBody2D.hpp +++ b/include/gen/StaticBody2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "PhysicsBody2D.hpp" namespace godot { diff --git a/include/gen/StreamPeer.hpp b/include/gen/StreamPeer.hpp index 2fb9785c..e6200634 100644 --- a/include/gen/StreamPeer.hpp +++ b/include/gen/StreamPeer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/StreamPeerBuffer.hpp b/include/gen/StreamPeerBuffer.hpp index f14d5740..1f6037ad 100644 --- a/include/gen/StreamPeerBuffer.hpp +++ b/include/gen/StreamPeerBuffer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "StreamPeer.hpp" namespace godot { class StreamPeerBuffer; diff --git a/include/gen/StreamPeerSSL.hpp b/include/gen/StreamPeerSSL.hpp index 766a02e4..fce66c0f 100644 --- a/include/gen/StreamPeerSSL.hpp +++ b/include/gen/StreamPeerSSL.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "StreamPeerSSL.hpp" -#include +#include "StreamPeer.hpp" namespace godot { class StreamPeer; diff --git a/include/gen/StreamPeerTCP.hpp b/include/gen/StreamPeerTCP.hpp index 0f8eec92..901d7174 100644 --- a/include/gen/StreamPeerTCP.hpp +++ b/include/gen/StreamPeerTCP.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "StreamPeerTCP.hpp" -#include +#include "StreamPeer.hpp" namespace godot { diff --git a/include/gen/StreamTexture.hpp b/include/gen/StreamTexture.hpp index a9431998..238f10cc 100644 --- a/include/gen/StreamTexture.hpp +++ b/include/gen/StreamTexture.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Texture.hpp" namespace godot { diff --git a/include/gen/StyleBox.hpp b/include/gen/StyleBox.hpp index 1337f70b..d25d829a 100644 --- a/include/gen/StyleBox.hpp +++ b/include/gen/StyleBox.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/StyleBoxEmpty.hpp b/include/gen/StyleBoxEmpty.hpp index c45414eb..c4d02e71 100644 --- a/include/gen/StyleBoxEmpty.hpp +++ b/include/gen/StyleBoxEmpty.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "StyleBox.hpp" namespace godot { diff --git a/include/gen/StyleBoxFlat.hpp b/include/gen/StyleBoxFlat.hpp index 81520a3b..7ee1f9db 100644 --- a/include/gen/StyleBoxFlat.hpp +++ b/include/gen/StyleBoxFlat.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "StyleBox.hpp" namespace godot { diff --git a/include/gen/StyleBoxLine.hpp b/include/gen/StyleBoxLine.hpp index 67d44b09..50b159fe 100644 --- a/include/gen/StyleBoxLine.hpp +++ b/include/gen/StyleBoxLine.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "StyleBox.hpp" namespace godot { diff --git a/include/gen/StyleBoxTexture.hpp b/include/gen/StyleBoxTexture.hpp index 67dcbb54..f1c9e23b 100644 --- a/include/gen/StyleBoxTexture.hpp +++ b/include/gen/StyleBoxTexture.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "StyleBoxTexture.hpp" -#include +#include "StyleBox.hpp" namespace godot { class Texture; diff --git a/include/gen/SurfaceTool.hpp b/include/gen/SurfaceTool.hpp index 83db8218..d6616788 100644 --- a/include/gen/SurfaceTool.hpp +++ b/include/gen/SurfaceTool.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Material; @@ -45,7 +45,7 @@ public: void add_index(const int64_t index); void index(); void deindex(); - void generate_normals(); + void generate_normals(const bool flip = false); void generate_tangents(); void add_to_format(const int64_t flags); void set_material(const Ref material); diff --git a/include/gen/TCP_Server.hpp b/include/gen/TCP_Server.hpp index c3e5189e..5df41a24 100644 --- a/include/gen/TCP_Server.hpp +++ b/include/gen/TCP_Server.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class StreamPeerTCP; diff --git a/include/gen/TabContainer.hpp b/include/gen/TabContainer.hpp index 25516d6e..7869cc41 100644 --- a/include/gen/TabContainer.hpp +++ b/include/gen/TabContainer.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "TabContainer.hpp" -#include +#include "Control.hpp" namespace godot { class InputEvent; @@ -58,6 +58,10 @@ public: bool get_tab_disabled(const int64_t tab_idx) const; void set_popup(const Object *popup); Popup *get_popup() const; + void set_drag_to_rearrange_enabled(const bool enabled); + bool get_drag_to_rearrange_enabled() const; + void set_tabs_rearrange_group(const int64_t group_id); + int64_t get_tabs_rearrange_group() const; void _child_renamed_callback(); void _on_theme_changed(); void _update_current_tab(); diff --git a/include/gen/Tabs.hpp b/include/gen/Tabs.hpp index 3ecf6a38..ba014437 100644 --- a/include/gen/Tabs.hpp +++ b/include/gen/Tabs.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Tabs.hpp" -#include +#include "Control.hpp" namespace godot { class InputEvent; @@ -66,6 +66,10 @@ public: Tabs::CloseButtonDisplayPolicy get_tab_close_display_policy() const; void set_scrolling_enabled(const bool enabled); bool get_scrolling_enabled() const; + void set_drag_to_rearrange_enabled(const bool enabled); + bool get_drag_to_rearrange_enabled() const; + void set_tabs_rearrange_group(const int64_t group_id); + int64_t get_tabs_rearrange_group() const; }; diff --git a/include/gen/TextEdit.hpp b/include/gen/TextEdit.hpp index 24ce3c72..bcfd8c91 100644 --- a/include/gen/TextEdit.hpp +++ b/include/gen/TextEdit.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Control.hpp" namespace godot { class InputEvent; diff --git a/include/gen/Texture.hpp b/include/gen/Texture.hpp index a3df9b37..e71ee341 100644 --- a/include/gen/Texture.hpp +++ b/include/gen/Texture.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Texture; diff --git a/include/gen/TextureButton.hpp b/include/gen/TextureButton.hpp index 1f9af8be..c552df52 100644 --- a/include/gen/TextureButton.hpp +++ b/include/gen/TextureButton.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "TextureButton.hpp" -#include +#include "BaseButton.hpp" namespace godot { class Texture; diff --git a/include/gen/TextureProgress.hpp b/include/gen/TextureProgress.hpp index b0d7020f..11e69ff9 100644 --- a/include/gen/TextureProgress.hpp +++ b/include/gen/TextureProgress.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Range.hpp" namespace godot { class Texture; @@ -45,6 +45,12 @@ public: Ref get_over_texture() const; void set_fill_mode(const int64_t mode); int64_t get_fill_mode(); + void set_tint_under(const Color tint); + Color get_tint_under() const; + void set_tint_progress(const Color tint); + Color get_tint_progress() const; + void set_tint_over(const Color tint); + Color get_tint_over() const; void set_radial_initial_angle(const double mode); double get_radial_initial_angle(); void set_radial_center_offset(const Vector2 mode); diff --git a/include/gen/TextureRect.hpp b/include/gen/TextureRect.hpp index 19d5d19e..0854e912 100644 --- a/include/gen/TextureRect.hpp +++ b/include/gen/TextureRect.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "TextureRect.hpp" -#include +#include "Control.hpp" namespace godot { class Texture; diff --git a/include/gen/Theme.hpp b/include/gen/Theme.hpp index 57c45d52..b880a6f2 100644 --- a/include/gen/Theme.hpp +++ b/include/gen/Theme.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Texture; diff --git a/include/gen/Thread.hpp b/include/gen/Thread.hpp index 864cb0dc..2774f4c5 100644 --- a/include/gen/Thread.hpp +++ b/include/gen/Thread.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Object; diff --git a/include/gen/TileMap.hpp b/include/gen/TileMap.hpp index 1d27b4d2..6bfbb7d9 100644 --- a/include/gen/TileMap.hpp +++ b/include/gen/TileMap.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "TileMap.hpp" -#include +#include "Node2D.hpp" namespace godot { class TileSet; diff --git a/include/gen/TileSet.hpp b/include/gen/TileSet.hpp index 2ebc121a..9784008d 100644 --- a/include/gen/TileSet.hpp +++ b/include/gen/TileSet.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "TileSet.hpp" -#include +#include "Resource.hpp" namespace godot { class Object; @@ -28,6 +28,11 @@ public: static inline Object *___get_from_variant(Variant a) { godot_object *o = (godot_object*) a; return (Object *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, o); } // enums + enum TileMode { + SINGLE_TILE = 0, + AUTO_TILE = 1, + ANIMATED_TILE = 2, + }; enum AutotileBindings { BIND_TOPRIGHT = 4, BIND_TOPLEFT = 1, @@ -76,6 +81,8 @@ public: int64_t tile_get_shape_count(const int64_t id) const; void tile_set_shapes(const int64_t id, const Array shapes); Array tile_get_shapes(const int64_t id) const; + void tile_set_tile_mode(const int64_t id, const int64_t tilemode); + TileSet::TileMode tile_get_tile_mode(const int64_t id) const; void tile_set_navigation_polygon(const int64_t id, const Ref navigation_polygon); Ref tile_get_navigation_polygon(const int64_t id) const; void tile_set_navigation_polygon_offset(const int64_t id, const Vector2 navigation_polygon_offset); @@ -84,6 +91,8 @@ public: Ref tile_get_light_occluder(const int64_t id) const; void tile_set_occluder_offset(const int64_t id, const Vector2 occluder_offset); Vector2 tile_get_occluder_offset(const int64_t id) const; + void tile_set_z_index(const int64_t id, const int64_t z_index); + int64_t tile_get_z_index(const int64_t id) const; void remove_tile(const int64_t id); void clear(); int64_t get_last_unused_tile_id() const; diff --git a/include/gen/Timer.hpp b/include/gen/Timer.hpp index 8ca16bf7..62e5e858 100644 --- a/include/gen/Timer.hpp +++ b/include/gen/Timer.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Timer.hpp" -#include +#include "Node.hpp" namespace godot { @@ -39,7 +39,7 @@ public: bool is_one_shot() const; void set_autostart(const bool enable); bool has_autostart() const; - void start(); + void start(const double time_sec = -1); void stop(); void set_paused(const bool paused); bool is_paused() const; diff --git a/include/gen/ToolButton.hpp b/include/gen/ToolButton.hpp index 5fb733b6..884328a3 100644 --- a/include/gen/ToolButton.hpp +++ b/include/gen/ToolButton.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Button.hpp" namespace godot { diff --git a/include/gen/TouchScreenButton.hpp b/include/gen/TouchScreenButton.hpp index 3c247767..9bb94837 100644 --- a/include/gen/TouchScreenButton.hpp +++ b/include/gen/TouchScreenButton.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "TouchScreenButton.hpp" -#include +#include "Node2D.hpp" namespace godot { class Texture; diff --git a/include/gen/Translation.hpp b/include/gen/Translation.hpp index 02a1e0f1..af382d59 100644 --- a/include/gen/Translation.hpp +++ b/include/gen/Translation.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/TranslationServer.hpp b/include/gen/TranslationServer.hpp index 51c7e5fb..0b323dca 100644 --- a/include/gen/TranslationServer.hpp +++ b/include/gen/TranslationServer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class Translation; diff --git a/include/gen/Tree.hpp b/include/gen/Tree.hpp index 0db40d06..4fbbef04 100644 --- a/include/gen/Tree.hpp +++ b/include/gen/Tree.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Tree.hpp" -#include +#include "Control.hpp" namespace godot { class InputEvent; diff --git a/include/gen/TreeItem.hpp b/include/gen/TreeItem.hpp index e76eefb6..5380b975 100644 --- a/include/gen/TreeItem.hpp +++ b/include/gen/TreeItem.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "TreeItem.hpp" -#include +#include "Object.hpp" namespace godot { class Texture; diff --git a/include/gen/TriangleMesh.hpp b/include/gen/TriangleMesh.hpp index 4bebd860..bfac805b 100644 --- a/include/gen/TriangleMesh.hpp +++ b/include/gen/TriangleMesh.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/Tween.hpp b/include/gen/Tween.hpp index 4f91905b..95e17017 100644 --- a/include/gen/Tween.hpp +++ b/include/gen/Tween.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Tween.hpp" -#include +#include "Node.hpp" namespace godot { class Object; diff --git a/include/gen/UndoRedo.hpp b/include/gen/UndoRedo.hpp index 066bb937..2e2365de 100644 --- a/include/gen/UndoRedo.hpp +++ b/include/gen/UndoRedo.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class Object; diff --git a/include/gen/VBoxContainer.hpp b/include/gen/VBoxContainer.hpp index cdd33338..3c70dc79 100644 --- a/include/gen/VBoxContainer.hpp +++ b/include/gen/VBoxContainer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "BoxContainer.hpp" namespace godot { diff --git a/include/gen/VScrollBar.hpp b/include/gen/VScrollBar.hpp index 4963acdc..31b64161 100644 --- a/include/gen/VScrollBar.hpp +++ b/include/gen/VScrollBar.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "ScrollBar.hpp" namespace godot { diff --git a/include/gen/VSeparator.hpp b/include/gen/VSeparator.hpp index 075b7a64..84ad814f 100644 --- a/include/gen/VSeparator.hpp +++ b/include/gen/VSeparator.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Separator.hpp" namespace godot { diff --git a/include/gen/VSlider.hpp b/include/gen/VSlider.hpp index da0c1d1b..85e8655b 100644 --- a/include/gen/VSlider.hpp +++ b/include/gen/VSlider.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Slider.hpp" namespace godot { diff --git a/include/gen/VSplitContainer.hpp b/include/gen/VSplitContainer.hpp index 14eb3ac5..40043cbd 100644 --- a/include/gen/VSplitContainer.hpp +++ b/include/gen/VSplitContainer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "SplitContainer.hpp" namespace godot { diff --git a/include/gen/VehicleBody.hpp b/include/gen/VehicleBody.hpp index 9aa1a83b..cd86c144 100644 --- a/include/gen/VehicleBody.hpp +++ b/include/gen/VehicleBody.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "RigidBody.hpp" namespace godot { diff --git a/include/gen/VehicleWheel.hpp b/include/gen/VehicleWheel.hpp index d2889ca9..6d87b74d 100644 --- a/include/gen/VehicleWheel.hpp +++ b/include/gen/VehicleWheel.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/VideoPlayer.hpp b/include/gen/VideoPlayer.hpp index 843b1531..85d7a4e3 100644 --- a/include/gen/VideoPlayer.hpp +++ b/include/gen/VideoPlayer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Control.hpp" namespace godot { class VideoStream; diff --git a/include/gen/VideoStream.hpp b/include/gen/VideoStream.hpp index 80db24b3..46f9a108 100644 --- a/include/gen/VideoStream.hpp +++ b/include/gen/VideoStream.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { diff --git a/include/gen/VideoStreamTheora.hpp b/include/gen/VideoStreamTheora.hpp index 135e53f1..a5ab18cd 100644 --- a/include/gen/VideoStreamTheora.hpp +++ b/include/gen/VideoStreamTheora.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VideoStream.hpp" namespace godot { diff --git a/include/gen/VideoStreamWebm.hpp b/include/gen/VideoStreamWebm.hpp index 519bf3a9..c3e9a96c 100644 --- a/include/gen/VideoStreamWebm.hpp +++ b/include/gen/VideoStreamWebm.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VideoStream.hpp" namespace godot { diff --git a/include/gen/Viewport.hpp b/include/gen/Viewport.hpp index 4d53815b..17c337cf 100644 --- a/include/gen/Viewport.hpp +++ b/include/gen/Viewport.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Viewport.hpp" -#include +#include "Node.hpp" namespace godot { class World2D; @@ -147,14 +147,18 @@ public: bool is_input_disabled() const; void set_disable_3d(const bool disable); bool is_3d_disabled() const; + void set_keep_3d_linear(const bool keep_3d_linear); + bool get_keep_3d_linear() const; void _gui_show_tooltip(); void _gui_remove_focus(); + void _post_gui_grab_click_focus(); void set_shadow_atlas_size(const int64_t size); int64_t get_shadow_atlas_size() const; void set_snap_controls_to_pixels(const bool enabled); bool is_snap_controls_to_pixels_enabled() const; void set_shadow_atlas_quadrant_subdiv(const int64_t quadrant, const int64_t subdiv); Viewport::ShadowAtlasQuadrantSubdiv get_shadow_atlas_quadrant_subdiv(const int64_t quadrant) const; + void _subwindow_visibility_changed(); }; diff --git a/include/gen/ViewportContainer.hpp b/include/gen/ViewportContainer.hpp index 6336de4b..746a1a7f 100644 --- a/include/gen/ViewportContainer.hpp +++ b/include/gen/ViewportContainer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Container.hpp" namespace godot { class InputEvent; diff --git a/include/gen/ViewportTexture.hpp b/include/gen/ViewportTexture.hpp index 8b593e40..e53c652f 100644 --- a/include/gen/ViewportTexture.hpp +++ b/include/gen/ViewportTexture.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Texture.hpp" namespace godot { diff --git a/include/gen/VisibilityEnabler.hpp b/include/gen/VisibilityEnabler.hpp index 7aeab1c0..912b823b 100644 --- a/include/gen/VisibilityEnabler.hpp +++ b/include/gen/VisibilityEnabler.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisibilityNotifier.hpp" namespace godot { class Object; diff --git a/include/gen/VisibilityEnabler2D.hpp b/include/gen/VisibilityEnabler2D.hpp index fe9ef359..0514c873 100644 --- a/include/gen/VisibilityEnabler2D.hpp +++ b/include/gen/VisibilityEnabler2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisibilityNotifier2D.hpp" namespace godot { class Object; diff --git a/include/gen/VisibilityNotifier.hpp b/include/gen/VisibilityNotifier.hpp index abeefe63..3ed2a9e5 100644 --- a/include/gen/VisibilityNotifier.hpp +++ b/include/gen/VisibilityNotifier.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/VisibilityNotifier2D.hpp b/include/gen/VisibilityNotifier2D.hpp index 2bc01b90..d2432888 100644 --- a/include/gen/VisibilityNotifier2D.hpp +++ b/include/gen/VisibilityNotifier2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { diff --git a/include/gen/VisualInstance.hpp b/include/gen/VisualInstance.hpp index 516d1fc5..b7df1b37 100644 --- a/include/gen/VisualInstance.hpp +++ b/include/gen/VisualInstance.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Spatial.hpp" namespace godot { diff --git a/include/gen/VisualScript.hpp b/include/gen/VisualScript.hpp index 5bc2b243..1949107e 100644 --- a/include/gen/VisualScript.hpp +++ b/include/gen/VisualScript.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Variant.hpp" -#include +#include "Script.hpp" namespace godot { class VisualScriptNode; diff --git a/include/gen/VisualScriptBasicTypeConstant.hpp b/include/gen/VisualScriptBasicTypeConstant.hpp index c1a52888..0ad44ed3 100644 --- a/include/gen/VisualScriptBasicTypeConstant.hpp +++ b/include/gen/VisualScriptBasicTypeConstant.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Variant.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptBuiltinFunc.hpp b/include/gen/VisualScriptBuiltinFunc.hpp index 83501c68..c1b9e31d 100644 --- a/include/gen/VisualScriptBuiltinFunc.hpp +++ b/include/gen/VisualScriptBuiltinFunc.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "VisualScriptBuiltinFunc.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptClassConstant.hpp b/include/gen/VisualScriptClassConstant.hpp index 17b4f195..a8a74879 100644 --- a/include/gen/VisualScriptClassConstant.hpp +++ b/include/gen/VisualScriptClassConstant.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptComment.hpp b/include/gen/VisualScriptComment.hpp index 9cb78185..b2f97268 100644 --- a/include/gen/VisualScriptComment.hpp +++ b/include/gen/VisualScriptComment.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptCondition.hpp b/include/gen/VisualScriptCondition.hpp index 5c49c82a..e611490f 100644 --- a/include/gen/VisualScriptCondition.hpp +++ b/include/gen/VisualScriptCondition.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptConstant.hpp b/include/gen/VisualScriptConstant.hpp index 416ee42d..0bb64899 100644 --- a/include/gen/VisualScriptConstant.hpp +++ b/include/gen/VisualScriptConstant.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Variant.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptConstructor.hpp b/include/gen/VisualScriptConstructor.hpp index 7be87853..aac04b36 100644 --- a/include/gen/VisualScriptConstructor.hpp +++ b/include/gen/VisualScriptConstructor.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Variant.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptCustomNode.hpp b/include/gen/VisualScriptCustomNode.hpp index 5c175504..6b1846a6 100644 --- a/include/gen/VisualScriptCustomNode.hpp +++ b/include/gen/VisualScriptCustomNode.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptDeconstruct.hpp b/include/gen/VisualScriptDeconstruct.hpp index 57f4fd2f..41904a1b 100644 --- a/include/gen/VisualScriptDeconstruct.hpp +++ b/include/gen/VisualScriptDeconstruct.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Variant.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptEditor.hpp b/include/gen/VisualScriptEditor.hpp index 462271b9..469471fe 100644 --- a/include/gen/VisualScriptEditor.hpp +++ b/include/gen/VisualScriptEditor.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Object.hpp" namespace godot { class Script; diff --git a/include/gen/VisualScriptEmitSignal.hpp b/include/gen/VisualScriptEmitSignal.hpp index 649f27bb..db769990 100644 --- a/include/gen/VisualScriptEmitSignal.hpp +++ b/include/gen/VisualScriptEmitSignal.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptEngineSingleton.hpp b/include/gen/VisualScriptEngineSingleton.hpp index 55ae80db..810455bb 100644 --- a/include/gen/VisualScriptEngineSingleton.hpp +++ b/include/gen/VisualScriptEngineSingleton.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptExpression.hpp b/include/gen/VisualScriptExpression.hpp index 09c2c065..7822d35c 100644 --- a/include/gen/VisualScriptExpression.hpp +++ b/include/gen/VisualScriptExpression.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptFunction.hpp b/include/gen/VisualScriptFunction.hpp index d456a739..05d30301 100644 --- a/include/gen/VisualScriptFunction.hpp +++ b/include/gen/VisualScriptFunction.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptFunctionCall.hpp b/include/gen/VisualScriptFunctionCall.hpp index ad72d118..2d2f4d8f 100644 --- a/include/gen/VisualScriptFunctionCall.hpp +++ b/include/gen/VisualScriptFunctionCall.hpp @@ -7,10 +7,10 @@ #include #include -#include -#include +#include "Variant.hpp" +#include "VisualScriptFunctionCall.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptFunctionState.hpp b/include/gen/VisualScriptFunctionState.hpp index 7cef4cb1..a2355c37 100644 --- a/include/gen/VisualScriptFunctionState.hpp +++ b/include/gen/VisualScriptFunctionState.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { class Object; diff --git a/include/gen/VisualScriptGlobalConstant.hpp b/include/gen/VisualScriptGlobalConstant.hpp index 91aa3928..6d5c43e3 100644 --- a/include/gen/VisualScriptGlobalConstant.hpp +++ b/include/gen/VisualScriptGlobalConstant.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptIndexGet.hpp b/include/gen/VisualScriptIndexGet.hpp index d2dd2ab7..da472fe3 100644 --- a/include/gen/VisualScriptIndexGet.hpp +++ b/include/gen/VisualScriptIndexGet.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptIndexSet.hpp b/include/gen/VisualScriptIndexSet.hpp index 006f3a24..c1e21fc4 100644 --- a/include/gen/VisualScriptIndexSet.hpp +++ b/include/gen/VisualScriptIndexSet.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptInputAction.hpp b/include/gen/VisualScriptInputAction.hpp index a702c71d..7a0b2913 100644 --- a/include/gen/VisualScriptInputAction.hpp +++ b/include/gen/VisualScriptInputAction.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "VisualScriptInputAction.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptIterator.hpp b/include/gen/VisualScriptIterator.hpp index 39ce4d65..6241e1bb 100644 --- a/include/gen/VisualScriptIterator.hpp +++ b/include/gen/VisualScriptIterator.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptLocalVar.hpp b/include/gen/VisualScriptLocalVar.hpp index 8fe0019d..434a8e91 100644 --- a/include/gen/VisualScriptLocalVar.hpp +++ b/include/gen/VisualScriptLocalVar.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Variant.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptLocalVarSet.hpp b/include/gen/VisualScriptLocalVarSet.hpp index 30ba7e35..c2e79418 100644 --- a/include/gen/VisualScriptLocalVarSet.hpp +++ b/include/gen/VisualScriptLocalVarSet.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Variant.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptMathConstant.hpp b/include/gen/VisualScriptMathConstant.hpp index 45f93234..4c8bd07e 100644 --- a/include/gen/VisualScriptMathConstant.hpp +++ b/include/gen/VisualScriptMathConstant.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "VisualScriptMathConstant.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptNode.hpp b/include/gen/VisualScriptNode.hpp index 7d309215..0c86c1bf 100644 --- a/include/gen/VisualScriptNode.hpp +++ b/include/gen/VisualScriptNode.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class VisualScript; diff --git a/include/gen/VisualScriptOperator.hpp b/include/gen/VisualScriptOperator.hpp index aceb800b..8fc4fb0a 100644 --- a/include/gen/VisualScriptOperator.hpp +++ b/include/gen/VisualScriptOperator.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Variant.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptPreload.hpp b/include/gen/VisualScriptPreload.hpp index bc7b63a0..b8416757 100644 --- a/include/gen/VisualScriptPreload.hpp +++ b/include/gen/VisualScriptPreload.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { class Resource; diff --git a/include/gen/VisualScriptPropertyGet.hpp b/include/gen/VisualScriptPropertyGet.hpp index f7427270..90f242cc 100644 --- a/include/gen/VisualScriptPropertyGet.hpp +++ b/include/gen/VisualScriptPropertyGet.hpp @@ -7,10 +7,10 @@ #include #include -#include -#include +#include "Variant.hpp" +#include "VisualScriptPropertyGet.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptPropertySet.hpp b/include/gen/VisualScriptPropertySet.hpp index bd80fcc2..862f9518 100644 --- a/include/gen/VisualScriptPropertySet.hpp +++ b/include/gen/VisualScriptPropertySet.hpp @@ -7,10 +7,10 @@ #include #include -#include -#include +#include "Variant.hpp" +#include "VisualScriptPropertySet.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptResourcePath.hpp b/include/gen/VisualScriptResourcePath.hpp index 1cc20763..476561c6 100644 --- a/include/gen/VisualScriptResourcePath.hpp +++ b/include/gen/VisualScriptResourcePath.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptReturn.hpp b/include/gen/VisualScriptReturn.hpp index 5fabfef4..a2befbe9 100644 --- a/include/gen/VisualScriptReturn.hpp +++ b/include/gen/VisualScriptReturn.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Variant.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptSceneNode.hpp b/include/gen/VisualScriptSceneNode.hpp index f4eb0292..acd3c846 100644 --- a/include/gen/VisualScriptSceneNode.hpp +++ b/include/gen/VisualScriptSceneNode.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptSceneTree.hpp b/include/gen/VisualScriptSceneTree.hpp index ea9817fd..669c6889 100644 --- a/include/gen/VisualScriptSceneTree.hpp +++ b/include/gen/VisualScriptSceneTree.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptSelect.hpp b/include/gen/VisualScriptSelect.hpp index 8099fb6a..4724fb06 100644 --- a/include/gen/VisualScriptSelect.hpp +++ b/include/gen/VisualScriptSelect.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "Variant.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptSelf.hpp b/include/gen/VisualScriptSelf.hpp index 8d578e27..c2be7bbf 100644 --- a/include/gen/VisualScriptSelf.hpp +++ b/include/gen/VisualScriptSelf.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptSequence.hpp b/include/gen/VisualScriptSequence.hpp index 61c85e00..804a6b7f 100644 --- a/include/gen/VisualScriptSequence.hpp +++ b/include/gen/VisualScriptSequence.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptSubCall.hpp b/include/gen/VisualScriptSubCall.hpp index ea08317a..5cab6360 100644 --- a/include/gen/VisualScriptSubCall.hpp +++ b/include/gen/VisualScriptSubCall.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptSwitch.hpp b/include/gen/VisualScriptSwitch.hpp index 3681eacb..95401dd5 100644 --- a/include/gen/VisualScriptSwitch.hpp +++ b/include/gen/VisualScriptSwitch.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptTypeCast.hpp b/include/gen/VisualScriptTypeCast.hpp index 09ce3cd8..cd48bd43 100644 --- a/include/gen/VisualScriptTypeCast.hpp +++ b/include/gen/VisualScriptTypeCast.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptVariableGet.hpp b/include/gen/VisualScriptVariableGet.hpp index b0df9af7..61149b68 100644 --- a/include/gen/VisualScriptVariableGet.hpp +++ b/include/gen/VisualScriptVariableGet.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptVariableSet.hpp b/include/gen/VisualScriptVariableSet.hpp index f03d25b2..5188ae04 100644 --- a/include/gen/VisualScriptVariableSet.hpp +++ b/include/gen/VisualScriptVariableSet.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptWhile.hpp b/include/gen/VisualScriptWhile.hpp index 3e4fe198..5a0964b3 100644 --- a/include/gen/VisualScriptWhile.hpp +++ b/include/gen/VisualScriptWhile.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptYield.hpp b/include/gen/VisualScriptYield.hpp index 14e0e0ed..af4d105f 100644 --- a/include/gen/VisualScriptYield.hpp +++ b/include/gen/VisualScriptYield.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "VisualScriptYield.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualScriptYieldSignal.hpp b/include/gen/VisualScriptYieldSignal.hpp index 7c91114a..e995b1eb 100644 --- a/include/gen/VisualScriptYieldSignal.hpp +++ b/include/gen/VisualScriptYieldSignal.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "VisualScriptYieldSignal.hpp" -#include +#include "VisualScriptNode.hpp" namespace godot { diff --git a/include/gen/VisualServer.hpp b/include/gen/VisualServer.hpp index c6bf2165..fe839e4d 100644 --- a/include/gen/VisualServer.hpp +++ b/include/gen/VisualServer.hpp @@ -7,10 +7,10 @@ #include #include -#include -#include +#include "Image.hpp" +#include "VisualServer.hpp" -#include +#include "Object.hpp" namespace godot { class Image; @@ -333,6 +333,7 @@ public: RID texture_create_from_image(const Ref image, const int64_t flags = 7); void texture_allocate(const RID texture, const int64_t width, const int64_t height, const int64_t format, const int64_t flags = 7); void texture_set_data(const RID texture, const Ref image, const int64_t cube_side = 0); + void texture_set_data_partial(const RID texture, const Ref image, const int64_t src_x, const int64_t src_y, const int64_t src_w, const int64_t src_h, const int64_t dst_x, const int64_t dst_y, const int64_t dst_mip, const int64_t cube_side = 0); Ref texture_get_data(const RID texture, const int64_t cube_side = 0) const; void texture_set_flags(const RID texture, const int64_t flags); int64_t texture_get_flags(const RID texture) const; @@ -608,7 +609,7 @@ public: void canvas_item_add_nine_patch(const RID item, const Rect2 rect, const Rect2 source, const RID texture, const Vector2 topleft, const Vector2 bottomright, const int64_t x_axis_mode = 0, const int64_t y_axis_mode = 0, const bool draw_center = true, const Color modulate = Color(1,1,1,1), const RID normal_map = RID()); void canvas_item_add_primitive(const RID item, const PoolVector2Array points, const PoolColorArray colors, const PoolVector2Array uvs, const RID texture, const double width = 1, const RID normal_map = RID()); void canvas_item_add_polygon(const RID item, const PoolVector2Array points, const PoolColorArray colors, const PoolVector2Array uvs = PoolVector2Array(), const RID texture = RID(), const RID normal_map = RID(), const bool antialiased = false); - void canvas_item_add_triangle_array(const RID item, const PoolIntArray indices, const PoolVector2Array points, const PoolColorArray colors, const PoolVector2Array uvs = PoolVector2Array(), const RID texture = RID(), const int64_t count = -1, const RID normal_map = RID()); + void canvas_item_add_triangle_array(const RID item, const PoolIntArray indices, const PoolVector2Array points, const PoolColorArray colors, const PoolVector2Array uvs = PoolVector2Array(), const PoolIntArray bones = PoolIntArray(), const PoolRealArray weights = PoolRealArray(), const RID texture = RID(), const int64_t count = -1, const RID normal_map = RID()); void canvas_item_add_mesh(const RID item, const RID mesh, const RID texture, const RID normal_map = RID()); void canvas_item_add_multimesh(const RID item, const RID mesh, const RID texture, const RID normal_map = RID()); void canvas_item_add_particles(const RID item, const RID particles, const RID texture, const RID normal_map, const int64_t h_frames, const int64_t v_frames); diff --git a/include/gen/WeakRef.hpp b/include/gen/WeakRef.hpp index 95e7bee0..5defcb9f 100644 --- a/include/gen/WeakRef.hpp +++ b/include/gen/WeakRef.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/WebSocketClient.hpp b/include/gen/WebSocketClient.hpp index 979b1302..23646aac 100644 --- a/include/gen/WebSocketClient.hpp +++ b/include/gen/WebSocketClient.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "WebSocketMultiplayerPeer.hpp" namespace godot { diff --git a/include/gen/WebSocketMultiplayerPeer.hpp b/include/gen/WebSocketMultiplayerPeer.hpp index 1ab9650d..451a58d2 100644 --- a/include/gen/WebSocketMultiplayerPeer.hpp +++ b/include/gen/WebSocketMultiplayerPeer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "NetworkedMultiplayerPeer.hpp" namespace godot { class WebSocketPeer; diff --git a/include/gen/WebSocketPeer.hpp b/include/gen/WebSocketPeer.hpp index 93384fc1..3d3dde20 100644 --- a/include/gen/WebSocketPeer.hpp +++ b/include/gen/WebSocketPeer.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "WebSocketPeer.hpp" -#include +#include "PacketPeer.hpp" namespace godot { @@ -38,6 +38,8 @@ public: bool is_connected_to_host() const; bool was_string_packet() const; void close(); + String get_connected_host() const; + int64_t get_connected_port() const; }; diff --git a/include/gen/WebSocketServer.hpp b/include/gen/WebSocketServer.hpp index 10cafc8b..4ca4808c 100644 --- a/include/gen/WebSocketServer.hpp +++ b/include/gen/WebSocketServer.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "WebSocketMultiplayerPeer.hpp" namespace godot { @@ -32,6 +32,9 @@ public: Error listen(const int64_t port, const PoolStringArray protocols = PoolStringArray(), const bool gd_mp_api = false); void stop(); bool has_peer(const int64_t id) const; + String get_peer_address(const int64_t id) const; + int64_t get_peer_port(const int64_t id) const; + void disconnect_peer(const int64_t id); }; diff --git a/include/gen/WindowDialog.hpp b/include/gen/WindowDialog.hpp index b87034a3..b7f86f0b 100644 --- a/include/gen/WindowDialog.hpp +++ b/include/gen/WindowDialog.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Popup.hpp" namespace godot { class InputEvent; diff --git a/include/gen/World.hpp b/include/gen/World.hpp index e312d5ef..7c79d362 100644 --- a/include/gen/World.hpp +++ b/include/gen/World.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Environment; diff --git a/include/gen/World2D.hpp b/include/gen/World2D.hpp index c334eff4..a3cdc5ee 100644 --- a/include/gen/World2D.hpp +++ b/include/gen/World2D.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Resource.hpp" namespace godot { class Physics2DDirectSpaceState; diff --git a/include/gen/WorldEnvironment.hpp b/include/gen/WorldEnvironment.hpp index 1241a458..9e39e196 100644 --- a/include/gen/WorldEnvironment.hpp +++ b/include/gen/WorldEnvironment.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node.hpp" namespace godot { class Environment; diff --git a/include/gen/XMLParser.hpp b/include/gen/XMLParser.hpp index bdb8fa80..bcdb7154 100644 --- a/include/gen/XMLParser.hpp +++ b/include/gen/XMLParser.hpp @@ -7,9 +7,9 @@ #include #include -#include +#include "XMLParser.hpp" -#include +#include "Reference.hpp" namespace godot { diff --git a/include/gen/YSort.hpp b/include/gen/YSort.hpp index 9047c607..7179927d 100644 --- a/include/gen/YSort.hpp +++ b/include/gen/YSort.hpp @@ -8,7 +8,7 @@ #include #include -#include +#include "Node2D.hpp" namespace godot { diff --git a/src/gen/ARVRAnchor.cpp b/src/gen/ARVRAnchor.cpp deleted file mode 100644 index 3020dc7d..00000000 --- a/src/gen/ARVRAnchor.cpp +++ /dev/null @@ -1,79 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ARVRAnchor::___get_type_tag() -{ - return (void *) &ARVRAnchor::___get_type_tag; -} - -void *ARVRAnchor::___get_base_type_tag() -{ - return (void *) &Spatial::___get_type_tag; -} - -ARVRAnchor *ARVRAnchor::_new() -{ - return (ARVRAnchor *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ARVRAnchor")()); -} -void ARVRAnchor::set_anchor_id(const int64_t anchor_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRAnchor", "set_anchor_id"); - } - ___godot_icall_void_int(mb, (const Object *) this, anchor_id); -} - -int64_t ARVRAnchor::get_anchor_id() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRAnchor", "get_anchor_id"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -String ARVRAnchor::get_anchor_name() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRAnchor", "get_anchor_name"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -bool ARVRAnchor::get_is_active() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRAnchor", "get_is_active"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -Vector3 ARVRAnchor::get_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRAnchor", "get_size"); - } - return ___godot_icall_Vector3(mb, (const Object *) this); -} - -Plane ARVRAnchor::get_plane() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRAnchor", "get_plane"); - } - return ___godot_icall_Plane(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/ARVRCamera.cpp b/src/gen/ARVRCamera.cpp deleted file mode 100644 index 67e5ebb4..00000000 --- a/src/gen/ARVRCamera.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ARVRCamera::___get_type_tag() -{ - return (void *) &ARVRCamera::___get_type_tag; -} - -void *ARVRCamera::___get_base_type_tag() -{ - return (void *) &Camera::___get_type_tag; -} - -ARVRCamera *ARVRCamera::_new() -{ - return (ARVRCamera *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ARVRCamera")()); -} -} \ No newline at end of file diff --git a/src/gen/ARVRController.cpp b/src/gen/ARVRController.cpp deleted file mode 100644 index 81cb0f25..00000000 --- a/src/gen/ARVRController.cpp +++ /dev/null @@ -1,111 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ARVRController::___get_type_tag() -{ - return (void *) &ARVRController::___get_type_tag; -} - -void *ARVRController::___get_base_type_tag() -{ - return (void *) &Spatial::___get_type_tag; -} - -ARVRController *ARVRController::_new() -{ - return (ARVRController *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ARVRController")()); -} -void ARVRController::set_controller_id(const int64_t controller_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRController", "set_controller_id"); - } - ___godot_icall_void_int(mb, (const Object *) this, controller_id); -} - -int64_t ARVRController::get_controller_id() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRController", "get_controller_id"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -String ARVRController::get_controller_name() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRController", "get_controller_name"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -int64_t ARVRController::get_joystick_id() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRController", "get_joystick_id"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -int64_t ARVRController::is_button_pressed(const int64_t button) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRController", "is_button_pressed"); - } - return ___godot_icall_int_int(mb, (const Object *) this, button); -} - -double ARVRController::get_joystick_axis(const int64_t axis) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRController", "get_joystick_axis"); - } - return ___godot_icall_float_int(mb, (const Object *) this, axis); -} - -bool ARVRController::get_is_active() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRController", "get_is_active"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -ARVRPositionalTracker::TrackerHand ARVRController::get_hand() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRController", "get_hand"); - } - return (ARVRPositionalTracker::TrackerHand) ___godot_icall_int(mb, (const Object *) this); -} - -double ARVRController::get_rumble() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRController", "get_rumble"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void ARVRController::set_rumble(const double rumble) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRController", "set_rumble"); - } - ___godot_icall_void_float(mb, (const Object *) this, rumble); -} - -} \ No newline at end of file diff --git a/src/gen/ARVRInterface.cpp b/src/gen/ARVRInterface.cpp deleted file mode 100644 index 418e0bc7..00000000 --- a/src/gen/ARVRInterface.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ARVRInterface::___get_type_tag() -{ - return (void *) &ARVRInterface::___get_type_tag; -} - -void *ARVRInterface::___get_base_type_tag() -{ - return (void *) &Reference::___get_type_tag; -} - -String ARVRInterface::get_name() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "get_name"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -int64_t ARVRInterface::get_capabilities() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "get_capabilities"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -bool ARVRInterface::is_primary() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "is_primary"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void ARVRInterface::set_is_primary(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "set_is_primary"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool ARVRInterface::is_initialized() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "is_initialized"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void ARVRInterface::set_is_initialized(const bool initialized) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "set_is_initialized"); - } - ___godot_icall_void_bool(mb, (const Object *) this, initialized); -} - -bool ARVRInterface::initialize() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "initialize"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void ARVRInterface::uninitialize() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "uninitialize"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -ARVRInterface::Tracking_status ARVRInterface::get_tracking_status() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "get_tracking_status"); - } - return (ARVRInterface::Tracking_status) ___godot_icall_int(mb, (const Object *) this); -} - -Vector2 ARVRInterface::get_render_targetsize() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "get_render_targetsize"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -bool ARVRInterface::is_stereo() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "is_stereo"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -bool ARVRInterface::get_anchor_detection_is_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "get_anchor_detection_is_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void ARVRInterface::set_anchor_detection_is_enabled(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRInterface", "set_anchor_detection_is_enabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -} \ No newline at end of file diff --git a/src/gen/ARVRInterfaceGDNative.cpp b/src/gen/ARVRInterfaceGDNative.cpp deleted file mode 100644 index b88ba066..00000000 --- a/src/gen/ARVRInterfaceGDNative.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ARVRInterfaceGDNative::___get_type_tag() -{ - return (void *) &ARVRInterfaceGDNative::___get_type_tag; -} - -void *ARVRInterfaceGDNative::___get_base_type_tag() -{ - return (void *) &ARVRInterface::___get_type_tag; -} - -ARVRInterfaceGDNative *ARVRInterfaceGDNative::_new() -{ - return (ARVRInterfaceGDNative *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ARVRInterfaceGDNative")()); -} -} \ No newline at end of file diff --git a/src/gen/ARVROrigin.cpp b/src/gen/ARVROrigin.cpp deleted file mode 100644 index d3cc07c9..00000000 --- a/src/gen/ARVROrigin.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ARVROrigin::___get_type_tag() -{ - return (void *) &ARVROrigin::___get_type_tag; -} - -void *ARVROrigin::___get_base_type_tag() -{ - return (void *) &Spatial::___get_type_tag; -} - -ARVROrigin *ARVROrigin::_new() -{ - return (ARVROrigin *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ARVROrigin")()); -} -void ARVROrigin::set_world_scale(const double world_scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVROrigin", "set_world_scale"); - } - ___godot_icall_void_float(mb, (const Object *) this, world_scale); -} - -double ARVROrigin::get_world_scale() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVROrigin", "get_world_scale"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/ARVRPositionalTracker.cpp b/src/gen/ARVRPositionalTracker.cpp deleted file mode 100644 index 52a7f633..00000000 --- a/src/gen/ARVRPositionalTracker.cpp +++ /dev/null @@ -1,159 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ARVRPositionalTracker::___get_type_tag() -{ - return (void *) &ARVRPositionalTracker::___get_type_tag; -} - -void *ARVRPositionalTracker::___get_base_type_tag() -{ - return (void *) &Object::___get_type_tag; -} - -ARVRPositionalTracker *ARVRPositionalTracker::_new() -{ - return (ARVRPositionalTracker *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ARVRPositionalTracker")()); -} -ARVRServer::TrackerType ARVRPositionalTracker::get_type() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "get_type"); - } - return (ARVRServer::TrackerType) ___godot_icall_int(mb, (const Object *) this); -} - -String ARVRPositionalTracker::get_name() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "get_name"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -int64_t ARVRPositionalTracker::get_joy_id() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "get_joy_id"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -bool ARVRPositionalTracker::get_tracks_orientation() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "get_tracks_orientation"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -Basis ARVRPositionalTracker::get_orientation() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "get_orientation"); - } - return ___godot_icall_Basis(mb, (const Object *) this); -} - -bool ARVRPositionalTracker::get_tracks_position() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "get_tracks_position"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -Vector3 ARVRPositionalTracker::get_position() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "get_position"); - } - return ___godot_icall_Vector3(mb, (const Object *) this); -} - -ARVRPositionalTracker::TrackerHand ARVRPositionalTracker::get_hand() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "get_hand"); - } - return (ARVRPositionalTracker::TrackerHand) ___godot_icall_int(mb, (const Object *) this); -} - -Transform ARVRPositionalTracker::get_transform(const bool adjust_by_reference_frame) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "get_transform"); - } - return ___godot_icall_Transform_bool(mb, (const Object *) this, adjust_by_reference_frame); -} - -void ARVRPositionalTracker::_set_type(const int64_t type) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "_set_type"); - } - ___godot_icall_void_int(mb, (const Object *) this, type); -} - -void ARVRPositionalTracker::_set_name(const String name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "_set_name"); - } - ___godot_icall_void_String(mb, (const Object *) this, name); -} - -void ARVRPositionalTracker::_set_joy_id(const int64_t joy_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "_set_joy_id"); - } - ___godot_icall_void_int(mb, (const Object *) this, joy_id); -} - -void ARVRPositionalTracker::_set_orientation(const Basis orientation) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "_set_orientation"); - } - ___godot_icall_void_Basis(mb, (const Object *) this, orientation); -} - -void ARVRPositionalTracker::_set_rw_position(const Vector3 rw_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "_set_rw_position"); - } - ___godot_icall_void_Vector3(mb, (const Object *) this, rw_position); -} - -double ARVRPositionalTracker::get_rumble() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "get_rumble"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void ARVRPositionalTracker::set_rumble(const double rumble) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRPositionalTracker", "set_rumble"); - } - ___godot_icall_void_float(mb, (const Object *) this, rumble); -} - -} \ No newline at end of file diff --git a/src/gen/ARVRServer.cpp b/src/gen/ARVRServer.cpp deleted file mode 100644 index 8d1a2611..00000000 --- a/src/gen/ARVRServer.cpp +++ /dev/null @@ -1,165 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include - - -namespace godot { - - -void *ARVRServer::___get_type_tag() -{ - return (void *) &ARVRServer::___get_type_tag; -} - -void *ARVRServer::___get_base_type_tag() -{ - return (void *) &Object::___get_type_tag; -} - -ARVRServer *ARVRServer::_singleton = NULL; - - -ARVRServer::ARVRServer() { - _owner = godot::api->godot_global_get_singleton((char *) "ARVRServer"); -} - - -double ARVRServer::get_world_scale() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "get_world_scale"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void ARVRServer::set_world_scale(const double arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "set_world_scale"); - } - ___godot_icall_void_float(mb, (const Object *) this, arg0); -} - -Transform ARVRServer::get_reference_frame() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "get_reference_frame"); - } - return ___godot_icall_Transform(mb, (const Object *) this); -} - -void ARVRServer::center_on_hmd(const int64_t rotation_mode, const bool keep_height) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "center_on_hmd"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, rotation_mode, keep_height); -} - -Transform ARVRServer::get_hmd_transform() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "get_hmd_transform"); - } - return ___godot_icall_Transform(mb, (const Object *) this); -} - -int64_t ARVRServer::get_interface_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "get_interface_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -Ref ARVRServer::get_interface(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "get_interface"); - } - return Ref::__internal_constructor(___godot_icall_Object_int(mb, (const Object *) this, idx)); -} - -Array ARVRServer::get_interfaces() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "get_interfaces"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -Ref ARVRServer::find_interface(const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "find_interface"); - } - return Ref::__internal_constructor(___godot_icall_Object_String(mb, (const Object *) this, name)); -} - -int64_t ARVRServer::get_tracker_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "get_tracker_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -ARVRPositionalTracker *ARVRServer::get_tracker(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "get_tracker"); - } - return (ARVRPositionalTracker *) ___godot_icall_Object_int(mb, (const Object *) this, idx); -} - -Ref ARVRServer::get_primary_interface() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "get_primary_interface"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void ARVRServer::set_primary_interface(const Ref interface) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "set_primary_interface"); - } - ___godot_icall_void_Object(mb, (const Object *) this, interface.ptr()); -} - -int64_t ARVRServer::get_last_process_usec() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "get_last_process_usec"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -int64_t ARVRServer::get_last_commit_usec() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "get_last_commit_usec"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -int64_t ARVRServer::get_last_frame_usec() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ARVRServer", "get_last_frame_usec"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AStar.cpp b/src/gen/AStar.cpp deleted file mode 100644 index 0c08d5ba..00000000 --- a/src/gen/AStar.cpp +++ /dev/null @@ -1,191 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AStar::___get_type_tag() -{ - return (void *) &AStar::___get_type_tag; -} - -void *AStar::___get_base_type_tag() -{ - return (void *) &Reference::___get_type_tag; -} - -AStar *AStar::_new() -{ - return (AStar *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AStar")()); -} -double AStar::_estimate_cost(const int64_t from_id, const int64_t to_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "_estimate_cost"); - } - return ___godot_icall_float_int_int(mb, (const Object *) this, from_id, to_id); -} - -double AStar::_compute_cost(const int64_t from_id, const int64_t to_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "_compute_cost"); - } - return ___godot_icall_float_int_int(mb, (const Object *) this, from_id, to_id); -} - -int64_t AStar::get_available_point_id() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "get_available_point_id"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void AStar::add_point(const int64_t id, const Vector3 position, const double weight_scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "add_point"); - } - ___godot_icall_void_int_Vector3_float(mb, (const Object *) this, id, position, weight_scale); -} - -Vector3 AStar::get_point_position(const int64_t id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "get_point_position"); - } - return ___godot_icall_Vector3_int(mb, (const Object *) this, id); -} - -void AStar::set_point_position(const int64_t id, const Vector3 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "set_point_position"); - } - ___godot_icall_void_int_Vector3(mb, (const Object *) this, id, position); -} - -double AStar::get_point_weight_scale(const int64_t id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "get_point_weight_scale"); - } - return ___godot_icall_float_int(mb, (const Object *) this, id); -} - -void AStar::set_point_weight_scale(const int64_t id, const double weight_scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "set_point_weight_scale"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, id, weight_scale); -} - -void AStar::remove_point(const int64_t id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "remove_point"); - } - ___godot_icall_void_int(mb, (const Object *) this, id); -} - -bool AStar::has_point(const int64_t id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "has_point"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, id); -} - -Array AStar::get_points() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "get_points"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -PoolIntArray AStar::get_point_connections(const int64_t id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "get_point_connections"); - } - return ___godot_icall_PoolIntArray_int(mb, (const Object *) this, id); -} - -void AStar::connect_points(const int64_t id, const int64_t to_id, const bool bidirectional) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "connect_points"); - } - ___godot_icall_void_int_int_bool(mb, (const Object *) this, id, to_id, bidirectional); -} - -void AStar::disconnect_points(const int64_t id, const int64_t to_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "disconnect_points"); - } - ___godot_icall_void_int_int(mb, (const Object *) this, id, to_id); -} - -bool AStar::are_points_connected(const int64_t id, const int64_t to_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "are_points_connected"); - } - return ___godot_icall_bool_int_int(mb, (const Object *) this, id, to_id); -} - -void AStar::clear() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "clear"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -int64_t AStar::get_closest_point(const Vector3 to_position) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "get_closest_point"); - } - return ___godot_icall_int_Vector3(mb, (const Object *) this, to_position); -} - -Vector3 AStar::get_closest_position_in_segment(const Vector3 to_position) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "get_closest_position_in_segment"); - } - return ___godot_icall_Vector3_Vector3(mb, (const Object *) this, to_position); -} - -PoolVector3Array AStar::get_point_path(const int64_t from_id, const int64_t to_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "get_point_path"); - } - return ___godot_icall_PoolVector3Array_int_int(mb, (const Object *) this, from_id, to_id); -} - -PoolIntArray AStar::get_id_path(const int64_t from_id, const int64_t to_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AStar", "get_id_path"); - } - return ___godot_icall_PoolIntArray_int_int(mb, (const Object *) this, from_id, to_id); -} - -} \ No newline at end of file diff --git a/src/gen/AcceptDialog.cpp b/src/gen/AcceptDialog.cpp deleted file mode 100644 index 8cf381b4..00000000 --- a/src/gen/AcceptDialog.cpp +++ /dev/null @@ -1,130 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include -#include - - -namespace godot { - - -void *AcceptDialog::___get_type_tag() -{ - return (void *) &AcceptDialog::___get_type_tag; -} - -void *AcceptDialog::___get_base_type_tag() -{ - return (void *) &WindowDialog::___get_type_tag; -} - -AcceptDialog *AcceptDialog::_new() -{ - return (AcceptDialog *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AcceptDialog")()); -} -void AcceptDialog::_ok() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AcceptDialog", "_ok"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -Button *AcceptDialog::get_ok() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AcceptDialog", "get_ok"); - } - return (Button *) ___godot_icall_Object(mb, (const Object *) this); -} - -Label *AcceptDialog::get_label() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AcceptDialog", "get_label"); - } - return (Label *) ___godot_icall_Object(mb, (const Object *) this); -} - -void AcceptDialog::set_hide_on_ok(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AcceptDialog", "set_hide_on_ok"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -bool AcceptDialog::get_hide_on_ok() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AcceptDialog", "get_hide_on_ok"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -Button *AcceptDialog::add_button(const String text, const bool right, const String action) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AcceptDialog", "add_button"); - } - return (Button *) ___godot_icall_Object_String_bool_String(mb, (const Object *) this, text, right, action); -} - -Button *AcceptDialog::add_cancel(const String name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AcceptDialog", "add_cancel"); - } - return (Button *) ___godot_icall_Object_String(mb, (const Object *) this, name); -} - -void AcceptDialog::_builtin_text_entered(const String arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AcceptDialog", "_builtin_text_entered"); - } - ___godot_icall_void_String(mb, (const Object *) this, arg0); -} - -void AcceptDialog::register_text_enter(const Object *line_edit) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AcceptDialog", "register_text_enter"); - } - ___godot_icall_void_Object(mb, (const Object *) this, line_edit); -} - -void AcceptDialog::_custom_action(const String arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AcceptDialog", "_custom_action"); - } - ___godot_icall_void_String(mb, (const Object *) this, arg0); -} - -void AcceptDialog::set_text(const String text) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AcceptDialog", "set_text"); - } - ___godot_icall_void_String(mb, (const Object *) this, text); -} - -String AcceptDialog::get_text() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AcceptDialog", "get_text"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AnimatedSprite.cpp b/src/gen/AnimatedSprite.cpp deleted file mode 100644 index 6fac68a3..00000000 --- a/src/gen/AnimatedSprite.cpp +++ /dev/null @@ -1,192 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *AnimatedSprite::___get_type_tag() -{ - return (void *) &AnimatedSprite::___get_type_tag; -} - -void *AnimatedSprite::___get_base_type_tag() -{ - return (void *) &Node2D::___get_type_tag; -} - -AnimatedSprite *AnimatedSprite::_new() -{ - return (AnimatedSprite *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AnimatedSprite")()); -} -void AnimatedSprite::set_sprite_frames(const Ref sprite_frames) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "set_sprite_frames"); - } - ___godot_icall_void_Object(mb, (const Object *) this, sprite_frames.ptr()); -} - -Ref AnimatedSprite::get_sprite_frames() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "get_sprite_frames"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void AnimatedSprite::set_animation(const String animation) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "set_animation"); - } - ___godot_icall_void_String(mb, (const Object *) this, animation); -} - -String AnimatedSprite::get_animation() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "get_animation"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void AnimatedSprite::_set_playing(const bool playing) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "_set_playing"); - } - ___godot_icall_void_bool(mb, (const Object *) this, playing); -} - -bool AnimatedSprite::_is_playing() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "_is_playing"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AnimatedSprite::play(const String anim) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "play"); - } - ___godot_icall_void_String(mb, (const Object *) this, anim); -} - -void AnimatedSprite::stop() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "stop"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -bool AnimatedSprite::is_playing() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "is_playing"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AnimatedSprite::set_centered(const bool centered) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "set_centered"); - } - ___godot_icall_void_bool(mb, (const Object *) this, centered); -} - -bool AnimatedSprite::is_centered() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "is_centered"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AnimatedSprite::set_offset(const Vector2 offset) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "set_offset"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, offset); -} - -Vector2 AnimatedSprite::get_offset() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "get_offset"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -void AnimatedSprite::set_flip_h(const bool flip_h) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "set_flip_h"); - } - ___godot_icall_void_bool(mb, (const Object *) this, flip_h); -} - -bool AnimatedSprite::is_flipped_h() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "is_flipped_h"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AnimatedSprite::set_flip_v(const bool flip_v) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "set_flip_v"); - } - ___godot_icall_void_bool(mb, (const Object *) this, flip_v); -} - -bool AnimatedSprite::is_flipped_v() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "is_flipped_v"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AnimatedSprite::set_frame(const int64_t frame) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "set_frame"); - } - ___godot_icall_void_int(mb, (const Object *) this, frame); -} - -int64_t AnimatedSprite::get_frame() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "get_frame"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void AnimatedSprite::_res_changed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite", "_res_changed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AnimatedSprite3D.cpp b/src/gen/AnimatedSprite3D.cpp deleted file mode 100644 index bda9e7cf..00000000 --- a/src/gen/AnimatedSprite3D.cpp +++ /dev/null @@ -1,128 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *AnimatedSprite3D::___get_type_tag() -{ - return (void *) &AnimatedSprite3D::___get_type_tag; -} - -void *AnimatedSprite3D::___get_base_type_tag() -{ - return (void *) &SpriteBase3D::___get_type_tag; -} - -AnimatedSprite3D *AnimatedSprite3D::_new() -{ - return (AnimatedSprite3D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AnimatedSprite3D")()); -} -void AnimatedSprite3D::set_sprite_frames(const Ref sprite_frames) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite3D", "set_sprite_frames"); - } - ___godot_icall_void_Object(mb, (const Object *) this, sprite_frames.ptr()); -} - -Ref AnimatedSprite3D::get_sprite_frames() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite3D", "get_sprite_frames"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void AnimatedSprite3D::set_animation(const String animation) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite3D", "set_animation"); - } - ___godot_icall_void_String(mb, (const Object *) this, animation); -} - -String AnimatedSprite3D::get_animation() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite3D", "get_animation"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void AnimatedSprite3D::_set_playing(const bool playing) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite3D", "_set_playing"); - } - ___godot_icall_void_bool(mb, (const Object *) this, playing); -} - -bool AnimatedSprite3D::_is_playing() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite3D", "_is_playing"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AnimatedSprite3D::play(const String anim) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite3D", "play"); - } - ___godot_icall_void_String(mb, (const Object *) this, anim); -} - -void AnimatedSprite3D::stop() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite3D", "stop"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -bool AnimatedSprite3D::is_playing() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite3D", "is_playing"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AnimatedSprite3D::set_frame(const int64_t frame) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite3D", "set_frame"); - } - ___godot_icall_void_int(mb, (const Object *) this, frame); -} - -int64_t AnimatedSprite3D::get_frame() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite3D", "get_frame"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void AnimatedSprite3D::_res_changed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimatedSprite3D", "_res_changed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/Animation.cpp b/src/gen/Animation.cpp deleted file mode 100644 index 02d26b53..00000000 --- a/src/gen/Animation.cpp +++ /dev/null @@ -1,376 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *Animation::___get_type_tag() -{ - return (void *) &Animation::___get_type_tag; -} - -void *Animation::___get_base_type_tag() -{ - return (void *) &Resource::___get_type_tag; -} - -Animation *Animation::_new() -{ - return (Animation *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"Animation")()); -} -int64_t Animation::add_track(const int64_t type, const int64_t at_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "add_track"); - } - return ___godot_icall_int_int_int(mb, (const Object *) this, type, at_position); -} - -void Animation::remove_track(const int64_t idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "remove_track"); - } - ___godot_icall_void_int(mb, (const Object *) this, idx); -} - -int64_t Animation::get_track_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "get_track_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -Animation::TrackType Animation::track_get_type(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_get_type"); - } - return (Animation::TrackType) ___godot_icall_int_int(mb, (const Object *) this, idx); -} - -NodePath Animation::track_get_path(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_get_path"); - } - return ___godot_icall_NodePath_int(mb, (const Object *) this, idx); -} - -void Animation::track_set_path(const int64_t idx, const NodePath path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_set_path"); - } - ___godot_icall_void_int_NodePath(mb, (const Object *) this, idx, path); -} - -int64_t Animation::find_track(const NodePath path) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "find_track"); - } - return ___godot_icall_int_NodePath(mb, (const Object *) this, path); -} - -void Animation::track_move_up(const int64_t idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_move_up"); - } - ___godot_icall_void_int(mb, (const Object *) this, idx); -} - -void Animation::track_move_down(const int64_t idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_move_down"); - } - ___godot_icall_void_int(mb, (const Object *) this, idx); -} - -void Animation::track_set_imported(const int64_t idx, const bool imported) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_set_imported"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, idx, imported); -} - -bool Animation::track_is_imported(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_is_imported"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, idx); -} - -void Animation::track_set_enabled(const int64_t idx, const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_set_enabled"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, idx, enabled); -} - -bool Animation::track_is_enabled(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_is_enabled"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, idx); -} - -int64_t Animation::transform_track_insert_key(const int64_t idx, const double time, const Vector3 location, const Quat rotation, const Vector3 scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "transform_track_insert_key"); - } - return ___godot_icall_int_int_float_Vector3_Quat_Vector3(mb, (const Object *) this, idx, time, location, rotation, scale); -} - -void Animation::track_insert_key(const int64_t idx, const double time, const Variant key, const double transition) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_insert_key"); - } - ___godot_icall_void_int_float_Variant_float(mb, (const Object *) this, idx, time, key, transition); -} - -void Animation::track_remove_key(const int64_t idx, const int64_t key_idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_remove_key"); - } - ___godot_icall_void_int_int(mb, (const Object *) this, idx, key_idx); -} - -void Animation::track_remove_key_at_position(const int64_t idx, const double position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_remove_key_at_position"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, idx, position); -} - -void Animation::track_set_key_value(const int64_t idx, const int64_t key, const Variant value) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_set_key_value"); - } - ___godot_icall_void_int_int_Variant(mb, (const Object *) this, idx, key, value); -} - -void Animation::track_set_key_transition(const int64_t idx, const int64_t key_idx, const double transition) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_set_key_transition"); - } - ___godot_icall_void_int_int_float(mb, (const Object *) this, idx, key_idx, transition); -} - -double Animation::track_get_key_transition(const int64_t idx, const int64_t key_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_get_key_transition"); - } - return ___godot_icall_float_int_int(mb, (const Object *) this, idx, key_idx); -} - -int64_t Animation::track_get_key_count(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_get_key_count"); - } - return ___godot_icall_int_int(mb, (const Object *) this, idx); -} - -Variant Animation::track_get_key_value(const int64_t idx, const int64_t key_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_get_key_value"); - } - return ___godot_icall_Variant_int_int(mb, (const Object *) this, idx, key_idx); -} - -double Animation::track_get_key_time(const int64_t idx, const int64_t key_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_get_key_time"); - } - return ___godot_icall_float_int_int(mb, (const Object *) this, idx, key_idx); -} - -int64_t Animation::track_find_key(const int64_t idx, const double time, const bool exact) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_find_key"); - } - return ___godot_icall_int_int_float_bool(mb, (const Object *) this, idx, time, exact); -} - -void Animation::track_set_interpolation_type(const int64_t idx, const int64_t interpolation) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_set_interpolation_type"); - } - ___godot_icall_void_int_int(mb, (const Object *) this, idx, interpolation); -} - -Animation::InterpolationType Animation::track_get_interpolation_type(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_get_interpolation_type"); - } - return (Animation::InterpolationType) ___godot_icall_int_int(mb, (const Object *) this, idx); -} - -void Animation::track_set_interpolation_loop_wrap(const int64_t idx, const bool interpolation) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_set_interpolation_loop_wrap"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, idx, interpolation); -} - -bool Animation::track_get_interpolation_loop_wrap(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "track_get_interpolation_loop_wrap"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, idx); -} - -Array Animation::transform_track_interpolate(const int64_t idx, const double time_sec) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "transform_track_interpolate"); - } - return ___godot_icall_Array_int_float(mb, (const Object *) this, idx, time_sec); -} - -void Animation::value_track_set_update_mode(const int64_t idx, const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "value_track_set_update_mode"); - } - ___godot_icall_void_int_int(mb, (const Object *) this, idx, mode); -} - -Animation::UpdateMode Animation::value_track_get_update_mode(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "value_track_get_update_mode"); - } - return (Animation::UpdateMode) ___godot_icall_int_int(mb, (const Object *) this, idx); -} - -PoolIntArray Animation::value_track_get_key_indices(const int64_t idx, const double time_sec, const double delta) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "value_track_get_key_indices"); - } - return ___godot_icall_PoolIntArray_int_float_float(mb, (const Object *) this, idx, time_sec, delta); -} - -PoolIntArray Animation::method_track_get_key_indices(const int64_t idx, const double time_sec, const double delta) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "method_track_get_key_indices"); - } - return ___godot_icall_PoolIntArray_int_float_float(mb, (const Object *) this, idx, time_sec, delta); -} - -String Animation::method_track_get_name(const int64_t idx, const int64_t key_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "method_track_get_name"); - } - return ___godot_icall_String_int_int(mb, (const Object *) this, idx, key_idx); -} - -Array Animation::method_track_get_params(const int64_t idx, const int64_t key_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "method_track_get_params"); - } - return ___godot_icall_Array_int_int(mb, (const Object *) this, idx, key_idx); -} - -void Animation::set_length(const double time_sec) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "set_length"); - } - ___godot_icall_void_float(mb, (const Object *) this, time_sec); -} - -double Animation::get_length() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "get_length"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Animation::set_loop(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "set_loop"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -bool Animation::has_loop() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "has_loop"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Animation::set_step(const double size_sec) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "set_step"); - } - ___godot_icall_void_float(mb, (const Object *) this, size_sec); -} - -double Animation::get_step() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "get_step"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Animation::clear() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "clear"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Animation::copy_track(const int64_t track, const Ref to_animation) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Animation", "copy_track"); - } - ___godot_icall_void_int_Object(mb, (const Object *) this, track, to_animation.ptr()); -} - -} \ No newline at end of file diff --git a/src/gen/AnimationPlayer.cpp b/src/gen/AnimationPlayer.cpp deleted file mode 100644 index 36cedee6..00000000 --- a/src/gen/AnimationPlayer.cpp +++ /dev/null @@ -1,353 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include - - -namespace godot { - - -void *AnimationPlayer::___get_type_tag() -{ - return (void *) &AnimationPlayer::___get_type_tag; -} - -void *AnimationPlayer::___get_base_type_tag() -{ - return (void *) &Node::___get_type_tag; -} - -AnimationPlayer *AnimationPlayer::_new() -{ - return (AnimationPlayer *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AnimationPlayer")()); -} -void AnimationPlayer::_node_removed(const Object *arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "_node_removed"); - } - ___godot_icall_void_Object(mb, (const Object *) this, arg0); -} - -void AnimationPlayer::_animation_changed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "_animation_changed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -Error AnimationPlayer::add_animation(const String name, const Ref animation) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "add_animation"); - } - return (Error) ___godot_icall_int_String_Object(mb, (const Object *) this, name, animation.ptr()); -} - -void AnimationPlayer::remove_animation(const String name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "remove_animation"); - } - ___godot_icall_void_String(mb, (const Object *) this, name); -} - -void AnimationPlayer::rename_animation(const String name, const String newname) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "rename_animation"); - } - ___godot_icall_void_String_String(mb, (const Object *) this, name, newname); -} - -bool AnimationPlayer::has_animation(const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "has_animation"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, name); -} - -Ref AnimationPlayer::get_animation(const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "get_animation"); - } - return Ref::__internal_constructor(___godot_icall_Object_String(mb, (const Object *) this, name)); -} - -PoolStringArray AnimationPlayer::get_animation_list() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "get_animation_list"); - } - return ___godot_icall_PoolStringArray(mb, (const Object *) this); -} - -void AnimationPlayer::animation_set_next(const String anim_from, const String anim_to) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "animation_set_next"); - } - ___godot_icall_void_String_String(mb, (const Object *) this, anim_from, anim_to); -} - -String AnimationPlayer::animation_get_next(const String anim_from) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "animation_get_next"); - } - return ___godot_icall_String_String(mb, (const Object *) this, anim_from); -} - -void AnimationPlayer::set_blend_time(const String anim_from, const String anim_to, const double sec) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "set_blend_time"); - } - ___godot_icall_void_String_String_float(mb, (const Object *) this, anim_from, anim_to, sec); -} - -double AnimationPlayer::get_blend_time(const String anim_from, const String anim_to) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "get_blend_time"); - } - return ___godot_icall_float_String_String(mb, (const Object *) this, anim_from, anim_to); -} - -void AnimationPlayer::set_default_blend_time(const double sec) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "set_default_blend_time"); - } - ___godot_icall_void_float(mb, (const Object *) this, sec); -} - -double AnimationPlayer::get_default_blend_time() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "get_default_blend_time"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AnimationPlayer::play(const String name, const double custom_blend, const double custom_speed, const bool from_end) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "play"); - } - ___godot_icall_void_String_float_float_bool(mb, (const Object *) this, name, custom_blend, custom_speed, from_end); -} - -void AnimationPlayer::play_backwards(const String name, const double custom_blend) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "play_backwards"); - } - ___godot_icall_void_String_float(mb, (const Object *) this, name, custom_blend); -} - -void AnimationPlayer::stop(const bool reset) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "stop"); - } - ___godot_icall_void_bool(mb, (const Object *) this, reset); -} - -bool AnimationPlayer::is_playing() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "is_playing"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AnimationPlayer::set_current_animation(const String anim) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "set_current_animation"); - } - ___godot_icall_void_String(mb, (const Object *) this, anim); -} - -String AnimationPlayer::get_current_animation() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "get_current_animation"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void AnimationPlayer::set_assigned_animation(const String anim) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "set_assigned_animation"); - } - ___godot_icall_void_String(mb, (const Object *) this, anim); -} - -String AnimationPlayer::get_assigned_animation() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "get_assigned_animation"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void AnimationPlayer::queue(const String name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "queue"); - } - ___godot_icall_void_String(mb, (const Object *) this, name); -} - -void AnimationPlayer::clear_queue() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "clear_queue"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void AnimationPlayer::set_active(const bool active) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "set_active"); - } - ___godot_icall_void_bool(mb, (const Object *) this, active); -} - -bool AnimationPlayer::is_active() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "is_active"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AnimationPlayer::set_speed_scale(const double speed) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "set_speed_scale"); - } - ___godot_icall_void_float(mb, (const Object *) this, speed); -} - -double AnimationPlayer::get_speed_scale() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "get_speed_scale"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AnimationPlayer::set_autoplay(const String name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "set_autoplay"); - } - ___godot_icall_void_String(mb, (const Object *) this, name); -} - -String AnimationPlayer::get_autoplay() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "get_autoplay"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void AnimationPlayer::set_root(const NodePath path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "set_root"); - } - ___godot_icall_void_NodePath(mb, (const Object *) this, path); -} - -NodePath AnimationPlayer::get_root() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "get_root"); - } - return ___godot_icall_NodePath(mb, (const Object *) this); -} - -String AnimationPlayer::find_animation(const Ref animation) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "find_animation"); - } - return ___godot_icall_String_Object(mb, (const Object *) this, animation.ptr()); -} - -void AnimationPlayer::clear_caches() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "clear_caches"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void AnimationPlayer::set_animation_process_mode(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "set_animation_process_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -AnimationPlayer::AnimationProcessMode AnimationPlayer::get_animation_process_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "get_animation_process_mode"); - } - return (AnimationPlayer::AnimationProcessMode) ___godot_icall_int(mb, (const Object *) this); -} - -double AnimationPlayer::get_current_animation_position() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "get_current_animation_position"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -double AnimationPlayer::get_current_animation_length() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "get_current_animation_length"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AnimationPlayer::seek(const double seconds, const bool update) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "seek"); - } - ___godot_icall_void_float_bool(mb, (const Object *) this, seconds, update); -} - -void AnimationPlayer::advance(const double delta) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationPlayer", "advance"); - } - ___godot_icall_void_float(mb, (const Object *) this, delta); -} - -} \ No newline at end of file diff --git a/src/gen/AnimationTreePlayer.cpp b/src/gen/AnimationTreePlayer.cpp deleted file mode 100644 index 5471a2c0..00000000 --- a/src/gen/AnimationTreePlayer.cpp +++ /dev/null @@ -1,544 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *AnimationTreePlayer::___get_type_tag() -{ - return (void *) &AnimationTreePlayer::___get_type_tag; -} - -void *AnimationTreePlayer::___get_base_type_tag() -{ - return (void *) &Node::___get_type_tag; -} - -AnimationTreePlayer *AnimationTreePlayer::_new() -{ - return (AnimationTreePlayer *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AnimationTreePlayer")()); -} -void AnimationTreePlayer::add_node(const int64_t type, const String id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "add_node"); - } - ___godot_icall_void_int_String(mb, (const Object *) this, type, id); -} - -bool AnimationTreePlayer::node_exists(const String node) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "node_exists"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, node); -} - -Error AnimationTreePlayer::node_rename(const String node, const String new_name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "node_rename"); - } - return (Error) ___godot_icall_int_String_String(mb, (const Object *) this, node, new_name); -} - -AnimationTreePlayer::NodeType AnimationTreePlayer::node_get_type(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "node_get_type"); - } - return (AnimationTreePlayer::NodeType) ___godot_icall_int_String(mb, (const Object *) this, id); -} - -int64_t AnimationTreePlayer::node_get_input_count(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "node_get_input_count"); - } - return ___godot_icall_int_String(mb, (const Object *) this, id); -} - -String AnimationTreePlayer::node_get_input_source(const String id, const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "node_get_input_source"); - } - return ___godot_icall_String_String_int(mb, (const Object *) this, id, idx); -} - -void AnimationTreePlayer::animation_node_set_animation(const String id, const Ref animation) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "animation_node_set_animation"); - } - ___godot_icall_void_String_Object(mb, (const Object *) this, id, animation.ptr()); -} - -Ref AnimationTreePlayer::animation_node_get_animation(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "animation_node_get_animation"); - } - return Ref::__internal_constructor(___godot_icall_Object_String(mb, (const Object *) this, id)); -} - -void AnimationTreePlayer::animation_node_set_master_animation(const String id, const String source) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "animation_node_set_master_animation"); - } - ___godot_icall_void_String_String(mb, (const Object *) this, id, source); -} - -String AnimationTreePlayer::animation_node_get_master_animation(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "animation_node_get_master_animation"); - } - return ___godot_icall_String_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::animation_node_set_filter_path(const String id, const NodePath path, const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "animation_node_set_filter_path"); - } - ___godot_icall_void_String_NodePath_bool(mb, (const Object *) this, id, path, enable); -} - -void AnimationTreePlayer::oneshot_node_set_fadein_time(const String id, const double time_sec) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_set_fadein_time"); - } - ___godot_icall_void_String_float(mb, (const Object *) this, id, time_sec); -} - -double AnimationTreePlayer::oneshot_node_get_fadein_time(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_get_fadein_time"); - } - return ___godot_icall_float_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::oneshot_node_set_fadeout_time(const String id, const double time_sec) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_set_fadeout_time"); - } - ___godot_icall_void_String_float(mb, (const Object *) this, id, time_sec); -} - -double AnimationTreePlayer::oneshot_node_get_fadeout_time(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_get_fadeout_time"); - } - return ___godot_icall_float_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::oneshot_node_set_autorestart(const String id, const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_set_autorestart"); - } - ___godot_icall_void_String_bool(mb, (const Object *) this, id, enable); -} - -void AnimationTreePlayer::oneshot_node_set_autorestart_delay(const String id, const double delay_sec) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_set_autorestart_delay"); - } - ___godot_icall_void_String_float(mb, (const Object *) this, id, delay_sec); -} - -void AnimationTreePlayer::oneshot_node_set_autorestart_random_delay(const String id, const double rand_sec) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_set_autorestart_random_delay"); - } - ___godot_icall_void_String_float(mb, (const Object *) this, id, rand_sec); -} - -bool AnimationTreePlayer::oneshot_node_has_autorestart(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_has_autorestart"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, id); -} - -double AnimationTreePlayer::oneshot_node_get_autorestart_delay(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_get_autorestart_delay"); - } - return ___godot_icall_float_String(mb, (const Object *) this, id); -} - -double AnimationTreePlayer::oneshot_node_get_autorestart_random_delay(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_get_autorestart_random_delay"); - } - return ___godot_icall_float_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::oneshot_node_start(const String id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_start"); - } - ___godot_icall_void_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::oneshot_node_stop(const String id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_stop"); - } - ___godot_icall_void_String(mb, (const Object *) this, id); -} - -bool AnimationTreePlayer::oneshot_node_is_active(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_is_active"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::oneshot_node_set_filter_path(const String id, const NodePath path, const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "oneshot_node_set_filter_path"); - } - ___godot_icall_void_String_NodePath_bool(mb, (const Object *) this, id, path, enable); -} - -void AnimationTreePlayer::mix_node_set_amount(const String id, const double ratio) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "mix_node_set_amount"); - } - ___godot_icall_void_String_float(mb, (const Object *) this, id, ratio); -} - -double AnimationTreePlayer::mix_node_get_amount(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "mix_node_get_amount"); - } - return ___godot_icall_float_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::blend2_node_set_amount(const String id, const double blend) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "blend2_node_set_amount"); - } - ___godot_icall_void_String_float(mb, (const Object *) this, id, blend); -} - -double AnimationTreePlayer::blend2_node_get_amount(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "blend2_node_get_amount"); - } - return ___godot_icall_float_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::blend2_node_set_filter_path(const String id, const NodePath path, const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "blend2_node_set_filter_path"); - } - ___godot_icall_void_String_NodePath_bool(mb, (const Object *) this, id, path, enable); -} - -void AnimationTreePlayer::blend3_node_set_amount(const String id, const double blend) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "blend3_node_set_amount"); - } - ___godot_icall_void_String_float(mb, (const Object *) this, id, blend); -} - -double AnimationTreePlayer::blend3_node_get_amount(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "blend3_node_get_amount"); - } - return ___godot_icall_float_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::blend4_node_set_amount(const String id, const Vector2 blend) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "blend4_node_set_amount"); - } - ___godot_icall_void_String_Vector2(mb, (const Object *) this, id, blend); -} - -Vector2 AnimationTreePlayer::blend4_node_get_amount(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "blend4_node_get_amount"); - } - return ___godot_icall_Vector2_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::timescale_node_set_scale(const String id, const double scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "timescale_node_set_scale"); - } - ___godot_icall_void_String_float(mb, (const Object *) this, id, scale); -} - -double AnimationTreePlayer::timescale_node_get_scale(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "timescale_node_get_scale"); - } - return ___godot_icall_float_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::timeseek_node_seek(const String id, const double seconds) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "timeseek_node_seek"); - } - ___godot_icall_void_String_float(mb, (const Object *) this, id, seconds); -} - -void AnimationTreePlayer::transition_node_set_input_count(const String id, const int64_t count) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "transition_node_set_input_count"); - } - ___godot_icall_void_String_int(mb, (const Object *) this, id, count); -} - -int64_t AnimationTreePlayer::transition_node_get_input_count(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "transition_node_get_input_count"); - } - return ___godot_icall_int_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::transition_node_delete_input(const String id, const int64_t input_idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "transition_node_delete_input"); - } - ___godot_icall_void_String_int(mb, (const Object *) this, id, input_idx); -} - -void AnimationTreePlayer::transition_node_set_input_auto_advance(const String id, const int64_t input_idx, const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "transition_node_set_input_auto_advance"); - } - ___godot_icall_void_String_int_bool(mb, (const Object *) this, id, input_idx, enable); -} - -bool AnimationTreePlayer::transition_node_has_input_auto_advance(const String id, const int64_t input_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "transition_node_has_input_auto_advance"); - } - return ___godot_icall_bool_String_int(mb, (const Object *) this, id, input_idx); -} - -void AnimationTreePlayer::transition_node_set_xfade_time(const String id, const double time_sec) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "transition_node_set_xfade_time"); - } - ___godot_icall_void_String_float(mb, (const Object *) this, id, time_sec); -} - -double AnimationTreePlayer::transition_node_get_xfade_time(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "transition_node_get_xfade_time"); - } - return ___godot_icall_float_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::transition_node_set_current(const String id, const int64_t input_idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "transition_node_set_current"); - } - ___godot_icall_void_String_int(mb, (const Object *) this, id, input_idx); -} - -int64_t AnimationTreePlayer::transition_node_get_current(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "transition_node_get_current"); - } - return ___godot_icall_int_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::node_set_position(const String id, const Vector2 screen_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "node_set_position"); - } - ___godot_icall_void_String_Vector2(mb, (const Object *) this, id, screen_position); -} - -Vector2 AnimationTreePlayer::node_get_position(const String id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "node_get_position"); - } - return ___godot_icall_Vector2_String(mb, (const Object *) this, id); -} - -void AnimationTreePlayer::remove_node(const String id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "remove_node"); - } - ___godot_icall_void_String(mb, (const Object *) this, id); -} - -Error AnimationTreePlayer::connect_nodes(const String id, const String dst_id, const int64_t dst_input_idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "connect_nodes"); - } - return (Error) ___godot_icall_int_String_String_int(mb, (const Object *) this, id, dst_id, dst_input_idx); -} - -bool AnimationTreePlayer::are_nodes_connected(const String id, const String dst_id, const int64_t dst_input_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "are_nodes_connected"); - } - return ___godot_icall_bool_String_String_int(mb, (const Object *) this, id, dst_id, dst_input_idx); -} - -void AnimationTreePlayer::disconnect_nodes(const String id, const int64_t dst_input_idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "disconnect_nodes"); - } - ___godot_icall_void_String_int(mb, (const Object *) this, id, dst_input_idx); -} - -void AnimationTreePlayer::set_active(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "set_active"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -bool AnimationTreePlayer::is_active() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "is_active"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AnimationTreePlayer::set_base_path(const NodePath path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "set_base_path"); - } - ___godot_icall_void_NodePath(mb, (const Object *) this, path); -} - -NodePath AnimationTreePlayer::get_base_path() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "get_base_path"); - } - return ___godot_icall_NodePath(mb, (const Object *) this); -} - -void AnimationTreePlayer::set_master_player(const NodePath nodepath) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "set_master_player"); - } - ___godot_icall_void_NodePath(mb, (const Object *) this, nodepath); -} - -NodePath AnimationTreePlayer::get_master_player() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "get_master_player"); - } - return ___godot_icall_NodePath(mb, (const Object *) this); -} - -PoolStringArray AnimationTreePlayer::get_node_list() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "get_node_list"); - } - return ___godot_icall_PoolStringArray(mb, (const Object *) this); -} - -void AnimationTreePlayer::set_animation_process_mode(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "set_animation_process_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -AnimationTreePlayer::AnimationProcessMode AnimationTreePlayer::get_animation_process_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "get_animation_process_mode"); - } - return (AnimationTreePlayer::AnimationProcessMode) ___godot_icall_int(mb, (const Object *) this); -} - -void AnimationTreePlayer::advance(const double delta) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "advance"); - } - ___godot_icall_void_float(mb, (const Object *) this, delta); -} - -void AnimationTreePlayer::reset() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "reset"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void AnimationTreePlayer::recompute_caches() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AnimationTreePlayer", "recompute_caches"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/Area.cpp b/src/gen/Area.cpp deleted file mode 100644 index 6744430e..00000000 --- a/src/gen/Area.cpp +++ /dev/null @@ -1,432 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *Area::___get_type_tag() -{ - return (void *) &Area::___get_type_tag; -} - -void *Area::___get_base_type_tag() -{ - return (void *) &CollisionObject::___get_type_tag; -} - -Area *Area::_new() -{ - return (Area *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"Area")()); -} -void Area::_body_enter_tree(const int64_t id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "_body_enter_tree"); - } - ___godot_icall_void_int(mb, (const Object *) this, id); -} - -void Area::_body_exit_tree(const int64_t id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "_body_exit_tree"); - } - ___godot_icall_void_int(mb, (const Object *) this, id); -} - -void Area::_area_enter_tree(const int64_t id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "_area_enter_tree"); - } - ___godot_icall_void_int(mb, (const Object *) this, id); -} - -void Area::_area_exit_tree(const int64_t id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "_area_exit_tree"); - } - ___godot_icall_void_int(mb, (const Object *) this, id); -} - -void Area::set_space_override_mode(const int64_t enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_space_override_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, enable); -} - -Area::SpaceOverride Area::get_space_override_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_space_override_mode"); - } - return (Area::SpaceOverride) ___godot_icall_int(mb, (const Object *) this); -} - -void Area::set_gravity_is_point(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_gravity_is_point"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool Area::is_gravity_a_point() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "is_gravity_a_point"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Area::set_gravity_distance_scale(const double distance_scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_gravity_distance_scale"); - } - ___godot_icall_void_float(mb, (const Object *) this, distance_scale); -} - -double Area::get_gravity_distance_scale() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_gravity_distance_scale"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Area::set_gravity_vector(const Vector3 vector) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_gravity_vector"); - } - ___godot_icall_void_Vector3(mb, (const Object *) this, vector); -} - -Vector3 Area::get_gravity_vector() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_gravity_vector"); - } - return ___godot_icall_Vector3(mb, (const Object *) this); -} - -void Area::set_gravity(const double gravity) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_gravity"); - } - ___godot_icall_void_float(mb, (const Object *) this, gravity); -} - -double Area::get_gravity() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_gravity"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Area::set_angular_damp(const double angular_damp) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_angular_damp"); - } - ___godot_icall_void_float(mb, (const Object *) this, angular_damp); -} - -double Area::get_angular_damp() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_angular_damp"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Area::set_linear_damp(const double linear_damp) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_linear_damp"); - } - ___godot_icall_void_float(mb, (const Object *) this, linear_damp); -} - -double Area::get_linear_damp() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_linear_damp"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Area::set_priority(const double priority) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_priority"); - } - ___godot_icall_void_float(mb, (const Object *) this, priority); -} - -double Area::get_priority() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_priority"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Area::set_collision_mask(const int64_t collision_mask) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_collision_mask"); - } - ___godot_icall_void_int(mb, (const Object *) this, collision_mask); -} - -int64_t Area::get_collision_mask() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_collision_mask"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void Area::set_collision_layer(const int64_t collision_layer) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_collision_layer"); - } - ___godot_icall_void_int(mb, (const Object *) this, collision_layer); -} - -int64_t Area::get_collision_layer() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_collision_layer"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void Area::set_collision_mask_bit(const int64_t bit, const bool value) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_collision_mask_bit"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, bit, value); -} - -bool Area::get_collision_mask_bit(const int64_t bit) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_collision_mask_bit"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, bit); -} - -void Area::set_collision_layer_bit(const int64_t bit, const bool value) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_collision_layer_bit"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, bit, value); -} - -bool Area::get_collision_layer_bit(const int64_t bit) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_collision_layer_bit"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, bit); -} - -void Area::set_monitorable(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_monitorable"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool Area::is_monitorable() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "is_monitorable"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Area::set_monitoring(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_monitoring"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool Area::is_monitoring() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "is_monitoring"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -Array Area::get_overlapping_bodies() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_overlapping_bodies"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -Array Area::get_overlapping_areas() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_overlapping_areas"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -bool Area::overlaps_body(const Object *body) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "overlaps_body"); - } - return ___godot_icall_bool_Object(mb, (const Object *) this, body); -} - -bool Area::overlaps_area(const Object *area) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "overlaps_area"); - } - return ___godot_icall_bool_Object(mb, (const Object *) this, area); -} - -void Area::_body_inout(const int64_t arg0, const RID arg1, const int64_t arg2, const int64_t arg3, const int64_t arg4) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "_body_inout"); - } - ___godot_icall_void_int_RID_int_int_int(mb, (const Object *) this, arg0, arg1, arg2, arg3, arg4); -} - -void Area::_area_inout(const int64_t arg0, const RID arg1, const int64_t arg2, const int64_t arg3, const int64_t arg4) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "_area_inout"); - } - ___godot_icall_void_int_RID_int_int_int(mb, (const Object *) this, arg0, arg1, arg2, arg3, arg4); -} - -void Area::set_audio_bus_override(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_audio_bus_override"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool Area::is_overriding_audio_bus() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "is_overriding_audio_bus"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Area::set_audio_bus(const String name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_audio_bus"); - } - ___godot_icall_void_String(mb, (const Object *) this, name); -} - -String Area::get_audio_bus() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_audio_bus"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void Area::set_use_reverb_bus(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_use_reverb_bus"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool Area::is_using_reverb_bus() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "is_using_reverb_bus"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Area::set_reverb_bus(const String name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_reverb_bus"); - } - ___godot_icall_void_String(mb, (const Object *) this, name); -} - -String Area::get_reverb_bus() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_reverb_bus"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void Area::set_reverb_amount(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_reverb_amount"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double Area::get_reverb_amount() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_reverb_amount"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Area::set_reverb_uniformity(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "set_reverb_uniformity"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double Area::get_reverb_uniformity() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area", "get_reverb_uniformity"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/Area2D.cpp b/src/gen/Area2D.cpp deleted file mode 100644 index 88547866..00000000 --- a/src/gen/Area2D.cpp +++ /dev/null @@ -1,368 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *Area2D::___get_type_tag() -{ - return (void *) &Area2D::___get_type_tag; -} - -void *Area2D::___get_base_type_tag() -{ - return (void *) &CollisionObject2D::___get_type_tag; -} - -Area2D *Area2D::_new() -{ - return (Area2D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"Area2D")()); -} -void Area2D::_body_enter_tree(const int64_t id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "_body_enter_tree"); - } - ___godot_icall_void_int(mb, (const Object *) this, id); -} - -void Area2D::_body_exit_tree(const int64_t id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "_body_exit_tree"); - } - ___godot_icall_void_int(mb, (const Object *) this, id); -} - -void Area2D::_area_enter_tree(const int64_t id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "_area_enter_tree"); - } - ___godot_icall_void_int(mb, (const Object *) this, id); -} - -void Area2D::_area_exit_tree(const int64_t id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "_area_exit_tree"); - } - ___godot_icall_void_int(mb, (const Object *) this, id); -} - -void Area2D::set_space_override_mode(const int64_t space_override_mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_space_override_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, space_override_mode); -} - -Area2D::SpaceOverride Area2D::get_space_override_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_space_override_mode"); - } - return (Area2D::SpaceOverride) ___godot_icall_int(mb, (const Object *) this); -} - -void Area2D::set_gravity_is_point(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_gravity_is_point"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool Area2D::is_gravity_a_point() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "is_gravity_a_point"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Area2D::set_gravity_distance_scale(const double distance_scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_gravity_distance_scale"); - } - ___godot_icall_void_float(mb, (const Object *) this, distance_scale); -} - -double Area2D::get_gravity_distance_scale() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_gravity_distance_scale"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Area2D::set_gravity_vector(const Vector2 vector) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_gravity_vector"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, vector); -} - -Vector2 Area2D::get_gravity_vector() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_gravity_vector"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -void Area2D::set_gravity(const double gravity) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_gravity"); - } - ___godot_icall_void_float(mb, (const Object *) this, gravity); -} - -double Area2D::get_gravity() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_gravity"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Area2D::set_linear_damp(const double linear_damp) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_linear_damp"); - } - ___godot_icall_void_float(mb, (const Object *) this, linear_damp); -} - -double Area2D::get_linear_damp() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_linear_damp"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Area2D::set_angular_damp(const double angular_damp) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_angular_damp"); - } - ___godot_icall_void_float(mb, (const Object *) this, angular_damp); -} - -double Area2D::get_angular_damp() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_angular_damp"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Area2D::set_priority(const double priority) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_priority"); - } - ___godot_icall_void_float(mb, (const Object *) this, priority); -} - -double Area2D::get_priority() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_priority"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Area2D::set_collision_mask(const int64_t collision_mask) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_collision_mask"); - } - ___godot_icall_void_int(mb, (const Object *) this, collision_mask); -} - -int64_t Area2D::get_collision_mask() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_collision_mask"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void Area2D::set_collision_layer(const int64_t collision_layer) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_collision_layer"); - } - ___godot_icall_void_int(mb, (const Object *) this, collision_layer); -} - -int64_t Area2D::get_collision_layer() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_collision_layer"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void Area2D::set_collision_mask_bit(const int64_t bit, const bool value) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_collision_mask_bit"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, bit, value); -} - -bool Area2D::get_collision_mask_bit(const int64_t bit) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_collision_mask_bit"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, bit); -} - -void Area2D::set_collision_layer_bit(const int64_t bit, const bool value) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_collision_layer_bit"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, bit, value); -} - -bool Area2D::get_collision_layer_bit(const int64_t bit) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_collision_layer_bit"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, bit); -} - -void Area2D::set_monitoring(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_monitoring"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool Area2D::is_monitoring() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "is_monitoring"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Area2D::set_monitorable(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_monitorable"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool Area2D::is_monitorable() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "is_monitorable"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -Array Area2D::get_overlapping_bodies() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_overlapping_bodies"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -Array Area2D::get_overlapping_areas() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_overlapping_areas"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -bool Area2D::overlaps_body(const Object *body) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "overlaps_body"); - } - return ___godot_icall_bool_Object(mb, (const Object *) this, body); -} - -bool Area2D::overlaps_area(const Object *area) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "overlaps_area"); - } - return ___godot_icall_bool_Object(mb, (const Object *) this, area); -} - -void Area2D::set_audio_bus_name(const String name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_audio_bus_name"); - } - ___godot_icall_void_String(mb, (const Object *) this, name); -} - -String Area2D::get_audio_bus_name() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "get_audio_bus_name"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void Area2D::set_audio_bus_override(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "set_audio_bus_override"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool Area2D::is_overriding_audio_bus() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "is_overriding_audio_bus"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Area2D::_body_inout(const int64_t arg0, const RID arg1, const int64_t arg2, const int64_t arg3, const int64_t arg4) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "_body_inout"); - } - ___godot_icall_void_int_RID_int_int_int(mb, (const Object *) this, arg0, arg1, arg2, arg3, arg4); -} - -void Area2D::_area_inout(const int64_t arg0, const RID arg1, const int64_t arg2, const int64_t arg3, const int64_t arg4) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Area2D", "_area_inout"); - } - ___godot_icall_void_int_RID_int_int_int(mb, (const Object *) this, arg0, arg1, arg2, arg3, arg4); -} - -} \ No newline at end of file diff --git a/src/gen/ArrayMesh.cpp b/src/gen/ArrayMesh.cpp deleted file mode 100644 index aec94960..00000000 --- a/src/gen/ArrayMesh.cpp +++ /dev/null @@ -1,232 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *ArrayMesh::___get_type_tag() -{ - return (void *) &ArrayMesh::___get_type_tag; -} - -void *ArrayMesh::___get_base_type_tag() -{ - return (void *) &Mesh::___get_type_tag; -} - -ArrayMesh *ArrayMesh::_new() -{ - return (ArrayMesh *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ArrayMesh")()); -} -void ArrayMesh::add_blend_shape(const String name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "add_blend_shape"); - } - ___godot_icall_void_String(mb, (const Object *) this, name); -} - -int64_t ArrayMesh::get_blend_shape_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "get_blend_shape_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -String ArrayMesh::get_blend_shape_name(const int64_t index) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "get_blend_shape_name"); - } - return ___godot_icall_String_int(mb, (const Object *) this, index); -} - -void ArrayMesh::clear_blend_shapes() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "clear_blend_shapes"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void ArrayMesh::set_blend_shape_mode(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "set_blend_shape_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -Mesh::BlendShapeMode ArrayMesh::get_blend_shape_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "get_blend_shape_mode"); - } - return (Mesh::BlendShapeMode) ___godot_icall_int(mb, (const Object *) this); -} - -void ArrayMesh::add_surface_from_arrays(const int64_t primitive, const Array arrays, const Array blend_shapes, const int64_t compress_flags) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "add_surface_from_arrays"); - } - ___godot_icall_void_int_Array_Array_int(mb, (const Object *) this, primitive, arrays, blend_shapes, compress_flags); -} - -int64_t ArrayMesh::get_surface_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "get_surface_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void ArrayMesh::surface_remove(const int64_t surf_idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "surface_remove"); - } - ___godot_icall_void_int(mb, (const Object *) this, surf_idx); -} - -void ArrayMesh::surface_update_region(const int64_t surf_idx, const int64_t offset, const PoolByteArray data) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "surface_update_region"); - } - ___godot_icall_void_int_int_PoolByteArray(mb, (const Object *) this, surf_idx, offset, data); -} - -int64_t ArrayMesh::surface_get_array_len(const int64_t surf_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "surface_get_array_len"); - } - return ___godot_icall_int_int(mb, (const Object *) this, surf_idx); -} - -int64_t ArrayMesh::surface_get_array_index_len(const int64_t surf_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "surface_get_array_index_len"); - } - return ___godot_icall_int_int(mb, (const Object *) this, surf_idx); -} - -int64_t ArrayMesh::surface_get_format(const int64_t surf_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "surface_get_format"); - } - return ___godot_icall_int_int(mb, (const Object *) this, surf_idx); -} - -Mesh::PrimitiveType ArrayMesh::surface_get_primitive_type(const int64_t surf_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "surface_get_primitive_type"); - } - return (Mesh::PrimitiveType) ___godot_icall_int_int(mb, (const Object *) this, surf_idx); -} - -void ArrayMesh::surface_set_material(const int64_t surf_idx, const Ref material) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "surface_set_material"); - } - ___godot_icall_void_int_Object(mb, (const Object *) this, surf_idx, material.ptr()); -} - -Ref ArrayMesh::surface_get_material(const int64_t surf_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "surface_get_material"); - } - return Ref::__internal_constructor(___godot_icall_Object_int(mb, (const Object *) this, surf_idx)); -} - -void ArrayMesh::surface_set_name(const int64_t surf_idx, const String name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "surface_set_name"); - } - ___godot_icall_void_int_String(mb, (const Object *) this, surf_idx, name); -} - -String ArrayMesh::surface_get_name(const int64_t surf_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "surface_get_name"); - } - return ___godot_icall_String_int(mb, (const Object *) this, surf_idx); -} - -Array ArrayMesh::surface_get_arrays(const int64_t surf_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "surface_get_arrays"); - } - return ___godot_icall_Array_int(mb, (const Object *) this, surf_idx); -} - -Array ArrayMesh::surface_get_blend_shape_arrays(const int64_t surf_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "surface_get_blend_shape_arrays"); - } - return ___godot_icall_Array_int(mb, (const Object *) this, surf_idx); -} - -void ArrayMesh::center_geometry() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "center_geometry"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void ArrayMesh::regen_normalmaps() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "regen_normalmaps"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -Error ArrayMesh::lightmap_unwrap(const Transform arg0, const double arg1) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "lightmap_unwrap"); - } - return (Error) ___godot_icall_int_Transform_float(mb, (const Object *) this, arg0, arg1); -} - -void ArrayMesh::set_custom_aabb(const AABB aabb) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "set_custom_aabb"); - } - ___godot_icall_void_AABB(mb, (const Object *) this, aabb); -} - -AABB ArrayMesh::get_custom_aabb() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ArrayMesh", "get_custom_aabb"); - } - return ___godot_icall_AABB(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AtlasTexture.cpp b/src/gen/AtlasTexture.cpp deleted file mode 100644 index 19211be4..00000000 --- a/src/gen/AtlasTexture.cpp +++ /dev/null @@ -1,96 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *AtlasTexture::___get_type_tag() -{ - return (void *) &AtlasTexture::___get_type_tag; -} - -void *AtlasTexture::___get_base_type_tag() -{ - return (void *) &Texture::___get_type_tag; -} - -AtlasTexture *AtlasTexture::_new() -{ - return (AtlasTexture *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AtlasTexture")()); -} -void AtlasTexture::set_atlas(const Ref atlas) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AtlasTexture", "set_atlas"); - } - ___godot_icall_void_Object(mb, (const Object *) this, atlas.ptr()); -} - -Ref AtlasTexture::get_atlas() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AtlasTexture", "get_atlas"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void AtlasTexture::set_region(const Rect2 region) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AtlasTexture", "set_region"); - } - ___godot_icall_void_Rect2(mb, (const Object *) this, region); -} - -Rect2 AtlasTexture::get_region() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AtlasTexture", "get_region"); - } - return ___godot_icall_Rect2(mb, (const Object *) this); -} - -void AtlasTexture::set_margin(const Rect2 margin) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AtlasTexture", "set_margin"); - } - ___godot_icall_void_Rect2(mb, (const Object *) this, margin); -} - -Rect2 AtlasTexture::get_margin() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AtlasTexture", "get_margin"); - } - return ___godot_icall_Rect2(mb, (const Object *) this); -} - -void AtlasTexture::set_filter_clip(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AtlasTexture", "set_filter_clip"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool AtlasTexture::has_filter_clip() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AtlasTexture", "has_filter_clip"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioBusLayout.cpp b/src/gen/AudioBusLayout.cpp deleted file mode 100644 index ed879cd4..00000000 --- a/src/gen/AudioBusLayout.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioBusLayout::___get_type_tag() -{ - return (void *) &AudioBusLayout::___get_type_tag; -} - -void *AudioBusLayout::___get_base_type_tag() -{ - return (void *) &Resource::___get_type_tag; -} - -AudioBusLayout *AudioBusLayout::_new() -{ - return (AudioBusLayout *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioBusLayout")()); -} -} \ No newline at end of file diff --git a/src/gen/AudioEffect.cpp b/src/gen/AudioEffect.cpp deleted file mode 100644 index 49dd1040..00000000 --- a/src/gen/AudioEffect.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffect::___get_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -void *AudioEffect::___get_base_type_tag() -{ - return (void *) &Resource::___get_type_tag; -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectAmplify.cpp b/src/gen/AudioEffectAmplify.cpp deleted file mode 100644 index 1a919934..00000000 --- a/src/gen/AudioEffectAmplify.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectAmplify::___get_type_tag() -{ - return (void *) &AudioEffectAmplify::___get_type_tag; -} - -void *AudioEffectAmplify::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectAmplify *AudioEffectAmplify::_new() -{ - return (AudioEffectAmplify *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectAmplify")()); -} -void AudioEffectAmplify::set_volume_db(const double volume) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectAmplify", "set_volume_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, volume); -} - -double AudioEffectAmplify::get_volume_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectAmplify", "get_volume_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectBandLimitFilter.cpp b/src/gen/AudioEffectBandLimitFilter.cpp deleted file mode 100644 index 26f5be01..00000000 --- a/src/gen/AudioEffectBandLimitFilter.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectBandLimitFilter::___get_type_tag() -{ - return (void *) &AudioEffectBandLimitFilter::___get_type_tag; -} - -void *AudioEffectBandLimitFilter::___get_base_type_tag() -{ - return (void *) &AudioEffectFilter::___get_type_tag; -} - -AudioEffectBandLimitFilter *AudioEffectBandLimitFilter::_new() -{ - return (AudioEffectBandLimitFilter *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectBandLimitFilter")()); -} -} \ No newline at end of file diff --git a/src/gen/AudioEffectBandPassFilter.cpp b/src/gen/AudioEffectBandPassFilter.cpp deleted file mode 100644 index c90596a4..00000000 --- a/src/gen/AudioEffectBandPassFilter.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectBandPassFilter::___get_type_tag() -{ - return (void *) &AudioEffectBandPassFilter::___get_type_tag; -} - -void *AudioEffectBandPassFilter::___get_base_type_tag() -{ - return (void *) &AudioEffectFilter::___get_type_tag; -} - -AudioEffectBandPassFilter *AudioEffectBandPassFilter::_new() -{ - return (AudioEffectBandPassFilter *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectBandPassFilter")()); -} -} \ No newline at end of file diff --git a/src/gen/AudioEffectChorus.cpp b/src/gen/AudioEffectChorus.cpp deleted file mode 100644 index 88d81229..00000000 --- a/src/gen/AudioEffectChorus.cpp +++ /dev/null @@ -1,175 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectChorus::___get_type_tag() -{ - return (void *) &AudioEffectChorus::___get_type_tag; -} - -void *AudioEffectChorus::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectChorus *AudioEffectChorus::_new() -{ - return (AudioEffectChorus *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectChorus")()); -} -void AudioEffectChorus::set_voice_count(const int64_t voices) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "set_voice_count"); - } - ___godot_icall_void_int(mb, (const Object *) this, voices); -} - -int64_t AudioEffectChorus::get_voice_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "get_voice_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void AudioEffectChorus::set_voice_delay_ms(const int64_t voice_idx, const double delay_ms) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "set_voice_delay_ms"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, voice_idx, delay_ms); -} - -double AudioEffectChorus::get_voice_delay_ms(const int64_t voice_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "get_voice_delay_ms"); - } - return ___godot_icall_float_int(mb, (const Object *) this, voice_idx); -} - -void AudioEffectChorus::set_voice_rate_hz(const int64_t voice_idx, const double rate_hz) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "set_voice_rate_hz"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, voice_idx, rate_hz); -} - -double AudioEffectChorus::get_voice_rate_hz(const int64_t voice_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "get_voice_rate_hz"); - } - return ___godot_icall_float_int(mb, (const Object *) this, voice_idx); -} - -void AudioEffectChorus::set_voice_depth_ms(const int64_t voice_idx, const double depth_ms) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "set_voice_depth_ms"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, voice_idx, depth_ms); -} - -double AudioEffectChorus::get_voice_depth_ms(const int64_t voice_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "get_voice_depth_ms"); - } - return ___godot_icall_float_int(mb, (const Object *) this, voice_idx); -} - -void AudioEffectChorus::set_voice_level_db(const int64_t voice_idx, const double level_db) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "set_voice_level_db"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, voice_idx, level_db); -} - -double AudioEffectChorus::get_voice_level_db(const int64_t voice_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "get_voice_level_db"); - } - return ___godot_icall_float_int(mb, (const Object *) this, voice_idx); -} - -void AudioEffectChorus::set_voice_cutoff_hz(const int64_t voice_idx, const double cutoff_hz) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "set_voice_cutoff_hz"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, voice_idx, cutoff_hz); -} - -double AudioEffectChorus::get_voice_cutoff_hz(const int64_t voice_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "get_voice_cutoff_hz"); - } - return ___godot_icall_float_int(mb, (const Object *) this, voice_idx); -} - -void AudioEffectChorus::set_voice_pan(const int64_t voice_idx, const double pan) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "set_voice_pan"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, voice_idx, pan); -} - -double AudioEffectChorus::get_voice_pan(const int64_t voice_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "get_voice_pan"); - } - return ___godot_icall_float_int(mb, (const Object *) this, voice_idx); -} - -void AudioEffectChorus::set_wet(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "set_wet"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectChorus::get_wet() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "get_wet"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectChorus::set_dry(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "set_dry"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectChorus::get_dry() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectChorus", "get_dry"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectCompressor.cpp b/src/gen/AudioEffectCompressor.cpp deleted file mode 100644 index 697e7f1a..00000000 --- a/src/gen/AudioEffectCompressor.cpp +++ /dev/null @@ -1,143 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectCompressor::___get_type_tag() -{ - return (void *) &AudioEffectCompressor::___get_type_tag; -} - -void *AudioEffectCompressor::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectCompressor *AudioEffectCompressor::_new() -{ - return (AudioEffectCompressor *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectCompressor")()); -} -void AudioEffectCompressor::set_threshold(const double threshold) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "set_threshold"); - } - ___godot_icall_void_float(mb, (const Object *) this, threshold); -} - -double AudioEffectCompressor::get_threshold() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "get_threshold"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectCompressor::set_ratio(const double ratio) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "set_ratio"); - } - ___godot_icall_void_float(mb, (const Object *) this, ratio); -} - -double AudioEffectCompressor::get_ratio() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "get_ratio"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectCompressor::set_gain(const double gain) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "set_gain"); - } - ___godot_icall_void_float(mb, (const Object *) this, gain); -} - -double AudioEffectCompressor::get_gain() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "get_gain"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectCompressor::set_attack_us(const double attack_us) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "set_attack_us"); - } - ___godot_icall_void_float(mb, (const Object *) this, attack_us); -} - -double AudioEffectCompressor::get_attack_us() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "get_attack_us"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectCompressor::set_release_ms(const double release_ms) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "set_release_ms"); - } - ___godot_icall_void_float(mb, (const Object *) this, release_ms); -} - -double AudioEffectCompressor::get_release_ms() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "get_release_ms"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectCompressor::set_mix(const double mix) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "set_mix"); - } - ___godot_icall_void_float(mb, (const Object *) this, mix); -} - -double AudioEffectCompressor::get_mix() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "get_mix"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectCompressor::set_sidechain(const String sidechain) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "set_sidechain"); - } - ___godot_icall_void_String(mb, (const Object *) this, sidechain); -} - -String AudioEffectCompressor::get_sidechain() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectCompressor", "get_sidechain"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectDelay.cpp b/src/gen/AudioEffectDelay.cpp deleted file mode 100644 index e6b14fcd..00000000 --- a/src/gen/AudioEffectDelay.cpp +++ /dev/null @@ -1,239 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectDelay::___get_type_tag() -{ - return (void *) &AudioEffectDelay::___get_type_tag; -} - -void *AudioEffectDelay::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectDelay *AudioEffectDelay::_new() -{ - return (AudioEffectDelay *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectDelay")()); -} -void AudioEffectDelay::set_dry(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_dry"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectDelay::get_dry() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "get_dry"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectDelay::set_tap1_active(const bool amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_tap1_active"); - } - ___godot_icall_void_bool(mb, (const Object *) this, amount); -} - -bool AudioEffectDelay::is_tap1_active() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "is_tap1_active"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AudioEffectDelay::set_tap1_delay_ms(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_tap1_delay_ms"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectDelay::get_tap1_delay_ms() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "get_tap1_delay_ms"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectDelay::set_tap1_level_db(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_tap1_level_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectDelay::get_tap1_level_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "get_tap1_level_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectDelay::set_tap1_pan(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_tap1_pan"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectDelay::get_tap1_pan() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "get_tap1_pan"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectDelay::set_tap2_active(const bool amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_tap2_active"); - } - ___godot_icall_void_bool(mb, (const Object *) this, amount); -} - -bool AudioEffectDelay::is_tap2_active() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "is_tap2_active"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AudioEffectDelay::set_tap2_delay_ms(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_tap2_delay_ms"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectDelay::get_tap2_delay_ms() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "get_tap2_delay_ms"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectDelay::set_tap2_level_db(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_tap2_level_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectDelay::get_tap2_level_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "get_tap2_level_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectDelay::set_tap2_pan(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_tap2_pan"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectDelay::get_tap2_pan() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "get_tap2_pan"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectDelay::set_feedback_active(const bool amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_feedback_active"); - } - ___godot_icall_void_bool(mb, (const Object *) this, amount); -} - -bool AudioEffectDelay::is_feedback_active() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "is_feedback_active"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AudioEffectDelay::set_feedback_delay_ms(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_feedback_delay_ms"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectDelay::get_feedback_delay_ms() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "get_feedback_delay_ms"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectDelay::set_feedback_level_db(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_feedback_level_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectDelay::get_feedback_level_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "get_feedback_level_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectDelay::set_feedback_lowpass(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "set_feedback_lowpass"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectDelay::get_feedback_lowpass() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDelay", "get_feedback_lowpass"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectDistortion.cpp b/src/gen/AudioEffectDistortion.cpp deleted file mode 100644 index fce498c7..00000000 --- a/src/gen/AudioEffectDistortion.cpp +++ /dev/null @@ -1,111 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectDistortion::___get_type_tag() -{ - return (void *) &AudioEffectDistortion::___get_type_tag; -} - -void *AudioEffectDistortion::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectDistortion *AudioEffectDistortion::_new() -{ - return (AudioEffectDistortion *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectDistortion")()); -} -void AudioEffectDistortion::set_mode(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDistortion", "set_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -AudioEffectDistortion::Mode AudioEffectDistortion::get_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDistortion", "get_mode"); - } - return (AudioEffectDistortion::Mode) ___godot_icall_int(mb, (const Object *) this); -} - -void AudioEffectDistortion::set_pre_gain(const double pre_gain) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDistortion", "set_pre_gain"); - } - ___godot_icall_void_float(mb, (const Object *) this, pre_gain); -} - -double AudioEffectDistortion::get_pre_gain() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDistortion", "get_pre_gain"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectDistortion::set_keep_hf_hz(const double keep_hf_hz) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDistortion", "set_keep_hf_hz"); - } - ___godot_icall_void_float(mb, (const Object *) this, keep_hf_hz); -} - -double AudioEffectDistortion::get_keep_hf_hz() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDistortion", "get_keep_hf_hz"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectDistortion::set_drive(const double drive) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDistortion", "set_drive"); - } - ___godot_icall_void_float(mb, (const Object *) this, drive); -} - -double AudioEffectDistortion::get_drive() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDistortion", "get_drive"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectDistortion::set_post_gain(const double post_gain) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDistortion", "set_post_gain"); - } - ___godot_icall_void_float(mb, (const Object *) this, post_gain); -} - -double AudioEffectDistortion::get_post_gain() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectDistortion", "get_post_gain"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectEQ.cpp b/src/gen/AudioEffectEQ.cpp deleted file mode 100644 index 5da8565a..00000000 --- a/src/gen/AudioEffectEQ.cpp +++ /dev/null @@ -1,55 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectEQ::___get_type_tag() -{ - return (void *) &AudioEffectEQ::___get_type_tag; -} - -void *AudioEffectEQ::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectEQ *AudioEffectEQ::_new() -{ - return (AudioEffectEQ *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectEQ")()); -} -void AudioEffectEQ::set_band_gain_db(const int64_t band_idx, const double volume_db) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectEQ", "set_band_gain_db"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, band_idx, volume_db); -} - -double AudioEffectEQ::get_band_gain_db(const int64_t band_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectEQ", "get_band_gain_db"); - } - return ___godot_icall_float_int(mb, (const Object *) this, band_idx); -} - -int64_t AudioEffectEQ::get_band_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectEQ", "get_band_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectEQ10.cpp b/src/gen/AudioEffectEQ10.cpp deleted file mode 100644 index 78aba2ab..00000000 --- a/src/gen/AudioEffectEQ10.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectEQ10::___get_type_tag() -{ - return (void *) &AudioEffectEQ10::___get_type_tag; -} - -void *AudioEffectEQ10::___get_base_type_tag() -{ - return (void *) &AudioEffectEQ::___get_type_tag; -} - -AudioEffectEQ10 *AudioEffectEQ10::_new() -{ - return (AudioEffectEQ10 *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectEQ10")()); -} -} \ No newline at end of file diff --git a/src/gen/AudioEffectEQ21.cpp b/src/gen/AudioEffectEQ21.cpp deleted file mode 100644 index eb898c7b..00000000 --- a/src/gen/AudioEffectEQ21.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectEQ21::___get_type_tag() -{ - return (void *) &AudioEffectEQ21::___get_type_tag; -} - -void *AudioEffectEQ21::___get_base_type_tag() -{ - return (void *) &AudioEffectEQ::___get_type_tag; -} - -AudioEffectEQ21 *AudioEffectEQ21::_new() -{ - return (AudioEffectEQ21 *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectEQ21")()); -} -} \ No newline at end of file diff --git a/src/gen/AudioEffectEQ6.cpp b/src/gen/AudioEffectEQ6.cpp deleted file mode 100644 index d6e5fd2a..00000000 --- a/src/gen/AudioEffectEQ6.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectEQ6::___get_type_tag() -{ - return (void *) &AudioEffectEQ6::___get_type_tag; -} - -void *AudioEffectEQ6::___get_base_type_tag() -{ - return (void *) &AudioEffectEQ::___get_type_tag; -} - -AudioEffectEQ6 *AudioEffectEQ6::_new() -{ - return (AudioEffectEQ6 *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectEQ6")()); -} -} \ No newline at end of file diff --git a/src/gen/AudioEffectFilter.cpp b/src/gen/AudioEffectFilter.cpp deleted file mode 100644 index fa946c2d..00000000 --- a/src/gen/AudioEffectFilter.cpp +++ /dev/null @@ -1,95 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectFilter::___get_type_tag() -{ - return (void *) &AudioEffectFilter::___get_type_tag; -} - -void *AudioEffectFilter::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectFilter *AudioEffectFilter::_new() -{ - return (AudioEffectFilter *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectFilter")()); -} -void AudioEffectFilter::set_cutoff(const double freq) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectFilter", "set_cutoff"); - } - ___godot_icall_void_float(mb, (const Object *) this, freq); -} - -double AudioEffectFilter::get_cutoff() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectFilter", "get_cutoff"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectFilter::set_resonance(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectFilter", "set_resonance"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectFilter::get_resonance() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectFilter", "get_resonance"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectFilter::set_gain(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectFilter", "set_gain"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectFilter::get_gain() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectFilter", "get_gain"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectFilter::set_db(const int64_t amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectFilter", "set_db"); - } - ___godot_icall_void_int(mb, (const Object *) this, amount); -} - -AudioEffectFilter::FilterDB AudioEffectFilter::get_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectFilter", "get_db"); - } - return (AudioEffectFilter::FilterDB) ___godot_icall_int(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectHighPassFilter.cpp b/src/gen/AudioEffectHighPassFilter.cpp deleted file mode 100644 index 37a42843..00000000 --- a/src/gen/AudioEffectHighPassFilter.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectHighPassFilter::___get_type_tag() -{ - return (void *) &AudioEffectHighPassFilter::___get_type_tag; -} - -void *AudioEffectHighPassFilter::___get_base_type_tag() -{ - return (void *) &AudioEffectFilter::___get_type_tag; -} - -AudioEffectHighPassFilter *AudioEffectHighPassFilter::_new() -{ - return (AudioEffectHighPassFilter *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectHighPassFilter")()); -} -} \ No newline at end of file diff --git a/src/gen/AudioEffectHighShelfFilter.cpp b/src/gen/AudioEffectHighShelfFilter.cpp deleted file mode 100644 index b8428d50..00000000 --- a/src/gen/AudioEffectHighShelfFilter.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectHighShelfFilter::___get_type_tag() -{ - return (void *) &AudioEffectHighShelfFilter::___get_type_tag; -} - -void *AudioEffectHighShelfFilter::___get_base_type_tag() -{ - return (void *) &AudioEffectFilter::___get_type_tag; -} - -AudioEffectHighShelfFilter *AudioEffectHighShelfFilter::_new() -{ - return (AudioEffectHighShelfFilter *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectHighShelfFilter")()); -} -} \ No newline at end of file diff --git a/src/gen/AudioEffectLimiter.cpp b/src/gen/AudioEffectLimiter.cpp deleted file mode 100644 index d8abc39f..00000000 --- a/src/gen/AudioEffectLimiter.cpp +++ /dev/null @@ -1,95 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectLimiter::___get_type_tag() -{ - return (void *) &AudioEffectLimiter::___get_type_tag; -} - -void *AudioEffectLimiter::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectLimiter *AudioEffectLimiter::_new() -{ - return (AudioEffectLimiter *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectLimiter")()); -} -void AudioEffectLimiter::set_ceiling_db(const double ceiling) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectLimiter", "set_ceiling_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, ceiling); -} - -double AudioEffectLimiter::get_ceiling_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectLimiter", "get_ceiling_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectLimiter::set_threshold_db(const double threshold) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectLimiter", "set_threshold_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, threshold); -} - -double AudioEffectLimiter::get_threshold_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectLimiter", "get_threshold_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectLimiter::set_soft_clip_db(const double soft_clip) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectLimiter", "set_soft_clip_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, soft_clip); -} - -double AudioEffectLimiter::get_soft_clip_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectLimiter", "get_soft_clip_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectLimiter::set_soft_clip_ratio(const double soft_clip) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectLimiter", "set_soft_clip_ratio"); - } - ___godot_icall_void_float(mb, (const Object *) this, soft_clip); -} - -double AudioEffectLimiter::get_soft_clip_ratio() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectLimiter", "get_soft_clip_ratio"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectLowPassFilter.cpp b/src/gen/AudioEffectLowPassFilter.cpp deleted file mode 100644 index 63f0b067..00000000 --- a/src/gen/AudioEffectLowPassFilter.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectLowPassFilter::___get_type_tag() -{ - return (void *) &AudioEffectLowPassFilter::___get_type_tag; -} - -void *AudioEffectLowPassFilter::___get_base_type_tag() -{ - return (void *) &AudioEffectFilter::___get_type_tag; -} - -AudioEffectLowPassFilter *AudioEffectLowPassFilter::_new() -{ - return (AudioEffectLowPassFilter *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectLowPassFilter")()); -} -} \ No newline at end of file diff --git a/src/gen/AudioEffectLowShelfFilter.cpp b/src/gen/AudioEffectLowShelfFilter.cpp deleted file mode 100644 index b3295471..00000000 --- a/src/gen/AudioEffectLowShelfFilter.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectLowShelfFilter::___get_type_tag() -{ - return (void *) &AudioEffectLowShelfFilter::___get_type_tag; -} - -void *AudioEffectLowShelfFilter::___get_base_type_tag() -{ - return (void *) &AudioEffectFilter::___get_type_tag; -} - -AudioEffectLowShelfFilter *AudioEffectLowShelfFilter::_new() -{ - return (AudioEffectLowShelfFilter *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectLowShelfFilter")()); -} -} \ No newline at end of file diff --git a/src/gen/AudioEffectNotchFilter.cpp b/src/gen/AudioEffectNotchFilter.cpp deleted file mode 100644 index e3eddfad..00000000 --- a/src/gen/AudioEffectNotchFilter.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectNotchFilter::___get_type_tag() -{ - return (void *) &AudioEffectNotchFilter::___get_type_tag; -} - -void *AudioEffectNotchFilter::___get_base_type_tag() -{ - return (void *) &AudioEffectFilter::___get_type_tag; -} - -AudioEffectNotchFilter *AudioEffectNotchFilter::_new() -{ - return (AudioEffectNotchFilter *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectNotchFilter")()); -} -} \ No newline at end of file diff --git a/src/gen/AudioEffectPanner.cpp b/src/gen/AudioEffectPanner.cpp deleted file mode 100644 index e5bc4aa5..00000000 --- a/src/gen/AudioEffectPanner.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectPanner::___get_type_tag() -{ - return (void *) &AudioEffectPanner::___get_type_tag; -} - -void *AudioEffectPanner::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectPanner *AudioEffectPanner::_new() -{ - return (AudioEffectPanner *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectPanner")()); -} -void AudioEffectPanner::set_pan(const double cpanume) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPanner", "set_pan"); - } - ___godot_icall_void_float(mb, (const Object *) this, cpanume); -} - -double AudioEffectPanner::get_pan() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPanner", "get_pan"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectPhaser.cpp b/src/gen/AudioEffectPhaser.cpp deleted file mode 100644 index 850e44a3..00000000 --- a/src/gen/AudioEffectPhaser.cpp +++ /dev/null @@ -1,111 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectPhaser::___get_type_tag() -{ - return (void *) &AudioEffectPhaser::___get_type_tag; -} - -void *AudioEffectPhaser::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectPhaser *AudioEffectPhaser::_new() -{ - return (AudioEffectPhaser *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectPhaser")()); -} -void AudioEffectPhaser::set_range_min_hz(const double hz) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPhaser", "set_range_min_hz"); - } - ___godot_icall_void_float(mb, (const Object *) this, hz); -} - -double AudioEffectPhaser::get_range_min_hz() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPhaser", "get_range_min_hz"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectPhaser::set_range_max_hz(const double hz) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPhaser", "set_range_max_hz"); - } - ___godot_icall_void_float(mb, (const Object *) this, hz); -} - -double AudioEffectPhaser::get_range_max_hz() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPhaser", "get_range_max_hz"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectPhaser::set_rate_hz(const double hz) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPhaser", "set_rate_hz"); - } - ___godot_icall_void_float(mb, (const Object *) this, hz); -} - -double AudioEffectPhaser::get_rate_hz() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPhaser", "get_rate_hz"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectPhaser::set_feedback(const double fbk) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPhaser", "set_feedback"); - } - ___godot_icall_void_float(mb, (const Object *) this, fbk); -} - -double AudioEffectPhaser::get_feedback() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPhaser", "get_feedback"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectPhaser::set_depth(const double depth) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPhaser", "set_depth"); - } - ___godot_icall_void_float(mb, (const Object *) this, depth); -} - -double AudioEffectPhaser::get_depth() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPhaser", "get_depth"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectPitchShift.cpp b/src/gen/AudioEffectPitchShift.cpp deleted file mode 100644 index 39cc4e9e..00000000 --- a/src/gen/AudioEffectPitchShift.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectPitchShift::___get_type_tag() -{ - return (void *) &AudioEffectPitchShift::___get_type_tag; -} - -void *AudioEffectPitchShift::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectPitchShift *AudioEffectPitchShift::_new() -{ - return (AudioEffectPitchShift *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectPitchShift")()); -} -void AudioEffectPitchShift::set_pitch_scale(const double rate) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPitchShift", "set_pitch_scale"); - } - ___godot_icall_void_float(mb, (const Object *) this, rate); -} - -double AudioEffectPitchShift::get_pitch_scale() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectPitchShift", "get_pitch_scale"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectReverb.cpp b/src/gen/AudioEffectReverb.cpp deleted file mode 100644 index 5ce94521..00000000 --- a/src/gen/AudioEffectReverb.cpp +++ /dev/null @@ -1,159 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectReverb::___get_type_tag() -{ - return (void *) &AudioEffectReverb::___get_type_tag; -} - -void *AudioEffectReverb::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectReverb *AudioEffectReverb::_new() -{ - return (AudioEffectReverb *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectReverb")()); -} -void AudioEffectReverb::set_predelay_msec(const double msec) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "set_predelay_msec"); - } - ___godot_icall_void_float(mb, (const Object *) this, msec); -} - -double AudioEffectReverb::get_predelay_msec() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "get_predelay_msec"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectReverb::set_predelay_feedback(const double feedback) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "set_predelay_feedback"); - } - ___godot_icall_void_float(mb, (const Object *) this, feedback); -} - -double AudioEffectReverb::get_predelay_feedback() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "get_predelay_feedback"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectReverb::set_room_size(const double size) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "set_room_size"); - } - ___godot_icall_void_float(mb, (const Object *) this, size); -} - -double AudioEffectReverb::get_room_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "get_room_size"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectReverb::set_damping(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "set_damping"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectReverb::get_damping() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "get_damping"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectReverb::set_spread(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "set_spread"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectReverb::get_spread() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "get_spread"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectReverb::set_dry(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "set_dry"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectReverb::get_dry() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "get_dry"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectReverb::set_wet(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "set_wet"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectReverb::get_wet() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "get_wet"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectReverb::set_hpf(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "set_hpf"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectReverb::get_hpf() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectReverb", "get_hpf"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioEffectStereoEnhance.cpp b/src/gen/AudioEffectStereoEnhance.cpp deleted file mode 100644 index 1b273aed..00000000 --- a/src/gen/AudioEffectStereoEnhance.cpp +++ /dev/null @@ -1,79 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioEffectStereoEnhance::___get_type_tag() -{ - return (void *) &AudioEffectStereoEnhance::___get_type_tag; -} - -void *AudioEffectStereoEnhance::___get_base_type_tag() -{ - return (void *) &AudioEffect::___get_type_tag; -} - -AudioEffectStereoEnhance *AudioEffectStereoEnhance::_new() -{ - return (AudioEffectStereoEnhance *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioEffectStereoEnhance")()); -} -void AudioEffectStereoEnhance::set_pan_pullout(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectStereoEnhance", "set_pan_pullout"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectStereoEnhance::get_pan_pullout() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectStereoEnhance", "get_pan_pullout"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectStereoEnhance::set_time_pullout(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectStereoEnhance", "set_time_pullout"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectStereoEnhance::get_time_pullout() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectStereoEnhance", "get_time_pullout"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioEffectStereoEnhance::set_surround(const double amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectStereoEnhance", "set_surround"); - } - ___godot_icall_void_float(mb, (const Object *) this, amount); -} - -double AudioEffectStereoEnhance::get_surround() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioEffectStereoEnhance", "get_surround"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioServer.cpp b/src/gen/AudioServer.cpp deleted file mode 100644 index bd156d40..00000000 --- a/src/gen/AudioServer.cpp +++ /dev/null @@ -1,301 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include - - -namespace godot { - - -void *AudioServer::___get_type_tag() -{ - return (void *) &AudioServer::___get_type_tag; -} - -void *AudioServer::___get_base_type_tag() -{ - return (void *) &Object::___get_type_tag; -} - -AudioServer *AudioServer::_singleton = NULL; - - -AudioServer::AudioServer() { - _owner = godot::api->godot_global_get_singleton((char *) "AudioServer"); -} - - -void AudioServer::set_bus_count(const int64_t amount) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "set_bus_count"); - } - ___godot_icall_void_int(mb, (const Object *) this, amount); -} - -int64_t AudioServer::get_bus_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "get_bus_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void AudioServer::remove_bus(const int64_t index) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "remove_bus"); - } - ___godot_icall_void_int(mb, (const Object *) this, index); -} - -void AudioServer::add_bus(const int64_t at_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "add_bus"); - } - ___godot_icall_void_int(mb, (const Object *) this, at_position); -} - -void AudioServer::move_bus(const int64_t index, const int64_t to_index) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "move_bus"); - } - ___godot_icall_void_int_int(mb, (const Object *) this, index, to_index); -} - -void AudioServer::set_bus_name(const int64_t bus_idx, const String name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "set_bus_name"); - } - ___godot_icall_void_int_String(mb, (const Object *) this, bus_idx, name); -} - -String AudioServer::get_bus_name(const int64_t bus_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "get_bus_name"); - } - return ___godot_icall_String_int(mb, (const Object *) this, bus_idx); -} - -int64_t AudioServer::get_bus_index(const String bus_name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "get_bus_index"); - } - return ___godot_icall_int_String(mb, (const Object *) this, bus_name); -} - -void AudioServer::set_bus_volume_db(const int64_t bus_idx, const double volume_db) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "set_bus_volume_db"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, bus_idx, volume_db); -} - -double AudioServer::get_bus_volume_db(const int64_t bus_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "get_bus_volume_db"); - } - return ___godot_icall_float_int(mb, (const Object *) this, bus_idx); -} - -void AudioServer::set_bus_send(const int64_t bus_idx, const String send) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "set_bus_send"); - } - ___godot_icall_void_int_String(mb, (const Object *) this, bus_idx, send); -} - -String AudioServer::get_bus_send(const int64_t bus_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "get_bus_send"); - } - return ___godot_icall_String_int(mb, (const Object *) this, bus_idx); -} - -void AudioServer::set_bus_solo(const int64_t bus_idx, const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "set_bus_solo"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, bus_idx, enable); -} - -bool AudioServer::is_bus_solo(const int64_t bus_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "is_bus_solo"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, bus_idx); -} - -void AudioServer::set_bus_mute(const int64_t bus_idx, const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "set_bus_mute"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, bus_idx, enable); -} - -bool AudioServer::is_bus_mute(const int64_t bus_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "is_bus_mute"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, bus_idx); -} - -void AudioServer::set_bus_bypass_effects(const int64_t bus_idx, const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "set_bus_bypass_effects"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, bus_idx, enable); -} - -bool AudioServer::is_bus_bypassing_effects(const int64_t bus_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "is_bus_bypassing_effects"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, bus_idx); -} - -void AudioServer::add_bus_effect(const int64_t bus_idx, const Ref effect, const int64_t at_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "add_bus_effect"); - } - ___godot_icall_void_int_Object_int(mb, (const Object *) this, bus_idx, effect.ptr(), at_position); -} - -void AudioServer::remove_bus_effect(const int64_t bus_idx, const int64_t effect_idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "remove_bus_effect"); - } - ___godot_icall_void_int_int(mb, (const Object *) this, bus_idx, effect_idx); -} - -int64_t AudioServer::get_bus_effect_count(const int64_t bus_idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "get_bus_effect_count"); - } - return ___godot_icall_int_int(mb, (const Object *) this, bus_idx); -} - -Ref AudioServer::get_bus_effect(const int64_t bus_idx, const int64_t effect_idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "get_bus_effect"); - } - return Ref::__internal_constructor(___godot_icall_Object_int_int(mb, (const Object *) this, bus_idx, effect_idx)); -} - -void AudioServer::swap_bus_effects(const int64_t bus_idx, const int64_t effect_idx, const int64_t by_effect_idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "swap_bus_effects"); - } - ___godot_icall_void_int_int_int(mb, (const Object *) this, bus_idx, effect_idx, by_effect_idx); -} - -void AudioServer::set_bus_effect_enabled(const int64_t bus_idx, const int64_t effect_idx, const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "set_bus_effect_enabled"); - } - ___godot_icall_void_int_int_bool(mb, (const Object *) this, bus_idx, effect_idx, enabled); -} - -bool AudioServer::is_bus_effect_enabled(const int64_t bus_idx, const int64_t effect_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "is_bus_effect_enabled"); - } - return ___godot_icall_bool_int_int(mb, (const Object *) this, bus_idx, effect_idx); -} - -double AudioServer::get_bus_peak_volume_left_db(const int64_t bus_idx, const int64_t channel) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "get_bus_peak_volume_left_db"); - } - return ___godot_icall_float_int_int(mb, (const Object *) this, bus_idx, channel); -} - -double AudioServer::get_bus_peak_volume_right_db(const int64_t bus_idx, const int64_t channel) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "get_bus_peak_volume_right_db"); - } - return ___godot_icall_float_int_int(mb, (const Object *) this, bus_idx, channel); -} - -void AudioServer::lock() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "lock"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void AudioServer::unlock() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "unlock"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -AudioServer::SpeakerMode AudioServer::get_speaker_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "get_speaker_mode"); - } - return (AudioServer::SpeakerMode) ___godot_icall_int(mb, (const Object *) this); -} - -double AudioServer::get_mix_rate() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "get_mix_rate"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioServer::set_bus_layout(const Ref bus_layout) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "set_bus_layout"); - } - ___godot_icall_void_Object(mb, (const Object *) this, bus_layout.ptr()); -} - -Ref AudioServer::generate_bus_layout() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioServer", "generate_bus_layout"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -} \ No newline at end of file diff --git a/src/gen/AudioStream.cpp b/src/gen/AudioStream.cpp deleted file mode 100644 index eba78f6d..00000000 --- a/src/gen/AudioStream.cpp +++ /dev/null @@ -1,35 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioStream::___get_type_tag() -{ - return (void *) &AudioStream::___get_type_tag; -} - -void *AudioStream::___get_base_type_tag() -{ - return (void *) &Resource::___get_type_tag; -} - -double AudioStream::get_length() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStream", "get_length"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioStreamOGGVorbis.cpp b/src/gen/AudioStreamOGGVorbis.cpp deleted file mode 100644 index df8d5b7b..00000000 --- a/src/gen/AudioStreamOGGVorbis.cpp +++ /dev/null @@ -1,79 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioStreamOGGVorbis::___get_type_tag() -{ - return (void *) &AudioStreamOGGVorbis::___get_type_tag; -} - -void *AudioStreamOGGVorbis::___get_base_type_tag() -{ - return (void *) &AudioStream::___get_type_tag; -} - -AudioStreamOGGVorbis *AudioStreamOGGVorbis::_new() -{ - return (AudioStreamOGGVorbis *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioStreamOGGVorbis")()); -} -void AudioStreamOGGVorbis::_set_data(const PoolByteArray data) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamOGGVorbis", "_set_data"); - } - ___godot_icall_void_PoolByteArray(mb, (const Object *) this, data); -} - -PoolByteArray AudioStreamOGGVorbis::_get_data() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamOGGVorbis", "_get_data"); - } - return ___godot_icall_PoolByteArray(mb, (const Object *) this); -} - -void AudioStreamOGGVorbis::set_loop(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamOGGVorbis", "set_loop"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool AudioStreamOGGVorbis::has_loop() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamOGGVorbis", "has_loop"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AudioStreamOGGVorbis::set_loop_offset(const double seconds) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamOGGVorbis", "set_loop_offset"); - } - ___godot_icall_void_float(mb, (const Object *) this, seconds); -} - -double AudioStreamOGGVorbis::get_loop_offset() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamOGGVorbis", "get_loop_offset"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioStreamPlayback.cpp b/src/gen/AudioStreamPlayback.cpp deleted file mode 100644 index 50bb79e4..00000000 --- a/src/gen/AudioStreamPlayback.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioStreamPlayback::___get_type_tag() -{ - return (void *) &AudioStreamPlayback::___get_type_tag; -} - -void *AudioStreamPlayback::___get_base_type_tag() -{ - return (void *) &Reference::___get_type_tag; -} - -} \ No newline at end of file diff --git a/src/gen/AudioStreamPlayer.cpp b/src/gen/AudioStreamPlayer.cpp deleted file mode 100644 index dfb07e5f..00000000 --- a/src/gen/AudioStreamPlayer.cpp +++ /dev/null @@ -1,192 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *AudioStreamPlayer::___get_type_tag() -{ - return (void *) &AudioStreamPlayer::___get_type_tag; -} - -void *AudioStreamPlayer::___get_base_type_tag() -{ - return (void *) &Node::___get_type_tag; -} - -AudioStreamPlayer *AudioStreamPlayer::_new() -{ - return (AudioStreamPlayer *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioStreamPlayer")()); -} -void AudioStreamPlayer::set_stream(const Ref stream) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "set_stream"); - } - ___godot_icall_void_Object(mb, (const Object *) this, stream.ptr()); -} - -Ref AudioStreamPlayer::get_stream() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "get_stream"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void AudioStreamPlayer::set_volume_db(const double volume_db) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "set_volume_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, volume_db); -} - -double AudioStreamPlayer::get_volume_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "get_volume_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer::set_pitch_scale(const double pitch_scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "set_pitch_scale"); - } - ___godot_icall_void_float(mb, (const Object *) this, pitch_scale); -} - -double AudioStreamPlayer::get_pitch_scale() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "get_pitch_scale"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer::play(const double from_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "play"); - } - ___godot_icall_void_float(mb, (const Object *) this, from_position); -} - -void AudioStreamPlayer::seek(const double to_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "seek"); - } - ___godot_icall_void_float(mb, (const Object *) this, to_position); -} - -void AudioStreamPlayer::stop() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "stop"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -bool AudioStreamPlayer::is_playing() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "is_playing"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -double AudioStreamPlayer::get_playback_position() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "get_playback_position"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer::set_bus(const String bus) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "set_bus"); - } - ___godot_icall_void_String(mb, (const Object *) this, bus); -} - -String AudioStreamPlayer::get_bus() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "get_bus"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void AudioStreamPlayer::set_autoplay(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "set_autoplay"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool AudioStreamPlayer::is_autoplay_enabled() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "is_autoplay_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AudioStreamPlayer::set_mix_target(const int64_t mix_target) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "set_mix_target"); - } - ___godot_icall_void_int(mb, (const Object *) this, mix_target); -} - -AudioStreamPlayer::MixTarget AudioStreamPlayer::get_mix_target() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "get_mix_target"); - } - return (AudioStreamPlayer::MixTarget) ___godot_icall_int(mb, (const Object *) this); -} - -void AudioStreamPlayer::_set_playing(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "_set_playing"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool AudioStreamPlayer::_is_active() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "_is_active"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AudioStreamPlayer::_bus_layout_changed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer", "_bus_layout_changed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioStreamPlayer2D.cpp b/src/gen/AudioStreamPlayer2D.cpp deleted file mode 100644 index 408ed401..00000000 --- a/src/gen/AudioStreamPlayer2D.cpp +++ /dev/null @@ -1,224 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *AudioStreamPlayer2D::___get_type_tag() -{ - return (void *) &AudioStreamPlayer2D::___get_type_tag; -} - -void *AudioStreamPlayer2D::___get_base_type_tag() -{ - return (void *) &Node2D::___get_type_tag; -} - -AudioStreamPlayer2D *AudioStreamPlayer2D::_new() -{ - return (AudioStreamPlayer2D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioStreamPlayer2D")()); -} -void AudioStreamPlayer2D::set_stream(const Ref stream) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "set_stream"); - } - ___godot_icall_void_Object(mb, (const Object *) this, stream.ptr()); -} - -Ref AudioStreamPlayer2D::get_stream() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "get_stream"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void AudioStreamPlayer2D::set_volume_db(const double volume_db) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "set_volume_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, volume_db); -} - -double AudioStreamPlayer2D::get_volume_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "get_volume_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer2D::set_pitch_scale(const double pitch_scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "set_pitch_scale"); - } - ___godot_icall_void_float(mb, (const Object *) this, pitch_scale); -} - -double AudioStreamPlayer2D::get_pitch_scale() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "get_pitch_scale"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer2D::play(const double from_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "play"); - } - ___godot_icall_void_float(mb, (const Object *) this, from_position); -} - -void AudioStreamPlayer2D::seek(const double to_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "seek"); - } - ___godot_icall_void_float(mb, (const Object *) this, to_position); -} - -void AudioStreamPlayer2D::stop() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "stop"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -bool AudioStreamPlayer2D::is_playing() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "is_playing"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -double AudioStreamPlayer2D::get_playback_position() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "get_playback_position"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer2D::set_bus(const String bus) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "set_bus"); - } - ___godot_icall_void_String(mb, (const Object *) this, bus); -} - -String AudioStreamPlayer2D::get_bus() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "get_bus"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void AudioStreamPlayer2D::set_autoplay(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "set_autoplay"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool AudioStreamPlayer2D::is_autoplay_enabled() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "is_autoplay_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AudioStreamPlayer2D::_set_playing(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "_set_playing"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool AudioStreamPlayer2D::_is_active() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "_is_active"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AudioStreamPlayer2D::set_max_distance(const double pixels) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "set_max_distance"); - } - ___godot_icall_void_float(mb, (const Object *) this, pixels); -} - -double AudioStreamPlayer2D::get_max_distance() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "get_max_distance"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer2D::set_attenuation(const double curve) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "set_attenuation"); - } - ___godot_icall_void_float(mb, (const Object *) this, curve); -} - -double AudioStreamPlayer2D::get_attenuation() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "get_attenuation"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer2D::set_area_mask(const int64_t mask) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "set_area_mask"); - } - ___godot_icall_void_int(mb, (const Object *) this, mask); -} - -int64_t AudioStreamPlayer2D::get_area_mask() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "get_area_mask"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void AudioStreamPlayer2D::_bus_layout_changed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer2D", "_bus_layout_changed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioStreamPlayer3D.cpp b/src/gen/AudioStreamPlayer3D.cpp deleted file mode 100644 index 47a39b4a..00000000 --- a/src/gen/AudioStreamPlayer3D.cpp +++ /dev/null @@ -1,368 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *AudioStreamPlayer3D::___get_type_tag() -{ - return (void *) &AudioStreamPlayer3D::___get_type_tag; -} - -void *AudioStreamPlayer3D::___get_base_type_tag() -{ - return (void *) &Spatial::___get_type_tag; -} - -AudioStreamPlayer3D *AudioStreamPlayer3D::_new() -{ - return (AudioStreamPlayer3D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioStreamPlayer3D")()); -} -void AudioStreamPlayer3D::set_stream(const Ref stream) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_stream"); - } - ___godot_icall_void_Object(mb, (const Object *) this, stream.ptr()); -} - -Ref AudioStreamPlayer3D::get_stream() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_stream"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void AudioStreamPlayer3D::set_unit_db(const double unit_db) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_unit_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, unit_db); -} - -double AudioStreamPlayer3D::get_unit_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_unit_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_unit_size(const double unit_size) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_unit_size"); - } - ___godot_icall_void_float(mb, (const Object *) this, unit_size); -} - -double AudioStreamPlayer3D::get_unit_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_unit_size"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_max_db(const double max_db) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_max_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, max_db); -} - -double AudioStreamPlayer3D::get_max_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_max_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_pitch_scale(const double pitch_scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_pitch_scale"); - } - ___godot_icall_void_float(mb, (const Object *) this, pitch_scale); -} - -double AudioStreamPlayer3D::get_pitch_scale() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_pitch_scale"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::play(const double from_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "play"); - } - ___godot_icall_void_float(mb, (const Object *) this, from_position); -} - -void AudioStreamPlayer3D::seek(const double to_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "seek"); - } - ___godot_icall_void_float(mb, (const Object *) this, to_position); -} - -void AudioStreamPlayer3D::stop() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "stop"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -bool AudioStreamPlayer3D::is_playing() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "is_playing"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -double AudioStreamPlayer3D::get_playback_position() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_playback_position"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_bus(const String bus) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_bus"); - } - ___godot_icall_void_String(mb, (const Object *) this, bus); -} - -String AudioStreamPlayer3D::get_bus() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_bus"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_autoplay(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_autoplay"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool AudioStreamPlayer3D::is_autoplay_enabled() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "is_autoplay_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::_set_playing(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "_set_playing"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool AudioStreamPlayer3D::_is_active() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "_is_active"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_max_distance(const double metres) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_max_distance"); - } - ___godot_icall_void_float(mb, (const Object *) this, metres); -} - -double AudioStreamPlayer3D::get_max_distance() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_max_distance"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_area_mask(const int64_t mask) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_area_mask"); - } - ___godot_icall_void_int(mb, (const Object *) this, mask); -} - -int64_t AudioStreamPlayer3D::get_area_mask() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_area_mask"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_emission_angle(const double degrees) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_emission_angle"); - } - ___godot_icall_void_float(mb, (const Object *) this, degrees); -} - -double AudioStreamPlayer3D::get_emission_angle() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_emission_angle"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_emission_angle_enabled(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_emission_angle_enabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -bool AudioStreamPlayer3D::is_emission_angle_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "is_emission_angle_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_emission_angle_filter_attenuation_db(const double db) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_emission_angle_filter_attenuation_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, db); -} - -double AudioStreamPlayer3D::get_emission_angle_filter_attenuation_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_emission_angle_filter_attenuation_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_attenuation_filter_cutoff_hz(const double degrees) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_attenuation_filter_cutoff_hz"); - } - ___godot_icall_void_float(mb, (const Object *) this, degrees); -} - -double AudioStreamPlayer3D::get_attenuation_filter_cutoff_hz() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_attenuation_filter_cutoff_hz"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_attenuation_filter_db(const double db) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_attenuation_filter_db"); - } - ___godot_icall_void_float(mb, (const Object *) this, db); -} - -double AudioStreamPlayer3D::get_attenuation_filter_db() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_attenuation_filter_db"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_attenuation_model(const int64_t model) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_attenuation_model"); - } - ___godot_icall_void_int(mb, (const Object *) this, model); -} - -AudioStreamPlayer3D::AttenuationModel AudioStreamPlayer3D::get_attenuation_model() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_attenuation_model"); - } - return (AudioStreamPlayer3D::AttenuationModel) ___godot_icall_int(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_out_of_range_mode(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_out_of_range_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -AudioStreamPlayer3D::OutOfRangeMode AudioStreamPlayer3D::get_out_of_range_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_out_of_range_mode"); - } - return (AudioStreamPlayer3D::OutOfRangeMode) ___godot_icall_int(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::set_doppler_tracking(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "set_doppler_tracking"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -AudioStreamPlayer3D::DopplerTracking AudioStreamPlayer3D::get_doppler_tracking() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "get_doppler_tracking"); - } - return (AudioStreamPlayer3D::DopplerTracking) ___godot_icall_int(mb, (const Object *) this); -} - -void AudioStreamPlayer3D::_bus_layout_changed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamPlayer3D", "_bus_layout_changed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioStreamRandomPitch.cpp b/src/gen/AudioStreamRandomPitch.cpp deleted file mode 100644 index 79025213..00000000 --- a/src/gen/AudioStreamRandomPitch.cpp +++ /dev/null @@ -1,64 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *AudioStreamRandomPitch::___get_type_tag() -{ - return (void *) &AudioStreamRandomPitch::___get_type_tag; -} - -void *AudioStreamRandomPitch::___get_base_type_tag() -{ - return (void *) &AudioStream::___get_type_tag; -} - -AudioStreamRandomPitch *AudioStreamRandomPitch::_new() -{ - return (AudioStreamRandomPitch *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioStreamRandomPitch")()); -} -void AudioStreamRandomPitch::set_audio_stream(const Ref stream) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamRandomPitch", "set_audio_stream"); - } - ___godot_icall_void_Object(mb, (const Object *) this, stream.ptr()); -} - -Ref AudioStreamRandomPitch::get_audio_stream() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamRandomPitch", "get_audio_stream"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void AudioStreamRandomPitch::set_random_pitch(const double scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamRandomPitch", "set_random_pitch"); - } - ___godot_icall_void_float(mb, (const Object *) this, scale); -} - -double AudioStreamRandomPitch::get_random_pitch() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamRandomPitch", "get_random_pitch"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/AudioStreamSample.cpp b/src/gen/AudioStreamSample.cpp deleted file mode 100644 index 33942783..00000000 --- a/src/gen/AudioStreamSample.cpp +++ /dev/null @@ -1,143 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *AudioStreamSample::___get_type_tag() -{ - return (void *) &AudioStreamSample::___get_type_tag; -} - -void *AudioStreamSample::___get_base_type_tag() -{ - return (void *) &AudioStream::___get_type_tag; -} - -AudioStreamSample *AudioStreamSample::_new() -{ - return (AudioStreamSample *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"AudioStreamSample")()); -} -void AudioStreamSample::set_format(const int64_t format) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "set_format"); - } - ___godot_icall_void_int(mb, (const Object *) this, format); -} - -AudioStreamSample::Format AudioStreamSample::get_format() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "get_format"); - } - return (AudioStreamSample::Format) ___godot_icall_int(mb, (const Object *) this); -} - -void AudioStreamSample::set_loop_mode(const int64_t loop_mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "set_loop_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, loop_mode); -} - -AudioStreamSample::LoopMode AudioStreamSample::get_loop_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "get_loop_mode"); - } - return (AudioStreamSample::LoopMode) ___godot_icall_int(mb, (const Object *) this); -} - -void AudioStreamSample::set_loop_begin(const int64_t loop_begin) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "set_loop_begin"); - } - ___godot_icall_void_int(mb, (const Object *) this, loop_begin); -} - -int64_t AudioStreamSample::get_loop_begin() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "get_loop_begin"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void AudioStreamSample::set_loop_end(const int64_t loop_end) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "set_loop_end"); - } - ___godot_icall_void_int(mb, (const Object *) this, loop_end); -} - -int64_t AudioStreamSample::get_loop_end() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "get_loop_end"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void AudioStreamSample::set_mix_rate(const int64_t mix_rate) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "set_mix_rate"); - } - ___godot_icall_void_int(mb, (const Object *) this, mix_rate); -} - -int64_t AudioStreamSample::get_mix_rate() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "get_mix_rate"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void AudioStreamSample::set_stereo(const bool stereo) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "set_stereo"); - } - ___godot_icall_void_bool(mb, (const Object *) this, stereo); -} - -bool AudioStreamSample::is_stereo() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "is_stereo"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void AudioStreamSample::_set_data(const PoolByteArray data) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "_set_data"); - } - ___godot_icall_void_PoolByteArray(mb, (const Object *) this, data); -} - -PoolByteArray AudioStreamSample::_get_data() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("AudioStreamSample", "_get_data"); - } - return ___godot_icall_PoolByteArray(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/BackBufferCopy.cpp b/src/gen/BackBufferCopy.cpp deleted file mode 100644 index 56d8dfc8..00000000 --- a/src/gen/BackBufferCopy.cpp +++ /dev/null @@ -1,63 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *BackBufferCopy::___get_type_tag() -{ - return (void *) &BackBufferCopy::___get_type_tag; -} - -void *BackBufferCopy::___get_base_type_tag() -{ - return (void *) &Node2D::___get_type_tag; -} - -BackBufferCopy *BackBufferCopy::_new() -{ - return (BackBufferCopy *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"BackBufferCopy")()); -} -void BackBufferCopy::set_rect(const Rect2 rect) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BackBufferCopy", "set_rect"); - } - ___godot_icall_void_Rect2(mb, (const Object *) this, rect); -} - -Rect2 BackBufferCopy::get_rect() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BackBufferCopy", "get_rect"); - } - return ___godot_icall_Rect2(mb, (const Object *) this); -} - -void BackBufferCopy::set_copy_mode(const int64_t copy_mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BackBufferCopy", "set_copy_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, copy_mode); -} - -BackBufferCopy::CopyMode BackBufferCopy::get_copy_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BackBufferCopy", "get_copy_mode"); - } - return (BackBufferCopy::CopyMode) ___godot_icall_int(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/BakedLightmap.cpp b/src/gen/BakedLightmap.cpp deleted file mode 100644 index 72b6c140..00000000 --- a/src/gen/BakedLightmap.cpp +++ /dev/null @@ -1,209 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include - - -namespace godot { - - -void *BakedLightmap::___get_type_tag() -{ - return (void *) &BakedLightmap::___get_type_tag; -} - -void *BakedLightmap::___get_base_type_tag() -{ - return (void *) &VisualInstance::___get_type_tag; -} - -BakedLightmap *BakedLightmap::_new() -{ - return (BakedLightmap *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"BakedLightmap")()); -} -void BakedLightmap::set_light_data(const Ref data) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "set_light_data"); - } - ___godot_icall_void_Object(mb, (const Object *) this, data.ptr()); -} - -Ref BakedLightmap::get_light_data() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "get_light_data"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void BakedLightmap::set_bake_cell_size(const double bake_cell_size) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "set_bake_cell_size"); - } - ___godot_icall_void_float(mb, (const Object *) this, bake_cell_size); -} - -double BakedLightmap::get_bake_cell_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "get_bake_cell_size"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void BakedLightmap::set_capture_cell_size(const double capture_cell_size) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "set_capture_cell_size"); - } - ___godot_icall_void_float(mb, (const Object *) this, capture_cell_size); -} - -double BakedLightmap::get_capture_cell_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "get_capture_cell_size"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void BakedLightmap::set_bake_quality(const int64_t bake_quality) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "set_bake_quality"); - } - ___godot_icall_void_int(mb, (const Object *) this, bake_quality); -} - -BakedLightmap::BakeQuality BakedLightmap::get_bake_quality() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "get_bake_quality"); - } - return (BakedLightmap::BakeQuality) ___godot_icall_int(mb, (const Object *) this); -} - -void BakedLightmap::set_bake_mode(const int64_t bake_mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "set_bake_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, bake_mode); -} - -BakedLightmap::BakeMode BakedLightmap::get_bake_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "get_bake_mode"); - } - return (BakedLightmap::BakeMode) ___godot_icall_int(mb, (const Object *) this); -} - -void BakedLightmap::set_extents(const Vector3 extents) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "set_extents"); - } - ___godot_icall_void_Vector3(mb, (const Object *) this, extents); -} - -Vector3 BakedLightmap::get_extents() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "get_extents"); - } - return ___godot_icall_Vector3(mb, (const Object *) this); -} - -void BakedLightmap::set_propagation(const double propagation) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "set_propagation"); - } - ___godot_icall_void_float(mb, (const Object *) this, propagation); -} - -double BakedLightmap::get_propagation() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "get_propagation"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void BakedLightmap::set_energy(const double energy) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "set_energy"); - } - ___godot_icall_void_float(mb, (const Object *) this, energy); -} - -double BakedLightmap::get_energy() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "get_energy"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void BakedLightmap::set_hdr(const bool hdr) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "set_hdr"); - } - ___godot_icall_void_bool(mb, (const Object *) this, hdr); -} - -bool BakedLightmap::is_hdr() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "is_hdr"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void BakedLightmap::set_image_path(const String image_path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "set_image_path"); - } - ___godot_icall_void_String(mb, (const Object *) this, image_path); -} - -String BakedLightmap::get_image_path() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "get_image_path"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -BakedLightmap::BakeError BakedLightmap::bake(const Object *from_node, const bool create_visual_debug) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "bake"); - } - return (BakedLightmap::BakeError) ___godot_icall_int_Object_bool(mb, (const Object *) this, from_node, create_visual_debug); -} - -void BakedLightmap::debug_bake() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmap", "debug_bake"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/BakedLightmapData.cpp b/src/gen/BakedLightmapData.cpp deleted file mode 100644 index 61e055db..00000000 --- a/src/gen/BakedLightmapData.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *BakedLightmapData::___get_type_tag() -{ - return (void *) &BakedLightmapData::___get_type_tag; -} - -void *BakedLightmapData::___get_base_type_tag() -{ - return (void *) &Resource::___get_type_tag; -} - -BakedLightmapData *BakedLightmapData::_new() -{ - return (BakedLightmapData *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"BakedLightmapData")()); -} -void BakedLightmapData::_set_user_data(const Array data) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "_set_user_data"); - } - ___godot_icall_void_Array(mb, (const Object *) this, data); -} - -Array BakedLightmapData::_get_user_data() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "_get_user_data"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -void BakedLightmapData::set_bounds(const AABB bounds) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "set_bounds"); - } - ___godot_icall_void_AABB(mb, (const Object *) this, bounds); -} - -AABB BakedLightmapData::get_bounds() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "get_bounds"); - } - return ___godot_icall_AABB(mb, (const Object *) this); -} - -void BakedLightmapData::set_cell_space_transform(const Transform xform) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "set_cell_space_transform"); - } - ___godot_icall_void_Transform(mb, (const Object *) this, xform); -} - -Transform BakedLightmapData::get_cell_space_transform() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "get_cell_space_transform"); - } - return ___godot_icall_Transform(mb, (const Object *) this); -} - -void BakedLightmapData::set_cell_subdiv(const int64_t cell_subdiv) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "set_cell_subdiv"); - } - ___godot_icall_void_int(mb, (const Object *) this, cell_subdiv); -} - -int64_t BakedLightmapData::get_cell_subdiv() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "get_cell_subdiv"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void BakedLightmapData::set_octree(const PoolByteArray octree) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "set_octree"); - } - ___godot_icall_void_PoolByteArray(mb, (const Object *) this, octree); -} - -PoolByteArray BakedLightmapData::get_octree() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "get_octree"); - } - return ___godot_icall_PoolByteArray(mb, (const Object *) this); -} - -void BakedLightmapData::set_energy(const double energy) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "set_energy"); - } - ___godot_icall_void_float(mb, (const Object *) this, energy); -} - -double BakedLightmapData::get_energy() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "get_energy"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void BakedLightmapData::add_user(const NodePath path, const Ref lightmap, const int64_t instance) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "add_user"); - } - ___godot_icall_void_NodePath_Object_int(mb, (const Object *) this, path, lightmap.ptr(), instance); -} - -int64_t BakedLightmapData::get_user_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "get_user_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -NodePath BakedLightmapData::get_user_path(const int64_t user_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "get_user_path"); - } - return ___godot_icall_NodePath_int(mb, (const Object *) this, user_idx); -} - -Ref BakedLightmapData::get_user_lightmap(const int64_t user_idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "get_user_lightmap"); - } - return Ref::__internal_constructor(___godot_icall_Object_int(mb, (const Object *) this, user_idx)); -} - -void BakedLightmapData::clear_users() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BakedLightmapData", "clear_users"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/BaseButton.cpp b/src/gen/BaseButton.cpp deleted file mode 100644 index 0a71c71e..00000000 --- a/src/gen/BaseButton.cpp +++ /dev/null @@ -1,190 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include -#include - - -namespace godot { - - -void *BaseButton::___get_type_tag() -{ - return (void *) &BaseButton::___get_type_tag; -} - -void *BaseButton::___get_base_type_tag() -{ - return (void *) &Control::___get_type_tag; -} - -void BaseButton::_pressed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "_pressed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void BaseButton::_toggled(const bool button_pressed) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "_toggled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, button_pressed); -} - -void BaseButton::_gui_input(const Ref arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "_gui_input"); - } - ___godot_icall_void_Object(mb, (const Object *) this, arg0.ptr()); -} - -void BaseButton::_unhandled_input(const Ref arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "_unhandled_input"); - } - ___godot_icall_void_Object(mb, (const Object *) this, arg0.ptr()); -} - -void BaseButton::set_pressed(const bool pressed) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "set_pressed"); - } - ___godot_icall_void_bool(mb, (const Object *) this, pressed); -} - -bool BaseButton::is_pressed() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "is_pressed"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -bool BaseButton::is_hovered() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "is_hovered"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void BaseButton::set_toggle_mode(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "set_toggle_mode"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -bool BaseButton::is_toggle_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "is_toggle_mode"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void BaseButton::set_disabled(const bool disabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "set_disabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, disabled); -} - -bool BaseButton::is_disabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "is_disabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void BaseButton::set_action_mode(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "set_action_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -BaseButton::ActionMode BaseButton::get_action_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "get_action_mode"); - } - return (BaseButton::ActionMode) ___godot_icall_int(mb, (const Object *) this); -} - -BaseButton::DrawMode BaseButton::get_draw_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "get_draw_mode"); - } - return (BaseButton::DrawMode) ___godot_icall_int(mb, (const Object *) this); -} - -void BaseButton::set_enabled_focus_mode(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "set_enabled_focus_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -Control::FocusMode BaseButton::get_enabled_focus_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "get_enabled_focus_mode"); - } - return (Control::FocusMode) ___godot_icall_int(mb, (const Object *) this); -} - -void BaseButton::set_shortcut(const Ref shortcut) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "set_shortcut"); - } - ___godot_icall_void_Object(mb, (const Object *) this, shortcut.ptr()); -} - -Ref BaseButton::get_shortcut() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "get_shortcut"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void BaseButton::set_button_group(const Ref button_group) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "set_button_group"); - } - ___godot_icall_void_Object(mb, (const Object *) this, button_group.ptr()); -} - -Ref BaseButton::get_button_group() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BaseButton", "get_button_group"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -} \ No newline at end of file diff --git a/src/gen/BitMap.cpp b/src/gen/BitMap.cpp deleted file mode 100644 index 6b8414d4..00000000 --- a/src/gen/BitMap.cpp +++ /dev/null @@ -1,104 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *BitMap::___get_type_tag() -{ - return (void *) &BitMap::___get_type_tag; -} - -void *BitMap::___get_base_type_tag() -{ - return (void *) &Resource::___get_type_tag; -} - -BitMap *BitMap::_new() -{ - return (BitMap *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"BitMap")()); -} -void BitMap::create(const Vector2 size) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitMap", "create"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, size); -} - -void BitMap::create_from_image_alpha(const Ref image, const double threshold) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitMap", "create_from_image_alpha"); - } - ___godot_icall_void_Object_float(mb, (const Object *) this, image.ptr(), threshold); -} - -void BitMap::set_bit(const Vector2 position, const bool bit) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitMap", "set_bit"); - } - ___godot_icall_void_Vector2_bool(mb, (const Object *) this, position, bit); -} - -bool BitMap::get_bit(const Vector2 position) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitMap", "get_bit"); - } - return ___godot_icall_bool_Vector2(mb, (const Object *) this, position); -} - -void BitMap::set_bit_rect(const Rect2 p_rect, const bool bit) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitMap", "set_bit_rect"); - } - ___godot_icall_void_Rect2_bool(mb, (const Object *) this, p_rect, bit); -} - -int64_t BitMap::get_true_bit_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitMap", "get_true_bit_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -Vector2 BitMap::get_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitMap", "get_size"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -void BitMap::_set_data(const Dictionary arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitMap", "_set_data"); - } - ___godot_icall_void_Dictionary(mb, (const Object *) this, arg0); -} - -Dictionary BitMap::_get_data() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitMap", "_get_data"); - } - return ___godot_icall_Dictionary(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/BitmapFont.cpp b/src/gen/BitmapFont.cpp deleted file mode 100644 index bf2c000e..00000000 --- a/src/gen/BitmapFont.cpp +++ /dev/null @@ -1,193 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include - - -namespace godot { - - -void *BitmapFont::___get_type_tag() -{ - return (void *) &BitmapFont::___get_type_tag; -} - -void *BitmapFont::___get_base_type_tag() -{ - return (void *) &Font::___get_type_tag; -} - -BitmapFont *BitmapFont::_new() -{ - return (BitmapFont *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"BitmapFont")()); -} -Error BitmapFont::create_from_fnt(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "create_from_fnt"); - } - return (Error) ___godot_icall_int_String(mb, (const Object *) this, path); -} - -void BitmapFont::set_height(const double px) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "set_height"); - } - ___godot_icall_void_float(mb, (const Object *) this, px); -} - -void BitmapFont::set_ascent(const double px) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "set_ascent"); - } - ___godot_icall_void_float(mb, (const Object *) this, px); -} - -void BitmapFont::add_kerning_pair(const int64_t char_a, const int64_t char_b, const int64_t kerning) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "add_kerning_pair"); - } - ___godot_icall_void_int_int_int(mb, (const Object *) this, char_a, char_b, kerning); -} - -int64_t BitmapFont::get_kerning_pair(const int64_t char_a, const int64_t char_b) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "get_kerning_pair"); - } - return ___godot_icall_int_int_int(mb, (const Object *) this, char_a, char_b); -} - -void BitmapFont::add_texture(const Ref texture) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "add_texture"); - } - ___godot_icall_void_Object(mb, (const Object *) this, texture.ptr()); -} - -void BitmapFont::add_char(const int64_t character, const int64_t texture, const Rect2 rect, const Vector2 align, const double advance) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "add_char"); - } - ___godot_icall_void_int_int_Rect2_Vector2_float(mb, (const Object *) this, character, texture, rect, align, advance); -} - -int64_t BitmapFont::get_texture_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "get_texture_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -Ref BitmapFont::get_texture(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "get_texture"); - } - return Ref::__internal_constructor(___godot_icall_Object_int(mb, (const Object *) this, idx)); -} - -Vector2 BitmapFont::get_char_size(const int64_t _char, const int64_t next) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "get_char_size"); - } - return ___godot_icall_Vector2_int_int(mb, (const Object *) this, _char, next); -} - -void BitmapFont::set_distance_field_hint(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "set_distance_field_hint"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -void BitmapFont::clear() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "clear"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void BitmapFont::_set_chars(const PoolIntArray arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "_set_chars"); - } - ___godot_icall_void_PoolIntArray(mb, (const Object *) this, arg0); -} - -PoolIntArray BitmapFont::_get_chars() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "_get_chars"); - } - return ___godot_icall_PoolIntArray(mb, (const Object *) this); -} - -void BitmapFont::_set_kernings(const PoolIntArray arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "_set_kernings"); - } - ___godot_icall_void_PoolIntArray(mb, (const Object *) this, arg0); -} - -PoolIntArray BitmapFont::_get_kernings() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "_get_kernings"); - } - return ___godot_icall_PoolIntArray(mb, (const Object *) this); -} - -void BitmapFont::_set_textures(const Array arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "_set_textures"); - } - ___godot_icall_void_Array(mb, (const Object *) this, arg0); -} - -Array BitmapFont::_get_textures() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "_get_textures"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -void BitmapFont::set_fallback(const Ref fallback) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "set_fallback"); - } - ___godot_icall_void_Object(mb, (const Object *) this, fallback.ptr()); -} - -Ref BitmapFont::get_fallback() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BitmapFont", "get_fallback"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -} \ No newline at end of file diff --git a/src/gen/BoneAttachment.cpp b/src/gen/BoneAttachment.cpp deleted file mode 100644 index b8235785..00000000 --- a/src/gen/BoneAttachment.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *BoneAttachment::___get_type_tag() -{ - return (void *) &BoneAttachment::___get_type_tag; -} - -void *BoneAttachment::___get_base_type_tag() -{ - return (void *) &Spatial::___get_type_tag; -} - -BoneAttachment *BoneAttachment::_new() -{ - return (BoneAttachment *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"BoneAttachment")()); -} -void BoneAttachment::set_bone_name(const String bone_name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BoneAttachment", "set_bone_name"); - } - ___godot_icall_void_String(mb, (const Object *) this, bone_name); -} - -String BoneAttachment::get_bone_name() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BoneAttachment", "get_bone_name"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/BoxContainer.cpp b/src/gen/BoxContainer.cpp deleted file mode 100644 index 6f1e1cdb..00000000 --- a/src/gen/BoxContainer.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *BoxContainer::___get_type_tag() -{ - return (void *) &BoxContainer::___get_type_tag; -} - -void *BoxContainer::___get_base_type_tag() -{ - return (void *) &Container::___get_type_tag; -} - -void BoxContainer::add_spacer(const bool begin) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BoxContainer", "add_spacer"); - } - ___godot_icall_void_bool(mb, (const Object *) this, begin); -} - -BoxContainer::AlignMode BoxContainer::get_alignment() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BoxContainer", "get_alignment"); - } - return (BoxContainer::AlignMode) ___godot_icall_int(mb, (const Object *) this); -} - -void BoxContainer::set_alignment(const int64_t alignment) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BoxContainer", "set_alignment"); - } - ___godot_icall_void_int(mb, (const Object *) this, alignment); -} - -} \ No newline at end of file diff --git a/src/gen/BoxShape.cpp b/src/gen/BoxShape.cpp deleted file mode 100644 index 8cb0fde3..00000000 --- a/src/gen/BoxShape.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *BoxShape::___get_type_tag() -{ - return (void *) &BoxShape::___get_type_tag; -} - -void *BoxShape::___get_base_type_tag() -{ - return (void *) &Shape::___get_type_tag; -} - -BoxShape *BoxShape::_new() -{ - return (BoxShape *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"BoxShape")()); -} -void BoxShape::set_extents(const Vector3 extents) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BoxShape", "set_extents"); - } - ___godot_icall_void_Vector3(mb, (const Object *) this, extents); -} - -Vector3 BoxShape::get_extents() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("BoxShape", "get_extents"); - } - return ___godot_icall_Vector3(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/BulletPhysicsDirectBodyState.cpp b/src/gen/BulletPhysicsDirectBodyState.cpp deleted file mode 100644 index 044e4987..00000000 --- a/src/gen/BulletPhysicsDirectBodyState.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *BulletPhysicsDirectBodyState::___get_type_tag() -{ - return (void *) &BulletPhysicsDirectBodyState::___get_type_tag; -} - -void *BulletPhysicsDirectBodyState::___get_base_type_tag() -{ - return (void *) &PhysicsDirectBodyState::___get_type_tag; -} - -} \ No newline at end of file diff --git a/src/gen/BulletPhysicsServer.cpp b/src/gen/BulletPhysicsServer.cpp deleted file mode 100644 index 600e4247..00000000 --- a/src/gen/BulletPhysicsServer.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *BulletPhysicsServer::___get_type_tag() -{ - return (void *) &BulletPhysicsServer::___get_type_tag; -} - -void *BulletPhysicsServer::___get_base_type_tag() -{ - return (void *) &PhysicsServer::___get_type_tag; -} - -} \ No newline at end of file diff --git a/src/gen/Button.cpp b/src/gen/Button.cpp deleted file mode 100644 index e1ea9591..00000000 --- a/src/gen/Button.cpp +++ /dev/null @@ -1,112 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *Button::___get_type_tag() -{ - return (void *) &Button::___get_type_tag; -} - -void *Button::___get_base_type_tag() -{ - return (void *) &BaseButton::___get_type_tag; -} - -Button *Button::_new() -{ - return (Button *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"Button")()); -} -void Button::set_text(const String text) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Button", "set_text"); - } - ___godot_icall_void_String(mb, (const Object *) this, text); -} - -String Button::get_text() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Button", "get_text"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void Button::set_button_icon(const Ref texture) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Button", "set_button_icon"); - } - ___godot_icall_void_Object(mb, (const Object *) this, texture.ptr()); -} - -Ref Button::get_button_icon() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Button", "get_button_icon"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void Button::set_flat(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Button", "set_flat"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -void Button::set_clip_text(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Button", "set_clip_text"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -bool Button::get_clip_text() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Button", "get_clip_text"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Button::set_text_align(const int64_t align) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Button", "set_text_align"); - } - ___godot_icall_void_int(mb, (const Object *) this, align); -} - -Button::TextAlign Button::get_text_align() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Button", "get_text_align"); - } - return (Button::TextAlign) ___godot_icall_int(mb, (const Object *) this); -} - -bool Button::is_flat() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Button", "is_flat"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/ButtonGroup.cpp b/src/gen/ButtonGroup.cpp deleted file mode 100644 index 2b259fd3..00000000 --- a/src/gen/ButtonGroup.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *ButtonGroup::___get_type_tag() -{ - return (void *) &ButtonGroup::___get_type_tag; -} - -void *ButtonGroup::___get_base_type_tag() -{ - return (void *) &Resource::___get_type_tag; -} - -ButtonGroup *ButtonGroup::_new() -{ - return (ButtonGroup *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ButtonGroup")()); -} -BaseButton *ButtonGroup::get_pressed_button() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ButtonGroup", "get_pressed_button"); - } - return (BaseButton *) ___godot_icall_Object(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/Camera.cpp b/src/gen/Camera.cpp deleted file mode 100644 index a40460c1..00000000 --- a/src/gen/Camera.cpp +++ /dev/null @@ -1,312 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *Camera::___get_type_tag() -{ - return (void *) &Camera::___get_type_tag; -} - -void *Camera::___get_base_type_tag() -{ - return (void *) &Spatial::___get_type_tag; -} - -Camera *Camera::_new() -{ - return (Camera *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"Camera")()); -} -Vector3 Camera::project_ray_normal(const Vector2 screen_point) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "project_ray_normal"); - } - return ___godot_icall_Vector3_Vector2(mb, (const Object *) this, screen_point); -} - -Vector3 Camera::project_local_ray_normal(const Vector2 screen_point) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "project_local_ray_normal"); - } - return ___godot_icall_Vector3_Vector2(mb, (const Object *) this, screen_point); -} - -Vector3 Camera::project_ray_origin(const Vector2 screen_point) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "project_ray_origin"); - } - return ___godot_icall_Vector3_Vector2(mb, (const Object *) this, screen_point); -} - -Vector2 Camera::unproject_position(const Vector3 world_point) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "unproject_position"); - } - return ___godot_icall_Vector2_Vector3(mb, (const Object *) this, world_point); -} - -bool Camera::is_position_behind(const Vector3 world_point) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "is_position_behind"); - } - return ___godot_icall_bool_Vector3(mb, (const Object *) this, world_point); -} - -Vector3 Camera::project_position(const Vector2 screen_point) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "project_position"); - } - return ___godot_icall_Vector3_Vector2(mb, (const Object *) this, screen_point); -} - -void Camera::set_perspective(const double fov, const double z_near, const double z_far) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_perspective"); - } - ___godot_icall_void_float_float_float(mb, (const Object *) this, fov, z_near, z_far); -} - -void Camera::set_orthogonal(const double size, const double z_near, const double z_far) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_orthogonal"); - } - ___godot_icall_void_float_float_float(mb, (const Object *) this, size, z_near, z_far); -} - -void Camera::make_current() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "make_current"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Camera::clear_current(const bool enable_next) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "clear_current"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable_next); -} - -void Camera::set_current(const bool arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_current"); - } - ___godot_icall_void_bool(mb, (const Object *) this, arg0); -} - -bool Camera::is_current() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "is_current"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -Transform Camera::get_camera_transform() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "get_camera_transform"); - } - return ___godot_icall_Transform(mb, (const Object *) this); -} - -double Camera::get_fov() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "get_fov"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -double Camera::get_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "get_size"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -double Camera::get_zfar() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "get_zfar"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -double Camera::get_znear() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "get_znear"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Camera::set_fov(const double arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_fov"); - } - ___godot_icall_void_float(mb, (const Object *) this, arg0); -} - -void Camera::set_size(const double arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_size"); - } - ___godot_icall_void_float(mb, (const Object *) this, arg0); -} - -void Camera::set_zfar(const double arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_zfar"); - } - ___godot_icall_void_float(mb, (const Object *) this, arg0); -} - -void Camera::set_znear(const double arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_znear"); - } - ___godot_icall_void_float(mb, (const Object *) this, arg0); -} - -Camera::Projection Camera::get_projection() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "get_projection"); - } - return (Camera::Projection) ___godot_icall_int(mb, (const Object *) this); -} - -void Camera::set_projection(const int64_t arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_projection"); - } - ___godot_icall_void_int(mb, (const Object *) this, arg0); -} - -void Camera::set_h_offset(const double ofs) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_h_offset"); - } - ___godot_icall_void_float(mb, (const Object *) this, ofs); -} - -double Camera::get_h_offset() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "get_h_offset"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Camera::set_v_offset(const double ofs) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_v_offset"); - } - ___godot_icall_void_float(mb, (const Object *) this, ofs); -} - -double Camera::get_v_offset() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "get_v_offset"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Camera::set_cull_mask(const int64_t mask) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_cull_mask"); - } - ___godot_icall_void_int(mb, (const Object *) this, mask); -} - -int64_t Camera::get_cull_mask() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "get_cull_mask"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void Camera::set_environment(const Ref env) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_environment"); - } - ___godot_icall_void_Object(mb, (const Object *) this, env.ptr()); -} - -Ref Camera::get_environment() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "get_environment"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void Camera::set_keep_aspect_mode(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_keep_aspect_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -Camera::KeepAspect Camera::get_keep_aspect_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "get_keep_aspect_mode"); - } - return (Camera::KeepAspect) ___godot_icall_int(mb, (const Object *) this); -} - -void Camera::set_doppler_tracking(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "set_doppler_tracking"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -Camera::DopplerTracking Camera::get_doppler_tracking() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera", "get_doppler_tracking"); - } - return (Camera::DopplerTracking) ___godot_icall_int(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/Camera2D.cpp b/src/gen/Camera2D.cpp deleted file mode 100644 index 6a3d0e33..00000000 --- a/src/gen/Camera2D.cpp +++ /dev/null @@ -1,401 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include - - -namespace godot { - - -void *Camera2D::___get_type_tag() -{ - return (void *) &Camera2D::___get_type_tag; -} - -void *Camera2D::___get_base_type_tag() -{ - return (void *) &Node2D::___get_type_tag; -} - -Camera2D *Camera2D::_new() -{ - return (Camera2D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"Camera2D")()); -} -void Camera2D::set_offset(const Vector2 offset) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_offset"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, offset); -} - -Vector2 Camera2D::get_offset() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "get_offset"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -void Camera2D::set_anchor_mode(const int64_t anchor_mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_anchor_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, anchor_mode); -} - -Camera2D::AnchorMode Camera2D::get_anchor_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "get_anchor_mode"); - } - return (Camera2D::AnchorMode) ___godot_icall_int(mb, (const Object *) this); -} - -void Camera2D::set_rotating(const bool rotating) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_rotating"); - } - ___godot_icall_void_bool(mb, (const Object *) this, rotating); -} - -bool Camera2D::is_rotating() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "is_rotating"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Camera2D::make_current() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "make_current"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Camera2D::clear_current() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "clear_current"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Camera2D::_make_current(const Object *arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "_make_current"); - } - ___godot_icall_void_Object(mb, (const Object *) this, arg0); -} - -void Camera2D::_update_scroll() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "_update_scroll"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Camera2D::_set_current(const bool current) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "_set_current"); - } - ___godot_icall_void_bool(mb, (const Object *) this, current); -} - -bool Camera2D::is_current() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "is_current"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Camera2D::set_limit(const int64_t margin, const int64_t limit) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_limit"); - } - ___godot_icall_void_int_int(mb, (const Object *) this, margin, limit); -} - -int64_t Camera2D::get_limit(const int64_t margin) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "get_limit"); - } - return ___godot_icall_int_int(mb, (const Object *) this, margin); -} - -void Camera2D::set_limit_smoothing_enabled(const bool limit_smoothing_enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_limit_smoothing_enabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, limit_smoothing_enabled); -} - -bool Camera2D::is_limit_smoothing_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "is_limit_smoothing_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Camera2D::set_v_drag_enabled(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_v_drag_enabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -bool Camera2D::is_v_drag_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "is_v_drag_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Camera2D::set_h_drag_enabled(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_h_drag_enabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -bool Camera2D::is_h_drag_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "is_h_drag_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Camera2D::set_v_offset(const double ofs) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_v_offset"); - } - ___godot_icall_void_float(mb, (const Object *) this, ofs); -} - -double Camera2D::get_v_offset() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "get_v_offset"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Camera2D::set_h_offset(const double ofs) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_h_offset"); - } - ___godot_icall_void_float(mb, (const Object *) this, ofs); -} - -double Camera2D::get_h_offset() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "get_h_offset"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Camera2D::set_drag_margin(const int64_t margin, const double drag_margin) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_drag_margin"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, margin, drag_margin); -} - -double Camera2D::get_drag_margin(const int64_t margin) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "get_drag_margin"); - } - return ___godot_icall_float_int(mb, (const Object *) this, margin); -} - -Vector2 Camera2D::get_camera_position() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "get_camera_position"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -Vector2 Camera2D::get_camera_screen_center() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "get_camera_screen_center"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -void Camera2D::set_zoom(const Vector2 zoom) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_zoom"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, zoom); -} - -Vector2 Camera2D::get_zoom() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "get_zoom"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -void Camera2D::set_custom_viewport(const Object *viewport) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_custom_viewport"); - } - ___godot_icall_void_Object(mb, (const Object *) this, viewport); -} - -Node *Camera2D::get_custom_viewport() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "get_custom_viewport"); - } - return (Node *) ___godot_icall_Object(mb, (const Object *) this); -} - -void Camera2D::set_follow_smoothing(const double follow_smoothing) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_follow_smoothing"); - } - ___godot_icall_void_float(mb, (const Object *) this, follow_smoothing); -} - -double Camera2D::get_follow_smoothing() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "get_follow_smoothing"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Camera2D::set_enable_follow_smoothing(const bool follow_smoothing) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_enable_follow_smoothing"); - } - ___godot_icall_void_bool(mb, (const Object *) this, follow_smoothing); -} - -bool Camera2D::is_follow_smoothing_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "is_follow_smoothing_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Camera2D::force_update_scroll() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "force_update_scroll"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Camera2D::reset_smoothing() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "reset_smoothing"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Camera2D::align() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "align"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Camera2D::_set_old_smoothing(const double follow_smoothing) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "_set_old_smoothing"); - } - ___godot_icall_void_float(mb, (const Object *) this, follow_smoothing); -} - -void Camera2D::set_screen_drawing_enabled(const bool screen_drawing_enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_screen_drawing_enabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, screen_drawing_enabled); -} - -bool Camera2D::is_screen_drawing_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "is_screen_drawing_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Camera2D::set_limit_drawing_enabled(const bool limit_drawing_enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_limit_drawing_enabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, limit_drawing_enabled); -} - -bool Camera2D::is_limit_drawing_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "is_limit_drawing_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Camera2D::set_margin_drawing_enabled(const bool margin_drawing_enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "set_margin_drawing_enabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, margin_drawing_enabled); -} - -bool Camera2D::is_margin_drawing_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Camera2D", "is_margin_drawing_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CanvasItem.cpp b/src/gen/CanvasItem.cpp deleted file mode 100644 index f3343277..00000000 --- a/src/gen/CanvasItem.cpp +++ /dev/null @@ -1,650 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include -#include -#include -#include -#include -#include - - -namespace godot { - - -void *CanvasItem::___get_type_tag() -{ - return (void *) &CanvasItem::___get_type_tag; -} - -void *CanvasItem::___get_base_type_tag() -{ - return (void *) &Node::___get_type_tag; -} - -void CanvasItem::_draw() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_draw"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void CanvasItem::_toplevel_raise_self() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_toplevel_raise_self"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void CanvasItem::_update_callback() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_update_callback"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void CanvasItem::_edit_set_state(const Dictionary state) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_set_state"); - } - ___godot_icall_void_Dictionary(mb, (const Object *) this, state); -} - -Dictionary CanvasItem::_edit_get_state() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_get_state"); - } - return ___godot_icall_Dictionary(mb, (const Object *) this); -} - -void CanvasItem::_edit_set_position(const Vector2 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_set_position"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, position); -} - -Vector2 CanvasItem::_edit_get_position() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_get_position"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -bool CanvasItem::_edit_use_position() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_use_position"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CanvasItem::_edit_set_rect(const Rect2 rect) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_set_rect"); - } - ___godot_icall_void_Rect2(mb, (const Object *) this, rect); -} - -Rect2 CanvasItem::_edit_get_rect() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_get_rect"); - } - return ___godot_icall_Rect2(mb, (const Object *) this); -} - -bool CanvasItem::_edit_use_rect() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_use_rect"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -Rect2 CanvasItem::_edit_get_item_and_children_rect() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_get_item_and_children_rect"); - } - return ___godot_icall_Rect2(mb, (const Object *) this); -} - -void CanvasItem::_edit_set_rotation(const double degrees) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_set_rotation"); - } - ___godot_icall_void_float(mb, (const Object *) this, degrees); -} - -double CanvasItem::_edit_get_rotation() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_get_rotation"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -bool CanvasItem::_edit_use_rotation() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_use_rotation"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CanvasItem::_edit_set_pivot(const Vector2 pivot) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_set_pivot"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, pivot); -} - -Vector2 CanvasItem::_edit_get_pivot() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_get_pivot"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -bool CanvasItem::_edit_use_pivot() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_edit_use_pivot"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -RID CanvasItem::get_canvas_item() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_canvas_item"); - } - return ___godot_icall_RID(mb, (const Object *) this); -} - -void CanvasItem::set_visible(const bool visible) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "set_visible"); - } - ___godot_icall_void_bool(mb, (const Object *) this, visible); -} - -bool CanvasItem::is_visible() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "is_visible"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -bool CanvasItem::is_visible_in_tree() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "is_visible_in_tree"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CanvasItem::show() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "show"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void CanvasItem::hide() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "hide"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void CanvasItem::update() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "update"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void CanvasItem::set_as_toplevel(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "set_as_toplevel"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool CanvasItem::is_set_as_toplevel() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "is_set_as_toplevel"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CanvasItem::set_light_mask(const int64_t light_mask) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "set_light_mask"); - } - ___godot_icall_void_int(mb, (const Object *) this, light_mask); -} - -int64_t CanvasItem::get_light_mask() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_light_mask"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void CanvasItem::set_modulate(const Color modulate) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "set_modulate"); - } - ___godot_icall_void_Color(mb, (const Object *) this, modulate); -} - -Color CanvasItem::get_modulate() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_modulate"); - } - return ___godot_icall_Color(mb, (const Object *) this); -} - -void CanvasItem::set_self_modulate(const Color self_modulate) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "set_self_modulate"); - } - ___godot_icall_void_Color(mb, (const Object *) this, self_modulate); -} - -Color CanvasItem::get_self_modulate() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_self_modulate"); - } - return ___godot_icall_Color(mb, (const Object *) this); -} - -void CanvasItem::set_draw_behind_parent(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "set_draw_behind_parent"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool CanvasItem::is_draw_behind_parent_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "is_draw_behind_parent_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CanvasItem::_set_on_top(const bool on_top) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_set_on_top"); - } - ___godot_icall_void_bool(mb, (const Object *) this, on_top); -} - -bool CanvasItem::_is_on_top() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "_is_on_top"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CanvasItem::draw_line(const Vector2 from, const Vector2 to, const Color color, const double width, const bool antialiased) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_line"); - } - ___godot_icall_void_Vector2_Vector2_Color_float_bool(mb, (const Object *) this, from, to, color, width, antialiased); -} - -void CanvasItem::draw_polyline(const PoolVector2Array points, const Color color, const double width, const bool antialiased) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_polyline"); - } - ___godot_icall_void_PoolVector2Array_Color_float_bool(mb, (const Object *) this, points, color, width, antialiased); -} - -void CanvasItem::draw_polyline_colors(const PoolVector2Array points, const PoolColorArray colors, const double width, const bool antialiased) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_polyline_colors"); - } - ___godot_icall_void_PoolVector2Array_PoolColorArray_float_bool(mb, (const Object *) this, points, colors, width, antialiased); -} - -void CanvasItem::draw_multiline(const PoolVector2Array points, const Color color, const double width, const bool antialiased) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_multiline"); - } - ___godot_icall_void_PoolVector2Array_Color_float_bool(mb, (const Object *) this, points, color, width, antialiased); -} - -void CanvasItem::draw_multiline_colors(const PoolVector2Array points, const PoolColorArray colors, const double width, const bool antialiased) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_multiline_colors"); - } - ___godot_icall_void_PoolVector2Array_PoolColorArray_float_bool(mb, (const Object *) this, points, colors, width, antialiased); -} - -void CanvasItem::draw_rect(const Rect2 rect, const Color color, const bool filled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_rect"); - } - ___godot_icall_void_Rect2_Color_bool(mb, (const Object *) this, rect, color, filled); -} - -void CanvasItem::draw_circle(const Vector2 position, const double radius, const Color color) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_circle"); - } - ___godot_icall_void_Vector2_float_Color(mb, (const Object *) this, position, radius, color); -} - -void CanvasItem::draw_texture(const Ref texture, const Vector2 position, const Color modulate, const Ref normal_map) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_texture"); - } - ___godot_icall_void_Object_Vector2_Color_Object(mb, (const Object *) this, texture.ptr(), position, modulate, normal_map.ptr()); -} - -void CanvasItem::draw_texture_rect(const Ref texture, const Rect2 rect, const bool tile, const Color modulate, const bool transpose, const Ref normal_map) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_texture_rect"); - } - ___godot_icall_void_Object_Rect2_bool_Color_bool_Object(mb, (const Object *) this, texture.ptr(), rect, tile, modulate, transpose, normal_map.ptr()); -} - -void CanvasItem::draw_texture_rect_region(const Ref texture, const Rect2 rect, const Rect2 src_rect, const Color modulate, const bool transpose, const Ref normal_map, const bool clip_uv) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_texture_rect_region"); - } - ___godot_icall_void_Object_Rect2_Rect2_Color_bool_Object_bool(mb, (const Object *) this, texture.ptr(), rect, src_rect, modulate, transpose, normal_map.ptr(), clip_uv); -} - -void CanvasItem::draw_style_box(const Ref style_box, const Rect2 rect) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_style_box"); - } - ___godot_icall_void_Object_Rect2(mb, (const Object *) this, style_box.ptr(), rect); -} - -void CanvasItem::draw_primitive(const PoolVector2Array points, const PoolColorArray colors, const PoolVector2Array uvs, const Ref texture, const double width, const Ref normal_map) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_primitive"); - } - ___godot_icall_void_PoolVector2Array_PoolColorArray_PoolVector2Array_Object_float_Object(mb, (const Object *) this, points, colors, uvs, texture.ptr(), width, normal_map.ptr()); -} - -void CanvasItem::draw_polygon(const PoolVector2Array points, const PoolColorArray colors, const PoolVector2Array uvs, const Ref texture, const Ref normal_map, const bool antialiased) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_polygon"); - } - ___godot_icall_void_PoolVector2Array_PoolColorArray_PoolVector2Array_Object_Object_bool(mb, (const Object *) this, points, colors, uvs, texture.ptr(), normal_map.ptr(), antialiased); -} - -void CanvasItem::draw_colored_polygon(const PoolVector2Array points, const Color color, const PoolVector2Array uvs, const Ref texture, const Ref normal_map, const bool antialiased) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_colored_polygon"); - } - ___godot_icall_void_PoolVector2Array_Color_PoolVector2Array_Object_Object_bool(mb, (const Object *) this, points, color, uvs, texture.ptr(), normal_map.ptr(), antialiased); -} - -void CanvasItem::draw_string(const Ref font, const Vector2 position, const String text, const Color modulate, const int64_t clip_w) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_string"); - } - ___godot_icall_void_Object_Vector2_String_Color_int(mb, (const Object *) this, font.ptr(), position, text, modulate, clip_w); -} - -double CanvasItem::draw_char(const Ref font, const Vector2 position, const String _char, const String next, const Color modulate) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_char"); - } - return ___godot_icall_float_Object_Vector2_String_String_Color(mb, (const Object *) this, font.ptr(), position, _char, next, modulate); -} - -void CanvasItem::draw_mesh(const Ref mesh, const Ref texture, const Ref normal_map) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_mesh"); - } - ___godot_icall_void_Object_Object_Object(mb, (const Object *) this, mesh.ptr(), texture.ptr(), normal_map.ptr()); -} - -void CanvasItem::draw_multimesh(const Ref mesh, const Ref texture, const Ref normal_map) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_multimesh"); - } - ___godot_icall_void_Object_Object_Object(mb, (const Object *) this, mesh.ptr(), texture.ptr(), normal_map.ptr()); -} - -void CanvasItem::draw_set_transform(const Vector2 position, const double rotation, const Vector2 scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_set_transform"); - } - ___godot_icall_void_Vector2_float_Vector2(mb, (const Object *) this, position, rotation, scale); -} - -void CanvasItem::draw_set_transform_matrix(const Transform2D xform) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "draw_set_transform_matrix"); - } - ___godot_icall_void_Transform2D(mb, (const Object *) this, xform); -} - -Transform2D CanvasItem::get_transform() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_transform"); - } - return ___godot_icall_Transform2D(mb, (const Object *) this); -} - -Transform2D CanvasItem::get_global_transform() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_global_transform"); - } - return ___godot_icall_Transform2D(mb, (const Object *) this); -} - -Transform2D CanvasItem::get_global_transform_with_canvas() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_global_transform_with_canvas"); - } - return ___godot_icall_Transform2D(mb, (const Object *) this); -} - -Transform2D CanvasItem::get_viewport_transform() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_viewport_transform"); - } - return ___godot_icall_Transform2D(mb, (const Object *) this); -} - -Rect2 CanvasItem::get_viewport_rect() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_viewport_rect"); - } - return ___godot_icall_Rect2(mb, (const Object *) this); -} - -Transform2D CanvasItem::get_canvas_transform() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_canvas_transform"); - } - return ___godot_icall_Transform2D(mb, (const Object *) this); -} - -Vector2 CanvasItem::get_local_mouse_position() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_local_mouse_position"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -Vector2 CanvasItem::get_global_mouse_position() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_global_mouse_position"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -RID CanvasItem::get_canvas() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_canvas"); - } - return ___godot_icall_RID(mb, (const Object *) this); -} - -Ref CanvasItem::get_world_2d() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_world_2d"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void CanvasItem::set_material(const Ref material) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "set_material"); - } - ___godot_icall_void_Object(mb, (const Object *) this, material.ptr()); -} - -Ref CanvasItem::get_material() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_material"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void CanvasItem::set_use_parent_material(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "set_use_parent_material"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool CanvasItem::get_use_parent_material() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "get_use_parent_material"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CanvasItem::set_notify_local_transform(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "set_notify_local_transform"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool CanvasItem::is_local_transform_notification_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "is_local_transform_notification_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CanvasItem::set_notify_transform(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "set_notify_transform"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool CanvasItem::is_transform_notification_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "is_transform_notification_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -Vector2 CanvasItem::make_canvas_position_local(const Vector2 screen_point) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "make_canvas_position_local"); - } - return ___godot_icall_Vector2_Vector2(mb, (const Object *) this, screen_point); -} - -Ref CanvasItem::make_input_local(const Ref event) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItem", "make_input_local"); - } - return Ref::__internal_constructor(___godot_icall_Object_Object(mb, (const Object *) this, event.ptr())); -} - -} \ No newline at end of file diff --git a/src/gen/CanvasItemMaterial.cpp b/src/gen/CanvasItemMaterial.cpp deleted file mode 100644 index c74880d6..00000000 --- a/src/gen/CanvasItemMaterial.cpp +++ /dev/null @@ -1,63 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CanvasItemMaterial::___get_type_tag() -{ - return (void *) &CanvasItemMaterial::___get_type_tag; -} - -void *CanvasItemMaterial::___get_base_type_tag() -{ - return (void *) &Material::___get_type_tag; -} - -CanvasItemMaterial *CanvasItemMaterial::_new() -{ - return (CanvasItemMaterial *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CanvasItemMaterial")()); -} -void CanvasItemMaterial::set_blend_mode(const int64_t blend_mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItemMaterial", "set_blend_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, blend_mode); -} - -CanvasItemMaterial::BlendMode CanvasItemMaterial::get_blend_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItemMaterial", "get_blend_mode"); - } - return (CanvasItemMaterial::BlendMode) ___godot_icall_int(mb, (const Object *) this); -} - -void CanvasItemMaterial::set_light_mode(const int64_t light_mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItemMaterial", "set_light_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, light_mode); -} - -CanvasItemMaterial::LightMode CanvasItemMaterial::get_light_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasItemMaterial", "get_light_mode"); - } - return (CanvasItemMaterial::LightMode) ___godot_icall_int(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CanvasLayer.cpp b/src/gen/CanvasLayer.cpp deleted file mode 100644 index 0a8fa5fa..00000000 --- a/src/gen/CanvasLayer.cpp +++ /dev/null @@ -1,154 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include -#include - - -namespace godot { - - -void *CanvasLayer::___get_type_tag() -{ - return (void *) &CanvasLayer::___get_type_tag; -} - -void *CanvasLayer::___get_base_type_tag() -{ - return (void *) &Node::___get_type_tag; -} - -CanvasLayer *CanvasLayer::_new() -{ - return (CanvasLayer *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CanvasLayer")()); -} -void CanvasLayer::set_layer(const int64_t layer) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "set_layer"); - } - ___godot_icall_void_int(mb, (const Object *) this, layer); -} - -int64_t CanvasLayer::get_layer() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "get_layer"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void CanvasLayer::set_transform(const Transform2D transform) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "set_transform"); - } - ___godot_icall_void_Transform2D(mb, (const Object *) this, transform); -} - -Transform2D CanvasLayer::get_transform() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "get_transform"); - } - return ___godot_icall_Transform2D(mb, (const Object *) this); -} - -void CanvasLayer::set_offset(const Vector2 offset) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "set_offset"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, offset); -} - -Vector2 CanvasLayer::get_offset() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "get_offset"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -void CanvasLayer::set_rotation(const double radians) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "set_rotation"); - } - ___godot_icall_void_float(mb, (const Object *) this, radians); -} - -double CanvasLayer::get_rotation() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "get_rotation"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void CanvasLayer::set_rotation_degrees(const double degrees) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "set_rotation_degrees"); - } - ___godot_icall_void_float(mb, (const Object *) this, degrees); -} - -double CanvasLayer::get_rotation_degrees() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "get_rotation_degrees"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void CanvasLayer::set_scale(const Vector2 scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "set_scale"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, scale); -} - -Vector2 CanvasLayer::get_scale() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "get_scale"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -void CanvasLayer::set_custom_viewport(const Object *viewport) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "set_custom_viewport"); - } - ___godot_icall_void_Object(mb, (const Object *) this, viewport); -} - -Node *CanvasLayer::get_custom_viewport() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "get_custom_viewport"); - } - return (Node *) ___godot_icall_Object(mb, (const Object *) this); -} - -Ref CanvasLayer::get_world_2d() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasLayer", "get_world_2d"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -} \ No newline at end of file diff --git a/src/gen/CanvasModulate.cpp b/src/gen/CanvasModulate.cpp deleted file mode 100644 index a5d4e245..00000000 --- a/src/gen/CanvasModulate.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CanvasModulate::___get_type_tag() -{ - return (void *) &CanvasModulate::___get_type_tag; -} - -void *CanvasModulate::___get_base_type_tag() -{ - return (void *) &Node2D::___get_type_tag; -} - -CanvasModulate *CanvasModulate::_new() -{ - return (CanvasModulate *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CanvasModulate")()); -} -void CanvasModulate::set_color(const Color color) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasModulate", "set_color"); - } - ___godot_icall_void_Color(mb, (const Object *) this, color); -} - -Color CanvasModulate::get_color() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CanvasModulate", "get_color"); - } - return ___godot_icall_Color(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CapsuleMesh.cpp b/src/gen/CapsuleMesh.cpp deleted file mode 100644 index 6b7fba6c..00000000 --- a/src/gen/CapsuleMesh.cpp +++ /dev/null @@ -1,95 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CapsuleMesh::___get_type_tag() -{ - return (void *) &CapsuleMesh::___get_type_tag; -} - -void *CapsuleMesh::___get_base_type_tag() -{ - return (void *) &PrimitiveMesh::___get_type_tag; -} - -CapsuleMesh *CapsuleMesh::_new() -{ - return (CapsuleMesh *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CapsuleMesh")()); -} -void CapsuleMesh::set_radius(const double radius) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleMesh", "set_radius"); - } - ___godot_icall_void_float(mb, (const Object *) this, radius); -} - -double CapsuleMesh::get_radius() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleMesh", "get_radius"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void CapsuleMesh::set_mid_height(const double mid_height) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleMesh", "set_mid_height"); - } - ___godot_icall_void_float(mb, (const Object *) this, mid_height); -} - -double CapsuleMesh::get_mid_height() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleMesh", "get_mid_height"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void CapsuleMesh::set_radial_segments(const int64_t segments) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleMesh", "set_radial_segments"); - } - ___godot_icall_void_int(mb, (const Object *) this, segments); -} - -int64_t CapsuleMesh::get_radial_segments() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleMesh", "get_radial_segments"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void CapsuleMesh::set_rings(const int64_t rings) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleMesh", "set_rings"); - } - ___godot_icall_void_int(mb, (const Object *) this, rings); -} - -int64_t CapsuleMesh::get_rings() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleMesh", "get_rings"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CapsuleShape.cpp b/src/gen/CapsuleShape.cpp deleted file mode 100644 index 98295941..00000000 --- a/src/gen/CapsuleShape.cpp +++ /dev/null @@ -1,63 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CapsuleShape::___get_type_tag() -{ - return (void *) &CapsuleShape::___get_type_tag; -} - -void *CapsuleShape::___get_base_type_tag() -{ - return (void *) &Shape::___get_type_tag; -} - -CapsuleShape *CapsuleShape::_new() -{ - return (CapsuleShape *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CapsuleShape")()); -} -void CapsuleShape::set_radius(const double radius) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleShape", "set_radius"); - } - ___godot_icall_void_float(mb, (const Object *) this, radius); -} - -double CapsuleShape::get_radius() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleShape", "get_radius"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void CapsuleShape::set_height(const double height) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleShape", "set_height"); - } - ___godot_icall_void_float(mb, (const Object *) this, height); -} - -double CapsuleShape::get_height() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleShape", "get_height"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CapsuleShape2D.cpp b/src/gen/CapsuleShape2D.cpp deleted file mode 100644 index 28c890fa..00000000 --- a/src/gen/CapsuleShape2D.cpp +++ /dev/null @@ -1,63 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CapsuleShape2D::___get_type_tag() -{ - return (void *) &CapsuleShape2D::___get_type_tag; -} - -void *CapsuleShape2D::___get_base_type_tag() -{ - return (void *) &Shape2D::___get_type_tag; -} - -CapsuleShape2D *CapsuleShape2D::_new() -{ - return (CapsuleShape2D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CapsuleShape2D")()); -} -void CapsuleShape2D::set_radius(const double radius) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleShape2D", "set_radius"); - } - ___godot_icall_void_float(mb, (const Object *) this, radius); -} - -double CapsuleShape2D::get_radius() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleShape2D", "get_radius"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void CapsuleShape2D::set_height(const double height) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleShape2D", "set_height"); - } - ___godot_icall_void_float(mb, (const Object *) this, height); -} - -double CapsuleShape2D::get_height() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CapsuleShape2D", "get_height"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CenterContainer.cpp b/src/gen/CenterContainer.cpp deleted file mode 100644 index c7a00e23..00000000 --- a/src/gen/CenterContainer.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CenterContainer::___get_type_tag() -{ - return (void *) &CenterContainer::___get_type_tag; -} - -void *CenterContainer::___get_base_type_tag() -{ - return (void *) &Container::___get_type_tag; -} - -CenterContainer *CenterContainer::_new() -{ - return (CenterContainer *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CenterContainer")()); -} -void CenterContainer::set_use_top_left(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CenterContainer", "set_use_top_left"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool CenterContainer::is_using_top_left() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CenterContainer", "is_using_top_left"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CheckBox.cpp b/src/gen/CheckBox.cpp deleted file mode 100644 index c17a7916..00000000 --- a/src/gen/CheckBox.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CheckBox::___get_type_tag() -{ - return (void *) &CheckBox::___get_type_tag; -} - -void *CheckBox::___get_base_type_tag() -{ - return (void *) &Button::___get_type_tag; -} - -CheckBox *CheckBox::_new() -{ - return (CheckBox *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CheckBox")()); -} -} \ No newline at end of file diff --git a/src/gen/CheckButton.cpp b/src/gen/CheckButton.cpp deleted file mode 100644 index c8877225..00000000 --- a/src/gen/CheckButton.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CheckButton::___get_type_tag() -{ - return (void *) &CheckButton::___get_type_tag; -} - -void *CheckButton::___get_base_type_tag() -{ - return (void *) &Button::___get_type_tag; -} - -CheckButton *CheckButton::_new() -{ - return (CheckButton *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CheckButton")()); -} -} \ No newline at end of file diff --git a/src/gen/CircleShape2D.cpp b/src/gen/CircleShape2D.cpp deleted file mode 100644 index e5986ba9..00000000 --- a/src/gen/CircleShape2D.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CircleShape2D::___get_type_tag() -{ - return (void *) &CircleShape2D::___get_type_tag; -} - -void *CircleShape2D::___get_base_type_tag() -{ - return (void *) &Shape2D::___get_type_tag; -} - -CircleShape2D *CircleShape2D::_new() -{ - return (CircleShape2D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CircleShape2D")()); -} -void CircleShape2D::set_radius(const double radius) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CircleShape2D", "set_radius"); - } - ___godot_icall_void_float(mb, (const Object *) this, radius); -} - -double CircleShape2D::get_radius() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CircleShape2D", "get_radius"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/ClassDB.cpp b/src/gen/ClassDB.cpp deleted file mode 100644 index bf80174d..00000000 --- a/src/gen/ClassDB.cpp +++ /dev/null @@ -1,196 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *ClassDB::___get_type_tag() -{ - return (void *) &ClassDB::___get_type_tag; -} - -void *ClassDB::___get_base_type_tag() -{ - return (void *) &Object::___get_type_tag; -} - -ClassDB *ClassDB::_singleton = NULL; - - -ClassDB::ClassDB() { - _owner = godot::api->godot_global_get_singleton((char *) "ClassDB"); -} - - -PoolStringArray ClassDB::get_class_list() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "get_class_list"); - } - return ___godot_icall_PoolStringArray(mb, (const Object *) this); -} - -PoolStringArray ClassDB::get_inheriters_from_class(const String _class) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "get_inheriters_from_class"); - } - return ___godot_icall_PoolStringArray_String(mb, (const Object *) this, _class); -} - -String ClassDB::get_parent_class(const String _class) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "get_parent_class"); - } - return ___godot_icall_String_String(mb, (const Object *) this, _class); -} - -bool ClassDB::class_exists(const String _class) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_exists"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, _class); -} - -bool ClassDB::is_parent_class(const String _class, const String inherits) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "is_parent_class"); - } - return ___godot_icall_bool_String_String(mb, (const Object *) this, _class, inherits); -} - -bool ClassDB::can_instance(const String _class) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "can_instance"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, _class); -} - -Variant ClassDB::instance(const String _class) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "instance"); - } - return ___godot_icall_Variant_String(mb, (const Object *) this, _class); -} - -bool ClassDB::class_has_signal(const String _class, const String signal) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_has_signal"); - } - return ___godot_icall_bool_String_String(mb, (const Object *) this, _class, signal); -} - -Dictionary ClassDB::class_get_signal(const String _class, const String signal) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_get_signal"); - } - return ___godot_icall_Dictionary_String_String(mb, (const Object *) this, _class, signal); -} - -Array ClassDB::class_get_signal_list(const String _class, const bool no_inheritance) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_get_signal_list"); - } - return ___godot_icall_Array_String_bool(mb, (const Object *) this, _class, no_inheritance); -} - -Array ClassDB::class_get_property_list(const String _class, const bool no_inheritance) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_get_property_list"); - } - return ___godot_icall_Array_String_bool(mb, (const Object *) this, _class, no_inheritance); -} - -Variant ClassDB::class_get_property(const Object *object, const String property) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_get_property"); - } - return ___godot_icall_Variant_Object_String(mb, (const Object *) this, object, property); -} - -Error ClassDB::class_set_property(const Object *object, const String property, const Variant value) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_set_property"); - } - return (Error) ___godot_icall_int_Object_String_Variant(mb, (const Object *) this, object, property, value); -} - -bool ClassDB::class_has_method(const String _class, const String method, const bool no_inheritance) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_has_method"); - } - return ___godot_icall_bool_String_String_bool(mb, (const Object *) this, _class, method, no_inheritance); -} - -Array ClassDB::class_get_method_list(const String _class, const bool no_inheritance) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_get_method_list"); - } - return ___godot_icall_Array_String_bool(mb, (const Object *) this, _class, no_inheritance); -} - -PoolStringArray ClassDB::class_get_integer_constant_list(const String _class, const bool no_inheritance) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_get_integer_constant_list"); - } - return ___godot_icall_PoolStringArray_String_bool(mb, (const Object *) this, _class, no_inheritance); -} - -bool ClassDB::class_has_integer_constant(const String _class, const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_has_integer_constant"); - } - return ___godot_icall_bool_String_String(mb, (const Object *) this, _class, name); -} - -int64_t ClassDB::class_get_integer_constant(const String _class, const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_get_integer_constant"); - } - return ___godot_icall_int_String_String(mb, (const Object *) this, _class, name); -} - -String ClassDB::class_get_category(const String _class) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "class_get_category"); - } - return ___godot_icall_String_String(mb, (const Object *) this, _class); -} - -bool ClassDB::is_class_enabled(const String _class) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_ClassDB", "is_class_enabled"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, _class); -} - -} \ No newline at end of file diff --git a/src/gen/CollisionObject.cpp b/src/gen/CollisionObject.cpp deleted file mode 100644 index 2de4d1e9..00000000 --- a/src/gen/CollisionObject.cpp +++ /dev/null @@ -1,198 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include -#include - - -namespace godot { - - -void *CollisionObject::___get_type_tag() -{ - return (void *) &CollisionObject::___get_type_tag; -} - -void *CollisionObject::___get_base_type_tag() -{ - return (void *) &Spatial::___get_type_tag; -} - -void CollisionObject::_input_event(const Object *camera, const Ref event, const Vector3 click_position, const Vector3 click_normal, const int64_t shape_idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "_input_event"); - } - ___godot_icall_void_Object_Object_Vector3_Vector3_int(mb, (const Object *) this, camera, event.ptr(), click_position, click_normal, shape_idx); -} - -void CollisionObject::set_ray_pickable(const bool ray_pickable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "set_ray_pickable"); - } - ___godot_icall_void_bool(mb, (const Object *) this, ray_pickable); -} - -bool CollisionObject::is_ray_pickable() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "is_ray_pickable"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CollisionObject::set_capture_input_on_drag(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "set_capture_input_on_drag"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool CollisionObject::get_capture_input_on_drag() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "get_capture_input_on_drag"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -RID CollisionObject::get_rid() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "get_rid"); - } - return ___godot_icall_RID(mb, (const Object *) this); -} - -int64_t CollisionObject::create_shape_owner(const Object *owner) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "create_shape_owner"); - } - return ___godot_icall_int_Object(mb, (const Object *) this, owner); -} - -void CollisionObject::remove_shape_owner(const int64_t owner_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "remove_shape_owner"); - } - ___godot_icall_void_int(mb, (const Object *) this, owner_id); -} - -Array CollisionObject::get_shape_owners() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "get_shape_owners"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -void CollisionObject::shape_owner_set_transform(const int64_t owner_id, const Transform transform) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "shape_owner_set_transform"); - } - ___godot_icall_void_int_Transform(mb, (const Object *) this, owner_id, transform); -} - -Transform CollisionObject::shape_owner_get_transform(const int64_t owner_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "shape_owner_get_transform"); - } - return ___godot_icall_Transform_int(mb, (const Object *) this, owner_id); -} - -Object *CollisionObject::shape_owner_get_owner(const int64_t owner_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "shape_owner_get_owner"); - } - return (Object *) ___godot_icall_Object_int(mb, (const Object *) this, owner_id); -} - -void CollisionObject::shape_owner_set_disabled(const int64_t owner_id, const bool disabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "shape_owner_set_disabled"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, owner_id, disabled); -} - -bool CollisionObject::is_shape_owner_disabled(const int64_t owner_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "is_shape_owner_disabled"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, owner_id); -} - -void CollisionObject::shape_owner_add_shape(const int64_t owner_id, const Ref shape) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "shape_owner_add_shape"); - } - ___godot_icall_void_int_Object(mb, (const Object *) this, owner_id, shape.ptr()); -} - -int64_t CollisionObject::shape_owner_get_shape_count(const int64_t owner_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "shape_owner_get_shape_count"); - } - return ___godot_icall_int_int(mb, (const Object *) this, owner_id); -} - -Ref CollisionObject::shape_owner_get_shape(const int64_t owner_id, const int64_t shape_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "shape_owner_get_shape"); - } - return Ref::__internal_constructor(___godot_icall_Object_int_int(mb, (const Object *) this, owner_id, shape_id)); -} - -int64_t CollisionObject::shape_owner_get_shape_index(const int64_t owner_id, const int64_t shape_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "shape_owner_get_shape_index"); - } - return ___godot_icall_int_int_int(mb, (const Object *) this, owner_id, shape_id); -} - -void CollisionObject::shape_owner_remove_shape(const int64_t owner_id, const int64_t shape_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "shape_owner_remove_shape"); - } - ___godot_icall_void_int_int(mb, (const Object *) this, owner_id, shape_id); -} - -void CollisionObject::shape_owner_clear_shapes(const int64_t owner_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "shape_owner_clear_shapes"); - } - ___godot_icall_void_int(mb, (const Object *) this, owner_id); -} - -int64_t CollisionObject::shape_find_owner(const int64_t shape_index) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject", "shape_find_owner"); - } - return ___godot_icall_int_int(mb, (const Object *) this, shape_index); -} - -} \ No newline at end of file diff --git a/src/gen/CollisionObject2D.cpp b/src/gen/CollisionObject2D.cpp deleted file mode 100644 index c75f5970..00000000 --- a/src/gen/CollisionObject2D.cpp +++ /dev/null @@ -1,198 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include -#include - - -namespace godot { - - -void *CollisionObject2D::___get_type_tag() -{ - return (void *) &CollisionObject2D::___get_type_tag; -} - -void *CollisionObject2D::___get_base_type_tag() -{ - return (void *) &Node2D::___get_type_tag; -} - -void CollisionObject2D::_input_event(const Object *viewport, const Ref event, const int64_t shape_idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "_input_event"); - } - ___godot_icall_void_Object_Object_int(mb, (const Object *) this, viewport, event.ptr(), shape_idx); -} - -RID CollisionObject2D::get_rid() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "get_rid"); - } - return ___godot_icall_RID(mb, (const Object *) this); -} - -void CollisionObject2D::set_pickable(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "set_pickable"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -bool CollisionObject2D::is_pickable() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "is_pickable"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -int64_t CollisionObject2D::create_shape_owner(const Object *owner) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "create_shape_owner"); - } - return ___godot_icall_int_Object(mb, (const Object *) this, owner); -} - -void CollisionObject2D::remove_shape_owner(const int64_t owner_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "remove_shape_owner"); - } - ___godot_icall_void_int(mb, (const Object *) this, owner_id); -} - -Array CollisionObject2D::get_shape_owners() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "get_shape_owners"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -void CollisionObject2D::shape_owner_set_transform(const int64_t owner_id, const Transform2D transform) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "shape_owner_set_transform"); - } - ___godot_icall_void_int_Transform2D(mb, (const Object *) this, owner_id, transform); -} - -Transform2D CollisionObject2D::shape_owner_get_transform(const int64_t owner_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "shape_owner_get_transform"); - } - return ___godot_icall_Transform2D_int(mb, (const Object *) this, owner_id); -} - -Object *CollisionObject2D::shape_owner_get_owner(const int64_t owner_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "shape_owner_get_owner"); - } - return (Object *) ___godot_icall_Object_int(mb, (const Object *) this, owner_id); -} - -void CollisionObject2D::shape_owner_set_disabled(const int64_t owner_id, const bool disabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "shape_owner_set_disabled"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, owner_id, disabled); -} - -bool CollisionObject2D::is_shape_owner_disabled(const int64_t owner_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "is_shape_owner_disabled"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, owner_id); -} - -void CollisionObject2D::shape_owner_set_one_way_collision(const int64_t owner_id, const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "shape_owner_set_one_way_collision"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, owner_id, enable); -} - -bool CollisionObject2D::is_shape_owner_one_way_collision_enabled(const int64_t owner_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "is_shape_owner_one_way_collision_enabled"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, owner_id); -} - -void CollisionObject2D::shape_owner_add_shape(const int64_t owner_id, const Ref shape) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "shape_owner_add_shape"); - } - ___godot_icall_void_int_Object(mb, (const Object *) this, owner_id, shape.ptr()); -} - -int64_t CollisionObject2D::shape_owner_get_shape_count(const int64_t owner_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "shape_owner_get_shape_count"); - } - return ___godot_icall_int_int(mb, (const Object *) this, owner_id); -} - -Ref CollisionObject2D::shape_owner_get_shape(const int64_t owner_id, const int64_t shape_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "shape_owner_get_shape"); - } - return Ref::__internal_constructor(___godot_icall_Object_int_int(mb, (const Object *) this, owner_id, shape_id)); -} - -int64_t CollisionObject2D::shape_owner_get_shape_index(const int64_t owner_id, const int64_t shape_id) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "shape_owner_get_shape_index"); - } - return ___godot_icall_int_int_int(mb, (const Object *) this, owner_id, shape_id); -} - -void CollisionObject2D::shape_owner_remove_shape(const int64_t owner_id, const int64_t shape_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "shape_owner_remove_shape"); - } - ___godot_icall_void_int_int(mb, (const Object *) this, owner_id, shape_id); -} - -void CollisionObject2D::shape_owner_clear_shapes(const int64_t owner_id) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "shape_owner_clear_shapes"); - } - ___godot_icall_void_int(mb, (const Object *) this, owner_id); -} - -int64_t CollisionObject2D::shape_find_owner(const int64_t shape_index) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionObject2D", "shape_find_owner"); - } - return ___godot_icall_int_int(mb, (const Object *) this, shape_index); -} - -} \ No newline at end of file diff --git a/src/gen/CollisionPolygon.cpp b/src/gen/CollisionPolygon.cpp deleted file mode 100644 index d8175c9a..00000000 --- a/src/gen/CollisionPolygon.cpp +++ /dev/null @@ -1,79 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CollisionPolygon::___get_type_tag() -{ - return (void *) &CollisionPolygon::___get_type_tag; -} - -void *CollisionPolygon::___get_base_type_tag() -{ - return (void *) &Spatial::___get_type_tag; -} - -CollisionPolygon *CollisionPolygon::_new() -{ - return (CollisionPolygon *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CollisionPolygon")()); -} -void CollisionPolygon::set_depth(const double depth) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon", "set_depth"); - } - ___godot_icall_void_float(mb, (const Object *) this, depth); -} - -double CollisionPolygon::get_depth() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon", "get_depth"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void CollisionPolygon::set_polygon(const PoolVector2Array polygon) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon", "set_polygon"); - } - ___godot_icall_void_PoolVector2Array(mb, (const Object *) this, polygon); -} - -PoolVector2Array CollisionPolygon::get_polygon() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon", "get_polygon"); - } - return ___godot_icall_PoolVector2Array(mb, (const Object *) this); -} - -void CollisionPolygon::set_disabled(const bool disabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon", "set_disabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, disabled); -} - -bool CollisionPolygon::is_disabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon", "is_disabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CollisionPolygon2D.cpp b/src/gen/CollisionPolygon2D.cpp deleted file mode 100644 index 9763df1f..00000000 --- a/src/gen/CollisionPolygon2D.cpp +++ /dev/null @@ -1,95 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CollisionPolygon2D::___get_type_tag() -{ - return (void *) &CollisionPolygon2D::___get_type_tag; -} - -void *CollisionPolygon2D::___get_base_type_tag() -{ - return (void *) &Node2D::___get_type_tag; -} - -CollisionPolygon2D *CollisionPolygon2D::_new() -{ - return (CollisionPolygon2D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CollisionPolygon2D")()); -} -void CollisionPolygon2D::set_polygon(const PoolVector2Array polygon) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon2D", "set_polygon"); - } - ___godot_icall_void_PoolVector2Array(mb, (const Object *) this, polygon); -} - -PoolVector2Array CollisionPolygon2D::get_polygon() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon2D", "get_polygon"); - } - return ___godot_icall_PoolVector2Array(mb, (const Object *) this); -} - -void CollisionPolygon2D::set_build_mode(const int64_t build_mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon2D", "set_build_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, build_mode); -} - -CollisionPolygon2D::BuildMode CollisionPolygon2D::get_build_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon2D", "get_build_mode"); - } - return (CollisionPolygon2D::BuildMode) ___godot_icall_int(mb, (const Object *) this); -} - -void CollisionPolygon2D::set_disabled(const bool disabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon2D", "set_disabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, disabled); -} - -bool CollisionPolygon2D::is_disabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon2D", "is_disabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CollisionPolygon2D::set_one_way_collision(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon2D", "set_one_way_collision"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -bool CollisionPolygon2D::is_one_way_collision_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionPolygon2D", "is_one_way_collision_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CollisionShape.cpp b/src/gen/CollisionShape.cpp deleted file mode 100644 index 54bb12e6..00000000 --- a/src/gen/CollisionShape.cpp +++ /dev/null @@ -1,81 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include - - -namespace godot { - - -void *CollisionShape::___get_type_tag() -{ - return (void *) &CollisionShape::___get_type_tag; -} - -void *CollisionShape::___get_base_type_tag() -{ - return (void *) &Spatial::___get_type_tag; -} - -CollisionShape *CollisionShape::_new() -{ - return (CollisionShape *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CollisionShape")()); -} -void CollisionShape::resource_changed(const Ref resource) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape", "resource_changed"); - } - ___godot_icall_void_Object(mb, (const Object *) this, resource.ptr()); -} - -void CollisionShape::set_shape(const Ref shape) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape", "set_shape"); - } - ___godot_icall_void_Object(mb, (const Object *) this, shape.ptr()); -} - -Ref CollisionShape::get_shape() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape", "get_shape"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void CollisionShape::set_disabled(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape", "set_disabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool CollisionShape::is_disabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape", "is_disabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CollisionShape::make_convex_from_brothers() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape", "make_convex_from_brothers"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CollisionShape2D.cpp b/src/gen/CollisionShape2D.cpp deleted file mode 100644 index ea20ec12..00000000 --- a/src/gen/CollisionShape2D.cpp +++ /dev/null @@ -1,88 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *CollisionShape2D::___get_type_tag() -{ - return (void *) &CollisionShape2D::___get_type_tag; -} - -void *CollisionShape2D::___get_base_type_tag() -{ - return (void *) &Node2D::___get_type_tag; -} - -CollisionShape2D *CollisionShape2D::_new() -{ - return (CollisionShape2D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CollisionShape2D")()); -} -void CollisionShape2D::set_shape(const Ref shape) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape2D", "set_shape"); - } - ___godot_icall_void_Object(mb, (const Object *) this, shape.ptr()); -} - -Ref CollisionShape2D::get_shape() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape2D", "get_shape"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void CollisionShape2D::set_disabled(const bool disabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape2D", "set_disabled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, disabled); -} - -bool CollisionShape2D::is_disabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape2D", "is_disabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CollisionShape2D::set_one_way_collision(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape2D", "set_one_way_collision"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -bool CollisionShape2D::is_one_way_collision_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape2D", "is_one_way_collision_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void CollisionShape2D::_shape_changed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CollisionShape2D", "_shape_changed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/ColorPicker.cpp b/src/gen/ColorPicker.cpp deleted file mode 100644 index 5d470a72..00000000 --- a/src/gen/ColorPicker.cpp +++ /dev/null @@ -1,209 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include - - -namespace godot { - - -void *ColorPicker::___get_type_tag() -{ - return (void *) &ColorPicker::___get_type_tag; -} - -void *ColorPicker::___get_base_type_tag() -{ - return (void *) &BoxContainer::___get_type_tag; -} - -ColorPicker *ColorPicker::_new() -{ - return (ColorPicker *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ColorPicker")()); -} -void ColorPicker::set_pick_color(const Color color) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "set_pick_color"); - } - ___godot_icall_void_Color(mb, (const Object *) this, color); -} - -Color ColorPicker::get_pick_color() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "get_pick_color"); - } - return ___godot_icall_Color(mb, (const Object *) this); -} - -void ColorPicker::set_raw_mode(const bool mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "set_raw_mode"); - } - ___godot_icall_void_bool(mb, (const Object *) this, mode); -} - -bool ColorPicker::is_raw_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "is_raw_mode"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void ColorPicker::set_edit_alpha(const bool show) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "set_edit_alpha"); - } - ___godot_icall_void_bool(mb, (const Object *) this, show); -} - -bool ColorPicker::is_editing_alpha() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "is_editing_alpha"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void ColorPicker::add_preset(const Color color) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "add_preset"); - } - ___godot_icall_void_Color(mb, (const Object *) this, color); -} - -void ColorPicker::_value_changed(const double arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_value_changed"); - } - ___godot_icall_void_float(mb, (const Object *) this, arg0); -} - -void ColorPicker::_html_entered(const String arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_html_entered"); - } - ___godot_icall_void_String(mb, (const Object *) this, arg0); -} - -void ColorPicker::_text_type_toggled() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_text_type_toggled"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void ColorPicker::_add_preset_pressed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_add_preset_pressed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void ColorPicker::_screen_pick_pressed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_screen_pick_pressed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void ColorPicker::_sample_draw() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_sample_draw"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void ColorPicker::_update_presets() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_update_presets"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void ColorPicker::_hsv_draw(const int64_t arg0, const Object *arg1) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_hsv_draw"); - } - ___godot_icall_void_int_Object(mb, (const Object *) this, arg0, arg1); -} - -void ColorPicker::_uv_input(const Ref arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_uv_input"); - } - ___godot_icall_void_Object(mb, (const Object *) this, arg0.ptr()); -} - -void ColorPicker::_w_input(const Ref arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_w_input"); - } - ___godot_icall_void_Object(mb, (const Object *) this, arg0.ptr()); -} - -void ColorPicker::_preset_input(const Ref arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_preset_input"); - } - ___godot_icall_void_Object(mb, (const Object *) this, arg0.ptr()); -} - -void ColorPicker::_screen_input(const Ref arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_screen_input"); - } - ___godot_icall_void_Object(mb, (const Object *) this, arg0.ptr()); -} - -void ColorPicker::_focus_enter() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_focus_enter"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void ColorPicker::_focus_exit() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_focus_exit"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void ColorPicker::_html_focus_exit() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPicker", "_html_focus_exit"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/ColorPickerButton.cpp b/src/gen/ColorPickerButton.cpp deleted file mode 100644 index 22215910..00000000 --- a/src/gen/ColorPickerButton.cpp +++ /dev/null @@ -1,89 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include - - -namespace godot { - - -void *ColorPickerButton::___get_type_tag() -{ - return (void *) &ColorPickerButton::___get_type_tag; -} - -void *ColorPickerButton::___get_base_type_tag() -{ - return (void *) &Button::___get_type_tag; -} - -ColorPickerButton *ColorPickerButton::_new() -{ - return (ColorPickerButton *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ColorPickerButton")()); -} -void ColorPickerButton::set_pick_color(const Color color) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPickerButton", "set_pick_color"); - } - ___godot_icall_void_Color(mb, (const Object *) this, color); -} - -Color ColorPickerButton::get_pick_color() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPickerButton", "get_pick_color"); - } - return ___godot_icall_Color(mb, (const Object *) this); -} - -ColorPicker *ColorPickerButton::get_picker() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPickerButton", "get_picker"); - } - return (ColorPicker *) ___godot_icall_Object(mb, (const Object *) this); -} - -PopupPanel *ColorPickerButton::get_popup() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPickerButton", "get_popup"); - } - return (PopupPanel *) ___godot_icall_Object(mb, (const Object *) this); -} - -void ColorPickerButton::set_edit_alpha(const bool show) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPickerButton", "set_edit_alpha"); - } - ___godot_icall_void_bool(mb, (const Object *) this, show); -} - -bool ColorPickerButton::is_editing_alpha() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPickerButton", "is_editing_alpha"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void ColorPickerButton::_color_changed(const Color arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorPickerButton", "_color_changed"); - } - ___godot_icall_void_Color(mb, (const Object *) this, arg0); -} - -} \ No newline at end of file diff --git a/src/gen/ColorRect.cpp b/src/gen/ColorRect.cpp deleted file mode 100644 index 97652e1a..00000000 --- a/src/gen/ColorRect.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ColorRect::___get_type_tag() -{ - return (void *) &ColorRect::___get_type_tag; -} - -void *ColorRect::___get_base_type_tag() -{ - return (void *) &Control::___get_type_tag; -} - -ColorRect *ColorRect::_new() -{ - return (ColorRect *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ColorRect")()); -} -void ColorRect::set_frame_color(const Color color) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorRect", "set_frame_color"); - } - ___godot_icall_void_Color(mb, (const Object *) this, color); -} - -Color ColorRect::get_frame_color() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ColorRect", "get_frame_color"); - } - return ___godot_icall_Color(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/ConcavePolygonShape.cpp b/src/gen/ConcavePolygonShape.cpp deleted file mode 100644 index 5394cb7e..00000000 --- a/src/gen/ConcavePolygonShape.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ConcavePolygonShape::___get_type_tag() -{ - return (void *) &ConcavePolygonShape::___get_type_tag; -} - -void *ConcavePolygonShape::___get_base_type_tag() -{ - return (void *) &Shape::___get_type_tag; -} - -ConcavePolygonShape *ConcavePolygonShape::_new() -{ - return (ConcavePolygonShape *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ConcavePolygonShape")()); -} -void ConcavePolygonShape::set_faces(const PoolVector3Array faces) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConcavePolygonShape", "set_faces"); - } - ___godot_icall_void_PoolVector3Array(mb, (const Object *) this, faces); -} - -PoolVector3Array ConcavePolygonShape::get_faces() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConcavePolygonShape", "get_faces"); - } - return ___godot_icall_PoolVector3Array(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/ConcavePolygonShape2D.cpp b/src/gen/ConcavePolygonShape2D.cpp deleted file mode 100644 index ea05d2a9..00000000 --- a/src/gen/ConcavePolygonShape2D.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ConcavePolygonShape2D::___get_type_tag() -{ - return (void *) &ConcavePolygonShape2D::___get_type_tag; -} - -void *ConcavePolygonShape2D::___get_base_type_tag() -{ - return (void *) &Shape2D::___get_type_tag; -} - -ConcavePolygonShape2D *ConcavePolygonShape2D::_new() -{ - return (ConcavePolygonShape2D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ConcavePolygonShape2D")()); -} -void ConcavePolygonShape2D::set_segments(const PoolVector2Array segments) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConcavePolygonShape2D", "set_segments"); - } - ___godot_icall_void_PoolVector2Array(mb, (const Object *) this, segments); -} - -PoolVector2Array ConcavePolygonShape2D::get_segments() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConcavePolygonShape2D", "get_segments"); - } - return ___godot_icall_PoolVector2Array(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/ConeTwistJoint.cpp b/src/gen/ConeTwistJoint.cpp deleted file mode 100644 index 91c6606a..00000000 --- a/src/gen/ConeTwistJoint.cpp +++ /dev/null @@ -1,79 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ConeTwistJoint::___get_type_tag() -{ - return (void *) &ConeTwistJoint::___get_type_tag; -} - -void *ConeTwistJoint::___get_base_type_tag() -{ - return (void *) &Joint::___get_type_tag; -} - -ConeTwistJoint *ConeTwistJoint::_new() -{ - return (ConeTwistJoint *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ConeTwistJoint")()); -} -void ConeTwistJoint::set_param(const int64_t param, const double value) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConeTwistJoint", "set_param"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, param, value); -} - -double ConeTwistJoint::get_param(const int64_t param) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConeTwistJoint", "get_param"); - } - return ___godot_icall_float_int(mb, (const Object *) this, param); -} - -void ConeTwistJoint::_set_swing_span(const double swing_span) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConeTwistJoint", "_set_swing_span"); - } - ___godot_icall_void_float(mb, (const Object *) this, swing_span); -} - -double ConeTwistJoint::_get_swing_span() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConeTwistJoint", "_get_swing_span"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void ConeTwistJoint::_set_twist_span(const double twist_span) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConeTwistJoint", "_set_twist_span"); - } - ___godot_icall_void_float(mb, (const Object *) this, twist_span); -} - -double ConeTwistJoint::_get_twist_span() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConeTwistJoint", "_get_twist_span"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/ConfigFile.cpp b/src/gen/ConfigFile.cpp deleted file mode 100644 index 24215a05..00000000 --- a/src/gen/ConfigFile.cpp +++ /dev/null @@ -1,103 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ConfigFile::___get_type_tag() -{ - return (void *) &ConfigFile::___get_type_tag; -} - -void *ConfigFile::___get_base_type_tag() -{ - return (void *) &Reference::___get_type_tag; -} - -ConfigFile *ConfigFile::_new() -{ - return (ConfigFile *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ConfigFile")()); -} -void ConfigFile::set_value(const String section, const String key, const Variant value) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConfigFile", "set_value"); - } - ___godot_icall_void_String_String_Variant(mb, (const Object *) this, section, key, value); -} - -Variant ConfigFile::get_value(const String section, const String key, const Variant _default) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConfigFile", "get_value"); - } - return ___godot_icall_Variant_String_String_Variant(mb, (const Object *) this, section, key, _default); -} - -bool ConfigFile::has_section(const String section) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConfigFile", "has_section"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, section); -} - -bool ConfigFile::has_section_key(const String section, const String key) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConfigFile", "has_section_key"); - } - return ___godot_icall_bool_String_String(mb, (const Object *) this, section, key); -} - -PoolStringArray ConfigFile::get_sections() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConfigFile", "get_sections"); - } - return ___godot_icall_PoolStringArray(mb, (const Object *) this); -} - -PoolStringArray ConfigFile::get_section_keys(const String section) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConfigFile", "get_section_keys"); - } - return ___godot_icall_PoolStringArray_String(mb, (const Object *) this, section); -} - -void ConfigFile::erase_section(const String section) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConfigFile", "erase_section"); - } - ___godot_icall_void_String(mb, (const Object *) this, section); -} - -Error ConfigFile::load(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConfigFile", "load"); - } - return (Error) ___godot_icall_int_String(mb, (const Object *) this, path); -} - -Error ConfigFile::save(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConfigFile", "save"); - } - return (Error) ___godot_icall_int_String(mb, (const Object *) this, path); -} - -} \ No newline at end of file diff --git a/src/gen/ConfirmationDialog.cpp b/src/gen/ConfirmationDialog.cpp deleted file mode 100644 index 2df07217..00000000 --- a/src/gen/ConfirmationDialog.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *ConfirmationDialog::___get_type_tag() -{ - return (void *) &ConfirmationDialog::___get_type_tag; -} - -void *ConfirmationDialog::___get_base_type_tag() -{ - return (void *) &AcceptDialog::___get_type_tag; -} - -ConfirmationDialog *ConfirmationDialog::_new() -{ - return (ConfirmationDialog *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ConfirmationDialog")()); -} -Button *ConfirmationDialog::get_cancel() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConfirmationDialog", "get_cancel"); - } - return (Button *) ___godot_icall_Object(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/Container.cpp b/src/gen/Container.cpp deleted file mode 100644 index ead0c5b2..00000000 --- a/src/gen/Container.cpp +++ /dev/null @@ -1,64 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *Container::___get_type_tag() -{ - return (void *) &Container::___get_type_tag; -} - -void *Container::___get_base_type_tag() -{ - return (void *) &Control::___get_type_tag; -} - -Container *Container::_new() -{ - return (Container *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"Container")()); -} -void Container::_sort_children() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Container", "_sort_children"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Container::_child_minsize_changed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Container", "_child_minsize_changed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Container::queue_sort() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Container", "queue_sort"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Container::fit_child_in_rect(const Object *child, const Rect2 rect) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Container", "fit_child_in_rect"); - } - ___godot_icall_void_Object_Rect2(mb, (const Object *) this, child, rect); -} - -} \ No newline at end of file diff --git a/src/gen/Control.cpp b/src/gen/Control.cpp deleted file mode 100644 index fd7469ac..00000000 --- a/src/gen/Control.cpp +++ /dev/null @@ -1,911 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include -#include -#include -#include -#include -#include -#include - - -namespace godot { - - -void *Control::___get_type_tag() -{ - return (void *) &Control::___get_type_tag; -} - -void *Control::___get_base_type_tag() -{ - return (void *) &CanvasItem::___get_type_tag; -} - -Control *Control::_new() -{ - return (Control *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"Control")()); -} -void Control::_gui_input(const Ref event) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "_gui_input"); - } - ___godot_icall_void_Object(mb, (const Object *) this, event.ptr()); -} - -Vector2 Control::_get_minimum_size() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "_get_minimum_size"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -Object *Control::get_drag_data(const Vector2 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_drag_data"); - } - return (Object *) ___godot_icall_Object_Vector2(mb, (const Object *) this, position); -} - -bool Control::can_drop_data(const Vector2 position, const Variant data) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "can_drop_data"); - } - return ___godot_icall_bool_Vector2_Variant(mb, (const Object *) this, position, data); -} - -void Control::drop_data(const Vector2 position, const Variant data) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "drop_data"); - } - ___godot_icall_void_Vector2_Variant(mb, (const Object *) this, position, data); -} - -bool Control::has_point(const Vector2 point) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_point"); - } - return ___godot_icall_bool_Vector2(mb, (const Object *) this, point); -} - -void Control::_size_changed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "_size_changed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Control::_update_minimum_size() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "_update_minimum_size"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Control::accept_event() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "accept_event"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -Vector2 Control::get_minimum_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_minimum_size"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -Vector2 Control::get_combined_minimum_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_combined_minimum_size"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -void Control::set_anchors_preset(const int64_t preset, const bool keep_margin) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_anchors_preset"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, preset, keep_margin); -} - -void Control::set_margins_preset(const int64_t preset, const int64_t resize_mode, const int64_t margin) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_margins_preset"); - } - ___godot_icall_void_int_int_int(mb, (const Object *) this, preset, resize_mode, margin); -} - -void Control::set_anchors_and_margins_preset(const int64_t preset, const int64_t resize_mode, const int64_t margin) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_anchors_and_margins_preset"); - } - ___godot_icall_void_int_int_int(mb, (const Object *) this, preset, resize_mode, margin); -} - -void Control::set_anchor(const int64_t margin, const double anchor, const bool keep_margin, const bool push_opposite_anchor) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_anchor"); - } - ___godot_icall_void_int_float_bool_bool(mb, (const Object *) this, margin, anchor, keep_margin, push_opposite_anchor); -} - -void Control::_set_anchor(const int64_t margin, const double anchor) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "_set_anchor"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, margin, anchor); -} - -double Control::get_anchor(const int64_t margin) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_anchor"); - } - return ___godot_icall_float_int(mb, (const Object *) this, margin); -} - -void Control::set_margin(const int64_t margin, const double offset) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_margin"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, margin, offset); -} - -void Control::set_anchor_and_margin(const int64_t margin, const double anchor, const double offset, const bool push_opposite_anchor) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_anchor_and_margin"); - } - ___godot_icall_void_int_float_float_bool(mb, (const Object *) this, margin, anchor, offset, push_opposite_anchor); -} - -void Control::set_begin(const Vector2 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_begin"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, position); -} - -void Control::set_end(const Vector2 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_end"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, position); -} - -void Control::set_position(const Vector2 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_position"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, position); -} - -void Control::set_size(const Vector2 size) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_size"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, size); -} - -void Control::set_custom_minimum_size(const Vector2 size) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_custom_minimum_size"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, size); -} - -void Control::set_global_position(const Vector2 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_global_position"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, position); -} - -void Control::set_rotation(const double radians) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_rotation"); - } - ___godot_icall_void_float(mb, (const Object *) this, radians); -} - -void Control::set_rotation_degrees(const double degrees) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_rotation_degrees"); - } - ___godot_icall_void_float(mb, (const Object *) this, degrees); -} - -void Control::set_scale(const Vector2 scale) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_scale"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, scale); -} - -void Control::set_pivot_offset(const Vector2 pivot_offset) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_pivot_offset"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, pivot_offset); -} - -double Control::get_margin(const int64_t margin) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_margin"); - } - return ___godot_icall_float_int(mb, (const Object *) this, margin); -} - -Vector2 Control::get_begin() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_begin"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -Vector2 Control::get_end() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_end"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -Vector2 Control::get_position() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_position"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -Vector2 Control::get_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_size"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -double Control::get_rotation() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_rotation"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -double Control::get_rotation_degrees() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_rotation_degrees"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -Vector2 Control::get_scale() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_scale"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -Vector2 Control::get_pivot_offset() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_pivot_offset"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -Vector2 Control::get_custom_minimum_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_custom_minimum_size"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -Vector2 Control::get_parent_area_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_parent_area_size"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -Vector2 Control::get_global_position() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_global_position"); - } - return ___godot_icall_Vector2(mb, (const Object *) this); -} - -Rect2 Control::get_rect() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_rect"); - } - return ___godot_icall_Rect2(mb, (const Object *) this); -} - -Rect2 Control::get_global_rect() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_global_rect"); - } - return ___godot_icall_Rect2(mb, (const Object *) this); -} - -void Control::show_modal(const bool exclusive) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "show_modal"); - } - ___godot_icall_void_bool(mb, (const Object *) this, exclusive); -} - -void Control::set_focus_mode(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_focus_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -Control::FocusMode Control::get_focus_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_focus_mode"); - } - return (Control::FocusMode) ___godot_icall_int(mb, (const Object *) this); -} - -bool Control::has_focus() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_focus"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Control::grab_focus() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "grab_focus"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Control::release_focus() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "release_focus"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -Control *Control::get_focus_owner() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_focus_owner"); - } - return (Control *) ___godot_icall_Object(mb, (const Object *) this); -} - -void Control::set_h_size_flags(const int64_t flags) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_h_size_flags"); - } - ___godot_icall_void_int(mb, (const Object *) this, flags); -} - -int64_t Control::get_h_size_flags() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_h_size_flags"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void Control::set_stretch_ratio(const double ratio) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_stretch_ratio"); - } - ___godot_icall_void_float(mb, (const Object *) this, ratio); -} - -double Control::get_stretch_ratio() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_stretch_ratio"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Control::set_v_size_flags(const int64_t flags) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_v_size_flags"); - } - ___godot_icall_void_int(mb, (const Object *) this, flags); -} - -int64_t Control::get_v_size_flags() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_v_size_flags"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void Control::set_theme(const Ref theme) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_theme"); - } - ___godot_icall_void_Object(mb, (const Object *) this, theme.ptr()); -} - -Ref Control::get_theme() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_theme"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void Control::add_icon_override(const String name, const Ref texture) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "add_icon_override"); - } - ___godot_icall_void_String_Object(mb, (const Object *) this, name, texture.ptr()); -} - -void Control::add_shader_override(const String name, const Ref shader) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "add_shader_override"); - } - ___godot_icall_void_String_Object(mb, (const Object *) this, name, shader.ptr()); -} - -void Control::add_stylebox_override(const String name, const Ref stylebox) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "add_stylebox_override"); - } - ___godot_icall_void_String_Object(mb, (const Object *) this, name, stylebox.ptr()); -} - -void Control::add_font_override(const String name, const Ref font) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "add_font_override"); - } - ___godot_icall_void_String_Object(mb, (const Object *) this, name, font.ptr()); -} - -void Control::add_color_override(const String name, const Color color) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "add_color_override"); - } - ___godot_icall_void_String_Color(mb, (const Object *) this, name, color); -} - -void Control::add_constant_override(const String name, const int64_t constant) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "add_constant_override"); - } - ___godot_icall_void_String_int(mb, (const Object *) this, name, constant); -} - -Ref Control::get_icon(const String name, const String type) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_icon"); - } - return Ref::__internal_constructor(___godot_icall_Object_String_String(mb, (const Object *) this, name, type)); -} - -Ref Control::get_stylebox(const String name, const String type) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_stylebox"); - } - return Ref::__internal_constructor(___godot_icall_Object_String_String(mb, (const Object *) this, name, type)); -} - -Ref Control::get_font(const String name, const String type) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_font"); - } - return Ref::__internal_constructor(___godot_icall_Object_String_String(mb, (const Object *) this, name, type)); -} - -Color Control::get_color(const String name, const String type) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_color"); - } - return ___godot_icall_Color_String_String(mb, (const Object *) this, name, type); -} - -int64_t Control::get_constant(const String name, const String type) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_constant"); - } - return ___godot_icall_int_String_String(mb, (const Object *) this, name, type); -} - -bool Control::has_icon_override(const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_icon_override"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, name); -} - -bool Control::has_shader_override(const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_shader_override"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, name); -} - -bool Control::has_stylebox_override(const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_stylebox_override"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, name); -} - -bool Control::has_font_override(const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_font_override"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, name); -} - -bool Control::has_color_override(const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_color_override"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, name); -} - -bool Control::has_constant_override(const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_constant_override"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, name); -} - -bool Control::has_icon(const String name, const String type) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_icon"); - } - return ___godot_icall_bool_String_String(mb, (const Object *) this, name, type); -} - -bool Control::has_stylebox(const String name, const String type) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_stylebox"); - } - return ___godot_icall_bool_String_String(mb, (const Object *) this, name, type); -} - -bool Control::has_font(const String name, const String type) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_font"); - } - return ___godot_icall_bool_String_String(mb, (const Object *) this, name, type); -} - -bool Control::has_color(const String name, const String type) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_color"); - } - return ___godot_icall_bool_String_String(mb, (const Object *) this, name, type); -} - -bool Control::has_constant(const String name, const String type) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "has_constant"); - } - return ___godot_icall_bool_String_String(mb, (const Object *) this, name, type); -} - -Control *Control::get_parent_control() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_parent_control"); - } - return (Control *) ___godot_icall_Object(mb, (const Object *) this); -} - -void Control::set_h_grow_direction(const int64_t direction) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_h_grow_direction"); - } - ___godot_icall_void_int(mb, (const Object *) this, direction); -} - -Control::GrowDirection Control::get_h_grow_direction() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_h_grow_direction"); - } - return (Control::GrowDirection) ___godot_icall_int(mb, (const Object *) this); -} - -void Control::set_v_grow_direction(const int64_t direction) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_v_grow_direction"); - } - ___godot_icall_void_int(mb, (const Object *) this, direction); -} - -Control::GrowDirection Control::get_v_grow_direction() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_v_grow_direction"); - } - return (Control::GrowDirection) ___godot_icall_int(mb, (const Object *) this); -} - -void Control::set_tooltip(const String tooltip) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_tooltip"); - } - ___godot_icall_void_String(mb, (const Object *) this, tooltip); -} - -String Control::get_tooltip(const Vector2 at_position) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_tooltip"); - } - return ___godot_icall_String_Vector2(mb, (const Object *) this, at_position); -} - -String Control::_get_tooltip() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "_get_tooltip"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void Control::set_default_cursor_shape(const int64_t shape) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_default_cursor_shape"); - } - ___godot_icall_void_int(mb, (const Object *) this, shape); -} - -Control::CursorShape Control::get_default_cursor_shape() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_default_cursor_shape"); - } - return (Control::CursorShape) ___godot_icall_int(mb, (const Object *) this); -} - -Control::CursorShape Control::get_cursor_shape(const Vector2 position) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_cursor_shape"); - } - return (Control::CursorShape) ___godot_icall_int_Vector2(mb, (const Object *) this, position); -} - -void Control::set_focus_neighbour(const int64_t margin, const NodePath neighbour) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_focus_neighbour"); - } - ___godot_icall_void_int_NodePath(mb, (const Object *) this, margin, neighbour); -} - -NodePath Control::get_focus_neighbour(const int64_t margin) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_focus_neighbour"); - } - return ___godot_icall_NodePath_int(mb, (const Object *) this, margin); -} - -void Control::set_focus_next(const NodePath next) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_focus_next"); - } - ___godot_icall_void_NodePath(mb, (const Object *) this, next); -} - -NodePath Control::get_focus_next() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_focus_next"); - } - return ___godot_icall_NodePath(mb, (const Object *) this); -} - -void Control::set_focus_previous(const NodePath previous) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_focus_previous"); - } - ___godot_icall_void_NodePath(mb, (const Object *) this, previous); -} - -NodePath Control::get_focus_previous() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_focus_previous"); - } - return ___godot_icall_NodePath(mb, (const Object *) this); -} - -void Control::force_drag(const Variant data, const Object *preview) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "force_drag"); - } - ___godot_icall_void_Variant_Object(mb, (const Object *) this, data, preview); -} - -void Control::set_mouse_filter(const int64_t filter) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_mouse_filter"); - } - ___godot_icall_void_int(mb, (const Object *) this, filter); -} - -Control::MouseFilter Control::get_mouse_filter() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "get_mouse_filter"); - } - return (Control::MouseFilter) ___godot_icall_int(mb, (const Object *) this); -} - -void Control::set_clip_contents(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_clip_contents"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool Control::is_clipping_contents() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "is_clipping_contents"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Control::grab_click_focus() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "grab_click_focus"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Control::set_drag_forwarding(const Object *target) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_drag_forwarding"); - } - ___godot_icall_void_Object(mb, (const Object *) this, target); -} - -void Control::set_drag_preview(const Object *control) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "set_drag_preview"); - } - ___godot_icall_void_Object(mb, (const Object *) this, control); -} - -void Control::warp_mouse(const Vector2 to_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "warp_mouse"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, to_position); -} - -void Control::minimum_size_changed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "minimum_size_changed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Control::_theme_changed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "_theme_changed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Control::_font_changed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Control", "_font_changed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/ConvexPolygonShape.cpp b/src/gen/ConvexPolygonShape.cpp deleted file mode 100644 index 05172091..00000000 --- a/src/gen/ConvexPolygonShape.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ConvexPolygonShape::___get_type_tag() -{ - return (void *) &ConvexPolygonShape::___get_type_tag; -} - -void *ConvexPolygonShape::___get_base_type_tag() -{ - return (void *) &Shape::___get_type_tag; -} - -ConvexPolygonShape *ConvexPolygonShape::_new() -{ - return (ConvexPolygonShape *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ConvexPolygonShape")()); -} -void ConvexPolygonShape::set_points(const PoolVector3Array points) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConvexPolygonShape", "set_points"); - } - ___godot_icall_void_PoolVector3Array(mb, (const Object *) this, points); -} - -PoolVector3Array ConvexPolygonShape::get_points() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConvexPolygonShape", "get_points"); - } - return ___godot_icall_PoolVector3Array(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/ConvexPolygonShape2D.cpp b/src/gen/ConvexPolygonShape2D.cpp deleted file mode 100644 index 583e3df7..00000000 --- a/src/gen/ConvexPolygonShape2D.cpp +++ /dev/null @@ -1,55 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *ConvexPolygonShape2D::___get_type_tag() -{ - return (void *) &ConvexPolygonShape2D::___get_type_tag; -} - -void *ConvexPolygonShape2D::___get_base_type_tag() -{ - return (void *) &Shape2D::___get_type_tag; -} - -ConvexPolygonShape2D *ConvexPolygonShape2D::_new() -{ - return (ConvexPolygonShape2D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"ConvexPolygonShape2D")()); -} -void ConvexPolygonShape2D::set_point_cloud(const PoolVector2Array point_cloud) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConvexPolygonShape2D", "set_point_cloud"); - } - ___godot_icall_void_PoolVector2Array(mb, (const Object *) this, point_cloud); -} - -void ConvexPolygonShape2D::set_points(const PoolVector2Array points) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConvexPolygonShape2D", "set_points"); - } - ___godot_icall_void_PoolVector2Array(mb, (const Object *) this, points); -} - -PoolVector2Array ConvexPolygonShape2D::get_points() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("ConvexPolygonShape2D", "get_points"); - } - return ___godot_icall_PoolVector2Array(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CubeMap.cpp b/src/gen/CubeMap.cpp deleted file mode 100644 index 91b18177..00000000 --- a/src/gen/CubeMap.cpp +++ /dev/null @@ -1,112 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *CubeMap::___get_type_tag() -{ - return (void *) &CubeMap::___get_type_tag; -} - -void *CubeMap::___get_base_type_tag() -{ - return (void *) &Resource::___get_type_tag; -} - -CubeMap *CubeMap::_new() -{ - return (CubeMap *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CubeMap")()); -} -int64_t CubeMap::get_width() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMap", "get_width"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -int64_t CubeMap::get_height() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMap", "get_height"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void CubeMap::set_flags(const int64_t flags) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMap", "set_flags"); - } - ___godot_icall_void_int(mb, (const Object *) this, flags); -} - -int64_t CubeMap::get_flags() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMap", "get_flags"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void CubeMap::set_side(const int64_t side, const Ref image) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMap", "set_side"); - } - ___godot_icall_void_int_Object(mb, (const Object *) this, side, image.ptr()); -} - -Ref CubeMap::get_side(const int64_t side) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMap", "get_side"); - } - return Ref::__internal_constructor(___godot_icall_Object_int(mb, (const Object *) this, side)); -} - -void CubeMap::set_storage(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMap", "set_storage"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -CubeMap::Storage CubeMap::get_storage() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMap", "get_storage"); - } - return (CubeMap::Storage) ___godot_icall_int(mb, (const Object *) this); -} - -void CubeMap::set_lossy_storage_quality(const double quality) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMap", "set_lossy_storage_quality"); - } - ___godot_icall_void_float(mb, (const Object *) this, quality); -} - -double CubeMap::get_lossy_storage_quality() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMap", "get_lossy_storage_quality"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CubeMesh.cpp b/src/gen/CubeMesh.cpp deleted file mode 100644 index 4521f47f..00000000 --- a/src/gen/CubeMesh.cpp +++ /dev/null @@ -1,95 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CubeMesh::___get_type_tag() -{ - return (void *) &CubeMesh::___get_type_tag; -} - -void *CubeMesh::___get_base_type_tag() -{ - return (void *) &PrimitiveMesh::___get_type_tag; -} - -CubeMesh *CubeMesh::_new() -{ - return (CubeMesh *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CubeMesh")()); -} -void CubeMesh::set_size(const Vector3 size) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMesh", "set_size"); - } - ___godot_icall_void_Vector3(mb, (const Object *) this, size); -} - -Vector3 CubeMesh::get_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMesh", "get_size"); - } - return ___godot_icall_Vector3(mb, (const Object *) this); -} - -void CubeMesh::set_subdivide_width(const int64_t subdivide) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMesh", "set_subdivide_width"); - } - ___godot_icall_void_int(mb, (const Object *) this, subdivide); -} - -int64_t CubeMesh::get_subdivide_width() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMesh", "get_subdivide_width"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void CubeMesh::set_subdivide_height(const int64_t divisions) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMesh", "set_subdivide_height"); - } - ___godot_icall_void_int(mb, (const Object *) this, divisions); -} - -int64_t CubeMesh::get_subdivide_height() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMesh", "get_subdivide_height"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void CubeMesh::set_subdivide_depth(const int64_t divisions) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMesh", "set_subdivide_depth"); - } - ___godot_icall_void_int(mb, (const Object *) this, divisions); -} - -int64_t CubeMesh::get_subdivide_depth() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CubeMesh", "get_subdivide_depth"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/Curve.cpp b/src/gen/Curve.cpp deleted file mode 100644 index 32faa72f..00000000 --- a/src/gen/Curve.cpp +++ /dev/null @@ -1,239 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *Curve::___get_type_tag() -{ - return (void *) &Curve::___get_type_tag; -} - -void *Curve::___get_base_type_tag() -{ - return (void *) &Resource::___get_type_tag; -} - -Curve *Curve::_new() -{ - return (Curve *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"Curve")()); -} -int64_t Curve::add_point(const Vector2 position, const double left_tangent, const double right_tangent, const int64_t left_mode, const int64_t right_mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "add_point"); - } - return ___godot_icall_int_Vector2_float_float_int_int(mb, (const Object *) this, position, left_tangent, right_tangent, left_mode, right_mode); -} - -void Curve::remove_point(const int64_t index) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "remove_point"); - } - ___godot_icall_void_int(mb, (const Object *) this, index); -} - -void Curve::clear_points() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "clear_points"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -Vector2 Curve::get_point_position(const int64_t index) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "get_point_position"); - } - return ___godot_icall_Vector2_int(mb, (const Object *) this, index); -} - -void Curve::set_point_value(const int64_t index, const double y) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "set_point_value"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, index, y); -} - -int64_t Curve::set_point_offset(const int64_t index, const double offset) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "set_point_offset"); - } - return ___godot_icall_int_int_float(mb, (const Object *) this, index, offset); -} - -double Curve::interpolate(const double offset) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "interpolate"); - } - return ___godot_icall_float_float(mb, (const Object *) this, offset); -} - -double Curve::interpolate_baked(const double offset) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "interpolate_baked"); - } - return ___godot_icall_float_float(mb, (const Object *) this, offset); -} - -double Curve::get_point_left_tangent(const int64_t index) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "get_point_left_tangent"); - } - return ___godot_icall_float_int(mb, (const Object *) this, index); -} - -double Curve::get_point_right_tangent(const int64_t index) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "get_point_right_tangent"); - } - return ___godot_icall_float_int(mb, (const Object *) this, index); -} - -Curve::TangentMode Curve::get_point_left_mode(const int64_t index) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "get_point_left_mode"); - } - return (Curve::TangentMode) ___godot_icall_int_int(mb, (const Object *) this, index); -} - -Curve::TangentMode Curve::get_point_right_mode(const int64_t index) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "get_point_right_mode"); - } - return (Curve::TangentMode) ___godot_icall_int_int(mb, (const Object *) this, index); -} - -void Curve::set_point_left_tangent(const int64_t index, const double tangent) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "set_point_left_tangent"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, index, tangent); -} - -void Curve::set_point_right_tangent(const int64_t index, const double tangent) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "set_point_right_tangent"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, index, tangent); -} - -void Curve::set_point_left_mode(const int64_t index, const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "set_point_left_mode"); - } - ___godot_icall_void_int_int(mb, (const Object *) this, index, mode); -} - -void Curve::set_point_right_mode(const int64_t index, const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "set_point_right_mode"); - } - ___godot_icall_void_int_int(mb, (const Object *) this, index, mode); -} - -double Curve::get_min_value() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "get_min_value"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Curve::set_min_value(const double min) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "set_min_value"); - } - ___godot_icall_void_float(mb, (const Object *) this, min); -} - -double Curve::get_max_value() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "get_max_value"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void Curve::set_max_value(const double max) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "set_max_value"); - } - ___godot_icall_void_float(mb, (const Object *) this, max); -} - -void Curve::clean_dupes() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "clean_dupes"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void Curve::bake() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "bake"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -int64_t Curve::get_bake_resolution() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "get_bake_resolution"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void Curve::set_bake_resolution(const int64_t resolution) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "set_bake_resolution"); - } - ___godot_icall_void_int(mb, (const Object *) this, resolution); -} - -Array Curve::_get_data() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "_get_data"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -void Curve::_set_data(const Array data) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve", "_set_data"); - } - ___godot_icall_void_Array(mb, (const Object *) this, data); -} - -} \ No newline at end of file diff --git a/src/gen/Curve2D.cpp b/src/gen/Curve2D.cpp deleted file mode 100644 index 21ce30c7..00000000 --- a/src/gen/Curve2D.cpp +++ /dev/null @@ -1,191 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *Curve2D::___get_type_tag() -{ - return (void *) &Curve2D::___get_type_tag; -} - -void *Curve2D::___get_base_type_tag() -{ - return (void *) &Resource::___get_type_tag; -} - -Curve2D *Curve2D::_new() -{ - return (Curve2D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"Curve2D")()); -} -int64_t Curve2D::get_point_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "get_point_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void Curve2D::add_point(const Vector2 position, const Vector2 in, const Vector2 out, const int64_t at_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "add_point"); - } - ___godot_icall_void_Vector2_Vector2_Vector2_int(mb, (const Object *) this, position, in, out, at_position); -} - -void Curve2D::set_point_position(const int64_t idx, const Vector2 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "set_point_position"); - } - ___godot_icall_void_int_Vector2(mb, (const Object *) this, idx, position); -} - -Vector2 Curve2D::get_point_position(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "get_point_position"); - } - return ___godot_icall_Vector2_int(mb, (const Object *) this, idx); -} - -void Curve2D::set_point_in(const int64_t idx, const Vector2 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "set_point_in"); - } - ___godot_icall_void_int_Vector2(mb, (const Object *) this, idx, position); -} - -Vector2 Curve2D::get_point_in(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "get_point_in"); - } - return ___godot_icall_Vector2_int(mb, (const Object *) this, idx); -} - -void Curve2D::set_point_out(const int64_t idx, const Vector2 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "set_point_out"); - } - ___godot_icall_void_int_Vector2(mb, (const Object *) this, idx, position); -} - -Vector2 Curve2D::get_point_out(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "get_point_out"); - } - return ___godot_icall_Vector2_int(mb, (const Object *) this, idx); -} - -void Curve2D::remove_point(const int64_t idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "remove_point"); - } - ___godot_icall_void_int(mb, (const Object *) this, idx); -} - -void Curve2D::clear_points() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "clear_points"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -Vector2 Curve2D::interpolate(const int64_t idx, const double t) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "interpolate"); - } - return ___godot_icall_Vector2_int_float(mb, (const Object *) this, idx, t); -} - -Vector2 Curve2D::interpolatef(const double fofs) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "interpolatef"); - } - return ___godot_icall_Vector2_float(mb, (const Object *) this, fofs); -} - -void Curve2D::set_bake_interval(const double distance) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "set_bake_interval"); - } - ___godot_icall_void_float(mb, (const Object *) this, distance); -} - -double Curve2D::get_bake_interval() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "get_bake_interval"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -double Curve2D::get_baked_length() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "get_baked_length"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -Vector2 Curve2D::interpolate_baked(const double offset, const bool cubic) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "interpolate_baked"); - } - return ___godot_icall_Vector2_float_bool(mb, (const Object *) this, offset, cubic); -} - -PoolVector2Array Curve2D::get_baked_points() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "get_baked_points"); - } - return ___godot_icall_PoolVector2Array(mb, (const Object *) this); -} - -PoolVector2Array Curve2D::tessellate(const int64_t max_stages, const double tolerance_degrees) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "tessellate"); - } - return ___godot_icall_PoolVector2Array_int_float(mb, (const Object *) this, max_stages, tolerance_degrees); -} - -Dictionary Curve2D::_get_data() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "_get_data"); - } - return ___godot_icall_Dictionary(mb, (const Object *) this); -} - -void Curve2D::_set_data(const Dictionary arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve2D", "_set_data"); - } - ___godot_icall_void_Dictionary(mb, (const Object *) this, arg0); -} - -} \ No newline at end of file diff --git a/src/gen/Curve3D.cpp b/src/gen/Curve3D.cpp deleted file mode 100644 index 4a94f261..00000000 --- a/src/gen/Curve3D.cpp +++ /dev/null @@ -1,215 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *Curve3D::___get_type_tag() -{ - return (void *) &Curve3D::___get_type_tag; -} - -void *Curve3D::___get_base_type_tag() -{ - return (void *) &Resource::___get_type_tag; -} - -Curve3D *Curve3D::_new() -{ - return (Curve3D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"Curve3D")()); -} -int64_t Curve3D::get_point_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "get_point_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void Curve3D::add_point(const Vector3 position, const Vector3 in, const Vector3 out, const int64_t at_position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "add_point"); - } - ___godot_icall_void_Vector3_Vector3_Vector3_int(mb, (const Object *) this, position, in, out, at_position); -} - -void Curve3D::set_point_position(const int64_t idx, const Vector3 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "set_point_position"); - } - ___godot_icall_void_int_Vector3(mb, (const Object *) this, idx, position); -} - -Vector3 Curve3D::get_point_position(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "get_point_position"); - } - return ___godot_icall_Vector3_int(mb, (const Object *) this, idx); -} - -void Curve3D::set_point_tilt(const int64_t idx, const double tilt) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "set_point_tilt"); - } - ___godot_icall_void_int_float(mb, (const Object *) this, idx, tilt); -} - -double Curve3D::get_point_tilt(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "get_point_tilt"); - } - return ___godot_icall_float_int(mb, (const Object *) this, idx); -} - -void Curve3D::set_point_in(const int64_t idx, const Vector3 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "set_point_in"); - } - ___godot_icall_void_int_Vector3(mb, (const Object *) this, idx, position); -} - -Vector3 Curve3D::get_point_in(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "get_point_in"); - } - return ___godot_icall_Vector3_int(mb, (const Object *) this, idx); -} - -void Curve3D::set_point_out(const int64_t idx, const Vector3 position) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "set_point_out"); - } - ___godot_icall_void_int_Vector3(mb, (const Object *) this, idx, position); -} - -Vector3 Curve3D::get_point_out(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "get_point_out"); - } - return ___godot_icall_Vector3_int(mb, (const Object *) this, idx); -} - -void Curve3D::remove_point(const int64_t idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "remove_point"); - } - ___godot_icall_void_int(mb, (const Object *) this, idx); -} - -void Curve3D::clear_points() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "clear_points"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -Vector3 Curve3D::interpolate(const int64_t idx, const double t) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "interpolate"); - } - return ___godot_icall_Vector3_int_float(mb, (const Object *) this, idx, t); -} - -Vector3 Curve3D::interpolatef(const double fofs) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "interpolatef"); - } - return ___godot_icall_Vector3_float(mb, (const Object *) this, fofs); -} - -void Curve3D::set_bake_interval(const double distance) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "set_bake_interval"); - } - ___godot_icall_void_float(mb, (const Object *) this, distance); -} - -double Curve3D::get_bake_interval() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "get_bake_interval"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -double Curve3D::get_baked_length() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "get_baked_length"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -Vector3 Curve3D::interpolate_baked(const double offset, const bool cubic) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "interpolate_baked"); - } - return ___godot_icall_Vector3_float_bool(mb, (const Object *) this, offset, cubic); -} - -PoolVector3Array Curve3D::get_baked_points() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "get_baked_points"); - } - return ___godot_icall_PoolVector3Array(mb, (const Object *) this); -} - -PoolRealArray Curve3D::get_baked_tilts() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "get_baked_tilts"); - } - return ___godot_icall_PoolRealArray(mb, (const Object *) this); -} - -PoolVector3Array Curve3D::tessellate(const int64_t max_stages, const double tolerance_degrees) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "tessellate"); - } - return ___godot_icall_PoolVector3Array_int_float(mb, (const Object *) this, max_stages, tolerance_degrees); -} - -Dictionary Curve3D::_get_data() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "_get_data"); - } - return ___godot_icall_Dictionary(mb, (const Object *) this); -} - -void Curve3D::_set_data(const Dictionary arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("Curve3D", "_set_data"); - } - ___godot_icall_void_Dictionary(mb, (const Object *) this, arg0); -} - -} \ No newline at end of file diff --git a/src/gen/CurveTexture.cpp b/src/gen/CurveTexture.cpp deleted file mode 100644 index 67fbd6f4..00000000 --- a/src/gen/CurveTexture.cpp +++ /dev/null @@ -1,64 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *CurveTexture::___get_type_tag() -{ - return (void *) &CurveTexture::___get_type_tag; -} - -void *CurveTexture::___get_base_type_tag() -{ - return (void *) &Texture::___get_type_tag; -} - -CurveTexture *CurveTexture::_new() -{ - return (CurveTexture *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CurveTexture")()); -} -void CurveTexture::set_width(const int64_t width) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CurveTexture", "set_width"); - } - ___godot_icall_void_int(mb, (const Object *) this, width); -} - -void CurveTexture::set_curve(const Ref curve) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CurveTexture", "set_curve"); - } - ___godot_icall_void_Object(mb, (const Object *) this, curve.ptr()); -} - -Ref CurveTexture::get_curve() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CurveTexture", "get_curve"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void CurveTexture::_update() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CurveTexture", "_update"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/CylinderMesh.cpp b/src/gen/CylinderMesh.cpp deleted file mode 100644 index 3c8a2db3..00000000 --- a/src/gen/CylinderMesh.cpp +++ /dev/null @@ -1,111 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *CylinderMesh::___get_type_tag() -{ - return (void *) &CylinderMesh::___get_type_tag; -} - -void *CylinderMesh::___get_base_type_tag() -{ - return (void *) &PrimitiveMesh::___get_type_tag; -} - -CylinderMesh *CylinderMesh::_new() -{ - return (CylinderMesh *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"CylinderMesh")()); -} -void CylinderMesh::set_top_radius(const double radius) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CylinderMesh", "set_top_radius"); - } - ___godot_icall_void_float(mb, (const Object *) this, radius); -} - -double CylinderMesh::get_top_radius() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CylinderMesh", "get_top_radius"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void CylinderMesh::set_bottom_radius(const double radius) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CylinderMesh", "set_bottom_radius"); - } - ___godot_icall_void_float(mb, (const Object *) this, radius); -} - -double CylinderMesh::get_bottom_radius() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CylinderMesh", "get_bottom_radius"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void CylinderMesh::set_height(const double height) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CylinderMesh", "set_height"); - } - ___godot_icall_void_float(mb, (const Object *) this, height); -} - -double CylinderMesh::get_height() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CylinderMesh", "get_height"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void CylinderMesh::set_radial_segments(const int64_t segments) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CylinderMesh", "set_radial_segments"); - } - ___godot_icall_void_int(mb, (const Object *) this, segments); -} - -int64_t CylinderMesh::get_radial_segments() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CylinderMesh", "get_radial_segments"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void CylinderMesh::set_rings(const int64_t rings) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CylinderMesh", "set_rings"); - } - ___godot_icall_void_int(mb, (const Object *) this, rings); -} - -int64_t CylinderMesh::get_rings() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("CylinderMesh", "get_rings"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/DampedSpringJoint2D.cpp b/src/gen/DampedSpringJoint2D.cpp deleted file mode 100644 index 1b8c62b5..00000000 --- a/src/gen/DampedSpringJoint2D.cpp +++ /dev/null @@ -1,95 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *DampedSpringJoint2D::___get_type_tag() -{ - return (void *) &DampedSpringJoint2D::___get_type_tag; -} - -void *DampedSpringJoint2D::___get_base_type_tag() -{ - return (void *) &Joint2D::___get_type_tag; -} - -DampedSpringJoint2D *DampedSpringJoint2D::_new() -{ - return (DampedSpringJoint2D *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"DampedSpringJoint2D")()); -} -void DampedSpringJoint2D::set_length(const double length) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DampedSpringJoint2D", "set_length"); - } - ___godot_icall_void_float(mb, (const Object *) this, length); -} - -double DampedSpringJoint2D::get_length() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DampedSpringJoint2D", "get_length"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void DampedSpringJoint2D::set_rest_length(const double rest_length) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DampedSpringJoint2D", "set_rest_length"); - } - ___godot_icall_void_float(mb, (const Object *) this, rest_length); -} - -double DampedSpringJoint2D::get_rest_length() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DampedSpringJoint2D", "get_rest_length"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void DampedSpringJoint2D::set_stiffness(const double stiffness) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DampedSpringJoint2D", "set_stiffness"); - } - ___godot_icall_void_float(mb, (const Object *) this, stiffness); -} - -double DampedSpringJoint2D::get_stiffness() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DampedSpringJoint2D", "get_stiffness"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void DampedSpringJoint2D::set_damping(const double damping) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DampedSpringJoint2D", "set_damping"); - } - ___godot_icall_void_float(mb, (const Object *) this, damping); -} - -double DampedSpringJoint2D::get_damping() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DampedSpringJoint2D", "get_damping"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/DirectionalLight.cpp b/src/gen/DirectionalLight.cpp deleted file mode 100644 index dd769644..00000000 --- a/src/gen/DirectionalLight.cpp +++ /dev/null @@ -1,79 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *DirectionalLight::___get_type_tag() -{ - return (void *) &DirectionalLight::___get_type_tag; -} - -void *DirectionalLight::___get_base_type_tag() -{ - return (void *) &Light::___get_type_tag; -} - -DirectionalLight *DirectionalLight::_new() -{ - return (DirectionalLight *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"DirectionalLight")()); -} -void DirectionalLight::set_shadow_mode(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DirectionalLight", "set_shadow_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -DirectionalLight::ShadowMode DirectionalLight::get_shadow_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DirectionalLight", "get_shadow_mode"); - } - return (DirectionalLight::ShadowMode) ___godot_icall_int(mb, (const Object *) this); -} - -void DirectionalLight::set_shadow_depth_range(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DirectionalLight", "set_shadow_depth_range"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -DirectionalLight::ShadowDepthRange DirectionalLight::get_shadow_depth_range() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DirectionalLight", "get_shadow_depth_range"); - } - return (DirectionalLight::ShadowDepthRange) ___godot_icall_int(mb, (const Object *) this); -} - -void DirectionalLight::set_blend_splits(const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DirectionalLight", "set_blend_splits"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enabled); -} - -bool DirectionalLight::is_blend_splits_enabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DirectionalLight", "is_blend_splits_enabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/Directory.cpp b/src/gen/Directory.cpp deleted file mode 100644 index 86e9cf87..00000000 --- a/src/gen/Directory.cpp +++ /dev/null @@ -1,175 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *Directory::___get_type_tag() -{ - return (void *) &Directory::___get_type_tag; -} - -void *Directory::___get_base_type_tag() -{ - return (void *) &Reference::___get_type_tag; -} - -Directory *Directory::_new() -{ - return (Directory *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"_Directory")()); -} -Error Directory::open(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "open"); - } - return (Error) ___godot_icall_int_String(mb, (const Object *) this, path); -} - -Error Directory::list_dir_begin(const bool skip_navigational, const bool skip_hidden) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "list_dir_begin"); - } - return (Error) ___godot_icall_int_bool_bool(mb, (const Object *) this, skip_navigational, skip_hidden); -} - -String Directory::get_next() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "get_next"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -bool Directory::current_is_dir() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "current_is_dir"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void Directory::list_dir_end() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "list_dir_end"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -int64_t Directory::get_drive_count() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "get_drive_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -String Directory::get_drive(const int64_t idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "get_drive"); - } - return ___godot_icall_String_int(mb, (const Object *) this, idx); -} - -int64_t Directory::get_current_drive() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "get_current_drive"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -Error Directory::change_dir(const String todir) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "change_dir"); - } - return (Error) ___godot_icall_int_String(mb, (const Object *) this, todir); -} - -String Directory::get_current_dir() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "get_current_dir"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -Error Directory::make_dir(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "make_dir"); - } - return (Error) ___godot_icall_int_String(mb, (const Object *) this, path); -} - -Error Directory::make_dir_recursive(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "make_dir_recursive"); - } - return (Error) ___godot_icall_int_String(mb, (const Object *) this, path); -} - -bool Directory::file_exists(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "file_exists"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, path); -} - -bool Directory::dir_exists(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "dir_exists"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, path); -} - -int64_t Directory::get_space_left() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "get_space_left"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -Error Directory::copy(const String from, const String to) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "copy"); - } - return (Error) ___godot_icall_int_String_String(mb, (const Object *) this, from, to); -} - -Error Directory::rename(const String from, const String to) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "rename"); - } - return (Error) ___godot_icall_int_String_String(mb, (const Object *) this, from, to); -} - -Error Directory::remove(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("_Directory", "remove"); - } - return (Error) ___godot_icall_int_String(mb, (const Object *) this, path); -} - -} \ No newline at end of file diff --git a/src/gen/DynamicFont.cpp b/src/gen/DynamicFont.cpp deleted file mode 100644 index 5ce51eb5..00000000 --- a/src/gen/DynamicFont.cpp +++ /dev/null @@ -1,152 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *DynamicFont::___get_type_tag() -{ - return (void *) &DynamicFont::___get_type_tag; -} - -void *DynamicFont::___get_base_type_tag() -{ - return (void *) &Font::___get_type_tag; -} - -DynamicFont *DynamicFont::_new() -{ - return (DynamicFont *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"DynamicFont")()); -} -void DynamicFont::set_font_data(const Ref data) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "set_font_data"); - } - ___godot_icall_void_Object(mb, (const Object *) this, data.ptr()); -} - -Ref DynamicFont::get_font_data() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "get_font_data"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -void DynamicFont::set_size(const int64_t data) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "set_size"); - } - ___godot_icall_void_int(mb, (const Object *) this, data); -} - -int64_t DynamicFont::get_size() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "get_size"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -void DynamicFont::set_use_mipmaps(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "set_use_mipmaps"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool DynamicFont::get_use_mipmaps() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "get_use_mipmaps"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void DynamicFont::set_use_filter(const bool enable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "set_use_filter"); - } - ___godot_icall_void_bool(mb, (const Object *) this, enable); -} - -bool DynamicFont::get_use_filter() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "get_use_filter"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void DynamicFont::set_spacing(const int64_t type, const int64_t value) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "set_spacing"); - } - ___godot_icall_void_int_int(mb, (const Object *) this, type, value); -} - -int64_t DynamicFont::get_spacing(const int64_t type) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "get_spacing"); - } - return ___godot_icall_int_int(mb, (const Object *) this, type); -} - -void DynamicFont::add_fallback(const Ref data) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "add_fallback"); - } - ___godot_icall_void_Object(mb, (const Object *) this, data.ptr()); -} - -void DynamicFont::set_fallback(const int64_t idx, const Ref data) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "set_fallback"); - } - ___godot_icall_void_int_Object(mb, (const Object *) this, idx, data.ptr()); -} - -Ref DynamicFont::get_fallback(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "get_fallback"); - } - return Ref::__internal_constructor(___godot_icall_Object_int(mb, (const Object *) this, idx)); -} - -void DynamicFont::remove_fallback(const int64_t idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "remove_fallback"); - } - ___godot_icall_void_int(mb, (const Object *) this, idx); -} - -int64_t DynamicFont::get_fallback_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFont", "get_fallback_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/DynamicFontData.cpp b/src/gen/DynamicFontData.cpp deleted file mode 100644 index a1f6e676..00000000 --- a/src/gen/DynamicFontData.cpp +++ /dev/null @@ -1,63 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *DynamicFontData::___get_type_tag() -{ - return (void *) &DynamicFontData::___get_type_tag; -} - -void *DynamicFontData::___get_base_type_tag() -{ - return (void *) &Resource::___get_type_tag; -} - -DynamicFontData *DynamicFontData::_new() -{ - return (DynamicFontData *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"DynamicFontData")()); -} -void DynamicFontData::set_font_path(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFontData", "set_font_path"); - } - ___godot_icall_void_String(mb, (const Object *) this, path); -} - -String DynamicFontData::get_font_path() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFontData", "get_font_path"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void DynamicFontData::set_hinting(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFontData", "set_hinting"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -DynamicFontData::Hinting DynamicFontData::get_hinting() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("DynamicFontData", "get_hinting"); - } - return (DynamicFontData::Hinting) ___godot_icall_int(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/EditorExportPlugin.cpp b/src/gen/EditorExportPlugin.cpp deleted file mode 100644 index 279568b4..00000000 --- a/src/gen/EditorExportPlugin.cpp +++ /dev/null @@ -1,111 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *EditorExportPlugin::___get_type_tag() -{ - return (void *) &EditorExportPlugin::___get_type_tag; -} - -void *EditorExportPlugin::___get_base_type_tag() -{ - return (void *) &Reference::___get_type_tag; -} - -EditorExportPlugin *EditorExportPlugin::_new() -{ - return (EditorExportPlugin *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"EditorExportPlugin")()); -} -void EditorExportPlugin::_export_file(const String path, const String type, const PoolStringArray features) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorExportPlugin", "_export_file"); - } - ___godot_icall_void_String_String_PoolStringArray(mb, (const Object *) this, path, type, features); -} - -void EditorExportPlugin::_export_begin(const PoolStringArray features, const bool is_debug, const String path, const int64_t flags) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorExportPlugin", "_export_begin"); - } - ___godot_icall_void_PoolStringArray_bool_String_int(mb, (const Object *) this, features, is_debug, path, flags); -} - -void EditorExportPlugin::add_shared_object(const String path, const PoolStringArray tags) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorExportPlugin", "add_shared_object"); - } - ___godot_icall_void_String_PoolStringArray(mb, (const Object *) this, path, tags); -} - -void EditorExportPlugin::add_file(const String path, const PoolByteArray file, const bool remap) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorExportPlugin", "add_file"); - } - ___godot_icall_void_String_PoolByteArray_bool(mb, (const Object *) this, path, file, remap); -} - -void EditorExportPlugin::add_ios_framework(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorExportPlugin", "add_ios_framework"); - } - ___godot_icall_void_String(mb, (const Object *) this, path); -} - -void EditorExportPlugin::add_ios_plist_content(const String plist_content) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorExportPlugin", "add_ios_plist_content"); - } - ___godot_icall_void_String(mb, (const Object *) this, plist_content); -} - -void EditorExportPlugin::add_ios_linker_flags(const String flags) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorExportPlugin", "add_ios_linker_flags"); - } - ___godot_icall_void_String(mb, (const Object *) this, flags); -} - -void EditorExportPlugin::add_ios_bundle_file(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorExportPlugin", "add_ios_bundle_file"); - } - ___godot_icall_void_String(mb, (const Object *) this, path); -} - -void EditorExportPlugin::add_ios_cpp_code(const String code) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorExportPlugin", "add_ios_cpp_code"); - } - ___godot_icall_void_String(mb, (const Object *) this, code); -} - -void EditorExportPlugin::skip() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorExportPlugin", "skip"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/EditorFileDialog.cpp b/src/gen/EditorFileDialog.cpp deleted file mode 100644 index 93be382c..00000000 --- a/src/gen/EditorFileDialog.cpp +++ /dev/null @@ -1,426 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include -#include - - -namespace godot { - - -void *EditorFileDialog::___get_type_tag() -{ - return (void *) &EditorFileDialog::___get_type_tag; -} - -void *EditorFileDialog::___get_base_type_tag() -{ - return (void *) &ConfirmationDialog::___get_type_tag; -} - -EditorFileDialog *EditorFileDialog::_new() -{ - return (EditorFileDialog *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"EditorFileDialog")()); -} -void EditorFileDialog::_unhandled_input(const Ref arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_unhandled_input"); - } - ___godot_icall_void_Object(mb, (const Object *) this, arg0.ptr()); -} - -void EditorFileDialog::_item_selected(const int64_t arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_item_selected"); - } - ___godot_icall_void_int(mb, (const Object *) this, arg0); -} - -void EditorFileDialog::_multi_selected(const int64_t arg0, const bool arg1) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_multi_selected"); - } - ___godot_icall_void_int_bool(mb, (const Object *) this, arg0, arg1); -} - -void EditorFileDialog::_items_clear_selection() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_items_clear_selection"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::_item_list_item_rmb_selected(const int64_t arg0, const Vector2 arg1) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_item_list_item_rmb_selected"); - } - ___godot_icall_void_int_Vector2(mb, (const Object *) this, arg0, arg1); -} - -void EditorFileDialog::_item_list_rmb_clicked(const Vector2 arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_item_list_rmb_clicked"); - } - ___godot_icall_void_Vector2(mb, (const Object *) this, arg0); -} - -void EditorFileDialog::_item_menu_id_pressed(const int64_t arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_item_menu_id_pressed"); - } - ___godot_icall_void_int(mb, (const Object *) this, arg0); -} - -void EditorFileDialog::_item_db_selected(const int64_t arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_item_db_selected"); - } - ___godot_icall_void_int(mb, (const Object *) this, arg0); -} - -void EditorFileDialog::_dir_entered(const String arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_dir_entered"); - } - ___godot_icall_void_String(mb, (const Object *) this, arg0); -} - -void EditorFileDialog::_file_entered(const String arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_file_entered"); - } - ___godot_icall_void_String(mb, (const Object *) this, arg0); -} - -void EditorFileDialog::_action_pressed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_action_pressed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::_cancel_pressed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_cancel_pressed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::_filter_selected(const int64_t arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_filter_selected"); - } - ___godot_icall_void_int(mb, (const Object *) this, arg0); -} - -void EditorFileDialog::_save_confirm_pressed() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_save_confirm_pressed"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::clear_filters() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "clear_filters"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::add_filter(const String filter) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "add_filter"); - } - ___godot_icall_void_String(mb, (const Object *) this, filter); -} - -String EditorFileDialog::get_current_dir() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "get_current_dir"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -String EditorFileDialog::get_current_file() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "get_current_file"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -String EditorFileDialog::get_current_path() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "get_current_path"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void EditorFileDialog::set_current_dir(const String dir) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "set_current_dir"); - } - ___godot_icall_void_String(mb, (const Object *) this, dir); -} - -void EditorFileDialog::set_current_file(const String file) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "set_current_file"); - } - ___godot_icall_void_String(mb, (const Object *) this, file); -} - -void EditorFileDialog::set_current_path(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "set_current_path"); - } - ___godot_icall_void_String(mb, (const Object *) this, path); -} - -void EditorFileDialog::set_mode(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "set_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -EditorFileDialog::Mode EditorFileDialog::get_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "get_mode"); - } - return (EditorFileDialog::Mode) ___godot_icall_int(mb, (const Object *) this); -} - -VBoxContainer *EditorFileDialog::get_vbox() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "get_vbox"); - } - return (VBoxContainer *) ___godot_icall_Object(mb, (const Object *) this); -} - -void EditorFileDialog::set_access(const int64_t access) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "set_access"); - } - ___godot_icall_void_int(mb, (const Object *) this, access); -} - -EditorFileDialog::Access EditorFileDialog::get_access() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "get_access"); - } - return (EditorFileDialog::Access) ___godot_icall_int(mb, (const Object *) this); -} - -void EditorFileDialog::set_show_hidden_files(const bool show) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "set_show_hidden_files"); - } - ___godot_icall_void_bool(mb, (const Object *) this, show); -} - -bool EditorFileDialog::is_showing_hidden_files() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "is_showing_hidden_files"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void EditorFileDialog::_select_drive(const int64_t arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_select_drive"); - } - ___godot_icall_void_int(mb, (const Object *) this, arg0); -} - -void EditorFileDialog::_make_dir() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_make_dir"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::_make_dir_confirm() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_make_dir_confirm"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::_update_file_list() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_update_file_list"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::_update_dir() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_update_dir"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::_thumbnail_done(const String arg0, const Ref arg1, const Variant arg2) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_thumbnail_done"); - } - ___godot_icall_void_String_Object_Variant(mb, (const Object *) this, arg0, arg1.ptr(), arg2); -} - -void EditorFileDialog::set_display_mode(const int64_t mode) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "set_display_mode"); - } - ___godot_icall_void_int(mb, (const Object *) this, mode); -} - -EditorFileDialog::DisplayMode EditorFileDialog::get_display_mode() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "get_display_mode"); - } - return (EditorFileDialog::DisplayMode) ___godot_icall_int(mb, (const Object *) this); -} - -void EditorFileDialog::_thumbnail_result(const String arg0, const Ref arg1, const Variant arg2) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_thumbnail_result"); - } - ___godot_icall_void_String_Object_Variant(mb, (const Object *) this, arg0, arg1.ptr(), arg2); -} - -void EditorFileDialog::set_disable_overwrite_warning(const bool disable) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "set_disable_overwrite_warning"); - } - ___godot_icall_void_bool(mb, (const Object *) this, disable); -} - -bool EditorFileDialog::is_overwrite_warning_disabled() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "is_overwrite_warning_disabled"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void EditorFileDialog::_recent_selected(const int64_t arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_recent_selected"); - } - ___godot_icall_void_int(mb, (const Object *) this, arg0); -} - -void EditorFileDialog::_go_back() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_go_back"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::_go_forward() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_go_forward"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::_go_up() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_go_up"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::_favorite_toggled(const bool arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_favorite_toggled"); - } - ___godot_icall_void_bool(mb, (const Object *) this, arg0); -} - -void EditorFileDialog::_favorite_selected(const int64_t arg0) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_favorite_selected"); - } - ___godot_icall_void_int(mb, (const Object *) this, arg0); -} - -void EditorFileDialog::_favorite_move_up() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_favorite_move_up"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::_favorite_move_down() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "_favorite_move_down"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileDialog::invalidate() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileDialog", "invalidate"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -} \ No newline at end of file diff --git a/src/gen/EditorFileSystem.cpp b/src/gen/EditorFileSystem.cpp deleted file mode 100644 index 7b3ecbe4..00000000 --- a/src/gen/EditorFileSystem.cpp +++ /dev/null @@ -1,92 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *EditorFileSystem::___get_type_tag() -{ - return (void *) &EditorFileSystem::___get_type_tag; -} - -void *EditorFileSystem::___get_base_type_tag() -{ - return (void *) &Node::___get_type_tag; -} - -EditorFileSystemDirectory *EditorFileSystem::get_filesystem() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystem", "get_filesystem"); - } - return (EditorFileSystemDirectory *) ___godot_icall_Object(mb, (const Object *) this); -} - -bool EditorFileSystem::is_scanning() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystem", "is_scanning"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -double EditorFileSystem::get_scanning_progress() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystem", "get_scanning_progress"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -void EditorFileSystem::scan() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystem", "scan"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileSystem::scan_sources() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystem", "scan_sources"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorFileSystem::update_file(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystem", "update_file"); - } - ___godot_icall_void_String(mb, (const Object *) this, path); -} - -EditorFileSystemDirectory *EditorFileSystem::get_filesystem_path(const String path) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystem", "get_filesystem_path"); - } - return (EditorFileSystemDirectory *) ___godot_icall_Object_String(mb, (const Object *) this, path); -} - -String EditorFileSystem::get_file_type(const String path) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystem", "get_file_type"); - } - return ___godot_icall_String_String(mb, (const Object *) this, path); -} - -} \ No newline at end of file diff --git a/src/gen/EditorFileSystemDirectory.cpp b/src/gen/EditorFileSystemDirectory.cpp deleted file mode 100644 index 6e1e0754..00000000 --- a/src/gen/EditorFileSystemDirectory.cpp +++ /dev/null @@ -1,128 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include - - -namespace godot { - - -void *EditorFileSystemDirectory::___get_type_tag() -{ - return (void *) &EditorFileSystemDirectory::___get_type_tag; -} - -void *EditorFileSystemDirectory::___get_base_type_tag() -{ - return (void *) &Object::___get_type_tag; -} - -EditorFileSystemDirectory *EditorFileSystemDirectory::_new() -{ - return (EditorFileSystemDirectory *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"EditorFileSystemDirectory")()); -} -int64_t EditorFileSystemDirectory::get_subdir_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystemDirectory", "get_subdir_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -EditorFileSystemDirectory *EditorFileSystemDirectory::get_subdir(const int64_t idx) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystemDirectory", "get_subdir"); - } - return (EditorFileSystemDirectory *) ___godot_icall_Object_int(mb, (const Object *) this, idx); -} - -int64_t EditorFileSystemDirectory::get_file_count() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystemDirectory", "get_file_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -String EditorFileSystemDirectory::get_file(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystemDirectory", "get_file"); - } - return ___godot_icall_String_int(mb, (const Object *) this, idx); -} - -String EditorFileSystemDirectory::get_file_path(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystemDirectory", "get_file_path"); - } - return ___godot_icall_String_int(mb, (const Object *) this, idx); -} - -String EditorFileSystemDirectory::get_file_type(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystemDirectory", "get_file_type"); - } - return ___godot_icall_String_int(mb, (const Object *) this, idx); -} - -bool EditorFileSystemDirectory::get_file_import_is_valid(const int64_t idx) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystemDirectory", "get_file_import_is_valid"); - } - return ___godot_icall_bool_int(mb, (const Object *) this, idx); -} - -String EditorFileSystemDirectory::get_name() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystemDirectory", "get_name"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -String EditorFileSystemDirectory::get_path() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystemDirectory", "get_path"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -EditorFileSystemDirectory *EditorFileSystemDirectory::get_parent() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystemDirectory", "get_parent"); - } - return (EditorFileSystemDirectory *) ___godot_icall_Object(mb, (const Object *) this); -} - -int64_t EditorFileSystemDirectory::find_file_index(const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystemDirectory", "find_file_index"); - } - return ___godot_icall_int_String(mb, (const Object *) this, name); -} - -int64_t EditorFileSystemDirectory::find_dir_index(const String name) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorFileSystemDirectory", "find_dir_index"); - } - return ___godot_icall_int_String(mb, (const Object *) this, name); -} - -} \ No newline at end of file diff --git a/src/gen/EditorImportPlugin.cpp b/src/gen/EditorImportPlugin.cpp deleted file mode 100644 index 75d242a4..00000000 --- a/src/gen/EditorImportPlugin.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - - - -namespace godot { - - -void *EditorImportPlugin::___get_type_tag() -{ - return (void *) &EditorImportPlugin::___get_type_tag; -} - -void *EditorImportPlugin::___get_base_type_tag() -{ - return (void *) &Reference::___get_type_tag; -} - -EditorImportPlugin *EditorImportPlugin::_new() -{ - return (EditorImportPlugin *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"EditorImportPlugin")()); -} -String EditorImportPlugin::get_importer_name() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorImportPlugin", "get_importer_name"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -String EditorImportPlugin::get_visible_name() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorImportPlugin", "get_visible_name"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -int64_t EditorImportPlugin::get_preset_count() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorImportPlugin", "get_preset_count"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -String EditorImportPlugin::get_preset_name(const int64_t preset) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorImportPlugin", "get_preset_name"); - } - return ___godot_icall_String_int(mb, (const Object *) this, preset); -} - -Array EditorImportPlugin::get_recognized_extensions() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorImportPlugin", "get_recognized_extensions"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -Array EditorImportPlugin::get_import_options(const int64_t preset) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorImportPlugin", "get_import_options"); - } - return ___godot_icall_Array_int(mb, (const Object *) this, preset); -} - -String EditorImportPlugin::get_save_extension() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorImportPlugin", "get_save_extension"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -String EditorImportPlugin::get_resource_type() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorImportPlugin", "get_resource_type"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -double EditorImportPlugin::get_priority() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorImportPlugin", "get_priority"); - } - return ___godot_icall_float(mb, (const Object *) this); -} - -int64_t EditorImportPlugin::get_import_order() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorImportPlugin", "get_import_order"); - } - return ___godot_icall_int(mb, (const Object *) this); -} - -bool EditorImportPlugin::get_option_visibility(const String option, const Dictionary options) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorImportPlugin", "get_option_visibility"); - } - return ___godot_icall_bool_String_Dictionary(mb, (const Object *) this, option, options); -} - -int64_t EditorImportPlugin::import(const String source_file, const String save_path, const Dictionary options, const Array r_platform_variants, const Array r_gen_files) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorImportPlugin", "import"); - } - return ___godot_icall_int_String_String_Dictionary_Array_Array(mb, (const Object *) this, source_file, save_path, options, r_platform_variants, r_gen_files); -} - -} \ No newline at end of file diff --git a/src/gen/EditorInterface.cpp b/src/gen/EditorInterface.cpp deleted file mode 100644 index 39567d3c..00000000 --- a/src/gen/EditorInterface.cpp +++ /dev/null @@ -1,196 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -namespace godot { - - -void *EditorInterface::___get_type_tag() -{ - return (void *) &EditorInterface::___get_type_tag; -} - -void *EditorInterface::___get_base_type_tag() -{ - return (void *) &Node::___get_type_tag; -} - -void EditorInterface::inspect_object(const Object *object, const String for_property) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "inspect_object"); - } - ___godot_icall_void_Object_String(mb, (const Object *) this, object, for_property); -} - -EditorSelection *EditorInterface::get_selection() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "get_selection"); - } - return (EditorSelection *) ___godot_icall_Object(mb, (const Object *) this); -} - -Ref EditorInterface::get_editor_settings() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "get_editor_settings"); - } - return Ref::__internal_constructor(___godot_icall_Object(mb, (const Object *) this)); -} - -ScriptEditor *EditorInterface::get_script_editor() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "get_script_editor"); - } - return (ScriptEditor *) ___godot_icall_Object(mb, (const Object *) this); -} - -Control *EditorInterface::get_base_control() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "get_base_control"); - } - return (Control *) ___godot_icall_Object(mb, (const Object *) this); -} - -void EditorInterface::edit_resource(const Ref resource) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "edit_resource"); - } - ___godot_icall_void_Object(mb, (const Object *) this, resource.ptr()); -} - -void EditorInterface::open_scene_from_path(const String scene_filepath) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "open_scene_from_path"); - } - ___godot_icall_void_String(mb, (const Object *) this, scene_filepath); -} - -void EditorInterface::reload_scene_from_path(const String scene_filepath) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "reload_scene_from_path"); - } - ___godot_icall_void_String(mb, (const Object *) this, scene_filepath); -} - -Array EditorInterface::get_open_scenes() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "get_open_scenes"); - } - return ___godot_icall_Array(mb, (const Object *) this); -} - -Node *EditorInterface::get_edited_scene_root() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "get_edited_scene_root"); - } - return (Node *) ___godot_icall_Object(mb, (const Object *) this); -} - -EditorResourcePreview *EditorInterface::get_resource_previewer() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "get_resource_previewer"); - } - return (EditorResourcePreview *) ___godot_icall_Object(mb, (const Object *) this); -} - -EditorFileSystem *EditorInterface::get_resource_filesystem() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "get_resource_filesystem"); - } - return (EditorFileSystem *) ___godot_icall_Object(mb, (const Object *) this); -} - -Control *EditorInterface::get_editor_viewport() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "get_editor_viewport"); - } - return (Control *) ___godot_icall_Object(mb, (const Object *) this); -} - -Array EditorInterface::make_mesh_previews(const Array meshes, const int64_t preview_size) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "make_mesh_previews"); - } - return ___godot_icall_Array_Array_int(mb, (const Object *) this, meshes, preview_size); -} - -void EditorInterface::select_file(const String p_file) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "select_file"); - } - ___godot_icall_void_String(mb, (const Object *) this, p_file); -} - -String EditorInterface::get_selected_path() const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "get_selected_path"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -void EditorInterface::set_plugin_enabled(const String plugin, const bool enabled) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "set_plugin_enabled"); - } - ___godot_icall_void_String_bool(mb, (const Object *) this, plugin, enabled); -} - -bool EditorInterface::is_plugin_enabled(const String plugin) const { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "is_plugin_enabled"); - } - return ___godot_icall_bool_String(mb, (const Object *) this, plugin); -} - -Error EditorInterface::save_scene() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "save_scene"); - } - return (Error) ___godot_icall_int(mb, (const Object *) this); -} - -void EditorInterface::save_scene_as(const String path, const bool with_preview) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorInterface", "save_scene_as"); - } - ___godot_icall_void_String_bool(mb, (const Object *) this, path, with_preview); -} - -} \ No newline at end of file diff --git a/src/gen/EditorPlugin.cpp b/src/gen/EditorPlugin.cpp deleted file mode 100644 index 44c3748d..00000000 --- a/src/gen/EditorPlugin.cpp +++ /dev/null @@ -1,414 +0,0 @@ -#include - - -#include -#include -#include -#include - -#include "__icalls.hpp" - - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -namespace godot { - - -void *EditorPlugin::___get_type_tag() -{ - return (void *) &EditorPlugin::___get_type_tag; -} - -void *EditorPlugin::___get_base_type_tag() -{ - return (void *) &Node::___get_type_tag; -} - -EditorPlugin *EditorPlugin::_new() -{ - return (EditorPlugin *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)"EditorPlugin")()); -} -bool EditorPlugin::forward_canvas_gui_input(const Ref event) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "forward_canvas_gui_input"); - } - return ___godot_icall_bool_Object(mb, (const Object *) this, event.ptr()); -} - -void EditorPlugin::forward_draw_over_viewport(const Control *overlay) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "forward_draw_over_viewport"); - } - ___godot_icall_void_Object(mb, (const Object *) this, overlay); -} - -void EditorPlugin::forward_force_draw_over_viewport(const Control *overlay) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "forward_force_draw_over_viewport"); - } - ___godot_icall_void_Object(mb, (const Object *) this, overlay); -} - -bool EditorPlugin::forward_spatial_gui_input(const Camera *camera, const Ref event) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "forward_spatial_gui_input"); - } - return ___godot_icall_bool_Object_Object(mb, (const Object *) this, camera, event.ptr()); -} - -Ref EditorPlugin::create_spatial_gizmo(const Spatial *for_spatial) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "create_spatial_gizmo"); - } - return Ref::__internal_constructor(___godot_icall_Object_Object(mb, (const Object *) this, for_spatial)); -} - -String EditorPlugin::get_plugin_name() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "get_plugin_name"); - } - return ___godot_icall_String(mb, (const Object *) this); -} - -Object *EditorPlugin::get_plugin_icon() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "get_plugin_icon"); - } - return (Object *) ___godot_icall_Object(mb, (const Object *) this); -} - -bool EditorPlugin::has_main_screen() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "has_main_screen"); - } - return ___godot_icall_bool(mb, (const Object *) this); -} - -void EditorPlugin::make_visible(const bool visible) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "make_visible"); - } - ___godot_icall_void_bool(mb, (const Object *) this, visible); -} - -void EditorPlugin::edit(const Object *object) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "edit"); - } - ___godot_icall_void_Object(mb, (const Object *) this, object); -} - -bool EditorPlugin::handles(const Object *object) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "handles"); - } - return ___godot_icall_bool_Object(mb, (const Object *) this, object); -} - -Dictionary EditorPlugin::get_state() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "get_state"); - } - return ___godot_icall_Dictionary(mb, (const Object *) this); -} - -void EditorPlugin::set_state(const Dictionary state) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "set_state"); - } - ___godot_icall_void_Dictionary(mb, (const Object *) this, state); -} - -void EditorPlugin::clear() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "clear"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorPlugin::save_external_data() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "save_external_data"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -void EditorPlugin::apply_changes() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "apply_changes"); - } - ___godot_icall_void(mb, (const Object *) this); -} - -PoolStringArray EditorPlugin::get_breakpoints() { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "get_breakpoints"); - } - return ___godot_icall_PoolStringArray(mb, (const Object *) this); -} - -void EditorPlugin::set_window_layout(const Ref layout) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "set_window_layout"); - } - ___godot_icall_void_Object(mb, (const Object *) this, layout.ptr()); -} - -void EditorPlugin::get_window_layout(const Ref layout) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "get_window_layout"); - } - ___godot_icall_void_Object(mb, (const Object *) this, layout.ptr()); -} - -void EditorPlugin::add_control_to_container(const int64_t container, const Object *control) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "add_control_to_container"); - } - ___godot_icall_void_int_Object(mb, (const Object *) this, container, control); -} - -ToolButton *EditorPlugin::add_control_to_bottom_panel(const Object *control, const String title) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "add_control_to_bottom_panel"); - } - return (ToolButton *) ___godot_icall_Object_Object_String(mb, (const Object *) this, control, title); -} - -void EditorPlugin::add_control_to_dock(const int64_t slot, const Object *control) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "add_control_to_dock"); - } - ___godot_icall_void_int_Object(mb, (const Object *) this, slot, control); -} - -void EditorPlugin::remove_control_from_docks(const Object *control) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "remove_control_from_docks"); - } - ___godot_icall_void_Object(mb, (const Object *) this, control); -} - -void EditorPlugin::remove_control_from_bottom_panel(const Object *control) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "remove_control_from_bottom_panel"); - } - ___godot_icall_void_Object(mb, (const Object *) this, control); -} - -void EditorPlugin::remove_control_from_container(const int64_t container, const Object *control) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "remove_control_from_container"); - } - ___godot_icall_void_int_Object(mb, (const Object *) this, container, control); -} - -void EditorPlugin::add_tool_menu_item(const String name, const Object *handler, const String callback, const Variant ud) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "add_tool_menu_item"); - } - ___godot_icall_void_String_Object_String_Variant(mb, (const Object *) this, name, handler, callback, ud); -} - -void EditorPlugin::add_tool_submenu_item(const String name, const Object *submenu) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "add_tool_submenu_item"); - } - ___godot_icall_void_String_Object(mb, (const Object *) this, name, submenu); -} - -void EditorPlugin::remove_tool_menu_item(const String name) { - static godot_method_bind *mb = NULL; - if (mb == NULL) { - mb = godot::api->godot_method_bind_get_method("EditorPlugin", "remove_tool_menu_item"); - } - ___godot_icall_void_String(mb, (const Object *) this, name); -} - -void EditorPlugin::add_custom_type(const String type, const String base, const Ref