mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Include cleanps.
This commit is contained in:
parent
a112bd877c
commit
6f637e65b0
@ -30,10 +30,6 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
|
||||
#include "scene/2d/polygon_2d.h"
|
||||
#include "scene/gui/tool_button.h"
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/object.h"
|
||||
#include "core/reference.h"
|
||||
|
@ -64,6 +64,7 @@
|
||||
#include "scene/main/node.h"
|
||||
#include "scene/resources/font.h"
|
||||
#include "scene/resources/texture.h"
|
||||
#include "scene/animation/animation_blend_space_1d.h"
|
||||
|
||||
StringName AnimationNodeBlendSpace1DEditor::get_blend_position_path() const {
|
||||
StringName path = AnimationTreeEditor::get_singleton()->get_base_path() + "blend_position";
|
||||
@ -785,3 +786,7 @@ AnimationNodeBlendSpace1DEditor::AnimationNodeBlendSpace1DEditor() {
|
||||
|
||||
set_custom_minimum_size(Size2(0, 150 * EDSCALE));
|
||||
}
|
||||
|
||||
AnimationNodeBlendSpace1DEditor::~AnimationNodeBlendSpace1DEditor() {
|
||||
|
||||
}
|
@ -30,22 +30,14 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor/plugins/animation_tree_editor_plugin.h"
|
||||
#include "editor/property_editor.h"
|
||||
#include "scene/animation/animation_blend_space_1d.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/graph_edit.h"
|
||||
#include "scene/gui/popup.h"
|
||||
#include "scene/gui/tree.h"
|
||||
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/object.h"
|
||||
#include "core/reference.h"
|
||||
#include "core/string_name.h"
|
||||
#include "core/ustring.h"
|
||||
#include "core/vector.h"
|
||||
#include "scene/animation/animation_tree.h"
|
||||
|
||||
class Button;
|
||||
class Control;
|
||||
@ -60,6 +52,7 @@ class SpinBox;
|
||||
class ToolButton;
|
||||
class UndoRedo;
|
||||
class VSeparator;
|
||||
class AnimationNodeBlendSpace1D;
|
||||
|
||||
class AnimationNodeBlendSpace1DEditor : public AnimationTreeNodeEditorPlugin {
|
||||
GDCLASS(AnimationNodeBlendSpace1DEditor, AnimationTreeNodeEditorPlugin);
|
||||
@ -150,6 +143,7 @@ public:
|
||||
virtual bool can_edit(const Ref<AnimationNode> &p_node);
|
||||
virtual void edit(const Ref<AnimationNode> &p_node);
|
||||
AnimationNodeBlendSpace1DEditor();
|
||||
~AnimationNodeBlendSpace1DEditor();
|
||||
};
|
||||
|
||||
#endif // ANIMATION_BLEND_SPACE_1D_EDITOR_H
|
||||
|
@ -30,6 +30,7 @@
|
||||
|
||||
#include "animation_blend_space_2d_editor.h"
|
||||
|
||||
#include "scene/animation/animation_blend_space_2d.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/math/delaunay.h"
|
||||
#include "core/os/keyboard.h"
|
||||
|
@ -30,22 +30,14 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor/plugins/animation_tree_editor_plugin.h"
|
||||
#include "editor/property_editor.h"
|
||||
#include "scene/animation/animation_blend_space_2d.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/graph_edit.h"
|
||||
#include "scene/gui/popup.h"
|
||||
#include "scene/gui/tree.h"
|
||||
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/object.h"
|
||||
#include "core/reference.h"
|
||||
#include "core/string_name.h"
|
||||
#include "core/ustring.h"
|
||||
#include "core/vector.h"
|
||||
#include "scene/animation/animation_tree.h"
|
||||
|
||||
class Button;
|
||||
class Control;
|
||||
@ -61,6 +53,7 @@ class SpinBox;
|
||||
class ToolButton;
|
||||
class UndoRedo;
|
||||
class VSeparator;
|
||||
class AnimationNodeBlendSpace2D;
|
||||
|
||||
class AnimationNodeBlendSpace2DEditor : public AnimationTreeNodeEditorPlugin {
|
||||
GDCLASS(AnimationNodeBlendSpace2DEditor, AnimationTreeNodeEditorPlugin);
|
||||
|
@ -68,6 +68,7 @@
|
||||
#include "scene/main/node.h"
|
||||
#include "scene/resources/animation.h"
|
||||
#include "scene/resources/style_box.h"
|
||||
#include "scene/animation/animation_blend_tree.h"
|
||||
|
||||
void AnimationNodeBlendTreeEditor::add_custom_type(const String &p_name, const Ref<Script> &p_script) {
|
||||
for (int i = 0; i < add_options.size(); i++) {
|
||||
|
@ -30,15 +30,8 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor/plugins/animation_tree_editor_plugin.h"
|
||||
#include "editor/property_editor.h"
|
||||
#include "scene/animation/animation_blend_tree.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/graph_edit.h"
|
||||
#include "scene/gui/popup.h"
|
||||
#include "scene/gui/tree.h"
|
||||
|
||||
#include "core/map.h"
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/object.h"
|
||||
@ -48,7 +41,6 @@
|
||||
#include "core/ustring.h"
|
||||
#include "core/variant.h"
|
||||
#include "core/vector.h"
|
||||
#include "scene/animation/animation_tree.h"
|
||||
|
||||
class ProgressBar;
|
||||
class AcceptDialog;
|
||||
@ -63,6 +55,7 @@ class Node;
|
||||
class PanelContainer;
|
||||
class Tree;
|
||||
class UndoRedo;
|
||||
class AnimationNodeBlendTree;
|
||||
|
||||
class AnimationNodeBlendTreeEditor : public AnimationTreeNodeEditorPlugin {
|
||||
GDCLASS(AnimationNodeBlendTreeEditor, AnimationTreeNodeEditorPlugin);
|
||||
|
@ -30,13 +30,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "scene/animation/animation_player.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/slider.h"
|
||||
#include "scene/gui/spin_box.h"
|
||||
#include "scene/gui/texture_button.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
|
||||
#include "core/dictionary.h"
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/object.h"
|
||||
@ -44,10 +40,6 @@
|
||||
#include "core/rid.h"
|
||||
#include "core/ustring.h"
|
||||
#include "core/vector.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/tool_button.h"
|
||||
#include "scene/resources/material.h"
|
||||
#include "scene/resources/shader.h"
|
||||
|
||||
class AnimationTrackEditor;
|
||||
class AnimationPlayerEditorPlugin;
|
||||
|
@ -30,15 +30,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor/plugins/animation_tree_editor_plugin.h"
|
||||
#include "editor/property_editor.h"
|
||||
#include "scene/animation/animation_node_state_machine.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/graph_edit.h"
|
||||
#include "scene/gui/popup.h"
|
||||
#include "scene/gui/tree.h"
|
||||
|
||||
#include "core/math/rect2.h"
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/object.h"
|
||||
@ -46,8 +40,6 @@
|
||||
#include "core/string_name.h"
|
||||
#include "core/ustring.h"
|
||||
#include "core/vector.h"
|
||||
#include "scene/animation/animation_tree.h"
|
||||
#include "scene/gui/control.h"
|
||||
|
||||
class EditorFileDialog;
|
||||
class HBoxContainer;
|
||||
|
@ -30,20 +30,14 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor/property_editor.h"
|
||||
#include "scene/animation/animation_tree.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/graph_edit.h"
|
||||
#include "scene/gui/popup.h"
|
||||
#include "scene/gui/tree.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
|
||||
#include "core/object.h"
|
||||
#include "core/object_id.h"
|
||||
#include "core/reference.h"
|
||||
#include "core/ustring.h"
|
||||
#include "core/vector.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
|
||||
class AnimationNode;
|
||||
class AnimationTree;
|
||||
|
@ -30,13 +30,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor/property_editor.h"
|
||||
#include "scene/animation/animation_tree_player.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/popup.h"
|
||||
#include "scene/gui/tree.h"
|
||||
#include "scene/gui/control.h"
|
||||
|
||||
#include "core/list.h"
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/object.h"
|
||||
@ -44,7 +40,6 @@
|
||||
#include "core/set.h"
|
||||
#include "core/string_name.h"
|
||||
#include "core/ustring.h"
|
||||
#include "scene/gui/control.h"
|
||||
|
||||
class AcceptDialog;
|
||||
class AnimationTreePlayer;
|
||||
|
@ -53,6 +53,7 @@
|
||||
#include "scene/main/node.h"
|
||||
#include "scene/resources/texture.h"
|
||||
#include "servers/visual_server.h"
|
||||
#include "servers/audio/audio_stream.h"
|
||||
|
||||
void AudioStreamEditor::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_READY) {
|
||||
|
@ -30,18 +30,16 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "scene/audio/audio_stream_player.h"
|
||||
#include "scene/gui/color_rect.h"
|
||||
#include "scene/resources/texture.h"
|
||||
|
||||
#include "core/math/math_defs.h"
|
||||
#include "core/object.h"
|
||||
#include "core/object_id.h"
|
||||
#include "core/reference.h"
|
||||
#include "core/ustring.h"
|
||||
#include "servers/audio/audio_stream.h"
|
||||
|
||||
class AudioStream;
|
||||
class AudioStreamPlayer;
|
||||
class Control;
|
||||
class EditorNode;
|
||||
|
@ -30,12 +30,11 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "scene/gui/control.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "scene/3d/camera.h"
|
||||
|
||||
#include "core/object.h"
|
||||
#include "core/ustring.h"
|
||||
#include "scene/gui/control.h"
|
||||
|
||||
class Button;
|
||||
class EditorNode;
|
||||
|
@ -30,14 +30,10 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "scene/gui/control.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "scene/2d/canvas_item.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/check_box.h"
|
||||
#include "scene/gui/label.h"
|
||||
#include "scene/gui/panel_container.h"
|
||||
#include "scene/gui/spin_box.h"
|
||||
|
||||
#include "core/dictionary.h"
|
||||
#include "core/list.h"
|
||||
#include "core/map.h"
|
||||
@ -52,10 +48,6 @@
|
||||
#include "core/ustring.h"
|
||||
#include "core/variant.h"
|
||||
#include "core/vector.h"
|
||||
#include "scene/gui/control.h"
|
||||
#include "scene/gui/shortcut.h"
|
||||
#include "scene/resources/style_box.h"
|
||||
#include "scene/resources/texture.h"
|
||||
|
||||
class CanvasItemEditorViewport;
|
||||
class AcceptDialog;
|
||||
|
@ -30,18 +30,14 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "scene/3d/collision_polygon.h"
|
||||
#include "scene/3d/immediate_geometry.h"
|
||||
#include "scene/3d/mesh_instance.h"
|
||||
#include "scene/gui/tool_button.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/object.h"
|
||||
#include "core/reference.h"
|
||||
#include "core/ustring.h"
|
||||
#include "core/vector.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
|
||||
class CanvasItemEditor;
|
||||
class ArrayMesh;
|
||||
|
@ -30,11 +30,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "core/os/input.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "scene/2d/collision_shape_2d.h"
|
||||
#include "scene/gui/control.h"
|
||||
|
||||
#include "core/math/transform_2d.h"
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/object.h"
|
||||
@ -42,7 +40,6 @@
|
||||
#include "core/ustring.h"
|
||||
#include "core/variant.h"
|
||||
#include "core/vector.h"
|
||||
#include "scene/gui/control.h"
|
||||
|
||||
class CanvasItemEditor;
|
||||
class CollisionShape2D;
|
||||
|
@ -30,12 +30,8 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "scene/2d/collision_polygon_2d.h"
|
||||
#include "scene/2d/cpu_particles_2d.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/file_dialog.h"
|
||||
|
||||
#include "core/object.h"
|
||||
#include "core/ustring.h"
|
||||
|
||||
|
@ -31,10 +31,8 @@
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/plugins/particles_editor_plugin.h"
|
||||
#include "scene/3d/cpu_particles.h"
|
||||
#include "core/object.h"
|
||||
|
||||
#include "core/ustring.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
|
||||
class CPUParticles;
|
||||
class EditorNode;
|
||||
|
@ -30,14 +30,13 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor/editor_resource_preview.h"
|
||||
#include "scene/resources/curve.h"
|
||||
|
||||
#include "core/array.h"
|
||||
#include "core/math/transform_2d.h"
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/object.h"
|
||||
|
||||
#include "core/reference.h"
|
||||
#include "core/ustring.h"
|
||||
#include "editor/editor_inspector.h"
|
||||
|
@ -31,6 +31,7 @@
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_resource_preview.h"
|
||||
|
||||
#include "core/safe_refcount.h"
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/object.h"
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include "core/undo_redo.h"
|
||||
#include "core/vector.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "scene/resources/gradient.h"
|
||||
|
||||
Size2 GradientEditor::get_minimum_size() const {
|
||||
return Size2(0, 60) * EDSCALE;
|
||||
@ -79,6 +80,10 @@ GradientEditor::GradientEditor() {
|
||||
editing = false;
|
||||
}
|
||||
|
||||
GradientEditor::~GradientEditor() {
|
||||
|
||||
}
|
||||
|
||||
///////////////////////
|
||||
|
||||
bool EditorInspectorPluginGradient::can_handle(Object *p_object) {
|
||||
|
@ -30,16 +30,16 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_inspector.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "scene/gui/gradient_edit.h"
|
||||
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/object.h"
|
||||
#include "core/reference.h"
|
||||
#include "core/ustring.h"
|
||||
#include "editor/editor_inspector.h"
|
||||
#include "scene/resources/gradient.h"
|
||||
|
||||
class Gradient;
|
||||
class EditorNode;
|
||||
|
||||
class GradientEditor : public GradientEdit {
|
||||
@ -58,6 +58,7 @@ public:
|
||||
virtual Size2 get_minimum_size() const;
|
||||
void set_gradient(const Ref<Gradient> &p_gradient);
|
||||
GradientEditor();
|
||||
~GradientEditor();
|
||||
};
|
||||
|
||||
class EditorInspectorPluginGradient : public EditorInspectorPlugin {
|
||||
|
@ -30,22 +30,18 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "canvas_item_editor_plugin.h"
|
||||
#include "editor/editor_inspector.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "core/object.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "scene/gui/menu_button.h"
|
||||
#include "scene/gui/option_button.h"
|
||||
|
||||
#include "scene/gui/popup_menu.h"
|
||||
#include "core/list.h"
|
||||
#include "core/object.h"
|
||||
#include "core/reference.h"
|
||||
#include "core/string_name.h"
|
||||
#include "core/ustring.h"
|
||||
#include "core/variant.h"
|
||||
#include "core/vector.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/item_list.h"
|
||||
|
||||
#include "scene/resources/texture.h"
|
||||
|
||||
class AcceptDialog;
|
||||
|
Loading…
Reference in New Issue
Block a user