Fixed menu dividers and adjusted betty positioning in HUD

This commit is contained in:
Tyler Young 2023-01-22 16:27:43 -05:00
parent d469ad05a3
commit 7e5688bb45
2 changed files with 10 additions and 10 deletions

View file

@ -1440,11 +1440,11 @@ void HUD_Grenades (void)
if (cl.stats[STAT_GRENADES] & UI_BETTY)
{
#ifdef VITA
Draw_StretchPic (x_value - fragpic->width - 5, y_value, bettypic, 64, 64);
Draw_StretchPic (x_value + fragpic->width + 15, y_value, bettypic, 64, 64);
if (cl.stats[STAT_PRIGRENADES] <= 0) {
Draw_ColoredStringScale (x_value + 36, y_value + 44, va ("%i",cl.stats[STAT_SECGRENADES]), 1, 0, 0, 1, 2.0f);
Draw_ColoredStringScale (x_value + 46, y_value + 44, va ("%i",cl.stats[STAT_SECGRENADES]), 1, 0, 0, 1, 2.0f);
} else {
Draw_ColoredStringScale (x_value - fragpic->width + 32, y_value + 44, va ("%i",cl.stats[STAT_SECGRENADES]), 1, 1, 1, 1, 2.0f);
Draw_ColoredStringScale (x_value + fragpic->width + 46, y_value + 44, va ("%i",cl.stats[STAT_SECGRENADES]), 1, 1, 1, 1, 2.0f);
}
#else
Draw_Pic (x_value - fragpic->width - 5, y_value, bettypic);
@ -1583,7 +1583,7 @@ void HUD_Weapon (void)
strcpy(str, GetWeaponName(cl.stats[STAT_ACTIVEWEAPON]));
l = strlen(str);
#ifdef VITA
x_value = vid.width - fragpic->width - 60 - l*16;
x_value = vid.width - fragpic->width - 65 - l*16;
Draw_ColoredStringScale (x_value, y_value, str, 1, 1, 1, 1, 2.0f);
#else
x_value = vid.width/2 - 8 - l*8;

View file

@ -524,7 +524,7 @@ void M_Main_Draw (void)
Draw_BgMenu();
// Fill black to make everything easier to see
Draw_FillByColor(0, 0, 1280, 720, 0, 0, 0, 0.4);
Draw_FillByColor(0, 0, 1280, 720, 0, 0, 0, 150);
// Version String
Draw_ColoredString(vid.width - 40, y + 5, NZP_VERSION, 1, 1, 1, 1);
@ -543,7 +543,7 @@ void M_Main_Draw (void)
Draw_ColoredStringScale(10, y + 70, "Co-Op (Coming Soon!)", 0.5, 0.5, 0.5, 1, 1.5f);
// Divider
Draw_FillByColor(10, y + 90, 240, 3, 1, 1, 1, 1);
Draw_FillByColor(10, y + 90, 240, 3, 220, 220, 220, 220);
// Settings
if (m_main_cursor == 1)
@ -555,7 +555,7 @@ void M_Main_Draw (void)
Draw_ColoredStringScale(10, y + 115, "Achievements", 0.5, 0.5, 0.5, 1, 1.5f);
// Divider
Draw_FillByColor(10, y + 135, 240, 3, 1, 1, 1, 1);
Draw_FillByColor(10, y + 135, 240, 3, 220, 220, 220, 220);
// Credits
if (m_main_cursor == 2)
@ -564,7 +564,7 @@ void M_Main_Draw (void)
Draw_ColoredStringScale(10, y + 145, "Credits", 1, 1, 1, 1, 1.5f);
// Divider
Draw_FillByColor(10, y + 165, 240, 3, 1, 1, 1, 1);
Draw_FillByColor(10, y + 165, 240, 3, 220, 220, 220, 220);
// Exit
if (m_main_cursor == 3)
@ -851,7 +851,7 @@ void M_SinglePlayer_Draw (void)
Draw_ColoredStringScale(10, y + 115, "Christmas Special", 1, 1, 1, 1, 1.5f);
// Divider
Draw_FillByColor(10, y + 135, 240, 3, 1, 1, 1, 1);
Draw_FillByColor(10, y + 135, 240, 3, 220, 220, 220, 220);
// Custom Maps
if (m_singleplayer_cursor == 3)
@ -1980,7 +1980,7 @@ void M_Options_Draw (void)
Draw_ColoredStringScale(10, y + 85, "Control Settings", 1, 1, 1, 1, 1.5f);
// Divider
Draw_FillByColor(10, y + 105, 240, 3, 1, 1, 1, 1);
Draw_FillByColor(10, y + 105, 240, 3, 220, 220, 220, 220);
// Console
if (options_cursor == 3)