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_HLTVDIRECTOR_H
|
|
|
|
#define _INCLUDE_HLTVDIRECTOR_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Dummy class for IHLTVDirector
|
|
|
|
* @file CHLTVDirector.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <eiface.h>
|
|
|
|
#include <ihltvdirector.h>
|
|
|
|
|
|
|
|
class CHLTVDirector : IHLTVDirector
|
|
|
|
{
|
2005-04-17 20:43:21 +02:00
|
|
|
IHLTVDirector *m_pOrig;
|
2005-04-16 21:59:26 +02:00
|
|
|
public:
|
2005-04-17 20:43:21 +02:00
|
|
|
CHLTVDirector() : m_pOrig(0) {}
|
|
|
|
void SetOrig(IHLTVDirector *pOrig)
|
|
|
|
{
|
|
|
|
m_pOrig = pOrig;
|
|
|
|
}
|
|
|
|
virtual bool IsActive() { return m_pOrig->IsActive(); }
|
|
|
|
virtual void SetHLTVServer(IHLTVServer *hltv) { m_pOrig->SetHLTVServer(hltv); }
|
|
|
|
virtual IHLTVServer *GetHLTVServer() { return m_pOrig->GetHLTVServer(); }
|
|
|
|
virtual int GetDirectorTick() { return m_pOrig->GetDirectorTick(); }
|
|
|
|
virtual int GetPVSEntity() { return m_pOrig->GetPVSEntity(); }
|
|
|
|
virtual Vector GetPVSOrigin() { return m_pOrig->GetPVSOrigin(); }
|
|
|
|
virtual float GetDelay() { return m_pOrig->GetDelay(); }
|
|
|
|
virtual const char**GetModEvents() { return m_pOrig->GetModEvents(); }
|
2005-04-16 21:59:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //_INCLUDE_HLTVDIRECTOR_H
|