Types
generic-merc-ctrl: structuresource
generic-merc-ctrl-with-sfx: generic-merc-ctrlsource
Fields
tag: generic-merc-tag
lights: vu-lights
header: merc-ctrl-header
effect: merc-effect
sfx-data: uint128
generic-merc-dcache: structuresource
Fields
output-a: generic-merc-output
output-b: generic-merc-output
inv-table-1: uint8
inv-table-7: uint8
inv-safety: uint8
effect-data: uint8
generic-merc-input: structuresource
Fields
geo-tag: generic-merc-tag
geo-block: uint8
byte-header: merc-byte-header
matrix: merc-matrix
control: generic-merc-ctrl-with-sfx
end-tag: generic-merc-tag
shader: adgif-shader
generic-merc-output: structuresource
Fields
info: gsf-info
header: gsf-header
index-kick-table: uint16
index-table: uint8
inverse-table: uint8
vertex-table: gsf-vertex
generic-merc-tag: dma-packetsource
generic-merc-work: structuresource
gm-shadow: structuresource
Fields
perspective: matrix
isometric: matrix
inv-camera-rot: matrix
envmap-shader: adgif-shader
current-chain: uint32
next-chain: uint32
buf-index: uint32
fragment-count: uint32
write-limit: pointer
indexed-input-base: generic-merc-input
other-input-base: generic-merc-input
indexed-output-base: generic-merc-output
other-output-base: generic-merc-output
p-input: uint32
gsf-buf: generic-merc-dcache
p-fheader: merc-fp-header
mercneric-convert: basic
generic-prepare-dma-single: basic
generic-prepare-dma-double: basic
generic-light-proc: basic
generic-envmap-proc: basic
high-speed-reject: basic
hsr-xmult: vector
hsr-ymult: vector
Types
blerc-block: structuresource
blerc-block-header: structuresource
blerc-context: structuresource
blerc-globals: structuresource
Fields
first: uint32
next: uint32
min-val: int16
max-val: int16
fragment-count: int32
vtx-count: int32
target-vtx-count: int32
Functions
blerc-init() => nonesource
blerc-stats-init() => nonesource
merc-blend-shape(arg0: process-drawable) => objectsource
setup-blerc-chains(arg0: merc-ctrl, arg1: pointer, arg2: dma-buffer) => nonesource
Variables
*stats-blerc*: symbolsource
Types
death-info: basicsource
Functions
birth-func-death-sparks() => nonesource
merc-death-spawn(arg0: int, arg1: vector, arg2: vector) => nonesource
Variables
const death-default: death-infosource
Types
mei-texture-scroll: structuresource
Fields
max-dist: float
st-int-scale: uint8
time-factor: uint8
scroll-dir: uint8
cached-time: uint8
time-delta: uint8
dummy: uint8
merc-blend-ctrl: structuresource
merc-byte-header: structuresource
Fields
srcdest-off: uint8
rgba-off: uint8
lump-off: uint8
fp-off: uint8
mat1-cnt: uint8
mat2-cnt: uint8
mat3-cnt: uint8
samecopy-cnt: uint8
crosscopy-cnt: uint8
strip-len: uint8
mm-quadword-fp-off: uint8
mm-quadword-size: uint8
perc-off: uint8
mat-slot: uint8
merc-ctrl: art-elementsource
Fields
type: type
name: string
length: int32
extra: res-lump
pad: uint8
num-joints: int32
header: merc-ctrl-header
effect: merc-effect
merc-ctrl-header: structuresource
Fields
xyz-scale: float
st-magic: uint32
st-out-a: uint32
st-out-b: uint32
st-vif-add: uint32
st-int-off: uint16
st-int-scale: uint16
effect-count: uint32
blend-target-count: uint32
fragment-count: uint16
tri-count: uint16
matrix-count: uint8
shader-count: uint8
transform-vertex-count: uint16
dvert-count: uint16
one-mat-count: uint16
two-mat-count: uint16
two-mat-reuse-count: uint16
three-mat-count: uint16
three-mat-reuse-count: uint16
shader-upload-count: uint8
matrix-upload-count: uint8
same-copy-count: uint16
cross-copy-count: uint16
num-verts: uint16
longest-edge: float
eye-ctrl: merc-eye-ctrl
masks: uint32
dummy-bytes: uint8
envmap-tint: uint32
query: basic
needs-clip: uint8
use-isometric: uint8
use-attached-shader: uint8
display-triangles: uint8
death-vertex-skip: uint16
death-start-vertex: uint16
death-effect: uint32
use-translucent: uint8
display-this-fragment: uint8
merc-effect: structuresource
Fields
frag-geo: merc-fragment
frag-ctrl: merc-fragment-control
blend-data: merc-blend-data
blend-ctrl: merc-blend-ctrl
dummy0: uint8
effect-bits: uint8
frag-count: uint16
blend-frag-count: uint16
tri-count: uint16
dvert-count: uint16
dummy1: uint8
envmap-usage: uint8
extra-info: merc-extra-info
data: uint64
Methods
login-adgifs(obj: merc-effect) => nonesource
Login everything for this merc-effect.
merc-extra-info: structuresource
Fields
envmap-tint-offset: uint8
shader-offset: uint8
texture-scroll-offset: uint8
ripple-offset: uint8
dummy: uint8
merc-eye-anim-block: structuresource
merc-eye-anim-frame: structuresource
Fields
pupil-trans-x: int8
pupil-trans-y: int8
blink: int8
iris-scale: int8
pupil-scale: int8
lid-scale: int8
dword: uint64
merc-eye-ctrl: structuresource
Fields
eye-slot: int8
shader-offset: int8
shader-count: int8
iris-shader: adgif-shader
pupil-shader: adgif-shader
lid-shader: adgif-shader
shader: adgif-shader
merc-fp-header: structuresource
Fields
x-add: float
y-add: float
z-add: float
shader-cnt: uint8
kick-info-offset: uint8
kick-info-step: uint8
hword-cnt: uint8
merc-fragment: structuresource
Fields
header: merc-byte-header
rest: uint8
Methods
login-adgifs(obj: merc-fragment) => nonesource
Set up a merc-fragment. Does adgifs and eye stuff
merc-fragment-control: structuresource
Fields
unsigned-four-count: uint8
lump-four-count: uint8
fp-qwc: uint8
mat-xfer-count: uint8
mat-dest-data: merc-mat-dest
merc-vtx: structuresource
Fields
mat-0: uint8
mat-1: uint8
nrm-x: uint8
pos-x: uint8
dst-0: uint8
dst-1: uint8
nrm-y: uint8
pos-y: uint8
tex-s: uint8
tex-t: uint8
nrm-z: uint8
pos-z: uint8
merc-vu1-low-mem: structuresource
Fields
tri-strip-gif: gs-gif-tag
ad-gif: gs-gif-tag
hvdf-offset: vector
perspective: uint128
fog: vector
ripple-control: basicsource
Fields
type: type
global-scale: float
last-frame-scale: float
close-fade-dist: float
far-fade-dist: float
faded-scale: float
individual-normal-scale: float
waveform: ripple-wave-set
send-query: symbol
query: ripple-merc-query
ripple-merc-query: inline-array-classsource
ripple-wave: structuresource
ripple-wave-set: basicsource
Functions
merc-fragment-fp-data(arg0: merc-fragment) => merc-fp-headersource
Get the floating-point data of a merc-fragment
Variables
merc-vu1-block: vu-functionsource
Functions
merc-edge-stats() => nonesource
merc-stats() => nonesource
merc-stats-display(arg0: merc-ctrl) => nonesource
merc-vu1-add-vu-function(dma: dma-packet, func: vu-function, flush-mode: int) => dma-gif-packetsource
Add a function to a dma chain. Return pointer to chain after the upload data.
merc-vu1-init-buffer(dma-bucket: bucket-id, test: gs-test, arg2: int) => nonesource
Setup merc DMA buffer.
merc-vu1-init-buffers() => nonesource
Setup merc DMA buffers. Call this _after_ drawing.
merc-vu1-initialize-chain(arg0: dma-gif-packet) => dma-packetsource
Initialize a merc chain.