summaryrefslogtreecommitdiffstats
path: root/src/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gui.cpp32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/gui.cpp b/src/gui.cpp
index 156e496..eb9a964 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -299,21 +299,6 @@ static void build_cards() {
299 add_card(0, &g_abh, "ABH", "Accelerate on the jump tick by facing away " 299 add_card(0, &g_abh, "ABH", "Accelerate on the jump tick by facing away "
300 "from the velocity.", true); 300 "from the velocity.", true);
301 301
302 int sl = add_card(0, &g_stucklaunch, "Stucklaunch",
303 "Hop on a physics prop while spamming grab to build "
304 "speed in a small space.",
305 true);
306 add_toggle(sl, "Use spam",
307 "Rapidly press +use to keep regrabbing the prop.",
308 &g_stucklaunch_use_spam);
309 add_toggle(sl, "Gravity gun spam",
310 "Alternate +attack and +use while holding the gravity gun.",
311 &g_stucklaunch_gravspam);
312 add_toggle(sl, "Auto-strafe", "Air-strafe each hop.",
313 &g_stucklaunch_autostrafe);
314 add_slider(sl, "Spam rate", "Ticks between spam toggles; higher is slower.",
315 1, 16, &g_stucklaunch_spam_ticks);
316
317 int jb = add_card(0, &g_jumpbug, "Jumpbug", 302 int jb = add_card(0, &g_jumpbug, "Jumpbug",
318 "Duck+jump when landing would hurt.", true); 303 "Duck+jump when landing would hurt.", true);
319 add_toggle(jb, "Assist timing", 304 add_toggle(jb, "Assist timing",
@@ -364,6 +349,23 @@ static void build_cards() {
364 for (int i = 0; i < ESP_OPT_COUNT; i++) 349 for (int i = 0; i < ESP_OPT_COUNT; i++)
365 add_toggle(esp, esp_names[i], esp_descs[i], &g_esp_opt[i]); 350 add_toggle(esp, esp_names[i], esp_descs[i], &g_esp_opt[i]);
366 351
352 int items = add_card(2, &g_item_esp, "Valuable items",
353 "Tag medkits, ammo, armor and supply crates.", true);
354 add_toggle(items, "Medkits / health",
355 "Tag health kits, health vials and health chargers.",
356 &g_item_health);
357 add_toggle(items, "Ammo", "Tag ammo boxes, crates and grenades.",
358 &g_item_ammo);
359 add_toggle(items, "Armor / suit", "Tag batteries, HEV suits and chargers.",
360 &g_item_armor);
361 add_toggle(items, "Supply crates", "Tag item and beacon crates.",
362 &g_item_crates);
363 add_toggle(items, "Show distance", "Append the distance in units.",
364 &g_item_distance);
365 add_slider(items, "Max distance",
366 "Items farther away than this are not tagged.", 250, 5000,
367 &g_item_max_dist);
368
367 int spread = add_card(3, &g_spread, "Spread control", 369 int spread = add_card(3, &g_spread, "Spread control",
368 "Choose a server shot seed that tightens the cone.", 370 "Choose a server shot seed that tightens the cone.",
369 true); 371 true);