Skip to main content

anim-tester

source

Types


DISP_LIST-bank

DISP_LIST-bank: basicsource
Fields
type: type
TV_SPACING: int32
BORDER_WIDTH: int32
BORDER_HEIGHT: int32
MAX_LINES: int32
CHAR_WIDTH: int32
INC_DELAY: int32
BORDER_LINES: int32
CXOFF: int32
CYOFF: int32
BXOFF: int32
BYOFF: int32

anim-test-obj

anim-test-obj: glst-named-nodesource
Fields
next: glst-node
prev: glst-node
privname: string
obj-art-group: art-group
seq-list: glst-list
flags: int32
mesh-geo: merc-ctrl
joint-geo: art-joint-geo
list-con: list-control
parent: uint32
anim-index: int32
anim-hindex: int32
seq-index: int32
seq-hindex: int32

anim-test-seq-item

anim-test-seq-item: glst-named-nodesource
Fields
next: glst-node
prev: glst-node
privname: string
speed: int32
blend: int32
first-frame: float
last-frame: float
num-frames: float
artist-base: float
flags: int32
parent: anim-test-sequence

anim-test-sequence

anim-test-sequence: glst-named-nodesource
Fields
next: glst-node
prev: glst-node
privname: string
item-list: glst-list
playing-item: int32
flags: int32
list-con: list-control
parent: anim-test-obj

anim-tester

anim-tester: process-drawablesource
Fields
type: type
name: basic
mask: process-mask
parent: pointer
brother: pointer
child: pointer
ppointer: pointer
self: process-tree
pool: dead-pool
status: basic
pid: int32
main-thread: cpu-thread
top-thread: thread
entity: entity-actor
state: state
trans-hook: function
post-hook: function
event-hook: function
allocated-length: int32
next-state: state
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
state-flags: state-flags
state-time: time-frame
flags: anim-tester-flags
obj-list: glst-list
current-obj: string
speed: int32
list-con: list-control
pick-con: list-control
item-field: int64
inc-delay: int32
inc-timer: int32
edit-mode: int32
old-mode: int32
anim-speed: float
anim-gspeed: float
anim-first: float
anim-last: float
States
anim-tester-process: TODO

anim-tester-bank

anim-tester-bank: basicsource
Fields
type: type
ANIM_SPEED: float
BLEND: float
OBJECT_LIST_X: int32
OBJECT_LIST_Y: int32
OBJECT_LIST_MIN_WIDTH: int32
ANIM_LIST_X: int32
ANIM_LIST_Y: int32
ANIM_LIST_MIN_WIDTH: int32
PICK_LIST_X: int32
PICK_LIST_Y: int32
PICK_LIST_MIN_WIDTH: int32
EDIT_LIST_X: int32
EDIT_LIST_Y: int32
EDIT_STATS_X: int32
EDIT_LIST_MIN_WIDTH: int32
EDIT_PICK_X: int32

list-control

list-control: structuresource
Fields
listfunc: function
list-owner: uint32
top: int32
left: int32
list: glst-list
the-node: glst-node
top-index: int32
the-index: int32
the-disp-line: int32
highlight-index: int32
current-index: int32
numlines: int32
lines-to-disp: int32
charswide: int32
highlight-disp-line: int32
field-id: int32
xpos: int32
ypos: int32
user-info: int32
user-info-u: uint32
return-int: int32

list-field

list-field: structuresource
Fields
left: int32
width: int32

Variables


*ANIM_TESTER-bank*

*ANIM_TESTER-bank*: anim-tester-banksource

*DISP_LIST-bank*

*DISP_LIST-bank*: DISP_LIST-banksource

anim-test-field-highlight-lw

anim-test-field-highlight-lw: inline-arraysource

assert-h

source

Types


__assert-info-private-struct

__assert-info-private-struct: structuresource
Fields
filename: string
line-num: uint16
column-num: uint16
Methods
set-pos(obj: __assert-info-private-struct, filename: string, line-num: uint, column-num: uint) => intsource
print-pos(obj: __assert-info-private-struct) => intsource

