diff --git a/engines/wintermute/base/gfx/opengl/meshx.h b/engines/wintermute/base/gfx/opengl/meshx.h index db181cf3966..1b877408514 100644 --- a/engines/wintermute/base/gfx/opengl/meshx.h +++ b/engines/wintermute/base/gfx/opengl/meshx.h @@ -43,6 +43,12 @@ class Material; class ModelX; class ShadowVolume; class VideoTheoraPlayer; +struct SkinWeights { + Common::String _boneName; + Math::Matrix4 _offsetMatrix; + BaseArray _vertexIndices; + BaseArray _vertexWeights; +}; class MeshX : public BaseNamedObject { public: @@ -78,6 +84,7 @@ protected: uint32 _indexCount; BaseArray _boneMatrices; + BaseArray skinWeightsList; uint32 *_skinAdjacency; uint32 *_adjacency;