client/hud/gamestatedisplay: Improved HUD Game State Display

This is a Derma version of the manually drawn Default Player Class HUD Element which is now gone. It integrates with the UIManager and FontManager and scales with the ScreenSize instead of being a fixed small size.
This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-01-12 21:19:11 +01:00
parent 4a8b95bdb4
commit 629b921341
4 changed files with 241 additions and 63 deletions
@@ -31,6 +31,7 @@ include("derma/dscoreboard.lua")
GM.UI = {}
include("client/fontmanager.lua")
include("client/uimanager.lua")
include("client/hud/gamestatedisplay.lua")
include("client/cl_ui_help.lua")
include("client/cl_ui_teamselection.lua")
@@ -51,6 +52,7 @@ function GM:Initialize()
print("Prop Hunt CL: Creating User Interface...")
self.FontManager:Request("RobotoBoldCondensed160", {font="Roboto Bold Condensed", extended=true, size=160, weight=800, antialias=true})
self.UI.Scoreboard = vgui.Create("DScoreBoard")
self.UI.GameStateDisplay = vgui.Create("PHEHUDGameStateDisplay")
print("Prop Hunt CL: Complete.")
print("-------------------------------------------------------------------------")