diff options
Diffstat (limited to 'engine/hltvtest.h')
| -rw-r--r-- | engine/hltvtest.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/engine/hltvtest.h b/engine/hltvtest.h new file mode 100644 index 0000000..676e8cb --- /dev/null +++ b/engine/hltvtest.h @@ -0,0 +1,40 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +// hltvtest.h: hltv test system +// +////////////////////////////////////////////////////////////////////// + +#ifndef HLTVTEST_H +#define HLTVTEST_H +#ifdef _WIN32 +#pragma once +#endif + +#include "utlvector.h" + +class CHLTVServer; + +class CHLTVTestSystem +{ +public: + CHLTVTestSystem(void); + ~CHLTVTestSystem(void); + + void RunFrame(); + bool StartTest(int nClients, const char *pszAddress); + void RetryTest(int nClients); + bool StopsTest(); + +protected: + + CUtlVector<CHLTVServer*> m_Servers; +}; + +extern CHLTVTestSystem *hltvtest; // The global HLTV server/object. NULL on xbox. + +#endif // HLTVSERVER_H
\ No newline at end of file |