Skip to content

Commit

Permalink
make UI box taller; shorten ui names of monster resistances/enchantments
Browse files Browse the repository at this point in the history
  • Loading branch information
planqi committed Nov 16, 2018
1 parent 58516b3 commit 4333dd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion BH/BH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void BH::Initialize()
SetWindowLong(D2GFX_GetHwnd(), GWL_WNDPROC, (LONG)GameWindowEvent);
});

settingsUI = new Drawing::UI(BH_VERSION, 350, 215);
settingsUI = new Drawing::UI(BH_VERSION, 350, 232);

Task::InitializeThreadPool(2);

Expand Down
14 changes: 7 additions & 7 deletions BH/Modules/Maphack/Maphack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ void Maphack::OnLoad() {
new Checkhook(settingsTab, 4, (Y += 15), &Toggles["Show Monsters"].state, "Show Monsters");
new Keyhook(settingsTab, 130, (Y + 2), &Toggles["Show Monsters"].toggle, "");

new Checkhook(settingsTab, 4, (Y += 15), &Toggles["Monster Enchantments"].state, " Enchantments");
new Keyhook(settingsTab, 130, (Y + 2), &Toggles["Monster Enchantments"].toggle, "");

new Checkhook(settingsTab, 4, (Y += 15), &Toggles["Monster Resistances"].state, " Resistances");
new Keyhook(settingsTab, 130, (Y + 2), &Toggles["Monster Resistances"].toggle, "");

new Checkhook(settingsTab, 4, (Y += 15), &Toggles["Show Missiles"].state, "Show Missiles");
new Keyhook(settingsTab, 130, (Y + 2), &Toggles["Show Missiles"].toggle, "");

Expand All @@ -193,12 +199,6 @@ void Maphack::OnLoad() {
new Checkhook(settingsTab, 4, (Y += 15), &Toggles["Remove Shake"].state, "Remove Shake");
new Keyhook(settingsTab, 130, (Y + 2), &Toggles["Remove Shake"].toggle, "");

new Checkhook(settingsTab, 4, (Y += 15), &Toggles["Monster Resistances"].state, "Monster Resistances");
new Keyhook(settingsTab, 130, (Y + 2), &Toggles["Monster Resistances"].toggle, "");

new Checkhook(settingsTab, 4, (Y += 15), &Toggles["Monster Enchantments"].state, "Monster Enchantments");
new Keyhook(settingsTab, 130, (Y + 2), &Toggles["Monster Enchantments"].toggle, "");

new Checkhook(settingsTab, 4, (Y += 15), &Toggles["Display Level Names"].state, "Level Names");
new Keyhook(settingsTab, 130, (Y + 2), &Toggles["Display Level Names"].toggle, "");

Expand All @@ -216,7 +216,7 @@ void Maphack::OnLoad() {
new Colorhook(settingsTab, 210, 122, &monsterColors["Champion"], "Champion");
new Colorhook(settingsTab, 210, 137, &monsterColors["Boss"], "Boss");

new Texthook(settingsTab, 3, (Y += 15), "Reveal Type:");
new Texthook(settingsTab, 6, (Y += 15), "Reveal Type:");

vector<string> options;
options.push_back("Game");
Expand Down

0 comments on commit 4333dd6

Please sign in to comment.