Skip to main content

credits

source

Functions


draw-end-credits

draw-end-credits(arg0: int) => symbolsource

draw-title-credits

draw-title-credits(arg0: float) => nonesource

set-credits-font-color

set-credits-font-color(arg0: float) => nonesource

Variables


*title-credits-scale*

*title-credits-scale*: arraysource

*title-credits-spacing*

*title-credits-spacing*: arraysource

hud-classes

source

Types


hud-buzzers

hud-buzzers: hudsource
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
value: int32
value2: int32
target-value: int32
last-increment-time: time-frame
last-target-equal-time: time-frame
offset: int32
y-offset: int32
next-y-offset: int32
x-sgn: int32
y-sgn: int32
text-x: int32
text-y: int32
friend: int32
first-init: symbol
increment-on-event: symbol
skip-particle: int32
disable: symbol
force-on-screen: symbol
deactivate-when-hidden: symbol
trigger-time: time-frame
last-hide-time: time-frame
nb-of-icons: int32
icons: hud-icon
max-nb-of-particles: int32
nb-of-particles: int32
particles: hud-particle
scale: float
text-y-offset: int32

hud-fuel-cell

hud-fuel-cell: hudsource
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
value: int32
value2: int32
target-value: int32
last-increment-time: time-frame
last-target-equal-time: time-frame
offset: int32
y-offset: int32
next-y-offset: int32
x-sgn: int32
y-sgn: int32
text-x: int32
text-y: int32
friend: int32
first-init: symbol
increment-on-event: symbol
skip-particle: int32
disable: symbol
force-on-screen: symbol
deactivate-when-hidden: symbol
trigger-time: time-frame
last-hide-time: time-frame
nb-of-icons: int32
icons: hud-icon
max-nb-of-particles: int32
nb-of-particles: int32
particles: hud-particle
scale-starburst-3-x: float
scale-starburst-3-y: float
scale-starburst-4-x: float
scale-starburst-4-y: float
scale-icon: float
scale-center: float
icon-pos-y: int32

hud-health

hud-health: hudsource
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
value: int32
value2: int32
target-value: int32
last-increment-time: time-frame
last-target-equal-time: time-frame
offset: int32
y-offset: int32
next-y-offset: int32
x-sgn: int32
y-sgn: int32
text-x: int32
text-y: int32
friend: int32
first-init: symbol
increment-on-event: symbol
skip-particle: int32
disable: symbol
force-on-screen: symbol
deactivate-when-hidden: symbol
trigger-time: time-frame
last-hide-time: time-frame
nb-of-icons: int32
icons: hud-icon
max-nb-of-particles: int32
nb-of-particles: int32
particles: hud-particle
scale: float

hud-money

hud-money: hudsource
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
value: int32
value2: int32
target-value: int32
last-increment-time: time-frame
last-target-equal-time: time-frame
offset: int32
y-offset: int32
next-y-offset: int32
x-sgn: int32
y-sgn: int32
text-x: int32
text-y: int32
friend: int32
first-init: symbol
increment-on-event: symbol
skip-particle: int32
disable: symbol
force-on-screen: symbol
deactivate-when-hidden: symbol
trigger-time: time-frame
last-hide-time: time-frame
nb-of-icons: int32
icons: hud-icon
max-nb-of-particles: int32
nb-of-particles: int32
particles: hud-particle
x-scale: float
y-scale: float
y-pos: int32

hud-money-all

hud-money-all: hudsource
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
value: int32
value2: int32
target-value: int32
last-increment-time: time-frame
last-target-equal-time: time-frame
offset: int32
y-offset: int32
next-y-offset: int32
x-sgn: int32
y-sgn: int32
text-x: int32
text-y: int32
friend: int32
first-init: symbol
increment-on-event: symbol
skip-particle: int32
disable: symbol
force-on-screen: symbol
deactivate-when-hidden: symbol
trigger-time: time-frame
last-hide-time: time-frame
nb-of-icons: int32
icons: hud-icon
max-nb-of-particles: int32
nb-of-particles: int32
particles: hud-particle
x-scale: float
y-scale: float
y-pos: int32
total-orbs: int32
level-index: int32
start-time: time-frame

hud-pickups

