You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Fixes for new two-dash long command line arguments
- Fixes some single-dash leftovers that were missed in the previous commit - Reorder the help output for clarity, and document missing options - Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit - Improve error message on malformed arguments and do not display help on error - Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping - Cleanup obsolete code here and there
This commit is contained in:
@@ -2534,11 +2534,6 @@ float _Engine::get_frames_per_second() const {
|
||||
return Engine::get_singleton()->get_frames_per_second();
|
||||
}
|
||||
|
||||
String _Engine::get_custom_level() const {
|
||||
|
||||
return Engine::get_singleton()->get_custom_level();
|
||||
}
|
||||
|
||||
void _Engine::set_time_scale(float p_scale) {
|
||||
Engine::get_singleton()->set_time_scale(p_scale);
|
||||
}
|
||||
@@ -2588,8 +2583,6 @@ void _Engine::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_time_scale", "time_scale"), &_Engine::set_time_scale);
|
||||
ClassDB::bind_method(D_METHOD("get_time_scale"), &_Engine::get_time_scale);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_custom_level"), &_Engine::get_custom_level);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_frames_drawn"), &_Engine::get_frames_drawn);
|
||||
ClassDB::bind_method(D_METHOD("get_frames_per_second"), &_Engine::get_frames_per_second);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user