From f8ac4c4d7588197890f4810beeeea92e78dca244 Mon Sep 17 00:00:00 2001 From: HaSa1002 Date: Sat, 31 Oct 2020 18:25:48 +0100 Subject: [PATCH] MainLoop: Remove deprecated methods --- core/os/main_loop.cpp | 5 ----- doc/classes/MainLoop.xml | 32 -------------------------------- 2 files changed, 37 deletions(-) diff --git a/core/os/main_loop.cpp b/core/os/main_loop.cpp index 434f6fa30004..6651fb80d769 100644 --- a/core/os/main_loop.cpp +++ b/core/os/main_loop.cpp @@ -33,11 +33,6 @@ #include "core/script_language.h" void MainLoop::_bind_methods() { - ClassDB::bind_method(D_METHOD("init"), &MainLoop::init); - ClassDB::bind_method(D_METHOD("iteration", "delta"), &MainLoop::iteration); - ClassDB::bind_method(D_METHOD("idle", "delta"), &MainLoop::idle); - ClassDB::bind_method(D_METHOD("finish"), &MainLoop::finish); - BIND_VMETHOD(MethodInfo("_initialize")); BIND_VMETHOD(MethodInfo(Variant::BOOL, "_iteration", PropertyInfo(Variant::FLOAT, "delta"))); BIND_VMETHOD(MethodInfo(Variant::BOOL, "_idle", PropertyInfo(Variant::FLOAT, "delta"))); diff --git a/doc/classes/MainLoop.xml b/doc/classes/MainLoop.xml index 55ae54d12bb2..3c3cbbfa2925 100644 --- a/doc/classes/MainLoop.xml +++ b/doc/classes/MainLoop.xml @@ -78,38 +78,6 @@ If implemented, the method must return a boolean value. [code]true[/code] ends the main loop, while [code]false[/code] lets it proceed to the next frame. - - - - - Should not be called manually, override [method _finalize] instead. Will be removed in Godot 4.0. - - - - - - - - - Should not be called manually, override [method _idle] instead. Will be removed in Godot 4.0. - - - - - - - Should not be called manually, override [method _initialize] instead. Will be removed in Godot 4.0. - - - - - - - - - Should not be called manually, override [method _iteration] instead. Will be removed in Godot 4.0. - -