Skip to main content

mood-h​

source

Types​


mood-context​

mood-context: basicsource
Fields​
type: type
mood-fog-table: mood-fog-table
mood-lights-table: mood-lights-table
mood-sun-table: mood-sun-table
fog-interp: sky-color-day
palette-interp: sky-color-day
sky-texture-interp: sky-color-day
current-fog: mood-fog
current-sun: mood-sun
current-prt-color: vector
current-shadow: vector
current-shadow-color: vector
light-group: light-group
times: vector
sky-times: float
itimes: vector4w
state: uint8
num-stars: float
some-byte: uint8

mood-fog​

mood-fog: structuresource
Fields​
fog-color: vector
fog-dists: vector
fog-start: meters
fog-end: meters
fog-max: float
fog-min: float
erase-color: vector

mood-fog-table​

mood-fog-table: structuresource
Fields​
data: mood-fog

mood-lights​

mood-lights: structuresource
Fields​
direction: vector
lgt-color: vector
prt-color: vector
amb-color: vector
shadow: vector

mood-lights-table​

mood-lights-table: structuresource
Fields​
data: mood-lights

mood-sun​

mood-sun: structuresource
Fields​
sun-color: vector
env-color: vector

mood-sun-table​

mood-sun-table: structuresource
Fields​
data: mood-sun

mood-tables​

source

Functions​


make-light-kit​

make-light-kit(arg0: light-group, arg1: float, arg2: float, arg3: float, arg4: float) => nonesource

make-misty-light-kit​

make-misty-light-kit(arg0: mood-context) => nonesource

make-rolling-light-kit​

make-rolling-light-kit(arg0: mood-context) => nonesource

make-village1-light-kit​

make-village1-light-kit(arg0: mood-context) => nonesource

make-village2-light-kit​

make-village2-light-kit(arg0: mood-context) => nonesource

make-village3-light-kit​

make-village3-light-kit(arg0: mood-context) => nonesource

update-mood-erase-color​

update-mood-erase-color(arg0: mood-fog, arg1: mood-lights) => nonesource

update-mood-erase-color2​

update-mood-erase-color2(arg0: mood-fog, arg1: mood-lights, arg2: mood-lights) => nonesource

update-mood-shadow-direction​

update-mood-shadow-direction(arg0: mood-lights) => nonesource

Variables​


*beach-mood*​

*beach-mood*: mood-contextsource

*citadel-mood-fog-table*​

*citadel-mood-fog-table*: mood-fog-tablesource

*citadel-mood-lights-table*​

*citadel-mood-lights-table*: mood-lights-tablesource

*citadel-mood-sun-table*​

*citadel-mood-sun-table*: mood-sun-tablesource

*citadel-mood*​

*citadel-mood*: mood-contextsource

*darkcave-mood-fog-table*​

*darkcave-mood-fog-table*: mood-fog-tablesource

*darkcave-mood-lights-table*​

*darkcave-mood-lights-table*: mood-lights-tablesource

*darkcave-mood-sun-table*​

*darkcave-mood-sun-table*: mood-sun-tablesource

*darkcave-mood*​

*darkcave-mood*: mood-contextsource

*default-interp-table*​

*default-interp-table*: sky-color-daysource

*default-mood*​

*default-mood*: mood-contextsource

*finalboss-interp-table*​

*finalboss-interp-table*: sky-color-daysource

*finalboss-mood-fog-table*​

*finalboss-mood-fog-table*: mood-fog-tablesource

*finalboss-mood-sun-table*​

*finalboss-mood-sun-table*: mood-sun-tablesource

*finalboss-mood*​

*finalboss-mood*: mood-contextsource

*finalboss2-mood*​

*finalboss2-mood*: mood-contextsource

*firecanyon-mood-fog-table*​

*firecanyon-mood-fog-table*: mood-fog-tablesource

*firecanyon-mood-lights-table*​

*firecanyon-mood-lights-table*: mood-lights-tablesource

*firecanyon-mood-sun-table*​

*firecanyon-mood-sun-table*: mood-sun-tablesource

*firecanyon-mood*​

*firecanyon-mood*: mood-contextsource

*firecanyon-palette-interp-table*​

*firecanyon-palette-interp-table*: sky-color-daysource

*jungle-mood*​

*jungle-mood*: mood-contextsource

*jungleb-mood-fog-table*​

*jungleb-mood-fog-table*: mood-fog-tablesource

*jungleb-mood-lights-table*​

*jungleb-mood-lights-table*: mood-lights-tablesource

*jungleb-mood-sun-table*​

*jungleb-mood-sun-table*: mood-sun-tablesource

*jungleb-mood*​

*jungleb-mood*: mood-contextsource

*lavatube-mood-fog-table*​

*lavatube-mood-fog-table*: mood-fog-tablesource

*lavatube-mood-lights-table*​

*lavatube-mood-lights-table*: mood-lights-tablesource

*lavatube-mood-sun-table*​

*lavatube-mood-sun-table*: mood-sun-tablesource

*lavatube-mood*​

*lavatube-mood*: mood-contextsource

*maincave-mood-fog-table*​

*maincave-mood-fog-table*: mood-fog-tablesource

*maincave-mood-lights-table*​

*maincave-mood-lights-table*: mood-lights-tablesource

*maincave-mood-sun-table*​

*maincave-mood-sun-table*: mood-sun-tablesource

*maincave-mood*​

*maincave-mood*: mood-contextsource

*misty-mood-fog-table*​

*misty-mood-fog-table*: mood-fog-tablesource

*misty-mood-lights-table*​

*misty-mood-lights-table*: mood-lights-tablesource

*misty-mood-sun-table*​

*misty-mood-sun-table*: mood-sun-tablesource

*misty-mood*​

*misty-mood*: mood-contextsource

*misty-palette-interp-table*​

*misty-palette-interp-table*: sky-color-daysource

*ogre-mood-fog-table*​

*ogre-mood-fog-table*: mood-fog-tablesource

*ogre-mood-lights-table*​

*ogre-mood-lights-table*: mood-lights-tablesource

*ogre-mood*​

*ogre-mood*: mood-contextsource

*ogre2-mood-lights-table*​

*ogre2-mood-lights-table*: mood-lights-tablesource

*ogre2-mood*​

*ogre2-mood*: mood-contextsource

*ogre3-mood-fog-table*​

*ogre3-mood-fog-table*: mood-fog-tablesource

*ogre3-mood-lights-table*​

*ogre3-mood-lights-table*: mood-lights-tablesource

*ogre3-mood*​

*ogre3-mood*: mood-contextsource

*robocave-mood-fog-table*​

*robocave-mood-fog-table*: mood-fog-tablesource

*robocave-mood*​

*robocave-mood*: mood-contextsource

*rolling-mood-fog-table*​

*rolling-mood-fog-table*: mood-fog-tablesource

*rolling-mood-lights-table*​

*rolling-mood-lights-table*: mood-lights-tablesource

*rolling-mood-sun-table*​

*rolling-mood-sun-table*: mood-sun-tablesource

*rolling-mood*​

*rolling-mood*: mood-contextsource

*rolling-palette-interp-table*​

*rolling-palette-interp-table*: sky-color-daysource

*snow-mood-fog-table*​

*snow-mood-fog-table*: mood-fog-tablesource

*snow-mood-lights-table*​

*snow-mood-lights-table*: mood-lights-tablesource

*snow-mood-sun-table*​

*snow-mood-sun-table*: mood-sun-tablesource

*snow-mood*​

*snow-mood*: mood-contextsource

*sunken-mood-fog-table*​

*sunken-mood-fog-table*: mood-fog-tablesource

*sunken-mood-lights-table*​

*sunken-mood-lights-table*: mood-lights-tablesource

*sunken-mood-sun-table*​

*sunken-mood-sun-table*: mood-sun-tablesource

