1.1 --- a/sample_mm/engine_wrappers.h Sun Nov 25 01:22:41 2007 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,44 +0,0 @@
1.4 -/**
1.5 - * vim: set ts=4 :
1.6 - * ======================================================
1.7 - * Metamod:Source Sample Plugin
1.8 - * Written by AlliedModders LLC.
1.9 - * ======================================================
1.10 - *
1.11 - * This software is provided 'as-is', without any express or implied warranty.
1.12 - * In no event will the authors be held liable for any damages arising from
1.13 - * the use of this software.
1.14 - *
1.15 - * This sample plugin is public domain.
1.16 - *
1.17 - * Version: $Id$
1.18 - */
1.19 -
1.20 -#ifndef _INCLUDE_SOURCE_ENGINE_WRAPPERS_
1.21 -#define _INCLUDE_SOURCE_ENGINE_WRAPPERS_
1.22 -
1.23 -#include <eiface.h>
1.24 -
1.25 -extern IVEngineServer *engine;
1.26 -
1.27 -#if !defined ORANGEBOX_BUILD
1.28 -class CCommand
1.29 -{
1.30 -public:
1.31 - const char *ArgS()
1.32 - {
1.33 - return engine->Cmd_Args();
1.34 - }
1.35 - int ArgC()
1.36 - {
1.37 - return engine->Cmd_Argc();
1.38 - }
1.39 -
1.40 - const char *Arg(int index)
1.41 - {
1.42 - return engine->Cmd_Argv(index);
1.43 - }
1.44 -};
1.45 -#endif
1.46 -
1.47 -#endif //_INCLUDE_SOURCE_ENGINE_WRAPPERS_