Remove unimplemented methods
This commit is contained in:
parent
8688b97dda
commit
87a4ba492e
|
@ -265,7 +265,6 @@ public:
|
||||||
float get_joy_vibration_duration(int p_device);
|
float get_joy_vibration_duration(int p_device);
|
||||||
uint64_t get_joy_vibration_timestamp(int p_device);
|
uint64_t get_joy_vibration_timestamp(int p_device);
|
||||||
void joy_connection_changed(int p_idx, bool p_connected, String p_name, String p_guid = "");
|
void joy_connection_changed(int p_idx, bool p_connected, String p_name, String p_guid = "");
|
||||||
void parse_joypad_mapping(String p_mapping, bool p_update_existing);
|
|
||||||
|
|
||||||
Vector3 get_gravity() const;
|
Vector3 get_gravity() const;
|
||||||
Vector3 get_accelerometer() const;
|
Vector3 get_accelerometer() const;
|
||||||
|
|
|
@ -54,8 +54,6 @@ public:
|
||||||
static int get_max_compressed_buffer_size(int p_src_size, Mode p_mode = MODE_ZSTD);
|
static int get_max_compressed_buffer_size(int p_src_size, Mode p_mode = MODE_ZSTD);
|
||||||
static int decompress(uint8_t *p_dst, int p_dst_max_size, const uint8_t *p_src, int p_src_size, Mode p_mode = MODE_ZSTD);
|
static int decompress(uint8_t *p_dst, int p_dst_max_size, const uint8_t *p_src, int p_src_size, Mode p_mode = MODE_ZSTD);
|
||||||
static int decompress_dynamic(Vector<uint8_t> *p_dst_vect, int p_max_dst_size, const uint8_t *p_src, int p_src_size, Mode p_mode);
|
static int decompress_dynamic(Vector<uint8_t> *p_dst_vect, int p_max_dst_size, const uint8_t *p_src, int p_src_size, Mode p_mode);
|
||||||
|
|
||||||
Compression() {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // COMPRESSION_H
|
#endif // COMPRESSION_H
|
||||||
|
|
|
@ -83,7 +83,6 @@ class RotatedFileLogger : public Logger {
|
||||||
|
|
||||||
FileAccess *file = nullptr;
|
FileAccess *file = nullptr;
|
||||||
|
|
||||||
void rotate_file_without_closing();
|
|
||||||
void close_file();
|
void close_file();
|
||||||
void clear_old_backups();
|
void clear_old_backups();
|
||||||
void rotate_file();
|
void rotate_file();
|
||||||
|
|
|
@ -594,8 +594,6 @@ private:
|
||||||
|
|
||||||
IntermediateHull() {
|
IntermediateHull() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void print();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum Orientation { NONE,
|
enum Orientation { NONE,
|
||||||
|
|
|
@ -37,8 +37,6 @@
|
||||||
#include "core/templates/vector.h"
|
#include "core/templates/vector.h"
|
||||||
|
|
||||||
class Geometry2D {
|
class Geometry2D {
|
||||||
Geometry2D();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static real_t get_closest_points_between_segments(const Vector2 &p1, const Vector2 &q1, const Vector2 &p2, const Vector2 &q2, Vector2 &c1, Vector2 &c2) {
|
static real_t get_closest_points_between_segments(const Vector2 &p1, const Vector2 &q1, const Vector2 &p2, const Vector2 &q2, Vector2 &c1, Vector2 &c2) {
|
||||||
Vector2 d1 = q1 - p1; // Direction vector of segment S1.
|
Vector2 d1 = q1 - p1; // Direction vector of segment S1.
|
||||||
|
|
|
@ -36,8 +36,6 @@
|
||||||
#include "core/templates/vector.h"
|
#include "core/templates/vector.h"
|
||||||
|
|
||||||
class Geometry3D {
|
class Geometry3D {
|
||||||
Geometry3D();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static void get_closest_points_between_segments(const Vector3 &p1, const Vector3 &p2, const Vector3 &q1, const Vector3 &q2, Vector3 &c1, Vector3 &c2) {
|
static void get_closest_points_between_segments(const Vector3 &p1, const Vector3 &p2, const Vector3 &q1, const Vector3 &q2, Vector3 &c1, Vector3 &c2) {
|
||||||
// Do the function 'd' as defined by pb. I think it's a dot product of some sort.
|
// Do the function 'd' as defined by pb. I think it's a dot product of some sort.
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class Memory {
|
class Memory {
|
||||||
Memory();
|
|
||||||
#ifdef DEBUG_ENABLED
|
#ifdef DEBUG_ENABLED
|
||||||
static SafeNumeric<uint64_t> mem_usage;
|
static SafeNumeric<uint64_t> mem_usage;
|
||||||
static SafeNumeric<uint64_t> max_usage;
|
static SafeNumeric<uint64_t> max_usage;
|
||||||
|
|
|
@ -53,7 +53,6 @@ public:
|
||||||
void popup_find_line(CodeEdit *p_edit);
|
void popup_find_line(CodeEdit *p_edit);
|
||||||
int get_line() const;
|
int get_line() const;
|
||||||
|
|
||||||
void set_text_editor(CodeEdit *p_text_editor);
|
|
||||||
GotoLineDialog();
|
GotoLineDialog();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -101,7 +100,6 @@ class FindReplaceBar : public HBoxContainer {
|
||||||
void _search_text_changed(const String &p_text);
|
void _search_text_changed(const String &p_text);
|
||||||
void _search_text_submitted(const String &p_text);
|
void _search_text_submitted(const String &p_text);
|
||||||
void _replace_text_submitted(const String &p_text);
|
void _replace_text_submitted(const String &p_text);
|
||||||
void _update_size();
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
|
@ -135,8 +135,6 @@ private:
|
||||||
Vector<Callable> undo_redo_callbacks;
|
Vector<Callable> undo_redo_callbacks;
|
||||||
Map<StringName, Callable> move_element_functions;
|
Map<StringName, Callable> move_element_functions;
|
||||||
|
|
||||||
void _cleanup_history();
|
|
||||||
|
|
||||||
Vector<EditedScene> edited_scene;
|
Vector<EditedScene> edited_scene;
|
||||||
int current_edited_scene;
|
int current_edited_scene;
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,6 @@ class FindBar : public HBoxContainer {
|
||||||
|
|
||||||
int results_count;
|
int results_count;
|
||||||
|
|
||||||
void _show_search();
|
|
||||||
void _hide_bar();
|
void _hide_bar();
|
||||||
|
|
||||||
void _search_text_changed(const String &p_text);
|
void _search_text_changed(const String &p_text);
|
||||||
|
@ -66,8 +65,6 @@ class FindBar : public HBoxContainer {
|
||||||
void _update_results_count();
|
void _update_results_count();
|
||||||
void _update_matches_label();
|
void _update_matches_label();
|
||||||
|
|
||||||
void _update_size();
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
virtual void unhandled_input(const Ref<InputEvent> &p_event) override;
|
virtual void unhandled_input(const Ref<InputEvent> &p_event) override;
|
||||||
|
|
|
@ -96,8 +96,6 @@ private:
|
||||||
bool draw_top_bg;
|
bool draw_top_bg;
|
||||||
|
|
||||||
void _ensure_popup();
|
void _ensure_popup();
|
||||||
bool _is_property_different(const Variant &p_current, const Variant &p_orig);
|
|
||||||
bool _get_instantiated_node_original_property(const StringName &p_prop, Variant &value);
|
|
||||||
void _focusable_focused(int p_index);
|
void _focusable_focused(int p_index);
|
||||||
|
|
||||||
bool selectable;
|
bool selectable;
|
||||||
|
@ -281,8 +279,6 @@ public:
|
||||||
void unfold();
|
void unfold();
|
||||||
void fold();
|
void fold();
|
||||||
|
|
||||||
Object *get_edited_object();
|
|
||||||
|
|
||||||
EditorInspectorSection();
|
EditorInspectorSection();
|
||||||
~EditorInspectorSection();
|
~EditorInspectorSection();
|
||||||
};
|
};
|
||||||
|
|
|
@ -520,9 +520,6 @@ private:
|
||||||
void _run(bool p_current = false, const String &p_custom = "");
|
void _run(bool p_current = false, const String &p_custom = "");
|
||||||
void _run_native(const Ref<EditorExportPreset> &p_preset);
|
void _run_native(const Ref<EditorExportPreset> &p_preset);
|
||||||
|
|
||||||
void _save_optimized();
|
|
||||||
void _import_action(const String &p_action);
|
|
||||||
void _import(const String &p_file);
|
|
||||||
void _add_to_recent_scenes(const String &p_scene);
|
void _add_to_recent_scenes(const String &p_scene);
|
||||||
void _update_recent_scenes();
|
void _update_recent_scenes();
|
||||||
void _open_recent_scene(int p_idx);
|
void _open_recent_scene(int p_idx);
|
||||||
|
@ -560,7 +557,6 @@ private:
|
||||||
static void _editor_file_dialog_register(EditorFileDialog *p_dialog);
|
static void _editor_file_dialog_register(EditorFileDialog *p_dialog);
|
||||||
static void _editor_file_dialog_unregister(EditorFileDialog *p_dialog);
|
static void _editor_file_dialog_unregister(EditorFileDialog *p_dialog);
|
||||||
|
|
||||||
void _cleanup_scene();
|
|
||||||
void _remove_edited_scene(bool p_change_tab = true);
|
void _remove_edited_scene(bool p_change_tab = true);
|
||||||
void _remove_scene(int index, bool p_change_tab = true);
|
void _remove_scene(int index, bool p_change_tab = true);
|
||||||
bool _find_and_save_resource(RES p_res, Map<RES, bool> &processed, int32_t flags);
|
bool _find_and_save_resource(RES p_res, Map<RES, bool> &processed, int32_t flags);
|
||||||
|
@ -658,8 +654,6 @@ private:
|
||||||
static int build_callback_count;
|
static int build_callback_count;
|
||||||
static EditorBuildCallback build_callbacks[MAX_BUILD_CALLBACKS];
|
static EditorBuildCallback build_callbacks[MAX_BUILD_CALLBACKS];
|
||||||
|
|
||||||
void _license_tree_selected();
|
|
||||||
|
|
||||||
void _update_update_spinner();
|
void _update_update_spinner();
|
||||||
|
|
||||||
Vector<Ref<EditorResourceConversionPlugin>> resource_conversion_plugins;
|
Vector<Ref<EditorResourceConversionPlugin>> resource_conversion_plugins;
|
||||||
|
@ -778,7 +772,6 @@ public:
|
||||||
SubViewport *get_scene_root() { return scene_root; } // root of the scene being edited
|
SubViewport *get_scene_root() { return scene_root; } // root of the scene being edited
|
||||||
|
|
||||||
void fix_dependencies(const String &p_for_file);
|
void fix_dependencies(const String &p_for_file);
|
||||||
void clear_scene() { _cleanup_scene(); }
|
|
||||||
int new_scene();
|
int new_scene();
|
||||||
Error load_scene(const String &p_scene, bool p_ignore_broken_deps = false, bool p_set_inherited = false, bool p_clear_errors = true, bool p_force_open_imported = false, bool p_silent_change_tab = false);
|
Error load_scene(const String &p_scene, bool p_ignore_broken_deps = false, bool p_set_inherited = false, bool p_clear_errors = true, bool p_force_open_imported = false, bool p_silent_change_tab = false);
|
||||||
Error load_resource(const String &p_resource, bool p_ignore_broken_deps = false);
|
Error load_resource(const String &p_resource, bool p_ignore_broken_deps = false);
|
||||||
|
@ -851,8 +844,6 @@ public:
|
||||||
|
|
||||||
bool is_scene_in_use(const String &p_path);
|
bool is_scene_in_use(const String &p_path);
|
||||||
|
|
||||||
void scan_import_changes();
|
|
||||||
|
|
||||||
void save_layout();
|
void save_layout();
|
||||||
|
|
||||||
void open_export_template_manager();
|
void open_export_template_manager();
|
||||||
|
@ -894,7 +885,6 @@ public:
|
||||||
|
|
||||||
EditorNode();
|
EditorNode();
|
||||||
~EditorNode();
|
~EditorNode();
|
||||||
void get_singleton(const char *arg1, bool arg2);
|
|
||||||
|
|
||||||
void add_resource_conversion_plugin(const Ref<EditorResourceConversionPlugin> &p_plugin);
|
void add_resource_conversion_plugin(const Ref<EditorResourceConversionPlugin> &p_plugin);
|
||||||
void remove_resource_conversion_plugin(const Ref<EditorResourceConversionPlugin> &p_plugin);
|
void remove_resource_conversion_plugin(const Ref<EditorResourceConversionPlugin> &p_plugin);
|
||||||
|
|
|
@ -47,7 +47,6 @@ class EditorPath : public Button {
|
||||||
PopupMenu *sub_objects_menu;
|
PopupMenu *sub_objects_menu;
|
||||||
|
|
||||||
Vector<ObjectID> objects;
|
Vector<ObjectID> objects;
|
||||||
EditorPath();
|
|
||||||
|
|
||||||
void _show_popup();
|
void _show_popup();
|
||||||
void _id_pressed(int p_idx);
|
void _id_pressed(int p_idx);
|
||||||
|
|
|
@ -205,8 +205,6 @@ private:
|
||||||
void _set_file_display(bool p_active);
|
void _set_file_display(bool p_active);
|
||||||
void _fs_changed();
|
void _fs_changed();
|
||||||
|
|
||||||
void _tree_toggle_collapsed();
|
|
||||||
|
|
||||||
void _select_file(const String &p_path, bool p_select_in_favorites = false);
|
void _select_file(const String &p_path, bool p_select_in_favorites = false);
|
||||||
void _tree_activate_file();
|
void _tree_activate_file();
|
||||||
void _file_list_activate_file(int p_idx);
|
void _file_list_activate_file(int p_idx);
|
||||||
|
@ -228,8 +226,6 @@ private:
|
||||||
|
|
||||||
void _file_removed(String p_file);
|
void _file_removed(String p_file);
|
||||||
void _folder_removed(String p_folder);
|
void _folder_removed(String p_folder);
|
||||||
void _files_moved(String p_old_file, String p_new_file);
|
|
||||||
void _folder_moved(String p_old_folder, String p_new_folder);
|
|
||||||
|
|
||||||
void _resource_created();
|
void _resource_created();
|
||||||
void _make_dir_confirm();
|
void _make_dir_confirm();
|
||||||
|
|
|
@ -122,7 +122,6 @@ class GroupsEditor : public VBoxContainer {
|
||||||
void update_tree();
|
void update_tree();
|
||||||
void _add_group(const String &p_group = "");
|
void _add_group(const String &p_group = "");
|
||||||
void _modify_group(Object *p_item, int p_column, int p_id);
|
void _modify_group(Object *p_item, int p_column, int p_id);
|
||||||
void _close();
|
|
||||||
|
|
||||||
void _show_group_dialog();
|
void _show_group_dialog();
|
||||||
|
|
||||||
|
|
|
@ -91,8 +91,6 @@ public:
|
||||||
|
|
||||||
virtual Error import(const String &p_source_file, const String &p_save_path, const Map<StringName, Variant> &p_options, List<String> *r_platform_variants, List<String> *r_gen_files = nullptr, Variant *r_metadata = nullptr) override;
|
virtual Error import(const String &p_source_file, const String &p_save_path, const Map<StringName, Variant> &p_options, List<String> *r_platform_variants, List<String> *r_gen_files = nullptr, Variant *r_metadata = nullptr) override;
|
||||||
|
|
||||||
void update_imports();
|
|
||||||
|
|
||||||
virtual bool are_import_settings_valid(const String &p_path) const override;
|
virtual bool are_import_settings_valid(const String &p_path) const override;
|
||||||
virtual String get_import_settings_string() const override;
|
virtual String get_import_settings_string() const override;
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,6 @@ protected:
|
||||||
void _wip_changed();
|
void _wip_changed();
|
||||||
void _wip_close();
|
void _wip_close();
|
||||||
void _wip_cancel();
|
void _wip_cancel();
|
||||||
bool _delete_point(const Vector2 &p_gpoint);
|
|
||||||
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
void _node_removed(Node *p_node);
|
void _node_removed(Node *p_node);
|
||||||
|
|
|
@ -109,8 +109,6 @@ class AnimationNodeBlendSpace1DEditor : public AnimationTreeNodeEditorPlugin {
|
||||||
void _edit_point_pos(double);
|
void _edit_point_pos(double);
|
||||||
void _open_editor();
|
void _open_editor();
|
||||||
|
|
||||||
void _goto_parent();
|
|
||||||
|
|
||||||
EditorFileDialog *open_file;
|
EditorFileDialog *open_file;
|
||||||
Ref<AnimationNode> file_loaded;
|
Ref<AnimationNode> file_loaded;
|
||||||
void _file_opened(const String &p_file);
|
void _file_opened(const String &p_file);
|
||||||
|
|
|
@ -187,7 +187,6 @@ class AnimationPlayerEditor : public VBoxContainer {
|
||||||
void _scale_changed(const String &p_scale);
|
void _scale_changed(const String &p_scale);
|
||||||
void _save_animation(String p_file);
|
void _save_animation(String p_file);
|
||||||
void _load_animations(Vector<String> p_files);
|
void _load_animations(Vector<String> p_files);
|
||||||
void _seek_frame_changed(const String &p_frame);
|
|
||||||
void _seek_value_changed(float p_value, bool p_set = false, bool p_timeline_only = false);
|
void _seek_value_changed(float p_value, bool p_set = false, bool p_timeline_only = false);
|
||||||
void _blend_editor_next_changed(const int p_idx);
|
void _blend_editor_next_changed(const int p_idx);
|
||||||
|
|
||||||
|
@ -217,7 +216,6 @@ class AnimationPlayerEditor : public VBoxContainer {
|
||||||
|
|
||||||
void _pin_pressed();
|
void _pin_pressed();
|
||||||
|
|
||||||
AnimationPlayerEditor();
|
|
||||||
~AnimationPlayerEditor();
|
~AnimationPlayerEditor();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -285,7 +285,6 @@ class EditorAssetLibrary : public PanelContainer {
|
||||||
void _search_text_submitted(const String &p_text = "");
|
void _search_text_submitted(const String &p_text = "");
|
||||||
void _api_request(const String &p_request, RequestType p_request_type, const String &p_arguments = "");
|
void _api_request(const String &p_request, RequestType p_request_type, const String &p_arguments = "");
|
||||||
void _http_request_completed(int p_status, int p_code, const PackedStringArray &headers, const PackedByteArray &p_data);
|
void _http_request_completed(int p_status, int p_code, const PackedStringArray &headers, const PackedByteArray &p_data);
|
||||||
void _http_download_completed(int p_status, int p_code, const PackedStringArray &headers, const PackedByteArray &p_data);
|
|
||||||
void _filter_debounce_timer_timeout();
|
void _filter_debounce_timer_timeout();
|
||||||
|
|
||||||
void _repository_changed(int p_repository_id);
|
void _repository_changed(int p_repository_id);
|
||||||
|
|
|
@ -421,8 +421,6 @@ private:
|
||||||
|
|
||||||
CanvasItem *ref_item;
|
CanvasItem *ref_item;
|
||||||
|
|
||||||
void _add_canvas_item(CanvasItem *p_canvas_item);
|
|
||||||
|
|
||||||
void _save_canvas_item_state(List<CanvasItem *> p_canvas_items, bool save_bones = false);
|
void _save_canvas_item_state(List<CanvasItem *> p_canvas_items, bool save_bones = false);
|
||||||
void _restore_canvas_item_state(List<CanvasItem *> p_canvas_items, bool restore_bones = false);
|
void _restore_canvas_item_state(List<CanvasItem *> p_canvas_items, bool restore_bones = false);
|
||||||
void _commit_canvas_item_state(List<CanvasItem *> p_canvas_items, String action_name, bool commit_bones = false);
|
void _commit_canvas_item_state(List<CanvasItem *> p_canvas_items, String action_name, bool commit_bones = false);
|
||||||
|
@ -434,7 +432,6 @@ private:
|
||||||
bool updating_scroll;
|
bool updating_scroll;
|
||||||
void _update_scroll(real_t);
|
void _update_scroll(real_t);
|
||||||
void _update_scrollbars();
|
void _update_scrollbars();
|
||||||
void _append_canvas_item(CanvasItem *p_item);
|
|
||||||
void _snap_changed();
|
void _snap_changed();
|
||||||
void _selection_result_pressed(int);
|
void _selection_result_pressed(int);
|
||||||
void _selection_menu_hide();
|
void _selection_menu_hide();
|
||||||
|
@ -519,7 +516,6 @@ private:
|
||||||
const Node *p_current);
|
const Node *p_current);
|
||||||
|
|
||||||
void _set_anchors_preset(Control::LayoutPreset p_preset);
|
void _set_anchors_preset(Control::LayoutPreset p_preset);
|
||||||
void _set_offsets_preset(Control::LayoutPreset p_preset);
|
|
||||||
void _set_anchors_and_offsets_preset(Control::LayoutPreset p_preset);
|
void _set_anchors_and_offsets_preset(Control::LayoutPreset p_preset);
|
||||||
void _set_anchors_and_offsets_to_keep_ratio();
|
void _set_anchors_and_offsets_to_keep_ratio();
|
||||||
|
|
||||||
|
@ -551,15 +547,9 @@ protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
static void _bind_methods();
|
static void _bind_methods();
|
||||||
void end_drag();
|
|
||||||
void box_selection_start(Point2 &click);
|
|
||||||
bool box_selection_end();
|
|
||||||
|
|
||||||
HBoxContainer *get_panel_hb() { return hb; }
|
HBoxContainer *get_panel_hb() { return hb; }
|
||||||
|
|
||||||
template <class P, class C>
|
|
||||||
void space_selected_items();
|
|
||||||
|
|
||||||
static CanvasItemEditor *singleton;
|
static CanvasItemEditor *singleton;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -677,8 +677,6 @@ private:
|
||||||
|
|
||||||
void _register_all_gizmos();
|
void _register_all_gizmos();
|
||||||
|
|
||||||
Node3DEditor();
|
|
||||||
|
|
||||||
void _selection_changed();
|
void _selection_changed();
|
||||||
void _refresh_menu_icons();
|
void _refresh_menu_icons();
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,6 @@ class ResourcePreloaderEditor : public PanelContainer {
|
||||||
ResourcePreloader *preloader;
|
ResourcePreloader *preloader;
|
||||||
|
|
||||||
void _load_pressed();
|
void _load_pressed();
|
||||||
void _load_scene_pressed();
|
|
||||||
void _files_load_request(const Vector<String> &p_paths);
|
void _files_load_request(const Vector<String> &p_paths);
|
||||||
void _paste_pressed();
|
void _paste_pressed();
|
||||||
void _remove_resource(const String &p_to_remove);
|
void _remove_resource(const String &p_to_remove);
|
||||||
|
|
|
@ -371,14 +371,11 @@ class ScriptEditor : public PanelContainer {
|
||||||
bool use_space_indentation;
|
bool use_space_indentation;
|
||||||
bool convert_indent_on_save;
|
bool convert_indent_on_save;
|
||||||
|
|
||||||
void _trim_trailing_whitespace(TextEdit *tx);
|
|
||||||
|
|
||||||
void _goto_script_line2(int p_line);
|
void _goto_script_line2(int p_line);
|
||||||
void _goto_script_line(REF p_script, int p_line);
|
void _goto_script_line(REF p_script, int p_line);
|
||||||
void _set_execution(REF p_script, int p_line);
|
void _set_execution(REF p_script, int p_line);
|
||||||
void _clear_execution(REF p_script);
|
void _clear_execution(REF p_script);
|
||||||
void _breaked(bool p_breaked, bool p_can_debug);
|
void _breaked(bool p_breaked, bool p_can_debug);
|
||||||
void _update_window_menu();
|
|
||||||
void _script_created(Ref<Script> p_script);
|
void _script_created(Ref<Script> p_script);
|
||||||
void _set_breakpoint(REF p_scrpt, int p_line, bool p_enabled);
|
void _set_breakpoint(REF p_scrpt, int p_line, bool p_enabled);
|
||||||
void _clear_breakpoints();
|
void _clear_breakpoints();
|
||||||
|
@ -430,7 +427,6 @@ class ScriptEditor : public PanelContainer {
|
||||||
void _make_script_list_context_menu();
|
void _make_script_list_context_menu();
|
||||||
|
|
||||||
void _help_search(String p_text);
|
void _help_search(String p_text);
|
||||||
void _help_index(String p_text);
|
|
||||||
|
|
||||||
void _history_forward();
|
void _history_forward();
|
||||||
void _history_back();
|
void _history_back();
|
||||||
|
|
|
@ -100,7 +100,6 @@ class SpriteFramesEditor : public HSplitContainer {
|
||||||
float min_sheet_zoom;
|
float min_sheet_zoom;
|
||||||
|
|
||||||
void _load_pressed();
|
void _load_pressed();
|
||||||
void _load_scene_pressed();
|
|
||||||
void _file_load_request(const Vector<String> &p_path, int p_at_pos = -1);
|
void _file_load_request(const Vector<String> &p_path, int p_at_pos = -1);
|
||||||
void _copy_pressed();
|
void _copy_pressed();
|
||||||
void _paste_pressed();
|
void _paste_pressed();
|
||||||
|
@ -128,7 +127,6 @@ class SpriteFramesEditor : public HSplitContainer {
|
||||||
|
|
||||||
UndoRedo *undo_redo;
|
UndoRedo *undo_redo;
|
||||||
|
|
||||||
bool _is_drop_valid(const Dictionary &p_drag_data, const Dictionary &p_item_data) const;
|
|
||||||
Variant get_drag_data_fw(const Point2 &p_point, Control *p_from);
|
Variant get_drag_data_fw(const Point2 &p_point, Control *p_from);
|
||||||
bool can_drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) const;
|
bool can_drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) const;
|
||||||
void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from);
|
void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from);
|
||||||
|
|
|
@ -347,7 +347,6 @@ class ThemeTypeEditor : public MarginContainer {
|
||||||
void _update_type_items();
|
void _update_type_items();
|
||||||
|
|
||||||
void _list_type_selected(int p_index);
|
void _list_type_selected(int p_index);
|
||||||
void _select_type(String p_type_name);
|
|
||||||
void _add_type_button_cbk();
|
void _add_type_button_cbk();
|
||||||
void _add_default_type_items();
|
void _add_default_type_items();
|
||||||
|
|
||||||
|
|
|
@ -335,8 +335,6 @@ class VisualShaderEditor : public VBoxContainer {
|
||||||
void _delete_node_request(int p_type, int p_node);
|
void _delete_node_request(int p_type, int p_node);
|
||||||
void _delete_nodes_request();
|
void _delete_nodes_request();
|
||||||
|
|
||||||
void _removed_from_graph();
|
|
||||||
|
|
||||||
void _node_changed(int p_id);
|
void _node_changed(int p_id);
|
||||||
|
|
||||||
void _edit_port_default_input(Object *p_button, int p_node, int p_port);
|
void _edit_port_default_input(Object *p_button, int p_node, int p_port);
|
||||||
|
|
|
@ -100,8 +100,6 @@ class ProjectSettingsEditor : public AcceptDialog {
|
||||||
void _action_reordered(const String &p_action_name, const String &p_relative_to, bool p_before);
|
void _action_reordered(const String &p_action_name, const String &p_relative_to, bool p_before);
|
||||||
void _update_action_map_editor();
|
void _update_action_map_editor();
|
||||||
|
|
||||||
ProjectSettingsEditor();
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
static void _bind_methods();
|
||||||
|
|
|
@ -46,7 +46,6 @@ class ReparentDialog : public ConfirmationDialog {
|
||||||
SceneTreeEditor *tree;
|
SceneTreeEditor *tree;
|
||||||
CheckBox *keep_transform;
|
CheckBox *keep_transform;
|
||||||
|
|
||||||
void update_tree();
|
|
||||||
void _reparent();
|
void _reparent();
|
||||||
void _cancel();
|
void _cancel();
|
||||||
|
|
||||||
|
@ -56,7 +55,6 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void set_current(const Set<Node *> &p_selection);
|
void set_current(const Set<Node *> &p_selection);
|
||||||
String get_selected_type();
|
|
||||||
|
|
||||||
ReparentDialog();
|
ReparentDialog();
|
||||||
~ReparentDialog();
|
~ReparentDialog();
|
||||||
|
|
|
@ -246,8 +246,6 @@ class SceneTreeDock : public VBoxContainer {
|
||||||
void _perform_instantiate_scenes(const Vector<String> &p_files, Node *parent, int p_pos);
|
void _perform_instantiate_scenes(const Vector<String> &p_files, Node *parent, int p_pos);
|
||||||
void _replace_with_branch_scene(const String &p_file, Node *base);
|
void _replace_with_branch_scene(const String &p_file, Node *base);
|
||||||
|
|
||||||
void _file_selected(String p_file);
|
|
||||||
|
|
||||||
void _remote_tree_selected();
|
void _remote_tree_selected();
|
||||||
void _local_tree_selected();
|
void _local_tree_selected();
|
||||||
|
|
||||||
|
|
|
@ -114,8 +114,6 @@ class SceneTreeEditor : public Control {
|
||||||
void _node_visibility_changed(Node *p_node);
|
void _node_visibility_changed(Node *p_node);
|
||||||
void _update_visibility_color(Node *p_node, TreeItem *p_item);
|
void _update_visibility_color(Node *p_node, TreeItem *p_item);
|
||||||
|
|
||||||
void _node_replace_owner(Node *p_base, Node *p_node, Node *p_root);
|
|
||||||
|
|
||||||
void _selection_changed();
|
void _selection_changed();
|
||||||
Node *get_scene_node();
|
Node *get_scene_node();
|
||||||
|
|
||||||
|
@ -173,7 +171,6 @@ class SceneTreeDialog : public ConfirmationDialog {
|
||||||
//Button *cancel;
|
//Button *cancel;
|
||||||
LineEdit *filter;
|
LineEdit *filter;
|
||||||
|
|
||||||
void update_tree();
|
|
||||||
void _select();
|
void _select();
|
||||||
void _cancel();
|
void _cancel();
|
||||||
void _filter_changed(const String &p_filter);
|
void _filter_changed(const String &p_filter);
|
||||||
|
|
|
@ -145,7 +145,6 @@ public:
|
||||||
|
|
||||||
virtual void dispatch_callbacks();
|
virtual void dispatch_callbacks();
|
||||||
void call_event(CollisionObjectBullet *p_otherObject, PhysicsServer3D::AreaBodyStatus p_status);
|
void call_event(CollisionObjectBullet *p_otherObject, PhysicsServer3D::AreaBodyStatus p_status);
|
||||||
void set_on_state_change(ObjectID p_id, const StringName &p_method, const Variant &p_udata = Variant());
|
|
||||||
void scratch();
|
void scratch();
|
||||||
|
|
||||||
void clear_overlaps(bool p_notify);
|
void clear_overlaps(bool p_notify);
|
||||||
|
|
|
@ -1139,15 +1139,12 @@ void NativeScriptLanguage::profiling_start() {
|
||||||
MutexLock lock(mutex);
|
MutexLock lock(mutex);
|
||||||
|
|
||||||
profile_data.clear();
|
profile_data.clear();
|
||||||
profiling = true;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void NativeScriptLanguage::profiling_stop() {
|
void NativeScriptLanguage::profiling_stop() {
|
||||||
#ifdef DEBUG_ENABLED
|
#ifdef DEBUG_ENABLED
|
||||||
MutexLock lock(mutex);
|
MutexLock lock(mutex);
|
||||||
|
|
||||||
profiling = false;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -269,7 +269,6 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
Map<StringName, ProfileData> profile_data;
|
Map<StringName, ProfileData> profile_data;
|
||||||
bool profiling = false;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// These two maps must only be touched on the main thread
|
// These two maps must only be touched on the main thread
|
||||||
|
@ -295,8 +294,6 @@ public:
|
||||||
return singleton;
|
return singleton;
|
||||||
}
|
}
|
||||||
|
|
||||||
void _hacky_api_anchor();
|
|
||||||
|
|
||||||
_FORCE_INLINE_ void set_language_index(int p_idx) { lang_idx = p_idx; }
|
_FORCE_INLINE_ void set_language_index(int p_idx) { lang_idx = p_idx; }
|
||||||
|
|
||||||
#ifndef NO_THREADS
|
#ifndef NO_THREADS
|
||||||
|
|
|
@ -69,8 +69,6 @@ public:
|
||||||
|
|
||||||
virtual ScriptLanguage *get_language();
|
virtual ScriptLanguage *get_language();
|
||||||
|
|
||||||
void set_path(const String &p_path);
|
|
||||||
|
|
||||||
virtual const Vector<Multiplayer::RPCConfig> get_rpc_methods() const;
|
virtual const Vector<Multiplayer::RPCConfig> get_rpc_methods() const;
|
||||||
|
|
||||||
virtual void refcount_incremented();
|
virtual void refcount_incremented();
|
||||||
|
|
|
@ -50,10 +50,8 @@ class GDScriptLanguageServer : public EditorPlugin {
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
void _iteration();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Error parse_script_file(const String &p_path);
|
|
||||||
GDScriptLanguageServer();
|
GDScriptLanguageServer();
|
||||||
void start();
|
void start();
|
||||||
void stop();
|
void stop();
|
||||||
|
|
|
@ -269,8 +269,6 @@ private:
|
||||||
Error _reparent_non_joint_skeleton_subtrees(
|
Error _reparent_non_joint_skeleton_subtrees(
|
||||||
Ref<GLTFState> state, Ref<GLTFSkeleton> skeleton,
|
Ref<GLTFState> state, Ref<GLTFSkeleton> skeleton,
|
||||||
const Vector<GLTFNodeIndex> &non_joints);
|
const Vector<GLTFNodeIndex> &non_joints);
|
||||||
Error _reparent_to_fake_joint(Ref<GLTFState> state, Ref<GLTFSkeleton> skeleton,
|
|
||||||
const GLTFNodeIndex node_index);
|
|
||||||
Error _determine_skeleton_roots(Ref<GLTFState> state,
|
Error _determine_skeleton_roots(Ref<GLTFState> state,
|
||||||
const GLTFSkeletonIndex skel_i);
|
const GLTFSkeletonIndex skel_i);
|
||||||
Error _create_skeletons(Ref<GLTFState> state);
|
Error _create_skeletons(Ref<GLTFState> state);
|
||||||
|
|
|
@ -59,8 +59,6 @@ protected:
|
||||||
Ref<SSLContextMbedTLS> ssl_ctx;
|
Ref<SSLContextMbedTLS> ssl_ctx;
|
||||||
mbedtls_timing_delay_context timer;
|
mbedtls_timing_delay_context timer;
|
||||||
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
Error _do_handshake();
|
Error _do_handshake();
|
||||||
int _set_cookie();
|
int _set_cookie();
|
||||||
|
|
||||||
|
|
|
@ -67,8 +67,6 @@ class SSLContextMbedTLS : public RefCounted {
|
||||||
protected:
|
protected:
|
||||||
bool inited = false;
|
bool inited = false;
|
||||||
|
|
||||||
static PackedByteArray _read_file(String p_path);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static void print_mbedtls_error(int p_ret);
|
static void print_mbedtls_error(int p_ret);
|
||||||
|
|
||||||
|
|
|
@ -50,8 +50,6 @@ private:
|
||||||
protected:
|
protected:
|
||||||
Ref<SSLContextMbedTLS> ssl_ctx;
|
Ref<SSLContextMbedTLS> ssl_ctx;
|
||||||
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
Error _do_handshake();
|
Error _do_handshake();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -90,12 +90,6 @@ public:
|
||||||
void set_stack_size(int p_size);
|
void set_stack_size(int p_size);
|
||||||
int get_stack_size() const;
|
int get_stack_size() const;
|
||||||
|
|
||||||
void set_return_type_enabled(bool p_returns);
|
|
||||||
bool is_return_type_enabled() const;
|
|
||||||
|
|
||||||
void set_return_type(Variant::Type p_type);
|
|
||||||
Variant::Type get_return_type() const;
|
|
||||||
|
|
||||||
void set_rpc_mode(Multiplayer::RPCMode p_mode);
|
void set_rpc_mode(Multiplayer::RPCMode p_mode);
|
||||||
Multiplayer::RPCMode get_rpc_mode() const;
|
Multiplayer::RPCMode get_rpc_mode() const;
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,6 @@ class AudioDriverOpenSL : public AudioDriver {
|
||||||
SLObjectItf sl;
|
SLObjectItf sl;
|
||||||
SLEngineItf EngineItf;
|
SLEngineItf EngineItf;
|
||||||
SLObjectItf OutputMix;
|
SLObjectItf OutputMix;
|
||||||
SLVolumeItf volumeItf;
|
|
||||||
SLObjectItf player;
|
SLObjectItf player;
|
||||||
SLObjectItf recorder;
|
SLObjectItf recorder;
|
||||||
SLAndroidSimpleBufferQueueItf bufferQueueItf;
|
SLAndroidSimpleBufferQueueItf bufferQueueItf;
|
||||||
|
@ -68,7 +67,6 @@ class AudioDriverOpenSL : public AudioDriver {
|
||||||
SLDataFormat_PCM pcm;
|
SLDataFormat_PCM pcm;
|
||||||
SLDataSink audioSink;
|
SLDataSink audioSink;
|
||||||
SLDataLocator_OutputMix locator_outputmix;
|
SLDataLocator_OutputMix locator_outputmix;
|
||||||
SLBufferQueueState state;
|
|
||||||
|
|
||||||
static AudioDriverOpenSL *s_ad;
|
static AudioDriverOpenSL *s_ad;
|
||||||
|
|
||||||
|
@ -89,8 +87,6 @@ class AudioDriverOpenSL : public AudioDriver {
|
||||||
virtual Error capture_init_device();
|
virtual Error capture_init_device();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void set_singleton();
|
|
||||||
|
|
||||||
virtual const char *get_name() const;
|
virtual const char *get_name() const;
|
||||||
|
|
||||||
virtual Error init();
|
virtual Error init();
|
||||||
|
|
|
@ -263,7 +263,6 @@ Size2i OS_Android::get_display_size() const {
|
||||||
|
|
||||||
void OS_Android::set_context_is_16_bits(bool p_is_16) {
|
void OS_Android::set_context_is_16_bits(bool p_is_16) {
|
||||||
#if defined(OPENGL_ENABLED)
|
#if defined(OPENGL_ENABLED)
|
||||||
//use_16bits_fbo = p_is_16;
|
|
||||||
//if (rasterizer)
|
//if (rasterizer)
|
||||||
// rasterizer->set_force_16_bits_fbo(p_is_16);
|
// rasterizer->set_force_16_bits_fbo(p_is_16);
|
||||||
#endif
|
#endif
|
||||||
|
@ -325,7 +324,6 @@ OS_Android::OS_Android(GodotJavaWrapper *p_godot_java, GodotIOJavaWrapper *p_god
|
||||||
#if defined(OPENGL_ENABLED)
|
#if defined(OPENGL_ENABLED)
|
||||||
gl_extensions = nullptr;
|
gl_extensions = nullptr;
|
||||||
use_gl2 = false;
|
use_gl2 = false;
|
||||||
use_16bits_fbo = false;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(VULKAN_ENABLED)
|
#if defined(VULKAN_ENABLED)
|
||||||
|
|
|
@ -48,7 +48,6 @@ private:
|
||||||
bool use_apk_expansion;
|
bool use_apk_expansion;
|
||||||
|
|
||||||
#if defined(OPENGL_ENABLED)
|
#if defined(OPENGL_ENABLED)
|
||||||
bool use_16bits_fbo;
|
|
||||||
const char *gl_extensions;
|
const char *gl_extensions;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,6 @@ private:
|
||||||
int get_joy_ref(IOHIDDeviceRef p_device) const;
|
int get_joy_ref(IOHIDDeviceRef p_device) const;
|
||||||
|
|
||||||
void poll_joypads() const;
|
void poll_joypads() const;
|
||||||
void setup_joypad_objects();
|
|
||||||
void config_hid_manager(CFArrayRef p_matching_array) const;
|
void config_hid_manager(CFArrayRef p_matching_array) const;
|
||||||
|
|
||||||
void joypad_vibration_start(int p_id, float p_magnitude, float p_duration, uint64_t p_timestamp);
|
void joypad_vibration_start(int p_id, float p_magnitude, float p_duration, uint64_t p_timestamp);
|
||||||
|
|
|
@ -117,11 +117,6 @@ private:
|
||||||
|
|
||||||
Windows::System::Display::DisplayRequest ^ display_request;
|
Windows::System::Display::DisplayRequest ^ display_request;
|
||||||
|
|
||||||
void _post_dpad(DWORD p_dpad, int p_device, bool p_pressed);
|
|
||||||
|
|
||||||
void _drag_event(int idx, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
||||||
void _touch_event(int idx, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
||||||
|
|
||||||
ref class ManagedType {
|
ref class ManagedType {
|
||||||
public:
|
public:
|
||||||
property bool alert_close_handle;
|
property bool alert_close_handle;
|
||||||
|
|
|
@ -43,8 +43,6 @@ private:
|
||||||
friend class Viewport;
|
friend class Viewport;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _update_listener();
|
|
||||||
|
|
||||||
bool _set(const StringName &p_name, const Variant &p_value);
|
bool _set(const StringName &p_name, const Variant &p_value);
|
||||||
bool _get(const StringName &p_name, Variant &r_ret) const;
|
bool _get(const StringName &p_name, Variant &r_ret) const;
|
||||||
void _get_property_list(List<PropertyInfo> *p_list) const;
|
void _get_property_list(List<PropertyInfo> *p_list) const;
|
||||||
|
|
|
@ -201,7 +201,6 @@ public:
|
||||||
void set_explosiveness_ratio(real_t p_ratio);
|
void set_explosiveness_ratio(real_t p_ratio);
|
||||||
void set_randomness_ratio(real_t p_ratio);
|
void set_randomness_ratio(real_t p_ratio);
|
||||||
void set_lifetime_randomness(double p_random);
|
void set_lifetime_randomness(double p_random);
|
||||||
void set_visibility_aabb(const Rect2 &p_aabb);
|
|
||||||
void set_use_local_coordinates(bool p_enable);
|
void set_use_local_coordinates(bool p_enable);
|
||||||
void set_speed_scale(double p_scale);
|
void set_speed_scale(double p_scale);
|
||||||
|
|
||||||
|
@ -213,7 +212,6 @@ public:
|
||||||
real_t get_explosiveness_ratio() const;
|
real_t get_explosiveness_ratio() const;
|
||||||
real_t get_randomness_ratio() const;
|
real_t get_randomness_ratio() const;
|
||||||
double get_lifetime_randomness() const;
|
double get_lifetime_randomness() const;
|
||||||
Rect2 get_visibility_aabb() const;
|
|
||||||
bool get_use_local_coordinates() const;
|
bool get_use_local_coordinates() const;
|
||||||
double get_speed_scale() const;
|
double get_speed_scale() const;
|
||||||
|
|
||||||
|
@ -226,9 +224,6 @@ public:
|
||||||
void set_draw_order(DrawOrder p_order);
|
void set_draw_order(DrawOrder p_order);
|
||||||
DrawOrder get_draw_order() const;
|
DrawOrder get_draw_order() const;
|
||||||
|
|
||||||
void set_draw_passes(int p_count);
|
|
||||||
int get_draw_passes() const;
|
|
||||||
|
|
||||||
void set_texture(const Ref<Texture2D> &p_texture);
|
void set_texture(const Ref<Texture2D> &p_texture);
|
||||||
Ref<Texture2D> get_texture() const;
|
Ref<Texture2D> get_texture() const;
|
||||||
|
|
||||||
|
@ -264,7 +259,6 @@ public:
|
||||||
void set_emission_points(const Vector<Vector2> &p_points);
|
void set_emission_points(const Vector<Vector2> &p_points);
|
||||||
void set_emission_normals(const Vector<Vector2> &p_normals);
|
void set_emission_normals(const Vector<Vector2> &p_normals);
|
||||||
void set_emission_colors(const Vector<Color> &p_colors);
|
void set_emission_colors(const Vector<Color> &p_colors);
|
||||||
void set_emission_point_count(int p_count);
|
|
||||||
void set_scale_curve_x(Ref<Curve> p_scale_curve);
|
void set_scale_curve_x(Ref<Curve> p_scale_curve);
|
||||||
void set_scale_curve_y(Ref<Curve> p_scale_curve);
|
void set_scale_curve_y(Ref<Curve> p_scale_curve);
|
||||||
void set_split_scale(bool p_split_scale);
|
void set_split_scale(bool p_split_scale);
|
||||||
|
@ -275,7 +269,6 @@ public:
|
||||||
Vector<Vector2> get_emission_points() const;
|
Vector<Vector2> get_emission_points() const;
|
||||||
Vector<Vector2> get_emission_normals() const;
|
Vector<Vector2> get_emission_normals() const;
|
||||||
Vector<Color> get_emission_colors() const;
|
Vector<Color> get_emission_colors() const;
|
||||||
int get_emission_point_count() const;
|
|
||||||
Ref<Curve> get_scale_curve_x() const;
|
Ref<Curve> get_scale_curve_x() const;
|
||||||
Ref<Curve> get_scale_curve_y() const;
|
Ref<Curve> get_scale_curve_y() const;
|
||||||
bool get_split_scale();
|
bool get_split_scale();
|
||||||
|
|
|
@ -63,9 +63,6 @@ public:
|
||||||
|
|
||||||
virtual Transform3D get_listener_transform() const;
|
virtual Transform3D get_listener_transform() const;
|
||||||
|
|
||||||
void set_visible_layers(uint32_t p_layers);
|
|
||||||
uint32_t get_visible_layers() const;
|
|
||||||
|
|
||||||
AudioListener3D();
|
AudioListener3D();
|
||||||
~AudioListener3D();
|
~AudioListener3D();
|
||||||
};
|
};
|
||||||
|
|
|
@ -209,7 +209,6 @@ public:
|
||||||
void set_explosiveness_ratio(real_t p_ratio);
|
void set_explosiveness_ratio(real_t p_ratio);
|
||||||
void set_randomness_ratio(real_t p_ratio);
|
void set_randomness_ratio(real_t p_ratio);
|
||||||
void set_lifetime_randomness(double p_random);
|
void set_lifetime_randomness(double p_random);
|
||||||
void set_visibility_aabb(const AABB &p_aabb);
|
|
||||||
void set_use_local_coordinates(bool p_enable);
|
void set_use_local_coordinates(bool p_enable);
|
||||||
void set_speed_scale(double p_scale);
|
void set_speed_scale(double p_scale);
|
||||||
|
|
||||||
|
@ -221,7 +220,6 @@ public:
|
||||||
real_t get_explosiveness_ratio() const;
|
real_t get_explosiveness_ratio() const;
|
||||||
real_t get_randomness_ratio() const;
|
real_t get_randomness_ratio() const;
|
||||||
double get_lifetime_randomness() const;
|
double get_lifetime_randomness() const;
|
||||||
AABB get_visibility_aabb() const;
|
|
||||||
bool get_use_local_coordinates() const;
|
bool get_use_local_coordinates() const;
|
||||||
double get_speed_scale() const;
|
double get_speed_scale() const;
|
||||||
|
|
||||||
|
@ -234,9 +232,6 @@ public:
|
||||||
void set_draw_order(DrawOrder p_order);
|
void set_draw_order(DrawOrder p_order);
|
||||||
DrawOrder get_draw_order() const;
|
DrawOrder get_draw_order() const;
|
||||||
|
|
||||||
void set_draw_passes(int p_count);
|
|
||||||
int get_draw_passes() const;
|
|
||||||
|
|
||||||
void set_mesh(const Ref<Mesh> &p_mesh);
|
void set_mesh(const Ref<Mesh> &p_mesh);
|
||||||
Ref<Mesh> get_mesh() const;
|
Ref<Mesh> get_mesh() const;
|
||||||
|
|
||||||
|
@ -275,7 +270,6 @@ public:
|
||||||
void set_emission_points(const Vector<Vector3> &p_points);
|
void set_emission_points(const Vector<Vector3> &p_points);
|
||||||
void set_emission_normals(const Vector<Vector3> &p_normals);
|
void set_emission_normals(const Vector<Vector3> &p_normals);
|
||||||
void set_emission_colors(const Vector<Color> &p_colors);
|
void set_emission_colors(const Vector<Color> &p_colors);
|
||||||
void set_emission_point_count(int p_count);
|
|
||||||
void set_emission_ring_axis(Vector3 p_axis);
|
void set_emission_ring_axis(Vector3 p_axis);
|
||||||
void set_emission_ring_height(real_t p_height);
|
void set_emission_ring_height(real_t p_height);
|
||||||
void set_emission_ring_radius(real_t p_radius);
|
void set_emission_ring_radius(real_t p_radius);
|
||||||
|
@ -291,7 +285,6 @@ public:
|
||||||
Vector<Vector3> get_emission_points() const;
|
Vector<Vector3> get_emission_points() const;
|
||||||
Vector<Vector3> get_emission_normals() const;
|
Vector<Vector3> get_emission_normals() const;
|
||||||
Vector<Color> get_emission_colors() const;
|
Vector<Color> get_emission_colors() const;
|
||||||
int get_emission_point_count() const;
|
|
||||||
Vector3 get_emission_ring_axis() const;
|
Vector3 get_emission_ring_axis() const;
|
||||||
real_t get_emission_ring_height() const;
|
real_t get_emission_ring_height() const;
|
||||||
real_t get_emission_ring_radius() const;
|
real_t get_emission_ring_radius() const;
|
||||||
|
|
|
@ -484,14 +484,14 @@ void Node3D::_update_gizmos() {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef TOOLS_ENABLED
|
|
||||||
void Node3D::set_disable_gizmos(bool p_enabled) {
|
void Node3D::set_disable_gizmos(bool p_enabled) {
|
||||||
|
#ifdef TOOLS_ENABLED
|
||||||
data.gizmos_disabled = p_enabled;
|
data.gizmos_disabled = p_enabled;
|
||||||
if (!p_enabled) {
|
if (!p_enabled) {
|
||||||
clear_gizmos();
|
clear_gizmos();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
void Node3D::set_disable_scale(bool p_enabled) {
|
void Node3D::set_disable_scale(bool p_enabled) {
|
||||||
data.disable_scale = p_enabled;
|
data.disable_scale = p_enabled;
|
||||||
|
|
|
@ -118,12 +118,6 @@ public:
|
||||||
void set_flip_v(bool p_flip);
|
void set_flip_v(bool p_flip);
|
||||||
bool is_flipped_v() const;
|
bool is_flipped_v() const;
|
||||||
|
|
||||||
void set_region_enabled(bool p_region);
|
|
||||||
bool is_region_enabled() const;
|
|
||||||
|
|
||||||
void set_region_rect(const Rect2 &p_region_rect);
|
|
||||||
Rect2 get_region_rect() const;
|
|
||||||
|
|
||||||
void set_modulate(const Color &p_color);
|
void set_modulate(const Color &p_color);
|
||||||
Color get_modulate() const;
|
Color get_modulate() const;
|
||||||
|
|
||||||
|
|
|
@ -301,7 +301,6 @@ public:
|
||||||
void set_current_animation(const String &p_anim);
|
void set_current_animation(const String &p_anim);
|
||||||
String get_assigned_animation() const;
|
String get_assigned_animation() const;
|
||||||
void set_assigned_animation(const String &p_anim);
|
void set_assigned_animation(const String &p_anim);
|
||||||
void stop_all();
|
|
||||||
void set_active(bool p_active);
|
void set_active(bool p_active);
|
||||||
bool is_active() const;
|
bool is_active() const;
|
||||||
bool is_valid() const;
|
bool is_valid() const;
|
||||||
|
|
|
@ -57,8 +57,6 @@ public:
|
||||||
|
|
||||||
Vector<Input> inputs;
|
Vector<Input> inputs;
|
||||||
|
|
||||||
real_t process_input(int p_input, real_t p_time, bool p_seek, real_t p_blend);
|
|
||||||
|
|
||||||
friend class AnimationTree;
|
friend class AnimationTree;
|
||||||
|
|
||||||
struct AnimationState {
|
struct AnimationState {
|
||||||
|
@ -85,7 +83,6 @@ public:
|
||||||
State *state = nullptr;
|
State *state = nullptr;
|
||||||
|
|
||||||
real_t _pre_process(const StringName &p_base_path, AnimationNode *p_parent, State *p_state, real_t p_time, bool p_seek, const Vector<StringName> &p_connections);
|
real_t _pre_process(const StringName &p_base_path, AnimationNode *p_parent, State *p_state, real_t p_time, bool p_seek, const Vector<StringName> &p_connections);
|
||||||
void _pre_update_animations(HashMap<NodePath, int> *track_map);
|
|
||||||
|
|
||||||
//all this is temporary
|
//all this is temporary
|
||||||
StringName base_path;
|
StringName base_path;
|
||||||
|
@ -110,8 +107,6 @@ protected:
|
||||||
|
|
||||||
void _validate_property(PropertyInfo &property) const override;
|
void _validate_property(PropertyInfo &property) const override;
|
||||||
|
|
||||||
void _set_parent(Object *p_parent);
|
|
||||||
|
|
||||||
GDVIRTUAL0RC(Dictionary, _get_child_nodes)
|
GDVIRTUAL0RC(Dictionary, _get_child_nodes)
|
||||||
GDVIRTUAL0RC(Array, _get_parameter_list)
|
GDVIRTUAL0RC(Array, _get_parameter_list)
|
||||||
GDVIRTUAL1RC(Ref<AnimationNode>, _get_child_by_name, StringName)
|
GDVIRTUAL1RC(Ref<AnimationNode>, _get_child_by_name, StringName)
|
||||||
|
@ -265,7 +260,6 @@ private:
|
||||||
AnimationNode::State state;
|
AnimationNode::State state;
|
||||||
bool cache_valid = false;
|
bool cache_valid = false;
|
||||||
void _node_removed(Node *p_node);
|
void _node_removed(Node *p_node);
|
||||||
void _caches_cleared();
|
|
||||||
|
|
||||||
void _clear_caches();
|
void _clear_caches();
|
||||||
bool _update_caches(AnimationPlayer *player);
|
bool _update_caches(AnimationPlayer *player);
|
||||||
|
|
|
@ -233,9 +233,6 @@ private:
|
||||||
static constexpr unsigned properties_managed_by_container_count = 11;
|
static constexpr unsigned properties_managed_by_container_count = 11;
|
||||||
static String properties_managed_by_container[properties_managed_by_container_count];
|
static String properties_managed_by_container[properties_managed_by_container_count];
|
||||||
|
|
||||||
// used internally
|
|
||||||
Control *_find_control_at_pos(CanvasItem *p_node, const Point2 &p_pos, const Transform2D &p_xform, Transform2D &r_inv_xform);
|
|
||||||
|
|
||||||
void _window_find_focus_neighbor(const Vector2 &p_dir, Node *p_at, const Point2 *p_points, real_t p_min, real_t &r_closest_dist, Control **r_closest);
|
void _window_find_focus_neighbor(const Vector2 &p_dir, Node *p_at, const Point2 *p_points, real_t p_min, real_t &r_closest_dist, Control **r_closest);
|
||||||
Control *_get_focus_neighbor(Side p_side, int p_count = 0);
|
Control *_get_focus_neighbor(Side p_side, int p_count = 0);
|
||||||
|
|
||||||
|
@ -250,7 +247,6 @@ private:
|
||||||
void _update_minimum_size();
|
void _update_minimum_size();
|
||||||
|
|
||||||
void _clear_size_warning();
|
void _clear_size_warning();
|
||||||
void _update_scroll();
|
|
||||||
|
|
||||||
void _compute_offsets(Rect2 p_rect, const real_t p_anchors[4], real_t (&r_offsets)[4]);
|
void _compute_offsets(Rect2 p_rect, const real_t p_anchors[4], real_t (&r_offsets)[4]);
|
||||||
void _compute_anchors(Rect2 p_rect, const real_t p_offsets[4], real_t (&r_anchors)[4]);
|
void _compute_anchors(Rect2 p_rect, const real_t p_offsets[4], real_t (&r_anchors)[4]);
|
||||||
|
|
|
@ -189,7 +189,6 @@ private:
|
||||||
void _toggle_draw_caret();
|
void _toggle_draw_caret();
|
||||||
|
|
||||||
void clear_internal();
|
void clear_internal();
|
||||||
void changed_internal();
|
|
||||||
|
|
||||||
void _editor_settings_changed();
|
void _editor_settings_changed();
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,6 @@ protected:
|
||||||
virtual Size2 _get_contents_minimum_size() const override;
|
virtual Size2 _get_contents_minimum_size() const override;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void set_child_rect(Control *p_child);
|
|
||||||
PopupPanel();
|
PopupPanel();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,6 @@ private:
|
||||||
Vector<Tab> tabs;
|
Vector<Tab> tabs;
|
||||||
int current = 0;
|
int current = 0;
|
||||||
int previous = 0;
|
int previous = 0;
|
||||||
int _get_top_margin() const;
|
|
||||||
TabAlign tab_align = ALIGN_CENTER;
|
TabAlign tab_align = ALIGN_CENTER;
|
||||||
bool clip_tabs = true;
|
bool clip_tabs = true;
|
||||||
int rb_hover = -1;
|
int rb_hover = -1;
|
||||||
|
|
|
@ -136,7 +136,6 @@ private:
|
||||||
void _flush_ugc();
|
void _flush_ugc();
|
||||||
|
|
||||||
_FORCE_INLINE_ void _update_group_order(Group &g, bool p_use_priority = false);
|
_FORCE_INLINE_ void _update_group_order(Group &g, bool p_use_priority = false);
|
||||||
void _update_listener();
|
|
||||||
|
|
||||||
Array _get_nodes_in_group(const StringName &p_group);
|
Array _get_nodes_in_group(const StringName &p_group);
|
||||||
|
|
||||||
|
@ -265,9 +264,6 @@ public:
|
||||||
void set_pause(bool p_enabled);
|
void set_pause(bool p_enabled);
|
||||||
bool is_paused() const;
|
bool is_paused() const;
|
||||||
|
|
||||||
void set_camera(const RID &p_camera);
|
|
||||||
RID get_camera() const;
|
|
||||||
|
|
||||||
#ifdef DEBUG_ENABLED
|
#ifdef DEBUG_ENABLED
|
||||||
void set_debug_collisions_hint(bool p_enabled);
|
void set_debug_collisions_hint(bool p_enabled);
|
||||||
bool is_debugging_collisions_hint() const;
|
bool is_debugging_collisions_hint() const;
|
||||||
|
|
|
@ -278,7 +278,6 @@ public:
|
||||||
int surface_get_array_index_len(int p_idx) const override;
|
int surface_get_array_index_len(int p_idx) const override;
|
||||||
uint32_t surface_get_format(int p_idx) const override;
|
uint32_t surface_get_format(int p_idx) const override;
|
||||||
PrimitiveType surface_get_primitive_type(int p_idx) const override;
|
PrimitiveType surface_get_primitive_type(int p_idx) const override;
|
||||||
bool surface_is_alpha_sorting_enabled(int p_idx) const;
|
|
||||||
|
|
||||||
virtual void surface_set_material(int p_idx, const Ref<Material> &p_material) override;
|
virtual void surface_set_material(int p_idx, const Ref<Material> &p_material) override;
|
||||||
virtual Ref<Material> surface_get_material(int p_idx) const override;
|
virtual Ref<Material> surface_get_material(int p_idx) const override;
|
||||||
|
|
|
@ -64,7 +64,6 @@ public:
|
||||||
|
|
||||||
static bool is_collision_outline_enabled();
|
static bool is_collision_outline_enabled();
|
||||||
|
|
||||||
Shape2D();
|
|
||||||
~Shape2D();
|
~Shape2D();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -72,8 +72,6 @@ public:
|
||||||
float get_soft_clip_ratio() const;
|
float get_soft_clip_ratio() const;
|
||||||
|
|
||||||
Ref<AudioEffectInstance> instantiate() override;
|
Ref<AudioEffectInstance> instantiate() override;
|
||||||
void set_volume_db(float p_volume);
|
|
||||||
float get_volume_db() const;
|
|
||||||
|
|
||||||
AudioEffectLimiter();
|
AudioEffectLimiter();
|
||||||
};
|
};
|
||||||
|
|
|
@ -93,7 +93,6 @@ class AudioEffectRecord : public AudioEffect {
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
static void _bind_methods();
|
||||||
static void debug(uint64_t time_diff, int p_frame_count);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Ref<AudioEffectInstance> instantiate() override;
|
Ref<AudioEffectInstance> instantiate() override;
|
||||||
|
|
|
@ -90,8 +90,6 @@ public:
|
||||||
float get_hpf() const;
|
float get_hpf() const;
|
||||||
|
|
||||||
Ref<AudioEffectInstance> instantiate() override;
|
Ref<AudioEffectInstance> instantiate() override;
|
||||||
void set_volume_db(float p_volume);
|
|
||||||
float get_volume_db() const;
|
|
||||||
|
|
||||||
AudioEffectReverb();
|
AudioEffectReverb();
|
||||||
};
|
};
|
||||||
|
|
|
@ -59,9 +59,7 @@ class PhysicsServer2DWrapMT : public PhysicsServer2D {
|
||||||
bool create_thread = false;
|
bool create_thread = false;
|
||||||
|
|
||||||
Semaphore step_sem;
|
Semaphore step_sem;
|
||||||
int step_pending = 0;
|
|
||||||
void thread_step(real_t p_delta);
|
void thread_step(real_t p_delta);
|
||||||
void thread_flush();
|
|
||||||
|
|
||||||
void thread_exit();
|
void thread_exit();
|
||||||
|
|
||||||
|
|
|
@ -58,9 +58,7 @@ class PhysicsServer3DWrapMT : public PhysicsServer3D {
|
||||||
bool create_thread = false;
|
bool create_thread = false;
|
||||||
|
|
||||||
Semaphore step_sem;
|
Semaphore step_sem;
|
||||||
int step_pending = 0;
|
|
||||||
void thread_step(real_t p_delta);
|
void thread_step(real_t p_delta);
|
||||||
void thread_flush();
|
|
||||||
|
|
||||||
void thread_exit();
|
void thread_exit();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue