diff --git a/config.cpp b/config.cpp index 0bf95405..f6c34b1b 100644 --- a/config.cpp +++ b/config.cpp @@ -1232,6 +1232,11 @@ EX void initConfig() { {"icons", ""}, }, "orb display mode", 'o'); + param_b(orb_treasure_gap, "orb_treasure_gap", false) + ->editable("gap between orbs and treasures", 'G') + -> help("If set, a gap row will be left between orbs and treasures in the HUD") + -> set_reaction([] { vid.killreduction = 0; }); + param_b(less_in_landscape, "less_in_landscape", false) ->editable("less items/kills in landscape", 'L') -> help("If set, only the important items and kills will be shown") @@ -2572,6 +2577,7 @@ EX void configureInterface() { if(hr_hud_enabled) { add_edit(glyphsortorder); add_edit(vid.graphglyph); + add_edit(orb_treasure_gap); add_edit(less_in_landscape); add_edit(less_in_portrait); add_edit(display_yasc_codes); diff --git a/hud.cpp b/hud.cpp index 9b74ef26..eee48d86 100644 --- a/hud.cpp +++ b/hud.cpp @@ -487,7 +487,7 @@ EX void draw_crosshair() { return; } -EX bool less_in_portrait, less_in_landscape; +EX bool less_in_portrait, less_in_landscape, orb_treasure_gap; EX string mode_description() { string md; @@ -655,6 +655,7 @@ EX void drawStats() { rows = rowspace / buttonsize; if(!rows) return; int coltaken = 0; for(int z=0; z<4; z++) { + if(z == 1 && orb_treasure_gap) coltaken++; if(z == 2 && !portrait) { if(coltaken > columns) { vid.killreduction++; continue; } coltaken = 0;