+#ifndef __GPU_FPS__\r
+#define __GPU_FPS__\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+/***************************************************************************\r
+ fps.h - description\r
+ -------------------\r
+ begin : Sun Mar 08 2009\r
+ copyright : (C) 1999-2009 by Pete Bernert\r
+ web : www.pbernert.com \r
+ ***************************************************************************/\r
+\r
+/***************************************************************************\r
+ * *\r
+ * This program is free software; you can redistribute it and/or modify *\r
+ * it under the terms of the GNU General Public License as published by *\r
+ * the Free Software Foundation; either version 2 of the License, or *\r
+ * (at your option) any later version. See also the license.txt file for *\r
+ * additional informations. *\r
+ * *\r
+ ***************************************************************************/\r
+\r
+//*************************************************************************// \r
+// History of changes:\r
+//\r
+// 2009/03/08 - Pete \r
+// - generic cleanup for the Peops release\r
+//\r
+//*************************************************************************// \r
+\r
+\r
+extern BOOL bIsPerformanceCounter;\r
+extern float fFrameRateHz;\r
+extern DWORD dwFrameRateTicks;\r
+extern float fFrameRate;\r
+extern int iFrameLimit;\r
+extern BOOL bUseFrameLimit;\r
+extern BOOL bUseFrameSkip;\r
+extern DWORD dwLaceCnt;\r
+\r
+extern BOOL bInitCap; \r
+extern float fps_skip;\r
+extern float fps_cur;\r
+\r
+\r
+void InitFrameCap(void);\r
+void SetFrameRateConfig(void);\r
+void PCFrameCap(void);\r
+void PCcalcfps(void);\r
+void FrameSkip(void);\r
+void CheckFrameRate(void);\r
+void ReInitFrameCap(void);\r
+void SetAutoFrameCap(void);\r
+#ifndef _WINDOWS\r
+unsigned long timeGetTime();\r
+#endif\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+\r
+\r
+#endif\r