Types
depth-cue-data: structuresource
depth-cue-work: structuresource
Fields
texture-strip-tmpl: dma-gif-packet
temp-strip-tmpl: dma-gif-packet
stencil-tmpl: dma-gif-packet
clear-color: vector4w
set-color: vector4w
draw-color: vector4w
depth: depth-cue-data
front: depth-cue-data
Functions
depth-cue-calc-z(arg0: float) => floatsource
depth-cue-draw-depth(arg0: dma-buffer, arg1: int, arg2: float, arg3: float, arg4: int, arg5: int) => symbolsource
depth-cue-draw-front(dma-buff: dma-buffer, depth: int, sharpness: float, alpha: float, on-screen-fbp: uint, oddeven: int) => symbolsource
depth-cue-set-stencil(arg0: dma-buffer, arg1: int, arg2: int, arg3: int, arg4: dma-gif-packet) => vector4wsource
Variables
Types
font-context: basicsource
Fields
type: type
origin: vector
strip-gif: vector
width: float
height: float
projection: float
context-vec: vector
color: font-color
color-s32: int32
flags: font-flags
flags-signed: int32
mat: matrix
start-line: uint32
scale: float
Methods
set-mat!(obj: font-context, mat: matrix) => font-contextsource
set-origin!(obj: font-context, x: int, y: int) => font-contextsource
set-depth!(obj: font-context, z: int) => font-contextsource
set-w!(obj: font-context, w: float) => font-contextsource
set-width!(obj: font-context, width: int) => font-contextsource
set-height!(obj: font-context, height: int) => font-contextsource
set-projection!(obj: font-context, proj: float) => font-contextsource
set-color!(obj: font-context, color: font-color) => font-contextsource
set-flags!(obj: font-context, flags: font-flags) => font-contextsource
set-start-line!(obj: font-context, start-line: uint) => font-contextsource
set-scale!(obj: font-context, scale: float) => font-contextsource
font-work: structuresource
Fields
font-tmpl: dma-gif-packet
char-tmpl: dma-gif-packet
tex1-tmpl: uint64
small-font-lo-tmpl: uint64
small-font-lo-tmpl-qw: uint128
small-font-hi-tmpl: uint64
small-font-hi-tmpl-qw: uint128
large-font-lo-tmpl: uint64
large-font-lo-tmpl-qw: uint128
large-font-hi-tmpl: uint64
large-font-hi-tmpl-qw: uint128
size1-small: vector
size2-small: vector
size3-small: vector
size1-large: vector
size2-large: vector
size3-large: vector
size-st1: vector
size-st2: vector
size-st3: vector
save: vector
save-color: vector
current-verts: char-verts
src-verts: char-verts
dest-verts: char-verts
justify: vector
color-shadow: vector4w
color-table: char-color
last-color: font-color
last-color-32: int32
save-last-color: font-color
save-last-color-32: int32
buf: basic
str-ptr: uint32
str-ptr-signed: pointer
flags: font-flags
flags-signed: int32
reg-save: uint32
Functions
font-set-tex0(ptr-tex0: pointer, tex: texture, tex-addr: uint, psm: uint, clut-addr: uint) => nonesource
Write the TEX0 parameters for a font
Variables
Functions
draw-string(str-in: string, context: dma-buffer, arg2: font-context) => floatsource
Draw a string. Writes dma to the given buffer.
draw-string-adv(str: string, buf: dma-buffer, ctxt: font-context) => nonesource
Draw a string and advance the position of the context.
draw-string-xy(str: string, buf: dma-buffer, x: int, y: int, color: font-color, flags: font-flags) => floatsource
Draw a string at the given xy location.
draw-string-xy-scaled(str: string, buf: dma-buffer, x: int, y: int, color: font-color, flags: font-flags, scale: float) => nonesource
Draw a string at the given xy location, with the given scale.