⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fps.h

📁 使用VC中的Direct Draw 开发的45度斜角地图
💻 H
字号:

#ifndef _FPS_H
#define _FPS_H

#include <windows.h>
#include <mmsystem.h>

class FPS_CLASS
{
private:
        DWORD tx;
	DWORD t1;
	DWORD t2;
	DWORD FPS;
	DWORD tFPS;
public:
	    char fpsString[255]; 
        DWORD T2;
        float Interval;
        bool IsOneSecond;
        bool MathTime;
        int Ttime;
        void StartMath(int time);
	FPS_CLASS();

	DWORD GetFps();
};



#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -