Merge pull request #54089 from madmiraal/remove-unimplemented-methods-3.x

This commit is contained in:
Rémi Verschelde 2021-11-18 15:51:15 +01:00 committed by GitHub
commit b0f721283d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
81 changed files with 4 additions and 213 deletions

View file

@ -54,8 +54,6 @@ public:
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_dynamic(PoolVector<uint8_t> *p_dst, int p_max_dst_size, const uint8_t *p_src, int p_src_size, Mode p_mode);
Compression();
};
#endif // COMPRESSION_H

View file

@ -83,7 +83,6 @@ class RotatedFileLogger : public Logger {
FileAccess *file;
void rotate_file_without_closing();
void close_file();
void clear_old_backups();
void rotate_file();

View file

@ -592,8 +592,6 @@ private:
IntermediateHull() {
}
void print();
};
enum Orientation { NONE,

View file

@ -42,8 +42,6 @@
#include "core/vector.h"
class Geometry {
Geometry();
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) {
Vector2 d1 = q1 - p1; // Direction vector of segment S1.

View file

@ -41,7 +41,6 @@
#endif
class Memory {
Memory();
#ifdef DEBUG_ENABLED
static SafeNumeric<uint64_t> mem_usage;
static SafeNumeric<uint64_t> max_usage;

View file

@ -54,7 +54,6 @@ public:
void popup_find_line(TextEdit *p_edit);
int get_line() const;
void set_text_editor(TextEdit *p_text_editor);
GotoLineDialog();
};
@ -99,7 +98,6 @@ class FindReplaceBar : public HBoxContainer {
void _search_text_changed(const String &p_text);
void _search_text_entered(const String &p_text);
void _replace_text_entered(const String &p_text);
void _update_size();
protected:
void _notification(int p_what);

View file

@ -76,8 +76,6 @@ class CreateDialog : public ConfirmationDialog {
void _confirmed();
void _text_changed(const String &p_newtext);
Ref<Texture> _get_editor_icon(const String &p_type) const;
void add_type(const String &p_type, HashMap<String, TreeItem *> &p_types, TreeItem *p_root, TreeItem **to_select);
void select_type(const String &p_type);

View file

@ -134,8 +134,6 @@ private:
List<PropertyData> clipboard;
UndoRedo undo_redo;
void _cleanup_history();
Vector<EditedScene> edited_scene;
int current_edited_scene;

View file

@ -57,7 +57,6 @@ class FindBar : public HBoxContainer {
int results_count;
void _show_search();
void _hide_bar();
void _search_text_changed(const String &p_text);
@ -66,8 +65,6 @@ class FindBar : public HBoxContainer {
void _update_results_count();
void _update_matches_label();
void _update_size();
protected:
void _notification(int p_what);
void _unhandled_input(const Ref<InputEvent> &p_event);

View file

@ -253,8 +253,6 @@ public:
void unfold();
void fold();
Object *get_edited_object();
EditorInspectorSection();
~EditorInspectorSection();
};

View file

@ -513,9 +513,6 @@ private:
void _run(bool p_current = false, const String &p_custom = "");
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 _update_recent_scenes();
void _open_recent_scene(int p_idx);
@ -551,7 +548,6 @@ private:
static void _editor_file_dialog_register(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_scene(int index, bool p_change_tab = true);
bool _find_and_save_resource(RES p_res, Map<RES, bool> &processed, int32_t flags);
@ -645,8 +641,6 @@ private:
static int build_callback_count;
static EditorBuildCallback build_callbacks[MAX_BUILD_CALLBACKS];
void _license_tree_selected();
void _update_update_spinner();
Vector<Ref<EditorResourceConversionPlugin>> resource_conversion_plugins;
@ -764,7 +758,6 @@ public:
Viewport *get_scene_root() { return scene_root; } //root of the scene being edited
void fix_dependencies(const String &p_for_file);
void clear_scene() { _cleanup_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_resource(const String &p_resource, bool p_ignore_broken_deps = false);
@ -837,8 +830,6 @@ public:
bool is_scene_in_use(const String &p_path);
void scan_import_changes();
void save_layout();
void open_export_template_manager();
@ -879,7 +870,6 @@ public:
EditorNode();
~EditorNode();
void get_singleton(const char *arg1, bool arg2);
void add_resource_conversion_plugin(const Ref<EditorResourceConversionPlugin> &p_plugin);
void remove_resource_conversion_plugin(const Ref<EditorResourceConversionPlugin> &p_plugin);

View file

@ -47,7 +47,6 @@ class EditorPath : public Button {
PopupMenu *sub_objects_menu;
Vector<ObjectID> objects;
EditorPath();
void _show_popup();
void _id_pressed(int p_idx);

View file

@ -207,8 +207,6 @@ private:
void _set_file_display(bool p_active);
void _fs_changed();
void _tree_toggle_collapsed();
void _select_file(const String &p_path, bool p_select_in_favorites = false);
void _tree_activate_file();
void _file_list_activate_file(int p_idx);
@ -229,8 +227,6 @@ private:
void _file_removed(String p_file);
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() const;
void _make_dir_confirm();

View file

@ -123,7 +123,6 @@ class GroupsEditor : public VBoxContainer {
void update_tree();
void _add_group(const String &p_group = "");
void _modify_group(Object *p_item, int p_column, int p_id);
void _close();
void _show_group_dialog();

View file

@ -43,10 +43,6 @@ class ResourceImporterLayeredTexture : public ResourceImporter {
static const char *compression_formats[];
protected:
static void _texture_reimport_srgb(const Ref<StreamTexture> &p_tex);
static void _texture_reimport_3d(const Ref<StreamTexture> &p_tex);
static void _texture_reimport_normal(const Ref<StreamTexture> &p_tex);
static ResourceImporterLayeredTexture *singleton;
public:
@ -79,8 +75,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);
void update_imports();
virtual bool are_import_settings_valid(const String &p_path) const;
virtual String get_import_settings_string() const;

View file

@ -100,7 +100,6 @@ protected:
void _wip_changed();
void _wip_close();
void _wip_cancel();
bool _delete_point(const Vector2 &p_gpoint);
void _notification(int p_what);
void _node_removed(Node *p_node);

View file

@ -109,8 +109,6 @@ class AnimationNodeBlendSpace1DEditor : public AnimationTreeNodeEditorPlugin {
void _edit_point_pos(double);
void _open_editor();
void _goto_parent();
EditorFileDialog *open_file;
Ref<AnimationNode> file_loaded;
void _file_opened(const String &p_file);

View file

@ -187,7 +187,6 @@ class AnimationPlayerEditor : public VBoxContainer {
void _animation_resource_edit();
void _scale_changed(const String &p_scale);
void _dialog_action(String p_file);
void _seek_frame_changed(const String &p_frame);
void _seek_value_changed(float p_value, bool p_set = false);
void _blend_editor_next_changed(const int p_idx);
@ -216,7 +215,6 @@ class AnimationPlayerEditor : public VBoxContainer {
void _pin_pressed();
AnimationPlayerEditor();
~AnimationPlayerEditor();
protected:

View file

@ -82,7 +82,6 @@ class AnimationTreePlayerEditor : public Control {
void _popup_edit_dialog();
void _setup_edit_dialog(const StringName &p_node);
PopupMenu *master_anim_popup;
PopupMenu *node_popup;
PopupMenu *add_popup;
@ -143,7 +142,6 @@ class AnimationTreePlayerEditor : public Control {
void _edit_dialog_changede(String);
void _edit_dialog_changedf(float);
void _edit_dialog_changed();
void _dialog_changed() const;
ClickType _locate_click(const Point2 &p_click, StringName *p_node_id, int *p_slot_index) const;
Point2 _get_slot_pos(const StringName &p_node_id, bool p_input, int p_slot);

View file

@ -282,10 +282,8 @@ class EditorAssetLibrary : public PanelContainer {
void _search(int p_page = 0);
void _rerun_search(int p_ignore);
void _search_text_changed(const String &p_text = "");
void _search_text_entered(const String &p_text = "");
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 PoolStringArray &headers, const PoolByteArray &p_data);
void _http_download_completed(int p_status, int p_code, const PoolStringArray &headers, const PoolByteArray &p_data);
void _filter_debounce_timer_timeout();
void _repository_changed(int p_repository_id);

View file

@ -433,8 +433,6 @@ private:
CanvasItem *ref_item;
void _add_canvas_item(CanvasItem *p_canvas_item);
void _save_canvas_item_ik_chain(const CanvasItem *p_canvas_item, List<float> *p_bones_length, List<Dictionary> *p_bones_state);
void _save_canvas_item_state(List<CanvasItem *> p_canvas_items, bool save_bones = false);
void _restore_canvas_item_ik_chain(CanvasItem *p_canvas_item, const List<Dictionary> *p_bones_state);
@ -448,7 +446,6 @@ private:
bool updating_scroll;
void _update_scroll(float);
void _update_scrollbars();
void _append_canvas_item(CanvasItem *p_item);
void _snap_changed();
void _selection_result_pressed(int);
void _selection_menu_hide();
@ -537,7 +534,6 @@ private:
const Node *p_current);
void _set_anchors_preset(Control::LayoutPreset p_preset);
void _set_margins_preset(Control::LayoutPreset p_preset);
void _set_anchors_and_margins_preset(Control::LayoutPreset p_preset);
void _set_anchors_and_margins_to_keep_ratio();
@ -577,9 +573,6 @@ protected:
void _notification(int p_what);
static void _bind_methods();
void end_drag();
void box_selection_start(Point2 &click);
bool box_selection_end();
HBoxContainer *get_panel_hb() { return hb; }
@ -605,9 +598,6 @@ protected:
void set(Vector2 &v, float f) { v.y = f; }
};
template <class P, class C>
void space_selected_items();
static CanvasItemEditor *singleton;
public:

View file

@ -59,7 +59,6 @@ class ResourcePreloaderEditor : public PanelContainer {
ResourcePreloader *preloader;
void _load_pressed();
void _load_scene_pressed();
void _files_load_request(const Vector<String> &p_paths);
void _paste_pressed();
void _remove_resource(const String &p_to_remove);

View file

@ -325,15 +325,12 @@ class ScriptEditor : public PanelContainer {
bool use_space_indentation;
bool convert_indent_on_save;
void _trim_trailing_whitespace(TextEdit *tx);
void _goto_script_line2(int p_line);
void _goto_script_line(REF p_script, int p_line);
void _set_execution(REF p_script, int p_line);
void _clear_execution(REF p_script);
void _breaked(bool p_breaked, bool p_can_debug);
void _show_debugger(bool p_show);
void _update_window_menu();
void _script_created(Ref<Script> p_script);
ScriptEditorBase *_get_current_editor() const;
@ -376,7 +373,6 @@ class ScriptEditor : public PanelContainer {
void _make_script_list_context_menu();
void _help_search(String p_text);
void _help_index(String p_text);
void _history_forward();
void _history_back();

View file

@ -738,8 +738,6 @@ private:
void _register_all_gizmos();
SpatialEditor();
bool is_any_freelook_active() const;
void _refresh_menu_icons();

View file

@ -99,7 +99,6 @@ class SpriteFramesEditor : public HSplitContainer {
float min_sheet_zoom;
void _load_pressed();
void _load_scene_pressed();
void _file_load_request(const PoolVector<String> &p_path, int p_at_pos = -1);
void _copy_pressed();
void _paste_pressed();
@ -127,7 +126,6 @@ class SpriteFramesEditor : public HSplitContainer {
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);
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);

View file

@ -300,7 +300,6 @@ class ThemeTypeEditor : public MarginContainer {
void _update_type_items();
void _list_type_selected(int p_index);
void _select_type(String p_type_name);
void _add_type_button_cbk();
void _add_type_filter_cbk(const String &p_value);
void _add_type_options_cbk(int p_index);

View file

@ -173,11 +173,9 @@ class TileSetEditor : public HSplitContainer {
static void _import_scene(Node *p_scene, Ref<TileSet> p_library, bool p_merge);
void _undo_redo_import_scene(Node *p_scene, bool p_merge);
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);
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 _file_load_request(const PoolVector<String> &p_path, int p_at_pos = -1);
protected:
static void _bind_methods();

View file

@ -185,8 +185,6 @@ class VisualShaderEditor : public VBoxContainer {
void _delete_request(int);
void _on_nodes_delete();
void _removed_from_graph();
void _node_changed(int p_id);
void _edit_port_default_input(Object *p_button, int p_node, int p_port);

View file

@ -104,7 +104,6 @@ class ProjectManager : public Control {
void _update_project_buttons();
void _language_selected(int p_id);
void _restart_confirm();
void _exit_dialog();
void _scan_begin(const String &p_base);
void _global_menu_action(const Variant &p_id, const Variant &p_meta);
@ -113,7 +112,6 @@ class ProjectManager : public Control {
void _load_recent_projects();
void _on_project_created(const String &dir);
void _on_projects_updated();
void _update_scroll_position(const String &dir);
void _scan_dir(const String &path, List<String> *r_projects);
void _install_project(const String &p_zip_path, const String &p_title);

View file

@ -165,8 +165,6 @@ class ProjectSettingsEditor : public AcceptDialog {
void _copy_to_platform_about_to_show();
ProjectSettingsEditor();
static ProjectSettingsEditor *singleton;
Label *restart_label;

View file

@ -148,7 +148,6 @@ class CustomPropertyEditor : public Popup {
void _drag_easing(const Ref<InputEvent> &p_ev);
void _node_path_selected(NodePath p_path);
void show_value_editors(int p_amount);
void config_value_editors(int p_amount, int p_columns, int p_label_w, const List<String> &p_strings);
void config_action_buttons(const List<String> &p_strings);

View file

@ -46,7 +46,6 @@ class ReparentDialog : public ConfirmationDialog {
SceneTreeEditor *tree;
CheckBox *keep_transform;
void update_tree();
void _reparent();
void _cancel();
@ -56,7 +55,6 @@ protected:
public:
void set_current(const Set<Node *> &p_selection);
String get_selected_type();
ReparentDialog();
~ReparentDialog();

View file

@ -242,8 +242,6 @@ class SceneTreeDock : public VBoxContainer {
void _perform_instance_scenes(const Vector<String> &p_files, Node *parent, int p_pos);
void _replace_with_branch_scene(const String &p_file, Node *base);
void _file_selected(String p_file);
void _remote_tree_selected();
void _local_tree_selected();

View file

@ -112,8 +112,6 @@ class SceneTreeEditor : public Control {
void _node_visibility_changed(Node *p_node);
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();
Node *get_scene_node();
@ -169,7 +167,6 @@ class SceneTreeDialog : public ConfirmationDialog {
//Button *cancel;
LineEdit *filter;
void update_tree();
void _select();
void _cancel();
void _filter_changed(const String &p_filter);

View file

@ -81,9 +81,6 @@ class EditorSettingsDialog : public AcceptDialog {
void _tabs_tab_changed(int p_tab);
void _focus_current_search_box();
void _clear_shortcut_search_box();
void _clear_search_box();
void _filter_shortcuts(const String &p_filter);
void _update_shortcuts();

View file

@ -201,7 +201,6 @@ private:
JoystickList _get_output_axis(String output);
void _button_event(int p_device, int p_index, bool p_pressed);
void _axis_event(int p_device, int p_axis, float p_value);
float _handle_deadzone(int p_device, int p_axis, float p_value);
void _parse_input_event_impl(const Ref<InputEvent> &p_event, bool p_is_emulated);
@ -236,7 +235,6 @@ public:
virtual float get_joy_vibration_duration(int p_device);
virtual 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 parse_joypad_mapping(String p_mapping, bool p_update_existing);
virtual Vector3 get_gravity() const;
virtual Vector3 get_accelerometer() const;

View file

@ -148,7 +148,6 @@ public:
virtual void dispatch_callbacks();
void call_event(CollisionObjectBullet *p_otherObject, PhysicsServer::AreaBodyStatus p_status);
void set_on_state_change(ObjectID p_id, const StringName &p_method, const Variant &p_udata = Variant());
void scratch();
void clear_overlaps(bool p_notify);

View file

@ -75,9 +75,6 @@ public:
virtual bool is_stereo();
virtual Transform get_transform_for_eye(ARVRInterface::Eyes p_eye, const Transform &p_cam_transform);
// we expose a PoolVector<float> version of this function to GDNative
PoolVector<float> _get_projection_for_eye(ARVRInterface::Eyes p_eye, real_t p_aspect, real_t p_z_near, real_t p_z_far);
// and a CameraMatrix version to ARVRServer
virtual CameraMatrix get_projection_for_eye(ARVRInterface::Eyes p_eye, real_t p_aspect, real_t p_z_near, real_t p_z_far);

View file

@ -1017,10 +1017,6 @@ void NativeScriptLanguage::_unload_stuff(bool p_reload) {
NativeScriptLanguage::NativeScriptLanguage() {
NativeScriptLanguage::singleton = this;
#ifdef DEBUG_ENABLED
profiling = false;
#endif
_init_call_type = "nativescript_init";
_init_call_name = "nativescript_init";
_terminate_call_name = "nativescript_terminate";
@ -1182,7 +1178,6 @@ void NativeScriptLanguage::profiling_start() {
#endif
profile_data.clear();
profiling = true;
#endif
}
@ -1191,8 +1186,6 @@ void NativeScriptLanguage::profiling_stop() {
#ifndef NO_THREADS
MutexLock lock(mutex);
#endif
profiling = false;
#endif
}

View file

@ -269,7 +269,6 @@ private:
};
Map<StringName, ProfileData> profile_data;
bool profiling;
public:
// These two maps must only be touched on the main thread
@ -295,8 +294,6 @@ public:
return singleton;
}
void _hacky_api_anchor();
_FORCE_INLINE_ void set_language_index(int p_idx) { lang_idx = p_idx; }
#ifndef NO_THREADS

View file

@ -74,8 +74,6 @@ public:
virtual ScriptLanguage *get_language();
void set_path(const String &p_path);
virtual MultiplayerAPI::RPCMode get_rpc_mode(const StringName &p_method) const;
virtual MultiplayerAPI::RPCMode get_rset_mode(const StringName &p_variable) const;

View file

@ -264,8 +264,6 @@ public:
virtual ScriptLanguage *get_language();
void set_path(const String &p_path);
void reload_members();
virtual MultiplayerAPI::RPCMode get_rpc_mode(const StringName &p_method) const;

View file

@ -50,10 +50,8 @@ class GDScriptLanguageServer : public EditorPlugin {
private:
void _notification(int p_what);
void _iteration();
public:
Error parse_script_file(const String &p_path);
GDScriptLanguageServer();
void start();
void stop();

View file

@ -248,8 +248,6 @@ private:
Error _reparent_non_joint_skeleton_subtrees(
Ref<GLTFState> state, Ref<GLTFSkeleton> skeleton,
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,
const GLTFSkeletonIndex skel_i);
Error _create_skeletons(Ref<GLTFState> state);

View file

@ -59,8 +59,6 @@ protected:
Ref<SSLContextMbedTLS> ssl_ctx;
mbedtls_timing_delay_context timer;
static void _bind_methods();
Error _do_handshake();
int _set_cookie();

View file

@ -67,8 +67,6 @@ class SSLContextMbedTLS : public Reference {
protected:
bool inited;
static PoolByteArray _read_file(String p_path);
public:
static void print_mbedtls_error(int p_ret);

View file

@ -50,8 +50,6 @@ private:
protected:
Ref<SSLContextMbedTLS> ssl_ctx;
static void _bind_methods();
Error _do_handshake();
public:

View file

@ -40,8 +40,8 @@ private:
T *_ptr;
int size;
ArgumentsVector();
ArgumentsVector(const ArgumentsVector &);
ArgumentsVector() = delete;
ArgumentsVector(const ArgumentsVector &) = delete;
public:
T *ptr() { return _ptr; }

View file

@ -83,7 +83,6 @@ protected:
public:
void clear();
Error compile(const String &p_pattern);
void _init(const String &p_pattern = "");
Ref<RegExMatch> search(const String &p_subject, int p_offset = 0, int p_end = -1) const;
Array search_all(const String &p_subject, int p_offset = 0, int p_end = -1) const;

View file

@ -88,12 +88,6 @@ public:
void set_stack_size(int p_size);
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(MultiplayerAPI::RPCMode p_mode);
MultiplayerAPI::RPCMode get_rpc_mode() const;

View file

@ -60,7 +60,6 @@ class AudioDriverOpenSL : public AudioDriver {
SLObjectItf sl;
SLEngineItf EngineItf;
SLObjectItf OutputMix;
SLVolumeItf volumeItf;
SLObjectItf player;
SLObjectItf recorder;
SLAndroidSimpleBufferQueueItf bufferQueueItf;
@ -69,7 +68,6 @@ class AudioDriverOpenSL : public AudioDriver {
SLDataFormat_PCM pcm;
SLDataSink audioSink;
SLDataLocator_OutputMix locator_outputmix;
SLBufferQueueState state;
static AudioDriverOpenSL *s_ad;
@ -90,8 +88,6 @@ class AudioDriverOpenSL : public AudioDriver {
virtual Error capture_init_device();
public:
void set_singleton();
virtual const char *get_name() const;
virtual Error init();

View file

@ -89,7 +89,6 @@ public:
typedef int64_t ProcessID;
static OS *get_singleton();
GodotJavaWrapper *get_godot_java();
GodotIOJavaWrapper *get_godot_io_java();

View file

@ -60,16 +60,12 @@ private:
OS::PowerState power_state;
bool GetPowerInfo_Android();
bool UpdatePowerInfo();
public:
static int s_active;
PowerAndroid();
virtual ~PowerAndroid();
static bool LocalReferenceHolder_Init(struct LocalReferenceHolder *refholder, JNIEnv *env);
static struct LocalReferenceHolder LocalReferenceHolder_Setup(const char *func);
static void LocalReferenceHolder_Cleanup(struct LocalReferenceHolder *refholder);
OS::PowerState get_power_state();
int get_power_seconds_left();

View file

@ -106,7 +106,6 @@ private:
int get_joy_ref(IOHIDDeviceRef p_device) const;
void poll_joypads() const;
void setup_joypad_objects();
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);

View file

@ -121,11 +121,6 @@ private:
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 {
public:
property bool alert_close_handle;

View file

@ -195,9 +195,6 @@ public:
void set_flip_v(bool p_flip);
bool is_flipped_v() const;
void set_modulate(const Color &p_color);
Color get_modulate() const;
virtual String get_configuration_warning() const;
AnimatedSprite();
};

View file

@ -203,7 +203,6 @@ public:
void set_explosiveness_ratio(float p_ratio);
void set_randomness_ratio(float p_ratio);
void set_lifetime_randomness(float p_random);
void set_visibility_aabb(const Rect2 &p_aabb);
void set_use_local_coordinates(bool p_enable);
void set_speed_scale(float p_scale);
@ -215,7 +214,6 @@ public:
float get_explosiveness_ratio() const;
float get_randomness_ratio() const;
float get_lifetime_randomness() const;
Rect2 get_visibility_aabb() const;
bool get_use_local_coordinates() const;
float get_speed_scale() const;
@ -228,9 +226,6 @@ public:
void set_draw_order(DrawOrder p_order);
DrawOrder get_draw_order() const;
void set_draw_passes(int p_count);
int get_draw_passes() const;
void set_texture(const Ref<Texture> &p_texture);
Ref<Texture> get_texture() const;
@ -269,7 +264,6 @@ public:
void set_emission_points(const PoolVector<Vector2> &p_points);
void set_emission_normals(const PoolVector<Vector2> &p_normals);
void set_emission_colors(const PoolVector<Color> &p_colors);
void set_emission_point_count(int p_count);
EmissionShape get_emission_shape() const;
float get_emission_sphere_radius() const;
@ -277,7 +271,6 @@ public:
PoolVector<Vector2> get_emission_points() const;
PoolVector<Vector2> get_emission_normals() const;
PoolVector<Color> get_emission_colors() const;
int get_emission_point_count() const;
void set_gravity(const Vector2 &p_gravity);
Vector2 get_gravity() const;

View file

@ -43,8 +43,6 @@ private:
friend class Viewport;
protected:
void _update_listener();
bool _set(const StringName &p_name, const Variant &p_value);
bool _get(const StringName &p_name, Variant &r_ret) const;
void _get_property_list(List<PropertyInfo> *p_list) const;

View file

@ -54,8 +54,6 @@ public:
Array get_collision_exceptions();
void add_collision_exception_with(Node *p_node); //must be physicsbody
void remove_collision_exception_with(Node *p_node);
PhysicsBody2D();
};
class StaticBody2D : public PhysicsBody2D {

View file

@ -207,7 +207,6 @@ public:
void set_explosiveness_ratio(float p_ratio);
void set_randomness_ratio(float p_ratio);
void set_lifetime_randomness(float p_random);
void set_visibility_aabb(const AABB &p_aabb);
void set_use_local_coordinates(bool p_enable);
void set_speed_scale(float p_scale);
@ -219,7 +218,6 @@ public:
float get_explosiveness_ratio() const;
float get_randomness_ratio() const;
float get_lifetime_randomness() const;
AABB get_visibility_aabb() const;
bool get_use_local_coordinates() const;
float get_speed_scale() const;
@ -232,9 +230,6 @@ public:
void set_draw_order(DrawOrder p_order);
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);
Ref<Mesh> get_mesh() const;
@ -273,7 +268,6 @@ public:
void set_emission_points(const PoolVector<Vector3> &p_points);
void set_emission_normals(const PoolVector<Vector3> &p_normals);
void set_emission_colors(const PoolVector<Color> &p_colors);
void set_emission_point_count(int p_count);
void set_emission_ring_height(float p_height);
void set_emission_ring_inner_radius(float p_inner_radius);
void set_emission_ring_radius(float p_radius);
@ -285,7 +279,6 @@ public:
PoolVector<Vector3> get_emission_points() const;
PoolVector<Vector3> get_emission_normals() const;
PoolVector<Color> get_emission_colors() const;
int get_emission_point_count() const;
float get_emission_ring_height() const;
float get_emission_ring_inner_radius() const;
float get_emission_ring_radius() const;

View file

@ -64,9 +64,6 @@ public:
virtual Transform get_listener_transform() const;
void set_visible_layers(uint32_t p_layers);
uint32_t get_visible_layers() const;
Listener();
~Listener();
};

View file

@ -56,8 +56,6 @@ public:
Array get_collision_exceptions();
void add_collision_exception_with(Node *p_node); //must be physicsbody
void remove_collision_exception_with(Node *p_node);
PhysicsBody();
};
class StaticBody : public PhysicsBody {

View file

@ -459,15 +459,14 @@ void Spatial::_update_gizmo() {
#endif
}
#ifdef TOOLS_ENABLED
void Spatial::set_disable_gizmo(bool p_enabled) {
#ifdef TOOLS_ENABLED
data.gizmo_disabled = p_enabled;
if (!p_enabled && data.gizmo.is_valid()) {
data.gizmo = Ref<SpatialGizmo>();
}
}
#endif
}
void Spatial::set_disable_scale(bool p_enabled) {
data.disable_scale = p_enabled;

View file

@ -115,12 +115,6 @@ public:
void set_flip_v(bool p_flip);
bool is_flipped_v() const;
void set_region(bool p_region);
bool is_region() const;
void set_region_rect(const Rect2 &p_region_rect);
Rect2 get_region_rect() const;
void set_modulate(const Color &p_color);
Color get_modulate() const;

View file

@ -129,9 +129,6 @@ public:
void set_cast_shadows_setting(ShadowCastingSetting p_shadow_casting_setting);
ShadowCastingSetting get_cast_shadows_setting() const;
void set_bake_cast_shadows(bool p_enabled);
bool get_bake_cast_shadows();
void set_generate_lightmap(bool p_enabled);
bool get_generate_lightmap();

View file

@ -320,7 +320,6 @@ public:
void set_current_animation(const String &p_anim);
String get_assigned_animation() const;
void set_assigned_animation(const String &p_anim);
void stop_all();
void set_active(bool p_active);
bool is_active() const;
bool is_valid() const;

View file

@ -57,8 +57,6 @@ public:
Vector<Input> inputs;
float process_input(int p_input, float p_time, bool p_seek, float p_blend);
friend class AnimationTree;
struct AnimationState {
@ -85,7 +83,6 @@ public:
State *state;
float _pre_process(const StringName &p_base_path, AnimationNode *p_parent, State *p_state, float p_time, bool p_seek, const Vector<StringName> &p_connections);
void _pre_update_animations(HashMap<NodePath, int> *track_map);
//all this is temporary
StringName base_path;
@ -110,8 +107,6 @@ protected:
void _validate_property(PropertyInfo &property) const;
void _set_parent(Object *p_parent);
public:
virtual void get_parameter_list(List<PropertyInfo> *r_list) const;
virtual Variant get_parameter_default_value(const StringName &p_parameter) const;
@ -258,7 +253,6 @@ private:
AnimationNode::State state;
bool cache_valid;
void _node_removed(Node *p_node);
void _caches_cleared();
void _clear_caches();
bool _update_caches(AnimationPlayer *player);

View file

@ -205,9 +205,6 @@ private:
} data;
// 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_neighbour(const Vector2 &p_dir, Node *p_at, const Point2 *p_points, float p_min, float &r_closest_dist, Control **r_closest);
Control *_get_focus_neighbour(Margin p_margin, int p_count = 0);
@ -222,7 +219,6 @@ private:
void _change_notify_margins();
void _update_minimum_size();
void _update_scroll();
void _resize(const Size2 &p_size);
void _compute_margins(Rect2 p_rect, const float p_anchors[4], float (&r_margins)[4]);

View file

@ -154,7 +154,6 @@ private:
void _toggle_draw_caret();
void clear_internal();
void changed_internal();
void _editor_settings_changed();

View file

@ -80,7 +80,6 @@ protected:
void _notification(int p_what);
public:
void set_child_rect(Control *p_child);
virtual Size2 get_minimum_size() const;
PopupPanel();
};

View file

@ -394,8 +394,6 @@ private:
bool use_bbcode;
String bbcode;
void _update_all_lines();
int fixed_width;
bool fit_content_height;

View file

@ -78,7 +78,6 @@ private:
Vector<Tab> tabs;
int current;
int previous;
int _get_top_margin() const;
TabAlign tab_align;
int rb_hover;
bool rb_pressing;

View file

@ -467,7 +467,6 @@ private:
int get_column_x_offset(int p_char, String p_str) const;
void adjust_viewport_to_cursor();
double get_scroll_line_diff() const;
void _scroll_moved(double);
void _update_scrollbars();
void _v_scroll_input();

View file

@ -158,7 +158,6 @@ private:
void _flush_ugc();
_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);
@ -316,9 +315,6 @@ public:
void set_pause(bool p_enabled);
bool is_paused() const;
void set_camera(const RID &p_camera);
RID get_camera() const;
#ifdef DEBUG_ENABLED
void set_debug_collisions_hint(bool p_enabled);
bool is_debugging_collisions_hint() const;

View file

@ -214,7 +214,6 @@ public:
int surface_get_array_index_len(int p_idx) const;
uint32_t surface_get_format(int p_idx) const;
PrimitiveType surface_get_primitive_type(int p_idx) const;
bool surface_is_alpha_sorting_enabled(int p_idx) const;
virtual void surface_set_material(int p_idx, const Ref<Material> &p_material);
virtual Ref<Material> surface_get_material(int p_idx) const;

View file

@ -62,7 +62,6 @@ public:
bool is_collision_outline_enabled();
Shape2D();
~Shape2D();
};

View file

@ -72,8 +72,6 @@ public:
float get_soft_clip_ratio() const;
Ref<AudioEffectInstance> instance();
void set_volume_db(float p_volume);
float get_volume_db() const;
AudioEffectLimiter();
};

View file

@ -61,7 +61,6 @@ class AudioEffectRecordInstance : public AudioEffectInstance {
void _io_thread_process();
void _io_store_buffer();
static void _thread_callback(void *_instance);
void _init_recording();
void _update_buffer();
static void _update(void *userdata);
@ -94,7 +93,6 @@ class AudioEffectRecord : public AudioEffect {
protected:
static void _bind_methods();
static void debug(uint64_t time_diff, int p_frame_count);
public:
Ref<AudioEffectInstance> instance();

View file

@ -90,8 +90,6 @@ public:
float get_hpf() const;
Ref<AudioEffectInstance> instance();
void set_volume_db(float p_volume);
float get_volume_db() const;
AudioEffectReverb();
};

View file

@ -133,7 +133,6 @@ Physics2DServerWrapMT::Physics2DServerWrapMT(Physics2DServer *p_contained, bool
command_queue(p_create_thread) {
physics_2d_server = p_contained;
create_thread = p_create_thread;
step_pending = 0;
pool_max_size = GLOBAL_GET("memory/limits/multithreaded_server/rid_pool_prealloc");

View file

@ -59,9 +59,7 @@ class Physics2DServerWrapMT : public Physics2DServer {
bool create_thread;
Semaphore step_sem;
int step_pending;
void thread_step(real_t p_delta);
void thread_flush();
void thread_exit();