Variables


*__private-assert-info*

*__private-assert-info*: __assert-info-private-structsource

assert

source

Functions


__assert

__assert(expr: symbol, msg: string) => intsource

Assert that expr is truthy, print assert information otherwise

__assert-min-max-range-float

__assert-min-max-range-float(expr: float, minimum: float, maximum: float, msg-expr: string, msg-min: string, msg-max: string) => intsource

Assert that float expr is a larger value than minimum and smaller than maximum, print assert information otherwise

__assert-min-max-range-int

__assert-min-max-range-int(expr: int, minimum: int, maximum: int, msg-expr: string, msg-min: string, msg-max: string) => intsource

Assert that integer expr is a larger value than minimum and smaller than maximum, print assert information otherwise

__assert-zero-lim-range-int

__assert-zero-lim-range-int(expr: int, maximum: int, msg-expr: string, msg-max: string) => intsource

Assert that integer expr is a larger value than zero and smaller than maximum, print assert information otherwise

Variables


*run-time-assert-enable*

*run-time-assert-enable*: symbolsource

debug-h

source

Types


debug-vertex

debug-vertex: structuresource
Fields
trans: vector4w
normal: vector3h
st: vector2h
color: uint32

debug-vertex-stats

debug-vertex-stats: basicsource
Fields
type: type
length: int32
pos-count: int32
vertex: debug-vertex

pos-history

pos-history: structuresource
Fields
points: inline-array
num-points: int32
h-first: int32
h-last: int32

debug-sphere

source

Types


debug-sphere-table

debug-sphere-table: basicsource
Fields
type: type
point: vector

Functions


add-debug-sphere-from-table

add-debug-sphere-from-table(arg0: bucket-id, arg1: vector, arg2: float, arg3: rgba) => nonesource

Draw a wireframe sphere

make-debug-sphere-table

make-debug-sphere-table(arg0: debug-sphere-table) => nonesource

Variables


*debug-sphere-table*

*debug-sphere-table*: debug-sphere-tablesource

DEBUG_SPHERE_SEC_AMT

DEBUG_SPHERE_SEC_AMT: unknownsource

DEBUG_SPHERE_SEC_H

DEBUG_SPHERE_SEC_H: unknownsource

DEBUG_SPHERE_SEC_W

DEBUG_SPHERE_SEC_W: unknownsource

Types


debug-line

debug-line: structuresource
Fields
flags: int32
bucket: bucket-id
v1: vector
v2: vector
color: rgba
mode: symbol
color2: rgba

debug-text-3d

debug-text-3d: structuresource
Fields
flags: int32
bucket: bucket-id
pos: vector
color: font-color
offset: vector2h
str: string

debug-tracking-thang

debug-tracking-thang: basicsource
Fields
type: type
length: int32
allocated-length: int32

Functions


add-debug-arc

add-debug-arc(arg0: symbol, arg1: bucket-id, arg2: vector, arg3: float, arg4: float, arg5: float, arg6: rgba, arg7: matrix) => symbolsource

add-debug-box

add-debug-box(arg0: symbol, arg1: bucket-id, arg2: vector, arg3: vector, arg4: rgba) => symbolsource

add-debug-circle

add-debug-circle(arg0: symbol, arg1: bucket-id, arg2: vector, arg3: float, arg4: rgba, arg5: matrix) => symbolsource

add-debug-curve

add-debug-curve(arg0: symbol, arg1: bucket-id, arg2: inline-array, arg3: int, arg4: pointer, arg5: int, arg6: rgba) => symbolsource

add-debug-curve2

add-debug-curve2(arg0: symbol, arg1: bucket-id, arg2: curve, arg3: rgba, arg4: symbol) => symbolsource

add-debug-flat-triangle

add-debug-flat-triangle(enable-draw: symbol, bucket: bucket-id, p0: vector, p1: vector, p2: vector, color: rgba) => symbolsource

add-debug-light

add-debug-light(arg0: symbol, arg1: bucket-id, arg2: light, arg3: vector, arg4: string) => symbolsource

