18 #ifndef INCLUDED_DECAL 19 #define INCLUDED_DECAL 34 float offsetX,
float offsetZ,
bool floating)
53 : m_Terrain(terrain), m_Decal(decal)
68 virtual void CalcBounds();
69 virtual void ValidatePosition();
70 virtual void InvalidatePosition();
71 virtual void SetTransform(
const CMatrix3D& transform);
87 #endif // INCLUDED_DECAL bool m_Floating
Definition: Decal.h:46
CMaterial m_Material
Definition: Decal.h:40
virtual CModelDecal * ToCModelDecal()
Dynamic cast.
Definition: Decal.h:59
float m_SizeZ
Definition: Decal.h:42
float m_OffsetX
Definition: Decal.h:44
Definition: Material.h:28
SDecal m_Decal
Definition: Decal.h:84
Definition: Matrix3D.h:33
#define ENSURE(expr)
ensure the expression <expr> evaluates to non-zero.
Definition: debug.h:290
CModelDecal(CTerrain *terrain, const SDecal &decal)
Definition: Decal.h:52
Terrain decal definition.
Definition: Decal.h:31
SDecal(const CMaterial &material, float sizeX, float sizeZ, float angle, float offsetX, float offsetZ, bool floating)
Definition: Decal.h:33
float m_Angle
Definition: Decal.h:43
intptr_t ssize_t
Definition: wposix_types.h:82
Abstract base class for graphical objects that are used by units, or as props attached to other CMode...
Definition: ModelAbstract.h:37
float m_SizeX
Definition: Decal.h:41
CTerrain * m_Terrain
Definition: Decal.h:83
float m_OffsetZ
Definition: Decal.h:45