xoreos  0.0.5
Namespaces | Macros | Variables
ncsfile.cpp File Reference

Handling BioWare's NWN Compiled Scripts. More...

#include <boost/make_shared.hpp>
#include "src/common/util.h"
#include "src/common/error.h"
#include "src/common/maths.h"
#include "src/common/ustring.h"
#include "src/common/readstream.h"
#include "src/common/encoding.h"
#include "src/common/debug.h"
#include "src/aurora/resman.h"
#include "src/aurora/nwscript/ncsfile.h"
#include "src/aurora/nwscript/object.h"
#include "src/aurora/nwscript/functionman.h"
Include dependency graph for ncsfile.cpp:

Go to the source code of this file.

Namespaces

 Aurora
 
 Aurora::NWScript
 

Macros

#define OPCODE(x)   { &NCSFile::x, #x }
 
#define OPCODE0()   { 0, "" }
 

Variables

static const uint32 kNCSTag = MKTAG('N', 'C', 'S', ' ')
 
static const uint32 kVersion10 = MKTAG('V', '1', '.', '0')
 
static const uint32 kScriptObjectSelf = 0x00000000
 
static const uint32 kScriptObjectInvalid = 0x00000001
 
static const uint32 kScriptObjectInvalid2 = 0xFFFFFFFF
 
static const uint32 kScriptObjectTypeInvalid = 0x7F000000
 

Detailed Description

Handling BioWare's NWN Compiled Scripts.

Definition in file ncsfile.cpp.

Macro Definition Documentation

◆ OPCODE

#define OPCODE (   x)    { &NCSFile::x, #x }

Definition at line 191 of file ncsfile.cpp.

Referenced by Aurora::NWScript::NCSFile::setupOpcodes().

◆ OPCODE0

#define OPCODE0 ( )    { 0, "" }

Definition at line 192 of file ncsfile.cpp.

Referenced by Aurora::NWScript::NCSFile::setupOpcodes().

Variable Documentation

◆ kNCSTag

const uint32 kNCSTag = MKTAG('N', 'C', 'S', ' ')
static

Definition at line 49 of file ncsfile.cpp.

Referenced by Aurora::NWScript::NCSFile::load().

◆ kScriptObjectInvalid

const uint32 kScriptObjectInvalid = 0x00000001
static

Definition at line 53 of file ncsfile.cpp.

Referenced by Aurora::NWScript::NCSFile::o_const().

◆ kScriptObjectInvalid2

const uint32 kScriptObjectInvalid2 = 0xFFFFFFFF
static

Definition at line 54 of file ncsfile.cpp.

Referenced by Aurora::NWScript::NCSFile::o_const().

◆ kScriptObjectSelf

const uint32 kScriptObjectSelf = 0x00000000
static

Definition at line 52 of file ncsfile.cpp.

Referenced by Aurora::NWScript::NCSFile::o_const().

◆ kScriptObjectTypeInvalid

const uint32 kScriptObjectTypeInvalid = 0x7F000000
static

Definition at line 55 of file ncsfile.cpp.

Referenced by Aurora::NWScript::NCSFile::o_const().

◆ kVersion10

const uint32 kVersion10 = MKTAG('V', '1', '.', '0')
static

Definition at line 50 of file ncsfile.cpp.