summaryrefslogtreecommitdiff
path: root/core/os/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/os.h')
-rw-r--r--core/os/os.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 71f53330c7..ed7e1e4324 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -55,6 +55,7 @@ class OS {
int _orientation;
float _fps;
int _target_fps;
+ float _time_scale;
char *last_error;
@@ -332,6 +333,10 @@ public:
virtual Error dialog_show(String p_title, String p_description, Vector<String> p_buttons, Object* p_obj, String p_callback);
virtual Error dialog_input_text(String p_title, String p_description, String p_partial, Object* p_obj, String p_callback);
+
+ void set_time_scale(float p_scale);
+ float get_time_scale() const;
+
OS();
virtual ~OS();