You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fixed too many little issues, check the issues closed today.
This commit is contained in:
@@ -306,6 +306,16 @@ MainLoop *_OS::get_main_loop() const {
|
||||
|
||||
return OS::get_singleton()->get_main_loop();
|
||||
}
|
||||
|
||||
void _OS::set_time_scale(float p_scale) {
|
||||
OS::get_singleton()->set_time_scale(p_scale);
|
||||
}
|
||||
|
||||
float _OS::get_time_scale() {
|
||||
|
||||
return OS::get_singleton()->get_time_scale();
|
||||
}
|
||||
|
||||
/*
|
||||
enum Weekday {
|
||||
DAY_SUNDAY,
|
||||
@@ -613,6 +623,9 @@ void _OS::_bind_methods() {
|
||||
ObjectTypeDB::bind_method(_MD("set_target_fps","target_fps"),&_OS::set_target_fps);
|
||||
ObjectTypeDB::bind_method(_MD("get_target_fps"),&_OS::get_target_fps);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_time_scale","time_scale"),&_OS::set_time_scale);
|
||||
ObjectTypeDB::bind_method(_MD("get_time_scale"),&_OS::get_time_scale);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("has_touchscreen_ui_hint"),&_OS::has_touchscreen_ui_hint);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user