mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-04 23:41:34 +00:00
Rename LoadFontProperties to SetFontProperties
This commit is contained in:
parent
289c8ec6e4
commit
53896603b7
2 changed files with 8 additions and 8 deletions
|
@ -232,12 +232,12 @@ void HU_LoadGraphics(void)
|
||||||
nto_font.chars[i] = (patch_t *)W_CachePatchName(buffer, PU_HUDGFX);
|
nto_font.chars[i] = (patch_t *)W_CachePatchName(buffer, PU_HUDGFX);
|
||||||
}
|
}
|
||||||
|
|
||||||
HU_LoadFontProperties(&hu_font, 0, 4, 12);
|
HU_SetFontProperties(&hu_font, 0, 4, 12);
|
||||||
HU_LoadFontProperties(&tny_font, 0, 2, 12);
|
HU_SetFontProperties(&tny_font, 0, 2, 12);
|
||||||
HU_LoadFontProperties(&cred_font, 0, 16, 16);
|
HU_SetFontProperties(&cred_font, 0, 16, 16);
|
||||||
HU_LoadFontProperties(<_font, 0, 16, 20);
|
HU_SetFontProperties(<_font, 0, 16, 20);
|
||||||
HU_LoadFontProperties(&ntb_font, 0, 4, 21);
|
HU_SetFontProperties(&ntb_font, 0, 4, 21);
|
||||||
HU_LoadFontProperties(&nto_font, 0, 4, 21);
|
HU_SetFontProperties(&nto_font, 0, 4, 21);
|
||||||
|
|
||||||
//cache numbers too!
|
//cache numbers too!
|
||||||
for (i = 0; i < 10; i++)
|
for (i = 0; i < 10; i++)
|
||||||
|
@ -295,7 +295,7 @@ void HU_LoadGraphics(void)
|
||||||
//emeraldpics[2][7] = W_CachePatchName("EMBOX8", PU_HUDGFX); -- unused
|
//emeraldpics[2][7] = W_CachePatchName("EMBOX8", PU_HUDGFX); -- unused
|
||||||
}
|
}
|
||||||
|
|
||||||
void HU_LoadFontProperties(fontdef_t *font, INT32 kerning, UINT32 spacewidth, UINT32 linespacing)
|
void HU_SetFontProperties(fontdef_t *font, INT32 kerning, UINT32 spacewidth, UINT32 linespacing)
|
||||||
{
|
{
|
||||||
font->kerning = kerning;
|
font->kerning = kerning;
|
||||||
font->spacewidth = spacewidth;
|
font->spacewidth = spacewidth;
|
||||||
|
|
|
@ -93,8 +93,8 @@ extern boolean hu_showscores;
|
||||||
void HU_Init(void);
|
void HU_Init(void);
|
||||||
|
|
||||||
void HU_LoadGraphics(void);
|
void HU_LoadGraphics(void);
|
||||||
|
void HU_SetFontProperties(fontdef_t *font, INT32 kerning, UINT32 spacewidth, UINT32 linespacing);
|
||||||
|
|
||||||
void HU_LoadFontProperties(fontdef_t *font, INT32 k, UINT32 sw, UINT32 ls);
|
|
||||||
// reset heads up when consoleplayer respawns.
|
// reset heads up when consoleplayer respawns.
|
||||||
void HU_Start(void);
|
void HU_Start(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue