Skip to main content

progress-draw

source

Functions


adjust-pos

adjust-pos(arg0: int, arg1: int) => intsource

draw-percent-bar

draw-percent-bar(arg0: int, arg1: int, arg2: float, arg3: rgba) => nonesource
print-language-name(arg0: int, arg1: font-context, arg2: int, arg3: symbol) => font-contextsource

progress-h

source

Types


count-info

count-info: structuresource
Fields
money-count: int32
buzzer-count: int32

game-count-info

game-count-info: basicsource
Fields
type: type
length: int32
data: count-info

game-option

game-option: basicsource
Fields
type: type
option-type: game-option-type
name: text-id
scale: symbol
param1: float
param2: float
param3: game-option-menu
value-to-modify: pointer
option-disabled-func: function
name-override: string
on-change: function
on-confirm: function
slider-step-size: float
slider-show-decimal?: symbol
bind-info: bind-assignment-info

level-tasks-info

level-tasks-info: basicsource
Fields
type: type
level-name-id: text-id
text-group-index: int32
nb-of-tasks: int32
buzzer-task-index: int32
task-info: task-info-data

progress

progress: 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
current-debug-string: int32
current-debug-language: int32
current-debug-group: int32
in-out-position: int32
display-state: progress-screen
next-display-state: progress-screen
option-index: int32
selected-option: basic
completion-percentage: float
ready-to-run: basic
display-level-index: int32
next-level-index: int32
task-index: int32
in-transition: basic
last-in-transition: basic
force-transition: basic
stat-transition: basic
level-transition: int32
language-selection: language-enum
language-direction: symbol
language-transition: basic
language-x-offset: int32
sides-x-scale: float
sides-y-scale: float
left-x-offset: int32
right-x-offset: int32
button-scale: float
slot-scale: float
left-side-x-scale: float
left-side-y-scale: float
right-side-x-scale: float
right-side-y-scale: float
small-orb-y-offset: int32
big-orb-y-offset: int32
transition-offset: int32
transition-offset-invert: int32
transition-percentage: float
transition-percentage-invert: float
transition-speed: float
total-nb-of-power-cells: int32
total-nb-of-orbs: int32
total-nb-of-buzzers: int32
card-info: mc-slot-info
last-option-index-change: time-frame
video-mode-timeout: time-frame
display-state-stack: progress-screen
option-index-stack: int32
display-state-pos: int32
nb-of-icons: int32
icons: hud-icon
max-nb-of-particles: int32
nb-of-particles: int32
particles: hud-particle
particle-state: int32
Methods
progress-method-14: unknown
progress-method-15: unknown
progress-method-16: unknown
draw-progress(obj: progress) => nonesource
progress-method-18: unknown
visible?(obj: progress) => symbolsource
hidden?(obj: progress) => symbolsource
adjust-sprites(obj: progress) => nonesource
adjust-icons(obj: progress) => nonesource
adjust-ratios(obj: progress, aspect: symbol, video-mode: symbol) => nonesource
draw-fuel-cell-screen(obj: progress, arg0: int) => nonesource
draw-money-screen(obj: progress, arg0: int) => nonesource
draw-buzzer-screen(obj: progress, arg0: int) => nonesource
draw-notice-screen(obj: progress) => nonesource
draw-options(obj: progress, arg0: int, arg1: int, arg2: float) => nonesource
respond-common(obj: progress) => nonesource
respond-progress(obj: progress) => nonesource
respond-memcard(obj: progress) => nonesource
can-go-back?(obj: progress) => symbolsource
initialize-icons(obj: progress) => nonesource
initialize-particles(obj: progress) => nonesource
draw-memcard-storage-error(obj: progress, arg0: font-context) => nonesource
draw-memcard-data-exists(obj: progress, arg0: font-context) => nonesource
draw-memcard-no-data(obj: progress, arg0: font-context) => nonesource
draw-memcard-accessing(obj: progress, arg0: font-context) => nonesource
draw-memcard-insert(obj: progress, arg0: font-context) => nonesource
draw-memcard-file-select(obj: progress, arg0: font-context) => nonesource
draw-memcard-auto-save-error(obj: progress, arg0: font-context) => nonesource
draw-memcard-removed(obj: progress, arg0: font-context) => nonesource
draw-memcard-error(obj: progress, arg0: font-context) => nonesource
progress-method-44: unknown
push!(obj: progress) => nonesource
pop!(obj: progress) => nonesource
progress-method-47: unknown
enter!(obj: progress, screen: progress-screen, option: int) => nonesource
draw-memcard-format(obj: progress, arg0: font-context) => nonesource
draw-auto-save(obj: progress, arg0: font-context) => nonesource
set-transition-progress!(obj: progress, arg0: int) => nonesource
set-transition-speed!(obj: progress) => nonesource
set-memcard-screen(obj: progress, arg0: progress-screen) => progress-screensource
draw-pal-change-to-60hz(obj: progress, arg0: font-context) => nonesource
draw-pal-now-60hz(obj: progress, arg0: font-context) => nonesource
draw-no-disc(obj: progress, arg0: font-context) => nonesource
draw-bad-disc(obj: progress, arg0: font-context) => nonesource
draw-quit(obj: progress, arg0: font-context) => nonesource
States
progress-coming-in: TODO
progress-debug: TODO
progress-going-out: TODO
progress-gone: TODO
progress-normal: TODO
progress-waiting: TODO

