summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-client/UserExperience/UserInterface.hpp
diff options
context:
space:
mode:
authorboris <wzn@moneybot.cc>2018-12-29 20:59:57 +1300
committerboris <wzn@moneybot.cc>2018-12-29 20:59:57 +1300
commitbdb6ac5f940008bcd836e3c5f0a708f4b8f04865 (patch)
tree9d3ba5e0816dfd6295f8e38e1a865d061f1168e1 /csgo-loader/csgo-client/UserExperience/UserInterface.hpp
parent81a3987fc17f99d2092018ac266882f4533cc27e (diff)
protection shit
Diffstat (limited to 'csgo-loader/csgo-client/UserExperience/UserInterface.hpp')
-rw-r--r--csgo-loader/csgo-client/UserExperience/UserInterface.hpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/csgo-loader/csgo-client/UserExperience/UserInterface.hpp b/csgo-loader/csgo-client/UserExperience/UserInterface.hpp
index e905b3b..d4a3dc4 100644
--- a/csgo-loader/csgo-client/UserExperience/UserInterface.hpp
+++ b/csgo-loader/csgo-client/UserExperience/UserInterface.hpp
@@ -4,6 +4,7 @@
#include <thread>
#include <cstdint>
#include <cstdio>
+#include <atomic>
namespace UserExperience
{
@@ -38,17 +39,17 @@ namespace UserExperience
ExecutionState m_ExecutionState = EXECUTION_WAITING;
// Holds the username/password combo entered in the UI.
- char m_Username[128];
- char m_Password[128];
+ char m_Username[128];
+ char m_Password[128];
// Does the user have special access?
- bool m_SpecialAccess = false;
+ bool m_SpecialAccess = false;
// Holds the selected game.
- uint16_t m_SelectedGame = GAME_CSGO;
+ uint16_t m_SelectedGame = GAME_CSGO;
// Holds the current error message.
- ErrorReason m_Error = ERROR_GENERIC_ERROR;
+ ErrorReason m_Error = ERROR_GENERIC_ERROR;
};
// User experience handler.
@@ -72,4 +73,4 @@ extern UserExperience::UserInterfacePtr UserInterface;
// Sick macros, retard.
#define ERROR_ASSERT(Error, ...) { char Buffer[1024 * 16]; sprintf_s(Buffer, sizeof Buffer, Error, __VA_ARGS__); MessageBoxA(0, Buffer, "", MB_ICONERROR); ExitProcess(0); }
-#define INFO_ASSERT(Error, ...) { char Buffer[1024 * 16]; sprintf_s(Buffer, sizeof Buffer, Error, __VA_ARGS__); MessageBoxA(0, Buffer, "", MB_OK); ExitProcess(0); }
+#define INFO_ASSERT(Error, ...) { char Buffer[1024 * 16]; sprintf_s(Buffer, sizeof Buffer, Error, __VA_ARGS__); MessageBoxA(0, Buffer, "", MB_OK); ExitProcess(0); }