Skip to main content

generic-tie-h

source

Types


generic-tie-base-point

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-bps

generic-tie-bps: structuresource

generic-tie-calls

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

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

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

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

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

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-ips

generic-tie-ips: structuresource

generic-tie-matrix

generic-tie-matrix: structuresource
Fields
matrix: matrix
morph: vector
fog: qword

generic-tie-normal

generic-tie-normal: structuresource
Fields
x: int8
y: int8
z: int8
dummy: int8

generic-tie-run-control

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

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

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

generic-tie-work: structuresource

Types


drawable-inline-array-instance-tie

drawable-inline-array-instance-tie: drawable-inline-arraysource
Fields
type: type
id: int16
bsphere: vector
length: int16
data: instance-tie
pad: uint32

drawable-tree-instance-tie

drawable-tree-instance-tie: drawable-treesource
Fields
type: type
id: int16
bsphere: vector
length: int16
data: drawable
prototypes: proxy-prototype-array-tie

instance-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

instance-tie-dma: structuresource
Fields
banka: instance-tie
bankb: instance-tie
outa: uint128
outb: uint128
work: instance-tie-work

instance-tie-work

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

prototype-tie: drawable-inline-arraysource
Fields
type: type
id: int16
bsphere: vector
length: int16
data: tie-fragment
pad: uint32

prototype-tie-dma

prototype-tie-dma: structuresource
Fields
colora: rgba
colorb: rgba
outa: uint128
outb: uint128
length: uint32
dma-buffer: basic
this-frag-count: uint32
next: uint32
geometry: uint32
frag-count: uint8

prototype-tie-work

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

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

tie-matrix

tie-matrix: structuresource
Fields
mat: matrix
morph: qword
fog: qword

Variables


*instance-tie-work-copy*

*instance-tie-work-copy*: instance-tie-worksource

tie-methods

source

Types


tie-instance-debug

tie-instance-debug: structuresource
Fields
max-instance: uint32
min-instance: uint32

Functions


add-pc-wind-data

add-pc-wind-data(dma-buf: dma-buffer) => pointersource

draw-drawable-tree-instance-tie

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

pc-add-tie-envmap-info(dma-buf: dma-buffer) => pointersource

tie-debug-between

tie-debug-between(arg0: uint, arg1: uint) => uintsource

tie-debug-one

tie-debug-one(arg0: uint, arg1: uint) => uintsource

tie-init-buffers

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

tie-test-cam-restore() => nonesource

walk-tie-generic-prototypes

walk-tie-generic-prototypes() => nonesource

Variables


*pke-hack*

*pke-hack*: vectorsource

*tie*

*tie*: tie-instance-debugsource

tie-near

source

Types


tie-near-consts

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

tie-near-float-reg(arg0: int) => stringsource

tie-near-init-consts

tie-near-init-consts(arg0: tie-near-consts, arg1: int) => nonesource
Initialize tie near constant data.

tie-near-int-reg

tie-near-int-reg(arg0: int) => stringsource

tie-near-make-perspective-matrix

tie-near-make-perspective-matrix(arg0: matrix) => matrixsource

Variables


tie-near-vu1-block

tie-near-vu1-block: vu-functionsource

tie-work

source

Variables


*instance-tie-work*

*instance-tie-work*: instance-tie-worksource

*prototype-tie-work*

*prototype-tie-work*: prototype-tie-worksource

Types


tie-consts

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

tie-end-buffer(arg0: dma-buffer) => nonesource
Add to dma buffer after drawing. This resets things to the usual state.

tie-float-reg

tie-float-reg(arg0: int) => stringsource

tie-floats

tie-floats() => nonesource

tie-init-consts

tie-init-consts(arg0: tie-consts, arg1: int) => nonesource
Initialize TIE constants. arg1 enables alpha blending

tie-init-engine

tie-init-engine(arg0: dma-buffer, arg1: gs-test, arg2: int) => nonesource
Set up tie initialization DMA in the given buffer. arg2 picks abe.

tie-int-reg

tie-int-reg(arg0: int) => stringsource

tie-ints

tie-ints() => nonesource

Variables


tie-vu1-block

tie-vu1-block: vu-functionsource