2005-04-16 21:59:26 +02:00
|
|
|
/* ======== SourceMM ========
|
2005-04-17 01:33:39 +02:00
|
|
|
* Copyright (C) 2004-2005 Metamod:Source Development Team
|
2005-04-16 21:59:26 +02:00
|
|
|
* No warranties of any kind
|
|
|
|
*
|
|
|
|
* License: zlib/libpng
|
|
|
|
*
|
|
|
|
* Author(s): David "BAILOPAN" Anderson
|
|
|
|
* ============================
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INCLUDE_CSERVER_GAMEENTS_H
|
|
|
|
#define _INCLUDE_CSERVER_GAMEENTS_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Dummy class for IServerGameEnts
|
|
|
|
* @file CServerGameEnts.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <eiface.h>
|
|
|
|
|
|
|
|
class CServerGameEnts : public IServerGameEnts
|
|
|
|
{
|
2005-04-17 20:43:21 +02:00
|
|
|
IServerGameEnts *m_pOrig;
|
2005-04-16 21:59:26 +02:00
|
|
|
public:
|
2005-04-17 20:43:21 +02:00
|
|
|
CServerGameEnts() : m_pOrig(0) {}
|
|
|
|
void SetOrig(IServerGameEnts *pOrig)
|
|
|
|
{
|
|
|
|
m_pOrig = pOrig;
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual void SetDebugEdictBase(edict_t *base)
|
|
|
|
{ m_pOrig->SetDebugEdictBase(base); }
|
|
|
|
virtual void MarkEntitiesAsTouching(edict_t *e1, edict_t *e2)
|
|
|
|
{ m_pOrig->MarkEntitiesAsTouching(e1, e2); }
|
|
|
|
virtual void FreeContainingEntity(edict_t *e)
|
|
|
|
{ m_pOrig->FreeContainingEntity(e); }
|
|
|
|
virtual edict_t *BaseEntityToEdict(CBaseEntity *pEnt)
|
|
|
|
{ return m_pOrig->BaseEntityToEdict(pEnt); }
|
|
|
|
virtual CBaseEntity *EdictToBaseEntity(edict_t *pEdict)
|
|
|
|
{ return m_pOrig->EdictToBaseEntity(pEdict); }
|
|
|
|
virtual void CheckTransmit(CCheckTransmitInfo *pInfo, const unsigned short *pEdictIndices, int nEdicts)
|
|
|
|
{ m_pOrig->CheckTransmit(pInfo, pEdictIndices, nEdicts); }
|
2005-04-16 21:59:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //_INCLUDE_CSERVER_GAMEENTS_H
|