Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bayaraa committed Feb 23, 2023
1 parent 658e148 commit c9275a6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion d2gl/src/graphic/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Context::Context()

char version_str[50] = { 0 };
sprintf_s(version_str, "%d.%d", major_version, minor_version);
trace_log("OpenGL: %s", version_str);
trace_log("OpenGL: %s (%s)", version_str, glGetString(GL_RENDERER));
App.version = version_str;

GLint max_texture_unit;
Expand Down
14 changes: 14 additions & 0 deletions d2gl/src/option/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,21 @@ void Menu::draw()
if (tabBegin("[Features]", 2, &active_tab)) {
childBegin("##w5", true);
drawCheckbox_m("HD Cursor", App.hd_cursor, "High-definition in game & menu screen cursor.", hd_cursor)
{
saveBool("Feature", "hd_cursor", App.hd_cursor);
if (!App.hd_cursor) {
App.hd_text = false;
d2::patch_hd_text->toggle(App.hd_text);
saveBool("Feature", "hd_text", App.hd_text);

App.hd_orbs.active = false;
saveBool("Feature", "hd_orbs", App.hd_orbs.active);

App.mini_map.active = false;
d2::patch_minimap->toggle(App.mini_map.active);
saveBool("Feature", "mini_map", App.mini_map.active);
}
}
drawSeparator();
ImGui::BeginDisabled(!App.hd_cursor);
drawCheckbox_m("HD Text", App.hd_text, "High-definition ingame texts.", hd_text)
Expand Down
Binary file modified ddraw/ddraw.rc
Binary file not shown.
Binary file modified glide3x/glide3x.rc
Binary file not shown.

0 comments on commit c9275a6

Please sign in to comment.