hud-pickups: hudsource
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
value: int32
value2: int32
target-value: int32
last-increment-time: time-frame
last-target-equal-time: time-frame
offset: int32
y-offset: int32
next-y-offset: int32
x-sgn: int32
y-sgn: int32
text-x: int32
text-y: int32
friend: int32
first-init: symbol
increment-on-event: symbol
skip-particle: int32
disable: symbol
force-on-screen: symbol
deactivate-when-hidden: symbol
trigger-time: time-frame
last-hide-time: time-frame
nb-of-icons: int32
icons: hud-icon
max-nb-of-particles: int32
nb-of-particles: int32
particles: hud-particle

hud-power

hud-power: hudsource
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
value: int32
value2: int32
target-value: int32
last-increment-time: time-frame
last-target-equal-time: time-frame
offset: int32
y-offset: int32
next-y-offset: int32
x-sgn: int32
y-sgn: int32
text-x: int32
text-y: int32
friend: int32
first-init: symbol
increment-on-event: symbol
skip-particle: int32
disable: symbol
force-on-screen: symbol
deactivate-when-hidden: symbol
trigger-time: time-frame
last-hide-time: time-frame
nb-of-icons: int32
icons: hud-icon
max-nb-of-particles: int32
nb-of-particles: int32
particles: hud-particle
scale-timer: float
scale-backing: float
scale-blue: float

Functions


activate-hud

activate-hud(arg0: process) => nonesource

activate-orb-all

activate-orb-all(arg0: int) => intsource

bottom-hud-hidden?

bottom-hud-hidden?() => symbolsource

calculate-rotation-and-color-for-slice

calculate-rotation-and-color-for-slice(arg0: int, arg1: float, arg2: int, arg3: int, arg4: int, arg5: hud-particle) => nonesource

convert-to-hud-object

convert-to-hud-object(arg0: process-drawable, arg1: hud) => nonesource

disable-hud

disable-hud(arg0: int) => nonesource

enable-hud

enable-hud() => nonesource

fuel-cell-hud-center-callback

