core.plugins.hud.cl_init
HUD Stuff and things.
- ClientLimelightHUD:AutoUpdate()Source ☍
- ClientLimelightHUD.GetScaleFactor() → numberSource ☍
-
Returns scale factor based on how wide the current users monitor is compared to a 1920 pixel wide monitor, multiplied by user's scale preference.
Returns
- numberscale factor to multiply pixels by to scale them appropriately.
- ClientLimelightHUD:Init()Source ☍
- ClientLimelightHUD.NLRPanel:Paint(w, h)Source ☍
-
Parameters
- wany
- hany
- ClientLimelightHUD.RebuildHUD()Source ☍
-
Rebuilds the HUD with the current scale factor. Skips Init until the HUD has panels: Init reads a file-local element list declared below this, so OnScaleChanged's load-time call would hit
pairs(nil). - ClientLimelightHUD:SetAllVisible(visible)Source ☍
-
Parameters
- visibleany
- ClientLimelightHUD:Think()Source ☍
- Clientmath.CeilPower2(n) → numberSource ☍
-
Parameters
- nany
Returns
- number