Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
33 lines
922 B
C++
33 lines
922 B
C++
// 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>
|
|
|
|
class CFrameTimer
|
|
{
|
|
public:
|
|
static float GetUpdateTimer(int nTimer);
|
|
static void ResetTimer(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_)
|