Skip to main content

aligner-h

source

Types


align-control

align-control: basicsource
Fields
type: type
flags: align-flags
process: process-drawable
frame-group: art-joint-anim
frame-num: float
matrix: matrix
transform: transform
delta: transformq
last-speed: meters
align: transformq
Methods
compute-alignment!(obj: align-control) => transformqsource
align!(obj: align-control, options: align-opts, x: float, y: float, z: float) => trsqvsource

As long as align-flags::0 is not set call process-drawable::16 on the process being controlled
using the arguments passed to construct a vector - <x, y, z, 1.0>

@see process-drawable::16

align-vel-and-quat-only!(obj: align-control, arg0: align-opts, arg1: vector, arg2: int, arg3: float, arg4: float) => trsqvsource
first-transform(obj: align-control) => transformsource
second-transform(obj: align-control) => transformsource

fma-sphere

source

Types


fma-sphere

fma-sphere: process-drawablesource
Fields
type: type
name: string
mask: process-mask
clock: clock
parent: pointer
brother: pointer
child: pointer
ppointer: pointer
self: process-tree
pool: dead-pool
status: symbol
pid: int32
main-thread: cpu-thread
top-thread: cpu-thread
entity: entity-actor
level: level
state: state
next-state: state
trans-hook: function
post-hook: function
event-hook: function
allocated-length: int32
pad-unknown-0: uint32
heap-base: pointer
heap-top: pointer
heap-cur: pointer
stack-frame-top: stack-frame
connection-list: connectable
stack: uint8
root: trsqv
node-list: cspace-array
draw: draw-control
skel: joint-control
nav: nav-control
align: align-control
path: path-control
vol: vol-control
fact: fact-info
link: actor-link-info
part: sparticle-launch-control
water: water-control
sound: ambient-sound
carry: carry-info
rbody: rigid-body-control
state-flags: state-flags
state-time: time-frame
root-override: collide-shape
first-time?: symbol
mode: fma-sphere-mode
track-handle: handle
track-joint: int32
attack-id: uint32
duration: time-frame
sphere: sphere
danger: traffic-danger-info
Methods
idle: unknown

Functions


fma-sphere-init-by-other

fma-sphere-init-by-other(arg0: fma-sphere-mode, arg1: process-drawable, arg2: int, arg3: time-frame, arg4: vector, arg5: vector) => nonesource

joint-exploder

source

Types


joint-exploder

joint-exploder: process-drawablesource
Fields
type: type
name: string
mask: process-mask
clock: clock
parent: pointer
brother: pointer
child: pointer
ppointer: pointer
self: process-tree
pool: dead-pool
status: symbol
pid: int32
main-thread: cpu-thread
top-thread: cpu-thread
entity: entity-actor
level: level
state: state
next-state: state
trans-hook: function
post-hook: function
event-hook: function
allocated-length: int32
pad-unknown-0: uint32
heap-base: pointer
heap-top: pointer
heap-cur: pointer
stack-frame-top: stack-frame
connection-list: connectable
stack: uint8
root: trsqv
node-list: cspace-array
draw: draw-control
skel: joint-control
nav: nav-control
align: align-control
path: path-control
vol: vol-control
fact: fact-info
link: actor-link-info
part: sparticle-launch-control
water: water-control
sound: ambient-sound
carry: carry-info
rbody: rigid-body-control
state-flags: state-flags
state-time: time-frame
die-if-below-y: float
die-if-beyond-xz-dist-sqrd: float
joints: joint-exploder-joints
static-params: joint-exploder-static-params
anim: art-joint-anim
scale-vector: vector
tuning: joint-exploder-tuning
lists: joint-exploder-list
Methods
add-joint-to-list(obj: joint-exploder, arg0: joint-exploder-list, arg1: int) => intsource
update-bbox-for-joint(obj: joint-exploder, arg0: joint-exploder-list, arg1: joint-exploder-joint) => nonesource
do-collision-response(obj: joint-exploder, arg0: joint-exploder-list) => nonesource
init-joint-list(obj: joint-exploder) => nonesource
remove-from-list-and-reset(obj: joint-exploder, arg0: joint-exploder-list, arg1: int) => intsource
final-adjust(obj: joint-exploder, arg0: joint-exploder-list, arg1: int) => intsource
integrate-and-kill(obj: joint-exploder, arg0: joint-exploder-list) => nonesource
remove-joint-from-list(obj: joint-exploder, arg0: joint-exploder-list, arg1: int) => intsource
adjust-bbox-for-limits-along-axis(obj: joint-exploder, arg0: joint-exploder-list, arg1: int) => joint-exploder-listsource
adjust-bbox-for-limits(obj: joint-exploder, arg0: joint-exploder-list) => nonesource
States
joint-exploder-shatter: TODO

joint-exploder-joint

joint-exploder-joint: structuresource
Fields
next: int16
prev: int16
joint-index: int16
mat: matrix
rmat: matrix
update-rmat: matrix
transv: vector
prev-pos: vector

joint-exploder-joints

joint-exploder-joints: basicsource
Fields
type: type
num-joints: int32
joint: joint-exploder-joint

joint-exploder-list

joint-exploder-list: structuresource
Fields
head: int32
pre-moved?: symbol
bbox-valid?: symbol
probeless?: symbol
bbox: bounding-box

joint-exploder-static-joint-params

joint-exploder-static-joint-params: structuresource
Fields
joint-index: int16
parent-joint-index: int16

joint-exploder-static-params

joint-exploder-static-params: basicsource
Fields
type: type
joints: array
collide-spec: uint32
art-level: symbol

joint-exploder-tuning

joint-exploder-tuning: structuresource
Fields
explosion: uint64
duration: time-frame
gravity: float
rot-speed: float
bounds-inflate: float
max-probe-width: float
max-probe-height: float
max-probe-depth: float
fountain-rand-transv-lo: vector
fountain-rand-transv-hi: vector
away-from-focal-pt: vector
away-from-rand-transv-xz-lo: float
away-from-rand-transv-xz-hi: float
away-from-rand-transv-y-lo: float
away-from-rand-transv-y-hi: float
hit-xz-reaction: float
hit-y-reaction: float

Functions


joint-exploder-init-by-other

joint-exploder-init-by-other(arg0: skeleton-group, arg1: int, arg2: joint-exploder-tuning, arg3: joint-exploder-static-params) => nonesource

joint-exploder-joint-callback

joint-exploder-joint-callback(arg0: draw-control, arg1: cspace-array, arg2: joint-control) => nonesource

joint-h

source

Types


channel-upload-info

channel-upload-info: structuresource
Fields
fixed: joint-anim-compressed-fixed
fixed-qwc: int32
frame: joint-anim-compressed-frame
frame-qwc: int32
amount: float
interp: float

joint-control

joint-control: basicsource
Fields
type: type
status: joint-control-status
allocated-length: uint8
active-channels: uint8
root-channel: inline-array
blend-index: uint8
active-frame-interp: uint8
float-channels: uint8
generate-frame-function: function
prebind-function: function
postbind-function: function
effect: effect-control
interp-select: int64
top-anim: top-anim-joint-control
override: array
channel: joint-control-channel
Methods
current-cycle-distance(obj: joint-control) => floatsource
update-anim-data(obj: joint-control) => nonesource
debug-print-channels(obj: joint-control, arg0: symbol) => intsource

joint-control-channel

joint-control-channel: structuresource
Fields
parent: joint-control
frame-group: art-joint-anim
frame-num: float
dist: meters
num-func: function
param: float
frame-interp: float
inspector-amount: uint8
command: joint-control-command
group-sub-index: int8
group-size: int8
eval-time: uint32

joint-work

joint-work: structuresource
Fields
temp-mtx: matrix
joint-stack: matrix-stack
fix-jmp-table: function
frm-jmp-table: function
pair-jmp-table: function
uploads: channel-upload-info
num-uploads: int32
mtx-acc: matrix
tq-acc: transformq
jacp-hdr: joint-anim-compressed-hdr
fixed-data: joint-anim-compressed-fixed
frame-data: joint-anim-compressed-frame
flatten-array: float
flattened: vector

matrix-stack

matrix-stack: structuresource
Fields
top: matrix
data: matrix

top-anim-joint-control

top-anim-joint-control: basicsource
Fields
type: type
process: pointer
interp-select: uint64
base-anim: basic
base-anim-speed: float
base-anim-blend: float
interp: float
frame-group: art-joint-anim
frame-group-push: art-joint-anim
frame-num: float
frame-targ: art-joint-anim
frame-speed: float
frame-blend: float
frame-cur-blend: float
frame-start: float
frame-post-blend: float
frame-post-end: float
frame-push-time: time-frame
frame-post-put-away: basic
update-time: time-frame
Methods
reset(obj: top-anim-joint-control) => nonesource
update(obj: top-anim-joint-control) => nonesource
get-channel(obj: top-anim-joint-control, arg0: int) => joint-control-channelsource
push-anim-to-targ(obj: top-anim-joint-control, arg0: art-joint-anim, arg1: float, arg2: int, arg3: int, arg4: float, arg5: float, arg6: symbol) => nonesource

joint-mod-h

source

Types


joint-mod

joint-mod: basicsource
Fields
type: type
mode: joint-mod-mode
process: process-drawable
joint: cspace
target: vector
twist: vector
twist-max: vector
extra-twist: degrees
track-mode: track-mode
loock-at-count: uint16
twist-range-x: meters
twist-range-y: meters
twist-speed-x: float
twist-speed-y: float
twist-min-x: float
twist-min-y: float
trans: vector
shmushy-old: float
smushy-off: float
smushyv: float
quat: quaternion
scale: vector
notice-time: time-frame
flex-blend: float
blend: float
max-dist: meters
ignore-angle: degrees
up: uint8
nose: uint8
ear: uint8
base-joint: uint8
base-nose: uint8
shutting-down?: symbol
parented-scale?: symbol
polar-internal-tilt-max: float
polar-internal-radius: float
polar-external-tilt-max: float
polar-external-radius: float
Methods
mode-set!(obj: joint-mod, arg0: joint-mod-mode) => nonesource
target-set!(obj: joint-mod, arg0: vector) => nonesource
look-at!(obj: joint-mod, arg0: vector, arg1: symbol, arg2: process) => nonesource
reset-blend!(obj: joint-mod) => _type_source
twist-set!(obj: joint-mod, arg0: float, arg1: float, arg2: float) => vectorsource
trs-set!(obj: joint-mod, arg0: vector, arg1: quaternion, arg2: vector) => nonesource
shut-down(obj: joint-mod) => nonesource

joint-mod-add-local

joint-mod-add-local: basicsource
Fields
type: type
transform: transformq
add-rotation: symbol
add-scale: symbol
add-translation: symbol
enable: symbol

joint-mod-blend-local

joint-mod-blend-local: basicsource
Fields
type: type
transform: transformq
blend-transform: transformq
node-index: int32
blend: float
enable: symbol

joint-mod-blend-world

joint-mod-blend-world: basicsource
Fields
type: type
transform: transformq
blend-transform: transformq
blend-flags: joint-mod-blend-flags
node-index: int32
blend: float
enable: symbol

joint-mod-ik

joint-mod-ik: basicsource
Fields
type: type
flags: joint-mod-ik-flags
process: process-drawable
hand-dist: float
handle-pos: vector
elbow-pole-vector-axis: uint32
elbow-rotation-axis: uint32
user-position: vector
user-normal: vector
user-blend: float
user-float: float
callback: function
shoulder-matrix-no-ik: matrix
elbow-matrix-no-ik: matrix
blend: float
blend-interp: float
Methods
handle-copy!(obj: joint-mod-ik, arg0: vector) => nonesource
enable-set!(obj: joint-mod-ik, arg0: symbol) => nonesource

joint-mod-rotate-local

joint-mod-rotate-local: basicsource
Fields
type: type
enable: symbol
rotation: quaternion

joint-mod-set-local

joint-mod-set-local: basicsource
Fields
type: type
transform: transformq
set-rotation: symbol
set-scale: symbol
set-translation: symbol
enable: symbol

joint-mod-set-world

joint-mod-set-world: basicsource
Fields
type: type
transform: transformq
node-index: int32
enable: symbol

joint-mod-spinner

joint-mod-spinner: basicsource
Fields
type: type
spin-axis: vector
angle: float
spin-rate: float
enable: symbol

joint-mod-wheel

joint-mod-wheel: basicsource
Fields
type: type
last-position: vector
angle: float
process: process-drawable
wheel-radius: float
wheel-axis: int8

try-to-look-at-info

try-to-look-at-info: basicsource
Fields
type: type
who: handle
horz: float
vert: float

Functions


joint-mod-add-local-callback

joint-mod-add-local-callback(arg0: cspace, arg1: transformq) => nonesource

