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 c790b38635..b41bf6ce73 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -54,6 +54,7 @@ class OS {
int _exit_code;
int _orientation;
float _fps;
+ int _target_fps;
char *last_error;
@@ -149,8 +150,12 @@ public:
virtual void set_iterations_per_second(int p_ips);
virtual int get_iterations_per_second() const;
+ virtual void set_target_fps(int p_fps);
+ virtual float get_target_fps() const;
+
virtual float get_frames_per_second() const { return _fps; };
+
virtual void set_low_processor_usage_mode(bool p_enabled);
virtual bool is_in_low_processor_usage_mode() const;