fuel-cell-hud-center-callback(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

fuel-cell-hud-orbit-callback

fuel-cell-hud-orbit-callback(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

fuel-cell-hud-starburst-3-callback

fuel-cell-hud-starburst-3-callback(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

fuel-cell-hud-starburst-4-callback

fuel-cell-hud-starburst-4-callback(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

hide-bottom-hud

hide-bottom-hud() => nonesource

hide-hud

hide-hud() => nonesource

hide-hud-quick

hide-hud-quick() => nonesource

hud-hidden?

hud-hidden?() => symbolsource

part-hud-buzzer-func

part-hud-buzzer-func(arg0: basic, arg1: basic, arg2: hud-particle) => nonesource

part-hud-eco-timer-01-func

part-hud-eco-timer-01-func(arg0: basic, arg1: basic, arg2: hud-particle) => nonesource

part-hud-eco-timer-02-func

part-hud-eco-timer-02-func(arg0: basic, arg1: basic, arg2: hud-particle) => nonesource

part-hud-eco-timer-03-func

part-hud-eco-timer-03-func(arg0: basic, arg1: basic, arg2: hud-particle) => nonesource

part-hud-eco-timer-backing-func

part-hud-eco-timer-backing-func(arg0: basic, arg1: basic, arg2: hud-particle) => nonesource

part-hud-eco-timer-func

part-hud-eco-timer-func(arg0: basic, arg1: basic, arg2: hud-particle) => nonesource

part-hud-health-01-func

part-hud-health-01-func(arg0: basic, arg1: basic, arg2: hud-particle) => nonesource

part-hud-health-02-func

part-hud-health-02-func(arg0: basic, arg1: basic, arg2: hud-particle) => nonesource

part-hud-health-03-func

part-hud-health-03-func(arg0: basic, arg1: basic, arg2: hud-particle) => nonesource

set-hud-aspect-ratio

set-hud-aspect-ratio(arg0: symbol, arg1: symbol) => nonesource

show-hud

show-hud() => nonesource

Types


hud

hud: 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
value: int32
value2: int32
target-value: int32
last-increment-time: time-frame
last-target-equal-time: time-frame
offset: int32
y-offset: int32
next-y-offset: int32
x-sgn: int32
y-sgn: int32
text-x: int32
text-y: int32
friend: int32
first-init: symbol
increment-on-event: symbol
skip-particle: int32
disable: symbol
force-on-screen: symbol
deactivate-when-hidden: symbol
trigger-time: time-frame
last-hide-time: time-frame
nb-of-icons: int32
icons: hud-icon
max-nb-of-particles: int32
nb-of-particles: int32
particles: hud-particle
Methods
hidden?(obj: hud) => symbolsource
draw-hud(obj: hud-pickups) => nonesource
tally-value(obj: hud, arg0: int, arg1: int) => nonesource
draw-icons(obj: hud) => nonesource
draw-particles(obj: hud) => nonesource
hud-update(obj: hud-pickups) => nonesource
init-particles!(obj: hud-pickups, arg0: int) => nonesource
get-icon-pos-x(obj: hud-money) => intsource
get-icon-pos-y(obj: hud-money) => intsource
hud-method-23: unknown
set-pos-and-scale(obj: hud-health, arg0: symbol, arg1: symbol) => nonesource
get-icon-scale-x(obj: hud-money) => floatsource
get-icon-scale-y(obj: hud-money) => floatsource
States
hud-arriving: TODO
hud-hidden: TODO
hud-in: TODO
hud-leaving: TODO

hud-icon

hud-icon: basicsource
Fields
type: type
icon: pointer
icon-y: int32
icon-x: int32
icon-z: int32
scale-x: float
scale-y: float

hud-particle

hud-particle: basicsource
Fields
type: type
part: sparticle-launch-control
init-pos: vector
pos: vector
prev-pos: vector

hud-parts

hud-parts: structuresource
Fields
pickups: pointer
money: pointer
fuel-cell: pointer
health: pointer
buzzers: pointer
power: pointer
bike-speed: pointer
bike-heat: pointer
money-all: pointer
parts: pointer

Variables


*hud-collectable-view*

*hud-collectable-view*: hud-collectable-viewsource

*hud-parts*

*hud-parts*: hud-partssource

Functions


hud-init-by-other

hud-init-by-other(arg0: int) => nonesource

send-hud-increment-event

send-hud-increment-event(arg0: hud) => objectsource

text-h

source

Types


game-text

game-text: structuresource
Fields
id: text-id
text: string

game-text-info

game-text-info: basicsource
Fields
type: type
length: int32
language-id: int32
group-name: string
data: game-text
Methods
lookup-text!(obj: game-text-info, arg0: text-id, arg1: symbol) => stringsource

Look up text by ID. Will return the string.
If the ID can't be found, and arg1 is #t, it will return #f,
otherwise the temp string UNKNOWN ID <id number>

Functions


text-id->string

text-id->string(text: text-id) => stringsource

Variables


*common-text-heap*

*common-text-heap*: kheapsource

*common-text*

*common-text*: game-text-infosource

*fallback-text-heap*

*fallback-text-heap*: kheapsource

*fallback-text*

*fallback-text*: game-text-infosource

*text-group-names*

*text-group-names*: arraysource

Functions


disable-level-text-file-loading

disable-level-text-file-loading() => nonesource

draw-debug-text-box

draw-debug-text-box(arg0: font-context) => nonesource

Not used outside of a single thing in progress.
Draws some lines

enable-level-text-file-loading

enable-level-text-file-loading() => nonesource

load-fallback-game-text-info

load-fallback-game-text-info(txt-name: string, curr-text: symbol, heap: kheap) => intsource

Largely duplication of load-game-text-info but is hardcoded to load english (language 0)

load-game-text-info

load-game-text-info(txt-name: string, curr-text: symbol, heap: kheap) => intsource

Load text, if needed. txt-name is the group name, curr-text is the symbol for
the game-text-info, and heap is the heap to load to. The heap will be cleared.

load-level-text-files

load-level-text-files(arg0: int) => nonesource

Load the text files needed for level idx.
This function made more sense back when text files were split up, but in the end they put everything
in a single text group and file.

print-game-text(str: string, font-ctxt: font-context, opaque: symbol, alpha: int, line-height: int) => floatsource

Print text. Not worth commenting until we get stack variables in lets, I think

print-game-text-scaled(str: string, scale: float, font-ctxt: font-context, alpha: int) => nonesource

Print text, with a given scaling

set-font-color-alpha

set-font-color-alpha(idx: font-color, alpha: int) => nonesource

Set the alpha for a given color index

Variables


*game-text-line*

*game-text-line*: stringsource

*game-text-word*

*game-text-word*: stringsource

*level-text-file-load-flag*

*level-text-file-load-flag*: symbolsource

text-is-loading

text-is-loading: symbolsource