changed build system to be more self contained

pull/155/head
karroffel 2018-05-13 14:39:32 +02:00
parent d420613bd2
commit 982e77620c
917 changed files with 753 additions and 71826 deletions

View File

@ -24,6 +24,7 @@ result_name = ARGUMENTS.get('n', ARGUMENTS.get('name', os.path.relpath('.', '..'
if target_platform == 'linux':
result_name += '.linux.' + target_arch
env['CXX']='g++'
if ARGUMENTS.get('use_llvm', 'no') == 'yes':
env['CXX'] = 'clang++'
@ -86,10 +87,13 @@ env.Append(CPPPATH=['.', godot_headers, 'include', 'include/gen', 'include/core'
# Generate bindings?
json_api_file = ''
# Generate bindings?
json_api_file = ''
if ARGUMENTS.get('use_custom_api_file', 'no') == 'yes':
json_api_file = ARGUMENTS.get('custom_api_file', '')
else:
json_api_file = os.path.join(os.getcwd(), 'godot_api.json')
json_api_file = os.path.join(os.getcwd(), 'godot_headers', 'api.json')
if ARGUMENTS.get('generate_bindings', 'no') == 'yes':
# actually create the bindings here
@ -98,6 +102,8 @@ if ARGUMENTS.get('generate_bindings', 'no') == 'yes':
binding_generator.generate_bindings(json_api_file)
# source to compile
sources = []
add_sources(sources, 'src/core', 'cpp')
add_sources(sources, 'src/gen', 'cpp')

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Spatial.hpp>
#include "Spatial.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Camera.hpp>
#include "Camera.hpp"
namespace godot {

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <ARVRPositionalTracker.hpp>
#include "ARVRPositionalTracker.hpp"
#include <Spatial.hpp>
#include "Spatial.hpp"
namespace godot {

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <ARVRInterface.hpp>
#include "ARVRInterface.hpp"
#include <Reference.hpp>
#include "Reference.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <ARVRInterface.hpp>
#include "ARVRInterface.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Spatial.hpp>
#include "Spatial.hpp"
namespace godot {

View File

@ -7,10 +7,10 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <ARVRServer.hpp>
#include <ARVRPositionalTracker.hpp>
#include "ARVRServer.hpp"
#include "ARVRPositionalTracker.hpp"
#include <Object.hpp>
#include "Object.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Object.hpp>
#include "Object.hpp"
namespace godot {
class ARVRInterface;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Reference.hpp>
#include "Reference.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <WindowDialog.hpp>
#include "WindowDialog.hpp"
namespace godot {
class Button;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Node2D.hpp>
#include "Node2D.hpp"
namespace godot {
class SpriteFrames;
@ -48,6 +48,8 @@ public:
bool is_flipped_v() const;
void set_frame(const int64_t frame);
int64_t get_frame() const;
void set_speed_scale(const double speed_scale);
double get_speed_scale() const;
void _res_changed();
};

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <SpriteBase3D.hpp>
#include "SpriteBase3D.hpp"
namespace godot {
class SpriteFrames;

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Animation.hpp>
#include "Animation.hpp"
#include <Resource.hpp>
#include "Resource.hpp"
namespace godot {
class Animation;

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AnimationPlayer.hpp>
#include "AnimationPlayer.hpp"
#include <Node.hpp>
#include "Node.hpp"
namespace godot {
class Object;
@ -63,6 +63,7 @@ public:
bool is_active() const;
void set_speed_scale(const double speed);
double get_speed_scale() const;
double get_playing_speed() const;
void set_autoplay(const String name);
String get_autoplay() const;
void set_root(const NodePath path);

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AnimationTreePlayer.hpp>
#include "AnimationTreePlayer.hpp"
#include <Node.hpp>
#include "Node.hpp"
namespace godot {
class Animation;

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Area.hpp>
#include "Area.hpp"
#include <CollisionObject.hpp>
#include "CollisionObject.hpp"
namespace godot {
class Object;

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Area2D.hpp>
#include "Area2D.hpp"
#include <CollisionObject2D.hpp>
#include "CollisionObject2D.hpp"
namespace godot {
class Object;

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Mesh.hpp>
#include "Mesh.hpp"
#include <Mesh.hpp>
#include "Mesh.hpp"
namespace godot {
class Material;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Texture.hpp>
#include "Texture.hpp"
namespace godot {
class Texture;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Resource.hpp>
#include "Resource.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Resource.hpp>
#include "Resource.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffectFilter.hpp>
#include "AudioEffectFilter.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffectFilter.hpp>
#include "AudioEffectFilter.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffectDistortion.hpp>
#include "AudioEffectDistortion.hpp"
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffectEQ.hpp>
#include "AudioEffectEQ.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffectEQ.hpp>
#include "AudioEffectEQ.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffectEQ.hpp>
#include "AudioEffectEQ.hpp"
namespace godot {

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffectFilter.hpp>
#include "AudioEffectFilter.hpp"
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffectFilter.hpp>
#include "AudioEffectFilter.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffectFilter.hpp>
#include "AudioEffectFilter.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffectFilter.hpp>
#include "AudioEffectFilter.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffectFilter.hpp>
#include "AudioEffectFilter.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffectFilter.hpp>
#include "AudioEffectFilter.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioEffect.hpp>
#include "AudioEffect.hpp"
namespace godot {

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioServer.hpp>
#include "AudioServer.hpp"
#include <Object.hpp>
#include "Object.hpp"
namespace godot {
class AudioEffect;
@ -76,6 +76,9 @@ public:
void unlock();
AudioServer::SpeakerMode get_speaker_mode() const;
double get_mix_rate() const;
Array get_device_list();
String get_device();
void set_device(const String arg0);
void set_bus_layout(const Ref<AudioBusLayout> bus_layout);
Ref<AudioBusLayout> generate_bus_layout() const;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Resource.hpp>
#include "Resource.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioStream.hpp>
#include "AudioStream.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Reference.hpp>
#include "Reference.hpp"
namespace godot {

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioStreamPlayer.hpp>
#include "AudioStreamPlayer.hpp"
#include <Node.hpp>
#include "Node.hpp"
namespace godot {
class AudioStream;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Node2D.hpp>
#include "Node2D.hpp"
namespace godot {
class AudioStream;

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioStreamPlayer3D.hpp>
#include "AudioStreamPlayer3D.hpp"
#include <Spatial.hpp>
#include "Spatial.hpp"
namespace godot {
class AudioStream;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioStream.hpp>
#include "AudioStream.hpp"
namespace godot {
class AudioStream;

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AudioStreamSample.hpp>
#include "AudioStreamSample.hpp"
#include <AudioStream.hpp>
#include "AudioStream.hpp"
namespace godot {

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <BackBufferCopy.hpp>
#include "BackBufferCopy.hpp"
#include <Node2D.hpp>
#include "Node2D.hpp"
namespace godot {

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <BakedLightmap.hpp>
#include "BakedLightmap.hpp"
#include <VisualInstance.hpp>
#include "VisualInstance.hpp"
namespace godot {
class BakedLightmapData;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Resource.hpp>
#include "Resource.hpp"
namespace godot {
class Texture;

View File

@ -7,10 +7,10 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <BaseButton.hpp>
#include <Control.hpp>
#include "BaseButton.hpp"
#include "Control.hpp"
#include <Control.hpp>
#include "Control.hpp"
namespace godot {
class InputEvent;
@ -53,6 +53,8 @@ public:
bool is_disabled() const;
void set_action_mode(const int64_t mode);
BaseButton::ActionMode get_action_mode() const;
void set_button_mask(const int64_t mask);
int64_t get_button_mask() const;
BaseButton::DrawMode get_draw_mode() const;
void set_enabled_focus_mode(const int64_t mode);
Control::FocusMode get_enabled_focus_mode() const;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Resource.hpp>
#include "Resource.hpp"
namespace godot {
class Image;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Font.hpp>
#include "Font.hpp"
namespace godot {
class Texture;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Spatial.hpp>
#include "Spatial.hpp"
namespace godot {

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <BoxContainer.hpp>
#include "BoxContainer.hpp"
#include <Container.hpp>
#include "Container.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Shape.hpp>
#include "Shape.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <PhysicsDirectBodyState.hpp>
#include "PhysicsDirectBodyState.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <PhysicsServer.hpp>
#include "PhysicsServer.hpp"
namespace godot {

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Button.hpp>
#include "Button.hpp"
#include <BaseButton.hpp>
#include "BaseButton.hpp"
namespace godot {
class Texture;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Resource.hpp>
#include "Resource.hpp"
namespace godot {
class BaseButton;

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Camera.hpp>
#include "Camera.hpp"
#include <Spatial.hpp>
#include "Spatial.hpp"
namespace godot {
class Environment;

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Camera2D.hpp>
#include "Camera2D.hpp"
#include <Node2D.hpp>
#include "Node2D.hpp"
namespace godot {
class Object;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Node.hpp>
#include "Node.hpp"
namespace godot {
class Texture;
@ -29,18 +29,19 @@ public:
// enums
enum BlendMode {
BLEND_MODE_PREMULT_ALPHA = 4,
BLEND_MODE_SUB = 2,
BLEND_MODE_DISABLED = 5,
BLEND_MODE_MUL = 3,
BLEND_MODE_MIX = 0,
BLEND_MODE_PREMULT_ALPHA = 4,
BLEND_MODE_ADD = 1,
};
// constants
const static int NOTIFICATION_VISIBILITY_CHANGED = 31;
const static int NOTIFICATION_TRANSFORM_CHANGED = 29;
const static int NOTIFICATION_DRAW = 30;
const static int NOTIFICATION_EXIT_CANVAS = 33;
const static int NOTIFICATION_DRAW = 30;
const static int NOTIFICATION_ENTER_CANVAS = 32;
// methods
@ -51,7 +52,8 @@ public:
Dictionary _edit_get_state() const;
void _edit_set_position(const Vector2 position);
Vector2 _edit_get_position() const;
bool _edit_use_position() const;
void _edit_set_scale(const Vector2 scale);
Vector2 _edit_get_scale() const;
void _edit_set_rect(const Rect2 rect);
Rect2 _edit_get_rect() const;
bool _edit_use_rect() const;

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <CanvasItemMaterial.hpp>
#include "CanvasItemMaterial.hpp"
#include <Material.hpp>
#include "Material.hpp"
namespace godot {

View File

@ -8,12 +8,11 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Node.hpp>
#include "Node.hpp"
namespace godot {
class Object;
class Node;
class World2D;
class CanvasLayer : public Node {
public:
@ -45,7 +44,7 @@ public:
Vector2 get_scale() const;
void set_custom_viewport(const Object *viewport);
Node *get_custom_viewport() const;
Ref<World2D> get_world_2d() const;
RID get_canvas() const;
};

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Node2D.hpp>
#include "Node2D.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <PrimitiveMesh.hpp>
#include "PrimitiveMesh.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Shape.hpp>
#include "Shape.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Shape2D.hpp>
#include "Shape2D.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Container.hpp>
#include "Container.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Button.hpp>
#include "Button.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Button.hpp>
#include "Button.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Shape2D.hpp>
#include "Shape2D.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Object.hpp>
#include "Object.hpp"
namespace godot {
class Object;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Spatial.hpp>
#include "Spatial.hpp"
namespace godot {
class Object;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Node2D.hpp>
#include "Node2D.hpp"
namespace godot {
class Object;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Spatial.hpp>
#include "Spatial.hpp"
namespace godot {
@ -34,6 +34,7 @@ public:
PoolVector2Array get_polygon() const;
void set_disabled(const bool disabled);
bool is_disabled() const;
bool _is_editable_3d_polygon() const;
};

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <CollisionPolygon2D.hpp>
#include "CollisionPolygon2D.hpp"
#include <Node2D.hpp>
#include "Node2D.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Spatial.hpp>
#include "Spatial.hpp"
namespace godot {
class Resource;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Node2D.hpp>
#include "Node2D.hpp"
namespace godot {
class Shape2D;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <BoxContainer.hpp>
#include "BoxContainer.hpp"
namespace godot {
class Object;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Button.hpp>
#include "Button.hpp"
namespace godot {
class ColorPicker;
@ -37,6 +37,7 @@ public:
void set_edit_alpha(const bool show);
bool is_editing_alpha() const;
void _color_changed(const Color arg0);
void _modal_closed();
};

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Control.hpp>
#include "Control.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Shape.hpp>
#include "Shape.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Shape2D.hpp>
#include "Shape2D.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Joint.hpp>
#include "Joint.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Reference.hpp>
#include "Reference.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <AcceptDialog.hpp>
#include "AcceptDialog.hpp"
namespace godot {
class Button;

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Control.hpp>
#include "Control.hpp"
namespace godot {
class Object;

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Control.hpp>
#include "Control.hpp"
#include <CanvasItem.hpp>
#include "CanvasItem.hpp"
namespace godot {
class InputEvent;
@ -71,6 +71,7 @@ public:
};
enum GrowDirection {
GROW_DIRECTION_END = 1,
GROW_DIRECTION_BOTH = 2,
GROW_DIRECTION_BEGIN = 0,
};
enum SizeFlags {
@ -107,6 +108,8 @@ public:
const static int NOTIFICATION_FOCUS_EXIT = 44;
const static int NOTIFICATION_MODAL_CLOSE = 46;
const static int NOTIFICATION_RESIZED = 40;
const static int NOTIFICATION_SCROLL_END = 48;
const static int NOTIFICATION_SCROLL_BEGIN = 47;
static Control *_new();

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Shape.hpp>
#include "Shape.hpp"
namespace godot {

View File

@ -8,7 +8,7 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <Shape2D.hpp>
#include "Shape2D.hpp"
namespace godot {

View File

@ -7,9 +7,9 @@
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <CubeMap.hpp>
#include "CubeMap.hpp"
#include <Resource.hpp>
#include "Resource.hpp"
namespace godot {
class Image;

Some files were not shown because too many files have changed in this diff Show More