add-debug-lights

add-debug-lights(arg0: symbol, arg1: bucket-id, arg2: inline-array, arg3: vector) => symbolsource

add-debug-line

add-debug-line(enable-draw: symbol, bucket: bucket-id, p0: vector, p1: vector, color: rgba, mode: symbol, color2: rgba) => symbolsource

add-debug-line2d

add-debug-line2d(arg0: symbol, arg1: bucket-id, arg2: vector, arg3: vector, arg4: vector) => symbolsource

add-debug-matrix

add-debug-matrix(arg0: symbol, arg1: bucket-id, arg2: matrix) => matrixsource

add-debug-outline-triangle

add-debug-outline-triangle(enable: symbol, bucket: bucket-id, p0: vector, p1: vector, p2: vector, color: rgba) => symbolsource

add-debug-point

add-debug-point(enable-draw: symbol, bucket: bucket-id, pt: vector) => symbolsource

add-debug-points

add-debug-points(arg0: symbol, arg1: bucket-id, arg2: inline-array, arg3: int, arg4: rgba, arg5: float, arg6: int) => symbolsource

add-debug-rot-matrix

add-debug-rot-matrix(arg0: symbol, arg1: bucket-id, arg2: matrix, arg3: vector) => matrixsource

add-debug-sphere

add-debug-sphere(arg0: symbol, arg1: bucket-id, arg2: vector, arg3: meters, arg4: rgba) => symbolsource

add-debug-sphere-with-transform

add-debug-sphere-with-transform(arg0: symbol, arg1: bucket-id, arg2: vector, arg3: meters, arg4: matrix, arg5: rgba) => symbolsource

add-debug-spheres

add-debug-spheres(arg0: symbol, arg1: bucket-id, arg2: inline-array, arg3: int, arg4: rgba) => symbolsource

add-debug-text-3d

add-debug-text-3d(arg0: symbol, arg1: bucket-id, arg2: string, arg3: vector, arg4: font-color, arg5: vector2h) => symbolsource

add-debug-text-sphere

add-debug-text-sphere(arg0: symbol, arg1: bucket-id, arg2: vector, arg3: meters, arg4: string, arg5: rgba) => symbolsource

add-debug-triangle-normal

add-debug-triangle-normal(enable: symbol, bucket: bucket-id, p0: vector, p1: vector, p2: vector, color: rgba) => symbolsource

add-debug-vector

add-debug-vector(arg0: symbol, arg1: bucket-id, arg2: vector, arg3: vector, arg4: meters, arg5: rgba) => symbolsource

add-debug-x

add-debug-x(arg0: symbol, arg1: bucket-id, arg2: vector, arg3: rgba) => symbolsource

add-debug-yrot-vector

add-debug-yrot-vector(arg0: symbol, arg1: bucket-id, arg2: vector, arg3: float, arg4: float, arg5: rgba) => symbolsource

debug-draw-buffers

debug-draw-buffers() => symbolsource

debug-pad-display

debug-pad-display(arg0: cpad-info) => symbolsource

debug-percent-bar

debug-percent-bar(arg0: symbol, arg1: bucket-id, arg2: int, arg3: int, arg4: float, arg5: rgba) => symbolsource

debug-reset-buffers

debug-reset-buffers() => symbolsource

display-file-info

display-file-info() => intsource

dma-timeout-cam

dma-timeout-cam() => vectorsource

drawable-frag-count

drawable-frag-count(arg0: drawable) => intsource

get-debug-line

get-debug-line() => debug-linesource

get-debug-text-3d

get-debug-text-3d() => debug-text-3dsource

history-draw-and-update

history-draw-and-update(arg0: pos-history, arg1: int, arg2: vector) => symbolsource

history-init

history-init(arg0: pos-history, arg1: int) => pos-historysource

internal-draw-debug-line

internal-draw-debug-line(bucket: bucket-id, p0: vector, p1: vector, first-color: rgba, mode: symbol, second-color: rgba) => pointersource

