123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- #ifndef __IPLUGINENTITIES_H_
- #define __IPLUGINENTITIES_H_
- static const GUID QERPluginEntitiesTable_GUID =
- { 0x9613f500, 0x8c7c, 0x11d3, { 0x8e, 0xf3, 0xc9, 0xeb, 0x56, 0xb6, 0xb7, 0xbe } };
- typedef int (WINAPI* PFN_ECLASSSCANDIR) ( char*, HMODULE );
- struct _QERPluginEntitiesTable
- {
- int m_nSize;
- PFN_ECLASSSCANDIR m_pfnEClassScanDir;
- };
- class IPluginEntity
- {
- public:
-
- virtual void IncRef () = 0;
-
- virtual void DecRef () = 0;
-
- virtual void GetBounds( vec3_t mins, vec3_t maxs ) = 0;
-
- virtual void CamRender() = 0;
- };
- static const GUID QERPlugEntitiesFactory_GUID =
- { 0xdbc6b300, 0x8e4b, 0x11d3, { 0x8e, 0xf3, 0xba, 0x5e, 0x57, 0xd5, 0x63, 0x99 } };
- typedef IPluginEntity * (WINAPI* PFN_CREATEENTITY) ( eclass_t *, IEpair * );
- struct _QERPlugEntitiesFactory
- {
- int m_nSize;
- PFN_CREATEENTITY m_pfnCreateEntity;
- };
- #endif
|