Simutrans-Squirrel-API
|
Go to the source code of this file.
Classes | |
class | debug |
Functions | |
integer | get_ops_remaining () |
integer | get_ops_total () |
void | sleep () |
script control and debug functions.
Definition in file api_control.cc.
integer get_ops_remaining | ( | ) |
integer get_ops_total | ( | ) |
void sleep | ( | ) |
Suspends execution of the script. Upon resume, the script will have full count of opcodes to spent for fragile code, i.e. writing into persistent.