add about tab and Acai advertisement
This commit is contained in:
parent
ed68d16a83
commit
cd4a63d6c2
@ -7,6 +7,8 @@
|
||||
#include <cheat-base/render/gui-util.h>
|
||||
#include <cheat-base/cheat/misc/Settings.h>
|
||||
|
||||
#include <imgui_internal.h>
|
||||
|
||||
namespace cheat
|
||||
{
|
||||
|
||||
@ -74,6 +76,12 @@ namespace cheat
|
||||
ImGui::SetItemDefaultFocus();
|
||||
index++;
|
||||
}
|
||||
|
||||
ImGui::TextColored(ImColor(255, 136, 0, 255), "Private ToF cheat:");
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, 0xC0D5C8FF);
|
||||
TextURL("Acai", "http://acai-tof.shop", true, false);
|
||||
ImGui::PopStyleColor();
|
||||
|
||||
ImGui::EndListBox();
|
||||
}
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="src\user\cheat\misc\About.h" />
|
||||
<ClInclude Include="src\user\cheat\misc\sniffer\pipe\messages\PipeMessage.h" />
|
||||
<ClInclude Include="src\user\cheat\misc\sniffer\pipe\messages\PipeModifyData.h" />
|
||||
<ClInclude Include="src\user\cheat\misc\sniffer\pipe\messages\PipePacketData.h" />
|
||||
@ -111,6 +112,7 @@
|
||||
<Font Include="res\Ruda-ExtraBold.ttf" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="src\user\cheat\misc\About.cpp" />
|
||||
<ClCompile Include="src\user\cheat\misc\sniffer\pipe\messages\PipeMessage.cpp" />
|
||||
<ClCompile Include="src\user\cheat\misc\sniffer\pipe\messages\PipeModifyData.cpp" />
|
||||
<ClCompile Include="src\user\cheat\misc\sniffer\pipe\messages\PipePacketData.cpp" />
|
||||
@ -1099,7 +1101,8 @@
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
<CustomBuildStep>
|
||||
<Command>"$(OutDir)injector.exe" powershell -nop -c "&amp; {sleep 20}"</Command>
|
||||
<Command>"$(OutDir)injector.exe"
|
||||
powershell -nop -c "&{sleep 30}"</Command>
|
||||
<Outputs>$(OutDir)_noexist.nope;%(Outputs)</Outputs>
|
||||
<Inputs>$(TargetPath);%(Inputs)</Inputs>
|
||||
</CustomBuildStep>
|
||||
|
@ -264,6 +264,9 @@
|
||||
<ClInclude Include="src\user\cheat\world\OpenTeamImmediately.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\user\cheat\misc\About.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Font Include="res\Ruda-Bold.ttf" />
|
||||
@ -486,6 +489,9 @@
|
||||
<ClCompile Include="src\user\cheat\world\OpenTeamImmediately.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\user\cheat\misc\About.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="res\res.rc">
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <cheat/misc/ProtectionBypass.h>
|
||||
#include <cheat/misc/Hotkeys.h>
|
||||
#include <cheat/misc/Debug.h>
|
||||
#include <cheat/misc/About.h>
|
||||
#include <cheat/misc/sniffer/PacketSniffer.h>
|
||||
|
||||
#include <cheat/player/GodMode.h>
|
||||
@ -81,6 +82,7 @@ namespace cheat
|
||||
FEAT_INST(Settings),
|
||||
FEAT_INST(Hotkeys),
|
||||
FEAT_INST(Debug),
|
||||
FEAT_INST(About),
|
||||
FEAT_INST(PacketSniffer),
|
||||
|
||||
FEAT_INST(GodMode),
|
||||
@ -143,6 +145,7 @@ namespace cheat
|
||||
"Visuals",
|
||||
"Hotkeys",
|
||||
"Settings",
|
||||
"About",
|
||||
"Debug"
|
||||
});
|
||||
|
||||
|
51
cheat-library/src/user/cheat/misc/About.cpp
Normal file
51
cheat-library/src/user/cheat/misc/About.cpp
Normal file
@ -0,0 +1,51 @@
|
||||
#include "pch-il2cpp.h"
|
||||
#include "About.h"
|
||||
|
||||
#include <helpers.h>
|
||||
#include <cheat/game/EntityManager.h>
|
||||
|
||||
namespace cheat::feature
|
||||
{
|
||||
const FeatureGUIInfo& About::GetGUIInfo() const
|
||||
{
|
||||
static const FeatureGUIInfo info{ "", "About", false };
|
||||
return info;
|
||||
}
|
||||
|
||||
void About::DrawMain()
|
||||
{
|
||||
// Advertisement. To change/delete contact with Callow#1429
|
||||
ImGui::TextColored(ImColor(199, 16, 162, 255), "Our private ToF cheat: ");
|
||||
TextURL("Acai ToF", "http://acai-tof.shop", true, false);
|
||||
|
||||
ImGui::TextColored(ImColor(28, 202, 214, 255), "Akebi github:");
|
||||
TextURL("Github link", "https://github.com/Akebi-Group/Akebi-GC", true, false);
|
||||
|
||||
ImGui::TextColored(ImColor(28, 202, 214, 255), "Akebi discord:");
|
||||
TextURL("Discord invite link", "https://discord.com/invite/MmV8hNZB9S", true, false);
|
||||
|
||||
ImGui::Text("Founder:");
|
||||
ImGui::SameLine();
|
||||
ImGui::TextColored(ImColor(0, 102, 255, 255), "Callow");
|
||||
|
||||
ImGui::Text("Main developer and updater:");
|
||||
ImGui::SameLine();
|
||||
ImGui::TextColored(ImColor(0, 102, 255, 255), "Taiga");
|
||||
|
||||
ImGui::Text("Feature developer and Acai founder:");
|
||||
ImGui::SameLine();
|
||||
ImGui::TextColored(ImColor(0, 102, 255, 255), "RyujinZX");
|
||||
|
||||
ImGui::Text("Main contributors:");
|
||||
ImGui::TextColored(ImColor(0, 102, 255, 255), "WitchGod, m0nkrel, Shichiha, harlanx, andiabrudan, hellomykami");
|
||||
|
||||
ImGui::Text("Full contributor list:");
|
||||
TextURL("Github link", "https://github.com/Akebi-Group/Akebi-GC/graphs/contributors", true, false);
|
||||
}
|
||||
|
||||
About& About::GetInstance()
|
||||
{
|
||||
static About instance;
|
||||
return instance;
|
||||
}
|
||||
}
|
17
cheat-library/src/user/cheat/misc/About.h
Normal file
17
cheat-library/src/user/cheat/misc/About.h
Normal file
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include <cheat-base/cheat/Feature.h>
|
||||
#include <cheat-base/config/config.h>
|
||||
|
||||
namespace cheat::feature
|
||||
{
|
||||
|
||||
class About : public Feature
|
||||
{
|
||||
public:
|
||||
static About& GetInstance();
|
||||
|
||||
const FeatureGUIInfo& GetGUIInfo() const override;
|
||||
void DrawMain() override;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user