Expand description
Heads-up display drawn over the 3D view (resolution independent).
Enums§
- Anchor
- Horizontal anchoring for virtual 320x200 HUD coordinates on wide screens.
Functions§
- draw
- draw_
qav - Draws a QAV frame (weapon) in 320x200 virtual space, centred horizontally.
- draw_
text - font_
base - First tile of Blood font
n(characters start at ASCII 32). - font_
glyph 🔒 - Glyph tile for
cinfont, falling back to other Blood fonts when the font lacks it (the big menu font has no digits or punctuation). Returns (tile, y offset to keep the glyph on the same baseline). - glyph 🔒
- Built-in 5x7 font (OpenBlood’s own), rows top to bottom, 5 low bits per row.
- inventory_
hud - Inventory selection, power-up timers and breath meter.
- status_
bar - The original-style compact status display (health/ammo boxes and key panel).
- status_
number 🔒 - Number drawn with Blood’s status digit tiles (base = tile of ‘0’).
- text_
width - tile_
text - Draws text with a Blood tile font; returns the width drawn.
- tile_
text_ width - Width in virtual pixels of
textin fontn. - tint 🔒
- vtile
- Draws tile
picwith its top-left corner at virtual (vx, vy) (320x200 space).