Skip to main content

castle-obs

source

Types


cas-button

cas-button: basebuttonsource
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
cas-button-method-39: unknown

cas-chain-plat

cas-chain-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
Methods
idle: unknown
drop: unknown
down: unknown

cas-conveyor

cas-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
actor-group: pointer
actor-group-count: int32
texture-anim-index: uint32
my-id: int32
sound-id: uint32
target-speed: float

cas-conveyor-switch

cas-conveyor-switch: 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
actor-group: pointer
actor-group-count: int32
incoming-attack-id: uint32
quat0: quaternion
quat180: quaternion
red-pos: vector
blue-pos: vector
track-flag: symbol
lightning-timer: time-frame
speed: float
target-speed: float
Methods
idle: unknown

cas-electric-fence

cas-electric-fence: 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
next-spawn-time: time-frame
stop: symbol
Methods
idle: unknown
die: unknown

cas-elevator

cas-elevator: elevatorsource
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
sound-id: uint32
Methods
cas-elevator-method-49(obj: cas-elevator) => nonesource

cas-flag-a

cas-flag-a: 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
Methods
idle: unknown

cas-flag-b

cas-flag-b: 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
Methods
idle: unknown

cas-robot-door

cas-robot-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
spawner-actor: symbol
door-actor: entity-actor
spawn-count: int32
spawn-count-total: int32
spawn-max: int32
spawn-total: int32
notice-dist: float
player-dist: float
anim-index: int32
last-guard: handle
actor-group: pointer
actor-group-count: int32
Methods
idle: unknown
spawning: unknown
castle-wait-end: unknown

cas-rot-blade

cas-rot-blade: 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
sync: sync-eased
rot: float
attack-id: uint32
sound-id: uint32
Methods
idle: unknown

cas-rot-bridge

cas-rot-bridge: 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
index: uint32
anim-index: uint32
test-index: uint32
pos: float
pos-old: float
sound-id: uint32
sound-flag: symbol
Methods
idle: unknown

cas-switch

cas-switch: 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
actor-group: pointer
actor-group-count: int32
incoming-attack-id: uint32
anim-index: uint32
direction: uint32
pos-old: float
y-start: float
y-delta: float
sound-id: uint32
sound-flag: symbol
Methods
idle: unknown

cas-trapdoor

cas-trapdoor: 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
die: unknown

lightning-ball

lightning-ball: 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
timer: time-frame
Methods
idle: unknown

Functions


cas-rot-blade-callback

cas-rot-blade-callback(arg0: cspace, arg1: transformq) => nonesource

sound-update

sound-update() => nonesource

Variables


*cas-conveyor-room-id*

*cas-conveyor-room-id*: intsource

*cas-electric-fence-exploder-params*

*cas-electric-fence-exploder-params*: joint-exploder-static-paramssource

*cas-rot-blade-shadow-control*

*cas-rot-blade-shadow-control*: shadow-controlsource

*cas-trapdoor-exploder-params*

*cas-trapdoor-exploder-params*: joint-exploder-static-paramssource

castle-part

source

Types


castle-part

castle-part: part-spawnersource
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

Functions


birth-func-castle-green-slime-tube

birth-func-castle-green-slime-tube(arg0: int, arg1: sparticle-cpuinfo, arg2: sparticle-launchinfo) => nonesource

castle-green-dome-light-pulsate

castle-green-dome-light-pulsate(arg0: int, arg1: sparticle-cpuinfo, arg2: sparticle-launchinfo) => floatsource

castle-green-slime-popper

castle-green-slime-popper(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

castle-green-slime-tube-check-delta

castle-green-slime-tube-check-delta(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

check-drop-level-castle-drop-userdata

check-drop-level-castle-drop-userdata(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

castle-texture

source

Functions


get-slime-alphas

get-slime-alphas() => nonesource

set-conveyor-speed!

set-conveyor-speed!(arg0: int, arg1: float) => nonesource

set-slime-alphas

set-slime-alphas(arg0: float, arg1: float, arg2: float, arg3: float) => floatsource

set-slime-speed

set-slime-speed(arg0: float) => symbolsource

Variables


*cas-conveyor-texture-anim-array*

*cas-conveyor-texture-anim-array*: texture-anim-arraysource

*slime-clut*

*slime-clut*: clut16x16source

*toxic-slime-texture-anim-array*

*toxic-slime-texture-anim-array*: texture-anim-arraysource

roboguard-level

source

Types


roboguard-level

roboguard-level: nav-enemysource
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
fact-info-override: fact-info-enemy
enemy-flags: enemy-flag
enemy-info: enemy-info
hit-points: int32
gnd-collide: uint32
attack-id: uint32
persistent-attack-id: uint32
water-max-height: meters
water-surface-height: meters
desired-angle: degrees
jump-why: uint64
penetrated-by-all: penetrate
penetrated-flinch: penetrate
penetrated-knocked: penetrate
reaction-time: time-frame
notice-time: time-frame
state-timeout: time-frame
auto-reset-penetrate-time: time-frame
hit-focus-time: time-frame
last-draw-time: time-frame
starting-time: time-frame
fated-time: time-frame
focus-pos: vector
event-param-point: vector
jump-dest: vector
focus: enemy-focus
incoming: enemy-attack-info
actor-group: pointer
actor-group-count: int32
neck: joint-mod
on-notice: symbol
on-active: symbol
on-hostile: symbol
on-death: symbol
idle-anim-player: idle-control
rand-gen: symbol
enemy-info-override: nav-enemy-info
frustration-point: vector
move-dest: vector
frustration-time: time-frame
blocked-start-time: time-frame
restore-nav-radius-time: time-frame
nav-radius-backup: float
unknown-n12kjh3n123: int32
flags: uint16
roll-timer: time-frame
roll-dir: vector
incoming-attack-id: uint32
turning-acc: float
speed: float
roll-attack-count: uint32
roll-sound: uint32
Methods
roboguard-level-method-178: unknown
roboguard-level-method-179: unknown
roll-enter: unknown
roll-hostile: unknown
roll-to-walk: unknown
idle-dizzy: unknown
explode: unknown
roboguard-level-method-185(obj: roboguard-level, arg0: symbol) => nonesource
roboguard-level-method-186: unknown
roboguard-level-method-187: unknown
roboguard-level-method-188: unknown

Functions


roboguard-roll-travel-post

roboguard-roll-travel-post() => nonesource

Variables


*roboguard-level-exploder-params*

*roboguard-level-exploder-params*: joint-exploder-static-paramssource

*roboguard-level-nav-enemy-info*

*roboguard-level-nav-enemy-info*: nav-enemy-infosource