aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/framecounter.h
diff options
context:
space:
mode:
authorEugene Sandulenko2010-08-06 13:13:25 +0000
committerEugene Sandulenko2010-10-12 22:35:55 +0000
commit47904bc7b2992189bb554833f00a79ff0fea9fb8 (patch)
tree1cec51758c6741b970bd064fafee77607b9f884f /engines/sword25/gfx/framecounter.h
parentca17def625154e5f758b797e4fc48c76b0566320 (diff)
downloadscummvm-rg350-47904bc7b2992189bb554833f00a79ff0fea9fb8.tar.gz
scummvm-rg350-47904bc7b2992189bb554833f00a79ff0fea9fb8.tar.bz2
scummvm-rg350-47904bc7b2992189bb554833f00a79ff0fea9fb8.zip
SWORD25: Mass-astyle.
svn-id: r53222
Diffstat (limited to 'engines/sword25/gfx/framecounter.h')
-rw-r--r--engines/sword25/gfx/framecounter.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/sword25/gfx/framecounter.h b/engines/sword25/gfx/framecounter.h
index 89612f94be..f4381eb1f2 100644
--- a/engines/sword25/gfx/framecounter.h
+++ b/engines/sword25/gfx/framecounter.h
@@ -23,7 +23,7 @@
*
*/
-/*
+/*
* This code is based on Broken Sword 2.5 engine
*
* Copyright (c) Malte Thiesen, Daniel Queteschiner and Michael Elsdoerfer
@@ -53,14 +53,14 @@ private:
public:
/**
* Creates a new BS_Framecounter object
- * @param UpdateFrequency Specifies how often the frame counter should be updated in a sceond.
+ * @param UpdateFrequency Specifies how often the frame counter should be updated in a sceond.
* The default value is 10.
*/
BS_Framecounter(int UpdateFrequency = DEFAULT_UPDATE_FREQUENCY);
/**
* Determines how often the frame counter should be updated in a second.
- * @param UpdateFrequency Specifies how often the frame counter should be updated in a second.
+ * @param UpdateFrequency Specifies how often the frame counter should be updated in a second.
*/
inline void SetUpdateFrequency(int UpdateFrequency);
@@ -72,10 +72,12 @@ public:
/**
* Returns the current FPS value.
*/
- int GetFPS() const { return m_FPS; }
+ int GetFPS() const {
+ return m_FPS;
+ }
private:
- int m_FPS;
+ int m_FPS;
int m_FPSCount;
int64_t m_LastUpdateTime;
uint64_t m_UpdateDelay;