diff --git a/.gitattributes b/.gitattributes index b7387e0..7d925e6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -73,4 +73,5 @@ DragonBurn/Libs/zlib/include/* linguist-vendored DragonBurn/Resources/Sounds.hpp linguist-vendored DragonBurn/Resources/Images.hpp linguist-vendored DragonBurn/Resources/WeaponIcon.hpp linguist-vendored -DragonBurn/Resources/Font.hpp linguist-vendored \ No newline at end of file +DragonBurn/Resources/Font.hpp linguist-vendored +DragonBurn/Core/GUI.h linguist-vendored \ No newline at end of file diff --git a/DragonBurn/Core/Cheats.cpp b/DragonBurn/Core/Cheats.cpp index 22cd55e..c8f2138 100644 --- a/DragonBurn/Core/Cheats.cpp +++ b/DragonBurn/Core/Cheats.cpp @@ -1,4 +1,15 @@ -#include +// +//______ ______ +//| _ \ | ___ \ +//| | | |_ __ __ _ __ _ ___ _ __ | |_/ /_ _ _ __ _ __ +//| | | | '__/ _` |/ _` |/ _ \| '_ \| ___ \ | | | '__| '_ \ +//| |/ /| | | (_| | (_| | (_) | | | | |_/ / |_| | | | | | | +//|___/ |_| \__,_|\__, |\___/|_| |_\____/ \__,_|_| |_| |_| +// __/ | +// |___/ +//https://github.com/ByteCorum/DragonBurn + +#include #include #include #include diff --git a/DragonBurn/Core/Init.h b/DragonBurn/Core/Init.h index 01f2b5d..eafd137 100644 --- a/DragonBurn/Core/Init.h +++ b/DragonBurn/Core/Init.h @@ -81,14 +81,6 @@ namespace Init class Client { public: - // Get the maximum framerate with vsync - //static int getMaxFrameRate() { - // HDC hdc = GetDC(NULL); - // int rate = GetDeviceCaps(hdc, VREFRESH); - // ReleaseDC(NULL, hdc); - // return rate; - //} - static int CheckCS2Version() { long curVer; diff --git a/DragonBurn/Helpers/WebApi.h b/DragonBurn/Helpers/WebApi.h index e6307e7..517fb82 100644 --- a/DragonBurn/Helpers/WebApi.h +++ b/DragonBurn/Helpers/WebApi.h @@ -1,5 +1,4 @@ #pragma once -//#include #include #include #include @@ -8,40 +7,6 @@ namespace Web { - //size_t writeCallback(void* ptr, size_t size, size_t nmemb, std::string* buffer) { - // buffer->append((char*)ptr, size * nmemb); - // return size * nmemb; - //} - - //bool LoadData(std::string url, std::string& response) - //{ - // CURL* curl; - // CURLcode res; - - // curl = curl_easy_init(); - // if (curl) - // { - // curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); - // curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, - // writeCallback); - // curl_easy_setopt(curl, CURLOPT_WRITEDATA, &response); - - // res = curl_easy_perform(curl); - - // if (res != CURLE_OK) - // { - // return false; - // } - - // curl_easy_cleanup(curl); - // return true; - // } - // else - // { - // return false; - // } - //} - inline bool CheckConnection() { int result = system("ping google.com > nul"); diff --git a/DragonBurn/main.cpp b/DragonBurn/main.cpp index 599a84e..5bee782 100644 --- a/DragonBurn/main.cpp +++ b/DragonBurn/main.cpp @@ -1,4 +1,15 @@ -#include "Core/Cheats.h" +// +//______ ______ +//| _ \ | ___ \ +//| | | |_ __ __ _ __ _ ___ _ __ | |_/ /_ _ _ __ _ __ +//| | | | '__/ _` |/ _` |/ _ \| '_ \| ___ \ | | | '__| '_ \ +//| |/ /| | | (_| | (_| | (_) | | | | |_/ / |_| | | | | | | +//|___/ |_| \__,_|\__, |\___/|_| |_\____/ \__,_|_| |_| |_| +// __/ | +// |___/ +//https://github.com/ByteCorum/DragonBurn + +#include "Core/Cheats.h" #include "Offsets/Offsets.h" #include "Resources/Language.hpp" #include "Core/Init.h"