Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,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")
Expand Down Expand Up @@ -2564,6 +2569,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);
Expand Down
3 changes: 2 additions & 1 deletion hud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,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;
Expand Down Expand Up @@ -629,6 +629,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;
Expand Down