Merge pull request #17 from ScatterBox/main

This commit is contained in:
Ian 2023-01-22 19:49:48 -05:00 committed by GitHub
commit 0eab0b9190
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 7 deletions

View file

@ -1571,6 +1571,7 @@ char *GetWeaponName (int wep)
}
}
extern char *pr_strings;
void HUD_Weapon (void)
{
char str[32];
@ -1580,7 +1581,8 @@ void HUD_Weapon (void)
#else
y_value = vid.height - 16 - fragpic->height - 4 - 16;
#endif
strcpy(str, GetWeaponName(cl.stats[STAT_ACTIVEWEAPON]));
strcpy(str, pr_strings+sv_player->v.Weapon_Name);
//strcpy(str, GetWeaponName(cl.stats[STAT_ACTIVEWEAPON]));
l = strlen(str);
#ifdef VITA
x_value = vid.width - fragpic->width - 65 - l*16;

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, 150);
Draw_FillByColor(0, 0, 1280, 720, 0, 0, 0, 1);
// 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, 220, 220, 220, 220);
Draw_FillByColor(10, y + 90, 240, 3, 220, 220, 220, 0.8);
// 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, 220, 220, 220, 220);
Draw_FillByColor(10, y + 135, 240, 3, 220, 220, 220, 0.8);
// 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, 220, 220, 220, 220);
Draw_FillByColor(10, y + 165, 240, 3, 220, 220, 220, 0.8);
// 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, 220, 220, 220, 220);
Draw_FillByColor(10, y + 135, 240, 3, 220, 220, 220, 0.8);
// 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, 220, 220, 220, 220);
Draw_FillByColor(10, y + 105, 240, 3, 220, 220, 220, 0.8);
// Console
if (options_cursor == 3)

View file

@ -76,6 +76,7 @@ typedef struct
string_t model;
float frame;
float skin;
float iframetime;
float effects;
vec3_t mins;
vec3_t maxs;
@ -143,6 +144,7 @@ typedef struct
string_t targetname;
float dmg_take;
float dmg_save;
float bleed_out;
float progress_bar;
int dmg_inflictor;
int owner;
@ -155,6 +157,7 @@ typedef struct
string_t noise3;
float x2_icon;
float insta_icon;
string_t Weapon_Name;
string_t Weapon_Name_Touch;
vec3_t ADS_Offset;
vec3_t Flash_Offset;