aboutsummaryrefslogtreecommitdiff
path: root/main.gd
diff options
context:
space:
mode:
authordam <dam@gudinoff>2022-03-27 16:57:14 +0000
committerdam <dam@gudinoff>2022-03-27 16:57:14 +0000
commitf6369eaee39abe3d360ba42278a5a2a1d166f5af (patch)
tree1fec29cbf9de9537efec5a4b7ddd870e4fc2f512 /main.gd
parenta6d836d53a09c5b2abedccba51ac428fcfc74379 (diff)
downloadsurgery-log-f6369eaee39abe3d360ba42278a5a2a1d166f5af.tar.zst
surgery-log-f6369eaee39abe3d360ba42278a5a2a1d166f5af.zip
Implemented prototype of option set list component.
Diffstat (limited to 'main.gd')
-rw-r--r--main.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.gd b/main.gd
index 5a78ede..7962d52 100644
--- a/main.gd
+++ b/main.gd
@@ -34,6 +34,12 @@ func _process(delta: float):
for it in controls_sensible_to_keyboard:
it.margin_bottom = -keyboard_height
+ # ~1650 fps with database using ItemList
+ Engine.target_fps = 0
+ OS.vsync_enabled = false
+ OS.set_window_title("%03d" % [Engine.get_frames_per_second()])
+ return
+
if power_throttle_timeout > 0.0:
power_throttle_timeout -= delta
else: