
void SetClipRect(double x, double y, double w, double h, int flags = 0).double, double, double, double StatusbarToRealCoords(double x, double y = 0, double w = 0, double h = 0).void Fill(Color col, double x, double y, double w, double h, int flags = 0).double, double, double, double TransformRect(double x, double y, double w, double h, int flags = 0).void DrawString(HUDFont font, String string, Vector2 pos, int flags = 0, int translation = Font.CR_UNTRANSLATED, double Alpha = 1., int wrapwidth = -1, int linespacing = 4, Vector2 scale = (1, 1)).void DrawImage(String texture, Vector2 pos, int flags = 0, double Alpha = 1., Vector2 box = (-1, -1), Vector2 scale = (1, 1)).void DrawTexture(TextureID texture, Vector2 pos, int flags = 0, double Alpha = 1., Vector2 box = (-1, -1), Vector2 scale = (1, 1)).TextureID GetMugshot(int accuracy, int stateflags = MugShot.STANDARD, String default_face = "STF").void BeginHUD(double Alpha = 1., bool forcescaled = false, int resW = -1, int resH = -1).void BeginStatusBar(bool forceScaled = false, int resW = -1, int resH = -1, int rel = -1).void SetSize(int height, int vwidth, int vheight, int hwidth = -1, int hheight = -1).HUDMessageBase DetachMessageID(uint msgid).HUDMessageBase DetachMessage(HUDMessageBase msg).void AttachMessage(HUDMessageBase msg, uint msgid = 0, int layer = HUDMSGLayer_Default).int GetGlobalACSArrayValue(int arrayno, int index).String GetGlobalACSArrayString(int arrayno, int index).String FormatNumber(int number, int minsize = 0, int maxsize = 0, int format = 0, String prefix = "").TextureID, bool GetInventoryIcon(Inventory item, int flags).int GetProtrusion(double scaleratio) const.bool ProcessMidPrint(Font fnt, String msg, bool bold).bool ProcessNotify(EPrintLevel printlevel, String outline).clearscope void FlashItem(class itemtype).clearscope void SetMugShotState(String state_name, wait_till_done = false, reset = false).clearscope void ReceivedWeapon(Weapon weapn).See also this article for a description of what each virtual function does. bool fullscreenOffsets - If set to true, draws graphics based off the real window resolution instead of the virtual resolution defined by HorizontalResolution and VerticalResolution.This is scaled by GZDoom's status bar scaling. This is based off of HorizontalResolution and VerticalResolution and not the real window resolution. Vector2 drawOffset - X and y offsets for drawing HUD graphics.double Alpha - Controls the overall alpha of the HUD.double itemFlashFade - Keeps track of the alpha of the flash when using an item (mainly used in Strife).int artiflashTick - Keeps track of drawing the flash sprite when using an item from the inventory bar (mainly used in Heretic and Hexen).Vector2 defaultScale - The x and y scale for scaling a HorizontalResolution x VerticalResolution area to best fit the window resolution without any fractional steps.bool ShowLog - Handles showing subtitles and log text (mainly used in Strife).Note that this can change if swapping player views in multiplayer. PlayerInfo CPlayer - The PlayerInfo for the player currently being viewed through.Note: If hud_aspectscale is set to true GZDoom's status bar scale is multiplied by 1.2 for this calculation.This value is scaled down by GZDoom's status bar scale. The size difference is based off of HorizontalResolution and VerticalResolution. double Displacement - The size difference (in pixels) between the scaled status bar and the unscaled status bar as a fraction of RelTop.The CVar crosshairgrow must be true for this to scale. double CrosshairSize - Scalar for the size of the player's crosshair.If set to true the image is drawn behind the status bar and not just around the edges.

bool CompleteBorder - Controls how the background image is drawn when the view port is smaller than the window resolution.int VerticalResolution - Height of the virtual resolution in pixels.int HorizontalResolution - Width of the virtual resolution in pixels.This is based off the resolution defined by HorizontalResolution and VerticalResolution and does not take GZDoom's status bar scaling into account. int RelTop - The height of the status bar in pixels.double XHAIRPICKUPSIZE = 2 + XHAIRSHRINKSIZE.
