add favourites

This commit is contained in:
Grinch_ 2021-09-04 18:39:26 +06:00
parent 53bae2ecb9
commit 3cdd372a0c
7 changed files with 56 additions and 25461 deletions

View File

@ -6,10 +6,10 @@
"${workspaceFolder}/**", "${workspaceFolder}/**",
"${PLUGIN_SDK_DIR}/*", "${PLUGIN_SDK_DIR}/*",
"${DIRECTX9_SDK_DIR}/Include/*", "${DIRECTX9_SDK_DIR}/Include/*",
// "${PLUGIN_SDK_DIR}/plugin_sa/*", "${PLUGIN_SDK_DIR}/plugin_sa/*",
// "${PLUGIN_SDK_DIR}/plugin_sa/game_sa/*", "${PLUGIN_SDK_DIR}/plugin_sa/game_sa/*",
"${PLUGIN_SDK_DIR}/plugin_vc/*", // "${PLUGIN_SDK_DIR}/plugin_vc/*",
"${PLUGIN_SDK_DIR}/plugin_vc/game_vc/*", // "${PLUGIN_SDK_DIR}/plugin_vc/game_vc/*",
"${PLUGIN_SDK_DIR}/shared/*", "${PLUGIN_SDK_DIR}/shared/*",
"${PLUGIN_SDK_DIR}/shared/game/*", "${PLUGIN_SDK_DIR}/shared/game/*",
"C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.19041.0\\ucrt\\*", "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.19041.0\\ucrt\\*",
@ -20,7 +20,7 @@
"IS_PLATFORM_WIN", "IS_PLATFORM_WIN",
"_CRT_SECURE_NO_WARNINGS", "_CRT_SECURE_NO_WARNINGS",
"_CRT_NON_CONFORMING_SWPRINTFS", "_CRT_NON_CONFORMING_SWPRINTFS",
"GTAVC", "GTASA",
"_DX9_SDK_INSTALLED", "_DX9_SDK_INSTALLED",
"PLUGIN_SGV_10US" "PLUGIN_SGV_10US"
], ],

48
.vscode/tasks.json vendored
View File

@ -18,7 +18,17 @@
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
} },
"windows": {
"options": {
"shell": {
"executable": "cmd.exe",
"args": [
"/d", "/c"
]
}
}
},
}, },
{ {
"label": "Build ReleaseSA", "label": "Build ReleaseSA",
@ -35,7 +45,17 @@
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
} },
"windows": {
"options": {
"shell": {
"executable": "cmd.exe",
"args": [
"/d", "/c"
]
}
}
},
}, },
{ {
"label": "Build DebugVC", "label": "Build DebugVC",
@ -52,7 +72,17 @@
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
} },
"windows": {
"options": {
"shell": {
"executable": "cmd.exe",
"args": [
"/d", "/c"
]
}
}
},
}, },
{ {
"label": "Build ReleaseVC", "label": "Build ReleaseVC",
@ -69,7 +99,17 @@
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
} },
"windows": {
"options": {
"shell": {
"executable": "cmd.exe",
"args": [
"/d", "/c"
]
}
}
},
} }
] ]
} }

File diff suppressed because it is too large Load Diff

View File

@ -370,7 +370,9 @@ void Ui::DrawJSON(ResourceStore& data,
ImGui::Spacing(); ImGui::Spacing();
if (ImGui::IsMouseClicked(1)) if (ImGui::IsMouseClicked(1))
{
jsonPopup.function = nullptr; jsonPopup.function = nullptr;
}
ImGui::BeginChild(1); ImGui::BeginChild(1);

View File

@ -725,7 +725,7 @@ void Vehicle::Draw()
{ {
ImGui::Spacing(); ImGui::Spacing();
ImGui::BeginChild("MenusChild"); ImGui::BeginChild("MenusChild");
Ui::EditReference("Density multiplier", CPopulation::PedDensityMultiplier, 0, 1, 10); Ui::EditReference("Density multiplier", 0x8A5B20, 0, 1, 10);
if (ImGui::CollapsingHeader("Enter nearest vehicle as")) if (ImGui::CollapsingHeader("Enter nearest vehicle as"))
{ {
int hplayer = CPools::GetPedRef(pPlayer); int hplayer = CPools::GetPedRef(pPlayer);

View File

@ -288,14 +288,13 @@ void Visual::Draw()
Ui::CheckboxAddress("Gray radar", 0xA444A4); Ui::CheckboxAddress("Gray radar", 0xA444A4);
Ui::CheckboxAddress("Health border", 0x589353); Ui::CheckboxAddress("Health border", 0x589353);
Ui::CheckboxAddress("Health percentage", 0x589355); Ui::CheckboxAddress("Health percentage", 0x589355);
ImGui::NextColumn();
if (Ui::CheckboxWithHint("Hide area names", &CHud::bScriptDontDisplayAreaName)) if (Ui::CheckboxWithHint("Hide area names", &CHud::bScriptDontDisplayAreaName))
{ {
Command<Commands::DISPLAY_ZONE_NAMES>(!CHud::bScriptDontDisplayAreaName); Command<Commands::DISPLAY_ZONE_NAMES>(!CHud::bScriptDontDisplayAreaName);
} }
ImGui::NextColumn();
if (Ui::CheckboxWithHint("Hide veh names", &CHud::bScriptDontDisplayVehicleName)) if (Ui::CheckboxWithHint("Hide veh names", &CHud::bScriptDontDisplayVehicleName))
{ {
Command<Commands::DISPLAY_CAR_NAMES>(!CHud::bScriptDontDisplayVehicleName); Command<Commands::DISPLAY_CAR_NAMES>(!CHud::bScriptDontDisplayVehicleName);
@ -355,6 +354,7 @@ void Visual::Draw()
} }
Ui::CheckboxAddress("Show hud", 0xBA6769); Ui::CheckboxAddress("Show hud", 0xBA6769);
Ui::CheckboxAddressEx("Unfog map", 0xBA372C, 0x50, 0x0);
#elif GTAVC #elif GTAVC
Ui::CheckboxAddress("Hide radar", 0xA10AB6); Ui::CheckboxAddress("Hide radar", 0xA10AB6);
if (Ui::CheckboxWithHint("Lock weather", &m_bLockWeather)) if (Ui::CheckboxWithHint("Lock weather", &m_bLockWeather))

View File

@ -28,7 +28,7 @@ workspace "CheatMenu"
location "../build" location "../build"
project "Depend" project "Depend"
kind "StaticLib" kind "SharedLib"
targetdir "../build/bin" targetdir "../build/bin"
files { files {