internal-draw-debug-text-3d

internal-draw-debug-text-3d(bucket: bucket-id, str: string, location: vector, font-color-id: font-color, offset: vector2h) => pointersource

transform-float-point

transform-float-point(in: vector, out: vector4w) => vector4wsource

Transform point in and store the result in out.
This uses the cached vf register transformation matrix
Note that the input/output order of the arguments is swapped from usual

Variables


*debug-lines-trk*

*debug-lines-trk*: debug-tracking-thangsource

*debug-lines*

*debug-lines*: inline-arraysource

*debug-text-3d-trk*

*debug-text-3d-trk*: debug-tracking-thangsource

*debug-text-3ds*

*debug-text-3ds*: inline-arraysource

default-menu

source

Variables


*debug-menu-context*

*debug-menu-context*: debug-menu-contextsource

*dm-cam-mode-interpolation*

*dm-cam-mode-interpolation*: intsource

*enable-instance-tie-menu*

*enable-instance-tie-menu*: debug-menusource

*instance-shrub-menu*

*instance-shrub-menu*: debug-menusource

*instance-tie-menu*

*instance-tie-menu*: debug-menusource
*popup-menu-context*: debug-menu-contextsource

*shader-pick-menu*

*shader-pick-menu*: debug-menusource

memory-usage-h

source

Types


memory-usage-block

memory-usage-block: basicsource
Fields
type: type
work-bsp: basic
length: int32
data: memory-usage-info
Methods
reset!(obj: memory-usage-block) => _type_source

Reset all memory stats to 0.

calculate-total(obj: memory-usage-block) => intsource

Compute the total memory usage of everything in the block.

print-mem-usage(obj: memory-usage-block, arg0: level, arg1: object) => nonesource

Print memory usage. Uses a foramt that will fit on screen.

memory-usage-info

memory-usage-info: structuresource
Fields
name: string
count: int32
used: int32
total: int32

Variables


*dma-mem-usage*

*dma-mem-usage*: memory-usage-blocksource

*mem-usage*

*mem-usage*: memory-usage-blocksource

*temp-mem-usage*

*temp-mem-usage*: memory-usage-blocksource

memory-usage

source

Variables


*max-dma*

*max-dma*: intsource

Types


debug-menu

debug-menu: debug-menu-nodesource
Fields
type: type
name: string
parent: debug-menu
refresh-delay: int32
refresh-ctr: int32
context: debug-menu-context
selected-item: debug-menu-item
pix-width: int32
pix-height: int32
items: pair

debug-menu-context

debug-menu-context: basicsource
Fields
type: type
is-active: symbol
sel-length: int32
sel-menu: debug-menu
root-menu: debug-menu
joypad-func: function
joypad-item: basic
font: font-context
is-hidden: symbol

debug-menu-item

debug-menu-item: debug-menu-nodesource
Fields
type: type
name: string
parent: debug-menu
refresh-delay: int32
refresh-ctr: int32
id: int32

debug-menu-item-flag

debug-menu-item-flag: debug-menu-itemsource
Fields
type: type
name: string
parent: debug-menu
refresh-delay: int32
refresh-ctr: int32
id: int32
activate-func: function
is-on: object

debug-menu-item-function

debug-menu-item-function: debug-menu-itemsource
Fields
type: type
name: string
parent: debug-menu
refresh-delay: int32
refresh-ctr: int32
id: int32
activate-func: function
hilite-timer: int8

debug-menu-item-submenu

debug-menu-item-submenu: debug-menu-itemsource
Fields
type: type
name: string
parent: debug-menu
refresh-delay: int32
refresh-ctr: int32
id: int32
submenu: debug-menu

debug-menu-item-var

