diff --git a/src/xrServerEntities/xrServer_Objects_Abstract.h b/src/xrServerEntities/xrServer_Objects_Abstract.h index a19ea2dcf80..2eb3a33abbd 100644 --- a/src/xrServerEntities/xrServer_Objects_Abstract.h +++ b/src/xrServerEntities/xrServer_Objects_Abstract.h @@ -29,11 +29,15 @@ class CDUInterface; #pragma warning(push) #pragma warning(disable:4005) -class ISE_Shape{ +class ISE_Shape +{ public: - virtual void __stdcall assign_shapes (CShapeData::shape_def* shapes, u32 cnt)=0; + virtual ~ISE_Shape() = 0; + virtual void __stdcall assign_shapes (CShapeData::shape_def* shapes, u32 cnt)=0; }; +IC ISE_Shape::~ISE_Shape() {} + class CSE_Visual { public: @@ -86,10 +90,13 @@ class CSE_Motion virtual CSE_Motion* __stdcall motion () = 0; }; -struct ISE_AbstractLEOwner{ +struct ISE_AbstractLEOwner { + virtual ~ISE_AbstractLEOwner() = 0; virtual void __stdcall get_bone_xform (LPCSTR name, Fmatrix& xform) = 0; }; +IC ISE_AbstractLEOwner::~ISE_AbstractLEOwner() {} + #pragma pack(push,1) struct visual_data { Fmatrix matrix; @@ -106,6 +113,9 @@ struct ISE_Abstract { flMotionChange = u32(1 << 3), flVisualAnimationPauseChange= u32(1 << 4), }; + + virtual ~ISE_Abstract() = 0; + Flags32 m_editor_flags; IC void set_editor_flag (u32 mask) {m_editor_flags.set (mask,TRUE);} @@ -132,6 +142,8 @@ struct ISE_Abstract { virtual bool __stdcall validate () = 0; }; +IC ISE_Abstract::~ISE_Abstract() {} + #pragma warning(pop) #pragma pack(pop)