*sunken-mood*​

*sunken-mood*: mood-contextsource

*sunkenb-mood*​

*sunkenb-mood*: mood-contextsource

*swamp-mood-fog-table*​

*swamp-mood-fog-table*: mood-fog-tablesource

*swamp-mood-lights-table*​

*swamp-mood-lights-table*: mood-lights-tablesource

*swamp-mood-sun-table*​

*swamp-mood-sun-table*: mood-sun-tablesource

*swamp-mood*​

*swamp-mood*: mood-contextsource

*training-mood-fog-table*​

*training-mood-fog-table*: mood-fog-tablesource

*training-mood*​

*training-mood*: mood-contextsource

*village1-mood-fog-table*​

*village1-mood-fog-table*: mood-fog-tablesource

*village1-mood-lights-table*​

*village1-mood-lights-table*: mood-lights-tablesource

*village1-mood-sun-table*​

*village1-mood-sun-table*: mood-sun-tablesource

*village1-mood*​

*village1-mood*: mood-contextsource

*village1-palette-interp-table*​

*village1-palette-interp-table*: sky-color-daysource

*village2-mood-fog-table*​

*village2-mood-fog-table*: mood-fog-tablesource

*village2-mood-lights-table*​

*village2-mood-lights-table*: mood-lights-tablesource

*village2-mood-sun-table*​

*village2-mood-sun-table*: mood-sun-tablesource

*village2-mood*​

*village2-mood*: mood-contextsource

*village2-sky-texture-table*​

*village2-sky-texture-table*: sky-color-daysource

*village3-mood-fog-table*​

*village3-mood-fog-table*: mood-fog-tablesource

*village3-mood-lights-table*​

*village3-mood-lights-table*: mood-lights-tablesource

*village3-mood*​

*village3-mood*: mood-contextsource

Types​


citadel-states​

citadel-states: structuresource
Fields​
flames: flames-state
light: light-state
time: light-time-state
flicker-off: uint8
flicker-on: uint8
shield-fade: float

finalboss-states​

finalboss-states: structuresource
Fields​
start-time: time-frame
secret-time: time-frame

firecanyon-states​

firecanyon-states: structuresource
Fields​
lava: lava-state

flames-state​

flames-state: structuresource
Fields​
index: uint8
time: uint8
length: uint8
height: uint8

jungle-states​

jungle-states: structuresource
Fields​
light: light-state
time: light-time-state
one-shot: uint8

lava-state​

lava-state: structuresource
Fields​
scale: float
time: uint8
last-index: uint8

lavatube-states​

lavatube-states: structuresource

light-state​

light-state: structuresource
Fields​
fade: uint8

light-time-state​

light-time-state: structuresource
Fields​
time: uint8

lightning-state​

lightning-state: structuresource
Fields​
val: uint8

maincave-states​

maincave-states: structuresource
Fields​
flames: flames-state

misty-states​

misty-states: structuresource

ogre-states​

ogre-states: structuresource
Fields​
lava: lava-state
lightning: lightning-state
lava-time: float
lava-fade: float

robocave-states​

robocave-states: structuresource
Fields​
flames: flames-state

rolling-states​

rolling-states: structuresource
Fields​
light0: light-state
light1: light-state
light2: light-state
light3: light-state
time: light-time-state
lightning: lightning-state

snow-states​

snow-states: structuresource
Fields​
flames: flames-state
light: light-state
time: light-time-state
one-shot: uint8
interp: float

sunken-states​

sunken-states: structuresource

swamp-village2-states​

swamp-village2-states: structuresource
Fields​
flames: flames-state
lightning: lightning-state

training-states​

training-states: structuresource

village1-states​

village1-states: structuresource
Fields​
flames: flames-state

village3-states​

village3-states: structuresource
Fields​
flames: flames-state
scale: float
lava: lava-state
lava-time: float
time: uint8

Functions​


clear-mood-times​

clear-mood-times(arg0: mood-context) => symbolsource

set-target-light-index​

