OpenMW
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  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  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, char eschar, bool isBook, Context &context)
std::string fixDefinesDialog (std::string text, Context &context)
std::string fixDefinesMsgBox (std::string text, Context &context)
std::string fixDefinesBook (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)

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 
)
std::string Interpreter::fixDefinesBook ( std::string  text,
Context &  context 
)
std::string Interpreter::fixDefinesDialog ( std::string  text,
Context &  context 
)
std::string Interpreter::fixDefinesMsgBox ( std::string  text,
Context &  context 
)
std::string Interpreter::fixDefinesReal ( std::string  text,
char  eschar,
bool  isBook,
Context &  context 
)
std::string Interpreter::formatMessage ( const std::string &  message,
Runtime &  runtime 
) [inline]
template<typename T >
T& Interpreter::getData ( Data &  data)
template<>
Type_Float & Interpreter::getData ( Data &  data) [inline]
void Interpreter::installOpcodes ( Interpreter &  interpreter)
bool Interpreter::longerStr ( const std::string &  a,
const std::string &  b 
)

Variable Documentation

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