OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 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, bool global)
 
void fetchMember (CodeContainer &code, Literals &literals, char localType, const std::string &name, const std::string &id, bool global)
 
void random (CodeContainer &code)
 
void scriptRunning (CodeContainer &code)
 
void startScript (CodeContainer &code, Literals &literals, const std::string &id)
 
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 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::assignToGlobal ( CodeContainer &  code,
Literals &  literals,
char  localType,
const std::string &  name,
const CodeContainer &  value,
char  valueType 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::assignToLocal ( CodeContainer &  code,
char  localType,
int  localIndex,
const CodeContainer &  value,
char  valueType 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::assignToMember ( CodeContainer &  code,
Literals &  literals,
char  memberType,
const std::string &  name,
const std::string &  id,
const CodeContainer &  value,
char  valueType,
bool  global 
)
Parameters
globalMember of a global script instead of a script of a reference.

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::compare ( CodeContainer &  code,
char  op,
char  valueType1,
char  valueType2 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::convert ( CodeContainer &  code,
char  fromType,
char  toType 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::disable ( CodeContainer &  code,
Literals &  literals,
const std::string &  id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::div ( CodeContainer &  code,
char  valueType1,
char  valueType2 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::enable ( CodeContainer &  code,
Literals &  literals,
const std::string &  id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::exit ( CodeContainer &  code)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::fetchGlobal ( CodeContainer &  code,
Literals &  literals,
char  localType,
const std::string &  name 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::fetchLocal ( CodeContainer &  code,
char  localType,
int  localIndex 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::fetchMember ( CodeContainer &  code,
Literals &  literals,
char  memberType,
const std::string &  name,
const std::string &  id,
bool  global 
)
Parameters
globalMember of a global script instead of a script of a reference.

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::getDisabled ( CodeContainer &  code,
Literals &  literals,
const std::string &  id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::getDistance ( CodeContainer &  code,
Literals &  literals,
const std::string &  id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::getSecondsPassed ( CodeContainer &  code)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::jump ( CodeContainer &  code,
int  offset 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::jumpOnZero ( CodeContainer &  code,
int  offset 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::menuMode ( CodeContainer &  code)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::message ( CodeContainer &  code,
Literals &  literals,
const std::string &  message,
int  buttons 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::mul ( CodeContainer &  code,
char  valueType1,
char  valueType2 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::negate ( CodeContainer &  code,
char  valueType 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::pushFloat ( CodeContainer &  code,
Literals &  literals,
float  value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::pushInt ( CodeContainer &  code,
Literals &  literals,
int  value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::pushString ( CodeContainer &  code,
Literals &  literals,
const std::string &  value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::random ( CodeContainer &  code)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::report ( CodeContainer &  code,
Literals &  literals,
const std::string &  message 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::scriptRunning ( CodeContainer &  code)

Here is the call graph for this function:

Here is the caller graph for this function:

Interpreter::Type_Code Compiler::Generator::segment0 ( unsigned int  c,
unsigned int  arg0 
)
inline

Here is the caller graph for this function:

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

Here is the caller graph for this function:

Interpreter::Type_Code Compiler::Generator::segment4 ( unsigned int  c,
unsigned int  arg0,
unsigned int  arg1 
)
inline
Interpreter::Type_Code Compiler::Generator::segment5 ( unsigned int  c)
inline
void Compiler::Generator::squareRoot ( CodeContainer &  code)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::startScript ( CodeContainer &  code,
Literals &  literals,
const std::string &  id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::stopScript ( CodeContainer &  code)

Here is the call graph for this function:

Here is the caller graph for this function:

void Compiler::Generator::sub ( CodeContainer &  code,
char  valueType1,
char  valueType2 
)

Here is the call graph for this function:

Here is the caller graph for this function: