I gave in and did the font cleanup already.
This commit is contained in:
parent
00790e9cd2
commit
7f70eb03af
31 changed files with 494 additions and 737 deletions
|
|
@ -3,7 +3,6 @@
|
|||
extend Class SWWMHandler
|
||||
{
|
||||
ui SWWMProjectionData projdata;
|
||||
transient ui Font dbgfont;
|
||||
|
||||
private ui void DrawWorldLine( RenderEvent e, Vector3 apos, Vector3 bpos, Color col )
|
||||
{
|
||||
|
|
@ -97,8 +96,7 @@ extend Class SWWMHandler
|
|||
Vector2 vpos = SWWMUtility.NDCToViewport(projdata,ndc);
|
||||
String tag = a.player?a.player.GetUserName():a.GetTag();
|
||||
if ( tag == a.GetClassName() ) SWWMUtility.BeautifyClassName(tag);
|
||||
if ( !dbgfont ) dbgfont = Font.GetFont('TewiShadedOutline');
|
||||
Screen.DrawText(dbgfont,Font.CR_RED,vpos.x-dbgfont.StringWidth(tag)/2,vpos.y-NewSmallFont.GetHeight()/2,tag);
|
||||
Screen.DrawText(NewSmallFont,Font.CR_RED,vpos.x-NewSmallFont.StringWidth(tag)/2,vpos.y-NewSmallFont.GetHeight()/2,tag);
|
||||
}
|
||||
|
||||
private ui void DrawDebug( RenderEvent e )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue