Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_MaterialBucket.h')
-rw-r--r--source/gameengine/Rasterizer/RAS_MaterialBucket.h25
1 files changed, 19 insertions, 6 deletions
diff --git a/source/gameengine/Rasterizer/RAS_MaterialBucket.h b/source/gameengine/Rasterizer/RAS_MaterialBucket.h
index 448cbc6e343..7d875242c2e 100644
--- a/source/gameengine/Rasterizer/RAS_MaterialBucket.h
+++ b/source/gameengine/Rasterizer/RAS_MaterialBucket.h
@@ -64,6 +64,17 @@ public:
short m_size;
};
+/**
+ * KX_ListSlot.
+ */
+class KX_ListSlot
+{
+public:
+ KX_ListSlot(){}
+ virtual ~KX_ListSlot(){}
+
+ virtual void SetModified(bool mod)=0;
+};
/**
* KX_MeshSlot.
@@ -71,19 +82,21 @@ public:
class KX_MeshSlot
{
public:
- void* m_clientObj;
+ void* m_clientObj;
RAS_Deformer* m_pDeformer; // __NLA
- double* m_OpenGLMatrix;
- class RAS_MeshObject* m_mesh;
+ double* m_OpenGLMatrix;
+ class RAS_MeshObject* m_mesh;
mutable bool m_bVisible; // for visibility
- mutable bool m_bObjectColor;
+ mutable bool m_bObjectColor;
mutable MT_Vector4 m_RGBAcolor;
+ mutable KX_ListSlot* m_DisplayList; // for lists
KX_MeshSlot() :
m_pDeformer(NULL),
- m_bVisible(true)
+ m_bVisible(true),
+ m_DisplayList(0)
{
}
- ~KX_MeshSlot() {};
+ ~KX_MeshSlot(){}
bool Less(const KX_MeshSlot& lhs) const;
};