mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-13 16:37:57 +00:00
Use line height from screen info in motd and scoreboard
This commit is contained in:
parent
43d63a1448
commit
984dab64d3
@ -56,7 +56,7 @@ void CHudMOTD::Reset( void )
|
||||
m_bShow = 0;
|
||||
}
|
||||
|
||||
#define LINE_HEIGHT 13
|
||||
#define LINE_HEIGHT (gHUD.m_scrinfo.iCharHeight)
|
||||
#define ROW_GAP 13
|
||||
#define ROW_RANGE_MIN 30
|
||||
#define ROW_RANGE_MAX ( ScreenHeight - 100 )
|
||||
|
@ -108,7 +108,7 @@ We have a minimum width of 1-320 - we could have the field widths scale with it?
|
||||
int SCOREBOARD_WIDTH = 320;
|
||||
|
||||
// Y positions
|
||||
#define ROW_GAP 13
|
||||
#define ROW_GAP (gHUD.m_scrinfo.iCharHeight)
|
||||
#define ROW_RANGE_MIN 15
|
||||
#define ROW_RANGE_MAX ( ScreenHeight - 50 )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user