cGrannyLoader_i2_L Class Reference

List of all members.

Public Member Functions

mixed Destroy (...)
 object methods exported to lua
mixed CreateOgreMesh (...)
 sMeshName CreateOgreMesh (sMatName,sSkeletonName,sMeshName=uniquename())
mixed AddAnimToSkeleton (...)
mixed GetTextChunkCount (...)
mixed GetTextChunkSize (...)
mixed GetText (...)
mixed GetParamGroupCount (...)
mixed GetParamGroupSize (...)
mixed GetParam (...)
mixed GetSubMeshCount (...)
mixed GetTextureIDCount (...)
mixed GetTextureID (...)
 int GetTextureID (int index)
mixed Print (...)
mixed PrintBones (...)

Static Public Member Functions

static mixed LoadGranny (...)
static mixed CreateSkeleton (...)
 string CreateSkeleton (sName=uniquename())
static mixed SkeletonHasAnimation (...)
 string SkeletonHasAnimation (sSkeletonName,sAnimName)


Detailed Description

Definition at line 6735 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed cGrannyLoader_i2_L::LoadGranny (   ...  )  [inline, static]

static methods exported to lua cGrannyLoader_i2* LoadGranny (string file); for lua returns nil,errormsg on failure

Definition at line 6740 of file lua_pseudo_code.cpp.

static mixed cGrannyLoader_i2_L::CreateSkeleton (   ...  )  [inline, static]

string CreateSkeleton (sName=uniquename())

Definition at line 6743 of file lua_pseudo_code.cpp.

static mixed cGrannyLoader_i2_L::SkeletonHasAnimation (   ...  )  [inline, static]

string SkeletonHasAnimation (sSkeletonName,sAnimName)

Definition at line 6746 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::Destroy (   ...  )  [inline]

object methods exported to lua

Definition at line 6749 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::CreateOgreMesh (   ...  )  [inline]

sMeshName CreateOgreMesh (sMatName,sSkeletonName,sMeshName=uniquename())

Definition at line 6752 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::AddAnimToSkeleton (   ...  )  [inline]

void AddAnimToSkeleton (sSkeletonName,sAnimName,table bodysamples) as the granny format is rather perverted and has a different rest-position for the bones in the anim-granny and in the model-granny, we need a complete set of bodyparts to determine the correct rest position for each bone (single body parts don't usually contain all bones) all model-parts seem to have the same bone-rest-positions, only the anims are different

Definition at line 6758 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::GetTextChunkCount (   ...  )  [inline]

int GetTextChunkCount () total number of different textchunk-blocks

Definition at line 6762 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::GetTextChunkSize (   ...  )  [inline]

int GetTextChunkSize (int chunkid) number of strings in one textchunk-block

Definition at line 6766 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::GetText (   ...  )  [inline]

string GetText (int chunkid,int stringid) retrieve a string from a textchunk-block

Definition at line 6770 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::GetParamGroupCount (   ...  )  [inline]

int GetParamGroupCount () total number of different paramgroups

Definition at line 6774 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::GetParamGroupSize (   ...  )  [inline]

int GetParamGroupSize (int groupid) number of pairs in one paramgroup

Definition at line 6778 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::GetParam (   ...  )  [inline]

iKey,iValue GetParam (int groupid,int paramid) retrieve a string from a textchunk-block

Definition at line 6782 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::GetSubMeshCount (   ...  )  [inline]

int GetSubMeshCount () total number of different submeshes (usually 1)

Definition at line 6786 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::GetTextureIDCount (   ...  )  [inline]

int GetTextureIDCount () number of TextureIDs

Definition at line 6790 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::GetTextureID (   ...  )  [inline]

int GetTextureID (int index)

Definition at line 6793 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::Print (   ...  )  [inline]

void Print () extensive debug dump to stdout

Definition at line 6797 of file lua_pseudo_code.cpp.

mixed cGrannyLoader_i2_L::PrintBones (   ...  )  [inline]

void PrintBones () extensive debug dump about bones to stdout

Definition at line 6801 of file lua_pseudo_code.cpp.


The documentation for this class was generated from the following file:

Generated on Fri Mar 29 05:41:09 2013 for lua by  doxygen 1.5.6