aboutsummaryrefslogtreecommitdiff
path: root/src/client/gameui.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-01-22 17:56:35 +0100
committersfan5 <sfan5@live.de>2022-01-27 22:30:02 +0100
commit058846d687bef214fe6216938d4cf8bf2c79290e (patch)
treec1a74eb8b285b7e633e681604441cb1027a068b0 /src/client/gameui.h
parentfc161e757c14a0d0b86e69fb5ec631fae8b448de (diff)
downloadminetest-058846d687bef214fe6216938d4cf8bf2c79290e.tar.gz
minetest-058846d687bef214fe6216938d4cf8bf2c79290e.tar.bz2
minetest-058846d687bef214fe6216938d4cf8bf2c79290e.zip
Rework drawtime and related timekeeping code to use microseconds
Diffstat (limited to 'src/client/gameui.h')
-rw-r--r--src/client/gameui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/gameui.h b/src/client/gameui.h
index 3f31f1b57..cc9377bdc 100644
--- a/src/client/gameui.h
+++ b/src/client/gameui.h
@@ -110,6 +110,8 @@ public:
private:
Flags m_flags;
+ float m_drawtime_avg = 0;
+
gui::IGUIStaticText *m_guitext = nullptr; // First line of debug text
gui::IGUIStaticText *m_guitext2 = nullptr; // Second line of debug text