diff --git a/src/utils/xrAI/server_entity_wrapper.cpp b/src/utils/xrAI/server_entity_wrapper.cpp index 95a7162ab48..f7dcf5508db 100644 --- a/src/utils/xrAI/server_entity_wrapper.cpp +++ b/src/utils/xrAI/server_entity_wrapper.cpp @@ -15,7 +15,7 @@ # include "factory_api.h" #endif -struct ISE_Abstract; +class ISE_Abstract; CServerEntityWrapper::~CServerEntityWrapper () { diff --git a/src/xrGame/server_entity_wrapper.cpp b/src/xrGame/server_entity_wrapper.cpp index 95a7162ab48..f7dcf5508db 100644 --- a/src/xrGame/server_entity_wrapper.cpp +++ b/src/xrGame/server_entity_wrapper.cpp @@ -15,7 +15,7 @@ # include "factory_api.h" #endif -struct ISE_Abstract; +class ISE_Abstract; CServerEntityWrapper::~CServerEntityWrapper () { diff --git a/src/xrServerEntities/xrServer_Objects_Abstract.h b/src/xrServerEntities/xrServer_Objects_Abstract.h index 2eb3a33abbd..0a3cc7a5e93 100644 --- a/src/xrServerEntities/xrServer_Objects_Abstract.h +++ b/src/xrServerEntities/xrServer_Objects_Abstract.h @@ -90,7 +90,9 @@ class CSE_Motion virtual CSE_Motion* __stdcall motion () = 0; }; -struct ISE_AbstractLEOwner { +class ISE_AbstractLEOwner +{ +public: virtual ~ISE_AbstractLEOwner() = 0; virtual void __stdcall get_bone_xform (LPCSTR name, Fmatrix& xform) = 0; }; @@ -98,13 +100,15 @@ struct ISE_AbstractLEOwner { IC ISE_AbstractLEOwner::~ISE_AbstractLEOwner() {} #pragma pack(push,1) -struct visual_data { +class visual_data +{ +public: Fmatrix matrix; CSE_Visual *visual; -}; // struct visual_data +}; #pragma pack(pop) -struct ISE_Abstract { +class ISE_Abstract { public: enum { flUpdateProperties = u32(1 << 0),