summaryrefslogtreecommitdiffstats
path: root/src/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gui.cpp52
1 files changed, 45 insertions, 7 deletions
diff --git a/src/gui.cpp b/src/gui.cpp
index b5fbc1d..974347a 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -318,6 +318,15 @@ static void build_cards() {
318 add_card(0, &g_abh, "ABH", "Accelerate on the jump tick by facing away " 318 add_card(0, &g_abh, "ABH", "Accelerate on the jump tick by facing away "
319 "from the velocity.", true); 319 "from the velocity.", true);
320 320
321 int jump = add_card(0, nullptr, "Jump assist",
322 "Extra jump handling applied while moving.", true);
323 add_toggle(jump, "Auto crouch-jump",
324 "Duck during the ascent of a held jump, release while falling.",
325 &g_auto_crouchjump);
326 add_toggle(jump, "Edge jump",
327 "Jump when the ground ahead of a running player disappears.",
328 &g_edge_jump);
329
321 int jb = add_card(0, &g_jumpbug, "Jumpbug", 330 int jb = add_card(0, &g_jumpbug, "Jumpbug",
322 "Duck+jump when landing would hurt.", true); 331 "Duck+jump when landing would hurt.", true);
323 add_toggle(jb, "Assist timing", 332 add_toggle(jb, "Assist timing",
@@ -333,6 +342,9 @@ static void build_cards() {
333 &g_aim_smooth); 342 &g_aim_smooth);
334 add_toggle(aim, "Show FOV circle", "Draw the acquisition cone on screen.", 343 add_toggle(aim, "Show FOV circle", "Draw the acquisition cone on screen.",
335 &g_aim_fov_circle); 344 &g_aim_fov_circle);
345 add_toggle(aim, "Compensate aim punch",
346 "Aim against the server's recoil so shots land on target.",
347 &g_aim_punch);
336 add_section(aim, "Bones"); 348 add_section(aim, "Bones");
337 static const char *bone_names[AIM_BONE_COUNT] = { 349 static const char *bone_names[AIM_BONE_COUNT] = {
338 "Head", "Torso", "Left arm", "Right arm", "Left leg", "Right leg"}; 350 "Head", "Torso", "Left arm", "Right arm", "Left leg", "Right leg"};
@@ -344,10 +356,10 @@ static void build_cards() {
344 add_toggle(aim, bone_names[i], bone_descs[i], &g_aim_bones[i]); 356 add_toggle(aim, bone_names[i], bone_descs[i], &g_aim_bones[i]);
345 357
346 int sil = add_card(1, &g_silentaim, "Silent aim", 358 int sil = add_card(1, &g_silentaim, "Silent aim",
347 "Fire at the target without turning the rendered view.", 359 "Fire at the target without turning the rendered view. "
360 "Uses the Aimbot FOV, vischeck and bone settings.",
348 true); 361 true);
349 add_slider(sil, "FOV", "Maximum angular distance from the crosshair.", 1, 180, 362 add_info(sil, "Shares the Aimbot FOV, vischeck and bones.");
350 &g_silent_fov);
351 363
352 add_card(1, &g_triggerbot, "Triggerbot", 364 add_card(1, &g_triggerbot, "Triggerbot",
353 "Fire when the crosshair is on a hostile.", true); 365 "Fire when the crosshair is on a hostile.", true);
@@ -357,17 +369,27 @@ static void build_cards() {
357 369
358 int esp = add_card(2, &g_esp, "ESP", "Draw hostile NPC information.", true); 370 int esp = add_card(2, &g_esp, "ESP", "Draw hostile NPC information.", true);
359 static const char *esp_names[ESP_OPT_COUNT] = { 371 static const char *esp_names[ESP_OPT_COUNT] = {
360 "Show neutral", "Show healthbar", "Show healthnum", 372 "Show neutral", "Show healthbar", "Show healthnum",
361 "Show name", "Show skeleton", "Show box", 373 "Show name", "Show skeleton", "Show box",
362 "Show speed graph", "Damage tags"}; 374 "Show speed graph", "Damage tags", "Alert state",
375 "Enemy weapon", "Off-screen arrows"};
363 static const char *esp_descs[ESP_OPT_COUNT] = { 376 static const char *esp_descs[ESP_OPT_COUNT] = {
364 "Include neutral wildlife.", "Draw a health bar.", 377 "Include neutral wildlife.", "Draw a health bar.",
365 "Draw the numeric health value.", "Draw the model name.", 378 "Draw the numeric health value.", "Draw the model name.",
366 "Draw the animated bone links.", "Draw a bounding box.", 379 "Draw the animated bone links.", "Draw a bounding box.",
367 "Draw the lower-center speed graph.", 380 "Draw the lower-center speed graph.",
368 "Label ARMORED (needs blast/RPG) and VULN (gravity gun) units."}; 381 "Label ARMORED (needs blast/RPG) and VULN (gravity gun) units.",
382 "Label IDLE / ALERT / COMBAT.", "Label the NPC's active weapon.",
383 "Point toward hostiles that are outside the view."};
369 for (int i = 0; i < ESP_OPT_COUNT; i++) 384 for (int i = 0; i < ESP_OPT_COUNT; i++)
370 add_toggle(esp, esp_names[i], esp_descs[i], &g_esp_opt[i]); 385 add_toggle(esp, esp_names[i], esp_descs[i], &g_esp_opt[i]);
386 add_section(esp, "Colours");
387 add_color(esp, "Hostile", "Box, skeleton and name colour for hostiles.",
388 g_esp_col_hostile);
389 add_color(esp, "Neutral", "Box, skeleton and name colour for neutral units.",
390 g_esp_col_neutral);
391 add_color(esp, "Friendly", "Box, skeleton and name colour for friendlies.",
392 g_esp_col_friendly);
371 393
372 int items = add_card(2, &g_item_esp, "Valuable items", 394 int items = add_card(2, &g_item_esp, "Valuable items",
373 "Tag medkits, ammo, armor, weapons and supply crates.", true); 395 "Tag medkits, ammo, armor, weapons and supply crates.", true);
@@ -388,6 +410,18 @@ static void build_cards() {
388 10000, &g_item_max_dist); 410 10000, &g_item_max_dist);
389 g_ctrls[g_nctrl - 1].zero_unlimited = true; 411 g_ctrls[g_nctrl - 1].zero_unlimited = true;
390 412
413 int view = add_card(2, nullptr, "Camera / display",
414 "Camera FOV, viewmodel FOV and monitor gamma.", true);
415 add_slider(view, "Camera FOV",
416 "World camera field of view; 0 keeps the game default (75).", 0,
417 140, &g_fov_camera);
418 add_slider(view, "Viewmodel FOV",
419 "Weapon model field of view; 0 keeps the game default (54).", 0,
420 120, &g_fov_viewmodel);
421 add_slider(view, "Gamma x10",
422 "mat_monitorgamma x10: 16 = 1.6, 30 = 3.0, stock is 22.", 16, 30,
423 &g_gamma);
424
391 add_card(2, &g_fullbright, "Fullbright", 425 add_card(2, &g_fullbright, "Fullbright",
392 "Ignore world lighting so dark areas are visible.", true); 426 "Ignore world lighting so dark areas are visible.", true);
393 427
@@ -439,6 +473,10 @@ static void build_cards() {
439 add_toggle(spread, "No spread", 473 add_toggle(spread, "No spread",
440 "Override the FireBullets seed with the best offset.", 474 "Override the FireBullets seed with the best offset.",
441 &g_spread_no_spread); 475 &g_spread_no_spread);
476 add_toggle(spread, "Engine spread override",
477 "Zero the pellet random offsets directly (shotgun one-hole). "
478 "Off = seed selection only.",
479 &g_spread_engine);
442 480
443 int sys = add_card(4, nullptr, "System", "Configuration and maintenance.", 481 int sys = add_card(4, nullptr, "System", "Configuration and maintenance.",
444 true); 482 true);