OpenMW
Typedefs | Functions
Compiler::Generator Namespace Reference

Typedefs

typedef std::vector
< Interpreter::Type_Code
CodeContainer

Functions

void pushInt (CodeContainer &code, Literals &literals, int value)
void pushFloat (CodeContainer &code, Literals &literals, float value)
void pushString (CodeContainer &code, Literals &literals, const std::string &value)
void assignToLocal (CodeContainer &code, char localType, int localIndex, const CodeContainer &value, char valueType)
void negate (CodeContainer &code, char valueType)
void add (CodeContainer &code, char valueType1, char valueType2)
void sub (CodeContainer &code, char valueType1, char valueType2)
void mul (CodeContainer &code, char valueType1, char valueType2)
void div (CodeContainer &code, char valueType1, char valueType2)
void convert (CodeContainer &code, char fromType, char toType)
void squareRoot (CodeContainer &code)
void exit (CodeContainer &code)
void message (CodeContainer &code, Literals &literals, const std::string &message, int buttons)
void report (CodeContainer &code, Literals &literals, const std::string &message)
void fetchLocal (CodeContainer &code, char localType, int localIndex)
void jump (CodeContainer &code, int offset)
void jumpOnZero (CodeContainer &code, int offset)
void jumpOnNonZero (CodeContainer &code, int offset)
void compare (CodeContainer &code, char op, char valueType1, char valueType2)
void menuMode (CodeContainer &code)
void assignToGlobal (CodeContainer &code, Literals &literals, char localType, const std::string &name, const CodeContainer &value, char valueType)
void fetchGlobal (CodeContainer &code, Literals &literals, char localType, const std::string &name)
void assignToMember (CodeContainer &code, Literals &literals, char localType, const std::string &name, const std::string &id, const CodeContainer &value, char valueType)
void fetchMember (CodeContainer &code, Literals &literals, char localType, const std::string &name, const std::string &id)
void random (CodeContainer &code)
void scriptRunning (CodeContainer &code)
void startScript (CodeContainer &code)
void stopScript (CodeContainer &code)
void getDistance (CodeContainer &code, Literals &literals, const std::string &id)
void getSecondsPassed (CodeContainer &code)
void getDisabled (CodeContainer &code, Literals &literals, const std::string &id)
void enable (CodeContainer &code, Literals &literals, const std::string &id)
void disable (CodeContainer &code, Literals &literals, const std::string &id)
Interpreter::Type_Code segment0 (unsigned int c, unsigned int arg0)
Interpreter::Type_Code segment1 (unsigned int c, unsigned int arg0, unsigned int arg1)
Interpreter::Type_Code segment2 (unsigned int c, unsigned int arg0)
Interpreter::Type_Code segment3 (unsigned int c, unsigned int arg0)
Interpreter::Type_Code segment4 (unsigned int c, unsigned int arg0, unsigned int arg1)
Interpreter::Type_Code segment5 (unsigned int c)

Typedef Documentation


Function Documentation

void Compiler::Generator::add ( CodeContainer &  code,
char  valueType1,
char  valueType2 
)
void Compiler::Generator::assignToGlobal ( CodeContainer &  code,
Literals &  literals,
char  localType,
const std::string &  name,
const CodeContainer &  value,
char  valueType 
)
void Compiler::Generator::assignToLocal ( CodeContainer &  code,
char  localType,
int  localIndex,
const CodeContainer &  value,
char  valueType 
)
void Compiler::Generator::assignToMember ( CodeContainer &  code,
Literals &  literals,
char  localType,
const std::string &  name,
const std::string &  id,
const CodeContainer &  value,
char  valueType 
)
void Compiler::Generator::compare ( CodeContainer &  code,
char  op,
char  valueType1,
char  valueType2 
)
void Compiler::Generator::convert ( CodeContainer &  code,
char  fromType,
char  toType 
)
void Compiler::Generator::disable ( CodeContainer &  code,
Literals &  literals,
const std::string &  id 
)
void Compiler::Generator::div ( CodeContainer &  code,
char  valueType1,
char  valueType2 
)
void Compiler::Generator::enable ( CodeContainer &  code,
Literals &  literals,
const std::string &  id 
)
void Compiler::Generator::exit ( CodeContainer &  code)
void Compiler::Generator::fetchGlobal ( CodeContainer &  code,
Literals &  literals,
char  localType,
const std::string &  name 
)
void Compiler::Generator::fetchLocal ( CodeContainer &  code,
char  localType,
int  localIndex 
)
void Compiler::Generator::fetchMember ( CodeContainer &  code,
Literals &  literals,
char  localType,
const std::string &  name,
const std::string &  id 
)
void Compiler::Generator::getDisabled ( CodeContainer &  code,
Literals &  literals,
const std::string &  id 
)
void Compiler::Generator::getDistance ( CodeContainer &  code,
Literals &  literals,
const std::string &  id 
)
void Compiler::Generator::getSecondsPassed ( CodeContainer &  code)
void Compiler::Generator::jump ( CodeContainer &  code,
int  offset 
)
void Compiler::Generator::jumpOnNonZero ( CodeContainer &  code,
int  offset 
)
void Compiler::Generator::jumpOnZero ( CodeContainer &  code,
int  offset 
)
void Compiler::Generator::menuMode ( CodeContainer &  code)
void Compiler::Generator::message ( CodeContainer &  code,
Literals &  literals,
const std::string &  message,
int  buttons 
)
void Compiler::Generator::mul ( CodeContainer &  code,
char  valueType1,
char  valueType2 
)
void Compiler::Generator::negate ( CodeContainer &  code,
char  valueType 
)
void Compiler::Generator::pushFloat ( CodeContainer &  code,
Literals &  literals,
float  value 
)
void Compiler::Generator::pushInt ( CodeContainer &  code,
Literals &  literals,
int  value 
)
void Compiler::Generator::pushString ( CodeContainer &  code,
Literals &  literals,
const std::string &  value 
)
void Compiler::Generator::random ( CodeContainer &  code)
void Compiler::Generator::report ( CodeContainer &  code,
Literals &  literals,
const std::string &  message 
)
void Compiler::Generator::scriptRunning ( CodeContainer &  code)
Interpreter::Type_Code Compiler::Generator::segment0 ( unsigned int  c,
unsigned int  arg0 
) [inline]
Interpreter::Type_Code Compiler::Generator::segment1 ( unsigned int  c,
unsigned int  arg0,
unsigned int  arg1 
) [inline]
Interpreter::Type_Code Compiler::Generator::segment2 ( unsigned int  c,
unsigned int  arg0 
) [inline]
Interpreter::Type_Code Compiler::Generator::segment3 ( unsigned int  c,
unsigned int  arg0 
) [inline]
Interpreter::Type_Code Compiler::Generator::segment4 ( unsigned int  c,
unsigned int  arg0,
unsigned int  arg1 
) [inline]
void Compiler::Generator::squareRoot ( CodeContainer &  code)
void Compiler::Generator::startScript ( CodeContainer &  code)
void Compiler::Generator::stopScript ( CodeContainer &  code)
void Compiler::Generator::sub ( CodeContainer &  code,
char  valueType1,
char  valueType2 
)