- Major code refactor! This means easier option additions and easier code navigation/readability!

- Now using precompiled headers for extremely fast compilation times :D
This commit is contained in:
EricPlayZ
2024-02-11 06:11:25 +02:00
parent e32f647357
commit 9c705ef652
132 changed files with 3957 additions and 3554 deletions
+4 -6
View File
@@ -1,7 +1,5 @@
#define IMGUI_DEFINE_MATH_OPERATORS
#include <Hotkey.h>
#include <ImGuiEx.h>
#include "..\game_classes.h"
#include <pch.h>
#include "..\game\GamePH\Other.h"
#include "menu.h"
namespace Menu {
@@ -18,7 +16,7 @@ namespace Menu {
float transparency = 99.0f;
float scale = 1.0f;
static Utils::Timer timePassedFromWelcomeScreen{};
static Utils::Time::Timer timePassedFromWelcomeScreen{};
static bool firstTimeRunningFunc = true;
Option firstTimeRunning{};
@@ -27,7 +25,7 @@ namespace Menu {
return;
if (firstTimeRunningFunc) {
firstTimeRunningFunc = false;
timePassedFromWelcomeScreen = Utils::Timer(10000);
timePassedFromWelcomeScreen = Utils::Time::Timer(10000);
menuToggle.SetChangesAreDisabled(true);
ImGui::OpenPopup("EGameTools - Welcome!");
}