mirror of
https://github.com/swordbluesword/PalWorld-NetCrack.git
synced 2025-08-08 01:03:56 +09:00
Merge pull request #21 from svenbledt/master
update(IMGUI): Updated imgui to latest
This commit is contained in:
20
src/Menu.cpp
20
src/Menu.cpp
@ -206,7 +206,7 @@ namespace DX11_Base {
|
||||
//Creadit Mokobake
|
||||
//ImGui::Checkbox("MuteKiGodmode", &Config.IsMuteki);
|
||||
|
||||
if (ImGui::Button("ToggleInfAmmo",ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
|
||||
if (ImGui::Button("ToggleInfAmmo",ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter()->ShooterComponent != NULL && Config.GetPalPlayerCharacter()->ShooterComponent->CanShoot())
|
||||
{
|
||||
@ -221,7 +221,7 @@ namespace DX11_Base {
|
||||
ImGui::SliderInt("AttackModifilers", &Config.DamageUp, 0, 200000);
|
||||
ImGui::SliderInt("defenseModifilers", &Config.DefuseUp, 0, 200000);
|
||||
|
||||
if (ImGui::Button("PrintPlayerAddr", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
|
||||
if (ImGui::Button("PrintPlayerAddr", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
||||
{
|
||||
SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter();
|
||||
if (p_appc != NULL)
|
||||
@ -241,7 +241,7 @@ namespace DX11_Base {
|
||||
ImGui::InputInt("EXP:", &Config.EXP);
|
||||
ImGui::InputText("Item Name", Config.ItemName,sizeof(Config.ItemName));
|
||||
ImGui::InputInt("Item Num", &Config.Item);
|
||||
if (ImGui::Button("Give item", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
|
||||
if (ImGui::Button("Give item", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
||||
{
|
||||
SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter();
|
||||
if (p_appc != NULL)
|
||||
@ -375,7 +375,7 @@ namespace DX11_Base {
|
||||
}
|
||||
}
|
||||
//Creadit WoodgamerHD
|
||||
if(ImGui::Button("Give exp", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
|
||||
if(ImGui::Button("Give exp", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
||||
{
|
||||
SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter();
|
||||
if (p_appc != NULL)
|
||||
@ -407,7 +407,7 @@ namespace DX11_Base {
|
||||
ImGui::Spacing();
|
||||
ImGui::Separator();
|
||||
ImGui::Spacing();
|
||||
if (ImGui::Button("UNHOOK DLL", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) {
|
||||
if (ImGui::Button("UNHOOK DLL", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20))) {
|
||||
#if DEBUG
|
||||
g_Console->printdbg("\n\n[+] UNHOOK INITIALIZED [+]\n\n", g_Console->color.red);
|
||||
|
||||
@ -437,19 +437,19 @@ namespace DX11_Base {
|
||||
}
|
||||
void TABQuick()//Creadit:asashi
|
||||
{
|
||||
if (ImGui::Button("Basic Items stack", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) {
|
||||
if (ImGui::Button("Basic Items stack", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20))) {
|
||||
Spawn_Multiple(config::QuickItemSet::basic_items_stackable);
|
||||
}
|
||||
if (ImGui::Button("Basic Items single", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) {
|
||||
if (ImGui::Button("Basic Items single", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20))) {
|
||||
Spawn_Multiple(config::QuickItemSet::basic_items_single);
|
||||
}
|
||||
if (ImGui::Button("Unlock Pal skills", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) {
|
||||
if (ImGui::Button("Unlock Pal skills", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20))) {
|
||||
Spawn_Multiple(config::QuickItemSet::pal_unlock_skills);
|
||||
}
|
||||
if (ImGui::Button("Spheres", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) {
|
||||
if (ImGui::Button("Spheres", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20))) {
|
||||
Spawn_Multiple(config::QuickItemSet::spheres);
|
||||
}
|
||||
if (ImGui::Button("Tools", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) {
|
||||
if (ImGui::Button("Tools", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20))) {
|
||||
Spawn_Multiple(config::QuickItemSet::tools);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user