Types
generic-tie-base-point: structuresource
Fields
x: int16
y: int16
z: int16
d0: int16
vtx: uint64
u: int16
v: int16
tex: uint32
w: int16
d1: int16
data: uint16
quad: uint128
generic-tie-calls: structuresource
Fields
generic-prepare-dma-double: basic
generic-envmap-dproc: basic
generic-interp-dproc: basic
generic-no-light-dproc: basic
generic-tie-control: structuresource
Fields
ptr-palette: uint32
ptr-shaders: uint32
ptr-runctrl: generic-tie-run-control
ptr-verts: uint32
ptr-generic: generic-tie-header
ptr-dps: uint32
ptr-kicks: uint32
ptr-normals: uint32
ptr-interp: uint32
ptr-mtxs: generic-tie-matrix
ptr-cinds: uint32
next-instance: uint32
next-model: uint32
next-is-model: uint32
tie-type: uint32
generic-tie-header: structuresource
Fields
effect: uint8
interp-table-size: uint8
num-bps: uint8
num-ips: uint8
tint-color: uint32
index-table-offset: uint16
kick-table-offset: uint16
normal-table-offset: uint16
interp-table-offset: uint16
gsf-header: gsf-header
generic-tie-input: structuresource
Fields
palette-tag: dma-packet
palette: rgba
model-tag: dma-packet
model: vector
matrix-tag: dma-packet
matrix-data: vector
index-tag: dma-packet
indices: uint8
end-tag: dma-packet
generic-tie-instance: structuresource
Fields
matrix-tag: dma-packet
matrix-data: vector
index-tag: dma-packet
indices: uint8
end-tag: dma-packet
generic-tie-interp-point: structuresource
Fields
x: int16
y: int16
z: int16
d0: int16
vtx0: uint64
dx: int16
dy: int16
dz: int16
unused: int16
vtx1: uint64
u: int16
v: int16
tex: uint32
w: int16
d1: int16
data: uint16
generic-tie-run-control: structuresource
Fields
skip-bp2: uint8
skip-ips: uint8
gifbuf-skip: uint8
strips: uint8
target-bp1: uint8
target-bp2: uint8
target-ip1: uint8
target-ip2: uint8
target-bps: uint8
target-ips: uint8
is-generic: uint8
reserved: uint8
generic-tie-shadow: structuresource
Fields
out-buf: gsf-buffer
cur-buf: uint32
tie-type: int32
ptr-inst: uint32
ptr-buf: uint32
inst-xor: int32
end-of-chain: uint32
write-limit: uint32
calls: generic-tie-calls
generic-tie-stats: structuresource
Fields
num-bps: uint32
num-ips: uint32
num-dps: uint32
num-shaders: uint32
num-models: uint32
num-instances: uint32
num-waits: uint32
num-qwc: uint32
max-qwc: uint32
generic-tie-work: structuresource
Fields
control: generic-tie-control
interp-job: generic-interp-job
shadow: generic-tie-shadow
input-a: generic-tie-input
input-b: generic-tie-input
inst-buf: generic-tie-instance
palette-buf: rgba
Types
drawable-inline-array-instance-tie: drawable-inline-arraysource
drawable-tree-instance-tie: drawable-treesource
Fields
type: type
id: int16
bsphere: vector
length: int16
data: drawable
prototypes: proxy-prototype-array-tie
instance-tie: instancesource
Fields
type: type
id: int16
bsphere: vector
bucket-index: uint16
error: pointer
origin: matrix4h
unknown-vector: vector
wind-index: uint16
color-indices: uint32
bucket-ptr: prototype-bucket-tie
max-scale: uint16
flags: uint16
instance-tie-dma: structuresource
instance-tie-work: structuresource
Fields
wind-const: vector
hmge-d: vector
hvdf-offset: vector
wind-force: vector
constant: vector
far-morph: vector
dist-test: vector
min-dist: vector
guard-plane: plane
upload-color-0: dma-packet
upload-color-1: dma-packet
upload-color-2: dma-packet
upload-color-ret: dma-packet
upload-color-temp: dma-packet
generic-color-0: dma-packet
generic-color-1: dma-packet
generic-color-end: dma-packet
tie-near-perspective-matrix: matrix
wind-vectors: uint32
test-id: uint32
test-id2: uint32
dma-buffer: basic
to-spr: uint32
from-spr: uint32
wind-work: uint32
cur-vis-bits: uint32
end-vis-bits: uint32
first-generic-prototype: uint32
refl-fade-fac: float
refl-fade-end: float
flags: uint32
paused: basic
wait-from-spr: uint32
wait-to-spr: uint32
prototype-tie: drawable-inline-arraysource
prototype-tie-dma: structuresource
prototype-tie-work: structuresource
Fields
upload-palette-0: dma-packet
upload-palette-1: dma-packet
upload-model-0: dma-packet
upload-model-1: dma-packet
upload-model-2: dma-packet
upload-model-3: dma-packet
upload-model-near-0: dma-packet
upload-model-near-1: dma-packet
upload-model-near-2: dma-packet
upload-model-near-3: dma-packet
upload-model-near-4: dma-packet
generic-envmap-shader: dma-packet
generic-palette: dma-packet
generic-model-0: dma-packet
generic-model-1: dma-packet
generic-model-2: dma-packet
generic-model-next: dma-packet
clamp: uint64
prototype-array: basic
generic-wait-from-spr: uint32
generic-wait-to-spr: uint32
wait-from-spr: uint32
wait-to-spr: uint32
near-wait-from-spr: uint32
near-wait-to-spr: uint32
tie-fragment: drawablesource
Fields
type: type
id: int16
bsphere: vector
gif-ref: inline-array
point-ref: uint32
color-index: uint16
base-colors: uint8
tex-count: uint16
gif-count: uint16
vertex-count: uint16
color-count: uint16
num-tris: uint16
num-dverts: uint16
dp-ref: uint32
dp-qwc: uint32
generic-ref: uint32
generic-count: uint32
debug-lines: array
Variables
Types
Functions
add-pc-wind-data(dma-buf: dma-buffer) => pointersource
draw-drawable-tree-instance-tie(arg0: drawable-tree-instance-tie, arg1: level) => nonesource
Actually draw TIE instances.
Will draw TIE, TIE-NEAR, and GENERIC
pc-add-tie-envmap-info(dma-buf: dma-buffer) => pointersource
tie-debug-between(arg0: uint, arg1: uint) => uintsource
tie-debug-one(arg0: uint, arg1: uint) => uintsource
tie-init-buffers(arg0: dma-buffer) => nonesource
Initialize the TIE buckets.
Note: the buffer passed in here is not used.
this function should be called after all TIE drawing is done.
It will skip setup if there is nothing drawn.
tie-test-cam-restore() => nonesource
walk-tie-generic-prototypes() => nonesource
Variables
Types
tie-near-consts: structuresource
Fields
extra: qword
gifbufs: qword
clrbufs: qword
adgif: gs-gif-tag
strgif: gs-gif-tag
fangif: gs-gif-tag
hvdfoffs: vector
invhscale: vector
guard: vector
atest: ad-cmd
atest-tra: ad-cmd
atest-def: ad-cmd
Functions
tie-near-float-reg(arg0: int) => stringsource
tie-near-init-consts(arg0: tie-near-consts, arg1: int) => nonesource
Initialize tie near constant data.
tie-near-int-reg(arg0: int) => stringsource
Variables
tie-near-vu1-block: vu-functionsource
Variables
Types
tie-consts: structuresource
Fields
data: uint32
vector: vector
quads: uint128
adgif: gs-gif-tag
strgif: gs-gif-tag
extra: vector
gifbufs: vector
clrbufs: qword
misc: qword
atestgif: gs-gif-tag
atest: ad-cmd
atest-tra: ad-cmd
atest-def: ad-cmd
Functions
tie-end-buffer(arg0: dma-buffer) => nonesource
Add to dma buffer after drawing. This resets things to the usual state.
tie-float-reg(arg0: int) => stringsource
tie-floats() => nonesource
tie-init-consts(arg0: tie-consts, arg1: int) => nonesource
Initialize TIE constants. arg1 enables alpha blending
tie-init-engine(arg0: dma-buffer, arg1: gs-test, arg2: int) => nonesource
Set up tie initialization DMA in the given buffer. arg2 picks abe.