xoreos  0.0.5
Public Member Functions | Public Attributes | List of all members
Graphics::Aurora::Model_KotOR::ParserContext Struct Reference
Collaboration diagram for Graphics::Aurora::Model_KotOR::ParserContext:
Collaboration graph
[legend]

Public Member Functions

 ParserContext (const Common::UString &name, const Common::UString &t, bool k2, bool x)
 
 ~ParserContext ()
 
void clear ()
 

Public Attributes

Common::SeekableReadStreammdl
 
Common::SeekableReadStreammdx
 
Common::UString mdlName
 
State * state
 
std::list< ModelNode_KotOR * > nodes
 
Common::UString texture
 
bool kotor2
 
bool xbox
 
uint32 offModelData
 
uint32 offRawData
 
std::vector< Common::UStringnames
 
uint32 mdxStructSize
 
uint16 vertexCount
 
uint32 offNodeData
 

Detailed Description

Definition at line 49 of file model_kotor.h.

Constructor & Destructor Documentation

◆ ParserContext()

Graphics::Aurora::Model_KotOR::ParserContext::ParserContext ( const Common::UString name,
const Common::UString t,
bool  k2,
bool  x 
)

Definition at line 119 of file model_kotor.cpp.

References Common::UString::c_str(), Aurora::kFileTypeMDL, Aurora::kFileTypeMDX, mdl, mdx, and ResMan.

Here is the call graph for this function:

◆ ~ParserContext()

Graphics::Aurora::Model_KotOR::ParserContext::~ParserContext ( )

Definition at line 138 of file model_kotor.cpp.

Member Function Documentation

◆ clear()

void Graphics::Aurora::Model_KotOR::ParserContext::clear ( )

Definition at line 145 of file model_kotor.cpp.

Referenced by Graphics::Aurora::Model_KotOR::addState(), Graphics::Aurora::Model_KotOR::load(), and Graphics::Aurora::Model_KotOR::newState().

Here is the caller graph for this function:

Member Data Documentation

◆ kotor2

bool Graphics::Aurora::Model_KotOR::ParserContext::kotor2

Definition at line 61 of file model_kotor.h.

Referenced by Graphics::Aurora::ModelNode_KotOR::readMesh().

◆ mdl

Common::SeekableReadStream* Graphics::Aurora::Model_KotOR::ParserContext::mdl

◆ mdlName

Common::UString Graphics::Aurora::Model_KotOR::ParserContext::mdlName

◆ mdx

Common::SeekableReadStream* Graphics::Aurora::Model_KotOR::ParserContext::mdx

◆ mdxStructSize

uint32 Graphics::Aurora::Model_KotOR::ParserContext::mdxStructSize

◆ names

std::vector<Common::UString> Graphics::Aurora::Model_KotOR::ParserContext::names

◆ nodes

std::list<ModelNode_KotOR *> Graphics::Aurora::Model_KotOR::ParserContext::nodes

◆ offModelData

uint32 Graphics::Aurora::Model_KotOR::ParserContext::offModelData

◆ offNodeData

uint32 Graphics::Aurora::Model_KotOR::ParserContext::offNodeData

◆ offRawData

uint32 Graphics::Aurora::Model_KotOR::ParserContext::offRawData

Definition at line 65 of file model_kotor.h.

Referenced by Graphics::Aurora::Model_KotOR::load().

◆ state

State* Graphics::Aurora::Model_KotOR::ParserContext::state

◆ texture

Common::UString Graphics::Aurora::Model_KotOR::ParserContext::texture

Definition at line 59 of file model_kotor.h.

Referenced by Graphics::Aurora::ModelNode_KotOR::readMesh().

◆ vertexCount

uint16 Graphics::Aurora::Model_KotOR::ParserContext::vertexCount

◆ xbox

bool Graphics::Aurora::Model_KotOR::ParserContext::xbox

Definition at line 62 of file model_kotor.h.

Referenced by Graphics::Aurora::ModelNode_KotOR::readSkin().


The documentation for this struct was generated from the following files: