Skip to main content

base-plat

source

Types


base-plat

base-plat: process-focusablesource
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
focus-status: focus-status
root-override-2: collide-shape-moving
smush: smush-control
basetrans: vector
bounce-time: time-frame
bouncing: symbol
bounce-scale: meters
Methods
execute-effects(obj: base-plat) => nonesource

Executes various ancillary tasks with the platform, such as spawning particles or playing the associated sound

stop-bouncing!(obj: base-plat) => nonesource

Sets bouncing to false and resets related settings to their defaults

start-bouncing!(obj: base-plat) => nonesource

Sets bouncing to #t and sets up the clock to periodically bounce
and translate the platform via the smush
@see smush-control

get-art-group(obj: plat) => art-groupsource
init-plat-collision!(obj: plat) => nonesource

TODO - collision stuff for setting up the platform

base-plat-method-32(obj: base-plat) => nonesource
init-plat!(obj: base-plat) => nonesource

Does any necessary initial platform setup.
For example for an elevator pre-compute the distance between the first and last points (both ways) and clear the sound.

eco-door

eco-door: 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
speed: float
open-distance: float
close-distance: float
out-dir: vector
open-sound: sound-name
close-sound: sound-name
state-actor: entity-actor
flags: eco-door-flags
locked: symbol
auto-close: symbol
one-way: symbol
Methods
door-closed: unknown
door-opening: unknown
door-open: unknown
door-closing: unknown
lock-according-to-task!(obj: eco-door) => nonesource

If the associated subtask is completed, lock the door if eco-door-flags:0 is set
otherwise, lock it if eco-door-flags:0 is set

eco-door-method-25(obj: eco-door) => nonesource
stub(obj: eco-door) => nonesource

@unused - Stub with no overrides

Functions


eco-door-event-handler

eco-door-event-handler(proc: process, arg1: int, event-type: symbol, event: event-message-block) => objectsource

plat-code

plat-code() => nonesource

plat-event

plat-event(proc: process, arg1: int, event-type: symbol, event: event-message-block) => objectsource

plat-post

plat-post() => nonesource

plat-trans

plat-trans() => nonesource

basebutton

source

Types


basebutton

basebutton: process-focusablesource
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
focus-status: focus-status
button-status: button-status
notify-actor: entity
actor-group: pointer
actor-group-count: int32
timeout: float
button-id: int32
event-going-down: symbol
event-down: symbol
event-going-up: symbol
event-up: symbol
anim-speed: float
move-to-pos: vector
move-to-quat: quaternion
Methods
down-idle: unknown
going-down: unknown
going-up: unknown
up-idle: unknown
reset!(obj: basebutton) => nonesource
idle-state-transition(obj: basebutton) => objectsource

If button-status has button-status:0 set, transition to basebutton::27 otherwise, basebutton::30

basebutton-method-33(obj: basebutton) => nonesource

TODO - joint stuff

basebutton-method-34(obj: basebutton) => nonesource

TODO - collision stuff

prepare-trigger-event!(obj: basebutton) => nonesource

Sets event-going-down to 'trigger

send-event!(obj: basebutton, event-type: symbol) => nonesource

Prepares an event-message-block using the provided type to send an event to:
- the notify-actor
- every entity-actor in the actor-group array
@see entity-actor

move-to!(obj: basebutton, vec: vector, quat: quaternion) => nonesource
press!(obj: basebutton, pressed?: symbol) => entity-perm-statussource

Functions


basebutton-init-by-other

basebutton-init-by-other(process-actor: entity-actor, vec: vector, quat: quaternion, notify-actor: entity-actor, pressed?: symbol, timeout: float) => nonesource

blocking-plane

source

Types


blocking-plane

blocking-plane: 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
Methods
idle: unknown
init!(obj: blocking-plane, vec-pair: inline-array, height: float) => nonesource

TODO - but sets up the plane given 2 vectors and a height

Functions


blocking-plane-destroy

blocking-plane-destroy() => nonesource

blocking-plane-init-by-other

blocking-plane-init-by-other(vec-pair: inline-array, height: float) => nonesource

blocking-plane-spawn

blocking-plane-spawn(arg0: curve-control, arg1: inline-array, arg2: float) => nonesource

collectables-part

source

Functions


eco-fadeout

eco-fadeout(arg0: sparticle-system, arg1: sparticle-cpuinfo) => nonesource

eco-track-root-prim-fadeout

eco-track-root-prim-fadeout(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: vector) => nonesource

collectables

source

Types


ammo

ammo: ammo-collectablesource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32
ammo-effect: basic

ammo-collectable

ammo-collectable: collectablesource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32
ammo-effect: basic

collectable

collectable: 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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32
Methods
blocked: unknown
wait: unknown
deploy: unknown
suck: unknown
jump: unknown
fade: unknown
pickup: unknown
die: unknown
notice-blue: unknown
init-common(obj: collectable, arg0: entity-actor, arg1: pickup-type, arg2: float) => nonesource
initialize-effects(obj: collectable, arg0: pickup-type) => nonesource
go-to-initial-state(obj: collectable) => nonesource
initialize-options(obj: collectable, arg0: int, arg1: float, arg2: fact-info) => collectablesource
initialize-allocations(obj: collectable) => nonesource
common-post(obj: collectable) => nonesource
do-pickup(obj: collectable, arg0: handle) => nonesource

eco

eco: collectablesource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32
respan-delay: seconds

eco-blue

eco-blue: ecosource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32
respan-delay: seconds

eco-green

eco-green: ecosource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32
respan-delay: seconds

eco-pill

eco-pill: collectablesource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32

eco-red

eco-red: ecosource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32
respan-delay: seconds

eco-yellow

eco-yellow: ecosource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32
respan-delay: seconds

ecovent

ecovent: process-hiddensource
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

fuel-cell

fuel-cell: process-hiddensource
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

gem

gem: moneysource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32
roty-speed: degrees
bounce-time: seconds

health

health: collectablesource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32

money

money: collectablesource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32

shield

shield: ammo-collectablesource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32
ammo-effect: basic

skate-point

skate-point: trick-pointsource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32

skill

skill: moneysource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32

trick-point

trick-point: collectablesource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32

upgrade-collectable

upgrade-collectable: ammo-collectablesource
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-override2: collide-shape-moving
pickup-type: pickup-type
pickup-amount: float
notify: handle
old-base: vector
base: vector
extra-trans: vector
jump-pos: vector
flags: collectable-flag
birth-time: seconds
collect-timeout: seconds
fadeout-timeout: seconds
bob-offset: seconds
bob-amount: float
pickup-handle: handle
actor-pause: symbol
collect-effect: basic
collect-effect2: basic
target: handle
suck-time: seconds
suck-y-offset: float
speed: vector
movie-pos-index: int32
ammo-effect: basic

Functions


add-blue-motion

add-blue-motion(arg0: symbol, arg1: symbol, arg2: symbol, arg3: symbol) => symbolsource

add-blue-shake

add-blue-shake(arg0: vector, arg1: vector, arg2: vector) => vectorsource

birth-pickup-at-point

birth-pickup-at-point(arg0: vector, arg1: pickup-type, arg2: float, arg3: symbol, arg4: process-tree, arg5: fact-info) => pointersource

check-blue-suck

check-blue-suck(arg0: process-drawable) => symbolsource

collectable-standard-event-handler

collectable-standard-event-handler(arg0: process, arg1: int, arg2: symbol, arg3: event-message-block) => objectsource

initialize-ammo-by-other

initialize-ammo-by-other(arg0: vector, arg1: vector, arg2: fact-info) => nonesource

initialize-eco-by-other

initialize-eco-by-other(arg0: vector, arg1: vector, arg2: fact-info) => nonesource

initialize-upgrade-by-other

initialize-upgrade-by-other(arg0: vector, arg1: vector, arg2: fact-info, arg3: entity-actor) => nonesource

money-init-by-other

money-init-by-other(arg0: vector, arg1: vector, arg2: fact-info, arg3: entity-actor) => nonesource

money-init-by-other-no-bob

money-init-by-other-no-bob(arg0: vector, arg1: vector, arg2: fact-info, arg3: float, arg4: entity-actor) => nonesource

Variables


*collectable-dummy-shadow-control*

*collectable-dummy-shadow-control*: shadow-controlsource

conveyor

source

Types


conveyor

conveyor: 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
speed: float
belt-radius: float
pull-y-threshold: float
speed-mult-array: array
speed-mult-array-len: int8
sections: conveyor-section-array
leading: plane
collide-bounds: sphere
Methods
idle: unknown
conveyor-method-21(obj: conveyor) => floatsource

TODO - quite dense, has to do with the conveyor sections and the path they are associated with

get-art-group(obj: conveyor) => art-groupsource
reset-root!(obj: conveyor) => nonesource

Re-initializes the root trsqv

init!(obj: conveyor) => nonesource

Initializes defaults for things like the speed and belt-radius

set-and-get-ambient-sound!(obj: conveyor) => ambient-soundsource

So long as actor-option::16 is not set, fetch the ambient-sound for the [[conveyor]]
and return it as well. Otherwise, set it to 0

conveyor-method-26(obj: conveyor, proc-focus: process-focusable) => symbolsource

TODO - conveyor section related, perhaps related to moving the process along the belt?

conveyor-method-27(obj: conveyor) => symbolsource

TODO - collision related, has some dead code as well (previous iteration?)

conveyor-section

conveyor-section: structuresource
Fields
start: vector
trailing: plane
pull-dir: vector
radial-dir: vector

conveyor-section-array

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

lgconveyor

lgconveyor: conveyorsource
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
speed: float
belt-radius: float
pull-y-threshold: float
speed-mult-array: array
speed-mult-array-len: int8
sections: conveyor-section-array
leading: plane
collide-bounds: sphere

strip-conveyor

strip-conveyor: conveyorsource
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
speed: float
belt-radius: float
pull-y-threshold: float
speed-mult-array: array
speed-mult-array-len: int8
sections: conveyor-section-array
leading: plane
collide-bounds: sphere

crates

source

Types


crate

crate: process-focusablesource
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
focus-status: focus-status
root-override2: collide-shape-moving
smush: smush-control
base: vector
look: symbol
defense: symbol
incoming-attack-id: uint32
target: handle
child-count: int32
victory-anim: spool-anim
Methods
hide: unknown
idle: unknown
die: unknown
special-contents-die: unknown
bounce-on: unknown
notice-blue: unknown
carry: unknown
fall: unknown
crate-init!(obj: crate, arg0: entity-actor) => nonesource

Initialize the crate with the specified [[entity-actor]].

skel-init!(obj: crate) => nonesource

Initialize the crate skeleton and other parameters based on the crate type.

params-set!(obj: crate, arg0: symbol, arg1: symbol) => nonesource

Set crate params based on the arguments.

crate-method-38(obj: crate) => nonesource
smush-update!(obj: crate) => nonesource
crate-method-40(obj: crate) => symbolsource

crate-bank

crate-bank: basicsource
Fields
type: type
COLLIDE_YOFF: float
COLLIDE_RADIUS: float
DARKECO_EXPLODE_RADIUS: float

pickup-spawner

pickup-spawner: cratesource
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
focus-status: focus-status
root-override2: collide-shape-moving
smush: smush-control
base: vector
look: symbol
defense: symbol
incoming-attack-id: uint32
target: handle
child-count: int32
victory-anim: spool-anim
blocker: entity-actor

Functions


crate-init-by-other

crate-init-by-other(arg0: entity, arg1: vector, arg2: symbol, arg3: fact-info-crate) => nonesource

crate-post

crate-post() => nonesource

crate-standard-event-handler

crate-standard-event-handler(arg0: process, arg1: int, arg2: symbol, arg3: event-message-block) => objectsource

Variables


*CRATE-bank*

*CRATE-bank*: crate-banksource

dark-eco-pool

source

Types


dark-eco-pool

dark-eco-pool: water-animsource
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
water-height: meters
wade-height: meters
swim-height: meters
bottom-height: meters
attack-event: symbol
attack-id: uint32
flow: flow-control
target: handle
flags: water-flags
look: int32
play-ambient-sound?: symbol
visible: symbol

Variables


*ripple-for-dark-eco-pool*

*ripple-for-dark-eco-pool*: ripple-wave-setsource

*ripple-strip-dark-eco-near-lift*

*ripple-strip-dark-eco-near-lift*: ripple-wave-setsource

elevator

source

Types


elevator

elevator: base-platsource
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
focus-status: focus-status
root-override-2: collide-shape-moving
smush: smush-control
basetrans: vector
bounce-time: time-frame
bouncing: symbol
bounce-scale: meters
params: elevator-params
path-seq: path-step-inline-array
path-dest: float
bottom-top: float
move-pos: float
move-dist: float
path-pos: float
path-eased-pos: float
ride-timer: time-frame
sticky-player-last-ride-time: time-frame
elevator-status: elevator-status
on-activate: pair
on-deactivate: pair
Methods
dormant: unknown
waiting: unknown
running: unknown
arrived: unknown
elevator-method-38: unknown
calc-dist-between-points!(obj: elevator, path-point-x: int, path-point-y: int) => nonesource

Calculates the distance between two points in the elevator's path.

activate-elevator(obj: elevator) => objectsource

Puts the elevator initially into the correct state. This is typically based upon game completion

init-defaults!(obj: elevator) => nonesource

Initializes default settings related to the [[elevator]]:
- elevator-xz-threshold
- elevator-y-threshold
- elevator-start-pos
- elevator-move-rate
- elevator-flags

set-ambient-sound!(obj: elevator) => nonesource

Sets the elevator's ambient-sound up

move-between-points(obj: elevator, arg0: vector, arg1: float, arg2: float) => symbolsource

Move between two points on the elevator's path
@see path-control and elevator

elevator-method-44(obj: elevator) => symbolsource
commited-to-ride?(obj: elevator) => symbolsource
move-to-next-point!(obj: elevator) => nonesource

If the target is in a valid state and there is a point to transition to in the elevator's path
do so.
@see elevator::47

find-closest-point-in-path!(obj: elevator, arg0: vector, arg1: pointer, arg2: symbol, arg3: symbol) => symbolsource

Finds and sets the provided path-step next-pos field to the vertex index in the path which is closest to
the provided [[vector]]

elevator-method-48(obj: elevator) => nonesource

TODO - collision related

elevator-params

elevator-params: structuresource
Fields
xz-threshold: float
y-threshold: float
start-pos: float
move-rate: float
flags: elevator-flags

path-step

path-step: structuresource
Fields
next-pos: float
dist: float

path-step-inline-array

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

Functions


ease-value-in-out

ease-value-in-out(value: float, step-amount: float) => floatsource

TODO - the math in this function is full of duplication and isn't totally clear
but if the name is to be believed, it's to slow a values grow at the beginning and end of it's range
which is obviously useful for an elevator.

elevator-event

elevator-event(proc: process, arg1: int, event-type: symbol, event: event-message-block) => objectsource

move-post

move-post() => nonesource

generic-obs-h

source

Types


explosion

explosion: 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
start-time: time-frame
duration: uint32
linger-duration: uint32
attack-id: uint32
Methods
explode: unknown
setup-explosion-collision(obj: explosion) => nonesource
explosion-method-22(obj: explosion) => nonesource

explosion-init-params

explosion-init-params: structuresource
Fields
spawn-point: vector
spawn-quat: quaternion
radius: float
group: sparticle-launch-group
collide-with: collide-spec
penetrate-using: penetrate

gui-query

gui-query: structuresource
Fields
x-position: int32
y-position: int32
message: string
decision: symbol
only-allow-cancel: symbol
no-msg: string
message-space: int32
Methods
gui-query-method-9: unknown
gui-query-method-10: unknown

lightning-tracker

lightning-tracker: processsource
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
ppointer-override: pointer
root: trsqv
lightning: lightning-control
callback: function
duration: uint64
start-time: time-frame
offset0: vector
offset1: vector
target0: handle
target1: handle
target-joint0: int32
target-joint1: int32
sound: uint32
userdata: uint64
user-time: time-frame
user-vector: vector
user-handle: handle
Methods
active: unknown
notify-parent-of-death(obj: lightning-tracker) => nonesource
update(obj: lightning-tracker) => nonesource

manipy

manipy: 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
new-trans-hook: function
cur-trans-hook: function
cur-event-hook: function
new-joint-anim: art-joint-anim
new-joint-anim-blend: uint64
anim-mode: symbol
cur-grab-handle: handle
cur-target-handle: handle
old-grab-pos: vector
joint: joint-mod
new-post-hook: function
cur-post-hook: function
clone-copy-trans: symbol
shadow-backup: basic
draw?: symbol
userdata: uint64
prefix: basic
shadow-volume-joint: int32
speed: float
user-uint64: uint64
options: manipy-options
Methods
idle: unknown

othercam

othercam: processsource
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
hand: handle
old-global-mask: process-mask
mask-to-clear: process-mask
cam-joint-index: int32
old-pos: vector
old-mat-z: vector
had-valid-frame: basic
border-value: basic
die?: symbol
survive-anim-end?: symbol
spooling?: symbol
fov: float
States
othercam-running: TODO

part-spawner

part-spawner: processsource
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
part: sparticle-launch-control
sound: ambient-sound
mode: pointer
enable: symbol
radius: meters
world-sphere: sphere
Methods
active: unknown
is-in-view?(obj: part-spawner) => symbolsource

part-tracker

part-tracker: processsource
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
mat: matrix
part: sparticle-launch-control
callback: function
linger-callback: function
duration: uint64
linger-duration: uint64
start-time: time-frame
target: handle
target-joint: int32
offset: vector
userdata: uint64
user-time: time-frame
user-vector: vector
user-handle: uint32
Methods
active: unknown
notify-parent-of-death(obj: part-tracker) => nonesource

process-hidden

process-hidden: processsource
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
Methods
die: unknown

swingpole

swingpole: 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
edge-length: meters
path-pos: float
joint-track: int32
speed: meters
dir: vector
sync: sync-eased
Methods
idle: unknown
active: unknown
move-along-path(obj: swingpole) => nonesource

touch-tracker

touch-tracker: 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
duration: time-frame
target: handle
event: symbol
run-function: function
callback: function
event-mode: basic
Methods
active: unknown

generic-obs

source

Types


camera-start

camera-start: process-hiddensource
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

launcher

launcher: 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
spring-height: meters
camera: state
active-distance: float
seek-time: time-frame
dest: vector
sound-id: sound-id
Methods
idle: unknown
active: unknown
deactivated: unknown

med-res-level

med-res-level: 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
level-name: basic
part-mode: basic
index: int32
Methods
idle: unknown

target-start

target-start: process-hiddensource
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

Functions


cam-launcher-joystick

cam-launcher-joystick() => vectorsource

cam-launcher-long-joystick

cam-launcher-long-joystick() => vectorsource

camera-look-at

camera-look-at(arg0: pair, arg1: uint) => processsource

camera-pov-from

camera-pov-from(arg0: pair, arg1: uint) => processsource

clone-anim

clone-anim(arg0: handle, arg1: symbol, arg2: string) => nonesource

clone-anim-once

clone-anim-once(arg0: handle, arg1: symbol, arg2: string) => nonesource

entity-lookup-part-group

entity-lookup-part-group(arg0: entity-actor, arg1: pointer, arg2: symbol) => pointersource

explosion-init-by-other

explosion-init-by-other(arg0: explosion-init-params) => objectsource

explosion-spawn

explosion-spawn(arg0: process-drawable, arg1: type, arg2: explosion-init-params) => nonesource

ja-anim-done?

ja-anim-done?(arg0: process) => symbolsource

launcher-init-by-other

launcher-init-by-other(arg0: vector, arg1: float, arg2: int, arg3: float) => nonesource

lightning-tracker-init

lightning-tracker-init(arg0: lightning-spec, arg1: time-frame, arg2: symbol, arg3: process-drawable, arg4: vector, arg5: vector) => nonesource

manipy-init

manipy-init(arg0: vector, arg1: entity-actor, arg2: skeleton-group, arg3: vector, arg4: object) => nonesource

manipy-post

manipy-post() => nonesource

part-tracker-init

part-tracker-init(arg0: sparticle-launch-group, arg1: time-frame, arg2: function, arg3: pointer, arg4: process, arg5: matrix) => nonesource

part-tracker-move-to-target

part-tracker-move-to-target(arg0: part-tracker) => vectorsource

part-tracker-track-root

part-tracker-track-root(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: vector) => nonesource

part-tracker-track-target

part-tracker-track-target(arg0: part-tracker) => vectorsource

process-drawable-pair-random-point!

process-drawable-pair-random-point!(arg0: process-drawable, arg1: process-drawable, arg2: vector, arg3: float) => vectorsource

process-drawable-random-point!

process-drawable-random-point!(arg0: process-drawable, arg1: vector) => vectorsource

process-grab?

process-grab?(arg0: process, arg1: symbol) => symbolsource

process-release?

process-release?(arg0: process) => symbolsource

swingpole-init

swingpole-init(arg0: int) => objectsource

touch-tracker-init

touch-tracker-init(arg0: vector, arg1: float, arg2: time-frame) => nonesource

Types


drop-plat

drop-plat: base-platsource
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
focus-status: focus-status
root-override-2: collide-shape-moving
smush: smush-control
basetrans: vector
bounce-time: time-frame
bouncing: symbol
bounce-scale: meters
art-name: string
anim: spool-anim
break-anim-name: string
safe-time: time-frame
hit-point: vector
Methods
idle: unknown
fall: unknown

plat

plat: base-platsource
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
focus-status: focus-status
root-override-2: collide-shape-moving
smush: smush-control
basetrans: vector
bounce-time: time-frame
bouncing: symbol
bounce-scale: meters
path-pos: float
sound-id: sound-id
sync: sync-eased
Methods
plat-idle: unknown
plat-path-active: unknown
plat-path-sync(obj: plat) => objectsource

If the sync period is greater than 0 then transition the state to [[plat::35]]
otherwise, [[plat::34]]

@see sync-eased

powerups

source

Functions


cloud-track

cloud-track(arg0: process-tree, arg1: process-tree, arg2: function, arg3: time-frame, arg4: time-frame, arg5: time-frame) => nonesource

eco-blue-glow

eco-blue-glow(arg0: vector) => nonesource

process-contact-action

process-contact-action(arg0: process) => nonesource

target-color-effect-process

target-color-effect-process() => nonesource

target-eco-process

target-eco-process() => nonesource

target-powerup-effect

target-powerup-effect(arg0: symbol) => nonesource

target-powerup-process

target-powerup-process() => nonesource

projectile-h

source

Types


projectile

projectile: 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-moving
starting-pos: vector
starting-dir: vector
target-pos: vector
base-target-pos: vector
pre-move-transv: vector
timeout: time-frame
spawn-time: time-frame
options: projectile-options
last-target: handle
notify-handle: handle
owner-handle: handle
ignore-handle: handle
update-velocity: function
move: function
pick-target: function
max-speed: float
old-dist: float
old-dist-count: int32
hits: int32
max-hits: int32
tween: float
attack-mode: symbol
attack-id: uint32
damage: float
charge-level: float
sound-id: sound-id
stop-speed: meters
invinc-time: time-frame
Methods
die: unknown
dissipate: unknown
impact: unknown
moving: unknown
draw-laser-sight(obj: ashelin-shot) => nonesource

TODO - confirm If applicable, draw the laser sight particles

spawn-impact-particles(obj: ashelin-shot) => nonesource

Spawns associated particles with the projectile if applicable

spawn-shell-particles(obj: ashelin-shot) => nonesource

TODO - confirm

unknown-particles(obj: projectile) => nonesource

TODO - confirm

play-impact-sound(obj: ashelin-shot, arg0: projectile-options) => nonesource
stop-sound!(obj: projectile) => nonesource

Stops the current sound-id if set, re-init the sound-id after being stopped

init-proj-collision!(obj: ashelin-shot) => nonesource
init-proj-settings!(obj: ashelin-shot) => nonesource

Init relevant settings for the projectile such as gravity, speed, timeout, etc

go-moving!(obj: projectile) => nonesource
go-sitting!(obj: projectile) => nonesource
kill-projectile!(obj: projectile) => symbolsource

Transition to the projectile::impact state, always return #t

event-handler!(obj: projectile, arg0: process, arg1: int, arg2: symbol, arg3: event-message-block) => objectsource

Multiplex the projectile's event processing, called by projectile-event-handler

handle-proj-hit!(obj: projectile, arg0: process, arg1: event-message-block) => objectsource

When a projectile hits something, first deal damage via [[projectile::37]]
and increment the projectiles hit count.

If we've met or exceeded the projectiles maximum allowed hits, switch to the projectile::impact state

deal-damage!(obj: projectile, arg0: process, arg1: event-message-block) => symbolsource

Constructs an attack-info according to the projectile's options

made-impact?(obj: ashelin-shot) => symbolsource

TODO - queries the collision cache, return true/false

play-impact-sound!(obj: projectile) => sound-idsource

Plays impact sound

projectile-bounce

projectile-bounce: projectilesource
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-moving
starting-pos: vector
starting-dir: vector
target-pos: vector
base-target-pos: vector
pre-move-transv: vector
timeout: time-frame
spawn-time: time-frame
options: projectile-options
last-target: handle
notify-handle: handle
owner-handle: handle
ignore-handle: handle
update-velocity: function
move: function
pick-target: function
max-speed: float
old-dist: float
old-dist-count: int32
hits: int32
max-hits: int32
tween: float
attack-mode: symbol
attack-id: uint32
damage: float
charge-level: float
sound-id: sound-id
stop-speed: meters
invinc-time: time-frame
played-bounce-time: time-frame
tumble-quat: quaternion
Methods
sitting: unknown
noop(obj: projectile-bounce) => nonesource

Does nothing

projectile-init-by-other-params

projectile-init-by-other-params: structuresource
Fields
ent: entity
charge: float
attack-id: uint32
options: projectile-options
notify-handle: handle
owner-handle: handle
ignore-handle: handle
pos: vector
vel: vector
timeout: time-frame

Functions


spawn-projectile

spawn-projectile(arg0: type, arg1: projectile-init-by-other-params, arg2: process-tree, arg3: dead-pool) => pointersource

projectile

source

Functions


cshape-reaction-projectile

cshape-reaction-projectile(arg0: control-info, arg1: collide-query, arg2: vector, arg3: vector) => collide-statussource

A projectile's collision reaction -- if the projectile hits a material with pat-material::stopproj set, kill the projectile

projectile-bounce-falling-post

projectile-bounce-falling-post(arg0: projectile-bounce) => nonesource

projectile-bounce-move

projectile-bounce-move(arg0: projectile-bounce) => nonesource

projectile-bounce-reaction

projectile-bounce-reaction(arg0: control-info, arg1: collide-query, arg2: vector, arg3: vector) => collide-statussource

projectile-bounce-update-velocity

projectile-bounce-update-velocity(arg0: projectile-bounce) => nonesource

projectile-event-handler

projectile-event-handler(arg0: process, arg1: int, arg2: symbol, arg3: event-message-block) => projectilesource

projectile-init-by-other

projectile-init-by-other(arg0: projectile-init-by-other-params) => projectilesource

projectile-move-fill-all-dirs

projectile-move-fill-all-dirs(arg0: projectile) => nonesource

projectile-move-fill-line-sphere

projectile-move-fill-line-sphere(arg0: projectile) => nonesource

projectile-update-velocity-add-gravity

projectile-update-velocity-add-gravity(arg0: projectile) => nonesource

projectile-update-velocity-space-wars

projectile-update-velocity-space-wars(arg0: projectile) => nonesource

rigid-body-plat

source

Types


rigid-body-control-point

rigid-body-control-point: structuresource
Fields
local-pos: vector
world-pos: vector
velocity: vector

rigid-body-control-point-inline-array

rigid-body-control-point-inline-array: inline-array-classsource
Fields
type: type
length: int32
allocated-length: int32
_data: uint8
data: rigid-body-control-point

rigid-body-platform

rigid-body-platform: rigid-body-objectsource
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
focus-status: focus-status
root-override-2: collide-shape-moving
info: rigid-body-object-constants
flags: rigid-body-object-flag
max-time-step: float
incoming-attack-id: uint32
player-touch-time: time-frame
disturbed-time: time-frame
player-force-position: vector
player-force: vector
info-override: rigid-body-platform-constants
control-point-array: rigid-body-control-point-inline-array
player-velocity: vector
player-velocity-prev: vector
unknown-pad: uint32
float-height-offset: float
player-bonk-timeout: uint64
water-anim: water-anim
Methods
rigid-body-platform-method-53(obj: rigid-body-platform, arg0: vector) => floatsource
rigid-body-platform-method-54(obj: rigid-body-platform, ctrl-point: rigid-body-control-point) => nonesource
rigid-body-platform-method-55(obj: rigid-body-platform) => nonesource
rigid-body-platform-method-56(obj: rigid-body-platform, arg0: vector) => nonesource

rigid-body-platform-constants

rigid-body-platform-constants: rigid-body-object-constantssource
Fields
info: rigid-body-info
cm-joint: vector
cm-joint-x: meters
cm-joint-y: meters
cm-joint-z: meters
cm-joint-w: meters
linear-damping: float
angular-damping: float
bounce-factor: float
friction-factor: float
inertial-tensor-x: meters
inertial-tensor-y: meters
inertial-tensor-z: meters
extra: rigid-body-object-extra-info
name: symbol
drag-factor: float
buoyancy-factor: float
max-buoyancy-depth: meters
player-weight: meters
player-bonk-factor: float
player-dive-factor: float
player-force-distance: meters
player-force-clamp: meters
player-force-timeout: uint64
explosion-force: meters
control-point-count: int32
platform: symbol
sound-name: string

Variables


*rigid-body-platform-constants*

*rigid-body-platform-constants*: rigid-body-platform-constantssource

voicebox

source

Types


camera-remote

camera-remote: camera-slavesource
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
trans: vector
fov: float
fov0: float
fov1: float
fov-index: cam-index
tracking: cam-rotation-tracker
view-off-param: float
view-off: vector
joystick-saved-view-off: vector
min-z-override: float
view-flat: vector
string-vel-dir: uint32
string-trans: vector
position-spline: tracking-spline
pivot-pt: vector
pivot-rad: float
circular-follow: vector
max-angle-offset: float
max-angle-curr: float
options: cam-slave-options-u32
cam-entity: entity
butt-timer: uint64
butt-seek: basic
butt-vector: vector
velocity: vector
desired-pos: vector
time-dist-too-far: uint32
los-state: slave-los-state
good-point: vector
los-tgt-spline-pt: int32
los-tgt-spline-pt-incarnation: int32
los-last-pos: vector
intro-curve: curve
intro-offset: vector
intro-t: float
intro-t-step: float
outro-exit-value: float
spline-exists: basic
spline-curve: curve
spline-offset: vector
index: cam-index
saved-pt: vector
spline-tt: float
spline-follow-dist: float
enter-has-run: symbol
blend-from-type: uint64
blend-to-type: camera-blend-to-type
have-phony-joystick: basic
phony-joystick-x: float
phony-joystick-y: float
string-min-val: vector
string-max-val: vector
string-val-locked: basic
relative-position: vector
string-relative: basic

judge

judge: remotesource
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
parent-override: pointer
base-trans: vector
focus: focus
seeker: cam-float-seeker
start-time: time-frame
blend: float
twist: float
speak-effect?: basic
total-time: time-frame
beep-time: time-frame
hud-timer: handle
score: uint8
Methods
wait: unknown
setup-collision(obj: judge) => nonesource

remote

remote: 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
parent-override: pointer
base-trans: vector
focus: focus
seeker: cam-float-seeker
start-time: time-frame
blend: float
twist: float
speak-effect?: basic
Methods
enter: unknown
idle: unknown
exit: unknown
init(obj: remote) => nonesource
get-track-pt-and-scale(obj: remote, arg0: vector) => floatsource
post-common(obj: remote) => nonesource

voicebox

voicebox: remotesource
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
parent-override: pointer
base-trans: vector
focus: focus
seeker: cam-float-seeker
start-time: time-frame
blend: float
twist: float
speak-effect?: basic
hint: handle

Functions


judge-init-by-other

judge-init-by-other(arg0: vector, arg1: uint) => nonesource

judge-spawn

judge-spawn(arg0: process-tree, arg1: vector, arg2: uint) => pointersource

remote-track

remote-track() => nonesource

voicebox-init-by-other

voicebox-init-by-other(arg0: vector, arg1: handle) => nonesource

voicebox-spawn

voicebox-spawn(arg0: process-drawable, arg1: vector) => pointersource

water-anim

source

Types


water-anim

