OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Functions | Variables
Interpreter Namespace Reference

script interpreter More...

Classes

class  Context
 
class  OpReturn
 
class  OpSkipZero
 
class  OpSkipNonZero
 
class  OpJumpForward
 
class  OpJumpBackward
 
class  OpPushInt
 
class  OpIntToFloat
 
class  OpFloatToInt
 
class  OpNegateInt
 
class  OpNegateFloat
 
class  OpIntToFloat1
 
class  OpFloatToInt1
 
class  Interpreter
 
class  OpStoreLocalShort
 
class  OpStoreLocalLong
 
class  OpStoreLocalFloat
 
class  OpFetchIntLiteral
 
class  OpFetchFloatLiteral
 
class  OpFetchLocalShort
 
class  OpFetchLocalLong
 
class  OpFetchLocalFloat
 
class  OpStoreGlobalShort
 
class  OpStoreGlobalLong
 
class  OpStoreGlobalFloat
 
class  OpFetchGlobalShort
 
class  OpFetchGlobalLong
 
class  OpFetchGlobalFloat
 
class  OpStoreMemberShort
 
class  OpStoreMemberLong
 
class  OpStoreMemberFloat
 
class  OpFetchMemberShort
 
class  OpFetchMemberLong
 
class  OpFetchMemberFloat
 
class  OpAddInt
 
class  OpSubInt
 
class  OpMulInt
 
class  OpDivInt
 
class  OpSquareRoot
 
class  OpCompare
 
class  RuntimeMessageFormatter
 
class  OpMessageBox
 
class  OpReport
 
class  OpMenuMode
 
class  OpRandom
 
class  OpGetSecondsPassed
 
class  OpEnable
 
class  OpDisable
 
class  OpGetDisabled
 
class  OpEnableExplicit
 
class  OpDisableExplicit
 
class  OpGetDisabledExplicit
 
class  Opcode0
 opcode for 0 arguments More...
 
class  Opcode1
 opcode for 1 argument More...
 
class  Opcode2
 opcode for 2 arguments More...
 
class  Runtime
 Runtime data and engine interface. More...
 
class  OpScriptRunning
 
class  OpStartScript
 
class  OpStartScriptExplicit
 
class  OpStopScript
 
class  OpGetDistance
 
class  OpGetDistanceExplicit
 
union  Data
 

Typedefs

typedef unsigned int Type_Code
 
typedef unsigned int Type_Data
 
typedef short Type_Short
 
typedef int Type_Integer
 
typedef float Type_Float
 

Functions

bool check (const std::string &str, const std::string &escword, unsigned int *i, unsigned int *start)
 
bool longerStr (const std::string &a, const std::string &b)
 
std::string fixDefinesReal (std::string text, bool dialogue, Context &context)
 
std::string fixDefinesDialog (const std::string &text, Context &context)
 
std::string fixDefinesMsgBox (const std::string &text, Context &context)
 
std::string fixDefinesBook (const std::string &text, Context &context)
 
void installOpcodes (Interpreter &interpreter)
 
std::string formatMessage (const std::string &message, Runtime &runtime)
 
template<typename T >
T & getData (Data &data)
 
template<>
Type_IntegergetData (Data &data)
 
template<>
Type_FloatgetData (Data &data)
 

Variables

std::vector< std::string > globals
 

Detailed Description

script interpreter

Typedef Documentation

typedef unsigned int Interpreter::Type_Code
typedef unsigned int Interpreter::Type_Data
typedef float Interpreter::Type_Float
typedef short Interpreter::Type_Short

Function Documentation

bool Interpreter::check ( const std::string &  str,
const std::string &  escword,
unsigned int i,
unsigned int start 
)

Here is the caller graph for this function:

std::string Interpreter::fixDefinesBook ( const std::string &  text,
Context &  context 
)

Here is the call graph for this function:

Here is the caller graph for this function:

std::string Interpreter::fixDefinesDialog ( const std::string &  text,
Context &  context 
)

Here is the call graph for this function:

Here is the caller graph for this function:

std::string Interpreter::fixDefinesMsgBox ( const std::string &  text,
Context &  context 
)

Here is the call graph for this function:

Here is the caller graph for this function:

std::string Interpreter::fixDefinesReal ( std::string  text,
bool  dialogue,
Context &  context 
)

Here is the call graph for this function:

Here is the caller graph for this function:

std::string Interpreter::formatMessage ( const std::string &  message,
Runtime &  runtime 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T >
T& Interpreter::getData ( Data &  data)

Here is the caller graph for this function:

template<>
Type_Integer& Interpreter::getData ( Data &  data)
inline
template<>
Type_Float& Interpreter::getData ( Data &  data)
inline
void Interpreter::installOpcodes ( Interpreter &  interpreter)

Here is the caller graph for this function:

bool Interpreter::longerStr ( const std::string &  a,
const std::string &  b 
)

Here is the caller graph for this function:

Variable Documentation

std::vector<std::string> Interpreter::globals