Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/client.h')
-rw-r--r--src/client/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/client.h b/src/client/client.h
index 64f1aab..66a7700 100644
--- a/src/client/client.h
+++ b/src/client/client.h
@@ -47,6 +47,9 @@ extern Console console;
/// global Game instance
extern game::Game game;
+/// current fps
+inline float fps() { return (application.current_fps); }
+
} // namespace client
#endif // __INCLUDED_CLIENT_H__