( *@ ) [Syntax] | |
(+@) [Syntax] | |
(-@) [Syntax] | |
(/@) [Syntax] | |
(~@) [Syntax] | |
A | |
animate [Interp] |
Compute the next state of an
Interp_types.obj : delete out-of-bounds or vanished children, recursively Interp.animate its remaining children, interpret its current instruction, handle physics (move it according to its current direction and speed)
The interpretation phase can interpret several Interp_types.opcode s, for
example until a OpWait instruction is found.
|
B | |
build_prog [Interp] |
Convert a list of
Syntax.subaction s into a list of Interp_types.opcode s.
|
bulletDefault [Syntax] | |
C | |
collect_obj [Interp] |
Create the list of descendants of an
Interp_types.obj , including itself.
|
I | |
initial_obj [Interp] |
Given a program and a position, build an
Interp_types.obj with default
values.
|
int_pos [Interp] |
Convert a (float)
Interp_types.position to a pair of ints.
|
M | |
main_loop [Interp] |
Skeleton for a main loop.
|
P | |
parse_action [Parser] |
Parse only a
Syntax.action .
|
parse_bullet [Parser] |
Parse only a
Syntax.bullet .
|
parse_fire [Parser] |
Parse only a
Syntax.fire .
|
parse_xml [Parser] |
Convert a whole document to a whole
Syntax.t .
|
prepare [Interp] |
Compile and prepare a program for interpretation.
|
print_bulletml [Printer] |
Print a
Syntax.t .
|
print_list [Printer] |
Print a list.
|
print_opcode [Printer] |
Print an
Interp_types.opcode .
|