set-target-light-index(arg0: int) => intsource

update-light-kit​

update-light-kit(arg0: light-group, arg1: light, arg2: float) => nonesource

update-mood-caustics​

update-mood-caustics(arg0: mood-context, arg1: int, arg2: int) => nonesource

update-mood-citadel​

update-mood-citadel(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-darkcave​

update-mood-darkcave(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-default​

update-mood-default(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-finalboss​

update-mood-finalboss(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-firecanyon​

update-mood-firecanyon(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-flames​

update-mood-flames(arg0: mood-context, arg1: int, arg2: int, arg3: int, arg4: float, arg5: float, arg6: float) => nonesource

update-mood-fog​

update-mood-fog(arg0: mood-context, arg1: float) => vectorsource

update-mood-interp​

update-mood-interp(arg0: mood-context, arg1: mood-context, arg2: mood-context, arg3: float) => nonesource

update-mood-itimes​

update-mood-itimes(arg0: mood-context) => nonesource

update-mood-jungle​

update-mood-jungle(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-jungleb​

update-mood-jungleb(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-jungleb-blue​

update-mood-jungleb-blue(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-lava​

update-mood-lava(arg0: mood-context, arg1: int, arg2: int, arg3: symbol) => nonesource

update-mood-lavatube​

update-mood-lavatube(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-light​

update-mood-light(arg0: mood-context, arg1: int, arg2: int, arg3: int, arg4: float, arg5: float, arg6: float, arg7: int) => nonesource

update-mood-lightning​

update-mood-lightning(arg0: mood-context, arg1: int, arg2: int, arg3: int, arg4: int, arg5: float, arg6: symbol) => nonesource

update-mood-maincave​

update-mood-maincave(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-misty​

update-mood-misty(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-ogre​

update-mood-ogre(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-palette​

update-mood-palette(arg0: mood-context, arg1: float, arg2: int) => floatsource

update-mood-prt-color​

update-mood-prt-color(arg0: mood-context) => vectorsource

update-mood-quick​

update-mood-quick(arg0: mood-context, arg1: int, arg2: int, arg3: int, arg4: int) => vectorsource

update-mood-robocave​

update-mood-robocave(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-rolling​

update-mood-rolling(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-sky-texture​

update-mood-sky-texture(arg0: mood-context, arg1: float) => vectorsource

update-mood-snow​

update-mood-snow(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-sunken​

update-mood-sunken(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-swamp​

update-mood-swamp(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-training​

update-mood-training(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-village1​

update-mood-village1(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-village2​

update-mood-village2(arg0: mood-context, arg1: float, arg2: int) => nonesource

update-mood-village3​

update-mood-village3(arg0: mood-context, arg1: float, arg2: int) => nonesource

Variables​


*flash0*​

*flash0*: arraysource

*flash1*​

*flash1*: arraysource

*flash2*​

*flash2*: arraysource

*flash3*​

*flash3*: arraysource

*flash4*​

*flash4*: arraysource

*flash5*​

*flash5*: arraysource

*flash6*​

*flash6*: arraysource

*flash7*​

*flash7*: arraysource

*lava-time*​

*lava-time*: floatsource

*lightning-frame-done*​

*lightning-frame-done*: symbolsource

*lightning-index*​

*lightning-index*: intsource

*lightning-realtime-done*​

*lightning-realtime-done*: symbolsource

*lightning-time*​

*lightning-time*: intsource

*lightning-time2*​

*lightning-time2*: intsource

*rolling-spheres-light0*​

*rolling-spheres-light0*: vectorsource

*rolling-spheres-light1*​

*rolling-spheres-light1*: inline-arraysource

*rolling-spheres-light2*​

*rolling-spheres-light2*: light-ellipsesource

*rolling-spheres-light3*​

*rolling-spheres-light3*: inline-arraysource

*rolling-spheres-light4*​

*rolling-spheres-light4*: vectorsource

*rolling-spheres-on*​

*rolling-spheres-on*: inline-arraysource

*thunder-count*​

*thunder-count*: intsource

*thunder-id*​

*thunder-id*: sound-idsource

*thunder-id0*​

*thunder-id0*: sound-idsource

*thunder-id1*​

*thunder-id1*: sound-idsource

*thunder-id2*​

*thunder-id2*: sound-idsource

time-of-day-h​

source

Types​


palette-fade-control​

palette-fade-control: structuresource
Fields​
trans: vector
fade: float
actor-dist: float

palette-fade-controls​

palette-fade-controls: basicsource
Fields​
type: type
control: palette-fade-control
Methods​
reset!(obj: palette-fade-controls) => symbolsource
set-fade!(obj: palette-fade-controls, arg0: int, arg1: float, arg2: float, arg3: vector) => objectsource

time-of-day-context​

time-of-day-context: basicsource
Fields​
type: type
active-count: uint32
interp: float
current-interp: float
moods: mood-context
current-fog: mood-fog
current-sun: mood-sun
current-prt-color: vector
current-shadow: vector
current-shadow-color: vector
light-group: light-group
title-light-group: light-group
time: float
target-interp: float
erase-color: rgba
num-stars: float
light-masks-0: uint8
light-masks-1: uint8
light-interp: float
sky: symbol
sun-fade: float
title-updated: symbol

time-of-day-dma​

time-of-day-dma: structuresource
Fields​
outa: uint32
outb: uint32
banka: uint32
bankb: uint32

time-of-day-palette​

time-of-day-palette: basicsource
Fields​
type: type
width: int32
height: int32
pad: int32
data: int32

time-of-day-proc​

time-of-day-proc: processsource
Fields​
type: type
name: basic
mask: process-mask
parent: pointer
brother: pointer
child: pointer
ppointer: pointer
self: process-tree
pool: dead-pool
status: basic
pid: int32
main-thread: cpu-thread
top-thread: thread
entity: entity-actor
state: state
trans-hook: function
post-hook: function
event-hook: function
allocated-length: int32
next-state: state
heap-base: pointer
heap-top: pointer
heap-cur: pointer
stack-frame-top: stack-frame
connection-list: connectable
stack: uint8
year: int32
month: int32
week: int32
day: int32
hour: int32
minute: int32
second: int32
frame: int32
time-of-day: float
time-ratio: float
star-count: int32
stars: sparticle-launch-control
sun-count: int32
sun: sparticle-launch-control
green-sun-count: int32
green-sun: sparticle-launch-control
moon-count: int32
moon: sparticle-launch-control
States​
time-of-day-tick: TODO

Variables​


*time-of-day-context*​

*time-of-day-context*: time-of-day-contextsource

*time-of-day-mode*​

*time-of-day-mode*: intsource

time-of-day​

source

Functions​


init-time-of-day​

init-time-of-day() => nonesource

init-time-of-day-context​

init-time-of-day-context(arg0: time-of-day-context) => nonesource

Set up the title-light-group.

set-time-of-day​

set-time-of-day(arg0: float) => nonesource

Manually set the time of day.

start-time-of-day​

start-time-of-day() => nonesource

Start up the time of day process. Kill any existing ones

time-of-day-setup​

time-of-day-setup(arg0: symbol) => symbolsource

This function is weird. Returns if time of day will tick forward or not.
If you set arg0 it will toggle on/off time of day.
Otherwise, calling the function has no side effects.

time-of-day-update​

time-of-day-update() => nonesource

update-time-of-day​

update-time-of-day(arg0: time-of-day-context) => nonesource

Update the time of day context

weather-part​

source

Functions​


cam-master-effect​

cam-master-effect() => nonesource

check-drop-level-rain​

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

sparticle-track-sun​

sparticle-track-sun(arg0: int, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

update-rain​

update-rain(arg0: target) => nonesource

update-snow​

update-snow(arg0: target) => nonesource

Variables​


group-rain-screend-drop​

group-rain-screend-drop: sparticle-launch-groupsource