Writing in Doom's small font (STCFN033..STCFN095) onto a frame, placed in Doom's
320 by 200 screen and stretched to the frame, and the message line a player sees after
picking something up.
Summary
Functions
Write text at {x, y} in Doom's screen, scaled by {sx, sy} and enlarged size times.
The player's current message across the top of a view width by height.
How wide text is in Doom's screen pixels, enlarged size times.
Functions
@spec draw( Cauldron2D.Sectors.Frame.t(), ElixirDoom.Graphics.t(), String.t(), {number(), number()}, {number(), number()}, number() ) :: Cauldron2D.Sectors.Frame.t()
Write text at {x, y} in Doom's screen, scaled by {sx, sy} and enlarged size times.
@spec message( Cauldron2D.Sectors.Frame.t(), ElixirDoom.Graphics.t(), map(), {pos_integer(), pos_integer()} ) :: Cauldron2D.Sectors.Frame.t()
The player's current message across the top of a view width by height.
@spec width(ElixirDoom.Graphics.t(), String.t(), number()) :: number()
How wide text is in Doom's screen pixels, enlarged size times.