From e9517a7b3b99a53ea865201fee52f390ba362b9e Mon Sep 17 00:00:00 2001 From: karroffel Date: Sun, 11 Feb 2018 15:50:01 +0100 Subject: [PATCH] implemented instance binding data usage This commit changes the way C++ wrapper classes work. Previously, wrapper classes were merely wrapper *interfaces*. They used the `this` pointer to store the actual foreign Godot Object. With the NativeScript 1.1 extension it is now possible to have low-overhead language binding data attached to Objects. The C++ bindings use that feature to implement *proper* wrappers and enable regular C++ inheritance usage that way. Some things might still be buggy and untested, but the C++ SimpleDemo works with those changes. --- .gitignore | 5 + binding_generator.py | 88 +- include/core/Godot.hpp | 33 +- include/core/GodotGlobal.hpp | 3 + include/core/Variant.hpp | 2 +- include/gen/ARVRAnchor.hpp | 42 + include/gen/ARVRCamera.hpp | 36 + include/gen/ARVRController.hpp | 47 + include/gen/ARVRInterface.hpp | 66 + include/gen/ARVRInterfaceGDNative.hpp | 36 + include/gen/ARVROrigin.hpp | 38 + include/gen/ARVRPositionalTracker.hpp | 59 + include/gen/ARVRServer.hpp | 76 + include/gen/AStar.hpp | 56 + include/gen/AcceptDialog.hpp | 51 + include/gen/AnimatedSprite.hpp | 57 + include/gen/AnimatedSprite3D.hpp | 49 + include/gen/Animation.hpp | 96 + include/gen/AnimationPlayer.hpp | 83 + include/gen/AnimationTreePlayer.hpp | 118 + include/gen/Area.hpp | 95 + include/gen/Area2D.hpp | 87 + include/gen/ArrayMesh.hpp | 88 + include/gen/AtlasTexture.hpp | 45 + include/gen/AudioBusLayout.hpp | 36 + include/gen/AudioEffect.hpp | 33 + include/gen/AudioEffectAmplify.hpp | 38 + include/gen/AudioEffectBandLimitFilter.hpp | 36 + include/gen/AudioEffectBandPassFilter.hpp | 36 + include/gen/AudioEffectChorus.hpp | 54 + include/gen/AudioEffectCompressor.hpp | 50 + include/gen/AudioEffectDelay.hpp | 62 + include/gen/AudioEffectDistortion.hpp | 54 + include/gen/AudioEffectEQ.hpp | 39 + include/gen/AudioEffectEQ10.hpp | 36 + include/gen/AudioEffectEQ21.hpp | 36 + include/gen/AudioEffectEQ6.hpp | 36 + include/gen/AudioEffectFilter.hpp | 51 + include/gen/AudioEffectHighPassFilter.hpp | 36 + include/gen/AudioEffectHighShelfFilter.hpp | 36 + include/gen/AudioEffectLimiter.hpp | 44 + include/gen/AudioEffectLowPassFilter.hpp | 36 + include/gen/AudioEffectLowShelfFilter.hpp | 36 + include/gen/AudioEffectNotchFilter.hpp | 36 + include/gen/AudioEffectPanner.hpp | 38 + include/gen/AudioEffectPhaser.hpp | 46 + include/gen/AudioEffectPitchShift.hpp | 38 + include/gen/AudioEffectReverb.hpp | 52 + include/gen/AudioEffectStereoEnhance.hpp | 42 + include/gen/AudioServer.hpp | 86 + include/gen/AudioStream.hpp | 34 + include/gen/AudioStreamOGGVorbis.hpp | 42 + include/gen/AudioStreamPlayback.hpp | 33 + include/gen/AudioStreamPlayer.hpp | 63 + include/gen/AudioStreamPlayer2D.hpp | 61 + include/gen/AudioStreamPlayer3D.hpp | 94 + include/gen/AudioStreamRandomPitch.hpp | 41 + include/gen/AudioStreamSample.hpp | 61 + include/gen/BackBufferCopy.hpp | 46 + include/gen/BakedLightmap.hpp | 77 + include/gen/BakedLightmapData.hpp | 54 + include/gen/BaseButton.hpp | 68 + include/gen/BitMap.hpp | 46 + include/gen/BitmapFont.hpp | 58 + include/gen/BoneAttachment.hpp | 38 + include/gen/BoxContainer.hpp | 42 + include/gen/BoxShape.hpp | 38 + include/gen/BulletPhysicsDirectBodyState.hpp | 33 + include/gen/BulletPhysicsServer.hpp | 33 + include/gen/Button.hpp | 53 + include/gen/ButtonGroup.hpp | 38 + include/gen/Camera.hpp | 86 + include/gen/Camera2D.hpp | 89 + include/gen/CanvasItem.hpp | 129 + include/gen/CanvasItemMaterial.hpp | 53 + include/gen/CanvasLayer.hpp | 54 + include/gen/CanvasModulate.hpp | 38 + include/gen/CapsuleMesh.hpp | 44 + include/gen/CapsuleShape.hpp | 40 + include/gen/CapsuleShape2D.hpp | 40 + include/gen/CenterContainer.hpp | 38 + include/gen/CheckBox.hpp | 36 + include/gen/CheckButton.hpp | 36 + include/gen/CircleShape2D.hpp | 38 + include/gen/ClassDB.hpp | 66 + include/gen/CollisionObject.hpp | 57 + include/gen/CollisionObject2D.hpp | 57 + include/gen/CollisionPolygon.hpp | 42 + include/gen/CollisionPolygon2D.hpp | 49 + include/gen/CollisionShape.hpp | 44 + include/gen/CollisionShape2D.hpp | 44 + include/gen/ColorPicker.hpp | 60 + include/gen/ColorPickerButton.hpp | 45 + include/gen/ColorRect.hpp | 38 + include/gen/ConcavePolygonShape.hpp | 38 + include/gen/ConcavePolygonShape2D.hpp | 38 + include/gen/ConeTwistJoint.hpp | 50 + include/gen/ConfigFile.hpp | 45 + include/gen/ConfirmationDialog.hpp | 38 + include/gen/Container.hpp | 42 + include/gen/Control.hpp | 229 + include/gen/ConvexPolygonShape.hpp | 38 + include/gen/ConvexPolygonShape2D.hpp | 39 + include/gen/CubeMap.hpp | 67 + include/gen/CubeMesh.hpp | 44 + include/gen/Curve.hpp | 68 + include/gen/Curve2D.hpp | 56 + include/gen/Curve3D.hpp | 59 + include/gen/CurveTexture.hpp | 41 + include/gen/CylinderMesh.hpp | 46 + include/gen/DampedSpringJoint2D.hpp | 44 + include/gen/DirectionalLight.hpp | 52 + include/gen/Directory.hpp | 54 + include/gen/DynamicFont.hpp | 58 + include/gen/DynamicFontData.hpp | 46 + include/gen/EditorExportPlugin.hpp | 46 + include/gen/EditorFileDialog.hpp | 105 + include/gen/EditorFileSystem.hpp | 42 + include/gen/EditorFileSystemDirectory.hpp | 49 + include/gen/EditorImportPlugin.hpp | 48 + include/gen/EditorInterface.hpp | 62 + include/gen/EditorPlugin.hpp | 118 + .../gen/EditorResourceConversionPlugin.hpp | 39 + include/gen/EditorResourcePreview.hpp | 43 + .../gen/EditorResourcePreviewGenerator.hpp | 41 + include/gen/EditorSceneImporter.hpp | 54 + include/gen/EditorScenePostImport.hpp | 38 + include/gen/EditorScript.hpp | 43 + include/gen/EditorSelection.hpp | 44 + include/gen/EditorSettings.hpp | 47 + include/gen/EditorSpatialGizmo.hpp | 54 + include/gen/EncodedObjectAsID.hpp | 38 + include/gen/Engine.hpp | 62 + include/gen/Environment.hpp | 218 + include/gen/File.hpp | 93 + include/gen/FileDialog.hpp | 87 + include/gen/Font.hpp | 41 + include/gen/FuncRef.hpp | 43 + include/gen/GDNative.hpp | 42 + include/gen/GDNativeLibrary.hpp | 49 + include/gen/GDScript.hpp | 42 + include/gen/GDScriptFunctionState.hpp | 39 + include/gen/GIProbe.hpp | 68 + include/gen/GIProbeData.hpp | 58 + include/gen/Generic6DOFJoint.hpp | 83 + include/gen/Geometry.hpp | 67 + include/gen/GeometryInstance.hpp | 61 + include/gen/GlobalConstants.hpp | 524 ++ include/gen/Gradient.hpp | 48 + include/gen/GradientTexture.hpp | 41 + include/gen/GraphEdit.hpp | 74 + include/gen/GraphNode.hpp | 76 + include/gen/GridContainer.hpp | 38 + include/gen/GridMap.hpp | 76 + include/gen/GrooveJoint2D.hpp | 40 + include/gen/HBoxContainer.hpp | 36 + include/gen/HScrollBar.hpp | 36 + include/gen/HSeparator.hpp | 36 + include/gen/HSlider.hpp | 36 + include/gen/HSplitContainer.hpp | 36 + include/gen/HTTPClient.hpp | 144 + include/gen/HTTPRequest.hpp | 66 + include/gen/HingeJoint.hpp | 60 + include/gen/IP.hpp | 67 + include/gen/IP_Unix.hpp | 33 + include/gen/Image.hpp | 147 + include/gen/ImageTexture.hpp | 55 + include/gen/ImmediateGeometry.hpp | 47 + include/gen/Input.hpp | 108 + include/gen/InputDefault.hpp | 33 + include/gen/InputEvent.hpp | 46 + include/gen/InputEventAction.hpp | 39 + include/gen/InputEventGesture.hpp | 35 + include/gen/InputEventJoypadButton.hpp | 41 + include/gen/InputEventJoypadMotion.hpp | 40 + include/gen/InputEventKey.hpp | 43 + include/gen/InputEventMagnifyGesture.hpp | 38 + include/gen/InputEventMouse.hpp | 39 + include/gen/InputEventMouseButton.hpp | 43 + include/gen/InputEventMouseMotion.hpp | 40 + include/gen/InputEventPanGesture.hpp | 38 + include/gen/InputEventScreenDrag.hpp | 44 + include/gen/InputEventScreenTouch.hpp | 41 + include/gen/InputEventWithModifiers.hpp | 43 + include/gen/InputMap.hpp | 56 + include/gen/InstancePlaceholder.hpp | 37 + include/gen/InterpolatedCamera.hpp | 44 + include/gen/ItemList.hpp | 108 + include/gen/JSON.hpp | 48 + include/gen/JSONParseResult.hpp | 44 + include/gen/JavaScript.hpp | 46 + include/gen/Joint.hpp | 41 + include/gen/Joint2D.hpp | 41 + include/gen/KinematicBody.hpp | 50 + include/gen/KinematicBody2D.hpp | 48 + include/gen/KinematicCollision.hpp | 48 + include/gen/KinematicCollision2D.hpp | 48 + include/gen/Label.hpp | 73 + include/gen/LargeTexture.hpp | 47 + include/gen/Light.hpp | 75 + include/gen/Light2D.hpp | 94 + include/gen/LightOccluder2D.hpp | 42 + include/gen/Line2D.hpp | 81 + include/gen/LineEdit.hpp | 90 + include/gen/LineShape2D.hpp | 40 + include/gen/LinkButton.hpp | 46 + include/gen/Listener.hpp | 40 + include/gen/MainLoop.hpp | 60 + include/gen/MarginContainer.hpp | 36 + include/gen/Marshalls.hpp | 51 + include/gen/Material.hpp | 40 + include/gen/MenuButton.hpp | 43 + include/gen/Mesh.hpp | 92 + include/gen/MeshDataTool.hpp | 76 + include/gen/MeshInstance.hpp | 48 + include/gen/MeshInstance2D.hpp | 44 + include/gen/MeshLibrary.hpp | 55 + include/gen/MobileVRInterface.hpp | 46 + include/gen/MultiMesh.hpp | 64 + include/gen/MultiMeshInstance.hpp | 39 + include/gen/Mutex.hpp | 39 + include/gen/NativeScript.hpp | 50 + include/gen/Navigation.hpp | 48 + include/gen/Navigation2D.hpp | 44 + include/gen/NavigationMesh.hpp | 83 + include/gen/NavigationMeshInstance.hpp | 41 + include/gen/NavigationPolygon.hpp | 54 + include/gen/NavigationPolygonInstance.hpp | 42 + include/gen/NetworkedMultiplayerENet.hpp | 50 + include/gen/NetworkedMultiplayerPeer.hpp | 55 + include/gen/NinePatchRect.hpp | 55 + include/gen/Node.hpp | 178 + include/gen/Node2D.hpp | 70 + include/gen/OS.hpp | 203 + include/gen/Object.hpp | 103 + include/gen/OccluderPolygon2D.hpp | 48 + include/gen/OmniLight.hpp | 49 + include/gen/OptionButton.hpp | 64 + include/gen/PCKPacker.hpp | 39 + include/gen/PHashTranslation.hpp | 38 + include/gen/PackedDataContainer.hpp | 43 + include/gen/PackedDataContainerRef.hpp | 38 + include/gen/PackedScene.hpp | 50 + include/gen/PacketPeer.hpp | 41 + include/gen/PacketPeerStream.hpp | 43 + include/gen/PacketPeerUDP.hpp | 43 + include/gen/Panel.hpp | 36 + include/gen/PanelContainer.hpp | 36 + include/gen/PanoramaSky.hpp | 39 + include/gen/ParallaxBackground.hpp | 49 + include/gen/ParallaxLayer.hpp | 42 + include/gen/Particles.hpp | 79 + include/gen/Particles2D.hpp | 81 + include/gen/ParticlesMaterial.hpp | 105 + include/gen/Path.hpp | 40 + include/gen/Path2D.hpp | 40 + include/gen/PathFollow.hpp | 57 + include/gen/PathFollow2D.hpp | 52 + include/gen/Performance.hpp | 76 + include/gen/Physics2DDirectBodyState.hpp | 62 + include/gen/Physics2DDirectBodyStateSW.hpp | 33 + include/gen/Physics2DDirectSpaceState.hpp | 40 + include/gen/Physics2DServer.hpp | 231 + include/gen/Physics2DServerSW.hpp | 33 + include/gen/Physics2DShapeQueryParameters.hpp | 50 + include/gen/Physics2DShapeQueryResult.hpp | 39 + include/gen/Physics2DTestMotionResult.hpp | 46 + include/gen/PhysicsBody.hpp | 46 + include/gen/PhysicsBody2D.hpp | 46 + include/gen/PhysicsDirectBodyState.hpp | 68 + include/gen/PhysicsDirectSpaceState.hpp | 39 + include/gen/PhysicsServer.hpp | 311 + include/gen/PhysicsShapeQueryParameters.hpp | 48 + include/gen/PhysicsShapeQueryResult.hpp | 39 + include/gen/PinJoint.hpp | 43 + include/gen/PinJoint2D.hpp | 38 + include/gen/PlaneMesh.hpp | 42 + include/gen/PlaneShape.hpp | 38 + include/gen/PluginScript.hpp | 36 + include/gen/Polygon2D.hpp | 65 + include/gen/PolygonPathFinder.hpp | 46 + include/gen/Popup.hpp | 44 + include/gen/PopupDialog.hpp | 36 + include/gen/PopupMenu.hpp | 90 + include/gen/PopupPanel.hpp | 36 + include/gen/Position2D.hpp | 36 + include/gen/Position3D.hpp | 36 + include/gen/PrimitiveMesh.hpp | 38 + include/gen/PrismMesh.hpp | 46 + include/gen/ProceduralSky.hpp | 80 + include/gen/ProgressBar.hpp | 38 + include/gen/ProjectSettings.hpp | 60 + include/gen/ProximityGroup.hpp | 49 + include/gen/ProxyTexture.hpp | 39 + include/gen/QuadMesh.hpp | 38 + include/gen/Range.hpp | 52 + include/gen/RayCast.hpp | 58 + include/gen/RayCast2D.hpp | 58 + include/gen/RayShape.hpp | 40 + include/gen/RayShape2D.hpp | 40 + include/gen/RectangleShape2D.hpp | 38 + include/gen/Reference.hpp | 39 + include/gen/ReferenceRect.hpp | 36 + include/gen/ReflectionProbe.hpp | 65 + include/gen/RegEx.hpp | 46 + include/gen/RegExMatch.hpp | 43 + include/gen/RemoteTransform.hpp | 46 + include/gen/RemoteTransform2D.hpp | 46 + include/gen/Resource.hpp | 50 + include/gen/ResourceImporter.hpp | 33 + include/gen/ResourceImporterOGGVorbis.hpp | 33 + include/gen/ResourceImporterTheora.hpp | 33 + include/gen/ResourceImporterWebm.hpp | 33 + include/gen/ResourceInteractiveLoader.hpp | 39 + include/gen/ResourceLoader.hpp | 53 + include/gen/ResourcePreloader.hpp | 45 + include/gen/ResourceSaver.hpp | 56 + include/gen/RichTextLabel.hpp | 112 + include/gen/RigidBody.hpp | 87 + include/gen/RigidBody2D.hpp | 98 + include/gen/SceneState.hpp | 59 + include/gen/SceneTree.hpp | 115 + include/gen/SceneTreeTimer.hpp | 35 + include/gen/Script.hpp | 45 + include/gen/ScriptEditor.hpp | 88 + include/gen/ScrollBar.hpp | 39 + include/gen/ScrollContainer.hpp | 48 + include/gen/SegmentShape2D.hpp | 40 + include/gen/Semaphore.hpp | 38 + include/gen/Separator.hpp | 33 + include/gen/Shader.hpp | 49 + include/gen/ShaderMaterial.hpp | 41 + include/gen/Shape.hpp | 33 + include/gen/Shape2D.hpp | 40 + include/gen/ShortCut.hpp | 42 + include/gen/Skeleton.hpp | 60 + include/gen/Sky.hpp | 46 + include/gen/Slider.hpp | 41 + include/gen/SliderJoint.hpp | 67 + include/gen/Spatial.hpp | 90 + include/gen/SpatialGizmo.hpp | 33 + include/gen/SpatialMaterial.hpp | 251 + include/gen/SpatialVelocityTracker.hpp | 41 + include/gen/SphereMesh.hpp | 46 + include/gen/SphereShape.hpp | 38 + include/gen/SpinBox.hpp | 50 + include/gen/SplitContainer.hpp | 47 + include/gen/SpotLight.hpp | 36 + include/gen/Sprite.hpp | 62 + include/gen/Sprite3D.hpp | 49 + include/gen/SpriteBase3D.hpp | 69 + include/gen/SpriteFrames.hpp | 56 + include/gen/StaticBody.hpp | 44 + include/gen/StaticBody2D.hpp | 44 + include/gen/StreamPeer.hpp | 65 + include/gen/StreamPeerBuffer.hpp | 45 + include/gen/StreamPeerSSL.hpp | 49 + include/gen/StreamPeerTCP.hpp | 50 + include/gen/StreamTexture.hpp | 38 + include/gen/StyleBox.hpp | 41 + include/gen/StyleBoxEmpty.hpp | 36 + include/gen/StyleBoxFlat.hpp | 66 + include/gen/StyleBoxLine.hpp | 44 + include/gen/StyleBoxTexture.hpp | 63 + include/gen/SurfaceTool.hpp | 61 + include/gen/TCP_Server.hpp | 41 + include/gen/TabContainer.hpp | 69 + include/gen/Tabs.hpp | 74 + include/gen/TextEdit.hpp | 132 + include/gen/Texture.hpp | 55 + include/gen/TextureButton.hpp | 64 + include/gen/TextureProgress.hpp | 63 + include/gen/TextureRect.hpp | 54 + include/gen/Theme.hpp | 70 + include/gen/Thread.hpp | 46 + include/gen/TileMap.hpp | 111 + include/gen/TileSet.hpp | 97 + include/gen/Timer.hpp | 55 + include/gen/ToolButton.hpp | 36 + include/gen/TouchScreenButton.hpp | 65 + include/gen/Translation.hpp | 45 + include/gen/TranslationServer.hpp | 53 + include/gen/Tree.hpp | 94 + include/gen/TreeItem.hpp | 110 + include/gen/TriangleMesh.hpp | 36 + include/gen/Tween.hpp | 90 + include/gen/UndoRedo.hpp | 61 + include/gen/VBoxContainer.hpp | 36 + include/gen/VScrollBar.hpp | 36 + include/gen/VSeparator.hpp | 36 + include/gen/VSlider.hpp | 36 + include/gen/VSplitContainer.hpp | 36 + include/gen/VehicleBody.hpp | 42 + include/gen/VehicleWheel.hpp | 60 + include/gen/VideoPlayer.hpp | 63 + include/gen/VideoStream.hpp | 33 + include/gen/VideoStreamTheora.hpp | 38 + include/gen/VideoStreamWebm.hpp | 38 + include/gen/Viewport.hpp | 163 + include/gen/ViewportContainer.hpp | 42 + include/gen/ViewportTexture.hpp | 38 + include/gen/VisibilityEnabler.hpp | 45 + include/gen/VisibilityEnabler2D.hpp | 49 + include/gen/VisibilityNotifier.hpp | 39 + include/gen/VisibilityNotifier2D.hpp | 39 + include/gen/VisualInstance.hpp | 39 + include/gen/VisualScript.hpp | 83 + include/gen/VisualScriptBasicTypeConstant.hpp | 41 + include/gen/VisualScriptBuiltinFunc.hpp | 105 + include/gen/VisualScriptClassConstant.hpp | 40 + include/gen/VisualScriptComment.hpp | 42 + include/gen/VisualScriptCondition.hpp | 36 + include/gen/VisualScriptConstant.hpp | 41 + include/gen/VisualScriptConstructor.hpp | 41 + include/gen/VisualScriptCustomNode.hpp | 61 + include/gen/VisualScriptDeconstruct.hpp | 41 + include/gen/VisualScriptEditor.hpp | 48 + include/gen/VisualScriptEmitSignal.hpp | 38 + include/gen/VisualScriptEngineSingleton.hpp | 38 + include/gen/VisualScriptExpression.hpp | 36 + include/gen/VisualScriptFunction.hpp | 36 + include/gen/VisualScriptFunctionCall.hpp | 74 + include/gen/VisualScriptFunctionState.hpp | 44 + include/gen/VisualScriptGlobalConstant.hpp | 38 + include/gen/VisualScriptIndexGet.hpp | 36 + include/gen/VisualScriptIndexSet.hpp | 36 + include/gen/VisualScriptInputAction.hpp | 47 + include/gen/VisualScriptIterator.hpp | 36 + include/gen/VisualScriptLocalVar.hpp | 41 + include/gen/VisualScriptLocalVarSet.hpp | 41 + include/gen/VisualScriptMathConstant.hpp | 50 + include/gen/VisualScriptNode.hpp | 40 + include/gen/VisualScriptOperator.hpp | 41 + include/gen/VisualScriptPreload.hpp | 39 + include/gen/VisualScriptPropertyGet.hpp | 59 + include/gen/VisualScriptPropertySet.hpp | 75 + include/gen/VisualScriptResourcePath.hpp | 38 + include/gen/VisualScriptReturn.hpp | 41 + include/gen/VisualScriptSceneNode.hpp | 38 + include/gen/VisualScriptSceneTree.hpp | 36 + include/gen/VisualScriptSelect.hpp | 39 + include/gen/VisualScriptSelf.hpp | 36 + include/gen/VisualScriptSequence.hpp | 38 + include/gen/VisualScriptSubCall.hpp | 37 + include/gen/VisualScriptSwitch.hpp | 36 + include/gen/VisualScriptTypeCast.hpp | 40 + include/gen/VisualScriptVariableGet.hpp | 38 + include/gen/VisualScriptVariableSet.hpp | 38 + include/gen/VisualScriptWhile.hpp | 36 + include/gen/VisualScriptYield.hpp | 46 + include/gen/VisualScriptYieldSignal.hpp | 50 + include/gen/VisualServer.hpp | 678 ++ include/gen/WeakRef.hpp | 37 + include/gen/WebSocketClient.hpp | 40 + include/gen/WebSocketMultiplayerPeer.hpp | 35 + include/gen/WebSocketPeer.hpp | 46 + include/gen/WebSocketServer.hpp | 40 + include/gen/WindowDialog.hpp | 45 + include/gen/World.hpp | 45 + include/gen/World2D.hpp | 40 + include/gen/WorldEnvironment.hpp | 39 + include/gen/XMLParser.hpp | 63 + include/gen/YSort.hpp | 38 + src/core/GodotGlobal.cpp | 52 +- src/core/Variant.cpp | 8 +- src/gen/ARVRAnchor.cpp | 79 + src/gen/ARVRCamera.cpp | 31 + src/gen/ARVRController.cpp | 111 + src/gen/ARVRInterface.cpp | 131 + src/gen/ARVRInterfaceGDNative.cpp | 31 + src/gen/ARVROrigin.cpp | 47 + src/gen/ARVRPositionalTracker.cpp | 159 + src/gen/ARVRServer.cpp | 165 + src/gen/AStar.cpp | 191 + src/gen/AcceptDialog.cpp | 130 + src/gen/AnimatedSprite.cpp | 192 + src/gen/AnimatedSprite3D.cpp | 128 + src/gen/Animation.cpp | 376 ++ src/gen/AnimationPlayer.cpp | 353 ++ src/gen/AnimationTreePlayer.cpp | 544 ++ src/gen/Area.cpp | 432 ++ src/gen/Area2D.cpp | 368 ++ src/gen/ArrayMesh.cpp | 232 + src/gen/AtlasTexture.cpp | 96 + src/gen/AudioBusLayout.cpp | 31 + src/gen/AudioEffect.cpp | 27 + src/gen/AudioEffectAmplify.cpp | 47 + src/gen/AudioEffectBandLimitFilter.cpp | 31 + src/gen/AudioEffectBandPassFilter.cpp | 31 + src/gen/AudioEffectChorus.cpp | 175 + src/gen/AudioEffectCompressor.cpp | 143 + src/gen/AudioEffectDelay.cpp | 239 + src/gen/AudioEffectDistortion.cpp | 111 + src/gen/AudioEffectEQ.cpp | 55 + src/gen/AudioEffectEQ10.cpp | 31 + src/gen/AudioEffectEQ21.cpp | 31 + src/gen/AudioEffectEQ6.cpp | 31 + src/gen/AudioEffectFilter.cpp | 95 + src/gen/AudioEffectHighPassFilter.cpp | 31 + src/gen/AudioEffectHighShelfFilter.cpp | 31 + src/gen/AudioEffectLimiter.cpp | 95 + src/gen/AudioEffectLowPassFilter.cpp | 31 + src/gen/AudioEffectLowShelfFilter.cpp | 31 + src/gen/AudioEffectNotchFilter.cpp | 31 + src/gen/AudioEffectPanner.cpp | 47 + src/gen/AudioEffectPhaser.cpp | 111 + src/gen/AudioEffectPitchShift.cpp | 47 + src/gen/AudioEffectReverb.cpp | 159 + src/gen/AudioEffectStereoEnhance.cpp | 79 + src/gen/AudioServer.cpp | 301 + src/gen/AudioStream.cpp | 35 + src/gen/AudioStreamOGGVorbis.cpp | 79 + src/gen/AudioStreamPlayback.cpp | 27 + src/gen/AudioStreamPlayer.cpp | 192 + src/gen/AudioStreamPlayer2D.cpp | 224 + src/gen/AudioStreamPlayer3D.cpp | 368 ++ src/gen/AudioStreamRandomPitch.cpp | 64 + src/gen/AudioStreamSample.cpp | 143 + src/gen/BackBufferCopy.cpp | 63 + src/gen/BakedLightmap.cpp | 209 + src/gen/BakedLightmapData.cpp | 168 + src/gen/BaseButton.cpp | 190 + src/gen/BitMap.cpp | 104 + src/gen/BitmapFont.cpp | 193 + src/gen/BoneAttachment.cpp | 47 + src/gen/BoxContainer.cpp | 51 + src/gen/BoxShape.cpp | 47 + src/gen/BulletPhysicsDirectBodyState.cpp | 27 + src/gen/BulletPhysicsServer.cpp | 27 + src/gen/Button.cpp | 112 + src/gen/ButtonGroup.cpp | 40 + src/gen/Camera.cpp | 312 + src/gen/Camera2D.cpp | 401 ++ src/gen/CanvasItem.cpp | 650 ++ src/gen/CanvasItemMaterial.cpp | 63 + src/gen/CanvasLayer.cpp | 154 + src/gen/CanvasModulate.cpp | 47 + src/gen/CapsuleMesh.cpp | 95 + src/gen/CapsuleShape.cpp | 63 + src/gen/CapsuleShape2D.cpp | 63 + src/gen/CenterContainer.cpp | 47 + src/gen/CheckBox.cpp | 31 + src/gen/CheckButton.cpp | 31 + src/gen/CircleShape2D.cpp | 47 + src/gen/ClassDB.cpp | 196 + src/gen/CollisionObject.cpp | 198 + src/gen/CollisionObject2D.cpp | 198 + src/gen/CollisionPolygon.cpp | 79 + src/gen/CollisionPolygon2D.cpp | 95 + src/gen/CollisionShape.cpp | 81 + src/gen/CollisionShape2D.cpp | 88 + src/gen/ColorPicker.cpp | 209 + src/gen/ColorPickerButton.cpp | 89 + src/gen/ColorRect.cpp | 47 + src/gen/ConcavePolygonShape.cpp | 47 + src/gen/ConcavePolygonShape2D.cpp | 47 + src/gen/ConeTwistJoint.cpp | 79 + src/gen/ConfigFile.cpp | 103 + src/gen/ConfirmationDialog.cpp | 40 + src/gen/Container.cpp | 64 + src/gen/Control.cpp | 911 +++ src/gen/ConvexPolygonShape.cpp | 47 + src/gen/ConvexPolygonShape2D.cpp | 55 + src/gen/CubeMap.cpp | 112 + src/gen/CubeMesh.cpp | 95 + src/gen/Curve.cpp | 239 + src/gen/Curve2D.cpp | 191 + src/gen/Curve3D.cpp | 215 + src/gen/CurveTexture.cpp | 64 + src/gen/CylinderMesh.cpp | 111 + src/gen/DampedSpringJoint2D.cpp | 95 + src/gen/DirectionalLight.cpp | 79 + src/gen/Directory.cpp | 175 + src/gen/DynamicFont.cpp | 152 + src/gen/DynamicFontData.cpp | 63 + src/gen/EditorExportPlugin.cpp | 111 + src/gen/EditorFileDialog.cpp | 426 ++ src/gen/EditorFileSystem.cpp | 92 + src/gen/EditorFileSystemDirectory.cpp | 128 + src/gen/EditorImportPlugin.cpp | 127 + src/gen/EditorInterface.cpp | 196 + src/gen/EditorPlugin.cpp | 414 ++ src/gen/EditorResourceConversionPlugin.cpp | 48 + src/gen/EditorResourcePreview.cpp | 79 + src/gen/EditorResourcePreviewGenerator.cpp | 57 + src/gen/EditorSceneImporter.cpp | 81 + src/gen/EditorScenePostImport.cpp | 40 + src/gen/EditorScript.cpp | 66 + src/gen/EditorSelection.cpp | 88 + src/gen/EditorSettings.cpp | 139 + src/gen/EditorSpatialGizmo.cpp | 140 + src/gen/EncodedObjectAsID.cpp | 47 + src/gen/Engine.cpp | 157 + src/gen/Environment.cpp | 1169 ++++ src/gen/File.cpp | 391 ++ src/gen/FileDialog.cpp | 321 + src/gen/Font.cpp | 91 + src/gen/FuncRef.cpp | 69 + src/gen/GDNative.cpp | 72 + src/gen/GDNativeLibrary.cpp | 128 + src/gen/GDScript.cpp | 65 + src/gen/GDScriptFunctionState.cpp | 64 + src/gen/GIProbe.cpp | 209 + src/gen/GIProbeData.cpp | 207 + src/gen/Generic6DOFJoint.cpp | 223 + src/gen/Geometry.cpp | 211 + src/gen/GeometryInstance.cpp | 156 + src/gen/GlobalConstants.cpp | 35 + src/gen/Gradient.cpp | 127 + src/gen/GradientTexture.cpp | 64 + src/gen/GraphEdit.cpp | 321 + src/gen/GraphNode.cpp | 289 + src/gen/GridContainer.cpp | 47 + src/gen/GridMap.cpp | 329 + src/gen/GrooveJoint2D.cpp | 63 + src/gen/HBoxContainer.cpp | 31 + src/gen/HScrollBar.cpp | 31 + src/gen/HSeparator.cpp | 31 + src/gen/HSlider.cpp | 31 + src/gen/HSplitContainer.cpp | 31 + src/gen/HTTPClient.cpp | 184 + src/gen/HTTPRequest.cpp | 151 + src/gen/HingeJoint.cpp | 95 + src/gen/IP.cpp | 91 + src/gen/IP_Unix.cpp | 27 + src/gen/Image.cpp | 408 ++ src/gen/ImageTexture.cpp | 120 + src/gen/ImmediateGeometry.cpp | 112 + src/gen/Input.cpp | 317 + src/gen/InputDefault.cpp | 27 + src/gen/InputEvent.cpp | 124 + src/gen/InputEventAction.cpp | 55 + src/gen/InputEventGesture.cpp | 43 + src/gen/InputEventJoypadButton.cpp | 71 + src/gen/InputEventJoypadMotion.cpp | 63 + src/gen/InputEventKey.cpp | 87 + src/gen/InputEventMagnifyGesture.cpp | 47 + src/gen/InputEventMouse.cpp | 75 + src/gen/InputEventMouseButton.cpp | 87 + src/gen/InputEventMouseMotion.cpp | 63 + src/gen/InputEventPanGesture.cpp | 47 + src/gen/InputEventScreenDrag.cpp | 95 + src/gen/InputEventScreenTouch.cpp | 71 + src/gen/InputEventWithModifiers.cpp | 107 + src/gen/InputMap.cpp | 116 + src/gen/InstancePlaceholder.cpp | 52 + src/gen/InterpolatedCamera.cpp | 88 + src/gen/ItemList.cpp | 514 ++ src/gen/JSON.cpp | 52 + src/gen/JSONParseResult.cpp | 95 + src/gen/JavaScript.cpp | 43 + src/gen/Joint.cpp | 91 + src/gen/Joint2D.cpp | 91 + src/gen/KinematicBody.cpp | 136 + src/gen/KinematicBody2D.cpp | 120 + src/gen/KinematicCollision.cpp | 120 + src/gen/KinematicCollision2D.cpp | 120 + src/gen/Label.cpp | 223 + src/gen/LargeTexture.cpp | 112 + src/gen/Light.cpp | 171 + src/gen/Light2D.cpp | 368 ++ src/gen/LightOccluder2D.cpp | 72 + src/gen/Line2D.cpp | 257 + src/gen/LineEdit.cpp | 313 + src/gen/LineShape2D.cpp | 63 + src/gen/LinkButton.cpp | 63 + src/gen/Listener.cpp | 63 + src/gen/MainLoop.cpp | 136 + src/gen/MarginContainer.cpp | 31 + src/gen/Marshalls.cpp | 83 + src/gen/Material.cpp | 60 + src/gen/MenuButton.cpp | 73 + src/gen/Mesh.cpp | 86 + src/gen/MeshDataTool.cpp | 337 + src/gen/MeshInstance.cpp | 113 + src/gen/MeshInstance2D.cpp | 81 + src/gen/MeshLibrary.cpp | 162 + src/gen/MobileVRInterface.cpp | 117 + src/gen/MultiMesh.cpp | 168 + src/gen/MultiMeshInstance.cpp | 48 + src/gen/Mutex.cpp | 55 + src/gen/NativeScript.cpp | 122 + src/gen/Navigation.cpp | 113 + src/gen/Navigation2D.cpp | 81 + src/gen/NavigationMesh.cpp | 376 ++ src/gen/NavigationMeshInstance.cpp | 64 + src/gen/NavigationPolygon.cpp | 175 + src/gen/NavigationPolygonInstance.cpp | 72 + src/gen/NetworkedMultiplayerENet.cpp | 79 + src/gen/NetworkedMultiplayerPeer.cpp | 99 + src/gen/NinePatchRect.cpp | 128 + src/gen/Node.cpp | 821 +++ src/gen/Node2D.cpp | 296 + src/gen/OS.cpp | 892 +++ src/gen/Object.cpp | 419 ++ src/gen/OccluderPolygon2D.cpp | 79 + src/gen/OmniLight.cpp | 63 + src/gen/OptionButton.cpp | 241 + src/gen/PCKPacker.cpp | 55 + src/gen/PHashTranslation.cpp | 40 + src/gen/PackedDataContainer.cpp | 87 + src/gen/PackedDataContainerRef.cpp | 67 + src/gen/PackedScene.cpp | 82 + src/gen/PacketPeer.cpp | 91 + src/gen/PacketPeerStream.cpp | 80 + src/gen/PacketPeerUDP.cpp | 87 + src/gen/Panel.cpp | 31 + src/gen/PanelContainer.cpp | 31 + src/gen/PanoramaSky.cpp | 48 + src/gen/ParallaxBackground.cpp | 135 + src/gen/ParallaxLayer.cpp | 79 + src/gen/Particles.cpp | 305 + src/gen/Particles2D.cpp | 337 + src/gen/ParticlesMaterial.cpp | 338 + src/gen/Path.cpp | 56 + src/gen/Path2D.cpp | 56 + src/gen/PathFollow.cpp | 143 + src/gen/PathFollow2D.cpp | 159 + src/gen/Performance.cpp | 43 + src/gen/Physics2DDirectBodyState.cpp | 245 + src/gen/Physics2DDirectBodyStateSW.cpp | 27 + src/gen/Physics2DDirectSpaceState.cpp | 76 + src/gen/Physics2DServer.cpp | 775 +++ src/gen/Physics2DServerSW.cpp | 27 + src/gen/Physics2DShapeQueryParameters.cpp | 136 + src/gen/Physics2DShapeQueryResult.cpp | 68 + src/gen/Physics2DTestMotionResult.cpp | 104 + src/gen/PhysicsBody.cpp | 124 + src/gen/PhysicsBody2D.cpp | 124 + src/gen/PhysicsDirectBodyState.cpp | 293 + src/gen/PhysicsDirectSpaceState.cpp | 68 + src/gen/PhysicsServer.cpp | 878 +++ src/gen/PhysicsShapeQueryParameters.cpp | 120 + src/gen/PhysicsShapeQueryResult.cpp | 68 + src/gen/PinJoint.cpp | 47 + src/gen/PinJoint2D.cpp | 47 + src/gen/PlaneMesh.cpp | 79 + src/gen/PlaneShape.cpp | 47 + src/gen/PluginScript.cpp | 31 + src/gen/Polygon2D.cpp | 256 + src/gen/PolygonPathFinder.cpp | 111 + src/gen/Popup.cpp | 79 + src/gen/PopupDialog.cpp | 31 + src/gen/PopupMenu.cpp | 442 ++ src/gen/PopupPanel.cpp | 31 + src/gen/Position2D.cpp | 31 + src/gen/Position3D.cpp | 31 + src/gen/PrimitiveMesh.cpp | 60 + src/gen/PrismMesh.cpp | 111 + src/gen/ProceduralSky.cpp | 304 + src/gen/ProgressBar.cpp | 47 + src/gen/ProjectSettings.cpp | 155 + src/gen/ProximityGroup.cpp | 95 + src/gen/ProxyTexture.cpp | 48 + src/gen/QuadMesh.cpp | 47 + src/gen/Range.cpp | 172 + src/gen/RayCast.cpp | 200 + src/gen/RayCast2D.cpp | 200 + src/gen/RayShape.cpp | 63 + src/gen/RayShape2D.cpp | 63 + src/gen/RectangleShape2D.cpp | 47 + src/gen/Reference.cpp | 55 + src/gen/ReferenceRect.cpp | 31 + src/gen/ReflectionProbe.cpp | 223 + src/gen/RegEx.cpp | 104 + src/gen/RegExMatch.cpp | 87 + src/gen/RemoteTransform.cpp | 111 + src/gen/RemoteTransform2D.cpp | 111 + src/gen/Resource.cpp | 129 + src/gen/ResourceImporter.cpp | 27 + src/gen/ResourceImporterOGGVorbis.cpp | 27 + src/gen/ResourceImporterTheora.cpp | 27 + src/gen/ResourceImporterWebm.cpp | 27 + src/gen/ResourceInteractiveLoader.cpp | 68 + src/gen/ResourceLoader.cpp | 85 + src/gen/ResourcePreloader.cpp | 96 + src/gen/ResourceSaver.cpp | 52 + src/gen/RichTextLabel.cpp | 411 ++ src/gen/RigidBody.cpp | 369 ++ src/gen/RigidBody2D.cpp | 410 ++ src/gen/SceneState.cpp | 188 + src/gen/SceneTree.cpp | 477 ++ src/gen/SceneTreeTimer.cpp | 43 + src/gen/Script.cpp | 109 + src/gen/ScriptEditor.cpp | 432 ++ src/gen/ScrollBar.cpp | 68 + src/gen/ScrollContainer.cpp | 120 + src/gen/SegmentShape2D.cpp | 63 + src/gen/Semaphore.cpp | 47 + src/gen/Separator.cpp | 27 + src/gen/Shader.cpp | 80 + src/gen/ShaderMaterial.cpp | 64 + src/gen/Shape.cpp | 27 + src/gen/Shape2D.cpp | 76 + src/gen/ShortCut.cpp | 72 + src/gen/Skeleton.cpp | 208 + src/gen/Sky.cpp | 43 + src/gen/Slider.cpp | 84 + src/gen/SliderJoint.cpp | 79 + src/gen/Spatial.cpp | 410 ++ src/gen/SpatialGizmo.cpp | 27 + src/gen/SpatialMaterial.cpp | 912 +++ src/gen/SpatialVelocityTracker.cpp | 71 + src/gen/SphereMesh.cpp | 111 + src/gen/SphereShape.cpp | 47 + src/gen/SpinBox.cpp | 129 + src/gen/SplitContainer.cpp | 84 + src/gen/SpotLight.cpp | 31 + src/gen/Sprite.cpp | 232 + src/gen/Sprite3D.cpp | 128 + src/gen/SpriteBase3D.cpp | 211 + src/gen/SpriteFrames.cpp | 184 + src/gen/StaticBody.cpp | 95 + src/gen/StaticBody2D.cpp | 95 + src/gen/StreamPeer.cpp | 283 + src/gen/StreamPeerBuffer.cpp | 96 + src/gen/StreamPeerSSL.cpp | 72 + src/gen/StreamPeerTCP.cpp | 87 + src/gen/StreamTexture.cpp | 47 + src/gen/StyleBox.cpp | 91 + src/gen/StyleBoxEmpty.cpp | 31 + src/gen/StyleBoxFlat.cpp | 271 + src/gen/StyleBoxLine.cpp | 95 + src/gen/StyleBoxTexture.cpp | 192 + src/gen/SurfaceTool.cpp | 210 + src/gen/TCP_Server.cpp | 64 + src/gen/TabContainer.cpp | 212 + src/gen/Tabs.cpp | 217 + src/gen/TextEdit.cpp | 673 ++ src/gen/Texture.cpp | 109 + src/gen/TextureButton.cpp | 161 + src/gen/TextureProgress.cpp | 176 + src/gen/TextureRect.cpp | 80 + src/gen/Theme.cpp | 282 + src/gen/Thread.cpp | 64 + src/gen/TileMap.cpp | 488 ++ src/gen/TileSet.cpp | 357 ++ src/gen/Timer.cpp | 143 + src/gen/ToolButton.cpp | 31 + src/gen/TouchScreenButton.cpp | 195 + src/gen/Translation.cpp | 103 + src/gen/TranslationServer.cpp | 92 + src/gen/Tree.cpp | 386 ++ src/gen/TreeItem.cpp | 510 ++ src/gen/TriangleMesh.cpp | 31 + src/gen/Tween.cpp | 264 + src/gen/UndoRedo.cpp | 180 + src/gen/VBoxContainer.cpp | 31 + src/gen/VScrollBar.cpp | 31 + src/gen/VSeparator.cpp | 31 + src/gen/VSlider.cpp | 31 + src/gen/VSplitContainer.cpp | 31 + src/gen/VehicleBody.cpp | 79 + src/gen/VehicleWheel.cpp | 223 + src/gen/VideoPlayer.cpp | 233 + src/gen/VideoStream.cpp | 27 + src/gen/VideoStreamTheora.cpp | 47 + src/gen/VideoStreamWebm.cpp | 47 + src/gen/Viewport.cpp | 612 ++ src/gen/ViewportContainer.cpp | 72 + src/gen/ViewportTexture.cpp | 47 + src/gen/VisibilityEnabler.cpp | 56 + src/gen/VisibilityEnabler2D.cpp | 56 + src/gen/VisibilityNotifier.cpp | 55 + src/gen/VisibilityNotifier2D.cpp | 55 + src/gen/VisualInstance.cpp | 75 + src/gen/VisualScript.cpp | 392 ++ src/gen/VisualScriptBasicTypeConstant.cpp | 63 + src/gen/VisualScriptBuiltinFunc.cpp | 47 + src/gen/VisualScriptClassConstant.cpp | 63 + src/gen/VisualScriptComment.cpp | 79 + src/gen/VisualScriptCondition.cpp | 31 + src/gen/VisualScriptConstant.cpp | 63 + src/gen/VisualScriptConstructor.cpp | 63 + src/gen/VisualScriptCustomNode.cpp | 151 + src/gen/VisualScriptDeconstruct.cpp | 63 + src/gen/VisualScriptEditor.cpp | 52 + src/gen/VisualScriptEmitSignal.cpp | 47 + src/gen/VisualScriptEngineSingleton.cpp | 47 + src/gen/VisualScriptExpression.cpp | 31 + src/gen/VisualScriptFunction.cpp | 31 + src/gen/VisualScriptFunctionCall.cpp | 207 + src/gen/VisualScriptFunctionState.cpp | 77 + src/gen/VisualScriptGlobalConstant.cpp | 47 + src/gen/VisualScriptIndexGet.cpp | 31 + src/gen/VisualScriptIndexSet.cpp | 31 + src/gen/VisualScriptInputAction.cpp | 63 + src/gen/VisualScriptIterator.cpp | 31 + src/gen/VisualScriptLocalVar.cpp | 63 + src/gen/VisualScriptLocalVarSet.cpp | 63 + src/gen/VisualScriptMathConstant.cpp | 47 + src/gen/VisualScriptNode.cpp | 76 + src/gen/VisualScriptOperator.cpp | 63 + src/gen/VisualScriptPreload.cpp | 48 + src/gen/VisualScriptPropertyGet.cpp | 159 + src/gen/VisualScriptPropertySet.cpp | 175 + src/gen/VisualScriptResourcePath.cpp | 47 + src/gen/VisualScriptReturn.cpp | 63 + src/gen/VisualScriptSceneNode.cpp | 47 + src/gen/VisualScriptSceneTree.cpp | 31 + src/gen/VisualScriptSelect.cpp | 47 + src/gen/VisualScriptSelf.cpp | 31 + src/gen/VisualScriptSequence.cpp | 47 + src/gen/VisualScriptSubCall.cpp | 39 + src/gen/VisualScriptSwitch.cpp | 31 + src/gen/VisualScriptTypeCast.cpp | 63 + src/gen/VisualScriptVariableGet.cpp | 47 + src/gen/VisualScriptVariableSet.cpp | 47 + src/gen/VisualScriptWhile.cpp | 31 + src/gen/VisualScriptYield.cpp | 63 + src/gen/VisualScriptYieldSignal.cpp | 95 + src/gen/VisualServer.cpp | 2797 ++++++++ src/gen/WeakRef.cpp | 39 + src/gen/WebSocketClient.cpp | 63 + src/gen/WebSocketMultiplayerPeer.cpp | 36 + src/gen/WebSocketPeer.cpp | 71 + src/gen/WebSocketServer.cpp | 63 + src/gen/WindowDialog.cpp | 89 + src/gen/World.cpp | 89 + src/gen/World2D.cpp | 56 + src/gen/WorldEnvironment.cpp | 48 + src/gen/XMLParser.cpp | 167 + src/gen/YSort.cpp | 47 + src/gen/__icalls.cpp | 5619 +++++++++++++++++ src/gen/__icalls.hpp | 589 ++ src/gen/__register_types.cpp | 924 +++ 926 files changed, 97309 insertions(+), 68 deletions(-) create mode 100644 include/gen/ARVRAnchor.hpp create mode 100644 include/gen/ARVRCamera.hpp create mode 100644 include/gen/ARVRController.hpp create mode 100644 include/gen/ARVRInterface.hpp create mode 100644 include/gen/ARVRInterfaceGDNative.hpp create mode 100644 include/gen/ARVROrigin.hpp create mode 100644 include/gen/ARVRPositionalTracker.hpp create mode 100644 include/gen/ARVRServer.hpp create mode 100644 include/gen/AStar.hpp create mode 100644 include/gen/AcceptDialog.hpp create mode 100644 include/gen/AnimatedSprite.hpp create mode 100644 include/gen/AnimatedSprite3D.hpp create mode 100644 include/gen/Animation.hpp create mode 100644 include/gen/AnimationPlayer.hpp create mode 100644 include/gen/AnimationTreePlayer.hpp create mode 100644 include/gen/Area.hpp create mode 100644 include/gen/Area2D.hpp create mode 100644 include/gen/ArrayMesh.hpp create mode 100644 include/gen/AtlasTexture.hpp create mode 100644 include/gen/AudioBusLayout.hpp create mode 100644 include/gen/AudioEffect.hpp create mode 100644 include/gen/AudioEffectAmplify.hpp create mode 100644 include/gen/AudioEffectBandLimitFilter.hpp create mode 100644 include/gen/AudioEffectBandPassFilter.hpp create mode 100644 include/gen/AudioEffectChorus.hpp create mode 100644 include/gen/AudioEffectCompressor.hpp create mode 100644 include/gen/AudioEffectDelay.hpp create mode 100644 include/gen/AudioEffectDistortion.hpp create mode 100644 include/gen/AudioEffectEQ.hpp create mode 100644 include/gen/AudioEffectEQ10.hpp create mode 100644 include/gen/AudioEffectEQ21.hpp create mode 100644 include/gen/AudioEffectEQ6.hpp create mode 100644 include/gen/AudioEffectFilter.hpp create mode 100644 include/gen/AudioEffectHighPassFilter.hpp create mode 100644 include/gen/AudioEffectHighShelfFilter.hpp create mode 100644 include/gen/AudioEffectLimiter.hpp create mode 100644 include/gen/AudioEffectLowPassFilter.hpp create mode 100644 include/gen/AudioEffectLowShelfFilter.hpp create mode 100644 include/gen/AudioEffectNotchFilter.hpp create mode 100644 include/gen/AudioEffectPanner.hpp create mode 100644 include/gen/AudioEffectPhaser.hpp create mode 100644 include/gen/AudioEffectPitchShift.hpp create mode 100644 include/gen/AudioEffectReverb.hpp create mode 100644 include/gen/AudioEffectStereoEnhance.hpp create mode 100644 include/gen/AudioServer.hpp create mode 100644 include/gen/AudioStream.hpp create mode 100644 include/gen/AudioStreamOGGVorbis.hpp create mode 100644 include/gen/AudioStreamPlayback.hpp create mode 100644 include/gen/AudioStreamPlayer.hpp create mode 100644 include/gen/AudioStreamPlayer2D.hpp create mode 100644 include/gen/AudioStreamPlayer3D.hpp create mode 100644 include/gen/AudioStreamRandomPitch.hpp create mode 100644 include/gen/AudioStreamSample.hpp create mode 100644 include/gen/BackBufferCopy.hpp create mode 100644 include/gen/BakedLightmap.hpp create mode 100644 include/gen/BakedLightmapData.hpp create mode 100644 include/gen/BaseButton.hpp create mode 100644 include/gen/BitMap.hpp create mode 100644 include/gen/BitmapFont.hpp create mode 100644 include/gen/BoneAttachment.hpp create mode 100644 include/gen/BoxContainer.hpp create mode 100644 include/gen/BoxShape.hpp create mode 100644 include/gen/BulletPhysicsDirectBodyState.hpp create mode 100644 include/gen/BulletPhysicsServer.hpp create mode 100644 include/gen/Button.hpp create mode 100644 include/gen/ButtonGroup.hpp create mode 100644 include/gen/Camera.hpp create mode 100644 include/gen/Camera2D.hpp create mode 100644 include/gen/CanvasItem.hpp create mode 100644 include/gen/CanvasItemMaterial.hpp create mode 100644 include/gen/CanvasLayer.hpp create mode 100644 include/gen/CanvasModulate.hpp create mode 100644 include/gen/CapsuleMesh.hpp create mode 100644 include/gen/CapsuleShape.hpp create mode 100644 include/gen/CapsuleShape2D.hpp create mode 100644 include/gen/CenterContainer.hpp create mode 100644 include/gen/CheckBox.hpp create mode 100644 include/gen/CheckButton.hpp create mode 100644 include/gen/CircleShape2D.hpp create mode 100644 include/gen/ClassDB.hpp create mode 100644 include/gen/CollisionObject.hpp create mode 100644 include/gen/CollisionObject2D.hpp create mode 100644 include/gen/CollisionPolygon.hpp create mode 100644 include/gen/CollisionPolygon2D.hpp create mode 100644 include/gen/CollisionShape.hpp create mode 100644 include/gen/CollisionShape2D.hpp create mode 100644 include/gen/ColorPicker.hpp create mode 100644 include/gen/ColorPickerButton.hpp create mode 100644 include/gen/ColorRect.hpp create mode 100644 include/gen/ConcavePolygonShape.hpp create mode 100644 include/gen/ConcavePolygonShape2D.hpp create mode 100644 include/gen/ConeTwistJoint.hpp create mode 100644 include/gen/ConfigFile.hpp create mode 100644 include/gen/ConfirmationDialog.hpp create mode 100644 include/gen/Container.hpp create mode 100644 include/gen/Control.hpp create mode 100644 include/gen/ConvexPolygonShape.hpp create mode 100644 include/gen/ConvexPolygonShape2D.hpp create mode 100644 include/gen/CubeMap.hpp create mode 100644 include/gen/CubeMesh.hpp create mode 100644 include/gen/Curve.hpp create mode 100644 include/gen/Curve2D.hpp create mode 100644 include/gen/Curve3D.hpp create mode 100644 include/gen/CurveTexture.hpp create mode 100644 include/gen/CylinderMesh.hpp create mode 100644 include/gen/DampedSpringJoint2D.hpp create mode 100644 include/gen/DirectionalLight.hpp create mode 100644 include/gen/Directory.hpp create mode 100644 include/gen/DynamicFont.hpp create mode 100644 include/gen/DynamicFontData.hpp create mode 100644 include/gen/EditorExportPlugin.hpp create mode 100644 include/gen/EditorFileDialog.hpp create mode 100644 include/gen/EditorFileSystem.hpp create mode 100644 include/gen/EditorFileSystemDirectory.hpp create mode 100644 include/gen/EditorImportPlugin.hpp create mode 100644 include/gen/EditorInterface.hpp create mode 100644 include/gen/EditorPlugin.hpp create mode 100644 include/gen/EditorResourceConversionPlugin.hpp create mode 100644 include/gen/EditorResourcePreview.hpp create mode 100644 include/gen/EditorResourcePreviewGenerator.hpp create mode 100644 include/gen/EditorSceneImporter.hpp create mode 100644 include/gen/EditorScenePostImport.hpp create mode 100644 include/gen/EditorScript.hpp create mode 100644 include/gen/EditorSelection.hpp create mode 100644 include/gen/EditorSettings.hpp create mode 100644 include/gen/EditorSpatialGizmo.hpp create mode 100644 include/gen/EncodedObjectAsID.hpp create mode 100644 include/gen/Engine.hpp create mode 100644 include/gen/Environment.hpp create mode 100644 include/gen/File.hpp create mode 100644 include/gen/FileDialog.hpp create mode 100644 include/gen/Font.hpp create mode 100644 include/gen/FuncRef.hpp create mode 100644 include/gen/GDNative.hpp create mode 100644 include/gen/GDNativeLibrary.hpp create mode 100644 include/gen/GDScript.hpp create mode 100644 include/gen/GDScriptFunctionState.hpp create mode 100644 include/gen/GIProbe.hpp create mode 100644 include/gen/GIProbeData.hpp create mode 100644 include/gen/Generic6DOFJoint.hpp create mode 100644 include/gen/Geometry.hpp create mode 100644 include/gen/GeometryInstance.hpp create mode 100644 include/gen/GlobalConstants.hpp create mode 100644 include/gen/Gradient.hpp create mode 100644 include/gen/GradientTexture.hpp create mode 100644 include/gen/GraphEdit.hpp create mode 100644 include/gen/GraphNode.hpp create mode 100644 include/gen/GridContainer.hpp create mode 100644 include/gen/GridMap.hpp create mode 100644 include/gen/GrooveJoint2D.hpp create mode 100644 include/gen/HBoxContainer.hpp create mode 100644 include/gen/HScrollBar.hpp create mode 100644 include/gen/HSeparator.hpp create mode 100644 include/gen/HSlider.hpp create mode 100644 include/gen/HSplitContainer.hpp create mode 100644 include/gen/HTTPClient.hpp create mode 100644 include/gen/HTTPRequest.hpp create mode 100644 include/gen/HingeJoint.hpp create mode 100644 include/gen/IP.hpp create mode 100644 include/gen/IP_Unix.hpp create mode 100644 include/gen/Image.hpp create mode 100644 include/gen/ImageTexture.hpp create mode 100644 include/gen/ImmediateGeometry.hpp create mode 100644 include/gen/Input.hpp create mode 100644 include/gen/InputDefault.hpp create mode 100644 include/gen/InputEvent.hpp create mode 100644 include/gen/InputEventAction.hpp create mode 100644 include/gen/InputEventGesture.hpp create mode 100644 include/gen/InputEventJoypadButton.hpp create mode 100644 include/gen/InputEventJoypadMotion.hpp create mode 100644 include/gen/InputEventKey.hpp create mode 100644 include/gen/InputEventMagnifyGesture.hpp create mode 100644 include/gen/InputEventMouse.hpp create mode 100644 include/gen/InputEventMouseButton.hpp create mode 100644 include/gen/InputEventMouseMotion.hpp create mode 100644 include/gen/InputEventPanGesture.hpp create mode 100644 include/gen/InputEventScreenDrag.hpp create mode 100644 include/gen/InputEventScreenTouch.hpp create mode 100644 include/gen/InputEventWithModifiers.hpp create mode 100644 include/gen/InputMap.hpp create mode 100644 include/gen/InstancePlaceholder.hpp create mode 100644 include/gen/InterpolatedCamera.hpp create mode 100644 include/gen/ItemList.hpp create mode 100644 include/gen/JSON.hpp create mode 100644 include/gen/JSONParseResult.hpp create mode 100644 include/gen/JavaScript.hpp create mode 100644 include/gen/Joint.hpp create mode 100644 include/gen/Joint2D.hpp create mode 100644 include/gen/KinematicBody.hpp create mode 100644 include/gen/KinematicBody2D.hpp create mode 100644 include/gen/KinematicCollision.hpp create mode 100644 include/gen/KinematicCollision2D.hpp create mode 100644 include/gen/Label.hpp create mode 100644 include/gen/LargeTexture.hpp create mode 100644 include/gen/Light.hpp create mode 100644 include/gen/Light2D.hpp create mode 100644 include/gen/LightOccluder2D.hpp create mode 100644 include/gen/Line2D.hpp create mode 100644 include/gen/LineEdit.hpp create mode 100644 include/gen/LineShape2D.hpp create mode 100644 include/gen/LinkButton.hpp create mode 100644 include/gen/Listener.hpp create mode 100644 include/gen/MainLoop.hpp create mode 100644 include/gen/MarginContainer.hpp create mode 100644 include/gen/Marshalls.hpp create mode 100644 include/gen/Material.hpp create mode 100644 include/gen/MenuButton.hpp create mode 100644 include/gen/Mesh.hpp create mode 100644 include/gen/MeshDataTool.hpp create mode 100644 include/gen/MeshInstance.hpp create mode 100644 include/gen/MeshInstance2D.hpp create mode 100644 include/gen/MeshLibrary.hpp create mode 100644 include/gen/MobileVRInterface.hpp create mode 100644 include/gen/MultiMesh.hpp create mode 100644 include/gen/MultiMeshInstance.hpp create mode 100644 include/gen/Mutex.hpp create mode 100644 include/gen/NativeScript.hpp create mode 100644 include/gen/Navigation.hpp create mode 100644 include/gen/Navigation2D.hpp create mode 100644 include/gen/NavigationMesh.hpp create mode 100644 include/gen/NavigationMeshInstance.hpp create mode 100644 include/gen/NavigationPolygon.hpp create mode 100644 include/gen/NavigationPolygonInstance.hpp create mode 100644 include/gen/NetworkedMultiplayerENet.hpp create mode 100644 include/gen/NetworkedMultiplayerPeer.hpp create mode 100644 include/gen/NinePatchRect.hpp create mode 100644 include/gen/Node.hpp create mode 100644 include/gen/Node2D.hpp create mode 100644 include/gen/OS.hpp create mode 100644 include/gen/Object.hpp create mode 100644 include/gen/OccluderPolygon2D.hpp create mode 100644 include/gen/OmniLight.hpp create mode 100644 include/gen/OptionButton.hpp create mode 100644 include/gen/PCKPacker.hpp create mode 100644 include/gen/PHashTranslation.hpp create mode 100644 include/gen/PackedDataContainer.hpp create mode 100644 include/gen/PackedDataContainerRef.hpp create mode 100644 include/gen/PackedScene.hpp create mode 100644 include/gen/PacketPeer.hpp create mode 100644 include/gen/PacketPeerStream.hpp create mode 100644 include/gen/PacketPeerUDP.hpp create mode 100644 include/gen/Panel.hpp create mode 100644 include/gen/PanelContainer.hpp create mode 100644 include/gen/PanoramaSky.hpp create mode 100644 include/gen/ParallaxBackground.hpp create mode 100644 include/gen/ParallaxLayer.hpp create mode 100644 include/gen/Particles.hpp create mode 100644 include/gen/Particles2D.hpp create mode 100644 include/gen/ParticlesMaterial.hpp create mode 100644 include/gen/Path.hpp create mode 100644 include/gen/Path2D.hpp create mode 100644 include/gen/PathFollow.hpp create mode 100644 include/gen/PathFollow2D.hpp create mode 100644 include/gen/Performance.hpp create mode 100644 include/gen/Physics2DDirectBodyState.hpp create mode 100644 include/gen/Physics2DDirectBodyStateSW.hpp create mode 100644 include/gen/Physics2DDirectSpaceState.hpp create mode 100644 include/gen/Physics2DServer.hpp create mode 100644 include/gen/Physics2DServerSW.hpp create mode 100644 include/gen/Physics2DShapeQueryParameters.hpp create mode 100644 include/gen/Physics2DShapeQueryResult.hpp create mode 100644 include/gen/Physics2DTestMotionResult.hpp create mode 100644 include/gen/PhysicsBody.hpp create mode 100644 include/gen/PhysicsBody2D.hpp create mode 100644 include/gen/PhysicsDirectBodyState.hpp create mode 100644 include/gen/PhysicsDirectSpaceState.hpp create mode 100644 include/gen/PhysicsServer.hpp create mode 100644 include/gen/PhysicsShapeQueryParameters.hpp create mode 100644 include/gen/PhysicsShapeQueryResult.hpp create mode 100644 include/gen/PinJoint.hpp create mode 100644 include/gen/PinJoint2D.hpp create mode 100644 include/gen/PlaneMesh.hpp create mode 100644 include/gen/PlaneShape.hpp create mode 100644 include/gen/PluginScript.hpp create mode 100644 include/gen/Polygon2D.hpp create mode 100644 include/gen/PolygonPathFinder.hpp create mode 100644 include/gen/Popup.hpp create mode 100644 include/gen/PopupDialog.hpp create mode 100644 include/gen/PopupMenu.hpp create mode 100644 include/gen/PopupPanel.hpp create mode 100644 include/gen/Position2D.hpp create mode 100644 include/gen/Position3D.hpp create mode 100644 include/gen/PrimitiveMesh.hpp create mode 100644 include/gen/PrismMesh.hpp create mode 100644 include/gen/ProceduralSky.hpp create mode 100644 include/gen/ProgressBar.hpp create mode 100644 include/gen/ProjectSettings.hpp create mode 100644 include/gen/ProximityGroup.hpp create mode 100644 include/gen/ProxyTexture.hpp create mode 100644 include/gen/QuadMesh.hpp create mode 100644 include/gen/Range.hpp create mode 100644 include/gen/RayCast.hpp create mode 100644 include/gen/RayCast2D.hpp create mode 100644 include/gen/RayShape.hpp create mode 100644 include/gen/RayShape2D.hpp create mode 100644 include/gen/RectangleShape2D.hpp create mode 100644 include/gen/Reference.hpp create mode 100644 include/gen/ReferenceRect.hpp create mode 100644 include/gen/ReflectionProbe.hpp create mode 100644 include/gen/RegEx.hpp create mode 100644 include/gen/RegExMatch.hpp create mode 100644 include/gen/RemoteTransform.hpp create mode 100644 include/gen/RemoteTransform2D.hpp create mode 100644 include/gen/Resource.hpp create mode 100644 include/gen/ResourceImporter.hpp create mode 100644 include/gen/ResourceImporterOGGVorbis.hpp create mode 100644 include/gen/ResourceImporterTheora.hpp create mode 100644 include/gen/ResourceImporterWebm.hpp create mode 100644 include/gen/ResourceInteractiveLoader.hpp create mode 100644 include/gen/ResourceLoader.hpp create mode 100644 include/gen/ResourcePreloader.hpp create mode 100644 include/gen/ResourceSaver.hpp create mode 100644 include/gen/RichTextLabel.hpp create mode 100644 include/gen/RigidBody.hpp create mode 100644 include/gen/RigidBody2D.hpp create mode 100644 include/gen/SceneState.hpp create mode 100644 include/gen/SceneTree.hpp create mode 100644 include/gen/SceneTreeTimer.hpp create mode 100644 include/gen/Script.hpp create mode 100644 include/gen/ScriptEditor.hpp create mode 100644 include/gen/ScrollBar.hpp create mode 100644 include/gen/ScrollContainer.hpp create mode 100644 include/gen/SegmentShape2D.hpp create mode 100644 include/gen/Semaphore.hpp create mode 100644 include/gen/Separator.hpp create mode 100644 include/gen/Shader.hpp create mode 100644 include/gen/ShaderMaterial.hpp create mode 100644 include/gen/Shape.hpp create mode 100644 include/gen/Shape2D.hpp create mode 100644 include/gen/ShortCut.hpp create mode 100644 include/gen/Skeleton.hpp create mode 100644 include/gen/Sky.hpp create mode 100644 include/gen/Slider.hpp create mode 100644 include/gen/SliderJoint.hpp create mode 100644 include/gen/Spatial.hpp create mode 100644 include/gen/SpatialGizmo.hpp create mode 100644 include/gen/SpatialMaterial.hpp create mode 100644 include/gen/SpatialVelocityTracker.hpp create mode 100644 include/gen/SphereMesh.hpp create mode 100644 include/gen/SphereShape.hpp create mode 100644 include/gen/SpinBox.hpp create mode 100644 include/gen/SplitContainer.hpp create mode 100644 include/gen/SpotLight.hpp create mode 100644 include/gen/Sprite.hpp create mode 100644 include/gen/Sprite3D.hpp create mode 100644 include/gen/SpriteBase3D.hpp create mode 100644 include/gen/SpriteFrames.hpp create mode 100644 include/gen/StaticBody.hpp create mode 100644 include/gen/StaticBody2D.hpp create mode 100644 include/gen/StreamPeer.hpp create mode 100644 include/gen/StreamPeerBuffer.hpp create mode 100644 include/gen/StreamPeerSSL.hpp create mode 100644 include/gen/StreamPeerTCP.hpp create mode 100644 include/gen/StreamTexture.hpp create mode 100644 include/gen/StyleBox.hpp create mode 100644 include/gen/StyleBoxEmpty.hpp create mode 100644 include/gen/StyleBoxFlat.hpp create mode 100644 include/gen/StyleBoxLine.hpp create mode 100644 include/gen/StyleBoxTexture.hpp create mode 100644 include/gen/SurfaceTool.hpp create mode 100644 include/gen/TCP_Server.hpp create mode 100644 include/gen/TabContainer.hpp create mode 100644 include/gen/Tabs.hpp create mode 100644 include/gen/TextEdit.hpp create mode 100644 include/gen/Texture.hpp create mode 100644 include/gen/TextureButton.hpp create mode 100644 include/gen/TextureProgress.hpp create mode 100644 include/gen/TextureRect.hpp create mode 100644 include/gen/Theme.hpp create mode 100644 include/gen/Thread.hpp create mode 100644 include/gen/TileMap.hpp create mode 100644 include/gen/TileSet.hpp create mode 100644 include/gen/Timer.hpp create mode 100644 include/gen/ToolButton.hpp create mode 100644 include/gen/TouchScreenButton.hpp create mode 100644 include/gen/Translation.hpp create mode 100644 include/gen/TranslationServer.hpp create mode 100644 include/gen/Tree.hpp create mode 100644 include/gen/TreeItem.hpp create mode 100644 include/gen/TriangleMesh.hpp create mode 100644 include/gen/Tween.hpp create mode 100644 include/gen/UndoRedo.hpp create mode 100644 include/gen/VBoxContainer.hpp create mode 100644 include/gen/VScrollBar.hpp create mode 100644 include/gen/VSeparator.hpp create mode 100644 include/gen/VSlider.hpp create mode 100644 include/gen/VSplitContainer.hpp create mode 100644 include/gen/VehicleBody.hpp create mode 100644 include/gen/VehicleWheel.hpp create mode 100644 include/gen/VideoPlayer.hpp create mode 100644 include/gen/VideoStream.hpp create mode 100644 include/gen/VideoStreamTheora.hpp create mode 100644 include/gen/VideoStreamWebm.hpp create mode 100644 include/gen/Viewport.hpp create mode 100644 include/gen/ViewportContainer.hpp create mode 100644 include/gen/ViewportTexture.hpp create mode 100644 include/gen/VisibilityEnabler.hpp create mode 100644 include/gen/VisibilityEnabler2D.hpp create mode 100644 include/gen/VisibilityNotifier.hpp create mode 100644 include/gen/VisibilityNotifier2D.hpp create mode 100644 include/gen/VisualInstance.hpp create mode 100644 include/gen/VisualScript.hpp create mode 100644 include/gen/VisualScriptBasicTypeConstant.hpp create mode 100644 include/gen/VisualScriptBuiltinFunc.hpp create mode 100644 include/gen/VisualScriptClassConstant.hpp create mode 100644 include/gen/VisualScriptComment.hpp create mode 100644 include/gen/VisualScriptCondition.hpp create mode 100644 include/gen/VisualScriptConstant.hpp create mode 100644 include/gen/VisualScriptConstructor.hpp create mode 100644 include/gen/VisualScriptCustomNode.hpp create mode 100644 include/gen/VisualScriptDeconstruct.hpp create mode 100644 include/gen/VisualScriptEditor.hpp create mode 100644 include/gen/VisualScriptEmitSignal.hpp create mode 100644 include/gen/VisualScriptEngineSingleton.hpp create mode 100644 include/gen/VisualScriptExpression.hpp create mode 100644 include/gen/VisualScriptFunction.hpp create mode 100644 include/gen/VisualScriptFunctionCall.hpp create mode 100644 include/gen/VisualScriptFunctionState.hpp create mode 100644 include/gen/VisualScriptGlobalConstant.hpp create mode 100644 include/gen/VisualScriptIndexGet.hpp create mode 100644 include/gen/VisualScriptIndexSet.hpp create mode 100644 include/gen/VisualScriptInputAction.hpp create mode 100644 include/gen/VisualScriptIterator.hpp create mode 100644 include/gen/VisualScriptLocalVar.hpp create mode 100644 include/gen/VisualScriptLocalVarSet.hpp create mode 100644 include/gen/VisualScriptMathConstant.hpp create mode 100644 include/gen/VisualScriptNode.hpp create mode 100644 include/gen/VisualScriptOperator.hpp create mode 100644 include/gen/VisualScriptPreload.hpp create mode 100644 include/gen/VisualScriptPropertyGet.hpp create mode 100644 include/gen/VisualScriptPropertySet.hpp create mode 100644 include/gen/VisualScriptResourcePath.hpp create mode 100644 include/gen/VisualScriptReturn.hpp create mode 100644 include/gen/VisualScriptSceneNode.hpp create mode 100644 include/gen/VisualScriptSceneTree.hpp create mode 100644 include/gen/VisualScriptSelect.hpp create mode 100644 include/gen/VisualScriptSelf.hpp create mode 100644 include/gen/VisualScriptSequence.hpp create mode 100644 include/gen/VisualScriptSubCall.hpp create mode 100644 include/gen/VisualScriptSwitch.hpp create mode 100644 include/gen/VisualScriptTypeCast.hpp create mode 100644 include/gen/VisualScriptVariableGet.hpp create mode 100644 include/gen/VisualScriptVariableSet.hpp create mode 100644 include/gen/VisualScriptWhile.hpp create mode 100644 include/gen/VisualScriptYield.hpp create mode 100644 include/gen/VisualScriptYieldSignal.hpp create mode 100644 include/gen/VisualServer.hpp create mode 100644 include/gen/WeakRef.hpp create mode 100644 include/gen/WebSocketClient.hpp create mode 100644 include/gen/WebSocketMultiplayerPeer.hpp create mode 100644 include/gen/WebSocketPeer.hpp create mode 100644 include/gen/WebSocketServer.hpp create mode 100644 include/gen/WindowDialog.hpp create mode 100644 include/gen/World.hpp create mode 100644 include/gen/World2D.hpp create mode 100644 include/gen/WorldEnvironment.hpp create mode 100644 include/gen/XMLParser.hpp create mode 100644 include/gen/YSort.hpp create mode 100644 src/gen/ARVRAnchor.cpp create mode 100644 src/gen/ARVRCamera.cpp create mode 100644 src/gen/ARVRController.cpp create mode 100644 src/gen/ARVRInterface.cpp create mode 100644 src/gen/ARVRInterfaceGDNative.cpp create mode 100644 src/gen/ARVROrigin.cpp create mode 100644 src/gen/ARVRPositionalTracker.cpp create mode 100644 src/gen/ARVRServer.cpp create mode 100644 src/gen/AStar.cpp create mode 100644 src/gen/AcceptDialog.cpp create mode 100644 src/gen/AnimatedSprite.cpp create mode 100644 src/gen/AnimatedSprite3D.cpp create mode 100644 src/gen/Animation.cpp create mode 100644 src/gen/AnimationPlayer.cpp create mode 100644 src/gen/AnimationTreePlayer.cpp create mode 100644 src/gen/Area.cpp create mode 100644 src/gen/Area2D.cpp create mode 100644 src/gen/ArrayMesh.cpp create mode 100644 src/gen/AtlasTexture.cpp create mode 100644 src/gen/AudioBusLayout.cpp create mode 100644 src/gen/AudioEffect.cpp create mode 100644 src/gen/AudioEffectAmplify.cpp create mode 100644 src/gen/AudioEffectBandLimitFilter.cpp create mode 100644 src/gen/AudioEffectBandPassFilter.cpp create mode 100644 src/gen/AudioEffectChorus.cpp create mode 100644 src/gen/AudioEffectCompressor.cpp create mode 100644 src/gen/AudioEffectDelay.cpp create mode 100644 src/gen/AudioEffectDistortion.cpp create mode 100644 src/gen/AudioEffectEQ.cpp create mode 100644 src/gen/AudioEffectEQ10.cpp create mode 100644 src/gen/AudioEffectEQ21.cpp create mode 100644 src/gen/AudioEffectEQ6.cpp create mode 100644 src/gen/AudioEffectFilter.cpp create mode 100644 src/gen/AudioEffectHighPassFilter.cpp create mode 100644 src/gen/AudioEffectHighShelfFilter.cpp create mode 100644 src/gen/AudioEffectLimiter.cpp create mode 100644 src/gen/AudioEffectLowPassFilter.cpp create mode 100644 src/gen/AudioEffectLowShelfFilter.cpp create mode 100644 src/gen/AudioEffectNotchFilter.cpp create mode 100644 src/gen/AudioEffectPanner.cpp create mode 100644 src/gen/AudioEffectPhaser.cpp create mode 100644 src/gen/AudioEffectPitchShift.cpp create mode 100644 src/gen/AudioEffectReverb.cpp create mode 100644 src/gen/AudioEffectStereoEnhance.cpp create mode 100644 src/gen/AudioServer.cpp create mode 100644 src/gen/AudioStream.cpp create mode 100644 src/gen/AudioStreamOGGVorbis.cpp create mode 100644 src/gen/AudioStreamPlayback.cpp create mode 100644 src/gen/AudioStreamPlayer.cpp create mode 100644 src/gen/AudioStreamPlayer2D.cpp create mode 100644 src/gen/AudioStreamPlayer3D.cpp create mode 100644 src/gen/AudioStreamRandomPitch.cpp create mode 100644 src/gen/AudioStreamSample.cpp create mode 100644 src/gen/BackBufferCopy.cpp create mode 100644 src/gen/BakedLightmap.cpp create mode 100644 src/gen/BakedLightmapData.cpp create mode 100644 src/gen/BaseButton.cpp create mode 100644 src/gen/BitMap.cpp create mode 100644 src/gen/BitmapFont.cpp create mode 100644 src/gen/BoneAttachment.cpp create mode 100644 src/gen/BoxContainer.cpp create mode 100644 src/gen/BoxShape.cpp create mode 100644 src/gen/BulletPhysicsDirectBodyState.cpp create mode 100644 src/gen/BulletPhysicsServer.cpp create mode 100644 src/gen/Button.cpp create mode 100644 src/gen/ButtonGroup.cpp create mode 100644 src/gen/Camera.cpp create mode 100644 src/gen/Camera2D.cpp create mode 100644 src/gen/CanvasItem.cpp create mode 100644 src/gen/CanvasItemMaterial.cpp create mode 100644 src/gen/CanvasLayer.cpp create mode 100644 src/gen/CanvasModulate.cpp create mode 100644 src/gen/CapsuleMesh.cpp create mode 100644 src/gen/CapsuleShape.cpp create mode 100644 src/gen/CapsuleShape2D.cpp create mode 100644 src/gen/CenterContainer.cpp create mode 100644 src/gen/CheckBox.cpp create mode 100644 src/gen/CheckButton.cpp create mode 100644 src/gen/CircleShape2D.cpp create mode 100644 src/gen/ClassDB.cpp create mode 100644 src/gen/CollisionObject.cpp create mode 100644 src/gen/CollisionObject2D.cpp create mode 100644 src/gen/CollisionPolygon.cpp create mode 100644 src/gen/CollisionPolygon2D.cpp create mode 100644 src/gen/CollisionShape.cpp create mode 100644 src/gen/CollisionShape2D.cpp create mode 100644 src/gen/ColorPicker.cpp create mode 100644 src/gen/ColorPickerButton.cpp create mode 100644 src/gen/ColorRect.cpp create mode 100644 src/gen/ConcavePolygonShape.cpp create mode 100644 src/gen/ConcavePolygonShape2D.cpp create mode 100644 src/gen/ConeTwistJoint.cpp create mode 100644 src/gen/ConfigFile.cpp create mode 100644 src/gen/ConfirmationDialog.cpp create mode 100644 src/gen/Container.cpp create mode 100644 src/gen/Control.cpp create mode 100644 src/gen/ConvexPolygonShape.cpp create mode 100644 src/gen/ConvexPolygonShape2D.cpp create mode 100644 src/gen/CubeMap.cpp create mode 100644 src/gen/CubeMesh.cpp create mode 100644 src/gen/Curve.cpp create mode 100644 src/gen/Curve2D.cpp create mode 100644 src/gen/Curve3D.cpp create mode 100644 src/gen/CurveTexture.cpp create mode 100644 src/gen/CylinderMesh.cpp create mode 100644 src/gen/DampedSpringJoint2D.cpp create mode 100644 src/gen/DirectionalLight.cpp create mode 100644 src/gen/Directory.cpp create mode 100644 src/gen/DynamicFont.cpp create mode 100644 src/gen/DynamicFontData.cpp create mode 100644 src/gen/EditorExportPlugin.cpp create mode 100644 src/gen/EditorFileDialog.cpp create mode 100644 src/gen/EditorFileSystem.cpp create mode 100644 src/gen/EditorFileSystemDirectory.cpp create mode 100644 src/gen/EditorImportPlugin.cpp create mode 100644 src/gen/EditorInterface.cpp create mode 100644 src/gen/EditorPlugin.cpp create mode 100644 src/gen/EditorResourceConversionPlugin.cpp create mode 100644 src/gen/EditorResourcePreview.cpp create mode 100644 src/gen/EditorResourcePreviewGenerator.cpp create mode 100644 src/gen/EditorSceneImporter.cpp create mode 100644 src/gen/EditorScenePostImport.cpp create mode 100644 src/gen/EditorScript.cpp create mode 100644 src/gen/EditorSelection.cpp create mode 100644 src/gen/EditorSettings.cpp create mode 100644 src/gen/EditorSpatialGizmo.cpp create mode 100644 src/gen/EncodedObjectAsID.cpp create mode 100644 src/gen/Engine.cpp create mode 100644 src/gen/Environment.cpp create mode 100644 src/gen/File.cpp create mode 100644 src/gen/FileDialog.cpp create mode 100644 src/gen/Font.cpp create mode 100644 src/gen/FuncRef.cpp create mode 100644 src/gen/GDNative.cpp create mode 100644 src/gen/GDNativeLibrary.cpp create mode 100644 src/gen/GDScript.cpp create mode 100644 src/gen/GDScriptFunctionState.cpp create mode 100644 src/gen/GIProbe.cpp create mode 100644 src/gen/GIProbeData.cpp create mode 100644 src/gen/Generic6DOFJoint.cpp create mode 100644 src/gen/Geometry.cpp create mode 100644 src/gen/GeometryInstance.cpp create mode 100644 src/gen/GlobalConstants.cpp create mode 100644 src/gen/Gradient.cpp create mode 100644 src/gen/GradientTexture.cpp create mode 100644 src/gen/GraphEdit.cpp create mode 100644 src/gen/GraphNode.cpp create mode 100644 src/gen/GridContainer.cpp create mode 100644 src/gen/GridMap.cpp create mode 100644 src/gen/GrooveJoint2D.cpp create mode 100644 src/gen/HBoxContainer.cpp create mode 100644 src/gen/HScrollBar.cpp create mode 100644 src/gen/HSeparator.cpp create mode 100644 src/gen/HSlider.cpp create mode 100644 src/gen/HSplitContainer.cpp create mode 100644 src/gen/HTTPClient.cpp create mode 100644 src/gen/HTTPRequest.cpp create mode 100644 src/gen/HingeJoint.cpp create mode 100644 src/gen/IP.cpp create mode 100644 src/gen/IP_Unix.cpp create mode 100644 src/gen/Image.cpp create mode 100644 src/gen/ImageTexture.cpp create mode 100644 src/gen/ImmediateGeometry.cpp create mode 100644 src/gen/Input.cpp create mode 100644 src/gen/InputDefault.cpp create mode 100644 src/gen/InputEvent.cpp create mode 100644 src/gen/InputEventAction.cpp create mode 100644 src/gen/InputEventGesture.cpp create mode 100644 src/gen/InputEventJoypadButton.cpp create mode 100644 src/gen/InputEventJoypadMotion.cpp create mode 100644 src/gen/InputEventKey.cpp create mode 100644 src/gen/InputEventMagnifyGesture.cpp create mode 100644 src/gen/InputEventMouse.cpp create mode 100644 src/gen/InputEventMouseButton.cpp create mode 100644 src/gen/InputEventMouseMotion.cpp create mode 100644 src/gen/InputEventPanGesture.cpp create mode 100644 src/gen/InputEventScreenDrag.cpp create mode 100644 src/gen/InputEventScreenTouch.cpp create mode 100644 src/gen/InputEventWithModifiers.cpp create mode 100644 src/gen/InputMap.cpp create mode 100644 src/gen/InstancePlaceholder.cpp create mode 100644 src/gen/InterpolatedCamera.cpp create mode 100644 src/gen/ItemList.cpp create mode 100644 src/gen/JSON.cpp create mode 100644 src/gen/JSONParseResult.cpp create mode 100644 src/gen/JavaScript.cpp create mode 100644 src/gen/Joint.cpp create mode 100644 src/gen/Joint2D.cpp create mode 100644 src/gen/KinematicBody.cpp create mode 100644 src/gen/KinematicBody2D.cpp create mode 100644 src/gen/KinematicCollision.cpp create mode 100644 src/gen/KinematicCollision2D.cpp create mode 100644 src/gen/Label.cpp create mode 100644 src/gen/LargeTexture.cpp create mode 100644 src/gen/Light.cpp create mode 100644 src/gen/Light2D.cpp create mode 100644 src/gen/LightOccluder2D.cpp create mode 100644 src/gen/Line2D.cpp create mode 100644 src/gen/LineEdit.cpp create mode 100644 src/gen/LineShape2D.cpp create mode 100644 src/gen/LinkButton.cpp create mode 100644 src/gen/Listener.cpp create mode 100644 src/gen/MainLoop.cpp create mode 100644 src/gen/MarginContainer.cpp create mode 100644 src/gen/Marshalls.cpp create mode 100644 src/gen/Material.cpp create mode 100644 src/gen/MenuButton.cpp create mode 100644 src/gen/Mesh.cpp create mode 100644 src/gen/MeshDataTool.cpp create mode 100644 src/gen/MeshInstance.cpp create mode 100644 src/gen/MeshInstance2D.cpp create mode 100644 src/gen/MeshLibrary.cpp create mode 100644 src/gen/MobileVRInterface.cpp create mode 100644 src/gen/MultiMesh.cpp create mode 100644 src/gen/MultiMeshInstance.cpp create mode 100644 src/gen/Mutex.cpp create mode 100644 src/gen/NativeScript.cpp create mode 100644 src/gen/Navigation.cpp create mode 100644 src/gen/Navigation2D.cpp create mode 100644 src/gen/NavigationMesh.cpp create mode 100644 src/gen/NavigationMeshInstance.cpp create mode 100644 src/gen/NavigationPolygon.cpp create mode 100644 src/gen/NavigationPolygonInstance.cpp create mode 100644 src/gen/NetworkedMultiplayerENet.cpp create mode 100644 src/gen/NetworkedMultiplayerPeer.cpp create mode 100644 src/gen/NinePatchRect.cpp create mode 100644 src/gen/Node.cpp create mode 100644 src/gen/Node2D.cpp create mode 100644 src/gen/OS.cpp create mode 100644 src/gen/Object.cpp create mode 100644 src/gen/OccluderPolygon2D.cpp create mode 100644 src/gen/OmniLight.cpp create mode 100644 src/gen/OptionButton.cpp create mode 100644 src/gen/PCKPacker.cpp create mode 100644 src/gen/PHashTranslation.cpp create mode 100644 src/gen/PackedDataContainer.cpp create mode 100644 src/gen/PackedDataContainerRef.cpp create mode 100644 src/gen/PackedScene.cpp create mode 100644 src/gen/PacketPeer.cpp create mode 100644 src/gen/PacketPeerStream.cpp create mode 100644 src/gen/PacketPeerUDP.cpp create mode 100644 src/gen/Panel.cpp create mode 100644 src/gen/PanelContainer.cpp create mode 100644 src/gen/PanoramaSky.cpp create mode 100644 src/gen/ParallaxBackground.cpp create mode 100644 src/gen/ParallaxLayer.cpp create mode 100644 src/gen/Particles.cpp create mode 100644 src/gen/Particles2D.cpp create mode 100644 src/gen/ParticlesMaterial.cpp create mode 100644 src/gen/Path.cpp create mode 100644 src/gen/Path2D.cpp create mode 100644 src/gen/PathFollow.cpp create mode 100644 src/gen/PathFollow2D.cpp create mode 100644 src/gen/Performance.cpp create mode 100644 src/gen/Physics2DDirectBodyState.cpp create mode 100644 src/gen/Physics2DDirectBodyStateSW.cpp create mode 100644 src/gen/Physics2DDirectSpaceState.cpp create mode 100644 src/gen/Physics2DServer.cpp create mode 100644 src/gen/Physics2DServerSW.cpp create mode 100644 src/gen/Physics2DShapeQueryParameters.cpp create mode 100644 src/gen/Physics2DShapeQueryResult.cpp create mode 100644 src/gen/Physics2DTestMotionResult.cpp create mode 100644 src/gen/PhysicsBody.cpp create mode 100644 src/gen/PhysicsBody2D.cpp create mode 100644 src/gen/PhysicsDirectBodyState.cpp create mode 100644 src/gen/PhysicsDirectSpaceState.cpp create mode 100644 src/gen/PhysicsServer.cpp create mode 100644 src/gen/PhysicsShapeQueryParameters.cpp create mode 100644 src/gen/PhysicsShapeQueryResult.cpp create mode 100644 src/gen/PinJoint.cpp create mode 100644 src/gen/PinJoint2D.cpp create mode 100644 src/gen/PlaneMesh.cpp create mode 100644 src/gen/PlaneShape.cpp create mode 100644 src/gen/PluginScript.cpp create mode 100644 src/gen/Polygon2D.cpp create mode 100644 src/gen/PolygonPathFinder.cpp create mode 100644 src/gen/Popup.cpp create mode 100644 src/gen/PopupDialog.cpp create mode 100644 src/gen/PopupMenu.cpp create mode 100644 src/gen/PopupPanel.cpp create mode 100644 src/gen/Position2D.cpp create mode 100644 src/gen/Position3D.cpp create mode 100644 src/gen/PrimitiveMesh.cpp create mode 100644 src/gen/PrismMesh.cpp create mode 100644 src/gen/ProceduralSky.cpp create mode 100644 src/gen/ProgressBar.cpp create mode 100644 src/gen/ProjectSettings.cpp create mode 100644 src/gen/ProximityGroup.cpp create mode 100644 src/gen/ProxyTexture.cpp create mode 100644 src/gen/QuadMesh.cpp create mode 100644 src/gen/Range.cpp create mode 100644 src/gen/RayCast.cpp create mode 100644 src/gen/RayCast2D.cpp create mode 100644 src/gen/RayShape.cpp create mode 100644 src/gen/RayShape2D.cpp create mode 100644 src/gen/RectangleShape2D.cpp create mode 100644 src/gen/Reference.cpp create mode 100644 src/gen/ReferenceRect.cpp create mode 100644 src/gen/ReflectionProbe.cpp create mode 100644 src/gen/RegEx.cpp create mode 100644 src/gen/RegExMatch.cpp create mode 100644 src/gen/RemoteTransform.cpp create mode 100644 src/gen/RemoteTransform2D.cpp create mode 100644 src/gen/Resource.cpp create mode 100644 src/gen/ResourceImporter.cpp create mode 100644 src/gen/ResourceImporterOGGVorbis.cpp create mode 100644 src/gen/ResourceImporterTheora.cpp create mode 100644 src/gen/ResourceImporterWebm.cpp create mode 100644 src/gen/ResourceInteractiveLoader.cpp create mode 100644 src/gen/ResourceLoader.cpp create mode 100644 src/gen/ResourcePreloader.cpp create mode 100644 src/gen/ResourceSaver.cpp create mode 100644 src/gen/RichTextLabel.cpp create mode 100644 src/gen/RigidBody.cpp create mode 100644 src/gen/RigidBody2D.cpp create mode 100644 src/gen/SceneState.cpp create mode 100644 src/gen/SceneTree.cpp create mode 100644 src/gen/SceneTreeTimer.cpp create mode 100644 src/gen/Script.cpp create mode 100644 src/gen/ScriptEditor.cpp create mode 100644 src/gen/ScrollBar.cpp create mode 100644 src/gen/ScrollContainer.cpp create mode 100644 src/gen/SegmentShape2D.cpp create mode 100644 src/gen/Semaphore.cpp create mode 100644 src/gen/Separator.cpp create mode 100644 src/gen/Shader.cpp create mode 100644 src/gen/ShaderMaterial.cpp create mode 100644 src/gen/Shape.cpp create mode 100644 src/gen/Shape2D.cpp create mode 100644 src/gen/ShortCut.cpp create mode 100644 src/gen/Skeleton.cpp create mode 100644 src/gen/Sky.cpp create mode 100644 src/gen/Slider.cpp create mode 100644 src/gen/SliderJoint.cpp create mode 100644 src/gen/Spatial.cpp create mode 100644 src/gen/SpatialGizmo.cpp create mode 100644 src/gen/SpatialMaterial.cpp create mode 100644 src/gen/SpatialVelocityTracker.cpp create mode 100644 src/gen/SphereMesh.cpp create mode 100644 src/gen/SphereShape.cpp create mode 100644 src/gen/SpinBox.cpp create mode 100644 src/gen/SplitContainer.cpp create mode 100644 src/gen/SpotLight.cpp create mode 100644 src/gen/Sprite.cpp create mode 100644 src/gen/Sprite3D.cpp create mode 100644 src/gen/SpriteBase3D.cpp create mode 100644 src/gen/SpriteFrames.cpp create mode 100644 src/gen/StaticBody.cpp create mode 100644 src/gen/StaticBody2D.cpp create mode 100644 src/gen/StreamPeer.cpp create mode 100644 src/gen/StreamPeerBuffer.cpp create mode 100644 src/gen/StreamPeerSSL.cpp create mode 100644 src/gen/StreamPeerTCP.cpp create mode 100644 src/gen/StreamTexture.cpp create mode 100644 src/gen/StyleBox.cpp create mode 100644 src/gen/StyleBoxEmpty.cpp create mode 100644 src/gen/StyleBoxFlat.cpp create mode 100644 src/gen/StyleBoxLine.cpp create mode 100644 src/gen/StyleBoxTexture.cpp create mode 100644 src/gen/SurfaceTool.cpp create mode 100644 src/gen/TCP_Server.cpp create mode 100644 src/gen/TabContainer.cpp create mode 100644 src/gen/Tabs.cpp create mode 100644 src/gen/TextEdit.cpp create mode 100644 src/gen/Texture.cpp create mode 100644 src/gen/TextureButton.cpp create mode 100644 src/gen/TextureProgress.cpp create mode 100644 src/gen/TextureRect.cpp create mode 100644 src/gen/Theme.cpp create mode 100644 src/gen/Thread.cpp create mode 100644 src/gen/TileMap.cpp create mode 100644 src/gen/TileSet.cpp create mode 100644 src/gen/Timer.cpp create mode 100644 src/gen/ToolButton.cpp create mode 100644 src/gen/TouchScreenButton.cpp create mode 100644 src/gen/Translation.cpp create mode 100644 src/gen/TranslationServer.cpp create mode 100644 src/gen/Tree.cpp create mode 100644 src/gen/TreeItem.cpp create mode 100644 src/gen/TriangleMesh.cpp create mode 100644 src/gen/Tween.cpp create mode 100644 src/gen/UndoRedo.cpp create mode 100644 src/gen/VBoxContainer.cpp create mode 100644 src/gen/VScrollBar.cpp create mode 100644 src/gen/VSeparator.cpp create mode 100644 src/gen/VSlider.cpp create mode 100644 src/gen/VSplitContainer.cpp create mode 100644 src/gen/VehicleBody.cpp create mode 100644 src/gen/VehicleWheel.cpp create mode 100644 src/gen/VideoPlayer.cpp create mode 100644 src/gen/VideoStream.cpp create mode 100644 src/gen/VideoStreamTheora.cpp create mode 100644 src/gen/VideoStreamWebm.cpp create mode 100644 src/gen/Viewport.cpp create mode 100644 src/gen/ViewportContainer.cpp create mode 100644 src/gen/ViewportTexture.cpp create mode 100644 src/gen/VisibilityEnabler.cpp create mode 100644 src/gen/VisibilityEnabler2D.cpp create mode 100644 src/gen/VisibilityNotifier.cpp create mode 100644 src/gen/VisibilityNotifier2D.cpp create mode 100644 src/gen/VisualInstance.cpp create mode 100644 src/gen/VisualScript.cpp create mode 100644 src/gen/VisualScriptBasicTypeConstant.cpp create mode 100644 src/gen/VisualScriptBuiltinFunc.cpp create mode 100644 src/gen/VisualScriptClassConstant.cpp create mode 100644 src/gen/VisualScriptComment.cpp create mode 100644 src/gen/VisualScriptCondition.cpp create mode 100644 src/gen/VisualScriptConstant.cpp create mode 100644 src/gen/VisualScriptConstructor.cpp create mode 100644 src/gen/VisualScriptCustomNode.cpp create mode 100644 src/gen/VisualScriptDeconstruct.cpp create mode 100644 src/gen/VisualScriptEditor.cpp create mode 100644 src/gen/VisualScriptEmitSignal.cpp create mode 100644 src/gen/VisualScriptEngineSingleton.cpp create mode 100644 src/gen/VisualScriptExpression.cpp create mode 100644 src/gen/VisualScriptFunction.cpp create mode 100644 src/gen/VisualScriptFunctionCall.cpp create mode 100644 src/gen/VisualScriptFunctionState.cpp create mode 100644 src/gen/VisualScriptGlobalConstant.cpp create mode 100644 src/gen/VisualScriptIndexGet.cpp create mode 100644 src/gen/VisualScriptIndexSet.cpp create mode 100644 src/gen/VisualScriptInputAction.cpp create mode 100644 src/gen/VisualScriptIterator.cpp create mode 100644 src/gen/VisualScriptLocalVar.cpp create mode 100644 src/gen/VisualScriptLocalVarSet.cpp create mode 100644 src/gen/VisualScriptMathConstant.cpp create mode 100644 src/gen/VisualScriptNode.cpp create mode 100644 src/gen/VisualScriptOperator.cpp create mode 100644 src/gen/VisualScriptPreload.cpp create mode 100644 src/gen/VisualScriptPropertyGet.cpp create mode 100644 src/gen/VisualScriptPropertySet.cpp create mode 100644 src/gen/VisualScriptResourcePath.cpp create mode 100644 src/gen/VisualScriptReturn.cpp create mode 100644 src/gen/VisualScriptSceneNode.cpp create mode 100644 src/gen/VisualScriptSceneTree.cpp create mode 100644 src/gen/VisualScriptSelect.cpp create mode 100644 src/gen/VisualScriptSelf.cpp create mode 100644 src/gen/VisualScriptSequence.cpp create mode 100644 src/gen/VisualScriptSubCall.cpp create mode 100644 src/gen/VisualScriptSwitch.cpp create mode 100644 src/gen/VisualScriptTypeCast.cpp create mode 100644 src/gen/VisualScriptVariableGet.cpp create mode 100644 src/gen/VisualScriptVariableSet.cpp create mode 100644 src/gen/VisualScriptWhile.cpp create mode 100644 src/gen/VisualScriptYield.cpp create mode 100644 src/gen/VisualScriptYieldSignal.cpp create mode 100644 src/gen/VisualServer.cpp create mode 100644 src/gen/WeakRef.cpp create mode 100644 src/gen/WebSocketClient.cpp create mode 100644 src/gen/WebSocketMultiplayerPeer.cpp create mode 100644 src/gen/WebSocketPeer.cpp create mode 100644 src/gen/WebSocketServer.cpp create mode 100644 src/gen/WindowDialog.cpp create mode 100644 src/gen/World.cpp create mode 100644 src/gen/World2D.cpp create mode 100644 src/gen/WorldEnvironment.cpp create mode 100644 src/gen/XMLParser.cpp create mode 100644 src/gen/YSort.cpp create mode 100644 src/gen/__icalls.cpp create mode 100644 src/gen/__icalls.hpp create mode 100644 src/gen/__register_types.cpp diff --git a/.gitignore b/.gitignore index 3cfe1611..95cb7983 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,8 @@ logs/* *.pdb *.lib bin +*.config +*.creator +*.creator.user +*.files +*.includes diff --git a/binding_generator.py b/binding_generator.py index e92c3e2b..aa68fd47 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -119,14 +119,43 @@ def generate_class_header(used_classes, c): # generate the class definition here source.append("class " + class_name + ("" if c["base_class"] == "" else (" : public " + strip_name(c["base_class"])) ) + " {") + + if c["base_class"] == "": + # this is Object + source.append("") + source.append("public:") + source.append("\tgodot_object *_owner;") + source.append("") + # TODO decide what to do about virtual methods + # source.append("static void _register_methods();") + # source.append("") + if c["singleton"]: + source.append("\tstatic " + class_name + " *_singleton;") + source.append("") + source.append("\t" + class_name + "();") + source.append("") + + source.append("public:") source.append("") - # ___get_class_name - source.append("\tstatic inline char *___get_class_name() { return (char *) \"" + strip_name(c["name"]) + "\"; }") + if c["singleton"]: + source.append("\tstatic inline " + class_name + " *get_singleton()") + source.append("\t{") + source.append("\t\tif (!" + class_name + "::_singleton) {") + source.append("\t\t\t" + class_name + "::_singleton = new " + class_name + ";") + source.append("\t\t}") + source.append("\t\treturn " + class_name + "::_singleton;") + source.append("\t}") + source.append("") - source.append("\tstatic inline Object *___get_from_variant(Variant a) { return (Object *) a; }") + # godot::api->godot_global_get_singleton((char *) \"" + strip_name(c["name"]) + "\");" + + # ___get_class_name + source.append("\tstatic inline const char *___get_class_name() { return (const char *) \"" + strip_name(c["name"]) + "\"; }") + + source.append("\tstatic 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); }") enum_values = [] @@ -146,6 +175,8 @@ def generate_class_header(used_classes, c): if c["instanciable"]: + source.append("") + source.append("") source.append("\tstatic void *operator new(size_t);") source.append("\tstatic void operator delete(void *);") @@ -156,7 +187,8 @@ def generate_class_header(used_classes, c): method_signature = "" - method_signature += "static " if c["singleton"] else "" + # TODO decide what to do about virtual methods + # method_signature += "virtual " if method["is_virtual"] else "" method_signature += make_gdnative_type(method["return_type"]) method_name = escape_cpp(method["name"]) method_signature += method_name + "(" @@ -224,7 +256,7 @@ def generate_class_header(used_classes, c): vararg_templates += "\ttemplate " + method_signature + "Args... args){\n\t\treturn " + method_name + "(" + method_arguments + "Array::make(args...));\n\t}\n""" method_signature += "const Array& __var_args = Array()" - method_signature += ")" + (" const" if method["is_const"] and not c["singleton"] else "") + method_signature += ")" + (" const" if method["is_const"] else "") source.append("\t" + method_signature + ";") @@ -279,23 +311,20 @@ def generate_class_implementation(icalls, used_classes, c): source.append("namespace godot {") - core_object_name = ("___static_object_" + strip_name(c["name"])) if c["singleton"] else "this" + core_object_name = "this" source.append("") source.append("") if c["singleton"]: - source.append("static godot_object *" + core_object_name + ";") + source.append("" + class_name + " *" + class_name + "::_singleton = NULL;") source.append("") source.append("") # FIXME Test if inlining has a huge impact on binary size - source.append("static inline void ___singleton_init()") - source.append("{") - source.append("\tif (" + core_object_name + " == nullptr) {") - source.append("\t\t" + core_object_name + " = godot::api->godot_global_get_singleton((char *) \"" + strip_name(c["name"]) + "\");") - source.append("\t}") + source.append(class_name + "::" + class_name + "() {") + source.append("\t_owner = godot::api->godot_global_get_singleton((char *) \"" + strip_name(c["name"]) + "\");") source.append("}") source.append("") @@ -311,7 +340,7 @@ def generate_class_implementation(icalls, used_classes, c): source.append("void " + strip_name(c["name"]) + "::operator delete(void *ptr)") source.append("{") - source.append("\tgodot::api->godot_object_destroy((godot_object *)ptr);") + source.append("\tgodot::api->godot_object_destroy(((Object *)ptr)->_owner);") source.append("}") for method in c["methods"]: @@ -332,18 +361,12 @@ def generate_class_implementation(icalls, used_classes, c): method_signature += ", " method_signature += "const Array& __var_args" - method_signature += ")" + (" const" if method["is_const"] and not c["singleton"] else "") + method_signature += ")" + (" const" if method["is_const"] else "") source.append(method_signature + " {") - - - if c["singleton"]: - source.append("\t___singleton_init();") - - - source.append("\tstatic godot_method_bind *mb = nullptr;") - source.append("\tif (mb == nullptr) {") + source.append("\tstatic godot_method_bind *mb = nullptr;") + source.append("\tif (mb == nullptr) {") source.append("\t\tmb = godot::api->godot_method_bind_get_method(\"" + c["name"] +"\", \"" + method["name"] + "\");") source.append("\t}") @@ -408,7 +431,7 @@ def generate_class_implementation(icalls, used_classes, c): source.append("") source.append("\tVariant __result;") - source.append("\t*(godot_variant *) &__result = godot::api->godot_method_bind_call(mb, (godot_object *) " + core_object_name + ", (const godot_variant **) __args, " + size + ", nullptr);") + source.append("\t*(godot_variant *) &__result = godot::api->godot_method_bind_call(mb, ((const Object *) " + core_object_name + ")->_owner, (const godot_variant **) __args, " + size + ", nullptr);") source.append("") @@ -424,7 +447,7 @@ def generate_class_implementation(icalls, used_classes, c): if is_reference_type(method["return_type"]): cast += "Ref<" + strip_name(method["return_type"]) + ">::__internal_constructor(__result);" else: - cast += "(" + strip_name(method["return_type"]) + " *) (Object *) __result;" + cast += "(" + strip_name(method["return_type"]) + " *) " + strip_name(method["return_type"] + "::___get_from_variant(") + "__result);" else: cast += "__result;" source.append("\treturn " + cast) @@ -445,7 +468,7 @@ def generate_class_implementation(icalls, used_classes, c): icall_name = get_icall_name(icall_sig) - return_statement += icall_name + "(mb, (godot_object *) " + core_object_name + return_statement += icall_name + "(mb, (const Object *) " + core_object_name for arg in method["arguments"]: return_statement += ", " + escape_cpp(arg["name"]) + (".ptr()" if is_reference_type(arg["type"]) else "") @@ -494,7 +517,7 @@ def generate_icall_header(icalls): method_signature = "" - method_signature += return_type(ret_type) + get_icall_name(icall) + "(godot_method_bind *mb, godot_object *inst" + method_signature += return_type(ret_type) + get_icall_name(icall) + "(godot_method_bind *mb, const Object *inst" for arg in args: method_signature += ", const " @@ -547,7 +570,7 @@ def generate_icall_implementation(icalls): method_signature = "" - method_signature += return_type(ret_type) + get_icall_name(icall) + "(godot_method_bind *mb, godot_object *inst" + method_signature += return_type(ret_type) + get_icall_name(icall) + "(godot_method_bind *mb, const Object *inst" for i, arg in enumerate(args): method_signature += ", const " @@ -568,7 +591,7 @@ def generate_icall_implementation(icalls): source.append(method_signature + " {") if ret_type != "void": - source.append("\t" + return_type(ret_type) + "ret;") + source.append("\t" + ("godot_object *" if is_class_type(ret_type) else return_type(ret_type)) + "ret;") if is_class_type(ret_type): source.append("\tret = nullptr;") @@ -581,7 +604,7 @@ def generate_icall_implementation(icalls): if is_primitive(arg) or is_core_type(arg): wrapped_argument += "(void *) &arg" + str(i) else: - wrapped_argument += "(void *) arg" + str(i) + wrapped_argument += "(void *) arg" + str(i) + "->_owner" wrapped_argument += "," source.append(wrapped_argument) @@ -589,10 +612,13 @@ def generate_icall_implementation(icalls): source.append("\t};") source.append("") - source.append("\tgodot::api->godot_method_bind_ptrcall(mb, inst, args, " + ("nullptr" if ret_type == "void" else "&ret") + ");") + source.append("\tgodot::api->godot_method_bind_ptrcall(mb, inst->_owner, args, " + ("nullptr" if ret_type == "void" else "&ret") + ");") if ret_type != "void": - source.append("\treturn ret;") + if is_class_type(ret_type): + source.append("\treturn (Object *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, ret);") + else: + source.append("\treturn ret;") source.append("}") diff --git a/include/core/Godot.hpp b/include/core/Godot.hpp index 4686c7fa..a27cdd32 100644 --- a/include/core/Godot.hpp +++ b/include/core/Godot.hpp @@ -23,35 +23,14 @@ namespace godot { template T *as(Object *obj) { - return (T *) godot::nativescript_api->godot_nativescript_get_userdata(obj); + return (T *) godot::nativescript_api->godot_nativescript_get_userdata(obj->_owner); } -template -class GodotScript { -public: - T *owner; - - // GodotScript() {} - - void _init() {} - static const char *___get_base_type_name() - { - return T::___get_class_name(); - } - - static GodotScript *___get_from_variant(Variant a) - { - return as >((Object *) a); - } - - static void _register_methods() {} -}; - - - -#define GODOT_CLASS(Name) \ +#define GODOT_CLASS(Name, Base) \ public: inline static const char *___get_type_name() { return static_cast(#Name); } \ + inline static const char *___get_base_type_name() { return Base::___get_class_name(); } \ + inline static Object *___get_from_variant(godot::Variant a) { return (godot::Object *) godot::as(godot::Object::___get_from_variant(a)); } \ private: #define GODOT_SUBCLASS(Name, Base) \ @@ -94,7 +73,7 @@ template void *_godot_class_instance_func(godot_object *p, void *method_data) { T *d = new T(); - *(godot_object **) &d->owner = p; + d->_owner = p; d->_init(); return d; } @@ -369,7 +348,7 @@ void register_property(const char *name, P (T::*var), P default_value, godot_met usage = (godot_property_usage_flags) ((int) usage | GODOT_PROPERTY_USAGE_SCRIPT_VARIABLE); if (def_val.get_type() == Variant::OBJECT) { - Object *o = def_val; + Object *o = P::___get_from_variant(def_val); if (o && o->is_class("Resource")) { hint = (godot_property_hint) ((int) hint | GODOT_PROPERTY_HINT_RESOURCE_TYPE); hint_string = o->get_class(); diff --git a/include/core/GodotGlobal.hpp b/include/core/GodotGlobal.hpp index a9133593..0fb24ac1 100644 --- a/include/core/GodotGlobal.hpp +++ b/include/core/GodotGlobal.hpp @@ -10,6 +10,7 @@ namespace godot { extern "C" const godot_gdnative_core_api_struct *api; extern "C" const godot_gdnative_ext_nativescript_api_struct *nativescript_api; +extern "C" const godot_gdnative_ext_nativescript_1_1_api_struct *nativescript_1_1_api; class Godot { @@ -21,6 +22,7 @@ public: static void gdnative_init(godot_gdnative_init_options *o); static void gdnative_terminate(godot_gdnative_terminate_options *o); static void nativescript_init(void *handle); + static void nativescript_terminate(void *handle); template static void print(const String& fmt, Args... values) { @@ -32,6 +34,7 @@ public: struct _RegisterState { static void *nativescript_handle; + static int language_index; }; } diff --git a/include/core/Variant.hpp b/include/core/Variant.hpp index 718561b2..0b0660bd 100644 --- a/include/core/Variant.hpp +++ b/include/core/Variant.hpp @@ -225,7 +225,7 @@ public: operator NodePath() const; operator RID() const; - operator Object*() const; + operator godot_object*() const; operator Dictionary() const; operator Array() const; diff --git a/include/gen/ARVRAnchor.hpp b/include/gen/ARVRAnchor.hpp new file mode 100644 index 00000000..3cb8845b --- /dev/null +++ b/include/gen/ARVRAnchor.hpp @@ -0,0 +1,42 @@ +#ifndef GODOT_CPP_ARVRANCHOR_HPP +#define GODOT_CPP_ARVRANCHOR_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class ARVRAnchor : public Spatial { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ARVRAnchor"; } + 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 + + // constants + + + static ARVRAnchor *_new(); + + // methods + void set_anchor_id(const int64_t anchor_id); + int64_t get_anchor_id() const; + String get_anchor_name() const; + bool get_is_active() const; + Vector3 get_size() const; + Plane get_plane() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ARVRCamera.hpp b/include/gen/ARVRCamera.hpp new file mode 100644 index 00000000..5226828a --- /dev/null +++ b/include/gen/ARVRCamera.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_ARVRCAMERA_HPP +#define GODOT_CPP_ARVRCAMERA_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class ARVRCamera : public Camera { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ARVRCamera"; } + 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 + + // constants + + + static ARVRCamera *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ARVRController.hpp b/include/gen/ARVRController.hpp new file mode 100644 index 00000000..ee5e4637 --- /dev/null +++ b/include/gen/ARVRController.hpp @@ -0,0 +1,47 @@ +#ifndef GODOT_CPP_ARVRCONTROLLER_HPP +#define GODOT_CPP_ARVRCONTROLLER_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + + +class ARVRController : public Spatial { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ARVRController"; } + 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 + + // constants + + + static ARVRController *_new(); + + // methods + void set_controller_id(const int64_t controller_id); + int64_t get_controller_id() const; + String get_controller_name() const; + int64_t get_joystick_id() const; + int64_t is_button_pressed(const int64_t button) const; + double get_joystick_axis(const int64_t axis) const; + bool get_is_active() const; + ARVRPositionalTracker::TrackerHand get_hand() const; + double get_rumble() const; + void set_rumble(const double rumble); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ARVRInterface.hpp b/include/gen/ARVRInterface.hpp new file mode 100644 index 00000000..55e66eee --- /dev/null +++ b/include/gen/ARVRInterface.hpp @@ -0,0 +1,66 @@ +#ifndef GODOT_CPP_ARVRINTERFACE_HPP +#define GODOT_CPP_ARVRINTERFACE_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + + +class ARVRInterface : public Reference { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ARVRInterface"; } + 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 Tracking_status { + ARVR_NOT_TRACKING = 4, + ARVR_NORMAL_TRACKING = 0, + ARVR_EXCESSIVE_MOTION = 1, + ARVR_UNKNOWN_TRACKING = 3, + ARVR_INSUFFICIENT_FEATURES = 2, + }; + enum Eyes { + EYE_LEFT = 1, + EYE_MONO = 0, + EYE_RIGHT = 2, + }; + enum Capabilities { + ARVR_EXTERNAL = 8, + ARVR_STEREO = 2, + ARVR_MONO = 1, + ARVR_AR = 4, + ARVR_NONE = 0, + }; + + // constants + + // methods + String get_name() const; + int64_t get_capabilities() const; + bool is_primary(); + void set_is_primary(const bool enable); + bool is_initialized(); + void set_is_initialized(const bool initialized); + bool initialize(); + void uninitialize(); + ARVRInterface::Tracking_status get_tracking_status() const; + Vector2 get_render_targetsize(); + bool is_stereo(); + bool get_anchor_detection_is_enabled() const; + void set_anchor_detection_is_enabled(const bool enable); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ARVRInterfaceGDNative.hpp b/include/gen/ARVRInterfaceGDNative.hpp new file mode 100644 index 00000000..5367b462 --- /dev/null +++ b/include/gen/ARVRInterfaceGDNative.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_ARVRINTERFACEGDNATIVE_HPP +#define GODOT_CPP_ARVRINTERFACEGDNATIVE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class ARVRInterfaceGDNative : public ARVRInterface { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ARVRInterfaceGDNative"; } + 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 + + // constants + + + static ARVRInterfaceGDNative *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ARVROrigin.hpp b/include/gen/ARVROrigin.hpp new file mode 100644 index 00000000..0f0562d1 --- /dev/null +++ b/include/gen/ARVROrigin.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_ARVRORIGIN_HPP +#define GODOT_CPP_ARVRORIGIN_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class ARVROrigin : public Spatial { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ARVROrigin"; } + 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 + + // constants + + + static ARVROrigin *_new(); + + // methods + void set_world_scale(const double world_scale); + double get_world_scale() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ARVRPositionalTracker.hpp b/include/gen/ARVRPositionalTracker.hpp new file mode 100644 index 00000000..f63c3dfa --- /dev/null +++ b/include/gen/ARVRPositionalTracker.hpp @@ -0,0 +1,59 @@ +#ifndef GODOT_CPP_ARVRPOSITIONALTRACKER_HPP +#define GODOT_CPP_ARVRPOSITIONALTRACKER_HPP + + +#include +#include + +#include +#include +#include +#include + +#include +namespace godot { + + +class ARVRPositionalTracker : public Object { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ARVRPositionalTracker"; } + 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 TrackerHand { + TRACKER_HAND_UNKNOWN = 0, + TRACKER_LEFT_HAND = 1, + TRACKER_RIGHT_HAND = 2, + }; + + // constants + + + static ARVRPositionalTracker *_new(); + + // methods + ARVRServer::TrackerType get_type() const; + String get_name() const; + int64_t get_joy_id() const; + bool get_tracks_orientation() const; + Basis get_orientation() const; + bool get_tracks_position() const; + Vector3 get_position() const; + ARVRPositionalTracker::TrackerHand get_hand() const; + Transform get_transform(const bool adjust_by_reference_frame) const; + void _set_type(const int64_t type); + void _set_name(const String name); + void _set_joy_id(const int64_t joy_id); + void _set_orientation(const Basis orientation); + void _set_rw_position(const Vector3 rw_position); + double get_rumble() const; + void set_rumble(const double rumble); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ARVRServer.hpp b/include/gen/ARVRServer.hpp new file mode 100644 index 00000000..42f40848 --- /dev/null +++ b/include/gen/ARVRServer.hpp @@ -0,0 +1,76 @@ +#ifndef GODOT_CPP_ARVRSERVER_HPP +#define GODOT_CPP_ARVRSERVER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class ARVRInterface; +class ARVRPositionalTracker; + +class ARVRServer : public Object { + static ARVRServer *_singleton; + + ARVRServer(); + +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline ARVRServer *get_singleton() + { + if (!ARVRServer::_singleton) { + ARVRServer::_singleton = new ARVRServer; + } + return ARVRServer::_singleton; + } + + static inline const char *___get_class_name() { return (const char *) "ARVRServer"; } + 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 RotationMode { + RESET_BUT_KEEP_TILT = 1, + DONT_RESET_ROTATION = 2, + RESET_FULL_ROTATION = 0, + }; + enum TrackerType { + TRACKER_BASESTATION = 2, + TRACKER_CONTROLLER = 1, + TRACKER_ANY = 255, + TRACKER_ANY_KNOWN = 127, + TRACKER_ANCHOR = 4, + TRACKER_UNKNOWN = 128, + }; + + // constants + + // methods + double get_world_scale() const; + void set_world_scale(const double arg0); + Transform get_reference_frame() const; + void center_on_hmd(const int64_t rotation_mode, const bool keep_height); + Transform get_hmd_transform(); + int64_t get_interface_count() const; + Ref get_interface(const int64_t idx) const; + Array get_interfaces() const; + Ref find_interface(const String name) const; + int64_t get_tracker_count() const; + ARVRPositionalTracker *get_tracker(const int64_t idx) const; + Ref get_primary_interface() const; + void set_primary_interface(const Ref interface); + int64_t get_last_process_usec(); + int64_t get_last_commit_usec(); + int64_t get_last_frame_usec(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AStar.hpp b/include/gen/AStar.hpp new file mode 100644 index 00000000..13b41ee1 --- /dev/null +++ b/include/gen/AStar.hpp @@ -0,0 +1,56 @@ +#ifndef GODOT_CPP_ASTAR_HPP +#define GODOT_CPP_ASTAR_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AStar : public Reference { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AStar"; } + 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 + + // constants + + + static AStar *_new(); + + // methods + double _estimate_cost(const int64_t from_id, const int64_t to_id); + double _compute_cost(const int64_t from_id, const int64_t to_id); + int64_t get_available_point_id() const; + void add_point(const int64_t id, const Vector3 position, const double weight_scale = 1); + Vector3 get_point_position(const int64_t id) const; + void set_point_position(const int64_t id, const Vector3 position); + double get_point_weight_scale(const int64_t id) const; + void set_point_weight_scale(const int64_t id, const double weight_scale); + void remove_point(const int64_t id); + bool has_point(const int64_t id) const; + Array get_points(); + PoolIntArray get_point_connections(const int64_t id); + void connect_points(const int64_t id, const int64_t to_id, const bool bidirectional = true); + void disconnect_points(const int64_t id, const int64_t to_id); + bool are_points_connected(const int64_t id, const int64_t to_id) const; + void clear(); + int64_t get_closest_point(const Vector3 to_position) const; + Vector3 get_closest_position_in_segment(const Vector3 to_position) const; + PoolVector3Array get_point_path(const int64_t from_id, const int64_t to_id); + PoolIntArray get_id_path(const int64_t from_id, const int64_t to_id); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AcceptDialog.hpp b/include/gen/AcceptDialog.hpp new file mode 100644 index 00000000..1ac6f2f5 --- /dev/null +++ b/include/gen/AcceptDialog.hpp @@ -0,0 +1,51 @@ +#ifndef GODOT_CPP_ACCEPTDIALOG_HPP +#define GODOT_CPP_ACCEPTDIALOG_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Button; +class Label; +class Object; + +class AcceptDialog : public WindowDialog { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AcceptDialog"; } + 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 + + // constants + + + static AcceptDialog *_new(); + + // methods + void _ok(); + Button *get_ok(); + Label *get_label(); + void set_hide_on_ok(const bool enabled); + bool get_hide_on_ok() const; + Button *add_button(const String text, const bool right = false, const String action = ""); + Button *add_cancel(const String name); + void _builtin_text_entered(const String arg0); + void register_text_enter(const Object *line_edit); + void _custom_action(const String arg0); + void set_text(const String text); + String get_text() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AnimatedSprite.hpp b/include/gen/AnimatedSprite.hpp new file mode 100644 index 00000000..832fc6d4 --- /dev/null +++ b/include/gen/AnimatedSprite.hpp @@ -0,0 +1,57 @@ +#ifndef GODOT_CPP_ANIMATEDSPRITE_HPP +#define GODOT_CPP_ANIMATEDSPRITE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class SpriteFrames; + +class AnimatedSprite : public Node2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AnimatedSprite"; } + 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 + + // constants + + + static AnimatedSprite *_new(); + + // methods + void set_sprite_frames(const Ref sprite_frames); + Ref get_sprite_frames() const; + void set_animation(const String animation); + String get_animation() const; + void _set_playing(const bool playing); + bool _is_playing() const; + void play(const String anim = ""); + void stop(); + bool is_playing() const; + void set_centered(const bool centered); + bool is_centered() const; + void set_offset(const Vector2 offset); + Vector2 get_offset() const; + void set_flip_h(const bool flip_h); + bool is_flipped_h() const; + void set_flip_v(const bool flip_v); + bool is_flipped_v() const; + void set_frame(const int64_t frame); + int64_t get_frame() const; + void _res_changed(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AnimatedSprite3D.hpp b/include/gen/AnimatedSprite3D.hpp new file mode 100644 index 00000000..4644fe75 --- /dev/null +++ b/include/gen/AnimatedSprite3D.hpp @@ -0,0 +1,49 @@ +#ifndef GODOT_CPP_ANIMATEDSPRITE3D_HPP +#define GODOT_CPP_ANIMATEDSPRITE3D_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class SpriteFrames; + +class AnimatedSprite3D : public SpriteBase3D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AnimatedSprite3D"; } + 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 + + // constants + + + static AnimatedSprite3D *_new(); + + // methods + void set_sprite_frames(const Ref sprite_frames); + Ref get_sprite_frames() const; + void set_animation(const String animation); + String get_animation() const; + void _set_playing(const bool playing); + bool _is_playing() const; + void play(const String anim = ""); + void stop(); + bool is_playing() const; + void set_frame(const int64_t frame); + int64_t get_frame() const; + void _res_changed(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/Animation.hpp b/include/gen/Animation.hpp new file mode 100644 index 00000000..7dc0b75b --- /dev/null +++ b/include/gen/Animation.hpp @@ -0,0 +1,96 @@ +#ifndef GODOT_CPP_ANIMATION_HPP +#define GODOT_CPP_ANIMATION_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class Animation; + +class Animation : public Resource { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "Animation"; } + 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 TrackType { + TYPE_METHOD = 2, + TYPE_VALUE = 0, + TYPE_TRANSFORM = 1, + }; + enum UpdateMode { + UPDATE_TRIGGER = 2, + UPDATE_DISCRETE = 1, + UPDATE_CONTINUOUS = 0, + }; + enum InterpolationType { + INTERPOLATION_NEAREST = 0, + INTERPOLATION_CUBIC = 2, + INTERPOLATION_LINEAR = 1, + }; + + // constants + + + static Animation *_new(); + + // methods + int64_t add_track(const int64_t type, const int64_t at_position = -1); + void remove_track(const int64_t idx); + int64_t get_track_count() const; + Animation::TrackType track_get_type(const int64_t idx) const; + NodePath track_get_path(const int64_t idx) const; + void track_set_path(const int64_t idx, const NodePath path); + int64_t find_track(const NodePath path) const; + void track_move_up(const int64_t idx); + void track_move_down(const int64_t idx); + void track_set_imported(const int64_t idx, const bool imported); + bool track_is_imported(const int64_t idx) const; + void track_set_enabled(const int64_t idx, const bool enabled); + bool track_is_enabled(const int64_t idx) const; + int64_t transform_track_insert_key(const int64_t idx, const double time, const Vector3 location, const Quat rotation, const Vector3 scale); + void track_insert_key(const int64_t idx, const double time, const Variant key, const double transition = 1); + void track_remove_key(const int64_t idx, const int64_t key_idx); + void track_remove_key_at_position(const int64_t idx, const double position); + void track_set_key_value(const int64_t idx, const int64_t key, const Variant value); + void track_set_key_transition(const int64_t idx, const int64_t key_idx, const double transition); + double track_get_key_transition(const int64_t idx, const int64_t key_idx) const; + int64_t track_get_key_count(const int64_t idx) const; + Variant track_get_key_value(const int64_t idx, const int64_t key_idx) const; + double track_get_key_time(const int64_t idx, const int64_t key_idx) const; + int64_t track_find_key(const int64_t idx, const double time, const bool exact = false) const; + void track_set_interpolation_type(const int64_t idx, const int64_t interpolation); + Animation::InterpolationType track_get_interpolation_type(const int64_t idx) const; + void track_set_interpolation_loop_wrap(const int64_t idx, const bool interpolation); + bool track_get_interpolation_loop_wrap(const int64_t idx) const; + Array transform_track_interpolate(const int64_t idx, const double time_sec) const; + void value_track_set_update_mode(const int64_t idx, const int64_t mode); + Animation::UpdateMode value_track_get_update_mode(const int64_t idx) const; + PoolIntArray value_track_get_key_indices(const int64_t idx, const double time_sec, const double delta) const; + PoolIntArray method_track_get_key_indices(const int64_t idx, const double time_sec, const double delta) const; + String method_track_get_name(const int64_t idx, const int64_t key_idx) const; + Array method_track_get_params(const int64_t idx, const int64_t key_idx) const; + void set_length(const double time_sec); + double get_length() const; + void set_loop(const bool enabled); + bool has_loop() const; + void set_step(const double size_sec); + double get_step() const; + void clear(); + void copy_track(const int64_t track, const Ref to_animation); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AnimationPlayer.hpp b/include/gen/AnimationPlayer.hpp new file mode 100644 index 00000000..ff538577 --- /dev/null +++ b/include/gen/AnimationPlayer.hpp @@ -0,0 +1,83 @@ +#ifndef GODOT_CPP_ANIMATIONPLAYER_HPP +#define GODOT_CPP_ANIMATIONPLAYER_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class Object; +class Animation; + +class AnimationPlayer : public Node { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AnimationPlayer"; } + 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 AnimationProcessMode { + ANIMATION_PROCESS_IDLE = 1, + ANIMATION_PROCESS_PHYSICS = 0, + }; + + // constants + + + static AnimationPlayer *_new(); + + // methods + void _node_removed(const Object *arg0); + void _animation_changed(); + Error add_animation(const String name, const Ref animation); + void remove_animation(const String name); + void rename_animation(const String name, const String newname); + bool has_animation(const String name) const; + Ref get_animation(const String name) const; + PoolStringArray get_animation_list() const; + void animation_set_next(const String anim_from, const String anim_to); + String animation_get_next(const String anim_from) const; + void set_blend_time(const String anim_from, const String anim_to, const double sec); + double get_blend_time(const String anim_from, const String anim_to) const; + void set_default_blend_time(const double sec); + double get_default_blend_time() const; + void play(const String name = "", const double custom_blend = -1, const double custom_speed = 1, const bool from_end = false); + void play_backwards(const String name = "", const double custom_blend = -1); + void stop(const bool reset = true); + bool is_playing() const; + void set_current_animation(const String anim); + String get_current_animation() const; + void set_assigned_animation(const String anim); + String get_assigned_animation() const; + void queue(const String name); + void clear_queue(); + void set_active(const bool active); + bool is_active() const; + void set_speed_scale(const double speed); + double get_speed_scale() const; + void set_autoplay(const String name); + String get_autoplay() const; + void set_root(const NodePath path); + NodePath get_root() const; + String find_animation(const Ref animation) const; + void clear_caches(); + void set_animation_process_mode(const int64_t mode); + AnimationPlayer::AnimationProcessMode get_animation_process_mode() const; + double get_current_animation_position() const; + double get_current_animation_length() const; + void seek(const double seconds, const bool update = false); + void advance(const double delta); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AnimationTreePlayer.hpp b/include/gen/AnimationTreePlayer.hpp new file mode 100644 index 00000000..7f047407 --- /dev/null +++ b/include/gen/AnimationTreePlayer.hpp @@ -0,0 +1,118 @@ +#ifndef GODOT_CPP_ANIMATIONTREEPLAYER_HPP +#define GODOT_CPP_ANIMATIONTREEPLAYER_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class Animation; + +class AnimationTreePlayer : public Node { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AnimationTreePlayer"; } + 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 AnimationProcessMode { + ANIMATION_PROCESS_IDLE = 1, + ANIMATION_PROCESS_PHYSICS = 0, + }; + enum NodeType { + NODE_ANIMATION = 1, + NODE_OUTPUT = 0, + NODE_ONESHOT = 2, + NODE_MIX = 3, + NODE_TIMESCALE = 7, + NODE_TRANSITION = 9, + NODE_BLEND4 = 6, + NODE_BLEND3 = 5, + NODE_BLEND2 = 4, + NODE_TIMESEEK = 8, + }; + + // constants + + + static AnimationTreePlayer *_new(); + + // methods + void add_node(const int64_t type, const String id); + bool node_exists(const String node) const; + Error node_rename(const String node, const String new_name); + AnimationTreePlayer::NodeType node_get_type(const String id) const; + int64_t node_get_input_count(const String id) const; + String node_get_input_source(const String id, const int64_t idx) const; + void animation_node_set_animation(const String id, const Ref animation); + Ref animation_node_get_animation(const String id) const; + void animation_node_set_master_animation(const String id, const String source); + String animation_node_get_master_animation(const String id) const; + void animation_node_set_filter_path(const String id, const NodePath path, const bool enable); + void oneshot_node_set_fadein_time(const String id, const double time_sec); + double oneshot_node_get_fadein_time(const String id) const; + void oneshot_node_set_fadeout_time(const String id, const double time_sec); + double oneshot_node_get_fadeout_time(const String id) const; + void oneshot_node_set_autorestart(const String id, const bool enable); + void oneshot_node_set_autorestart_delay(const String id, const double delay_sec); + void oneshot_node_set_autorestart_random_delay(const String id, const double rand_sec); + bool oneshot_node_has_autorestart(const String id) const; + double oneshot_node_get_autorestart_delay(const String id) const; + double oneshot_node_get_autorestart_random_delay(const String id) const; + void oneshot_node_start(const String id); + void oneshot_node_stop(const String id); + bool oneshot_node_is_active(const String id) const; + void oneshot_node_set_filter_path(const String id, const NodePath path, const bool enable); + void mix_node_set_amount(const String id, const double ratio); + double mix_node_get_amount(const String id) const; + void blend2_node_set_amount(const String id, const double blend); + double blend2_node_get_amount(const String id) const; + void blend2_node_set_filter_path(const String id, const NodePath path, const bool enable); + void blend3_node_set_amount(const String id, const double blend); + double blend3_node_get_amount(const String id) const; + void blend4_node_set_amount(const String id, const Vector2 blend); + Vector2 blend4_node_get_amount(const String id) const; + void timescale_node_set_scale(const String id, const double scale); + double timescale_node_get_scale(const String id) const; + void timeseek_node_seek(const String id, const double seconds); + void transition_node_set_input_count(const String id, const int64_t count); + int64_t transition_node_get_input_count(const String id) const; + void transition_node_delete_input(const String id, const int64_t input_idx); + void transition_node_set_input_auto_advance(const String id, const int64_t input_idx, const bool enable); + bool transition_node_has_input_auto_advance(const String id, const int64_t input_idx) const; + void transition_node_set_xfade_time(const String id, const double time_sec); + double transition_node_get_xfade_time(const String id) const; + void transition_node_set_current(const String id, const int64_t input_idx); + int64_t transition_node_get_current(const String id) const; + void node_set_position(const String id, const Vector2 screen_position); + Vector2 node_get_position(const String id) const; + void remove_node(const String id); + Error connect_nodes(const String id, const String dst_id, const int64_t dst_input_idx); + bool are_nodes_connected(const String id, const String dst_id, const int64_t dst_input_idx) const; + void disconnect_nodes(const String id, const int64_t dst_input_idx); + void set_active(const bool enabled); + bool is_active() const; + void set_base_path(const NodePath path); + NodePath get_base_path() const; + void set_master_player(const NodePath nodepath); + NodePath get_master_player() const; + PoolStringArray get_node_list(); + void set_animation_process_mode(const int64_t mode); + AnimationTreePlayer::AnimationProcessMode get_animation_process_mode() const; + void advance(const double delta); + void reset(); + void recompute_caches(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/Area.hpp b/include/gen/Area.hpp new file mode 100644 index 00000000..f039a3d6 --- /dev/null +++ b/include/gen/Area.hpp @@ -0,0 +1,95 @@ +#ifndef GODOT_CPP_AREA_HPP +#define GODOT_CPP_AREA_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class Object; + +class Area : public CollisionObject { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "Area"; } + 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 SpaceOverride { + SPACE_OVERRIDE_COMBINE_REPLACE = 2, + SPACE_OVERRIDE_COMBINE = 1, + SPACE_OVERRIDE_REPLACE = 3, + SPACE_OVERRIDE_DISABLED = 0, + SPACE_OVERRIDE_REPLACE_COMBINE = 4, + }; + + // constants + + + static Area *_new(); + + // methods + void _body_enter_tree(const int64_t id); + void _body_exit_tree(const int64_t id); + void _area_enter_tree(const int64_t id); + void _area_exit_tree(const int64_t id); + void set_space_override_mode(const int64_t enable); + Area::SpaceOverride get_space_override_mode() const; + void set_gravity_is_point(const bool enable); + bool is_gravity_a_point() const; + void set_gravity_distance_scale(const double distance_scale); + double get_gravity_distance_scale() const; + void set_gravity_vector(const Vector3 vector); + Vector3 get_gravity_vector() const; + void set_gravity(const double gravity); + double get_gravity() const; + void set_angular_damp(const double angular_damp); + double get_angular_damp() const; + void set_linear_damp(const double linear_damp); + double get_linear_damp() const; + void set_priority(const double priority); + double get_priority() const; + void set_collision_mask(const int64_t collision_mask); + int64_t get_collision_mask() const; + void set_collision_layer(const int64_t collision_layer); + int64_t get_collision_layer() const; + void set_collision_mask_bit(const int64_t bit, const bool value); + bool get_collision_mask_bit(const int64_t bit) const; + void set_collision_layer_bit(const int64_t bit, const bool value); + bool get_collision_layer_bit(const int64_t bit) const; + void set_monitorable(const bool enable); + bool is_monitorable() const; + void set_monitoring(const bool enable); + bool is_monitoring() const; + Array get_overlapping_bodies() const; + Array get_overlapping_areas() const; + bool overlaps_body(const Object *body) const; + bool overlaps_area(const Object *area) const; + void _body_inout(const int64_t arg0, const RID arg1, const int64_t arg2, const int64_t arg3, const int64_t arg4); + void _area_inout(const int64_t arg0, const RID arg1, const int64_t arg2, const int64_t arg3, const int64_t arg4); + void set_audio_bus_override(const bool enable); + bool is_overriding_audio_bus() const; + void set_audio_bus(const String name); + String get_audio_bus() const; + void set_use_reverb_bus(const bool enable); + bool is_using_reverb_bus() const; + void set_reverb_bus(const String name); + String get_reverb_bus() const; + void set_reverb_amount(const double amount); + double get_reverb_amount() const; + void set_reverb_uniformity(const double amount); + double get_reverb_uniformity() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/Area2D.hpp b/include/gen/Area2D.hpp new file mode 100644 index 00000000..75717989 --- /dev/null +++ b/include/gen/Area2D.hpp @@ -0,0 +1,87 @@ +#ifndef GODOT_CPP_AREA2D_HPP +#define GODOT_CPP_AREA2D_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class Object; + +class Area2D : public CollisionObject2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "Area2D"; } + 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 SpaceOverride { + SPACE_OVERRIDE_COMBINE_REPLACE = 2, + SPACE_OVERRIDE_COMBINE = 1, + SPACE_OVERRIDE_REPLACE = 3, + SPACE_OVERRIDE_DISABLED = 0, + SPACE_OVERRIDE_REPLACE_COMBINE = 4, + }; + + // constants + + + static Area2D *_new(); + + // methods + void _body_enter_tree(const int64_t id); + void _body_exit_tree(const int64_t id); + void _area_enter_tree(const int64_t id); + void _area_exit_tree(const int64_t id); + void set_space_override_mode(const int64_t space_override_mode); + Area2D::SpaceOverride get_space_override_mode() const; + void set_gravity_is_point(const bool enable); + bool is_gravity_a_point() const; + void set_gravity_distance_scale(const double distance_scale); + double get_gravity_distance_scale() const; + void set_gravity_vector(const Vector2 vector); + Vector2 get_gravity_vector() const; + void set_gravity(const double gravity); + double get_gravity() const; + void set_linear_damp(const double linear_damp); + double get_linear_damp() const; + void set_angular_damp(const double angular_damp); + double get_angular_damp() const; + void set_priority(const double priority); + double get_priority() const; + void set_collision_mask(const int64_t collision_mask); + int64_t get_collision_mask() const; + void set_collision_layer(const int64_t collision_layer); + int64_t get_collision_layer() const; + void set_collision_mask_bit(const int64_t bit, const bool value); + bool get_collision_mask_bit(const int64_t bit) const; + void set_collision_layer_bit(const int64_t bit, const bool value); + bool get_collision_layer_bit(const int64_t bit) const; + void set_monitoring(const bool enable); + bool is_monitoring() const; + void set_monitorable(const bool enable); + bool is_monitorable() const; + Array get_overlapping_bodies() const; + Array get_overlapping_areas() const; + bool overlaps_body(const Object *body) const; + bool overlaps_area(const Object *area) const; + void set_audio_bus_name(const String name); + String get_audio_bus_name() const; + void set_audio_bus_override(const bool enable); + bool is_overriding_audio_bus() const; + void _body_inout(const int64_t arg0, const RID arg1, const int64_t arg2, const int64_t arg3, const int64_t arg4); + void _area_inout(const int64_t arg0, const RID arg1, const int64_t arg2, const int64_t arg3, const int64_t arg4); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ArrayMesh.hpp b/include/gen/ArrayMesh.hpp new file mode 100644 index 00000000..bf3f410e --- /dev/null +++ b/include/gen/ArrayMesh.hpp @@ -0,0 +1,88 @@ +#ifndef GODOT_CPP_ARRAYMESH_HPP +#define GODOT_CPP_ARRAYMESH_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class Material; + +class ArrayMesh : public Mesh { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ArrayMesh"; } + 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 ArrayFormat { + ARRAY_FORMAT_WEIGHTS = 128, + ARRAY_FORMAT_COLOR = 8, + ARRAY_FORMAT_TEX_UV = 16, + ARRAY_FORMAT_TEX_UV2 = 32, + ARRAY_FORMAT_INDEX = 256, + ARRAY_FORMAT_BONES = 64, + ARRAY_FORMAT_VERTEX = 1, + ARRAY_FORMAT_TANGENT = 4, + ARRAY_FORMAT_NORMAL = 2, + }; + enum ArrayType { + ARRAY_VERTEX = 0, + ARRAY_TEX_UV2 = 5, + ARRAY_MAX = 9, + ARRAY_BONES = 6, + ARRAY_NORMAL = 1, + ARRAY_WEIGHTS = 7, + ARRAY_COLOR = 3, + ARRAY_INDEX = 8, + ARRAY_TANGENT = 2, + ARRAY_TEX_UV = 4, + }; + + // constants + const static int ARRAY_WEIGHTS_SIZE = 4; + const static int NO_INDEX_ARRAY = -1; + + + static ArrayMesh *_new(); + + // methods + void add_blend_shape(const String name); + int64_t get_blend_shape_count() const; + String get_blend_shape_name(const int64_t index) const; + void clear_blend_shapes(); + void set_blend_shape_mode(const int64_t mode); + Mesh::BlendShapeMode get_blend_shape_mode() const; + void add_surface_from_arrays(const int64_t primitive, const Array arrays, const Array blend_shapes = Array(), const int64_t compress_flags = 97792); + int64_t get_surface_count() const; + void surface_remove(const int64_t surf_idx); + void surface_update_region(const int64_t surf_idx, const int64_t offset, const PoolByteArray data); + int64_t surface_get_array_len(const int64_t surf_idx) const; + int64_t surface_get_array_index_len(const int64_t surf_idx) const; + int64_t surface_get_format(const int64_t surf_idx) const; + Mesh::PrimitiveType surface_get_primitive_type(const int64_t surf_idx) const; + void surface_set_material(const int64_t surf_idx, const Ref material); + Ref surface_get_material(const int64_t surf_idx) const; + void surface_set_name(const int64_t surf_idx, const String name); + String surface_get_name(const int64_t surf_idx) const; + Array surface_get_arrays(const int64_t surf_idx) const; + Array surface_get_blend_shape_arrays(const int64_t surf_idx) const; + void center_geometry(); + void regen_normalmaps(); + Error lightmap_unwrap(const Transform arg0, const double arg1); + void set_custom_aabb(const AABB aabb); + AABB get_custom_aabb() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AtlasTexture.hpp b/include/gen/AtlasTexture.hpp new file mode 100644 index 00000000..bbbaa915 --- /dev/null +++ b/include/gen/AtlasTexture.hpp @@ -0,0 +1,45 @@ +#ifndef GODOT_CPP_ATLASTEXTURE_HPP +#define GODOT_CPP_ATLASTEXTURE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Texture; + +class AtlasTexture : public Texture { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AtlasTexture"; } + 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 + + // constants + + + static AtlasTexture *_new(); + + // methods + void set_atlas(const Ref atlas); + Ref get_atlas() const; + void set_region(const Rect2 region); + Rect2 get_region() const; + void set_margin(const Rect2 margin); + Rect2 get_margin() const; + void set_filter_clip(const bool enable); + bool has_filter_clip() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioBusLayout.hpp b/include/gen/AudioBusLayout.hpp new file mode 100644 index 00000000..4a17293a --- /dev/null +++ b/include/gen/AudioBusLayout.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_AUDIOBUSLAYOUT_HPP +#define GODOT_CPP_AUDIOBUSLAYOUT_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioBusLayout : public Resource { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioBusLayout"; } + 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 + + // constants + + + static AudioBusLayout *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffect.hpp b/include/gen/AudioEffect.hpp new file mode 100644 index 00000000..ec44d225 --- /dev/null +++ b/include/gen/AudioEffect.hpp @@ -0,0 +1,33 @@ +#ifndef GODOT_CPP_AUDIOEFFECT_HPP +#define GODOT_CPP_AUDIOEFFECT_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffect : public Resource { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffect"; } + 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 + + // constants + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectAmplify.hpp b/include/gen/AudioEffectAmplify.hpp new file mode 100644 index 00000000..6a723b4d --- /dev/null +++ b/include/gen/AudioEffectAmplify.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_AUDIOEFFECTAMPLIFY_HPP +#define GODOT_CPP_AUDIOEFFECTAMPLIFY_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectAmplify : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectAmplify"; } + 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 + + // constants + + + static AudioEffectAmplify *_new(); + + // methods + void set_volume_db(const double volume); + double get_volume_db() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectBandLimitFilter.hpp b/include/gen/AudioEffectBandLimitFilter.hpp new file mode 100644 index 00000000..59cbf763 --- /dev/null +++ b/include/gen/AudioEffectBandLimitFilter.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_AUDIOEFFECTBANDLIMITFILTER_HPP +#define GODOT_CPP_AUDIOEFFECTBANDLIMITFILTER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectBandLimitFilter : public AudioEffectFilter { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectBandLimitFilter"; } + 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 + + // constants + + + static AudioEffectBandLimitFilter *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectBandPassFilter.hpp b/include/gen/AudioEffectBandPassFilter.hpp new file mode 100644 index 00000000..9783c9e1 --- /dev/null +++ b/include/gen/AudioEffectBandPassFilter.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_AUDIOEFFECTBANDPASSFILTER_HPP +#define GODOT_CPP_AUDIOEFFECTBANDPASSFILTER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectBandPassFilter : public AudioEffectFilter { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectBandPassFilter"; } + 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 + + // constants + + + static AudioEffectBandPassFilter *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectChorus.hpp b/include/gen/AudioEffectChorus.hpp new file mode 100644 index 00000000..4557e829 --- /dev/null +++ b/include/gen/AudioEffectChorus.hpp @@ -0,0 +1,54 @@ +#ifndef GODOT_CPP_AUDIOEFFECTCHORUS_HPP +#define GODOT_CPP_AUDIOEFFECTCHORUS_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectChorus : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectChorus"; } + 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 + + // constants + + + static AudioEffectChorus *_new(); + + // methods + void set_voice_count(const int64_t voices); + int64_t get_voice_count() const; + void set_voice_delay_ms(const int64_t voice_idx, const double delay_ms); + double get_voice_delay_ms(const int64_t voice_idx) const; + void set_voice_rate_hz(const int64_t voice_idx, const double rate_hz); + double get_voice_rate_hz(const int64_t voice_idx) const; + void set_voice_depth_ms(const int64_t voice_idx, const double depth_ms); + double get_voice_depth_ms(const int64_t voice_idx) const; + void set_voice_level_db(const int64_t voice_idx, const double level_db); + double get_voice_level_db(const int64_t voice_idx) const; + void set_voice_cutoff_hz(const int64_t voice_idx, const double cutoff_hz); + double get_voice_cutoff_hz(const int64_t voice_idx) const; + void set_voice_pan(const int64_t voice_idx, const double pan); + double get_voice_pan(const int64_t voice_idx) const; + void set_wet(const double amount); + double get_wet() const; + void set_dry(const double amount); + double get_dry() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectCompressor.hpp b/include/gen/AudioEffectCompressor.hpp new file mode 100644 index 00000000..4a817507 --- /dev/null +++ b/include/gen/AudioEffectCompressor.hpp @@ -0,0 +1,50 @@ +#ifndef GODOT_CPP_AUDIOEFFECTCOMPRESSOR_HPP +#define GODOT_CPP_AUDIOEFFECTCOMPRESSOR_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectCompressor : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectCompressor"; } + 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 + + // constants + + + static AudioEffectCompressor *_new(); + + // methods + void set_threshold(const double threshold); + double get_threshold() const; + void set_ratio(const double ratio); + double get_ratio() const; + void set_gain(const double gain); + double get_gain() const; + void set_attack_us(const double attack_us); + double get_attack_us() const; + void set_release_ms(const double release_ms); + double get_release_ms() const; + void set_mix(const double mix); + double get_mix() const; + void set_sidechain(const String sidechain); + String get_sidechain() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectDelay.hpp b/include/gen/AudioEffectDelay.hpp new file mode 100644 index 00000000..2cdf93f0 --- /dev/null +++ b/include/gen/AudioEffectDelay.hpp @@ -0,0 +1,62 @@ +#ifndef GODOT_CPP_AUDIOEFFECTDELAY_HPP +#define GODOT_CPP_AUDIOEFFECTDELAY_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectDelay : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectDelay"; } + 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 + + // constants + + + static AudioEffectDelay *_new(); + + // methods + void set_dry(const double amount); + double get_dry(); + void set_tap1_active(const bool amount); + bool is_tap1_active() const; + void set_tap1_delay_ms(const double amount); + double get_tap1_delay_ms() const; + void set_tap1_level_db(const double amount); + double get_tap1_level_db() const; + void set_tap1_pan(const double amount); + double get_tap1_pan() const; + void set_tap2_active(const bool amount); + bool is_tap2_active() const; + void set_tap2_delay_ms(const double amount); + double get_tap2_delay_ms() const; + void set_tap2_level_db(const double amount); + double get_tap2_level_db() const; + void set_tap2_pan(const double amount); + double get_tap2_pan() const; + void set_feedback_active(const bool amount); + bool is_feedback_active() const; + void set_feedback_delay_ms(const double amount); + double get_feedback_delay_ms() const; + void set_feedback_level_db(const double amount); + double get_feedback_level_db() const; + void set_feedback_lowpass(const double amount); + double get_feedback_lowpass() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectDistortion.hpp b/include/gen/AudioEffectDistortion.hpp new file mode 100644 index 00000000..1c7411bc --- /dev/null +++ b/include/gen/AudioEffectDistortion.hpp @@ -0,0 +1,54 @@ +#ifndef GODOT_CPP_AUDIOEFFECTDISTORTION_HPP +#define GODOT_CPP_AUDIOEFFECTDISTORTION_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + + +class AudioEffectDistortion : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectDistortion"; } + 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 Mode { + MODE_OVERDRIVE = 3, + MODE_LOFI = 2, + MODE_ATAN = 1, + MODE_WAVESHAPE = 4, + MODE_CLIP = 0, + }; + + // constants + + + static AudioEffectDistortion *_new(); + + // methods + void set_mode(const int64_t mode); + AudioEffectDistortion::Mode get_mode() const; + void set_pre_gain(const double pre_gain); + double get_pre_gain() const; + void set_keep_hf_hz(const double keep_hf_hz); + double get_keep_hf_hz() const; + void set_drive(const double drive); + double get_drive() const; + void set_post_gain(const double post_gain); + double get_post_gain() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectEQ.hpp b/include/gen/AudioEffectEQ.hpp new file mode 100644 index 00000000..aace26e7 --- /dev/null +++ b/include/gen/AudioEffectEQ.hpp @@ -0,0 +1,39 @@ +#ifndef GODOT_CPP_AUDIOEFFECTEQ_HPP +#define GODOT_CPP_AUDIOEFFECTEQ_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectEQ : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectEQ"; } + 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 + + // constants + + + static AudioEffectEQ *_new(); + + // methods + void set_band_gain_db(const int64_t band_idx, const double volume_db); + double get_band_gain_db(const int64_t band_idx) const; + int64_t get_band_count() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectEQ10.hpp b/include/gen/AudioEffectEQ10.hpp new file mode 100644 index 00000000..9d2294a7 --- /dev/null +++ b/include/gen/AudioEffectEQ10.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_AUDIOEFFECTEQ10_HPP +#define GODOT_CPP_AUDIOEFFECTEQ10_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectEQ10 : public AudioEffectEQ { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectEQ10"; } + 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 + + // constants + + + static AudioEffectEQ10 *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectEQ21.hpp b/include/gen/AudioEffectEQ21.hpp new file mode 100644 index 00000000..1fdf9bd6 --- /dev/null +++ b/include/gen/AudioEffectEQ21.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_AUDIOEFFECTEQ21_HPP +#define GODOT_CPP_AUDIOEFFECTEQ21_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectEQ21 : public AudioEffectEQ { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectEQ21"; } + 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 + + // constants + + + static AudioEffectEQ21 *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectEQ6.hpp b/include/gen/AudioEffectEQ6.hpp new file mode 100644 index 00000000..26df2bd7 --- /dev/null +++ b/include/gen/AudioEffectEQ6.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_AUDIOEFFECTEQ6_HPP +#define GODOT_CPP_AUDIOEFFECTEQ6_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectEQ6 : public AudioEffectEQ { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectEQ6"; } + 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 + + // constants + + + static AudioEffectEQ6 *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectFilter.hpp b/include/gen/AudioEffectFilter.hpp new file mode 100644 index 00000000..639c5a06 --- /dev/null +++ b/include/gen/AudioEffectFilter.hpp @@ -0,0 +1,51 @@ +#ifndef GODOT_CPP_AUDIOEFFECTFILTER_HPP +#define GODOT_CPP_AUDIOEFFECTFILTER_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + + +class AudioEffectFilter : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectFilter"; } + 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 FilterDB { + FILTER_18DB = 2, + FILTER_6DB = 0, + FILTER_24DB = 3, + FILTER_12DB = 1, + }; + + // constants + + + static AudioEffectFilter *_new(); + + // methods + void set_cutoff(const double freq); + double get_cutoff() const; + void set_resonance(const double amount); + double get_resonance() const; + void set_gain(const double amount); + double get_gain() const; + void set_db(const int64_t amount); + AudioEffectFilter::FilterDB get_db() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectHighPassFilter.hpp b/include/gen/AudioEffectHighPassFilter.hpp new file mode 100644 index 00000000..c0ee7178 --- /dev/null +++ b/include/gen/AudioEffectHighPassFilter.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_AUDIOEFFECTHIGHPASSFILTER_HPP +#define GODOT_CPP_AUDIOEFFECTHIGHPASSFILTER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectHighPassFilter : public AudioEffectFilter { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectHighPassFilter"; } + 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 + + // constants + + + static AudioEffectHighPassFilter *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectHighShelfFilter.hpp b/include/gen/AudioEffectHighShelfFilter.hpp new file mode 100644 index 00000000..e0612f98 --- /dev/null +++ b/include/gen/AudioEffectHighShelfFilter.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_AUDIOEFFECTHIGHSHELFFILTER_HPP +#define GODOT_CPP_AUDIOEFFECTHIGHSHELFFILTER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectHighShelfFilter : public AudioEffectFilter { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectHighShelfFilter"; } + 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 + + // constants + + + static AudioEffectHighShelfFilter *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectLimiter.hpp b/include/gen/AudioEffectLimiter.hpp new file mode 100644 index 00000000..5ae482ad --- /dev/null +++ b/include/gen/AudioEffectLimiter.hpp @@ -0,0 +1,44 @@ +#ifndef GODOT_CPP_AUDIOEFFECTLIMITER_HPP +#define GODOT_CPP_AUDIOEFFECTLIMITER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectLimiter : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectLimiter"; } + 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 + + // constants + + + static AudioEffectLimiter *_new(); + + // methods + void set_ceiling_db(const double ceiling); + double get_ceiling_db() const; + void set_threshold_db(const double threshold); + double get_threshold_db() const; + void set_soft_clip_db(const double soft_clip); + double get_soft_clip_db() const; + void set_soft_clip_ratio(const double soft_clip); + double get_soft_clip_ratio() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectLowPassFilter.hpp b/include/gen/AudioEffectLowPassFilter.hpp new file mode 100644 index 00000000..fc6e165c --- /dev/null +++ b/include/gen/AudioEffectLowPassFilter.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_AUDIOEFFECTLOWPASSFILTER_HPP +#define GODOT_CPP_AUDIOEFFECTLOWPASSFILTER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectLowPassFilter : public AudioEffectFilter { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectLowPassFilter"; } + 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 + + // constants + + + static AudioEffectLowPassFilter *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectLowShelfFilter.hpp b/include/gen/AudioEffectLowShelfFilter.hpp new file mode 100644 index 00000000..f7605f8f --- /dev/null +++ b/include/gen/AudioEffectLowShelfFilter.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_AUDIOEFFECTLOWSHELFFILTER_HPP +#define GODOT_CPP_AUDIOEFFECTLOWSHELFFILTER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectLowShelfFilter : public AudioEffectFilter { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectLowShelfFilter"; } + 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 + + // constants + + + static AudioEffectLowShelfFilter *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectNotchFilter.hpp b/include/gen/AudioEffectNotchFilter.hpp new file mode 100644 index 00000000..2d76e2d5 --- /dev/null +++ b/include/gen/AudioEffectNotchFilter.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_AUDIOEFFECTNOTCHFILTER_HPP +#define GODOT_CPP_AUDIOEFFECTNOTCHFILTER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectNotchFilter : public AudioEffectFilter { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectNotchFilter"; } + 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 + + // constants + + + static AudioEffectNotchFilter *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectPanner.hpp b/include/gen/AudioEffectPanner.hpp new file mode 100644 index 00000000..8b0186aa --- /dev/null +++ b/include/gen/AudioEffectPanner.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_AUDIOEFFECTPANNER_HPP +#define GODOT_CPP_AUDIOEFFECTPANNER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectPanner : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectPanner"; } + 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 + + // constants + + + static AudioEffectPanner *_new(); + + // methods + void set_pan(const double cpanume); + double get_pan() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectPhaser.hpp b/include/gen/AudioEffectPhaser.hpp new file mode 100644 index 00000000..a4838325 --- /dev/null +++ b/include/gen/AudioEffectPhaser.hpp @@ -0,0 +1,46 @@ +#ifndef GODOT_CPP_AUDIOEFFECTPHASER_HPP +#define GODOT_CPP_AUDIOEFFECTPHASER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectPhaser : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectPhaser"; } + 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 + + // constants + + + static AudioEffectPhaser *_new(); + + // methods + void set_range_min_hz(const double hz); + double get_range_min_hz() const; + void set_range_max_hz(const double hz); + double get_range_max_hz() const; + void set_rate_hz(const double hz); + double get_rate_hz() const; + void set_feedback(const double fbk); + double get_feedback() const; + void set_depth(const double depth); + double get_depth() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectPitchShift.hpp b/include/gen/AudioEffectPitchShift.hpp new file mode 100644 index 00000000..555b36d5 --- /dev/null +++ b/include/gen/AudioEffectPitchShift.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_AUDIOEFFECTPITCHSHIFT_HPP +#define GODOT_CPP_AUDIOEFFECTPITCHSHIFT_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectPitchShift : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectPitchShift"; } + 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 + + // constants + + + static AudioEffectPitchShift *_new(); + + // methods + void set_pitch_scale(const double rate); + double get_pitch_scale() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectReverb.hpp b/include/gen/AudioEffectReverb.hpp new file mode 100644 index 00000000..1d4d1563 --- /dev/null +++ b/include/gen/AudioEffectReverb.hpp @@ -0,0 +1,52 @@ +#ifndef GODOT_CPP_AUDIOEFFECTREVERB_HPP +#define GODOT_CPP_AUDIOEFFECTREVERB_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectReverb : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectReverb"; } + 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 + + // constants + + + static AudioEffectReverb *_new(); + + // methods + void set_predelay_msec(const double msec); + double get_predelay_msec() const; + void set_predelay_feedback(const double feedback); + double get_predelay_feedback() const; + void set_room_size(const double size); + double get_room_size() const; + void set_damping(const double amount); + double get_damping() const; + void set_spread(const double amount); + double get_spread() const; + void set_dry(const double amount); + double get_dry() const; + void set_wet(const double amount); + double get_wet() const; + void set_hpf(const double amount); + double get_hpf() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioEffectStereoEnhance.hpp b/include/gen/AudioEffectStereoEnhance.hpp new file mode 100644 index 00000000..fd30e904 --- /dev/null +++ b/include/gen/AudioEffectStereoEnhance.hpp @@ -0,0 +1,42 @@ +#ifndef GODOT_CPP_AUDIOEFFECTSTEREOENHANCE_HPP +#define GODOT_CPP_AUDIOEFFECTSTEREOENHANCE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioEffectStereoEnhance : public AudioEffect { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioEffectStereoEnhance"; } + 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 + + // constants + + + static AudioEffectStereoEnhance *_new(); + + // methods + void set_pan_pullout(const double amount); + double get_pan_pullout() const; + void set_time_pullout(const double amount); + double get_time_pullout() const; + void set_surround(const double amount); + double get_surround() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioServer.hpp b/include/gen/AudioServer.hpp new file mode 100644 index 00000000..4ce6f1a8 --- /dev/null +++ b/include/gen/AudioServer.hpp @@ -0,0 +1,86 @@ +#ifndef GODOT_CPP_AUDIOSERVER_HPP +#define GODOT_CPP_AUDIOSERVER_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class AudioEffect; +class AudioBusLayout; + +class AudioServer : public Object { + static AudioServer *_singleton; + + AudioServer(); + +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline AudioServer *get_singleton() + { + if (!AudioServer::_singleton) { + AudioServer::_singleton = new AudioServer; + } + return AudioServer::_singleton; + } + + static inline const char *___get_class_name() { return (const char *) "AudioServer"; } + 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 SpeakerMode { + SPEAKER_SURROUND_51 = 2, + SPEAKER_SURROUND_71 = 3, + SPEAKER_MODE_STEREO = 0, + }; + + // constants + + // methods + void set_bus_count(const int64_t amount); + int64_t get_bus_count() const; + void remove_bus(const int64_t index); + void add_bus(const int64_t at_position = -1); + void move_bus(const int64_t index, const int64_t to_index); + void set_bus_name(const int64_t bus_idx, const String name); + String get_bus_name(const int64_t bus_idx) const; + int64_t get_bus_index(const String bus_name) const; + void set_bus_volume_db(const int64_t bus_idx, const double volume_db); + double get_bus_volume_db(const int64_t bus_idx) const; + void set_bus_send(const int64_t bus_idx, const String send); + String get_bus_send(const int64_t bus_idx) const; + void set_bus_solo(const int64_t bus_idx, const bool enable); + bool is_bus_solo(const int64_t bus_idx) const; + void set_bus_mute(const int64_t bus_idx, const bool enable); + bool is_bus_mute(const int64_t bus_idx) const; + void set_bus_bypass_effects(const int64_t bus_idx, const bool enable); + bool is_bus_bypassing_effects(const int64_t bus_idx) const; + void add_bus_effect(const int64_t bus_idx, const Ref effect, const int64_t at_position = -1); + void remove_bus_effect(const int64_t bus_idx, const int64_t effect_idx); + int64_t get_bus_effect_count(const int64_t bus_idx); + Ref get_bus_effect(const int64_t bus_idx, const int64_t effect_idx); + void swap_bus_effects(const int64_t bus_idx, const int64_t effect_idx, const int64_t by_effect_idx); + void set_bus_effect_enabled(const int64_t bus_idx, const int64_t effect_idx, const bool enabled); + bool is_bus_effect_enabled(const int64_t bus_idx, const int64_t effect_idx) const; + double get_bus_peak_volume_left_db(const int64_t bus_idx, const int64_t channel) const; + double get_bus_peak_volume_right_db(const int64_t bus_idx, const int64_t channel) const; + void lock(); + void unlock(); + AudioServer::SpeakerMode get_speaker_mode() const; + double get_mix_rate() const; + void set_bus_layout(const Ref bus_layout); + Ref generate_bus_layout() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioStream.hpp b/include/gen/AudioStream.hpp new file mode 100644 index 00000000..6d7005c4 --- /dev/null +++ b/include/gen/AudioStream.hpp @@ -0,0 +1,34 @@ +#ifndef GODOT_CPP_AUDIOSTREAM_HPP +#define GODOT_CPP_AUDIOSTREAM_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioStream : public Resource { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioStream"; } + 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 + + // constants + + // methods + double get_length() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioStreamOGGVorbis.hpp b/include/gen/AudioStreamOGGVorbis.hpp new file mode 100644 index 00000000..edda916d --- /dev/null +++ b/include/gen/AudioStreamOGGVorbis.hpp @@ -0,0 +1,42 @@ +#ifndef GODOT_CPP_AUDIOSTREAMOGGVORBIS_HPP +#define GODOT_CPP_AUDIOSTREAMOGGVORBIS_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioStreamOGGVorbis : public AudioStream { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioStreamOGGVorbis"; } + 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 + + // constants + + + static AudioStreamOGGVorbis *_new(); + + // methods + void _set_data(const PoolByteArray data); + PoolByteArray _get_data() const; + void set_loop(const bool enable); + bool has_loop() const; + void set_loop_offset(const double seconds); + double get_loop_offset() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioStreamPlayback.hpp b/include/gen/AudioStreamPlayback.hpp new file mode 100644 index 00000000..a1112bcb --- /dev/null +++ b/include/gen/AudioStreamPlayback.hpp @@ -0,0 +1,33 @@ +#ifndef GODOT_CPP_AUDIOSTREAMPLAYBACK_HPP +#define GODOT_CPP_AUDIOSTREAMPLAYBACK_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class AudioStreamPlayback : public Reference { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioStreamPlayback"; } + 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 + + // constants + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioStreamPlayer.hpp b/include/gen/AudioStreamPlayer.hpp new file mode 100644 index 00000000..f79adfd3 --- /dev/null +++ b/include/gen/AudioStreamPlayer.hpp @@ -0,0 +1,63 @@ +#ifndef GODOT_CPP_AUDIOSTREAMPLAYER_HPP +#define GODOT_CPP_AUDIOSTREAMPLAYER_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class AudioStream; + +class AudioStreamPlayer : public Node { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioStreamPlayer"; } + 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 MixTarget { + MIX_TARGET_SURROUND = 1, + MIX_TARGET_CENTER = 2, + MIX_TARGET_STEREO = 0, + }; + + // constants + + + static AudioStreamPlayer *_new(); + + // methods + void set_stream(const Ref stream); + Ref get_stream() const; + void set_volume_db(const double volume_db); + double get_volume_db() const; + void set_pitch_scale(const double pitch_scale); + double get_pitch_scale() const; + void play(const double from_position = 0); + void seek(const double to_position); + void stop(); + bool is_playing() const; + double get_playback_position(); + void set_bus(const String bus); + String get_bus() const; + void set_autoplay(const bool enable); + bool is_autoplay_enabled(); + void set_mix_target(const int64_t mix_target); + AudioStreamPlayer::MixTarget get_mix_target() const; + void _set_playing(const bool enable); + bool _is_active() const; + void _bus_layout_changed(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioStreamPlayer2D.hpp b/include/gen/AudioStreamPlayer2D.hpp new file mode 100644 index 00000000..f03c3206 --- /dev/null +++ b/include/gen/AudioStreamPlayer2D.hpp @@ -0,0 +1,61 @@ +#ifndef GODOT_CPP_AUDIOSTREAMPLAYER2D_HPP +#define GODOT_CPP_AUDIOSTREAMPLAYER2D_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class AudioStream; + +class AudioStreamPlayer2D : public Node2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioStreamPlayer2D"; } + 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 + + // constants + + + static AudioStreamPlayer2D *_new(); + + // methods + void set_stream(const Ref stream); + Ref get_stream() const; + void set_volume_db(const double volume_db); + double get_volume_db() const; + void set_pitch_scale(const double pitch_scale); + double get_pitch_scale() const; + void play(const double from_position = 0); + void seek(const double to_position); + void stop(); + bool is_playing() const; + double get_playback_position(); + void set_bus(const String bus); + String get_bus() const; + void set_autoplay(const bool enable); + bool is_autoplay_enabled(); + void _set_playing(const bool enable); + bool _is_active() const; + void set_max_distance(const double pixels); + double get_max_distance() const; + void set_attenuation(const double curve); + double get_attenuation() const; + void set_area_mask(const int64_t mask); + int64_t get_area_mask() const; + void _bus_layout_changed(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioStreamPlayer3D.hpp b/include/gen/AudioStreamPlayer3D.hpp new file mode 100644 index 00000000..220fc972 --- /dev/null +++ b/include/gen/AudioStreamPlayer3D.hpp @@ -0,0 +1,94 @@ +#ifndef GODOT_CPP_AUDIOSTREAMPLAYER3D_HPP +#define GODOT_CPP_AUDIOSTREAMPLAYER3D_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class AudioStream; + +class AudioStreamPlayer3D : public Spatial { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioStreamPlayer3D"; } + 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 AttenuationModel { + ATTENUATION_INVERSE_DISTANCE = 0, + ATTENUATION_LOGARITHMIC = 2, + ATTENUATION_INVERSE_SQUARE_DISTANCE = 1, + }; + enum OutOfRangeMode { + OUT_OF_RANGE_MIX = 0, + OUT_OF_RANGE_PAUSE = 1, + }; + enum DopplerTracking { + DOPPLER_TRACKING_IDLE_STEP = 1, + DOPPLER_TRACKING_PHYSICS_STEP = 2, + DOPPLER_TRACKING_DISABLED = 0, + }; + + // constants + + + static AudioStreamPlayer3D *_new(); + + // methods + void set_stream(const Ref stream); + Ref get_stream() const; + void set_unit_db(const double unit_db); + double get_unit_db() const; + void set_unit_size(const double unit_size); + double get_unit_size() const; + void set_max_db(const double max_db); + double get_max_db() const; + void set_pitch_scale(const double pitch_scale); + double get_pitch_scale() const; + void play(const double from_position = 0); + void seek(const double to_position); + void stop(); + bool is_playing() const; + double get_playback_position(); + void set_bus(const String bus); + String get_bus() const; + void set_autoplay(const bool enable); + bool is_autoplay_enabled(); + void _set_playing(const bool enable); + bool _is_active() const; + void set_max_distance(const double metres); + double get_max_distance() const; + void set_area_mask(const int64_t mask); + int64_t get_area_mask() const; + void set_emission_angle(const double degrees); + double get_emission_angle() const; + void set_emission_angle_enabled(const bool enabled); + bool is_emission_angle_enabled() const; + void set_emission_angle_filter_attenuation_db(const double db); + double get_emission_angle_filter_attenuation_db() const; + void set_attenuation_filter_cutoff_hz(const double degrees); + double get_attenuation_filter_cutoff_hz() const; + void set_attenuation_filter_db(const double db); + double get_attenuation_filter_db() const; + void set_attenuation_model(const int64_t model); + AudioStreamPlayer3D::AttenuationModel get_attenuation_model() const; + void set_out_of_range_mode(const int64_t mode); + AudioStreamPlayer3D::OutOfRangeMode get_out_of_range_mode() const; + void set_doppler_tracking(const int64_t mode); + AudioStreamPlayer3D::DopplerTracking get_doppler_tracking() const; + void _bus_layout_changed(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioStreamRandomPitch.hpp b/include/gen/AudioStreamRandomPitch.hpp new file mode 100644 index 00000000..cb0e85e3 --- /dev/null +++ b/include/gen/AudioStreamRandomPitch.hpp @@ -0,0 +1,41 @@ +#ifndef GODOT_CPP_AUDIOSTREAMRANDOMPITCH_HPP +#define GODOT_CPP_AUDIOSTREAMRANDOMPITCH_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class AudioStream; + +class AudioStreamRandomPitch : public AudioStream { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioStreamRandomPitch"; } + 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 + + // constants + + + static AudioStreamRandomPitch *_new(); + + // methods + void set_audio_stream(const Ref stream); + Ref get_audio_stream() const; + void set_random_pitch(const double scale); + double get_random_pitch() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/AudioStreamSample.hpp b/include/gen/AudioStreamSample.hpp new file mode 100644 index 00000000..32db8bd6 --- /dev/null +++ b/include/gen/AudioStreamSample.hpp @@ -0,0 +1,61 @@ +#ifndef GODOT_CPP_AUDIOSTREAMSAMPLE_HPP +#define GODOT_CPP_AUDIOSTREAMSAMPLE_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + + +class AudioStreamSample : public AudioStream { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "AudioStreamSample"; } + 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 LoopMode { + LOOP_PING_PONG = 2, + LOOP_FORWARD = 1, + LOOP_DISABLED = 0, + }; + enum Format { + FORMAT_8_BITS = 0, + FORMAT_IMA_ADPCM = 2, + FORMAT_16_BITS = 1, + }; + + // constants + + + static AudioStreamSample *_new(); + + // methods + void set_format(const int64_t format); + AudioStreamSample::Format get_format() const; + void set_loop_mode(const int64_t loop_mode); + AudioStreamSample::LoopMode get_loop_mode() const; + void set_loop_begin(const int64_t loop_begin); + int64_t get_loop_begin() const; + void set_loop_end(const int64_t loop_end); + int64_t get_loop_end() const; + void set_mix_rate(const int64_t mix_rate); + int64_t get_mix_rate() const; + void set_stereo(const bool stereo); + bool is_stereo() const; + void _set_data(const PoolByteArray data); + PoolByteArray _get_data() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/BackBufferCopy.hpp b/include/gen/BackBufferCopy.hpp new file mode 100644 index 00000000..4926c6db --- /dev/null +++ b/include/gen/BackBufferCopy.hpp @@ -0,0 +1,46 @@ +#ifndef GODOT_CPP_BACKBUFFERCOPY_HPP +#define GODOT_CPP_BACKBUFFERCOPY_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + + +class BackBufferCopy : public Node2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "BackBufferCopy"; } + 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 CopyMode { + COPY_MODE_DISABLED = 0, + COPY_MODE_RECT = 1, + COPY_MODE_VIEWPORT = 2, + }; + + // constants + + + static BackBufferCopy *_new(); + + // methods + void set_rect(const Rect2 rect); + Rect2 get_rect() const; + void set_copy_mode(const int64_t copy_mode); + BackBufferCopy::CopyMode get_copy_mode() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/BakedLightmap.hpp b/include/gen/BakedLightmap.hpp new file mode 100644 index 00000000..812ebe68 --- /dev/null +++ b/include/gen/BakedLightmap.hpp @@ -0,0 +1,77 @@ +#ifndef GODOT_CPP_BAKEDLIGHTMAP_HPP +#define GODOT_CPP_BAKEDLIGHTMAP_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class BakedLightmapData; +class Object; + +class BakedLightmap : public VisualInstance { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "BakedLightmap"; } + 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 BakeQuality { + BAKE_QUALITY_HIGH = 2, + BAKE_QUALITY_LOW = 0, + BAKE_QUALITY_MEDIUM = 1, + }; + enum BakeError { + BAKE_ERROR_OK = 0, + BAKE_ERROR_USER_ABORTED = 4, + BAKE_ERROR_NO_MESHES = 2, + BAKE_ERROR_CANT_CREATE_IMAGE = 3, + BAKE_ERROR_NO_SAVE_PATH = 1, + }; + enum BakeMode { + BAKE_MODE_CONE_TRACE = 0, + BAKE_MODE_RAY_TRACE = 1, + }; + + // constants + + + static BakedLightmap *_new(); + + // methods + void set_light_data(const Ref data); + Ref get_light_data() const; + void set_bake_cell_size(const double bake_cell_size); + double get_bake_cell_size() const; + void set_capture_cell_size(const double capture_cell_size); + double get_capture_cell_size() const; + void set_bake_quality(const int64_t bake_quality); + BakedLightmap::BakeQuality get_bake_quality() const; + void set_bake_mode(const int64_t bake_mode); + BakedLightmap::BakeMode get_bake_mode() const; + void set_extents(const Vector3 extents); + Vector3 get_extents() const; + void set_propagation(const double propagation); + double get_propagation() const; + void set_energy(const double energy); + double get_energy() const; + void set_hdr(const bool hdr); + bool is_hdr() const; + void set_image_path(const String image_path); + String get_image_path() const; + BakedLightmap::BakeError bake(const Object *from_node = nullptr, const bool create_visual_debug = false); + void debug_bake(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/BakedLightmapData.hpp b/include/gen/BakedLightmapData.hpp new file mode 100644 index 00000000..2af40130 --- /dev/null +++ b/include/gen/BakedLightmapData.hpp @@ -0,0 +1,54 @@ +#ifndef GODOT_CPP_BAKEDLIGHTMAPDATA_HPP +#define GODOT_CPP_BAKEDLIGHTMAPDATA_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Texture; + +class BakedLightmapData : public Resource { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "BakedLightmapData"; } + 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 + + // constants + + + static BakedLightmapData *_new(); + + // methods + void _set_user_data(const Array data); + Array _get_user_data() const; + void set_bounds(const AABB bounds); + AABB get_bounds() const; + void set_cell_space_transform(const Transform xform); + Transform get_cell_space_transform() const; + void set_cell_subdiv(const int64_t cell_subdiv); + int64_t get_cell_subdiv() const; + void set_octree(const PoolByteArray octree); + PoolByteArray get_octree() const; + void set_energy(const double energy); + double get_energy() const; + void add_user(const NodePath path, const Ref lightmap, const int64_t instance); + int64_t get_user_count() const; + NodePath get_user_path(const int64_t user_idx) const; + Ref get_user_lightmap(const int64_t user_idx) const; + void clear_users(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/BaseButton.hpp b/include/gen/BaseButton.hpp new file mode 100644 index 00000000..34f58d5e --- /dev/null +++ b/include/gen/BaseButton.hpp @@ -0,0 +1,68 @@ +#ifndef GODOT_CPP_BASEBUTTON_HPP +#define GODOT_CPP_BASEBUTTON_HPP + + +#include +#include + +#include +#include +#include +#include + +#include +namespace godot { + +class InputEvent; +class ShortCut; +class ButtonGroup; + +class BaseButton : public Control { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "BaseButton"; } + 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 ActionMode { + ACTION_MODE_BUTTON_PRESS = 0, + ACTION_MODE_BUTTON_RELEASE = 1, + }; + enum DrawMode { + DRAW_DISABLED = 3, + DRAW_PRESSED = 1, + DRAW_NORMAL = 0, + DRAW_HOVER = 2, + }; + + // constants + + // methods + void _pressed(); + void _toggled(const bool button_pressed); + void _gui_input(const Ref arg0); + void _unhandled_input(const Ref arg0); + void set_pressed(const bool pressed); + bool is_pressed() const; + bool is_hovered() const; + void set_toggle_mode(const bool enabled); + bool is_toggle_mode() const; + void set_disabled(const bool disabled); + bool is_disabled() const; + void set_action_mode(const int64_t mode); + BaseButton::ActionMode get_action_mode() const; + BaseButton::DrawMode get_draw_mode() const; + void set_enabled_focus_mode(const int64_t mode); + Control::FocusMode get_enabled_focus_mode() const; + void set_shortcut(const Ref shortcut); + Ref get_shortcut() const; + void set_button_group(const Ref button_group); + Ref get_button_group() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/BitMap.hpp b/include/gen/BitMap.hpp new file mode 100644 index 00000000..ccddf688 --- /dev/null +++ b/include/gen/BitMap.hpp @@ -0,0 +1,46 @@ +#ifndef GODOT_CPP_BITMAP_HPP +#define GODOT_CPP_BITMAP_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Image; + +class BitMap : public Resource { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "BitMap"; } + 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 + + // constants + + + static BitMap *_new(); + + // methods + void create(const Vector2 size); + void create_from_image_alpha(const Ref image, const double threshold = 0.1); + void set_bit(const Vector2 position, const bool bit); + bool get_bit(const Vector2 position) const; + void set_bit_rect(const Rect2 p_rect, const bool bit); + int64_t get_true_bit_count() const; + Vector2 get_size() const; + void _set_data(const Dictionary arg0); + Dictionary _get_data() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/BitmapFont.hpp b/include/gen/BitmapFont.hpp new file mode 100644 index 00000000..21248f85 --- /dev/null +++ b/include/gen/BitmapFont.hpp @@ -0,0 +1,58 @@ +#ifndef GODOT_CPP_BITMAPFONT_HPP +#define GODOT_CPP_BITMAPFONT_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Texture; +class BitmapFont; + +class BitmapFont : public Font { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "BitmapFont"; } + 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 + + // constants + + + static BitmapFont *_new(); + + // methods + Error create_from_fnt(const String path); + void set_height(const double px); + void set_ascent(const double px); + void add_kerning_pair(const int64_t char_a, const int64_t char_b, const int64_t kerning); + int64_t get_kerning_pair(const int64_t char_a, const int64_t char_b) const; + void add_texture(const Ref texture); + void add_char(const int64_t character, const int64_t texture, const Rect2 rect, const Vector2 align = Vector2(0, 0), const double advance = -1); + int64_t get_texture_count() const; + Ref get_texture(const int64_t idx) const; + Vector2 get_char_size(const int64_t _char, const int64_t next = 0) const; + void set_distance_field_hint(const bool enable); + void clear(); + void _set_chars(const PoolIntArray arg0); + PoolIntArray _get_chars() const; + void _set_kernings(const PoolIntArray arg0); + PoolIntArray _get_kernings() const; + void _set_textures(const Array arg0); + Array _get_textures() const; + void set_fallback(const Ref fallback); + Ref get_fallback() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/BoneAttachment.hpp b/include/gen/BoneAttachment.hpp new file mode 100644 index 00000000..8cb502b5 --- /dev/null +++ b/include/gen/BoneAttachment.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_BONEATTACHMENT_HPP +#define GODOT_CPP_BONEATTACHMENT_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class BoneAttachment : public Spatial { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "BoneAttachment"; } + 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 + + // constants + + + static BoneAttachment *_new(); + + // methods + void set_bone_name(const String bone_name); + String get_bone_name() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/BoxContainer.hpp b/include/gen/BoxContainer.hpp new file mode 100644 index 00000000..b5058fce --- /dev/null +++ b/include/gen/BoxContainer.hpp @@ -0,0 +1,42 @@ +#ifndef GODOT_CPP_BOXCONTAINER_HPP +#define GODOT_CPP_BOXCONTAINER_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + + +class BoxContainer : public Container { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "BoxContainer"; } + 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 AlignMode { + ALIGN_END = 2, + ALIGN_BEGIN = 0, + ALIGN_CENTER = 1, + }; + + // constants + + // methods + void add_spacer(const bool begin); + BoxContainer::AlignMode get_alignment() const; + void set_alignment(const int64_t alignment); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/BoxShape.hpp b/include/gen/BoxShape.hpp new file mode 100644 index 00000000..e12aae49 --- /dev/null +++ b/include/gen/BoxShape.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_BOXSHAPE_HPP +#define GODOT_CPP_BOXSHAPE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class BoxShape : public Shape { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "BoxShape"; } + 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 + + // constants + + + static BoxShape *_new(); + + // methods + void set_extents(const Vector3 extents); + Vector3 get_extents() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/BulletPhysicsDirectBodyState.hpp b/include/gen/BulletPhysicsDirectBodyState.hpp new file mode 100644 index 00000000..225489d8 --- /dev/null +++ b/include/gen/BulletPhysicsDirectBodyState.hpp @@ -0,0 +1,33 @@ +#ifndef GODOT_CPP_BULLETPHYSICSDIRECTBODYSTATE_HPP +#define GODOT_CPP_BULLETPHYSICSDIRECTBODYSTATE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class BulletPhysicsDirectBodyState : public PhysicsDirectBodyState { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "BulletPhysicsDirectBodyState"; } + 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 + + // constants + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/BulletPhysicsServer.hpp b/include/gen/BulletPhysicsServer.hpp new file mode 100644 index 00000000..717ff57e --- /dev/null +++ b/include/gen/BulletPhysicsServer.hpp @@ -0,0 +1,33 @@ +#ifndef GODOT_CPP_BULLETPHYSICSSERVER_HPP +#define GODOT_CPP_BULLETPHYSICSSERVER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class BulletPhysicsServer : public PhysicsServer { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "BulletPhysicsServer"; } + 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 + + // constants + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/Button.hpp b/include/gen/Button.hpp new file mode 100644 index 00000000..2264ff4f --- /dev/null +++ b/include/gen/Button.hpp @@ -0,0 +1,53 @@ +#ifndef GODOT_CPP_BUTTON_HPP +#define GODOT_CPP_BUTTON_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class Texture; + +class Button : public BaseButton { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "Button"; } + 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 TextAlign { + ALIGN_LEFT = 0, + ALIGN_CENTER = 1, + ALIGN_RIGHT = 2, + }; + + // constants + + + static Button *_new(); + + // methods + void set_text(const String text); + String get_text() const; + void set_button_icon(const Ref texture); + Ref get_button_icon() const; + void set_flat(const bool enabled); + void set_clip_text(const bool enabled); + bool get_clip_text() const; + void set_text_align(const int64_t align); + Button::TextAlign get_text_align() const; + bool is_flat() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ButtonGroup.hpp b/include/gen/ButtonGroup.hpp new file mode 100644 index 00000000..afeb16db --- /dev/null +++ b/include/gen/ButtonGroup.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_BUTTONGROUP_HPP +#define GODOT_CPP_BUTTONGROUP_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class BaseButton; + +class ButtonGroup : public Resource { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ButtonGroup"; } + 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 + + // constants + + + static ButtonGroup *_new(); + + // methods + BaseButton *get_pressed_button(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/Camera.hpp b/include/gen/Camera.hpp new file mode 100644 index 00000000..07c38f85 --- /dev/null +++ b/include/gen/Camera.hpp @@ -0,0 +1,86 @@ +#ifndef GODOT_CPP_CAMERA_HPP +#define GODOT_CPP_CAMERA_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class Environment; + +class Camera : public Spatial { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "Camera"; } + 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 KeepAspect { + KEEP_WIDTH = 0, + KEEP_HEIGHT = 1, + }; + enum Projection { + PROJECTION_PERSPECTIVE = 0, + PROJECTION_ORTHOGONAL = 1, + }; + enum DopplerTracking { + DOPPLER_TRACKING_IDLE_STEP = 1, + DOPPLER_TRACKING_PHYSICS_STEP = 2, + DOPPLER_TRACKING_DISABLED = 0, + }; + + // constants + + + static Camera *_new(); + + // methods + Vector3 project_ray_normal(const Vector2 screen_point) const; + Vector3 project_local_ray_normal(const Vector2 screen_point) const; + Vector3 project_ray_origin(const Vector2 screen_point) const; + Vector2 unproject_position(const Vector3 world_point) const; + bool is_position_behind(const Vector3 world_point) const; + Vector3 project_position(const Vector2 screen_point) const; + void set_perspective(const double fov, const double z_near, const double z_far); + void set_orthogonal(const double size, const double z_near, const double z_far); + void make_current(); + void clear_current(const bool enable_next = true); + void set_current(const bool arg0); + bool is_current() const; + Transform get_camera_transform() const; + double get_fov() const; + double get_size() const; + double get_zfar() const; + double get_znear() const; + void set_fov(const double arg0); + void set_size(const double arg0); + void set_zfar(const double arg0); + void set_znear(const double arg0); + Camera::Projection get_projection() const; + void set_projection(const int64_t arg0); + void set_h_offset(const double ofs); + double get_h_offset() const; + void set_v_offset(const double ofs); + double get_v_offset() const; + void set_cull_mask(const int64_t mask); + int64_t get_cull_mask() const; + void set_environment(const Ref env); + Ref get_environment() const; + void set_keep_aspect_mode(const int64_t mode); + Camera::KeepAspect get_keep_aspect_mode() const; + void set_doppler_tracking(const int64_t mode); + Camera::DopplerTracking get_doppler_tracking() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/Camera2D.hpp b/include/gen/Camera2D.hpp new file mode 100644 index 00000000..e375ff19 --- /dev/null +++ b/include/gen/Camera2D.hpp @@ -0,0 +1,89 @@ +#ifndef GODOT_CPP_CAMERA2D_HPP +#define GODOT_CPP_CAMERA2D_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class Object; +class Node; + +class Camera2D : public Node2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "Camera2D"; } + 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 AnchorMode { + ANCHOR_MODE_FIXED_TOP_LEFT = 0, + ANCHOR_MODE_DRAG_CENTER = 1, + }; + + // constants + + + static Camera2D *_new(); + + // methods + void set_offset(const Vector2 offset); + Vector2 get_offset() const; + void set_anchor_mode(const int64_t anchor_mode); + Camera2D::AnchorMode get_anchor_mode() const; + void set_rotating(const bool rotating); + bool is_rotating() const; + void make_current(); + void clear_current(); + void _make_current(const Object *arg0); + void _update_scroll(); + void _set_current(const bool current); + bool is_current() const; + void set_limit(const int64_t margin, const int64_t limit); + int64_t get_limit(const int64_t margin) const; + void set_limit_smoothing_enabled(const bool limit_smoothing_enabled); + bool is_limit_smoothing_enabled() const; + void set_v_drag_enabled(const bool enabled); + bool is_v_drag_enabled() const; + void set_h_drag_enabled(const bool enabled); + bool is_h_drag_enabled() const; + void set_v_offset(const double ofs); + double get_v_offset() const; + void set_h_offset(const double ofs); + double get_h_offset() const; + void set_drag_margin(const int64_t margin, const double drag_margin); + double get_drag_margin(const int64_t margin) const; + Vector2 get_camera_position() const; + Vector2 get_camera_screen_center() const; + void set_zoom(const Vector2 zoom); + Vector2 get_zoom() const; + void set_custom_viewport(const Object *viewport); + Node *get_custom_viewport() const; + void set_follow_smoothing(const double follow_smoothing); + double get_follow_smoothing() const; + void set_enable_follow_smoothing(const bool follow_smoothing); + bool is_follow_smoothing_enabled() const; + void force_update_scroll(); + void reset_smoothing(); + void align(); + void _set_old_smoothing(const double follow_smoothing); + void set_screen_drawing_enabled(const bool screen_drawing_enabled); + bool is_screen_drawing_enabled() const; + void set_limit_drawing_enabled(const bool limit_drawing_enabled); + bool is_limit_drawing_enabled() const; + void set_margin_drawing_enabled(const bool margin_drawing_enabled); + bool is_margin_drawing_enabled() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CanvasItem.hpp b/include/gen/CanvasItem.hpp new file mode 100644 index 00000000..60f1cd91 --- /dev/null +++ b/include/gen/CanvasItem.hpp @@ -0,0 +1,129 @@ +#ifndef GODOT_CPP_CANVASITEM_HPP +#define GODOT_CPP_CANVASITEM_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Texture; +class StyleBox; +class Font; +class Mesh; +class World2D; +class Material; +class InputEvent; + +class CanvasItem : public Node { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CanvasItem"; } + 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 BlendMode { + BLEND_MODE_SUB = 2, + 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_ENTER_CANVAS = 32; + + // methods + void _draw(); + void _toplevel_raise_self(); + void _update_callback(); + void _edit_set_state(const Dictionary state); + 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_rect(const Rect2 rect); + Rect2 _edit_get_rect() const; + bool _edit_use_rect() const; + Rect2 _edit_get_item_and_children_rect() const; + void _edit_set_rotation(const double degrees); + double _edit_get_rotation() const; + bool _edit_use_rotation() const; + void _edit_set_pivot(const Vector2 pivot); + Vector2 _edit_get_pivot() const; + bool _edit_use_pivot() const; + RID get_canvas_item() const; + void set_visible(const bool visible); + bool is_visible() const; + bool is_visible_in_tree() const; + void show(); + void hide(); + void update(); + void set_as_toplevel(const bool enable); + bool is_set_as_toplevel() const; + void set_light_mask(const int64_t light_mask); + int64_t get_light_mask() const; + void set_modulate(const Color modulate); + Color get_modulate() const; + void set_self_modulate(const Color self_modulate); + Color get_self_modulate() const; + void set_draw_behind_parent(const bool enable); + bool is_draw_behind_parent_enabled() const; + void _set_on_top(const bool on_top); + bool _is_on_top() const; + void draw_line(const Vector2 from, const Vector2 to, const Color color, const double width = 1, const bool antialiased = false); + void draw_polyline(const PoolVector2Array points, const Color color, const double width = 1, const bool antialiased = false); + void draw_polyline_colors(const PoolVector2Array points, const PoolColorArray colors, const double width = 1, const bool antialiased = false); + void draw_multiline(const PoolVector2Array points, const Color color, const double width = 1, const bool antialiased = false); + void draw_multiline_colors(const PoolVector2Array points, const PoolColorArray colors, const double width = 1, const bool antialiased = false); + void draw_rect(const Rect2 rect, const Color color, const bool filled = true); + void draw_circle(const Vector2 position, const double radius, const Color color); + void draw_texture(const Ref texture, const Vector2 position, const Color modulate = Color(1,1,1,1), const Ref normal_map = nullptr); + void draw_texture_rect(const Ref texture, const Rect2 rect, const bool tile, const Color modulate = Color(1,1,1,1), const bool transpose = false, const Ref normal_map = nullptr); + void draw_texture_rect_region(const Ref texture, const Rect2 rect, const Rect2 src_rect, const Color modulate = Color(1,1,1,1), const bool transpose = false, const Ref normal_map = nullptr, const bool clip_uv = true); + void draw_style_box(const Ref style_box, const Rect2 rect); + void draw_primitive(const PoolVector2Array points, const PoolColorArray colors, const PoolVector2Array uvs, const Ref texture = nullptr, const double width = 1, const Ref normal_map = nullptr); + void draw_polygon(const PoolVector2Array points, const PoolColorArray colors, const PoolVector2Array uvs = PoolVector2Array(), const Ref texture = nullptr, const Ref normal_map = nullptr, const bool antialiased = false); + void draw_colored_polygon(const PoolVector2Array points, const Color color, const PoolVector2Array uvs = PoolVector2Array(), const Ref texture = nullptr, const Ref normal_map = nullptr, const bool antialiased = false); + void draw_string(const Ref font, const Vector2 position, const String text, const Color modulate = Color(1,1,1,1), const int64_t clip_w = -1); + double draw_char(const Ref font, const Vector2 position, const String _char, const String next, const Color modulate = Color(1,1,1,1)); + void draw_mesh(const Ref mesh, const Ref texture, const Ref normal_map = nullptr); + void draw_multimesh(const Ref mesh, const Ref texture, const Ref normal_map = nullptr); + void draw_set_transform(const Vector2 position, const double rotation, const Vector2 scale); + void draw_set_transform_matrix(const Transform2D xform); + Transform2D get_transform() const; + Transform2D get_global_transform() const; + Transform2D get_global_transform_with_canvas() const; + Transform2D get_viewport_transform() const; + Rect2 get_viewport_rect() const; + Transform2D get_canvas_transform() const; + Vector2 get_local_mouse_position() const; + Vector2 get_global_mouse_position() const; + RID get_canvas() const; + Ref get_world_2d() const; + void set_material(const Ref material); + Ref get_material() const; + void set_use_parent_material(const bool enable); + bool get_use_parent_material() const; + void set_notify_local_transform(const bool enable); + bool is_local_transform_notification_enabled() const; + void set_notify_transform(const bool enable); + bool is_transform_notification_enabled() const; + Vector2 make_canvas_position_local(const Vector2 screen_point) const; + Ref make_input_local(const Ref event) const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CanvasItemMaterial.hpp b/include/gen/CanvasItemMaterial.hpp new file mode 100644 index 00000000..b53c5c3c --- /dev/null +++ b/include/gen/CanvasItemMaterial.hpp @@ -0,0 +1,53 @@ +#ifndef GODOT_CPP_CANVASITEMMATERIAL_HPP +#define GODOT_CPP_CANVASITEMMATERIAL_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + + +class CanvasItemMaterial : public Material { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CanvasItemMaterial"; } + 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 LightMode { + LIGHT_MODE_UNSHADED = 1, + LIGHT_MODE_NORMAL = 0, + LIGHT_MODE_LIGHT_ONLY = 2, + }; + enum BlendMode { + BLEND_MODE_SUB = 2, + BLEND_MODE_MUL = 3, + BLEND_MODE_MIX = 0, + BLEND_MODE_PREMULT_ALPHA = 4, + BLEND_MODE_ADD = 1, + }; + + // constants + + + static CanvasItemMaterial *_new(); + + // methods + void set_blend_mode(const int64_t blend_mode); + CanvasItemMaterial::BlendMode get_blend_mode() const; + void set_light_mode(const int64_t light_mode); + CanvasItemMaterial::LightMode get_light_mode() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CanvasLayer.hpp b/include/gen/CanvasLayer.hpp new file mode 100644 index 00000000..a24c72e5 --- /dev/null +++ b/include/gen/CanvasLayer.hpp @@ -0,0 +1,54 @@ +#ifndef GODOT_CPP_CANVASLAYER_HPP +#define GODOT_CPP_CANVASLAYER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Object; +class Node; +class World2D; + +class CanvasLayer : public Node { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CanvasLayer"; } + 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 + + // constants + + + static CanvasLayer *_new(); + + // methods + void set_layer(const int64_t layer); + int64_t get_layer() const; + void set_transform(const Transform2D transform); + Transform2D get_transform() const; + void set_offset(const Vector2 offset); + Vector2 get_offset() const; + void set_rotation(const double radians); + double get_rotation() const; + void set_rotation_degrees(const double degrees); + double get_rotation_degrees() const; + void set_scale(const Vector2 scale); + Vector2 get_scale() const; + void set_custom_viewport(const Object *viewport); + Node *get_custom_viewport() const; + Ref get_world_2d() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CanvasModulate.hpp b/include/gen/CanvasModulate.hpp new file mode 100644 index 00000000..d1e9a223 --- /dev/null +++ b/include/gen/CanvasModulate.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_CANVASMODULATE_HPP +#define GODOT_CPP_CANVASMODULATE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class CanvasModulate : public Node2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CanvasModulate"; } + 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 + + // constants + + + static CanvasModulate *_new(); + + // methods + void set_color(const Color color); + Color get_color() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CapsuleMesh.hpp b/include/gen/CapsuleMesh.hpp new file mode 100644 index 00000000..0ad51c03 --- /dev/null +++ b/include/gen/CapsuleMesh.hpp @@ -0,0 +1,44 @@ +#ifndef GODOT_CPP_CAPSULEMESH_HPP +#define GODOT_CPP_CAPSULEMESH_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class CapsuleMesh : public PrimitiveMesh { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CapsuleMesh"; } + 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 + + // constants + + + static CapsuleMesh *_new(); + + // methods + void set_radius(const double radius); + double get_radius() const; + void set_mid_height(const double mid_height); + double get_mid_height() const; + void set_radial_segments(const int64_t segments); + int64_t get_radial_segments() const; + void set_rings(const int64_t rings); + int64_t get_rings() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CapsuleShape.hpp b/include/gen/CapsuleShape.hpp new file mode 100644 index 00000000..3ad612db --- /dev/null +++ b/include/gen/CapsuleShape.hpp @@ -0,0 +1,40 @@ +#ifndef GODOT_CPP_CAPSULESHAPE_HPP +#define GODOT_CPP_CAPSULESHAPE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class CapsuleShape : public Shape { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CapsuleShape"; } + 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 + + // constants + + + static CapsuleShape *_new(); + + // methods + void set_radius(const double radius); + double get_radius() const; + void set_height(const double height); + double get_height() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CapsuleShape2D.hpp b/include/gen/CapsuleShape2D.hpp new file mode 100644 index 00000000..d5e3073a --- /dev/null +++ b/include/gen/CapsuleShape2D.hpp @@ -0,0 +1,40 @@ +#ifndef GODOT_CPP_CAPSULESHAPE2D_HPP +#define GODOT_CPP_CAPSULESHAPE2D_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class CapsuleShape2D : public Shape2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CapsuleShape2D"; } + 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 + + // constants + + + static CapsuleShape2D *_new(); + + // methods + void set_radius(const double radius); + double get_radius() const; + void set_height(const double height); + double get_height() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CenterContainer.hpp b/include/gen/CenterContainer.hpp new file mode 100644 index 00000000..e285854c --- /dev/null +++ b/include/gen/CenterContainer.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_CENTERCONTAINER_HPP +#define GODOT_CPP_CENTERCONTAINER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class CenterContainer : public Container { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CenterContainer"; } + 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 + + // constants + + + static CenterContainer *_new(); + + // methods + void set_use_top_left(const bool enable); + bool is_using_top_left() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CheckBox.hpp b/include/gen/CheckBox.hpp new file mode 100644 index 00000000..532ed27a --- /dev/null +++ b/include/gen/CheckBox.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_CHECKBOX_HPP +#define GODOT_CPP_CHECKBOX_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class CheckBox : public Button { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CheckBox"; } + 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 + + // constants + + + static CheckBox *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CheckButton.hpp b/include/gen/CheckButton.hpp new file mode 100644 index 00000000..804fecfa --- /dev/null +++ b/include/gen/CheckButton.hpp @@ -0,0 +1,36 @@ +#ifndef GODOT_CPP_CHECKBUTTON_HPP +#define GODOT_CPP_CHECKBUTTON_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class CheckButton : public Button { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CheckButton"; } + 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 + + // constants + + + static CheckButton *_new(); + + // methods + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CircleShape2D.hpp b/include/gen/CircleShape2D.hpp new file mode 100644 index 00000000..dbf0f4c6 --- /dev/null +++ b/include/gen/CircleShape2D.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_CIRCLESHAPE2D_HPP +#define GODOT_CPP_CIRCLESHAPE2D_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class CircleShape2D : public Shape2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CircleShape2D"; } + 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 + + // constants + + + static CircleShape2D *_new(); + + // methods + void set_radius(const double radius); + double get_radius() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ClassDB.hpp b/include/gen/ClassDB.hpp new file mode 100644 index 00000000..3fe576d9 --- /dev/null +++ b/include/gen/ClassDB.hpp @@ -0,0 +1,66 @@ +#ifndef GODOT_CPP_CLASSDB_HPP +#define GODOT_CPP_CLASSDB_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Object; + +class ClassDB : public Object { + static ClassDB *_singleton; + + ClassDB(); + +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline ClassDB *get_singleton() + { + if (!ClassDB::_singleton) { + ClassDB::_singleton = new ClassDB; + } + return ClassDB::_singleton; + } + + static inline const char *___get_class_name() { return (const char *) "ClassDB"; } + 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 + + // constants + + // methods + PoolStringArray get_class_list() const; + PoolStringArray get_inheriters_from_class(const String _class) const; + String get_parent_class(const String _class) const; + bool class_exists(const String _class) const; + bool is_parent_class(const String _class, const String inherits) const; + bool can_instance(const String _class) const; + Variant instance(const String _class) const; + bool class_has_signal(const String _class, const String signal) const; + Dictionary class_get_signal(const String _class, const String signal) const; + Array class_get_signal_list(const String _class, const bool no_inheritance = false) const; + Array class_get_property_list(const String _class, const bool no_inheritance = false) const; + Variant class_get_property(const Object *object, const String property) const; + Error class_set_property(const Object *object, const String property, const Variant value) const; + bool class_has_method(const String _class, const String method, const bool no_inheritance = false) const; + Array class_get_method_list(const String _class, const bool no_inheritance = false) const; + PoolStringArray class_get_integer_constant_list(const String _class, const bool no_inheritance = false) const; + bool class_has_integer_constant(const String _class, const String name) const; + int64_t class_get_integer_constant(const String _class, const String name) const; + String class_get_category(const String _class) const; + bool is_class_enabled(const String _class) const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CollisionObject.hpp b/include/gen/CollisionObject.hpp new file mode 100644 index 00000000..8f650c13 --- /dev/null +++ b/include/gen/CollisionObject.hpp @@ -0,0 +1,57 @@ +#ifndef GODOT_CPP_COLLISIONOBJECT_HPP +#define GODOT_CPP_COLLISIONOBJECT_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Object; +class InputEvent; +class Shape; + +class CollisionObject : public Spatial { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CollisionObject"; } + 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 + + // constants + + // methods + void _input_event(const Object *camera, const Ref event, const Vector3 click_position, const Vector3 click_normal, const int64_t shape_idx); + void set_ray_pickable(const bool ray_pickable); + bool is_ray_pickable() const; + void set_capture_input_on_drag(const bool enable); + bool get_capture_input_on_drag() const; + RID get_rid() const; + int64_t create_shape_owner(const Object *owner); + void remove_shape_owner(const int64_t owner_id); + Array get_shape_owners(); + void shape_owner_set_transform(const int64_t owner_id, const Transform transform); + Transform shape_owner_get_transform(const int64_t owner_id) const; + Object *shape_owner_get_owner(const int64_t owner_id) const; + void shape_owner_set_disabled(const int64_t owner_id, const bool disabled); + bool is_shape_owner_disabled(const int64_t owner_id) const; + void shape_owner_add_shape(const int64_t owner_id, const Ref shape); + int64_t shape_owner_get_shape_count(const int64_t owner_id) const; + Ref shape_owner_get_shape(const int64_t owner_id, const int64_t shape_id) const; + int64_t shape_owner_get_shape_index(const int64_t owner_id, const int64_t shape_id) const; + void shape_owner_remove_shape(const int64_t owner_id, const int64_t shape_id); + void shape_owner_clear_shapes(const int64_t owner_id); + int64_t shape_find_owner(const int64_t shape_index) const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CollisionObject2D.hpp b/include/gen/CollisionObject2D.hpp new file mode 100644 index 00000000..57416ad4 --- /dev/null +++ b/include/gen/CollisionObject2D.hpp @@ -0,0 +1,57 @@ +#ifndef GODOT_CPP_COLLISIONOBJECT2D_HPP +#define GODOT_CPP_COLLISIONOBJECT2D_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Object; +class InputEvent; +class Shape2D; + +class CollisionObject2D : public Node2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CollisionObject2D"; } + 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 + + // constants + + // methods + void _input_event(const Object *viewport, const Ref event, const int64_t shape_idx); + RID get_rid() const; + void set_pickable(const bool enabled); + bool is_pickable() const; + int64_t create_shape_owner(const Object *owner); + void remove_shape_owner(const int64_t owner_id); + Array get_shape_owners(); + void shape_owner_set_transform(const int64_t owner_id, const Transform2D transform); + Transform2D shape_owner_get_transform(const int64_t owner_id) const; + Object *shape_owner_get_owner(const int64_t owner_id) const; + void shape_owner_set_disabled(const int64_t owner_id, const bool disabled); + bool is_shape_owner_disabled(const int64_t owner_id) const; + void shape_owner_set_one_way_collision(const int64_t owner_id, const bool enable); + bool is_shape_owner_one_way_collision_enabled(const int64_t owner_id) const; + void shape_owner_add_shape(const int64_t owner_id, const Ref shape); + int64_t shape_owner_get_shape_count(const int64_t owner_id) const; + Ref shape_owner_get_shape(const int64_t owner_id, const int64_t shape_id) const; + int64_t shape_owner_get_shape_index(const int64_t owner_id, const int64_t shape_id) const; + void shape_owner_remove_shape(const int64_t owner_id, const int64_t shape_id); + void shape_owner_clear_shapes(const int64_t owner_id); + int64_t shape_find_owner(const int64_t shape_index) const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CollisionPolygon.hpp b/include/gen/CollisionPolygon.hpp new file mode 100644 index 00000000..798947c4 --- /dev/null +++ b/include/gen/CollisionPolygon.hpp @@ -0,0 +1,42 @@ +#ifndef GODOT_CPP_COLLISIONPOLYGON_HPP +#define GODOT_CPP_COLLISIONPOLYGON_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class CollisionPolygon : public Spatial { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CollisionPolygon"; } + 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 + + // constants + + + static CollisionPolygon *_new(); + + // methods + void set_depth(const double depth); + double get_depth() const; + void set_polygon(const PoolVector2Array polygon); + PoolVector2Array get_polygon() const; + void set_disabled(const bool disabled); + bool is_disabled() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CollisionPolygon2D.hpp b/include/gen/CollisionPolygon2D.hpp new file mode 100644 index 00000000..5159f7b6 --- /dev/null +++ b/include/gen/CollisionPolygon2D.hpp @@ -0,0 +1,49 @@ +#ifndef GODOT_CPP_COLLISIONPOLYGON2D_HPP +#define GODOT_CPP_COLLISIONPOLYGON2D_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + + +class CollisionPolygon2D : public Node2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CollisionPolygon2D"; } + 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 BuildMode { + BUILD_SOLIDS = 0, + BUILD_SEGMENTS = 1, + }; + + // constants + + + static CollisionPolygon2D *_new(); + + // methods + void set_polygon(const PoolVector2Array polygon); + PoolVector2Array get_polygon() const; + void set_build_mode(const int64_t build_mode); + CollisionPolygon2D::BuildMode get_build_mode() const; + void set_disabled(const bool disabled); + bool is_disabled() const; + void set_one_way_collision(const bool enabled); + bool is_one_way_collision_enabled() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CollisionShape.hpp b/include/gen/CollisionShape.hpp new file mode 100644 index 00000000..dc2c3724 --- /dev/null +++ b/include/gen/CollisionShape.hpp @@ -0,0 +1,44 @@ +#ifndef GODOT_CPP_COLLISIONSHAPE_HPP +#define GODOT_CPP_COLLISIONSHAPE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Resource; +class Shape; + +class CollisionShape : public Spatial { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CollisionShape"; } + 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 + + // constants + + + static CollisionShape *_new(); + + // methods + void resource_changed(const Ref resource); + void set_shape(const Ref shape); + Ref get_shape() const; + void set_disabled(const bool enable); + bool is_disabled() const; + void make_convex_from_brothers(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CollisionShape2D.hpp b/include/gen/CollisionShape2D.hpp new file mode 100644 index 00000000..47c53c69 --- /dev/null +++ b/include/gen/CollisionShape2D.hpp @@ -0,0 +1,44 @@ +#ifndef GODOT_CPP_COLLISIONSHAPE2D_HPP +#define GODOT_CPP_COLLISIONSHAPE2D_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Shape2D; + +class CollisionShape2D : public Node2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CollisionShape2D"; } + 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 + + // constants + + + static CollisionShape2D *_new(); + + // methods + void set_shape(const Ref shape); + Ref get_shape() const; + void set_disabled(const bool disabled); + bool is_disabled() const; + void set_one_way_collision(const bool enabled); + bool is_one_way_collision_enabled() const; + void _shape_changed(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ColorPicker.hpp b/include/gen/ColorPicker.hpp new file mode 100644 index 00000000..ea154bbe --- /dev/null +++ b/include/gen/ColorPicker.hpp @@ -0,0 +1,60 @@ +#ifndef GODOT_CPP_COLORPICKER_HPP +#define GODOT_CPP_COLORPICKER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Object; +class InputEvent; + +class ColorPicker : public BoxContainer { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ColorPicker"; } + 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 + + // constants + + + static ColorPicker *_new(); + + // methods + void set_pick_color(const Color color); + Color get_pick_color() const; + void set_raw_mode(const bool mode); + bool is_raw_mode() const; + void set_edit_alpha(const bool show); + bool is_editing_alpha() const; + void add_preset(const Color color); + void _value_changed(const double arg0); + void _html_entered(const String arg0); + void _text_type_toggled(); + void _add_preset_pressed(); + void _screen_pick_pressed(); + void _sample_draw(); + void _update_presets(); + void _hsv_draw(const int64_t arg0, const Object *arg1); + void _uv_input(const Ref arg0); + void _w_input(const Ref arg0); + void _preset_input(const Ref arg0); + void _screen_input(const Ref arg0); + void _focus_enter(); + void _focus_exit(); + void _html_focus_exit(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ColorPickerButton.hpp b/include/gen/ColorPickerButton.hpp new file mode 100644 index 00000000..aed1d028 --- /dev/null +++ b/include/gen/ColorPickerButton.hpp @@ -0,0 +1,45 @@ +#ifndef GODOT_CPP_COLORPICKERBUTTON_HPP +#define GODOT_CPP_COLORPICKERBUTTON_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class ColorPicker; +class PopupPanel; + +class ColorPickerButton : public Button { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ColorPickerButton"; } + 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 + + // constants + + + static ColorPickerButton *_new(); + + // methods + void set_pick_color(const Color color); + Color get_pick_color() const; + ColorPicker *get_picker() const; + PopupPanel *get_popup() const; + void set_edit_alpha(const bool show); + bool is_editing_alpha() const; + void _color_changed(const Color arg0); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ColorRect.hpp b/include/gen/ColorRect.hpp new file mode 100644 index 00000000..9e1b3295 --- /dev/null +++ b/include/gen/ColorRect.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_COLORRECT_HPP +#define GODOT_CPP_COLORRECT_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class ColorRect : public Control { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ColorRect"; } + 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 + + // constants + + + static ColorRect *_new(); + + // methods + void set_frame_color(const Color color); + Color get_frame_color() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ConcavePolygonShape.hpp b/include/gen/ConcavePolygonShape.hpp new file mode 100644 index 00000000..774fc65f --- /dev/null +++ b/include/gen/ConcavePolygonShape.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_CONCAVEPOLYGONSHAPE_HPP +#define GODOT_CPP_CONCAVEPOLYGONSHAPE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class ConcavePolygonShape : public Shape { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ConcavePolygonShape"; } + 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 + + // constants + + + static ConcavePolygonShape *_new(); + + // methods + void set_faces(const PoolVector3Array faces); + PoolVector3Array get_faces() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ConcavePolygonShape2D.hpp b/include/gen/ConcavePolygonShape2D.hpp new file mode 100644 index 00000000..f03ffcda --- /dev/null +++ b/include/gen/ConcavePolygonShape2D.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_CONCAVEPOLYGONSHAPE2D_HPP +#define GODOT_CPP_CONCAVEPOLYGONSHAPE2D_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class ConcavePolygonShape2D : public Shape2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ConcavePolygonShape2D"; } + 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 + + // constants + + + static ConcavePolygonShape2D *_new(); + + // methods + void set_segments(const PoolVector2Array segments); + PoolVector2Array get_segments() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ConeTwistJoint.hpp b/include/gen/ConeTwistJoint.hpp new file mode 100644 index 00000000..8b58ee23 --- /dev/null +++ b/include/gen/ConeTwistJoint.hpp @@ -0,0 +1,50 @@ +#ifndef GODOT_CPP_CONETWISTJOINT_HPP +#define GODOT_CPP_CONETWISTJOINT_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class ConeTwistJoint : public Joint { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ConeTwistJoint"; } + 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 Param { + PARAM_RELAXATION = 4, + PARAM_SOFTNESS = 3, + PARAM_TWIST_SPAN = 1, + PARAM_SWING_SPAN = 0, + PARAM_MAX = 5, + PARAM_BIAS = 2, + }; + + // constants + + + static ConeTwistJoint *_new(); + + // methods + void set_param(const int64_t param, const double value); + double get_param(const int64_t param) const; + void _set_swing_span(const double swing_span); + double _get_swing_span() const; + void _set_twist_span(const double twist_span); + double _get_twist_span() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ConfigFile.hpp b/include/gen/ConfigFile.hpp new file mode 100644 index 00000000..677a4657 --- /dev/null +++ b/include/gen/ConfigFile.hpp @@ -0,0 +1,45 @@ +#ifndef GODOT_CPP_CONFIGFILE_HPP +#define GODOT_CPP_CONFIGFILE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class ConfigFile : public Reference { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ConfigFile"; } + 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 + + // constants + + + static ConfigFile *_new(); + + // methods + void set_value(const String section, const String key, const Variant value); + Variant get_value(const String section, const String key, const Variant _default = Variant()) const; + bool has_section(const String section) const; + bool has_section_key(const String section, const String key) const; + PoolStringArray get_sections() const; + PoolStringArray get_section_keys(const String section) const; + void erase_section(const String section); + Error load(const String path); + Error save(const String path); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ConfirmationDialog.hpp b/include/gen/ConfirmationDialog.hpp new file mode 100644 index 00000000..e3db6240 --- /dev/null +++ b/include/gen/ConfirmationDialog.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_CONFIRMATIONDIALOG_HPP +#define GODOT_CPP_CONFIRMATIONDIALOG_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Button; + +class ConfirmationDialog : public AcceptDialog { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ConfirmationDialog"; } + 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 + + // constants + + + static ConfirmationDialog *_new(); + + // methods + Button *get_cancel(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/Container.hpp b/include/gen/Container.hpp new file mode 100644 index 00000000..6550c459 --- /dev/null +++ b/include/gen/Container.hpp @@ -0,0 +1,42 @@ +#ifndef GODOT_CPP_CONTAINER_HPP +#define GODOT_CPP_CONTAINER_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Object; + +class Container : public Control { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "Container"; } + 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 + + // constants + const static int NOTIFICATION_SORT_CHILDREN = 50; + + + static Container *_new(); + + // methods + void _sort_children(); + void _child_minsize_changed(); + void queue_sort(); + void fit_child_in_rect(const Object *child, const Rect2 rect); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/Control.hpp b/include/gen/Control.hpp new file mode 100644 index 00000000..add3c2ff --- /dev/null +++ b/include/gen/Control.hpp @@ -0,0 +1,229 @@ +#ifndef GODOT_CPP_CONTROL_HPP +#define GODOT_CPP_CONTROL_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class InputEvent; +class Object; +class Control; +class Theme; +class Texture; +class Shader; +class StyleBox; +class Font; + +class Control : public CanvasItem { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "Control"; } + 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 Anchor { + ANCHOR_BEGIN = 0, + ANCHOR_END = 1, + }; + enum FocusMode { + FOCUS_NONE = 0, + FOCUS_ALL = 2, + FOCUS_CLICK = 1, + }; + enum LayoutPresetMode { + PRESET_MODE_MINSIZE = 0, + PRESET_MODE_KEEP_WIDTH = 1, + PRESET_MODE_KEEP_SIZE = 3, + PRESET_MODE_KEEP_HEIGHT = 2, + }; + enum MouseFilter { + MOUSE_FILTER_STOP = 0, + MOUSE_FILTER_IGNORE = 2, + MOUSE_FILTER_PASS = 1, + }; + enum CursorShape { + CURSOR_ARROW = 0, + CURSOR_WAIT = 4, + CURSOR_FORBIDDEN = 8, + CURSOR_CROSS = 3, + CURSOR_DRAG = 6, + CURSOR_FDIAGSIZE = 12, + CURSOR_HSIZE = 10, + CURSOR_MOVE = 13, + CURSOR_IBEAM = 1, + CURSOR_HSPLIT = 15, + CURSOR_BUSY = 5, + CURSOR_HELP = 16, + CURSOR_POINTING_HAND = 2, + CURSOR_VSIZE = 9, + CURSOR_CAN_DROP = 7, + CURSOR_VSPLIT = 14, + CURSOR_BDIAGSIZE = 11, + }; + enum GrowDirection { + GROW_DIRECTION_END = 1, + GROW_DIRECTION_BEGIN = 0, + }; + enum SizeFlags { + SIZE_EXPAND = 2, + SIZE_SHRINK_END = 8, + SIZE_FILL = 1, + SIZE_SHRINK_CENTER = 4, + SIZE_EXPAND_FILL = 3, + }; + enum LayoutPreset { + PRESET_TOP_LEFT = 0, + PRESET_CENTER_RIGHT = 6, + PRESET_BOTTOM_LEFT = 2, + PRESET_CENTER_TOP = 5, + PRESET_CENTER_LEFT = 4, + PRESET_WIDE = 15, + PRESET_HCENTER_WIDE = 14, + PRESET_VCENTER_WIDE = 13, + PRESET_CENTER = 8, + PRESET_CENTER_BOTTOM = 7, + PRESET_TOP_RIGHT = 1, + PRESET_TOP_WIDE = 10, + PRESET_RIGHT_WIDE = 11, + PRESET_BOTTOM_RIGHT = 3, + PRESET_LEFT_WIDE = 9, + PRESET_BOTTOM_WIDE = 12, + }; + + // constants + const static int NOTIFICATION_MOUSE_EXIT = 42; + const static int NOTIFICATION_THEME_CHANGED = 45; + const static int NOTIFICATION_MOUSE_ENTER = 41; + const static int NOTIFICATION_FOCUS_ENTER = 43; + const static int NOTIFICATION_FOCUS_EXIT = 44; + const static int NOTIFICATION_MODAL_CLOSE = 46; + const static int NOTIFICATION_RESIZED = 40; + + + static Control *_new(); + + // methods + void _gui_input(const Ref event); + Vector2 _get_minimum_size(); + Object *get_drag_data(const Vector2 position); + bool can_drop_data(const Vector2 position, const Variant data); + void drop_data(const Vector2 position, const Variant data); + bool has_point(const Vector2 point); + void _size_changed(); + void _update_minimum_size(); + void accept_event(); + Vector2 get_minimum_size() const; + Vector2 get_combined_minimum_size() const; + void set_anchors_preset(const int64_t preset, const bool keep_margin = false); + void set_margins_preset(const int64_t preset, const int64_t resize_mode = 0, const int64_t margin = 0); + void set_anchors_and_margins_preset(const int64_t preset, const int64_t resize_mode = 0, const int64_t margin = 0); + void set_anchor(const int64_t margin, const double anchor, const bool keep_margin = false, const bool push_opposite_anchor = true); + void _set_anchor(const int64_t margin, const double anchor); + double get_anchor(const int64_t margin) const; + void set_margin(const int64_t margin, const double offset); + void set_anchor_and_margin(const int64_t margin, const double anchor, const double offset, const bool push_opposite_anchor = false); + void set_begin(const Vector2 position); + void set_end(const Vector2 position); + void set_position(const Vector2 position); + void set_size(const Vector2 size); + void set_custom_minimum_size(const Vector2 size); + void set_global_position(const Vector2 position); + void set_rotation(const double radians); + void set_rotation_degrees(const double degrees); + void set_scale(const Vector2 scale); + void set_pivot_offset(const Vector2 pivot_offset); + double get_margin(const int64_t margin) const; + Vector2 get_begin() const; + Vector2 get_end() const; + Vector2 get_position() const; + Vector2 get_size() const; + double get_rotation() const; + double get_rotation_degrees() const; + Vector2 get_scale() const; + Vector2 get_pivot_offset() const; + Vector2 get_custom_minimum_size() const; + Vector2 get_parent_area_size() const; + Vector2 get_global_position() const; + Rect2 get_rect() const; + Rect2 get_global_rect() const; + void show_modal(const bool exclusive = false); + void set_focus_mode(const int64_t mode); + Control::FocusMode get_focus_mode() const; + bool has_focus() const; + void grab_focus(); + void release_focus(); + Control *get_focus_owner() const; + void set_h_size_flags(const int64_t flags); + int64_t get_h_size_flags() const; + void set_stretch_ratio(const double ratio); + double get_stretch_ratio() const; + void set_v_size_flags(const int64_t flags); + int64_t get_v_size_flags() const; + void set_theme(const Ref theme); + Ref get_theme() const; + void add_icon_override(const String name, const Ref texture); + void add_shader_override(const String name, const Ref shader); + void add_stylebox_override(const String name, const Ref stylebox); + void add_font_override(const String name, const Ref font); + void add_color_override(const String name, const Color color); + void add_constant_override(const String name, const int64_t constant); + Ref get_icon(const String name, const String type = "") const; + Ref get_stylebox(const String name, const String type = "") const; + Ref get_font(const String name, const String type = "") const; + Color get_color(const String name, const String type = "") const; + int64_t get_constant(const String name, const String type = "") const; + bool has_icon_override(const String name) const; + bool has_shader_override(const String name) const; + bool has_stylebox_override(const String name) const; + bool has_font_override(const String name) const; + bool has_color_override(const String name) const; + bool has_constant_override(const String name) const; + bool has_icon(const String name, const String type = "") const; + bool has_stylebox(const String name, const String type = "") const; + bool has_font(const String name, const String type = "") const; + bool has_color(const String name, const String type = "") const; + bool has_constant(const String name, const String type = "") const; + Control *get_parent_control() const; + void set_h_grow_direction(const int64_t direction); + Control::GrowDirection get_h_grow_direction() const; + void set_v_grow_direction(const int64_t direction); + Control::GrowDirection get_v_grow_direction() const; + void set_tooltip(const String tooltip); + String get_tooltip(const Vector2 at_position = Vector2(0, 0)) const; + String _get_tooltip() const; + void set_default_cursor_shape(const int64_t shape); + Control::CursorShape get_default_cursor_shape() const; + Control::CursorShape get_cursor_shape(const Vector2 position = Vector2(0, 0)) const; + void set_focus_neighbour(const int64_t margin, const NodePath neighbour); + NodePath get_focus_neighbour(const int64_t margin) const; + void set_focus_next(const NodePath next); + NodePath get_focus_next() const; + void set_focus_previous(const NodePath previous); + NodePath get_focus_previous() const; + void force_drag(const Variant data, const Object *preview); + void set_mouse_filter(const int64_t filter); + Control::MouseFilter get_mouse_filter() const; + void set_clip_contents(const bool enable); + bool is_clipping_contents(); + void grab_click_focus(); + void set_drag_forwarding(const Object *target); + void set_drag_preview(const Object *control); + void warp_mouse(const Vector2 to_position); + void minimum_size_changed(); + void _theme_changed(); + void _font_changed(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ConvexPolygonShape.hpp b/include/gen/ConvexPolygonShape.hpp new file mode 100644 index 00000000..d9b7929e --- /dev/null +++ b/include/gen/ConvexPolygonShape.hpp @@ -0,0 +1,38 @@ +#ifndef GODOT_CPP_CONVEXPOLYGONSHAPE_HPP +#define GODOT_CPP_CONVEXPOLYGONSHAPE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class ConvexPolygonShape : public Shape { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ConvexPolygonShape"; } + 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 + + // constants + + + static ConvexPolygonShape *_new(); + + // methods + void set_points(const PoolVector3Array points); + PoolVector3Array get_points() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/ConvexPolygonShape2D.hpp b/include/gen/ConvexPolygonShape2D.hpp new file mode 100644 index 00000000..8c5b3686 --- /dev/null +++ b/include/gen/ConvexPolygonShape2D.hpp @@ -0,0 +1,39 @@ +#ifndef GODOT_CPP_CONVEXPOLYGONSHAPE2D_HPP +#define GODOT_CPP_CONVEXPOLYGONSHAPE2D_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class ConvexPolygonShape2D : public Shape2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "ConvexPolygonShape2D"; } + 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 + + // constants + + + static ConvexPolygonShape2D *_new(); + + // methods + void set_point_cloud(const PoolVector2Array point_cloud); + void set_points(const PoolVector2Array points); + PoolVector2Array get_points() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CubeMap.hpp b/include/gen/CubeMap.hpp new file mode 100644 index 00000000..83a0a59b --- /dev/null +++ b/include/gen/CubeMap.hpp @@ -0,0 +1,67 @@ +#ifndef GODOT_CPP_CUBEMAP_HPP +#define GODOT_CPP_CUBEMAP_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class Image; + +class CubeMap : public Resource { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CubeMap"; } + 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 Flags { + FLAG_MIPMAPS = 1, + FLAG_FILTER = 4, + FLAG_REPEAT = 2, + FLAGS_DEFAULT = 7, + }; + enum Side { + SIDE_FRONT = 4, + SIDE_LEFT = 0, + SIDE_BACK = 5, + SIDE_BOTTOM = 2, + SIDE_RIGHT = 1, + SIDE_TOP = 3, + }; + enum Storage { + STORAGE_COMPRESS_LOSSLESS = 2, + STORAGE_COMPRESS_LOSSY = 1, + STORAGE_RAW = 0, + }; + + // constants + + + static CubeMap *_new(); + + // methods + int64_t get_width() const; + int64_t get_height() const; + void set_flags(const int64_t flags); + int64_t get_flags() const; + void set_side(const int64_t side, const Ref image); + Ref get_side(const int64_t side) const; + void set_storage(const int64_t mode); + CubeMap::Storage get_storage() const; + void set_lossy_storage_quality(const double quality); + double get_lossy_storage_quality() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CubeMesh.hpp b/include/gen/CubeMesh.hpp new file mode 100644 index 00000000..f89f8573 --- /dev/null +++ b/include/gen/CubeMesh.hpp @@ -0,0 +1,44 @@ +#ifndef GODOT_CPP_CUBEMESH_HPP +#define GODOT_CPP_CUBEMESH_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class CubeMesh : public PrimitiveMesh { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CubeMesh"; } + 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 + + // constants + + + static CubeMesh *_new(); + + // methods + void set_size(const Vector3 size); + Vector3 get_size() const; + void set_subdivide_width(const int64_t subdivide); + int64_t get_subdivide_width() const; + void set_subdivide_height(const int64_t divisions); + int64_t get_subdivide_height() const; + void set_subdivide_depth(const int64_t divisions); + int64_t get_subdivide_depth() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/Curve.hpp b/include/gen/Curve.hpp new file mode 100644 index 00000000..8604b26e --- /dev/null +++ b/include/gen/Curve.hpp @@ -0,0 +1,68 @@ +#ifndef GODOT_CPP_CURVE_HPP +#define GODOT_CPP_CURVE_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + + +class Curve : public Resource { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "Curve"; } + 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 TangentMode { + TANGENT_MODE_COUNT = 2, + TANGENT_FREE = 0, + TANGENT_LINEAR = 1, + }; + + // constants + + + static Curve *_new(); + + // methods + int64_t add_point(const Vector2 position, const double left_tangent = 0, const double right_tangent = 0, const int64_t left_mode = 0, const int64_t right_mode = 0); + void remove_point(const int64_t index); + void clear_points(); + Vector2 get_point_position(const int64_t index) const; + void set_point_value(const int64_t index, const double y); + int64_t set_point_offset(const int64_t index, const double offset); + double interpolate(const double offset) const; + double interpolate_baked(const double offset); + double get_point_left_tangent(const int64_t index) const; + double get_point_right_tangent(const int64_t index) const; + Curve::TangentMode get_point_left_mode(const int64_t index) const; + Curve::TangentMode get_point_right_mode(const int64_t index) const; + void set_point_left_tangent(const int64_t index, const double tangent); + void set_point_right_tangent(const int64_t index, const double tangent); + void set_point_left_mode(const int64_t index, const int64_t mode); + void set_point_right_mode(const int64_t index, const int64_t mode); + double get_min_value() const; + void set_min_value(const double min); + double get_max_value() const; + void set_max_value(const double max); + void clean_dupes(); + void bake(); + int64_t get_bake_resolution() const; + void set_bake_resolution(const int64_t resolution); + Array _get_data() const; + void _set_data(const Array data); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/Curve2D.hpp b/include/gen/Curve2D.hpp new file mode 100644 index 00000000..c1262ad6 --- /dev/null +++ b/include/gen/Curve2D.hpp @@ -0,0 +1,56 @@ +#ifndef GODOT_CPP_CURVE2D_HPP +#define GODOT_CPP_CURVE2D_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class Curve2D : public Resource { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "Curve2D"; } + 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 + + // constants + + + static Curve2D *_new(); + + // methods + int64_t get_point_count() const; + void add_point(const Vector2 position, const Vector2 in = Vector2(0, 0), const Vector2 out = Vector2(0, 0), const int64_t at_position = -1); + void set_point_position(const int64_t idx, const Vector2 position); + Vector2 get_point_position(const int64_t idx) const; + void set_point_in(const int64_t idx, const Vector2 position); + Vector2 get_point_in(const int64_t idx) const; + void set_point_out(const int64_t idx, const Vector2 position); + Vector2 get_point_out(const int64_t idx) const; + void remove_point(const int64_t idx); + void clear_points(); + Vector2 interpolate(const int64_t idx, const double t) const; + Vector2 interpolatef(const double fofs) const; + void set_bake_interval(const double distance); + double get_bake_interval() const; + double get_baked_length() const; + Vector2 interpolate_baked(const double offset, const bool cubic = false) const; + PoolVector2Array get_baked_points() 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); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/Curve3D.hpp b/include/gen/Curve3D.hpp new file mode 100644 index 00000000..dc47875e --- /dev/null +++ b/include/gen/Curve3D.hpp @@ -0,0 +1,59 @@ +#ifndef GODOT_CPP_CURVE3D_HPP +#define GODOT_CPP_CURVE3D_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class Curve3D : public Resource { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "Curve3D"; } + 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 + + // constants + + + static Curve3D *_new(); + + // methods + int64_t get_point_count() const; + void add_point(const Vector3 position, const Vector3 in = Vector3(0, 0, 0), const Vector3 out = Vector3(0, 0, 0), const int64_t at_position = -1); + void set_point_position(const int64_t idx, const Vector3 position); + Vector3 get_point_position(const int64_t idx) const; + void set_point_tilt(const int64_t idx, const double tilt); + double get_point_tilt(const int64_t idx) const; + void set_point_in(const int64_t idx, const Vector3 position); + Vector3 get_point_in(const int64_t idx) const; + void set_point_out(const int64_t idx, const Vector3 position); + Vector3 get_point_out(const int64_t idx) const; + void remove_point(const int64_t idx); + void clear_points(); + Vector3 interpolate(const int64_t idx, const double t) const; + Vector3 interpolatef(const double fofs) const; + void set_bake_interval(const double distance); + double get_bake_interval() const; + double get_baked_length() const; + Vector3 interpolate_baked(const double offset, const bool cubic = false) const; + PoolVector3Array get_baked_points() const; + PoolRealArray get_baked_tilts() 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); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CurveTexture.hpp b/include/gen/CurveTexture.hpp new file mode 100644 index 00000000..cbe13d66 --- /dev/null +++ b/include/gen/CurveTexture.hpp @@ -0,0 +1,41 @@ +#ifndef GODOT_CPP_CURVETEXTURE_HPP +#define GODOT_CPP_CURVETEXTURE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Curve; + +class CurveTexture : public Texture { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CurveTexture"; } + 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 + + // constants + + + static CurveTexture *_new(); + + // methods + void set_width(const int64_t width); + void set_curve(const Ref curve); + Ref get_curve() const; + void _update(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/CylinderMesh.hpp b/include/gen/CylinderMesh.hpp new file mode 100644 index 00000000..f518dbdf --- /dev/null +++ b/include/gen/CylinderMesh.hpp @@ -0,0 +1,46 @@ +#ifndef GODOT_CPP_CYLINDERMESH_HPP +#define GODOT_CPP_CYLINDERMESH_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class CylinderMesh : public PrimitiveMesh { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "CylinderMesh"; } + 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 + + // constants + + + static CylinderMesh *_new(); + + // methods + void set_top_radius(const double radius); + double get_top_radius() const; + void set_bottom_radius(const double radius); + double get_bottom_radius() const; + void set_height(const double height); + double get_height() const; + void set_radial_segments(const int64_t segments); + int64_t get_radial_segments() const; + void set_rings(const int64_t rings); + int64_t get_rings() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/DampedSpringJoint2D.hpp b/include/gen/DampedSpringJoint2D.hpp new file mode 100644 index 00000000..8648ce47 --- /dev/null +++ b/include/gen/DampedSpringJoint2D.hpp @@ -0,0 +1,44 @@ +#ifndef GODOT_CPP_DAMPEDSPRINGJOINT2D_HPP +#define GODOT_CPP_DAMPEDSPRINGJOINT2D_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class DampedSpringJoint2D : public Joint2D { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "DampedSpringJoint2D"; } + 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 + + // constants + + + static DampedSpringJoint2D *_new(); + + // methods + void set_length(const double length); + double get_length() const; + void set_rest_length(const double rest_length); + double get_rest_length() const; + void set_stiffness(const double stiffness); + double get_stiffness() const; + void set_damping(const double damping); + double get_damping() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/DirectionalLight.hpp b/include/gen/DirectionalLight.hpp new file mode 100644 index 00000000..dcc2dbe8 --- /dev/null +++ b/include/gen/DirectionalLight.hpp @@ -0,0 +1,52 @@ +#ifndef GODOT_CPP_DIRECTIONALLIGHT_HPP +#define GODOT_CPP_DIRECTIONALLIGHT_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + + +class DirectionalLight : public Light { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "DirectionalLight"; } + 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 ShadowMode { + SHADOW_ORTHOGONAL = 0, + SHADOW_PARALLEL_4_SPLITS = 2, + SHADOW_PARALLEL_2_SPLITS = 1, + }; + enum ShadowDepthRange { + SHADOW_DEPTH_RANGE_STABLE = 0, + SHADOW_DEPTH_RANGE_OPTIMIZED = 1, + }; + + // constants + + + static DirectionalLight *_new(); + + // methods + void set_shadow_mode(const int64_t mode); + DirectionalLight::ShadowMode get_shadow_mode() const; + void set_shadow_depth_range(const int64_t mode); + DirectionalLight::ShadowDepthRange get_shadow_depth_range() const; + void set_blend_splits(const bool enabled); + bool is_blend_splits_enabled() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/Directory.hpp b/include/gen/Directory.hpp new file mode 100644 index 00000000..d88402ed --- /dev/null +++ b/include/gen/Directory.hpp @@ -0,0 +1,54 @@ +#ifndef GODOT_CPP_DIRECTORY_HPP +#define GODOT_CPP_DIRECTORY_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class Directory : public Reference { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "Directory"; } + 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 + + // constants + + + static Directory *_new(); + + // methods + Error open(const String path); + Error list_dir_begin(const bool skip_navigational = false, const bool skip_hidden = false); + String get_next(); + bool current_is_dir() const; + void list_dir_end(); + int64_t get_drive_count(); + String get_drive(const int64_t idx); + int64_t get_current_drive(); + Error change_dir(const String todir); + String get_current_dir(); + Error make_dir(const String path); + Error make_dir_recursive(const String path); + bool file_exists(const String path); + bool dir_exists(const String path); + int64_t get_space_left(); + Error copy(const String from, const String to); + Error rename(const String from, const String to); + Error remove(const String path); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/DynamicFont.hpp b/include/gen/DynamicFont.hpp new file mode 100644 index 00000000..3e2d2a83 --- /dev/null +++ b/include/gen/DynamicFont.hpp @@ -0,0 +1,58 @@ +#ifndef GODOT_CPP_DYNAMICFONT_HPP +#define GODOT_CPP_DYNAMICFONT_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class DynamicFontData; + +class DynamicFont : public Font { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "DynamicFont"; } + 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 SpacingType { + SPACING_SPACE = 3, + SPACING_TOP = 0, + SPACING_BOTTOM = 1, + SPACING_CHAR = 2, + }; + + // constants + + + static DynamicFont *_new(); + + // methods + void set_font_data(const Ref data); + Ref get_font_data() const; + void set_size(const int64_t data); + int64_t get_size() const; + void set_use_mipmaps(const bool enable); + bool get_use_mipmaps() const; + void set_use_filter(const bool enable); + bool get_use_filter() const; + void set_spacing(const int64_t type, const int64_t value); + int64_t get_spacing(const int64_t type) const; + void add_fallback(const Ref data); + void set_fallback(const int64_t idx, const Ref data); + Ref get_fallback(const int64_t idx) const; + void remove_fallback(const int64_t idx); + int64_t get_fallback_count() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/DynamicFontData.hpp b/include/gen/DynamicFontData.hpp new file mode 100644 index 00000000..c26e3aac --- /dev/null +++ b/include/gen/DynamicFontData.hpp @@ -0,0 +1,46 @@ +#ifndef GODOT_CPP_DYNAMICFONTDATA_HPP +#define GODOT_CPP_DYNAMICFONTDATA_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + + +class DynamicFontData : public Resource { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "DynamicFontData"; } + 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 Hinting { + HINTING_LIGHT = 1, + HINTING_NONE = 0, + HINTING_NORMAL = 2, + }; + + // constants + + + static DynamicFontData *_new(); + + // methods + void set_font_path(const String path); + String get_font_path() const; + void set_hinting(const int64_t mode); + DynamicFontData::Hinting get_hinting() const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/EditorExportPlugin.hpp b/include/gen/EditorExportPlugin.hpp new file mode 100644 index 00000000..1aecbfea --- /dev/null +++ b/include/gen/EditorExportPlugin.hpp @@ -0,0 +1,46 @@ +#ifndef GODOT_CPP_EDITOREXPORTPLUGIN_HPP +#define GODOT_CPP_EDITOREXPORTPLUGIN_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class EditorExportPlugin : public Reference { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "EditorExportPlugin"; } + 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 + + // constants + + + static EditorExportPlugin *_new(); + + // methods + void _export_file(const String path, const String type, const PoolStringArray features); + void _export_begin(const PoolStringArray features, const bool is_debug, const String path, const int64_t flags); + void add_shared_object(const String path, const PoolStringArray tags); + void add_file(const String path, const PoolByteArray file, const bool remap); + void add_ios_framework(const String path); + void add_ios_plist_content(const String plist_content); + void add_ios_linker_flags(const String flags); + void add_ios_bundle_file(const String path); + void add_ios_cpp_code(const String code); + void skip(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/EditorFileDialog.hpp b/include/gen/EditorFileDialog.hpp new file mode 100644 index 00000000..5190f359 --- /dev/null +++ b/include/gen/EditorFileDialog.hpp @@ -0,0 +1,105 @@ +#ifndef GODOT_CPP_EDITORFILEDIALOG_HPP +#define GODOT_CPP_EDITORFILEDIALOG_HPP + + +#include +#include + +#include +#include +#include + +#include +namespace godot { + +class InputEvent; +class VBoxContainer; +class Texture; + +class EditorFileDialog : public ConfirmationDialog { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "EditorFileDialog"; } + 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 DisplayMode { + DISPLAY_THUMBNAILS = 0, + DISPLAY_LIST = 1, + }; + enum Mode { + MODE_SAVE_FILE = 4, + MODE_OPEN_FILE = 0, + MODE_OPEN_FILES = 1, + MODE_OPEN_ANY = 3, + MODE_OPEN_DIR = 2, + }; + enum Access { + ACCESS_RESOURCES = 0, + ACCESS_FILESYSTEM = 2, + ACCESS_USERDATA = 1, + }; + + // constants + + + static EditorFileDialog *_new(); + + // methods + void _unhandled_input(const Ref arg0); + void _item_selected(const int64_t arg0); + void _multi_selected(const int64_t arg0, const bool arg1); + void _items_clear_selection(); + void _item_list_item_rmb_selected(const int64_t arg0, const Vector2 arg1); + void _item_list_rmb_clicked(const Vector2 arg0); + void _item_menu_id_pressed(const int64_t arg0); + void _item_db_selected(const int64_t arg0); + void _dir_entered(const String arg0); + void _file_entered(const String arg0); + void _action_pressed(); + void _cancel_pressed(); + void _filter_selected(const int64_t arg0); + void _save_confirm_pressed(); + void clear_filters(); + void add_filter(const String filter); + String get_current_dir() const; + String get_current_file() const; + String get_current_path() const; + void set_current_dir(const String dir); + void set_current_file(const String file); + void set_current_path(const String path); + void set_mode(const int64_t mode); + EditorFileDialog::Mode get_mode() const; + VBoxContainer *get_vbox(); + void set_access(const int64_t access); + EditorFileDialog::Access get_access() const; + void set_show_hidden_files(const bool show); + bool is_showing_hidden_files() const; + void _select_drive(const int64_t arg0); + void _make_dir(); + void _make_dir_confirm(); + void _update_file_list(); + void _update_dir(); + void _thumbnail_done(const String arg0, const Ref arg1, const Variant arg2); + void set_display_mode(const int64_t mode); + EditorFileDialog::DisplayMode get_display_mode() const; + void _thumbnail_result(const String arg0, const Ref arg1, const Variant arg2); + void set_disable_overwrite_warning(const bool disable); + bool is_overwrite_warning_disabled() const; + void _recent_selected(const int64_t arg0); + void _go_back(); + void _go_forward(); + void _go_up(); + void _favorite_toggled(const bool arg0); + void _favorite_selected(const int64_t arg0); + void _favorite_move_up(); + void _favorite_move_down(); + void invalidate(); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/EditorFileSystem.hpp b/include/gen/EditorFileSystem.hpp new file mode 100644 index 00000000..eae58d65 --- /dev/null +++ b/include/gen/EditorFileSystem.hpp @@ -0,0 +1,42 @@ +#ifndef GODOT_CPP_EDITORFILESYSTEM_HPP +#define GODOT_CPP_EDITORFILESYSTEM_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class EditorFileSystemDirectory; + +class EditorFileSystem : public Node { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "EditorFileSystem"; } + 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 + + // constants + + // methods + EditorFileSystemDirectory *get_filesystem(); + bool is_scanning() const; + double get_scanning_progress() const; + void scan(); + void scan_sources(); + void update_file(const String path); + EditorFileSystemDirectory *get_filesystem_path(const String path); + String get_file_type(const String path) const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/EditorFileSystemDirectory.hpp b/include/gen/EditorFileSystemDirectory.hpp new file mode 100644 index 00000000..0c1c956f --- /dev/null +++ b/include/gen/EditorFileSystemDirectory.hpp @@ -0,0 +1,49 @@ +#ifndef GODOT_CPP_EDITORFILESYSTEMDIRECTORY_HPP +#define GODOT_CPP_EDITORFILESYSTEMDIRECTORY_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class EditorFileSystemDirectory; + +class EditorFileSystemDirectory : public Object { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "EditorFileSystemDirectory"; } + 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 + + // constants + + + static EditorFileSystemDirectory *_new(); + + // methods + int64_t get_subdir_count() const; + EditorFileSystemDirectory *get_subdir(const int64_t idx); + int64_t get_file_count() const; + String get_file(const int64_t idx) const; + String get_file_path(const int64_t idx) const; + String get_file_type(const int64_t idx) const; + bool get_file_import_is_valid(const int64_t idx) const; + String get_name(); + String get_path() const; + EditorFileSystemDirectory *get_parent(); + int64_t find_file_index(const String name) const; + int64_t find_dir_index(const String name) const; + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/EditorImportPlugin.hpp b/include/gen/EditorImportPlugin.hpp new file mode 100644 index 00000000..9668d0a2 --- /dev/null +++ b/include/gen/EditorImportPlugin.hpp @@ -0,0 +1,48 @@ +#ifndef GODOT_CPP_EDITORIMPORTPLUGIN_HPP +#define GODOT_CPP_EDITORIMPORTPLUGIN_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + + +class EditorImportPlugin : public Reference { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "EditorImportPlugin"; } + 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 + + // constants + + + static EditorImportPlugin *_new(); + + // methods + String get_importer_name(); + String get_visible_name(); + int64_t get_preset_count(); + String get_preset_name(const int64_t preset); + Array get_recognized_extensions(); + Array get_import_options(const int64_t preset); + String get_save_extension(); + String get_resource_type(); + double get_priority(); + int64_t get_import_order(); + bool get_option_visibility(const String option, const Dictionary options); + int64_t import(const String source_file, const String save_path, const Dictionary options, const Array r_platform_variants, const Array r_gen_files); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/EditorInterface.hpp b/include/gen/EditorInterface.hpp new file mode 100644 index 00000000..9dff4e11 --- /dev/null +++ b/include/gen/EditorInterface.hpp @@ -0,0 +1,62 @@ +#ifndef GODOT_CPP_EDITORINTERFACE_HPP +#define GODOT_CPP_EDITORINTERFACE_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class Object; +class EditorSelection; +class EditorSettings; +class ScriptEditor; +class Control; +class Resource; +class Node; +class EditorResourcePreview; +class EditorFileSystem; + +class EditorInterface : public Node { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "EditorInterface"; } + 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 + + // constants + + // methods + void inspect_object(const Object *object, const String for_property = ""); + EditorSelection *get_selection(); + Ref get_editor_settings(); + ScriptEditor *get_script_editor(); + Control *get_base_control(); + void edit_resource(const Ref resource); + void open_scene_from_path(const String scene_filepath); + void reload_scene_from_path(const String scene_filepath); + Array get_open_scenes() const; + Node *get_edited_scene_root(); + EditorResourcePreview *get_resource_previewer(); + EditorFileSystem *get_resource_filesystem(); + Control *get_editor_viewport(); + Array make_mesh_previews(const Array meshes, const int64_t preview_size); + void select_file(const String p_file); + String get_selected_path() const; + void set_plugin_enabled(const String plugin, const bool enabled); + bool is_plugin_enabled(const String plugin) const; + Error save_scene(); + void save_scene_as(const String path, const bool with_preview = true); + +}; + +} + +#endif \ No newline at end of file diff --git a/include/gen/EditorPlugin.hpp b/include/gen/EditorPlugin.hpp new file mode 100644 index 00000000..1e364f89 --- /dev/null +++ b/include/gen/EditorPlugin.hpp @@ -0,0 +1,118 @@ +#ifndef GODOT_CPP_EDITORPLUGIN_HPP +#define GODOT_CPP_EDITORPLUGIN_HPP + + +#include +#include + +#include +#include + +#include +namespace godot { + +class InputEvent; +class Control; +class Camera; +class EditorSpatialGizmo; +class Spatial; +class Object; +class ConfigFile; +class ToolButton; +class Script; +class Texture; +class UndoRedo; +class EditorImportPlugin; +class EditorSceneImporter; +class EditorExportPlugin; +class EditorInterface; + +class EditorPlugin : public Node { +public: + + static void *___get_type_tag(); + static void *___get_base_type_tag(); + static inline const char *___get_class_name() { return (const char *) "EditorPlugin"; } + 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 DockSlot { + DOCK_SLOT_MAX = 8, + DOCK_SLOT_LEFT_BL = 1, + DOCK_SLOT_RIGHT_BR = 7, + DOCK_SLOT_RIGHT_UR = 6, + DOCK_SLOT_LEFT_UR = 2, + DOCK_SLOT_LEFT_UL = 0, + DOCK_SLOT_RIGHT_UL = 4, + DOCK_SLOT_RIGHT_BL = 5, + DOCK_SLOT_LEFT_BR = 3, + }; + enum CustomControlContainer { + CONTAINER_TOOLBAR = 0, + CONTAINER_SPATIAL_EDITOR_BOTTOM = 3, + CONTAINER_CANVAS_EDITOR_SIDE = 5, + CONTAINER_SPATIAL_EDITOR_SIDE = 2, + CONTAINER_SPATIAL_EDITOR_MENU = 1, + CONTAINER_CANVAS_EDITOR_BOTTOM = 6, + CONTAINER_PROPERTY_EDITOR_BOTTOM = 7, + CONTAINER_CANVAS_EDITOR_MENU = 4, + }; + + // constants + + + static EditorPlugin *_new(); + + // methods + bool forward_canvas_gui_input(const Ref event); + void forward_draw_over_viewport(const Control *overlay); + void forward_force_draw_over_viewport(const Control *overlay); + bool forward_spatial_gui_input(const Camera *camera, const Ref event); + Ref create_spatial_gizmo(const Spatial *for_spatial); + String get_plugin_name(); + Object *get_plugin_icon(); + bool has_main_screen(); + void make_visible(const bool visible); + void edit(const Object *object); + bool handles(const Object *object); + Dictionary get_state(); + void set_state(const Dictionary state); + void clear(); + void save_external_data(); + void apply_changes(); + PoolStringArray get_breakpoints(); + void set_window_layout(const Ref layout); + void get_window_layout(const Ref layout); + void add_control_to_container(const int64_t container, const Object *control); + ToolButton *add_control_to_bottom_panel(const Object *control, const String title); + void add_control_to_dock(const int64_t slot, const Object *control); + void remove_control_from_docks(const Object *control); + void remove_control_from_bottom_panel(const Object *control); + void remove_control_from_container(const int64_t container, const Object *control); + void add_tool_menu_item(const String name, const Object *handler, const String callback, const Variant ud = Variant()); + void add_tool_submenu_item(const String name, const Object *submenu); + void remove_tool_menu_item(const String name); + void add_custom_type(const String type, const String base, const Ref