add about tab and Acai advertisement
This commit is contained in:
parent
3303893884
commit
218f440b39
@ -7,6 +7,8 @@
|
|||||||
#include <cheat-base/render/gui-util.h>
|
#include <cheat-base/render/gui-util.h>
|
||||||
#include <cheat-base/cheat/misc/Settings.h>
|
#include <cheat-base/cheat/misc/Settings.h>
|
||||||
|
|
||||||
|
#include <imgui_internal.h>
|
||||||
|
|
||||||
namespace cheat
|
namespace cheat
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -74,6 +76,12 @@ namespace cheat
|
|||||||
ImGui::SetItemDefaultFocus();
|
ImGui::SetItemDefaultFocus();
|
||||||
index++;
|
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();
|
ImGui::EndListBox();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<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\PipeMessage.h" />
|
||||||
<ClInclude Include="src\user\cheat\misc\sniffer\pipe\messages\PipeModifyData.h" />
|
<ClInclude Include="src\user\cheat\misc\sniffer\pipe\messages\PipeModifyData.h" />
|
||||||
<ClInclude Include="src\user\cheat\misc\sniffer\pipe\messages\PipePacketData.h" />
|
<ClInclude Include="src\user\cheat\misc\sniffer\pipe\messages\PipePacketData.h" />
|
||||||
@ -111,6 +112,7 @@
|
|||||||
<Font Include="res\Ruda-ExtraBold.ttf" />
|
<Font Include="res\Ruda-ExtraBold.ttf" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<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\PipeMessage.cpp" />
|
||||||
<ClCompile Include="src\user\cheat\misc\sniffer\pipe\messages\PipeModifyData.cpp" />
|
<ClCompile Include="src\user\cheat\misc\sniffer\pipe\messages\PipeModifyData.cpp" />
|
||||||
<ClCompile Include="src\user\cheat\misc\sniffer\pipe\messages\PipePacketData.cpp" />
|
<ClCompile Include="src\user\cheat\misc\sniffer\pipe\messages\PipePacketData.cpp" />
|
||||||
@ -1099,7 +1101,8 @@
|
|||||||
</Command>
|
</Command>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
<CustomBuildStep>
|
<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>
|
<Outputs>$(OutDir)_noexist.nope;%(Outputs)</Outputs>
|
||||||
<Inputs>$(TargetPath);%(Inputs)</Inputs>
|
<Inputs>$(TargetPath);%(Inputs)</Inputs>
|
||||||
</CustomBuildStep>
|
</CustomBuildStep>
|
||||||
|
@ -264,6 +264,9 @@
|
|||||||
<ClInclude Include="src\user\cheat\world\OpenTeamImmediately.h">
|
<ClInclude Include="src\user\cheat\world\OpenTeamImmediately.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\user\cheat\misc\About.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Font Include="res\Ruda-Bold.ttf" />
|
<Font Include="res\Ruda-Bold.ttf" />
|
||||||
@ -486,6 +489,9 @@
|
|||||||
<ClCompile Include="src\user\cheat\world\OpenTeamImmediately.cpp">
|
<ClCompile Include="src\user\cheat\world\OpenTeamImmediately.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\user\cheat\misc\About.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="res\res.rc">
|
<ResourceCompile Include="res\res.rc">
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
#include <cheat/misc/ProtectionBypass.h>
|
#include <cheat/misc/ProtectionBypass.h>
|
||||||
#include <cheat/misc/Hotkeys.h>
|
#include <cheat/misc/Hotkeys.h>
|
||||||
#include <cheat/misc/Debug.h>
|
#include <cheat/misc/Debug.h>
|
||||||
|
#include <cheat/misc/About.h>
|
||||||
#include <cheat/misc/sniffer/PacketSniffer.h>
|
#include <cheat/misc/sniffer/PacketSniffer.h>
|
||||||
|
|
||||||
#include <cheat/player/GodMode.h>
|
#include <cheat/player/GodMode.h>
|
||||||
@ -81,6 +82,7 @@ namespace cheat
|
|||||||
FEAT_INST(Settings),
|
FEAT_INST(Settings),
|
||||||
FEAT_INST(Hotkeys),
|
FEAT_INST(Hotkeys),
|
||||||
FEAT_INST(Debug),
|
FEAT_INST(Debug),
|
||||||
|
FEAT_INST(About),
|
||||||
FEAT_INST(PacketSniffer),
|
FEAT_INST(PacketSniffer),
|
||||||
|
|
||||||
FEAT_INST(GodMode),
|
FEAT_INST(GodMode),
|
||||||
@ -143,6 +145,7 @@ namespace cheat
|
|||||||
"Visuals",
|
"Visuals",
|
||||||
"Hotkeys",
|
"Hotkeys",
|
||||||
"Settings",
|
"Settings",
|
||||||
|
"About",
|
||||||
"Debug"
|
"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