1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/sourcemm/CServerGameEnts.h Sat Apr 16 19:59:26 2005 +0000
1.3 @@ -0,0 +1,32 @@
1.4 +/* ======== SourceMM ========
1.5 +* Copyright (C) 2004-2005 SourceMM Development Team
1.6 +* No warranties of any kind
1.7 +*
1.8 +* License: zlib/libpng
1.9 +*
1.10 +* Author(s): David "BAILOPAN" Anderson
1.11 +* ============================
1.12 +*/
1.13 +
1.14 +#ifndef _INCLUDE_CSERVER_GAMEENTS_H
1.15 +#define _INCLUDE_CSERVER_GAMEENTS_H
1.16 +
1.17 +/**
1.18 + * @brief Dummy class for IServerGameEnts
1.19 + * @file CServerGameEnts.h
1.20 + */
1.21 +
1.22 +#include <eiface.h>
1.23 +
1.24 +class CServerGameEnts : public IServerGameEnts
1.25 +{
1.26 +public:
1.27 + virtual void SetDebugEdictBase(edict_t *base) { }
1.28 + virtual void MarkEntitiesAsTouching(edict_t *e1, edict_t *e2) { }
1.29 + virtual void FreeContainingEntity(edict_t *e) { }
1.30 + virtual edict_t *BaseEntityToEdict(CBaseEntity *pEnt) { return NULL; }
1.31 + virtual CBaseEntity *EdictToBaseEntity(edict_t *pEdict) { return NULL; }
1.32 + virtual void CheckTransmit(CCheckTransmitInfo *pInfo, const unsigned short *pEdictIndices, int nEdicts) { }
1.33 +};
1.34 +
1.35 +#endif //_INCLUDE_CSERVER_GAMEENTS_H