diff options
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_IPolygonMaterial.h')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_IPolygonMaterial.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h b/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h index 7d10f23068b..93c6d829e85 100644 --- a/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h +++ b/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h @@ -55,7 +55,8 @@ protected: int m_tile; int m_tilexrep,m_tileyrep; int m_drawingmode; // tface->mode - int m_transparant; + bool m_transparant; + bool m_zsort; int m_lightlayer; bool m_bIsTriangle; @@ -84,7 +85,8 @@ public: int tilexrep, int tileyrep, int mode, - int transparant, + bool transparant, + bool zsort, int lightlayer, bool bIsTriangle, void* clientobject); @@ -108,11 +110,12 @@ public: bool Equals(const RAS_IPolyMaterial& lhs) const; bool Less(const RAS_IPolyMaterial& rhs) const; - int GetLightLayer(); - bool IsTransparant(); - bool UsesTriangles(); + int GetLightLayer() const; + bool IsTransparant() const; + bool IsZSort() const; + bool UsesTriangles() const; unsigned int hash() const; - int GetDrawingMode(); + int GetDrawingMode() const; const STR_String& GetMaterialName() const; const STR_String& GetTextureName() const; }; |