joint-mod-blend-local-callback

joint-mod-blend-local-callback(arg0: cspace, arg1: transformq) => nonesource

joint-mod-blend-world-callback

joint-mod-blend-world-callback(arg0: cspace, arg1: transformq) => nonesource

joint-mod-debug-draw

joint-mod-debug-draw(arg0: joint-mod) => nonesource

joint-mod-rotate-local-callback

joint-mod-rotate-local-callback(arg0: cspace, arg1: transformq) => nonesource

joint-mod-set-local-callback

joint-mod-set-local-callback(arg0: cspace, arg1: transformq) => nonesource

joint-mod-set-world-callback

joint-mod-set-world-callback(arg0: cspace, arg1: transformq) => nonesource

joint-mod-spinner-callback

joint-mod-spinner-callback(arg0: cspace, arg1: transformq) => nonesource

joint-mod-wheel-callback

joint-mod-wheel-callback(arg0: cspace, arg1: transformq) => nonesource

Variables


*joint-axis-vectors*

*joint-axis-vectors*: inline-arraysource

joint-mod

source

Functions


joint-mod-foot-rot-handler

joint-mod-foot-rot-handler(arg0: cspace, arg1: transformq) => nonesource

joint-mod-gun-look-at-handler

joint-mod-gun-look-at-handler(arg0: cspace, arg1: transformq) => nonesource

joint-mod-ik-callback

joint-mod-ik-callback(arg0: cspace, arg1: transformq) => nonesource

joint-mod-joint-set*-handler

joint-mod-joint-set*-handler(arg0: cspace, arg1: transformq) => nonesource

joint-mod-joint-set*-world-handler

joint-mod-joint-set*-world-handler(arg0: cspace, arg1: transformq) => nonesource

joint-mod-joint-set-handler

joint-mod-joint-set-handler(arg0: cspace, arg1: transformq) => nonesource

joint-mod-joint-set-world-handler

joint-mod-joint-set-world-handler(arg0: cspace, arg1: transformq) => nonesource

joint-mod-look-at-handler

joint-mod-look-at-handler(arg0: cspace, arg1: transformq) => nonesource

joint-mod-polar-look-at-guts

joint-mod-polar-look-at-guts(arg0: cspace, arg1: transformq) => nonesource

joint-mod-polar-look-at-handler

joint-mod-polar-look-at-handler(arg0: cspace, arg1: transformq) => nonesource

joint-mod-rotate-handler

joint-mod-rotate-handler(arg0: cspace, arg1: transformq) => nonesource

joint-mod-scale-handler

joint-mod-scale-handler(arg0: cspace, arg1: transformq) => nonesource

joint-mod-world-look-at-handler

joint-mod-world-look-at-handler(arg0: cspace, arg1: transformq) => nonesource

real-joint-mod-gun-look-at-handler

real-joint-mod-gun-look-at-handler(arg0: cspace, arg1: transformq) => nonesource

Variables


last-try-to-look-at-data

last-try-to-look-at-data: try-to-look-at-infosource

Functions


create-interpolated-joint-animation-frame

create-interpolated-joint-animation-frame(arg0: joint-anim-frame, arg1: int, arg2: joint-control) => intsource

create-interpolated2-joint-animation-frame

create-interpolated2-joint-animation-frame(arg0: joint-anim-frame, arg1: int, arg2: joint-control) => intsource

cspace-calc-total-matrix!

cspace-calc-total-matrix!(arg0: cspace, arg1: matrix) => matrixsource

cspace<-cspace!

cspace<-cspace!(arg0: cspace, arg1: cspace) => matrixsource

cspace<-cspace-normalized!

cspace<-cspace-normalized!(arg0: cspace, arg1: cspace) => matrixsource

cspace<-matrix-joint!

cspace<-matrix-joint!(arg0: cspace, arg1: matrix) => matrixsource

cspace<-matrix-joint-flip-z!

cspace<-matrix-joint-flip-z!(arg0: cspace, arg1: matrix) => nonesource

cspace<-matrix-no-push-joint!

cspace<-matrix-no-push-joint!(arg0: cspace, arg1: joint-control) => matrixsource

cspace<-parent-joint!

cspace<-parent-joint!(arg0: cspace, arg1: pointer, arg2: int) => matrixsource

cspace<-parented-matrix-joint!

