#include <bsCore.h>
Public Member Functions | |
ScriptState () | |
Constructor. | |
Public Attributes | |
uint16 | curInstruction |
Index into CodeRecord::byteCode. | |
uint16 | stackHead |
Index into stack. | |
bstype | stack [BS_SCRIPT_STACK_SIZE] |
Stack. BS_SCRIPT_STACK_SIZE is defined in bsConfig.h. | |
bstype | suspendTime |
Time to wait when the script is suspended. | |
bstype * | locals |
This class is used by all objects that run on the VM
bstype* BS_NMSP::ScriptState::locals |
Local variables for whichever is the current emitter state. ScriptState itself is not responsible for managing this.