Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
33
GameTools/ZALLA3D BASECLASS/FrameTimer.h
Normal file
33
GameTools/ZALLA3D BASECLASS/FrameTimer.h
Normal file
@@ -0,0 +1,33 @@
|
||||
// FrameTimer.h: interface for the CFrameTimer class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_FRAMETIMER_H__6C017430_DEBB_4372_B200_70D57C02B061__INCLUDED_)
|
||||
#define AFX_FRAMETIMER_H__6C017430_DEBB_4372_B200_70D57C02B061__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
#include <d3d8.h>
|
||||
#include <vector>
|
||||
|
||||
//#include "List.h"
|
||||
|
||||
class CFrameTimer
|
||||
{
|
||||
public:
|
||||
static float GetUpdateTimer(int nTimer);
|
||||
static int Regist(float fPerSecondUpdate);
|
||||
static void UpdateTime();
|
||||
|
||||
static std::vector<float> m_fUpdateTimeList;
|
||||
static std::vector<float> m_fTimeRemainList;
|
||||
static std::vector<float> m_fPerSecondUpdateList;
|
||||
static DWORD m_dwTickTime;
|
||||
static DWORD m_dwLastUpdateTime;
|
||||
static void Create();
|
||||
CFrameTimer();
|
||||
virtual ~CFrameTimer();
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_FRAMETIMER_H__6C017430_DEBB_4372_B200_70D57C02B061__INCLUDED_)
|
||||
Reference in New Issue
Block a user