cspace<-parented-matrix-joint!(arg0: cspace, arg1: matrix) => matrixsource

cspace<-parented-matrix-joint-flip-z!

cspace<-parented-matrix-joint-flip-z!(arg0: cspace, arg1: matrix) => matrixsource

cspace<-parented-matrix-mirror!

cspace<-parented-matrix-mirror!(arg0: cspace, arg1: matrix) => matrixsource

cspace<-parented-transformq-joint-flip-z!

cspace<-parented-transformq-joint-flip-z!(arg0: cspace, arg1: transformq) => nonesource

cspace<-rot-yxy!

cspace<-rot-yxy!(arg0: cspace, arg1: transform) => matrixsource

cspace<-transform-yxy!

cspace<-transform-yxy!(arg0: cspace, arg1: transform) => matrixsource

cspace<-transformq!

cspace<-transformq!(arg0: cspace, arg1: transformq) => matrixsource

cspace<-transformq+rot-offset!

cspace<-transformq+rot-offset!(arg0: cspace, arg1: transformq, arg2: vector) => matrixsource

cspace<-transformq+trans!

cspace<-transformq+trans!(arg0: cspace, arg1: transformq, arg2: vector) => matrixsource

cspace<-transformq+world-trans!

cspace<-transformq+world-trans!(arg0: cspace, arg1: transformq, arg2: vector) => matrixsource

flatten-joint-control-to-spr

flatten-joint-control-to-spr(arg0: joint-control) => intsource

jacc-mem-usage

jacc-mem-usage(arg0: joint-anim-compressed-control, arg1: memory-usage-block, arg2: int) => joint-anim-compressed-controlsource

joint-anim-inspect-elt

joint-anim-inspect-elt(arg0: joint-anim, arg1: float) => joint-animsource

joint-anim-login

joint-anim-login(arg0: joint-anim-drawable) => joint-anim-drawablesource

joint-control-channel-eval

joint-control-channel-eval(arg0: joint-control-channel) => floatsource

joint-control-channel-eval!

joint-control-channel-eval!(arg0: joint-control-channel, arg1: function) => floatsource

joint-control-channel-group!

joint-control-channel-group!(arg0: joint-control-channel, arg1: art-joint-anim, arg2: function) => intsource

joint-control-channel-group-eval!

joint-control-channel-group-eval!(arg0: joint-control-channel, arg1: art-joint-anim, arg2: function) => intsource

joint-control-copy!

joint-control-copy!(arg0: joint-control, arg1: joint-control) => joint-controlsource

joint-control-remap!

joint-control-remap!(arg0: joint-control, arg1: art-group, arg2: art-group, arg3: pair, arg4: int, arg5: string) => objectsource

make-joint-jump-tables

make-joint-jump-tables() => intsource

matrix-from-control!

matrix-from-control!(arg0: matrix-stack, arg1: joint, arg2: joint-control, arg3: symbol) => matrixsource

matrix-from-control-channel!

matrix-from-control-channel!(arg0: matrix, arg1: joint, arg2: joint-control-channel) => matrixsource

matrix-from-control-pair!

matrix-from-control-pair!(arg0: matrix, arg1: matrix, arg2: joint, arg3: int) => matrixsource

matrix-from-joint-anim-frame

matrix-from-joint-anim-frame(arg0: joint-anim-compressed-control, arg1: int, arg2: int) => matrixsource

Variables


*anim-manager*

*anim-manager*: art-joint-anim-managersource

mspace-h

source

Types


bone

bone: structuresource
Fields
transform: matrix
position: vector
scale: vector

bone-cache

bone-cache: structuresource
Fields
bone-matrix: uint32
parent-matrix: uint32
dummy: uint32
frame: uint32

cspace

cspace: structuresource
Fields
parent: cspace
joint: joint
joint-num: int16
geo: drawable
bone: bone
param0: function
param1: basic
param2: basic
Methods
reset-and-assign-geo!(obj: cspace, arg0: drawable) => _type_source

cspace-array

cspace-array: inline-array-classsource
Fields
type: type
length: int32
allocated-length: int32
_data: uint8
data: cspace

joint

joint: basicsource
Fields
type: type
name: basic
number: int32
parent: joint
bind-pose: matrix

skeleton

skeleton: inline-array-classsource
Fields
type: type
length: int32
allocated-length: int32
_data: uint8
bones: bone