water-anim: 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
water-height: meters
wade-height: meters
swim-height: meters
bottom-height: meters
attack-event: symbol
attack-id: uint32
flow: flow-control
target: handle
flags: water-flags
look: int32
play-ambient-sound?: symbol
visible: symbol
Methods
water-anim-method-20: unknown
idle: unknown
move-to-point!(obj: water-anim, arg0: vector) => intsource

Set a water-anim trans as specified by the vector and update water-height.

get-ripple-height(obj: water-anim, arg0: vector) => floatsource
init-water!(obj: dark-eco-pool) => nonesource

Initialize a water-anim default settings, this may include applying a riple-control

reset-root!(obj: water-anim) => trsqvsource

Reset a water-anim root.

water-anim-init!(obj: water-anim) => nonesource

Initialize a [[water-anim]].

water-anim-method-27(obj: water-anim) => nonesource

Empty.

offset!(obj: dark-eco-pool) => nonesource

Offset a water-anim trans and quat by the lump data in entity.

water-anim-look

water-anim-look: structuresource
Fields
skel-group: string
anim: int32
ambient-sound-spec: sound-spec

Functions


water-anim-event-handler

water-anim-event-handler(arg0: process, arg1: int, arg2: symbol, arg3: event-message-block) => objectsource

water-anim-init-by-other

water-anim-init-by-other(arg0: entity-actor) => nonesource

Variables


*water-anim-look*

*water-anim-look*: arraysource

water-flow

source

Types


flow-control

flow-control: basicsource
Fields
type: type
path: path-control
speed: float
belt-radius: float
sections: flow-section-array
leading: plane
collide-bounds: sphere
Methods
draw-path(obj: flow-control) => nonesource
setup(obj: flow-control) => nonesource
push-process(obj: flow-control, arg0: process-focusable) => nonesource
find-and-push-things(obj: flow-control) => nonesource

flow-section

flow-section: structuresource
Fields
start: vector
trailing: plane
pull-dir: vector
radial-dir: vector

flow-section-array

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

Functions


ray-plane-equation-intersect

ray-plane-equation-intersect(arg0: vector, arg1: vector, arg2: vector, arg3: vector) => floatsource

water-h

source

Types


water-control

water-control: basicsource
Fields
type: type
flags: water-flags
process: target
joint-index: int32
top-y-offset: float
attack-id: uint32
enter-water-time: time-frame
wade-time: time-frame
on-water-time: time-frame
enter-swim-time: time-frame
swim-time: time-frame
base-height: meters
wade-height: meters
swim-height: meters
surface-height: meters
bottom-height: meters
collide-height: meters
height: meters
height-offset: float
base-ocean-offset: meters
real-ocean-offset: meters
ocean-offset: meters
bob-offset: meters
align-offset: meters
swim-depth: meters
bob: smush-control
ripple: handle
ripple-size: meters
wake-size: meters
bottom: vector
top: vector
enter-water-pos: vector
drip-old-pos: vector
drip-joint-index: int32
drip-wetness: float
drip-time: time-frame
drip-speed: float
drip-height: meters
drip-mult: float
distort-time: time-frame
Methods
water-control-method-9(obj: water-control) => nonesource
water-control-method-10(obj: water-control) => nonesource
start-bobbing!(obj: water-control, arg0: float, arg1: int, arg2: int) => nonesource
distance-from-surface(obj: water-control) => floatsource
spawn-ripples(obj: water-control, arg0: float, arg1: vector, arg2: int, arg3: vector, arg4: symbol) => nonesource
display-water-marks?(obj: water-control) => symbolsource
enter-water(obj: water-control) => nonesource
water-control-method-16(obj: water-control) => nonesource

water-info

water-info: structuresource
Fields
trans: vector
normal: vector
base-height: meters
depth: meters
handle: handle
flags: water-flags
prim: drawable-region-prim
extra-flags: uint32

water-vol

water-vol: process-hiddensource
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

Functions


check-water-level-above-and-die

check-water-level-above-and-die(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: vector) => nonesource

check-water-level-drop

check-water-level-drop(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: vector) => nonesource

check-water-level-drop-and-die

check-water-level-drop-and-die(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: vector) => nonesource

check-water-level-drop-and-die-motion

check-water-level-drop-and-die-motion(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: vector) => nonesource

check-water-level-drop-motion

check-water-level-drop-motion(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: vector) => nonesource

part-water-splash-callback

part-water-splash-callback(arg0: part-tracker) => nonesource

rings-water-spawn

rings-water-spawn(arg0: float, arg1: vector, arg2: vector, arg3: float, arg4: float) => nonesource

splash-spawn

splash-spawn(arg0: float, arg1: vector, arg2: int) => nonesource

water-info<-region

water-info<-region(arg0: water-info, arg1: drawable-region-prim, arg2: collide-shape, arg3: collide-action) => water-infosource