OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Typedefs | Functions
generator.hpp File Reference
#include <vector>
#include <string>
#include <cassert>
#include <components/interpreter/types.hpp>
Include dependency graph for generator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Compiler
 script compiler
 
 Compiler::Generator
 

Typedefs

typedef std::vector
< Interpreter::Type_Code
Compiler::Generator::CodeContainer
 

Functions

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