xoreos  0.0.5
Namespaces | Enumerations
model_jade.cpp File Reference

Loading MDL/MDX files found in Jade Empire. More...

#include <cstring>
#include "src/common/error.h"
#include "src/common/maths.h"
#include "src/common/readstream.h"
#include "src/common/encoding.h"
#include "src/aurora/types.h"
#include "src/aurora/resman.h"
#include "src/graphics/aurora/model_jade.h"
#include "src/graphics/aurora/textureman.h"
#include "src/graphics/aurora/texture.h"
#include "src/graphics/shader/materialman.h"
#include "src/graphics/shader/surfaceman.h"
#include "src/graphics/render/renderman.h"
#include "src/graphics/images/decoder.h"
#include "src/common/uuid.h"
Include dependency graph for model_jade.cpp:

Go to the source code of this file.

Namespaces

 Graphics
 
 Graphics::Aurora
 

Enumerations

enum  NodeType {
  kNodeTypeNode = 0x00000001, kNodeTypeLight = 0x00000003, kNodeTypeEmitter = 0x00000005, kNodeTypeCamera = 0x00000009,
  kNodeTypeReference = 0x00000011, kNodeTypeTrimesh = 0x00000021, kNodeTypeSkin = 0x00000061, kNodeTypeAABB = 0x00000221,
  kNodeTypeWeaponTrail = 0x00000821, kNodeTypeGob = 0x00001001, kNodeTypeCloth = 0x00004021, kNodeTypeCollisionSphere = 0x00006001,
  kNodeTypeCollisionCapsule = 0x0000A001, kNodeTypeDanglyBone = 0x00020001, kNodeTypeCollisionLozenge = 0x00022001, kNodeTypeUnknown = 0x00040001
}
 
enum  NodeTypeFeature { kNodeTypeHasHeader = 0x00000001, kNodeTypeHasMesh = 0x00000020, kNodeTypeHasSkin = 0x00000040, kNodeTypeHasAABB = 0x00000200 }
 
enum  NodeFlag {
  kNodeFlagsAnimatedUV = 1 << 0, kNodeFlagsLightmapped = 1 << 1, kNodeFlagsBackgroundGeometry = 1 << 2, kNodeFlagsBeaming = 1 << 3,
  kNodeFlagsRender = 1 << 4
}
 

Detailed Description

Loading MDL/MDX files found in Jade Empire.

Definition in file model_jade.cpp.

Enumeration Type Documentation

◆ NodeFlag

enum NodeFlag
Enumerator
kNodeFlagsAnimatedUV 
kNodeFlagsLightmapped 
kNodeFlagsBackgroundGeometry 
kNodeFlagsBeaming 
kNodeFlagsRender 

Definition at line 82 of file model_jade.cpp.

◆ NodeType

enum NodeType
Enumerator
kNodeTypeNode 
kNodeTypeLight 
kNodeTypeEmitter 
kNodeTypeCamera 
kNodeTypeReference 
kNodeTypeTrimesh 
kNodeTypeSkin 
kNodeTypeAABB 
kNodeTypeWeaponTrail 
kNodeTypeGob 
kNodeTypeCloth 
kNodeTypeCollisionSphere 
kNodeTypeCollisionCapsule 
kNodeTypeDanglyBone 
kNodeTypeCollisionLozenge 
kNodeTypeUnknown 

Definition at line 56 of file model_jade.cpp.

◆ NodeTypeFeature

Enumerator
kNodeTypeHasHeader 
kNodeTypeHasMesh 
kNodeTypeHasSkin 
kNodeTypeHasAABB 

Definition at line 75 of file model_jade.cpp.