Condense frame rates

This commit is contained in:
EmosewaMC
2022-12-15 19:55:07 -08:00
parent e1cc25759e
commit 4775dbf27f
7 changed files with 24 additions and 34 deletions

View File

@@ -8,18 +8,13 @@ struct PerformanceProfile {
uint32_t serverFramerate;
};
class PerformanceManager {
public:
~PerformanceManager();
static void SelectProfile(LWOMAPID mapID);
static uint32_t GetServerFramerate();
private:
PerformanceManager();
static PerformanceProfile m_CurrentProfile;
static PerformanceProfile m_DefaultProfile;
static PerformanceProfile m_InactiveProfile;