task-info-data

task-info-data: basicsource
Fields
type: type
task-id: game-task
task-name: text-id
text-index-when-resolved: int32

Variables


*progress-last-task-index*

*progress-last-task-index*: intsource

*progress-process*

*progress-process*: pointersource

progress-part

source

Functions


fuel-cell-progress-hud-orbit-callback

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

part-progress-card-cell-func

part-progress-card-cell-func(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

part-progress-card-slot-01-func

part-progress-card-slot-01-func(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

part-progress-card-slot-02-func

part-progress-card-slot-02-func(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

part-progress-card-slot-03-func

part-progress-card-slot-03-func(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

part-progress-card-slot-04-func

part-progress-card-slot-04-func(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

part-progress-hud-button-func

part-progress-hud-button-func(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

part-progress-hud-buzzer-func

part-progress-hud-buzzer-func(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

part-progress-hud-left-func

part-progress-hud-left-func(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

part-progress-hud-orb-func

part-progress-hud-orb-func(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

part-progress-hud-right-func

part-progress-hud-right-func(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

part-progress-hud-tint-func

part-progress-hud-tint-func(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

part-progress-save-icon-func

part-progress-save-icon-func(arg0: sparticle-system, arg1: sparticle-cpuinfo, arg2: matrix) => nonesource

progress-static

source

Variables


*game-counts*

*game-counts*: game-count-infosource

*game-options-demo*

*game-options-demo*: arraysource

*game-options-japan*

*game-options-japan*: arraysource

*game-options*

*game-options*: arraysource

*graphic-options*

*graphic-options*: arraysource

*graphic-title-options-pal*

*graphic-title-options-pal*: arraysource

*language-name-remap*

*language-name-remap*: arraysource

*level-task-data-remap*

*level-task-data-remap*: arraysource

*level-task-data*

*level-task-data*: arraysource

*load-options*

*load-options*: arraysource

*main-options-demo-shared*

*main-options-demo-shared*: arraysource

*main-options-demo*

*main-options-demo*: arraysource

*main-options*

*main-options*: arraysource

*ok-options*

*ok-options*: arraysource

*options-remap*

*options-remap*: arraysource

*options*

*options*: arraysource

*save-options-title*

*save-options-title*: arraysource

*save-options*

*save-options*: arraysource

*sound-options*

*sound-options*: arraysource

*task-egg-starting-x*

*task-egg-starting-x*: arraysource

*title*

*title*: arraysource

*yes-no-options*

*yes-no-options*: arraysource

progress

source

Types


progress-global-state

progress-global-state: basicsource
Fields
type: type
aspect-ratio-choice: symbol
video-mode-choice: symbol
yes-no-choice: symbol
which: int32
starting-state: progress-screen
last-slot-saved: int32
slider-backup: float
language-backup: language-enum
on-off-backup: symbol
center-x-backup: int32
center-y-backup: int32
aspect-ratio-backup: symbol
last-slider-sound: time-frame

Functions


activate-progress

activate-progress(creator: process, screen: progress-screen) => nonesource

calculate-completion

calculate-completion(the-progress: progress) => floatsource

Updates counters and calculates game completion.
Cells are tallied 80%
Buzzers are tallied 10%
Orbs are tallied 10%

deactivate-progress

deactivate-progress() => nonesource

get-game-count

get-game-count(arg0: int) => count-infosource

get-next-level-down

get-next-level-down(lev-idx: int) => intsource

get-next-level-up

get-next-level-up(lev-idx: int) => intsource

get-next-task-down

get-next-task-down(cur-task-idx: int, lev-idx: int) => intsource

find previous available task. skips over unknown tasks and doesn't do anything if none are found

get-next-task-up

get-next-task-up(cur-task-idx: int, lev-idx: int) => intsource

find next available task. skips over unknown tasks and doesn't do anything if none are found

hide-progress-icons

hide-progress-icons() => nonesource

hide-progress-screen

hide-progress-screen() => nonesource

shoo!

init-game-options

init-game-options(obj: progress) => nonesource

Set the options for all of the menus.

make-current-level-available-to-progress

make-current-level-available-to-progress() => nonesource

exactly what it says on the tin.

make-levels-with-tasks-available-to-progress

make-levels-with-tasks-available-to-progress() => nonesource

Open levels that have tasks to do!

pause-allowed?

pause-allowed?() => symbolsource

progress-allowed?

progress-allowed?() => symbolsource

progress-init-by-other

progress-init-by-other() => nonesource

Variables


*progress-save-info*

*progress-save-info*: mc-slot-infosource

*progress-stack-top*

*progress-stack-top*: unknownsource

*progress-stack*

*progress-stack*: pointersource

*progress-state*

*progress-state*: progress-global-statesource