debug-menu-item-var: debug-menu-itemsource
Fields
type: type
name: string
parent: debug-menu
refresh-delay: int32
refresh-ctr: int32
id: int32
display-str: string
grabbed-joypad-p: symbol
float-p: symbol
range-p: symbol
show-len: int32
inc-delay: int32
inc-delay-ctr: int32
step-delay-ctr: int32
inc-dir: int32
fval: float
fundo-val: float
frange-min: float
frange-max: float
fstart-inc: float
fstep: float
fprecision: int32
factivate-func: function
ival: int32
iundo-val: int32
irange-min: int32
irange-max: int32
istart-inc: int32
istep: int32
ihex-p: symbol
iactivate-func: function
ifloat-p: symbol

debug-menu-node

debug-menu-node: basicsource
Fields
type: type
name: string
parent: debug-menu
refresh-delay: int32
refresh-ctr: int32

part-tester

source

Types


part-tester

part-tester: processsource
Fields
type: type
name: basic
mask: process-mask
parent: pointer
brother: pointer
child: pointer
ppointer: pointer
self: process-tree
pool: dead-pool
status: basic
pid: int32
main-thread: cpu-thread
top-thread: thread
entity: entity-actor
state: state
trans-hook: function
post-hook: function
event-hook: function
allocated-length: int32
next-state: state
heap-base: pointer
heap-top: pointer
heap-cur: pointer
stack-frame-top: stack-frame
connection-list: connectable
stack: uint8
root: trsqv
part: sparticle-launch-control
old-group: sparticle-launch-group

Variables


*part-tester-id*

*part-tester-id*: intsource

*part-tester-id*

*part-tester-id*: intsource

*part-tester-name*

*part-tester-name*: stringsource

stats-h

source

Types


merc-global-stats

merc-global-stats: structuresource
Fields
merc: tr-stat
mercneric: tr-stat

perf-stat

perf-stat: structuresource
Fields
frame-number: uint32
count: uint32
cycles: uint32
instructions: uint32
icache: uint32
dcache: uint32
select: uint32
ctrl: uint32
accum0: uint32
accum1: uint32
to-vu0-waits: uint32
to-spr-waits: uint32
from-spr-waits: uint32
Methods
perf-stat-method-9: unknown
print-to-stream(obj: perf-stat, arg0: string, arg1: basic) => nonesource

Print performance info to a stream. But the stream is ignored and it is
printed to the screen.

reset!(obj: perf-stat) => nonesource

Perfomance counters are partially implemented, they just count cycles.

read!(obj: perf-stat) => nonesource

Perfomance counters are partially implemented, they just count cycles.

update-wait-stats(obj: perf-stat, arg0: uint, arg1: uint, arg2: uint) => nonesource

perf-stat-array

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

tr-stat

tr-stat: structuresource
Fields
groups: uint16
fragments: uint16
tris: uint32
dverts: uint32
instances: uint16
pad: uint16

Variables


*pc-perf-stat-counter*

*pc-perf-stat-counter*: uintsource

viewer

source

Types


viewer

viewer: process-drawablesource
Fields
type: type
name: basic
mask: process-mask
parent: pointer
brother: pointer
child: pointer
ppointer: pointer
self: process-tree
pool: dead-pool
status: basic
pid: int32
main-thread: cpu-thread
top-thread: thread
entity: entity-actor
state: state
trans-hook: function
post-hook: function
event-hook: function
allocated-length: int32
next-state: state
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
state-flags: state-flags
state-time: time-frame
janim: art-joint-anim
States
viewer-process: TODO

Functions


actor-get-arg!

actor-get-arg!(arg0: string, arg1: string, arg2: string) => symbolsource

add-a-bunch

add-a-bunch(arg0: string, arg1: int, arg2: int, arg3: float) => symbolsource

art-part-name

art-part-name(arg0: string) => stringsource

birth-viewer

birth-viewer(arg0: process, arg1: entity-actor) => objectsource

init-viewer

init-viewer(arg0: string) => objectsource

init-viewer-for-other

init-viewer-for-other(arg0: string, arg1: vector) => nonesource

Variables


*viewer-sg*

*viewer-sg*: skeleton-groupsource

viewer-geo-name

const viewer-geo-name: stringsource

viewer-ja-name

const viewer-ja-name: stringsource

viewer-string

const viewer-string: stringsource