Skip to content

Commit

Permalink
Make M_MSGON/M_MSGOFF 8px away from M_MESSG...
Browse files Browse the repository at this point in the history
...to match distance when using default charset.
  • Loading branch information
bradharding committed Jul 15, 2014
1 parent d932dcf commit 63f028a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@ void M_DrawOptions(void)
patch_t *patch1 = W_CacheLumpName(OptionsMenu[1].name, PU_CACHE);
patch_t *patch2 = W_CacheLumpName("M_MSGON", PU_CACHE);

M_DrawPatchWithShadow(OptionsDef.x + SHORT(patch1->width) + 10,
M_DrawPatchWithShadow(OptionsDef.x + SHORT(patch1->width) + 8,
OptionsDef.y + SHORT(patch2->topoffset) + 16 * msgs + OFFSET, 0, patch2);
}
else
Expand All @@ -1500,7 +1500,7 @@ void M_DrawOptions(void)
patch_t *patch1 = W_CacheLumpName(OptionsMenu[1].name, PU_CACHE);
patch_t *patch2 = W_CacheLumpName("M_MSGOFF", PU_CACHE);

M_DrawPatchWithShadow(OptionsDef.x + SHORT(patch1->width) + 10,
M_DrawPatchWithShadow(OptionsDef.x + SHORT(patch1->width) + 8,
OptionsDef.y + SHORT(patch2->topoffset) + 16 * msgs + OFFSET, 0, patch2);
}
else
Expand All @@ -1514,7 +1514,7 @@ void M_DrawOptions(void)
patch_t *patch1 = W_CacheLumpName(OptionsMenu[2].name, PU_CACHE);
patch_t *patch2 = W_CacheLumpName("M_GDHIGH", PU_CACHE);

M_DrawPatchWithShadow(OptionsDef.x + SHORT(patch1->width) + 10,
M_DrawPatchWithShadow(OptionsDef.x + SHORT(patch1->width) + 8,
OptionsDef.y + SHORT(patch2->topoffset) + 16 * detail + OFFSET, 0, patch2);
}
else
Expand All @@ -1527,7 +1527,7 @@ void M_DrawOptions(void)
patch_t *patch1 = W_CacheLumpName(OptionsMenu[2].name, PU_CACHE);
patch_t *patch2 = W_CacheLumpName("M_GDLOW", PU_CACHE);

M_DrawPatchWithShadow(OptionsDef.x + SHORT(patch1->width) + 10,
M_DrawPatchWithShadow(OptionsDef.x + SHORT(patch1->width) + 8,
OptionsDef.y + SHORT(patch2->topoffset) + 16 * detail + OFFSET, 0, patch2);
}
else
Expand All @@ -1536,7 +1536,7 @@ void M_DrawOptions(void)

M_DrawThermo(OptionsDef.x - 1, OptionsDef.y + 16 * scrnsize + 17 + OFFSET, 9,
(float)(screensize + (widescreen || (returntowidescreen && gamestate != GS_LEVEL)) + !hud),
fullscreen ? 7.2f : 8.0f);
(fullscreen ? 7.2f : 8.0f));

M_DrawThermo(OptionsDef.x - 1, OptionsDef.y + 16 * mousesens + 17 + OFFSET, 9,
mouseSensitivity / (float)MOUSESENSITIVITY_MAX * 8.0f, 8.0f);
Expand Down

0 comments on commit 63f028a

Please sign in to comment.