xoreos  0.0.5
Classes | Typedefs | Enumerations | Functions
Aurora::ActionScript Namespace Reference

Classes

class  Array
 
class  ASBuffer
 
class  AVM
 The Action script virtual machine (AVM). More...
 
class  DummyFunction
 
class  Function
 
class  MovieClip
 
class  NativeFunction
 
class  Object
 
class  ScriptedFunction
 
class  String
 
class  TextField
 
class  Variable
 An action script variable. More...
 

Typedefs

typedef boost::shared_ptr< ArrayArrayPtr
 
typedef boost::function< Variable(const Common::UString &, const Common::UString &)> FSCommandFunction
 Function for receiving fscommand(). More...
 
typedef boost::function< void(const Common::UString &, ObjectPtr)> RegisterClassFunction
 Function for registering classes for widgets. More...
 
typedef boost::shared_ptr< FunctionFunctionPtr
 
typedef boost::shared_ptr< ObjectObjectPtr
 
typedef boost::shared_ptr< StringStringPtr
 
typedef boost::shared_ptr< TextFieldTextFieldPtr
 

Enumerations

enum  Opcodes {
  kActionNextFrame = 0x04, kActionPreviousFrame = 0x05, kActionStop = 0x07, kActionToggleQuality = 0x08,
  kActionStopSounds = 0x09, kActionSubtract = 0x0B, kActionMultiply = 0x0C, kActionDivide = 0x0D,
  kActionEquals = 0x0E, kActionAnd = 0x10, kActionOr = 0x11, kActionNot = 0x12,
  kActionStringEquals = 0x13, kActionPop = 0x17, kActionGetVariable = 0x1C, kActionSetVariable = 0x1D,
  kActionTrace = 0x26, kActionDefineLocal = 0x3C, kActionCallFunction = 0x3D, kActionReturn = 0x3E,
  kActionNewObject = 0x40, kActionInitArray = 0x42, kActionAdd2 = 0x47, kActionLess2 = 0x48,
  kActionEquals2 = 0x49, kActionToNumber2 = 0x4A, kActionPushDuplicate = 0x4C, kActionGetMember = 0x4E,
  kActionSetMember = 0x4F, kActionIncrement = 0x50, kActionCallMethod = 0x52, kActionEnumerate2 = 0x55,
  kActionStrictEquals = 0x66, kActionExtends = 0x69, kActionGetURL = 0x83, kActionStoreRegister = 0x87,
  kActionConstantPool = 0x88, kActionDefineFunction2 = 0x8E, kActionPush = 0x96, kActionJump = 0x99,
  kActionGetURL2 = 0x9A, kActionDefineFunction = 0x9B, kActionIf = 0x9D
}
 
enum  Type {
  kTypeUndefined, kTypeNull, kTypeNumber, kTypeBoolean,
  kTypeObject, kTypeString
}
 

Functions

static Variable as_push (AVM &avm)
 
static Variable as_pop (AVM &avm)
 

Typedef Documentation

◆ ArrayPtr

typedef boost::shared_ptr<Array> Aurora::ActionScript::ArrayPtr

Definition at line 37 of file array.h.

◆ FSCommandFunction

Function for receiving fscommand().

Definition at line 40 of file avm.h.

◆ FunctionPtr

typedef boost::shared_ptr<Function> Aurora::ActionScript::FunctionPtr

Definition at line 39 of file function.h.

◆ ObjectPtr

typedef boost::shared_ptr< Object > Aurora::ActionScript::ObjectPtr

Definition at line 43 of file object.h.

◆ RegisterClassFunction

typedef boost::function<void (const Common::UString &, ObjectPtr)> Aurora::ActionScript::RegisterClassFunction

Function for registering classes for widgets.

Definition at line 43 of file avm.h.

◆ StringPtr

typedef boost::shared_ptr<String> Aurora::ActionScript::StringPtr

Definition at line 36 of file string.h.

◆ TextFieldPtr

typedef boost::shared_ptr<TextField> Aurora::ActionScript::TextFieldPtr

Definition at line 34 of file textfield.h.

Enumeration Type Documentation

◆ Opcodes

Enumerator
kActionNextFrame 
kActionPreviousFrame 
kActionStop 
kActionToggleQuality 
kActionStopSounds 
kActionSubtract 
kActionMultiply 
kActionDivide 
kActionEquals 
kActionAnd 
kActionOr 
kActionNot 
kActionStringEquals 
kActionPop 
kActionGetVariable 
kActionSetVariable 
kActionTrace 
kActionDefineLocal 
kActionCallFunction 
kActionReturn 
kActionNewObject 
kActionInitArray 
kActionAdd2 
kActionLess2 
kActionEquals2 
kActionToNumber2 
kActionPushDuplicate 
kActionGetMember 
kActionSetMember 
kActionIncrement 
kActionCallMethod 
kActionEnumerate2 
kActionStrictEquals 
kActionExtends 
kActionGetURL 
kActionStoreRegister 
kActionConstantPool 
kActionDefineFunction2 
kActionPush 
kActionJump 
kActionGetURL2 
kActionDefineFunction 
kActionIf 

Definition at line 40 of file asbuffer.cpp.

◆ Type

Enumerator
kTypeUndefined 
kTypeNull 
kTypeNumber 
kTypeBoolean 
kTypeObject 
kTypeString 

Definition at line 32 of file types.h.

Function Documentation

◆ as_pop()

static Variable Aurora::ActionScript::as_pop ( AVM avm)
static

Definition at line 41 of file array.cpp.

References Aurora::ActionScript::Variable::as(), and Aurora::ActionScript::AVM::getRegister().

Referenced by Aurora::ActionScript::Array::Array().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ as_push()

static Variable Aurora::ActionScript::as_push ( AVM avm)
static

Definition at line 33 of file array.cpp.

References Aurora::ActionScript::Variable::as(), and Aurora::ActionScript::AVM::getRegister().

Referenced by Aurora::ActionScript::Array::Array().

Here is the call graph for this function:
Here is the caller graph for this function: