8 /***************************************************************************
\r
11 begin : Sun Mar 08 2009
\r
12 copyright : (C) 1999-2009 by Pete Bernert
\r
13 web : www.pbernert.com
\r
14 ***************************************************************************/
\r
16 /***************************************************************************
\r
18 * This program is free software; you can redistribute it and/or modify *
\r
19 * it under the terms of the GNU General Public License as published by *
\r
20 * the Free Software Foundation; either version 2 of the License, or *
\r
21 * (at your option) any later version. See also the license.txt file for *
\r
22 * additional informations. *
\r
24 ***************************************************************************/
\r
26 //*************************************************************************//
\r
27 // History of changes:
\r
29 // 2009/03/08 - Pete
\r
30 // - generic cleanup for the Peops release
\r
32 //*************************************************************************//
\r
35 extern BOOL bIsPerformanceCounter;
\r
36 extern float fFrameRateHz;
\r
37 extern DWORD dwFrameRateTicks;
\r
38 extern float fFrameRate;
\r
39 extern int iFrameLimit;
\r
40 extern BOOL bUseFrameLimit;
\r
41 extern BOOL bUseFrameSkip;
\r
42 extern DWORD dwLaceCnt;
\r
44 extern BOOL bInitCap;
\r
45 extern float fps_skip;
\r
46 extern float fps_cur;
\r
49 void InitFrameCap(void);
\r
50 void SetFrameRateConfig(void);
\r
51 void PCFrameCap(void);
\r
52 void PCcalcfps(void);
\r
53 void FrameSkip(void);
\r
54 void CheckFrameRate(void);
\r
55 void ReInitFrameCap(void);
\r
56 void SetAutoFrameCap(void);
\r
58 unsigned long timeGetTime();
\r